From 7afc97c5744b38bdf36aa7f87625f438224688aa Mon Sep 17 00:00:00 2001 From: Steven Date: Mon, 30 Aug 2021 12:51:47 -0400 Subject: [PATCH 01/47] Add CSP to Image Optimization API (#28620) Add CSP header to Image Optimization API --- packages/next/server/image-optimizer.ts | 2 ++ .../integration/production/pages/svg-image.js | 14 ++++++++++++++ test/integration/production/public/xss.svg | 9 +++++++++ .../integration/production/test/index.test.js | 2 +- test/integration/production/test/security.js | 19 +++++++++++++++++++ 5 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 test/integration/production/pages/svg-image.js create mode 100644 test/integration/production/public/xss.svg diff --git a/packages/next/server/image-optimizer.ts b/packages/next/server/image-optimizer.ts index eabb4ee55a35c..a2d7c6a664d0c 100644 --- a/packages/next/server/image-optimizer.ts +++ b/packages/next/server/image-optimizer.ts @@ -525,6 +525,8 @@ function setResponseHeaders( res.setHeader('Content-Disposition', `inline; filename="${fileName}"`) } + res.setHeader('Content-Security-Policy', `script-src 'none'; sandbox;`) + return { finished: false } } diff --git a/test/integration/production/pages/svg-image.js b/test/integration/production/pages/svg-image.js new file mode 100644 index 0000000000000..0a450471d7e7e --- /dev/null +++ b/test/integration/production/pages/svg-image.js @@ -0,0 +1,14 @@ +import React from 'react' +import Image from 'next/image' + +const Page = () => { + return ( +
+

SVG with a script tag attempting XSS

+ +

safe

+
+ ) +} + +export default Page diff --git a/test/integration/production/public/xss.svg b/test/integration/production/public/xss.svg new file mode 100644 index 0000000000000..c3e80bb95a209 --- /dev/null +++ b/test/integration/production/public/xss.svg @@ -0,0 +1,9 @@ + + + XSS + + +

safe

+ + + diff --git a/test/integration/production/test/index.test.js b/test/integration/production/test/index.test.js index 9d820808f3ca9..0f96c946dcc0f 100644 --- a/test/integration/production/test/index.test.js +++ b/test/integration/production/test/index.test.js @@ -78,7 +78,7 @@ describe('Production Usage', () => { }) it('should contain generated page count in output', async () => { - const pageCount = process.env.NEXT_PRIVATE_TEST_WEBPACK4_MODE ? 37 : 38 + const pageCount = process.env.NEXT_PRIVATE_TEST_WEBPACK4_MODE ? 38 : 39 expect(output).toContain(`Generating static pages (0/${pageCount})`) expect(output).toContain( `Generating static pages (${pageCount}/${pageCount})` diff --git a/test/integration/production/test/security.js b/test/integration/production/test/security.js index afc501e88d950..76b15b72c2ca0 100644 --- a/test/integration/production/test/security.js +++ b/test/integration/production/test/security.js @@ -342,5 +342,24 @@ module.exports = (context) => { expect(pathname).toBe('/%2fexample.com') expect(hostname).not.toBe('example.com') }) + + it('should not execute script embedded inside svg image', async () => { + let browser + try { + browser = await webdriver(context.appPort, '/svg-image') + await browser.eval(`document.getElementById("img").scrollIntoView()`) + expect(await browser.elementById('img').getAttribute('src')).toContain( + 'xss.svg' + ) + expect(await browser.elementById('msg').text()).toBe('safe') + browser = await webdriver( + context.appPort, + '/_next/image?url=%2Fxss.svg&w=256&q=75' + ) + expect(await browser.elementById('msg').text()).toBe('safe') + } finally { + if (browser) await browser.close() + } + }) }) } From a60690f59b211777cb49abd4c5ecc4656464d0e9 Mon Sep 17 00:00:00 2001 From: Steven Date: Mon, 30 Aug 2021 13:06:42 -0400 Subject: [PATCH 02/47] v11.1.1-canary.18 --- lerna.json | 2 +- packages/create-next-app/package.json | 2 +- packages/eslint-config-next/package.json | 4 ++-- packages/eslint-plugin-next/package.json | 2 +- packages/next-bundle-analyzer/package.json | 2 +- packages/next-codemod/package.json | 2 +- packages/next-env/package.json | 2 +- packages/next-mdx/package.json | 2 +- packages/next-plugin-storybook/package.json | 2 +- packages/next-polyfill-module/package.json | 2 +- packages/next-polyfill-nomodule/package.json | 2 +- packages/next/package.json | 12 ++++++------ packages/react-dev-overlay/package.json | 2 +- packages/react-refresh-utils/package.json | 2 +- 14 files changed, 20 insertions(+), 20 deletions(-) diff --git a/lerna.json b/lerna.json index 9ba3016673591..41c25f6c474ad 100644 --- a/lerna.json +++ b/lerna.json @@ -17,5 +17,5 @@ "registry": "https://registry.npmjs.org/" } }, - "version": "11.1.1-canary.17" + "version": "11.1.1-canary.18" } diff --git a/packages/create-next-app/package.json b/packages/create-next-app/package.json index 5a0e55fbcb894..3e375aaf188f4 100644 --- a/packages/create-next-app/package.json +++ b/packages/create-next-app/package.json @@ -1,6 +1,6 @@ { "name": "create-next-app", - "version": "11.1.1-canary.17", + "version": "11.1.1-canary.18", "keywords": [ "react", "next", diff --git a/packages/eslint-config-next/package.json b/packages/eslint-config-next/package.json index e89c028289755..ec8a8144a69ae 100644 --- a/packages/eslint-config-next/package.json +++ b/packages/eslint-config-next/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-next", - "version": "11.1.1-canary.17", + "version": "11.1.1-canary.18", "description": "ESLint configuration used by NextJS.", "main": "index.js", "license": "MIT", @@ -9,7 +9,7 @@ "directory": "packages/eslint-config-next" }, "dependencies": { - "@next/eslint-plugin-next": "11.1.1-canary.17", + "@next/eslint-plugin-next": "11.1.1-canary.18", "@rushstack/eslint-patch": "^1.0.6", "@typescript-eslint/parser": "^4.20.0", "eslint-import-resolver-node": "^0.3.4", diff --git a/packages/eslint-plugin-next/package.json b/packages/eslint-plugin-next/package.json index 51466e4e7dffb..6661567274cb1 100644 --- a/packages/eslint-plugin-next/package.json +++ b/packages/eslint-plugin-next/package.json @@ -1,6 +1,6 @@ { "name": "@next/eslint-plugin-next", - "version": "11.1.1-canary.17", + "version": "11.1.1-canary.18", "description": "ESLint plugin for NextJS.", "main": "lib/index.js", "license": "MIT", diff --git a/packages/next-bundle-analyzer/package.json b/packages/next-bundle-analyzer/package.json index a889c2f92bc11..662c50b5d636b 100644 --- a/packages/next-bundle-analyzer/package.json +++ b/packages/next-bundle-analyzer/package.json @@ -1,6 +1,6 @@ { "name": "@next/bundle-analyzer", - "version": "11.1.1-canary.17", + "version": "11.1.1-canary.18", "main": "index.js", "license": "MIT", "repository": { diff --git a/packages/next-codemod/package.json b/packages/next-codemod/package.json index 8e04ad891e343..84b03c05714e3 100644 --- a/packages/next-codemod/package.json +++ b/packages/next-codemod/package.json @@ -1,6 +1,6 @@ { "name": "@next/codemod", - "version": "11.1.1-canary.17", + "version": "11.1.1-canary.18", "license": "MIT", "dependencies": { "chalk": "4.1.0", diff --git a/packages/next-env/package.json b/packages/next-env/package.json index 4fd41e02f03da..e7e2f8550b725 100644 --- a/packages/next-env/package.json +++ b/packages/next-env/package.json @@ -1,6 +1,6 @@ { "name": "@next/env", - "version": "11.1.1-canary.17", + "version": "11.1.1-canary.18", "keywords": [ "react", "next", diff --git a/packages/next-mdx/package.json b/packages/next-mdx/package.json index 04df673cd2a84..f22c5a30b3986 100644 --- a/packages/next-mdx/package.json +++ b/packages/next-mdx/package.json @@ -1,6 +1,6 @@ { "name": "@next/mdx", - "version": "11.1.1-canary.17", + "version": "11.1.1-canary.18", "main": "index.js", "license": "MIT", "repository": { diff --git a/packages/next-plugin-storybook/package.json b/packages/next-plugin-storybook/package.json index 06484a4ae4b5c..6bd126f6be797 100644 --- a/packages/next-plugin-storybook/package.json +++ b/packages/next-plugin-storybook/package.json @@ -1,6 +1,6 @@ { "name": "@next/plugin-storybook", - "version": "11.1.1-canary.17", + "version": "11.1.1-canary.18", "repository": { "url": "vercel/next.js", "directory": "packages/next-plugin-storybook" diff --git a/packages/next-polyfill-module/package.json b/packages/next-polyfill-module/package.json index 0c47139a28490..ae7d5b67c422e 100644 --- a/packages/next-polyfill-module/package.json +++ b/packages/next-polyfill-module/package.json @@ -1,6 +1,6 @@ { "name": "@next/polyfill-module", - "version": "11.1.1-canary.17", + "version": "11.1.1-canary.18", "description": "A standard library polyfill for ES Modules supporting browsers (Edge 16+, Firefox 60+, Chrome 61+, Safari 10.1+)", "main": "dist/polyfill-module.js", "license": "MIT", diff --git a/packages/next-polyfill-nomodule/package.json b/packages/next-polyfill-nomodule/package.json index a9ed9d1f44977..ca9618b5ed6da 100644 --- a/packages/next-polyfill-nomodule/package.json +++ b/packages/next-polyfill-nomodule/package.json @@ -1,6 +1,6 @@ { "name": "@next/polyfill-nomodule", - "version": "11.1.1-canary.17", + "version": "11.1.1-canary.18", "description": "A polyfill for non-dead, nomodule browsers.", "main": "dist/polyfill-nomodule.js", "license": "MIT", diff --git a/packages/next/package.json b/packages/next/package.json index caa8b3307cc2f..354ad3e663115 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -1,6 +1,6 @@ { "name": "next", - "version": "11.1.1-canary.17", + "version": "11.1.1-canary.18", "description": "The React Framework", "main": "./dist/server/next.js", "license": "MIT", @@ -66,10 +66,10 @@ "dependencies": { "@babel/runtime": "7.15.3", "@hapi/accept": "5.0.2", - "@next/env": "11.1.1-canary.17", - "@next/polyfill-module": "11.1.1-canary.17", - "@next/react-dev-overlay": "11.1.1-canary.17", - "@next/react-refresh-utils": "11.1.1-canary.17", + "@next/env": "11.1.1-canary.18", + "@next/polyfill-module": "11.1.1-canary.18", + "@next/react-dev-overlay": "11.1.1-canary.18", + "@next/react-refresh-utils": "11.1.1-canary.18", "@node-rs/helper": "1.2.1", "assert": "2.0.0", "ast-types": "0.13.2", @@ -154,7 +154,7 @@ "@babel/traverse": "7.15.0", "@babel/types": "7.15.0", "@napi-rs/cli": "1.1.0", - "@next/polyfill-nomodule": "11.1.1-canary.17", + "@next/polyfill-nomodule": "11.1.1-canary.18", "@taskr/clear": "1.1.0", "@taskr/esnext": "1.1.0", "@taskr/watch": "1.1.0", diff --git a/packages/react-dev-overlay/package.json b/packages/react-dev-overlay/package.json index 48ed5eb148865..0160d4d22df8e 100644 --- a/packages/react-dev-overlay/package.json +++ b/packages/react-dev-overlay/package.json @@ -1,6 +1,6 @@ { "name": "@next/react-dev-overlay", - "version": "11.1.1-canary.17", + "version": "11.1.1-canary.18", "description": "A development-only overlay for developing React applications.", "repository": { "url": "vercel/next.js", diff --git a/packages/react-refresh-utils/package.json b/packages/react-refresh-utils/package.json index 735e1ab60ee85..77ce48c5a237d 100644 --- a/packages/react-refresh-utils/package.json +++ b/packages/react-refresh-utils/package.json @@ -1,6 +1,6 @@ { "name": "@next/react-refresh-utils", - "version": "11.1.1-canary.17", + "version": "11.1.1-canary.18", "description": "An experimental package providing utilities for React Refresh.", "repository": { "url": "vercel/next.js", From 36d922fbdadcc357824d20169754e5bb4b950725 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Knut=20Melv=C3=A6r?= Date: Mon, 30 Aug 2021 19:37:13 +0200 Subject: [PATCH 03/47] Add apiVersion to config (#28610) The client now warns against missing `apiVersion` ([docs](https://www.sanity.io/docs/api-versioning)). This PR adds the config for using the latest API version. There shouldn't be breaking changes in this app. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes --- examples/cms-sanity/lib/config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/cms-sanity/lib/config.js b/examples/cms-sanity/lib/config.js index 018ad4f2aeeb3..b4b0101e5494c 100644 --- a/examples/cms-sanity/lib/config.js +++ b/examples/cms-sanity/lib/config.js @@ -6,4 +6,6 @@ export const sanityConfig = { // useCdn == true gives fast, cheap responses using a globally distributed cache. // Set this to false if your application require the freshest possible // data always (potentially slightly slower and a bit more expensive). + apiVersion: '2021-03-25', + // see https://www.sanity.io/docs/api-versioning for how versioning works } From 194d70f068288e3f08273694370910c0d8b2548b Mon Sep 17 00:00:00 2001 From: "jj@jjsweb.site" Date: Mon, 30 Aug 2021 13:20:57 -0500 Subject: [PATCH 04/47] v11.1.1-canary.19 --- lerna.json | 2 +- packages/create-next-app/package.json | 2 +- packages/eslint-config-next/package.json | 4 ++-- packages/eslint-plugin-next/package.json | 2 +- packages/next-bundle-analyzer/package.json | 2 +- packages/next-codemod/package.json | 2 +- packages/next-env/package.json | 2 +- packages/next-mdx/package.json | 2 +- packages/next-plugin-storybook/package.json | 2 +- packages/next-polyfill-module/package.json | 2 +- packages/next-polyfill-nomodule/package.json | 2 +- packages/next/package.json | 12 ++++++------ packages/react-dev-overlay/package.json | 2 +- packages/react-refresh-utils/package.json | 2 +- 14 files changed, 20 insertions(+), 20 deletions(-) diff --git a/lerna.json b/lerna.json index 41c25f6c474ad..2a9e5770507b6 100644 --- a/lerna.json +++ b/lerna.json @@ -17,5 +17,5 @@ "registry": "https://registry.npmjs.org/" } }, - "version": "11.1.1-canary.18" + "version": "11.1.1-canary.19" } diff --git a/packages/create-next-app/package.json b/packages/create-next-app/package.json index 3e375aaf188f4..63299a44a6353 100644 --- a/packages/create-next-app/package.json +++ b/packages/create-next-app/package.json @@ -1,6 +1,6 @@ { "name": "create-next-app", - "version": "11.1.1-canary.18", + "version": "11.1.1-canary.19", "keywords": [ "react", "next", diff --git a/packages/eslint-config-next/package.json b/packages/eslint-config-next/package.json index ec8a8144a69ae..c003b54fcb369 100644 --- a/packages/eslint-config-next/package.json +++ b/packages/eslint-config-next/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-next", - "version": "11.1.1-canary.18", + "version": "11.1.1-canary.19", "description": "ESLint configuration used by NextJS.", "main": "index.js", "license": "MIT", @@ -9,7 +9,7 @@ "directory": "packages/eslint-config-next" }, "dependencies": { - "@next/eslint-plugin-next": "11.1.1-canary.18", + "@next/eslint-plugin-next": "11.1.1-canary.19", "@rushstack/eslint-patch": "^1.0.6", "@typescript-eslint/parser": "^4.20.0", "eslint-import-resolver-node": "^0.3.4", diff --git a/packages/eslint-plugin-next/package.json b/packages/eslint-plugin-next/package.json index 6661567274cb1..65ae3200cdd9e 100644 --- a/packages/eslint-plugin-next/package.json +++ b/packages/eslint-plugin-next/package.json @@ -1,6 +1,6 @@ { "name": "@next/eslint-plugin-next", - "version": "11.1.1-canary.18", + "version": "11.1.1-canary.19", "description": "ESLint plugin for NextJS.", "main": "lib/index.js", "license": "MIT", diff --git a/packages/next-bundle-analyzer/package.json b/packages/next-bundle-analyzer/package.json index 662c50b5d636b..ca68bf33f31a6 100644 --- a/packages/next-bundle-analyzer/package.json +++ b/packages/next-bundle-analyzer/package.json @@ -1,6 +1,6 @@ { "name": "@next/bundle-analyzer", - "version": "11.1.1-canary.18", + "version": "11.1.1-canary.19", "main": "index.js", "license": "MIT", "repository": { diff --git a/packages/next-codemod/package.json b/packages/next-codemod/package.json index 84b03c05714e3..ceae790f05018 100644 --- a/packages/next-codemod/package.json +++ b/packages/next-codemod/package.json @@ -1,6 +1,6 @@ { "name": "@next/codemod", - "version": "11.1.1-canary.18", + "version": "11.1.1-canary.19", "license": "MIT", "dependencies": { "chalk": "4.1.0", diff --git a/packages/next-env/package.json b/packages/next-env/package.json index e7e2f8550b725..9aa0e54b53960 100644 --- a/packages/next-env/package.json +++ b/packages/next-env/package.json @@ -1,6 +1,6 @@ { "name": "@next/env", - "version": "11.1.1-canary.18", + "version": "11.1.1-canary.19", "keywords": [ "react", "next", diff --git a/packages/next-mdx/package.json b/packages/next-mdx/package.json index f22c5a30b3986..ffc14646c3f18 100644 --- a/packages/next-mdx/package.json +++ b/packages/next-mdx/package.json @@ -1,6 +1,6 @@ { "name": "@next/mdx", - "version": "11.1.1-canary.18", + "version": "11.1.1-canary.19", "main": "index.js", "license": "MIT", "repository": { diff --git a/packages/next-plugin-storybook/package.json b/packages/next-plugin-storybook/package.json index 6bd126f6be797..9af30ceeadf74 100644 --- a/packages/next-plugin-storybook/package.json +++ b/packages/next-plugin-storybook/package.json @@ -1,6 +1,6 @@ { "name": "@next/plugin-storybook", - "version": "11.1.1-canary.18", + "version": "11.1.1-canary.19", "repository": { "url": "vercel/next.js", "directory": "packages/next-plugin-storybook" diff --git a/packages/next-polyfill-module/package.json b/packages/next-polyfill-module/package.json index ae7d5b67c422e..3dcb722552eef 100644 --- a/packages/next-polyfill-module/package.json +++ b/packages/next-polyfill-module/package.json @@ -1,6 +1,6 @@ { "name": "@next/polyfill-module", - "version": "11.1.1-canary.18", + "version": "11.1.1-canary.19", "description": "A standard library polyfill for ES Modules supporting browsers (Edge 16+, Firefox 60+, Chrome 61+, Safari 10.1+)", "main": "dist/polyfill-module.js", "license": "MIT", diff --git a/packages/next-polyfill-nomodule/package.json b/packages/next-polyfill-nomodule/package.json index ca9618b5ed6da..b2bc2f668c87b 100644 --- a/packages/next-polyfill-nomodule/package.json +++ b/packages/next-polyfill-nomodule/package.json @@ -1,6 +1,6 @@ { "name": "@next/polyfill-nomodule", - "version": "11.1.1-canary.18", + "version": "11.1.1-canary.19", "description": "A polyfill for non-dead, nomodule browsers.", "main": "dist/polyfill-nomodule.js", "license": "MIT", diff --git a/packages/next/package.json b/packages/next/package.json index 354ad3e663115..f796252f5d21b 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -1,6 +1,6 @@ { "name": "next", - "version": "11.1.1-canary.18", + "version": "11.1.1-canary.19", "description": "The React Framework", "main": "./dist/server/next.js", "license": "MIT", @@ -66,10 +66,10 @@ "dependencies": { "@babel/runtime": "7.15.3", "@hapi/accept": "5.0.2", - "@next/env": "11.1.1-canary.18", - "@next/polyfill-module": "11.1.1-canary.18", - "@next/react-dev-overlay": "11.1.1-canary.18", - "@next/react-refresh-utils": "11.1.1-canary.18", + "@next/env": "11.1.1-canary.19", + "@next/polyfill-module": "11.1.1-canary.19", + "@next/react-dev-overlay": "11.1.1-canary.19", + "@next/react-refresh-utils": "11.1.1-canary.19", "@node-rs/helper": "1.2.1", "assert": "2.0.0", "ast-types": "0.13.2", @@ -154,7 +154,7 @@ "@babel/traverse": "7.15.0", "@babel/types": "7.15.0", "@napi-rs/cli": "1.1.0", - "@next/polyfill-nomodule": "11.1.1-canary.18", + "@next/polyfill-nomodule": "11.1.1-canary.19", "@taskr/clear": "1.1.0", "@taskr/esnext": "1.1.0", "@taskr/watch": "1.1.0", diff --git a/packages/react-dev-overlay/package.json b/packages/react-dev-overlay/package.json index 0160d4d22df8e..8efa465fbfd95 100644 --- a/packages/react-dev-overlay/package.json +++ b/packages/react-dev-overlay/package.json @@ -1,6 +1,6 @@ { "name": "@next/react-dev-overlay", - "version": "11.1.1-canary.18", + "version": "11.1.1-canary.19", "description": "A development-only overlay for developing React applications.", "repository": { "url": "vercel/next.js", diff --git a/packages/react-refresh-utils/package.json b/packages/react-refresh-utils/package.json index 77ce48c5a237d..3a6d5bf07ac8c 100644 --- a/packages/react-refresh-utils/package.json +++ b/packages/react-refresh-utils/package.json @@ -1,6 +1,6 @@ { "name": "@next/react-refresh-utils", - "version": "11.1.1-canary.18", + "version": "11.1.1-canary.19", "description": "An experimental package providing utilities for React Refresh.", "repository": { "url": "vercel/next.js", From 804971fd9a49dfd009f7339dd8bf4bc32e6eb02c Mon Sep 17 00:00:00 2001 From: Steven Date: Mon, 30 Aug 2021 14:24:52 -0400 Subject: [PATCH 05/47] v11.1.1 --- lerna.json | 2 +- packages/create-next-app/package.json | 2 +- packages/eslint-config-next/package.json | 4 ++-- packages/eslint-plugin-next/package.json | 2 +- packages/next-bundle-analyzer/package.json | 2 +- packages/next-codemod/package.json | 2 +- packages/next-env/package.json | 2 +- packages/next-mdx/package.json | 2 +- packages/next-plugin-storybook/package.json | 2 +- packages/next-polyfill-module/package.json | 2 +- packages/next-polyfill-nomodule/package.json | 2 +- packages/next/package.json | 12 ++++++------ packages/react-dev-overlay/package.json | 2 +- packages/react-refresh-utils/package.json | 2 +- 14 files changed, 20 insertions(+), 20 deletions(-) diff --git a/lerna.json b/lerna.json index 2a9e5770507b6..f36779d615910 100644 --- a/lerna.json +++ b/lerna.json @@ -17,5 +17,5 @@ "registry": "https://registry.npmjs.org/" } }, - "version": "11.1.1-canary.19" + "version": "11.1.1" } diff --git a/packages/create-next-app/package.json b/packages/create-next-app/package.json index 63299a44a6353..7b2b92e55c15f 100644 --- a/packages/create-next-app/package.json +++ b/packages/create-next-app/package.json @@ -1,6 +1,6 @@ { "name": "create-next-app", - "version": "11.1.1-canary.19", + "version": "11.1.1", "keywords": [ "react", "next", diff --git a/packages/eslint-config-next/package.json b/packages/eslint-config-next/package.json index c003b54fcb369..846910ca450b2 100644 --- a/packages/eslint-config-next/package.json +++ b/packages/eslint-config-next/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-next", - "version": "11.1.1-canary.19", + "version": "11.1.1", "description": "ESLint configuration used by NextJS.", "main": "index.js", "license": "MIT", @@ -9,7 +9,7 @@ "directory": "packages/eslint-config-next" }, "dependencies": { - "@next/eslint-plugin-next": "11.1.1-canary.19", + "@next/eslint-plugin-next": "11.1.1", "@rushstack/eslint-patch": "^1.0.6", "@typescript-eslint/parser": "^4.20.0", "eslint-import-resolver-node": "^0.3.4", diff --git a/packages/eslint-plugin-next/package.json b/packages/eslint-plugin-next/package.json index 65ae3200cdd9e..4a7773ce99e76 100644 --- a/packages/eslint-plugin-next/package.json +++ b/packages/eslint-plugin-next/package.json @@ -1,6 +1,6 @@ { "name": "@next/eslint-plugin-next", - "version": "11.1.1-canary.19", + "version": "11.1.1", "description": "ESLint plugin for NextJS.", "main": "lib/index.js", "license": "MIT", diff --git a/packages/next-bundle-analyzer/package.json b/packages/next-bundle-analyzer/package.json index ca68bf33f31a6..6b1ce9d8bf09b 100644 --- a/packages/next-bundle-analyzer/package.json +++ b/packages/next-bundle-analyzer/package.json @@ -1,6 +1,6 @@ { "name": "@next/bundle-analyzer", - "version": "11.1.1-canary.19", + "version": "11.1.1", "main": "index.js", "license": "MIT", "repository": { diff --git a/packages/next-codemod/package.json b/packages/next-codemod/package.json index ceae790f05018..a2ac7acb0ae7c 100644 --- a/packages/next-codemod/package.json +++ b/packages/next-codemod/package.json @@ -1,6 +1,6 @@ { "name": "@next/codemod", - "version": "11.1.1-canary.19", + "version": "11.1.1", "license": "MIT", "dependencies": { "chalk": "4.1.0", diff --git a/packages/next-env/package.json b/packages/next-env/package.json index 9aa0e54b53960..7b59680faa65a 100644 --- a/packages/next-env/package.json +++ b/packages/next-env/package.json @@ -1,6 +1,6 @@ { "name": "@next/env", - "version": "11.1.1-canary.19", + "version": "11.1.1", "keywords": [ "react", "next", diff --git a/packages/next-mdx/package.json b/packages/next-mdx/package.json index ffc14646c3f18..923071c6bcc4a 100644 --- a/packages/next-mdx/package.json +++ b/packages/next-mdx/package.json @@ -1,6 +1,6 @@ { "name": "@next/mdx", - "version": "11.1.1-canary.19", + "version": "11.1.1", "main": "index.js", "license": "MIT", "repository": { diff --git a/packages/next-plugin-storybook/package.json b/packages/next-plugin-storybook/package.json index 9af30ceeadf74..8a79b8e04858b 100644 --- a/packages/next-plugin-storybook/package.json +++ b/packages/next-plugin-storybook/package.json @@ -1,6 +1,6 @@ { "name": "@next/plugin-storybook", - "version": "11.1.1-canary.19", + "version": "11.1.1", "repository": { "url": "vercel/next.js", "directory": "packages/next-plugin-storybook" diff --git a/packages/next-polyfill-module/package.json b/packages/next-polyfill-module/package.json index 3dcb722552eef..081bccfcadf9e 100644 --- a/packages/next-polyfill-module/package.json +++ b/packages/next-polyfill-module/package.json @@ -1,6 +1,6 @@ { "name": "@next/polyfill-module", - "version": "11.1.1-canary.19", + "version": "11.1.1", "description": "A standard library polyfill for ES Modules supporting browsers (Edge 16+, Firefox 60+, Chrome 61+, Safari 10.1+)", "main": "dist/polyfill-module.js", "license": "MIT", diff --git a/packages/next-polyfill-nomodule/package.json b/packages/next-polyfill-nomodule/package.json index b2bc2f668c87b..4ec1db6d26d91 100644 --- a/packages/next-polyfill-nomodule/package.json +++ b/packages/next-polyfill-nomodule/package.json @@ -1,6 +1,6 @@ { "name": "@next/polyfill-nomodule", - "version": "11.1.1-canary.19", + "version": "11.1.1", "description": "A polyfill for non-dead, nomodule browsers.", "main": "dist/polyfill-nomodule.js", "license": "MIT", diff --git a/packages/next/package.json b/packages/next/package.json index f796252f5d21b..a39a43b96150a 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -1,6 +1,6 @@ { "name": "next", - "version": "11.1.1-canary.19", + "version": "11.1.1", "description": "The React Framework", "main": "./dist/server/next.js", "license": "MIT", @@ -66,10 +66,10 @@ "dependencies": { "@babel/runtime": "7.15.3", "@hapi/accept": "5.0.2", - "@next/env": "11.1.1-canary.19", - "@next/polyfill-module": "11.1.1-canary.19", - "@next/react-dev-overlay": "11.1.1-canary.19", - "@next/react-refresh-utils": "11.1.1-canary.19", + "@next/env": "11.1.1", + "@next/polyfill-module": "11.1.1", + "@next/react-dev-overlay": "11.1.1", + "@next/react-refresh-utils": "11.1.1", "@node-rs/helper": "1.2.1", "assert": "2.0.0", "ast-types": "0.13.2", @@ -154,7 +154,7 @@ "@babel/traverse": "7.15.0", "@babel/types": "7.15.0", "@napi-rs/cli": "1.1.0", - "@next/polyfill-nomodule": "11.1.1-canary.19", + "@next/polyfill-nomodule": "11.1.1", "@taskr/clear": "1.1.0", "@taskr/esnext": "1.1.0", "@taskr/watch": "1.1.0", diff --git a/packages/react-dev-overlay/package.json b/packages/react-dev-overlay/package.json index 8efa465fbfd95..aab5d5b48c606 100644 --- a/packages/react-dev-overlay/package.json +++ b/packages/react-dev-overlay/package.json @@ -1,6 +1,6 @@ { "name": "@next/react-dev-overlay", - "version": "11.1.1-canary.19", + "version": "11.1.1", "description": "A development-only overlay for developing React applications.", "repository": { "url": "vercel/next.js", diff --git a/packages/react-refresh-utils/package.json b/packages/react-refresh-utils/package.json index 3a6d5bf07ac8c..7c7eccb827317 100644 --- a/packages/react-refresh-utils/package.json +++ b/packages/react-refresh-utils/package.json @@ -1,6 +1,6 @@ { "name": "@next/react-refresh-utils", - "version": "11.1.1-canary.19", + "version": "11.1.1", "description": "An experimental package providing utilities for React Refresh.", "repository": { "url": "vercel/next.js", From 8c553e8dc0441932dbf1d798500102a408a792dc Mon Sep 17 00:00:00 2001 From: Jiachi Liu Date: Tue, 31 Aug 2021 03:15:14 +0800 Subject: [PATCH 06/47] chore: upgrade styled-jsx to 4.0.1 (#28626) Fix warning of peer dep on yarn (berry version) install --- packages/next/package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/next/package.json b/packages/next/package.json index a39a43b96150a..ab2436245a487 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -107,7 +107,7 @@ "stream-browserify": "3.0.0", "stream-http": "3.1.1", "string_decoder": "1.3.0", - "styled-jsx": "4.0.0", + "styled-jsx": "4.0.1", "timers-browserify": "2.0.12", "tty-browserify": "0.0.1", "use-subscription": "1.5.1", diff --git a/yarn.lock b/yarn.lock index a39c4e9b611a1..972816e29b05b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -18589,10 +18589,10 @@ styled-jsx-plugin-postcss@3.0.2: postcss "^7.0.2" postcss-load-plugins "^2.3.0" -styled-jsx@4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-4.0.0.tgz#f7b90e7889d0a4f4635f8d1ae9ac32f3acaedc57" - integrity sha512-2USeoWMoJ/Lx5s2y1PxuvLy/cz2Yrr8cTySV3ILHU1Vmaw1bnV7suKdblLPjnyhMD+qzN7B1SWyh4UZTARn/WA== +styled-jsx@4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-4.0.1.tgz#ae3f716eacc0792f7050389de88add6d5245b9e9" + integrity sha512-Gcb49/dRB1k8B4hdK8vhW27Rlb2zujCk1fISrizCcToIs+55B4vmUM0N9Gi4nnVfFZWe55jRdWpAqH1ldAKWvQ== dependencies: "@babel/plugin-syntax-jsx" "7.14.5" "@babel/types" "7.15.0" From 9be387c7f476fb0a0fed3bf04162ab22e0a0074a Mon Sep 17 00:00:00 2001 From: Kara Date: Mon, 30 Aug 2021 12:52:15 -0700 Subject: [PATCH 07/47] getServerSideProps should support props value as Promise (#28607) Previous to this change, getServerSideProps could only return plain objects for props, e.g.: ```javascript export async function getServerSideProps() { return { props: { text: 'some value', } } } ``` With this commit, the props object can also be a Promise, e.g. ```javascript export async function getServerSideProps() { return { props: (async function () { return { text: 'promise value', } })(), } } ``` For now, the framework simply waits for the results of the props Promise to resolve, but this small change sets the groundwork for later allowing props to be streamed (cc @devknoll). ## Feature - [x] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. -- *This is part of @devknoll's ongoing work to support streaming.* - [ ] Related issues linked using `fixes #number` - [x] Integration tests added - [x] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. *not sure if this applies here* - [ ] Errors have helpful link attached, see `contributing.md` --- docs/basic-features/data-fetching.md | 2 +- packages/next/server/render.tsx | 4 ++++ .../getserversideprops/pages/promise/index.js | 15 +++++++++++++++ .../getserversideprops/test/index.test.js | 11 +++++++++++ 4 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 test/integration/getserversideprops/pages/promise/index.js diff --git a/docs/basic-features/data-fetching.md b/docs/basic-features/data-fetching.md index b63575f7f9eae..2eb8dd943e82e 100644 --- a/docs/basic-features/data-fetching.md +++ b/docs/basic-features/data-fetching.md @@ -672,7 +672,7 @@ The `context` parameter is an object containing the following keys: `getServerSideProps` should return an object with: -- `props` - An **optional** object with the props that will be received by the page component. It should be a [serializable object](https://en.wikipedia.org/wiki/Serialization) +- `props` - An **optional** object with the props that will be received by the page component. It should be a [serializable object](https://en.wikipedia.org/wiki/Serialization) or a Promise that resolves to a serializable object. - `notFound` - An **optional** boolean value to allow the page to return a 404 status and page. Below is an example of how it works: ```js diff --git a/packages/next/server/render.tsx b/packages/next/server/render.tsx index c49671aa9b22b..27e944b8d6aff 100644 --- a/packages/next/server/render.tsx +++ b/packages/next/server/render.tsx @@ -804,6 +804,10 @@ export async function renderToHTML( ;(renderOpts as any).isRedirect = true } + if ((data as any).props instanceof Promise) { + ;(data as any).props = await (data as any).props + } + if ( (dev || isBuildTimeSSG) && !isSerializableProps( diff --git a/test/integration/getserversideprops/pages/promise/index.js b/test/integration/getserversideprops/pages/promise/index.js new file mode 100644 index 0000000000000..c6871c0fbf647 --- /dev/null +++ b/test/integration/getserversideprops/pages/promise/index.js @@ -0,0 +1,15 @@ +export async function getServerSideProps() { + return { + props: (async function () { + return { + text: 'promise', + } + })(), + } +} + +export default ({ text }) => ( + <> +
hello {text}
+ +) diff --git a/test/integration/getserversideprops/test/index.test.js b/test/integration/getserversideprops/test/index.test.js index dee20cb3e6272..eb99488473fab 100644 --- a/test/integration/getserversideprops/test/index.test.js +++ b/test/integration/getserversideprops/test/index.test.js @@ -136,6 +136,12 @@ const expectedManifestRoutes = () => [ slug: 'slug', }, }, + { + dataRouteRegex: normalizeRegEx( + `^\\/_next\\/data\\/${escapeRegex(buildId)}\\/promise.json$` + ), + page: '/promise', + }, { dataRouteRegex: normalizeRegEx( `^\\/_next\\/data\\/${escapeRegex(buildId)}\\/refresh.json$` @@ -523,6 +529,11 @@ const runTests = (dev = false) => { expect(data.pageProps.post).toBe('post-1') }) + it('should return data correctly when props is a promise', async () => { + const html = await renderViaHTTP(appPort, `/promise`) + expect(html).toMatch(/hello.*?promise/) + }) + it('should navigate to a normal page and back', async () => { const browser = await webdriver(appPort, '/') let text = await browser.elementByCss('p').text() From ff9dcc6a47aee81cb6f6dca4647e2c81273b885a Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Mon, 30 Aug 2021 20:09:48 -0500 Subject: [PATCH 08/47] Ensure custom app regex is correct for Windows (#28631) * Ensure custom app regex is correct for Windows * lint-fix * update test for ie * update test * lint-fix --- packages/next/build/webpack-config.ts | 4 +- .../css-client-nav/test/index.test.js | 2 +- .../css-fixtures/multi-module/pages/_app.js | 5 +++ .../multi-module/pages/global.css | 3 ++ test/integration/production/test/security.js | 39 ++++++++++--------- 5 files changed, 33 insertions(+), 20 deletions(-) create mode 100644 test/integration/css-fixtures/multi-module/pages/_app.js create mode 100644 test/integration/css-fixtures/multi-module/pages/global.css diff --git a/packages/next/build/webpack-config.ts b/packages/next/build/webpack-config.ts index 766d0776c33f9..570da75d6e1bc 100644 --- a/packages/next/build/webpack-config.ts +++ b/packages/next/build/webpack-config.ts @@ -1561,7 +1561,9 @@ export default async function getBaseWebpackConfig( webpackConfig = await buildConfiguration(webpackConfig, { rootDirectory: dir, - customAppFile: new RegExp(path.join(pagesDir, `_app`)), + customAppFile: new RegExp( + path.join(pagesDir, `_app`).replace(/\\/g, '(/|\\\\)') + ), isDevelopment: dev, isServer, assetPrefix: config.assetPrefix || '', diff --git a/test/integration/css-client-nav/test/index.test.js b/test/integration/css-client-nav/test/index.test.js index 986e60d5f01c9..8c58f7905ca73 100644 --- a/test/integration/css-client-nav/test/index.test.js +++ b/test/integration/css-client-nav/test/index.test.js @@ -64,7 +64,7 @@ function runTests(dev) { if (!dev) { // Ensure only `/blue` page's CSS is preloaded const serverCssPreloads = $('link[rel="preload"][as="style"]') - expect(serverCssPreloads.length).toBe(1) + expect(serverCssPreloads.length).toBe(2) const serverCssPrefetches = $('link[rel="prefetch"][as="style"]') expect(serverCssPrefetches.length).toBe(0) diff --git a/test/integration/css-fixtures/multi-module/pages/_app.js b/test/integration/css-fixtures/multi-module/pages/_app.js new file mode 100644 index 0000000000000..793aca2ac143a --- /dev/null +++ b/test/integration/css-fixtures/multi-module/pages/_app.js @@ -0,0 +1,5 @@ +import './global.css' + +export default function MyApp({ Component, pageProps }) { + return +} diff --git a/test/integration/css-fixtures/multi-module/pages/global.css b/test/integration/css-fixtures/multi-module/pages/global.css new file mode 100644 index 0000000000000..f540ffb7b7ffa --- /dev/null +++ b/test/integration/css-fixtures/multi-module/pages/global.css @@ -0,0 +1,3 @@ +html { + background: grey; +} diff --git a/test/integration/production/test/security.js b/test/integration/production/test/security.js index 76b15b72c2ca0..f86eb81862eb8 100644 --- a/test/integration/production/test/security.js +++ b/test/integration/production/test/security.js @@ -1,4 +1,5 @@ /* eslint-env jest */ +/* global browserName */ import webdriver from 'next-webdriver' import { readFileSync } from 'fs' import url from 'url' @@ -343,23 +344,25 @@ module.exports = (context) => { expect(hostname).not.toBe('example.com') }) - it('should not execute script embedded inside svg image', async () => { - let browser - try { - browser = await webdriver(context.appPort, '/svg-image') - await browser.eval(`document.getElementById("img").scrollIntoView()`) - expect(await browser.elementById('img').getAttribute('src')).toContain( - 'xss.svg' - ) - expect(await browser.elementById('msg').text()).toBe('safe') - browser = await webdriver( - context.appPort, - '/_next/image?url=%2Fxss.svg&w=256&q=75' - ) - expect(await browser.elementById('msg').text()).toBe('safe') - } finally { - if (browser) await browser.close() - } - }) + if (browserName !== 'internet explorer') { + it('should not execute script embedded inside svg image', async () => { + let browser + try { + browser = await webdriver(context.appPort, '/svg-image') + await browser.eval(`document.getElementById("img").scrollIntoView()`) + expect( + await browser.elementById('img').getAttribute('src') + ).toContain('xss.svg') + expect(await browser.elementById('msg').text()).toBe('safe') + browser = await webdriver( + context.appPort, + '/_next/image?url=%2Fxss.svg&w=256&q=75' + ) + expect(await browser.elementById('msg').text()).toBe('safe') + } finally { + if (browser) await browser.close() + } + }) + } }) } From 248b34105b538f935beb33e725125540806f32ea Mon Sep 17 00:00:00 2001 From: "jj@jjsweb.site" Date: Mon, 30 Aug 2021 21:48:53 -0500 Subject: [PATCH 09/47] v11.1.2-canary.0 --- lerna.json | 2 +- packages/create-next-app/package.json | 2 +- packages/eslint-config-next/package.json | 4 ++-- packages/eslint-plugin-next/package.json | 2 +- packages/next-bundle-analyzer/package.json | 2 +- packages/next-codemod/package.json | 2 +- packages/next-env/package.json | 2 +- packages/next-mdx/package.json | 2 +- packages/next-plugin-storybook/package.json | 2 +- packages/next-polyfill-module/package.json | 2 +- packages/next-polyfill-nomodule/package.json | 2 +- packages/next/package.json | 12 ++++++------ packages/react-dev-overlay/package.json | 2 +- packages/react-refresh-utils/package.json | 2 +- 14 files changed, 20 insertions(+), 20 deletions(-) diff --git a/lerna.json b/lerna.json index f36779d615910..68e19f7184c88 100644 --- a/lerna.json +++ b/lerna.json @@ -17,5 +17,5 @@ "registry": "https://registry.npmjs.org/" } }, - "version": "11.1.1" + "version": "11.1.2-canary.0" } diff --git a/packages/create-next-app/package.json b/packages/create-next-app/package.json index 7b2b92e55c15f..6c2b79a887d52 100644 --- a/packages/create-next-app/package.json +++ b/packages/create-next-app/package.json @@ -1,6 +1,6 @@ { "name": "create-next-app", - "version": "11.1.1", + "version": "11.1.2-canary.0", "keywords": [ "react", "next", diff --git a/packages/eslint-config-next/package.json b/packages/eslint-config-next/package.json index 846910ca450b2..9b5e61936e491 100644 --- a/packages/eslint-config-next/package.json +++ b/packages/eslint-config-next/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-next", - "version": "11.1.1", + "version": "11.1.2-canary.0", "description": "ESLint configuration used by NextJS.", "main": "index.js", "license": "MIT", @@ -9,7 +9,7 @@ "directory": "packages/eslint-config-next" }, "dependencies": { - "@next/eslint-plugin-next": "11.1.1", + "@next/eslint-plugin-next": "11.1.2-canary.0", "@rushstack/eslint-patch": "^1.0.6", "@typescript-eslint/parser": "^4.20.0", "eslint-import-resolver-node": "^0.3.4", diff --git a/packages/eslint-plugin-next/package.json b/packages/eslint-plugin-next/package.json index 4a7773ce99e76..8cb6d18feb2fc 100644 --- a/packages/eslint-plugin-next/package.json +++ b/packages/eslint-plugin-next/package.json @@ -1,6 +1,6 @@ { "name": "@next/eslint-plugin-next", - "version": "11.1.1", + "version": "11.1.2-canary.0", "description": "ESLint plugin for NextJS.", "main": "lib/index.js", "license": "MIT", diff --git a/packages/next-bundle-analyzer/package.json b/packages/next-bundle-analyzer/package.json index 6b1ce9d8bf09b..ecc9750954340 100644 --- a/packages/next-bundle-analyzer/package.json +++ b/packages/next-bundle-analyzer/package.json @@ -1,6 +1,6 @@ { "name": "@next/bundle-analyzer", - "version": "11.1.1", + "version": "11.1.2-canary.0", "main": "index.js", "license": "MIT", "repository": { diff --git a/packages/next-codemod/package.json b/packages/next-codemod/package.json index a2ac7acb0ae7c..19a904e3b2f66 100644 --- a/packages/next-codemod/package.json +++ b/packages/next-codemod/package.json @@ -1,6 +1,6 @@ { "name": "@next/codemod", - "version": "11.1.1", + "version": "11.1.2-canary.0", "license": "MIT", "dependencies": { "chalk": "4.1.0", diff --git a/packages/next-env/package.json b/packages/next-env/package.json index 7b59680faa65a..a6bcc0db7a2c0 100644 --- a/packages/next-env/package.json +++ b/packages/next-env/package.json @@ -1,6 +1,6 @@ { "name": "@next/env", - "version": "11.1.1", + "version": "11.1.2-canary.0", "keywords": [ "react", "next", diff --git a/packages/next-mdx/package.json b/packages/next-mdx/package.json index 923071c6bcc4a..5f9b4462032e2 100644 --- a/packages/next-mdx/package.json +++ b/packages/next-mdx/package.json @@ -1,6 +1,6 @@ { "name": "@next/mdx", - "version": "11.1.1", + "version": "11.1.2-canary.0", "main": "index.js", "license": "MIT", "repository": { diff --git a/packages/next-plugin-storybook/package.json b/packages/next-plugin-storybook/package.json index 8a79b8e04858b..4d990aa681148 100644 --- a/packages/next-plugin-storybook/package.json +++ b/packages/next-plugin-storybook/package.json @@ -1,6 +1,6 @@ { "name": "@next/plugin-storybook", - "version": "11.1.1", + "version": "11.1.2-canary.0", "repository": { "url": "vercel/next.js", "directory": "packages/next-plugin-storybook" diff --git a/packages/next-polyfill-module/package.json b/packages/next-polyfill-module/package.json index 081bccfcadf9e..cc8dc4e9f49c6 100644 --- a/packages/next-polyfill-module/package.json +++ b/packages/next-polyfill-module/package.json @@ -1,6 +1,6 @@ { "name": "@next/polyfill-module", - "version": "11.1.1", + "version": "11.1.2-canary.0", "description": "A standard library polyfill for ES Modules supporting browsers (Edge 16+, Firefox 60+, Chrome 61+, Safari 10.1+)", "main": "dist/polyfill-module.js", "license": "MIT", diff --git a/packages/next-polyfill-nomodule/package.json b/packages/next-polyfill-nomodule/package.json index 4ec1db6d26d91..41032eef749c4 100644 --- a/packages/next-polyfill-nomodule/package.json +++ b/packages/next-polyfill-nomodule/package.json @@ -1,6 +1,6 @@ { "name": "@next/polyfill-nomodule", - "version": "11.1.1", + "version": "11.1.2-canary.0", "description": "A polyfill for non-dead, nomodule browsers.", "main": "dist/polyfill-nomodule.js", "license": "MIT", diff --git a/packages/next/package.json b/packages/next/package.json index ab2436245a487..aee095aa9b191 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -1,6 +1,6 @@ { "name": "next", - "version": "11.1.1", + "version": "11.1.2-canary.0", "description": "The React Framework", "main": "./dist/server/next.js", "license": "MIT", @@ -66,10 +66,10 @@ "dependencies": { "@babel/runtime": "7.15.3", "@hapi/accept": "5.0.2", - "@next/env": "11.1.1", - "@next/polyfill-module": "11.1.1", - "@next/react-dev-overlay": "11.1.1", - "@next/react-refresh-utils": "11.1.1", + "@next/env": "11.1.2-canary.0", + "@next/polyfill-module": "11.1.2-canary.0", + "@next/react-dev-overlay": "11.1.2-canary.0", + "@next/react-refresh-utils": "11.1.2-canary.0", "@node-rs/helper": "1.2.1", "assert": "2.0.0", "ast-types": "0.13.2", @@ -154,7 +154,7 @@ "@babel/traverse": "7.15.0", "@babel/types": "7.15.0", "@napi-rs/cli": "1.1.0", - "@next/polyfill-nomodule": "11.1.1", + "@next/polyfill-nomodule": "11.1.2-canary.0", "@taskr/clear": "1.1.0", "@taskr/esnext": "1.1.0", "@taskr/watch": "1.1.0", diff --git a/packages/react-dev-overlay/package.json b/packages/react-dev-overlay/package.json index aab5d5b48c606..471937d118a5a 100644 --- a/packages/react-dev-overlay/package.json +++ b/packages/react-dev-overlay/package.json @@ -1,6 +1,6 @@ { "name": "@next/react-dev-overlay", - "version": "11.1.1", + "version": "11.1.2-canary.0", "description": "A development-only overlay for developing React applications.", "repository": { "url": "vercel/next.js", diff --git a/packages/react-refresh-utils/package.json b/packages/react-refresh-utils/package.json index 7c7eccb827317..3b02d70d7ebf6 100644 --- a/packages/react-refresh-utils/package.json +++ b/packages/react-refresh-utils/package.json @@ -1,6 +1,6 @@ { "name": "@next/react-refresh-utils", - "version": "11.1.1", + "version": "11.1.2-canary.0", "description": "An experimental package providing utilities for React Refresh.", "repository": { "url": "vercel/next.js", From 97456e81ce9860ce8b4bb58931b8d723d312d389 Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Tue, 31 Aug 2021 07:15:17 +0200 Subject: [PATCH 10/47] v11.1.2 --- lerna.json | 2 +- packages/create-next-app/package.json | 2 +- packages/eslint-config-next/package.json | 4 ++-- packages/eslint-plugin-next/package.json | 2 +- packages/next-bundle-analyzer/package.json | 2 +- packages/next-codemod/package.json | 2 +- packages/next-env/package.json | 2 +- packages/next-mdx/package.json | 2 +- packages/next-plugin-storybook/package.json | 2 +- packages/next-polyfill-module/package.json | 2 +- packages/next-polyfill-nomodule/package.json | 2 +- packages/next/package.json | 12 ++++++------ packages/react-dev-overlay/package.json | 2 +- packages/react-refresh-utils/package.json | 2 +- 14 files changed, 20 insertions(+), 20 deletions(-) diff --git a/lerna.json b/lerna.json index 68e19f7184c88..a0249a3ed58d4 100644 --- a/lerna.json +++ b/lerna.json @@ -17,5 +17,5 @@ "registry": "https://registry.npmjs.org/" } }, - "version": "11.1.2-canary.0" + "version": "11.1.2" } diff --git a/packages/create-next-app/package.json b/packages/create-next-app/package.json index 6c2b79a887d52..421ca033ebba2 100644 --- a/packages/create-next-app/package.json +++ b/packages/create-next-app/package.json @@ -1,6 +1,6 @@ { "name": "create-next-app", - "version": "11.1.2-canary.0", + "version": "11.1.2", "keywords": [ "react", "next", diff --git a/packages/eslint-config-next/package.json b/packages/eslint-config-next/package.json index 9b5e61936e491..2f0190611d636 100644 --- a/packages/eslint-config-next/package.json +++ b/packages/eslint-config-next/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-next", - "version": "11.1.2-canary.0", + "version": "11.1.2", "description": "ESLint configuration used by NextJS.", "main": "index.js", "license": "MIT", @@ -9,7 +9,7 @@ "directory": "packages/eslint-config-next" }, "dependencies": { - "@next/eslint-plugin-next": "11.1.2-canary.0", + "@next/eslint-plugin-next": "11.1.2", "@rushstack/eslint-patch": "^1.0.6", "@typescript-eslint/parser": "^4.20.0", "eslint-import-resolver-node": "^0.3.4", diff --git a/packages/eslint-plugin-next/package.json b/packages/eslint-plugin-next/package.json index 8cb6d18feb2fc..8c27193e930ce 100644 --- a/packages/eslint-plugin-next/package.json +++ b/packages/eslint-plugin-next/package.json @@ -1,6 +1,6 @@ { "name": "@next/eslint-plugin-next", - "version": "11.1.2-canary.0", + "version": "11.1.2", "description": "ESLint plugin for NextJS.", "main": "lib/index.js", "license": "MIT", diff --git a/packages/next-bundle-analyzer/package.json b/packages/next-bundle-analyzer/package.json index ecc9750954340..0139279ff26bf 100644 --- a/packages/next-bundle-analyzer/package.json +++ b/packages/next-bundle-analyzer/package.json @@ -1,6 +1,6 @@ { "name": "@next/bundle-analyzer", - "version": "11.1.2-canary.0", + "version": "11.1.2", "main": "index.js", "license": "MIT", "repository": { diff --git a/packages/next-codemod/package.json b/packages/next-codemod/package.json index 19a904e3b2f66..c7e4c3c1b6ec8 100644 --- a/packages/next-codemod/package.json +++ b/packages/next-codemod/package.json @@ -1,6 +1,6 @@ { "name": "@next/codemod", - "version": "11.1.2-canary.0", + "version": "11.1.2", "license": "MIT", "dependencies": { "chalk": "4.1.0", diff --git a/packages/next-env/package.json b/packages/next-env/package.json index a6bcc0db7a2c0..4ee1ab52d5c23 100644 --- a/packages/next-env/package.json +++ b/packages/next-env/package.json @@ -1,6 +1,6 @@ { "name": "@next/env", - "version": "11.1.2-canary.0", + "version": "11.1.2", "keywords": [ "react", "next", diff --git a/packages/next-mdx/package.json b/packages/next-mdx/package.json index 5f9b4462032e2..dfaffb7b5b51a 100644 --- a/packages/next-mdx/package.json +++ b/packages/next-mdx/package.json @@ -1,6 +1,6 @@ { "name": "@next/mdx", - "version": "11.1.2-canary.0", + "version": "11.1.2", "main": "index.js", "license": "MIT", "repository": { diff --git a/packages/next-plugin-storybook/package.json b/packages/next-plugin-storybook/package.json index 4d990aa681148..0b88b067b5838 100644 --- a/packages/next-plugin-storybook/package.json +++ b/packages/next-plugin-storybook/package.json @@ -1,6 +1,6 @@ { "name": "@next/plugin-storybook", - "version": "11.1.2-canary.0", + "version": "11.1.2", "repository": { "url": "vercel/next.js", "directory": "packages/next-plugin-storybook" diff --git a/packages/next-polyfill-module/package.json b/packages/next-polyfill-module/package.json index cc8dc4e9f49c6..6cdc212dc50bd 100644 --- a/packages/next-polyfill-module/package.json +++ b/packages/next-polyfill-module/package.json @@ -1,6 +1,6 @@ { "name": "@next/polyfill-module", - "version": "11.1.2-canary.0", + "version": "11.1.2", "description": "A standard library polyfill for ES Modules supporting browsers (Edge 16+, Firefox 60+, Chrome 61+, Safari 10.1+)", "main": "dist/polyfill-module.js", "license": "MIT", diff --git a/packages/next-polyfill-nomodule/package.json b/packages/next-polyfill-nomodule/package.json index 41032eef749c4..194829ebc6096 100644 --- a/packages/next-polyfill-nomodule/package.json +++ b/packages/next-polyfill-nomodule/package.json @@ -1,6 +1,6 @@ { "name": "@next/polyfill-nomodule", - "version": "11.1.2-canary.0", + "version": "11.1.2", "description": "A polyfill for non-dead, nomodule browsers.", "main": "dist/polyfill-nomodule.js", "license": "MIT", diff --git a/packages/next/package.json b/packages/next/package.json index aee095aa9b191..43cf8197b78da 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -1,6 +1,6 @@ { "name": "next", - "version": "11.1.2-canary.0", + "version": "11.1.2", "description": "The React Framework", "main": "./dist/server/next.js", "license": "MIT", @@ -66,10 +66,10 @@ "dependencies": { "@babel/runtime": "7.15.3", "@hapi/accept": "5.0.2", - "@next/env": "11.1.2-canary.0", - "@next/polyfill-module": "11.1.2-canary.0", - "@next/react-dev-overlay": "11.1.2-canary.0", - "@next/react-refresh-utils": "11.1.2-canary.0", + "@next/env": "11.1.2", + "@next/polyfill-module": "11.1.2", + "@next/react-dev-overlay": "11.1.2", + "@next/react-refresh-utils": "11.1.2", "@node-rs/helper": "1.2.1", "assert": "2.0.0", "ast-types": "0.13.2", @@ -154,7 +154,7 @@ "@babel/traverse": "7.15.0", "@babel/types": "7.15.0", "@napi-rs/cli": "1.1.0", - "@next/polyfill-nomodule": "11.1.2-canary.0", + "@next/polyfill-nomodule": "11.1.2", "@taskr/clear": "1.1.0", "@taskr/esnext": "1.1.0", "@taskr/watch": "1.1.0", diff --git a/packages/react-dev-overlay/package.json b/packages/react-dev-overlay/package.json index 471937d118a5a..6a2402e148dcd 100644 --- a/packages/react-dev-overlay/package.json +++ b/packages/react-dev-overlay/package.json @@ -1,6 +1,6 @@ { "name": "@next/react-dev-overlay", - "version": "11.1.2-canary.0", + "version": "11.1.2", "description": "A development-only overlay for developing React applications.", "repository": { "url": "vercel/next.js", diff --git a/packages/react-refresh-utils/package.json b/packages/react-refresh-utils/package.json index 3b02d70d7ebf6..abf739db0b381 100644 --- a/packages/react-refresh-utils/package.json +++ b/packages/react-refresh-utils/package.json @@ -1,6 +1,6 @@ { "name": "@next/react-refresh-utils", - "version": "11.1.2-canary.0", + "version": "11.1.2", "description": "An experimental package providing utilities for React Refresh.", "repository": { "url": "vercel/next.js", From 71771df6fa7e4a37bc6b60673c882c6625ee1d57 Mon Sep 17 00:00:00 2001 From: matamatanot <39780486+matamatanot@users.noreply.github.com> Date: Tue, 31 Aug 2021 16:41:27 +0900 Subject: [PATCH 11/47] Add error page path for next-script-for-ga (#28643) ## Documentation / Examples - [x] Make sure the linting passes **My console** > src/pages/_document.tsx#L14 > Use the `next/script` component for loading third party scripts. See: https://nextjs.org/docs/messages/next-script-for-ga https://nextjs.org/docs/messages/next-script-for-ga is 404 now. --- errors/manifest.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/errors/manifest.json b/errors/manifest.json index f1580c3b658fd..693fb8f055149 100644 --- a/errors/manifest.json +++ b/errors/manifest.json @@ -269,6 +269,10 @@ "title": "next-image-unconfigured-host", "path": "/errors/next-image-unconfigured-host.md" }, + { + "title": "next-script-for-ga", + "path": "/errors/next-script-for-ga.md" + }, { "title": "next-start-serverless", "path": "/errors/next-start-serverless.md" From f6d8a112df76197362b407fc1e0fb6f323dccf39 Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Tue, 31 Aug 2021 10:32:33 +0200 Subject: [PATCH 12/47] fix esm externals edge case with "module" condition (#28612) prefer commonjs externals even if "module" condition is used in package.json ## Bug - [ ] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` --- packages/next/build/webpack-config.ts | 22 ++++--------------- .../externals-esm-loose/test/index.test.js | 2 +- .../externals-esm/test/index.test.js | 2 +- .../node_modules/module-package/correct.js | 1 + .../node_modules/module-package/package.json | 10 +++++++++ .../node_modules/module-package/wrong.mjs | 3 +++ test/integration/externals/pages/ssg.js | 9 ++++++-- test/integration/externals/pages/ssr.js | 9 ++++++-- test/integration/externals/pages/static.js | 9 ++++++-- test/integration/externals/test/index.test.js | 10 +++++---- 10 files changed, 47 insertions(+), 30 deletions(-) create mode 100644 test/integration/externals/node_modules/module-package/correct.js create mode 100644 test/integration/externals/node_modules/module-package/package.json create mode 100644 test/integration/externals/node_modules/module-package/wrong.mjs diff --git a/packages/next/build/webpack-config.ts b/packages/next/build/webpack-config.ts index 570da75d6e1bc..b98cfcc20297f 100644 --- a/packages/next/build/webpack-config.ts +++ b/packages/next/build/webpack-config.ts @@ -173,20 +173,6 @@ export function attachReactRefresh( } } -const WEBPACK_RESOLVE_OPTIONS = { - // This always uses commonjs resolving, assuming API is identical - // between ESM and CJS in a package - // Otherwise combined ESM+CJS packages will never be external - // as resolving mismatch would lead to opt-out from being external. - dependencyType: 'commonjs', - symlinks: true, -} - -const WEBPACK_ESM_RESOLVE_OPTIONS = { - dependencyType: 'esm', - symlinks: true, -} - const NODE_RESOLVE_OPTIONS = { dependencyType: 'commonjs', modules: ['node_modules'], @@ -194,7 +180,7 @@ const NODE_RESOLVE_OPTIONS = { fallback: false, exportsFields: ['exports'], importsFields: ['imports'], - conditionNames: ['node', 'require', 'module'], + conditionNames: ['node', 'require'], descriptionFiles: ['package.json'], extensions: ['.js', '.json', '.node'], enforceExtensions: false, @@ -211,7 +197,7 @@ const NODE_RESOLVE_OPTIONS = { const NODE_ESM_RESOLVE_OPTIONS = { ...NODE_RESOLVE_OPTIONS, dependencyType: 'esm', - conditionNames: ['node', 'import', 'module'], + conditionNames: ['node', 'import'], fullySpecified: true, } @@ -754,7 +740,7 @@ export default async function getBaseWebpackConfig( const preferEsm = esmExternals && isEsmRequested const resolve = getResolve( - preferEsm ? WEBPACK_ESM_RESOLVE_OPTIONS : WEBPACK_RESOLVE_OPTIONS + preferEsm ? NODE_ESM_RESOLVE_OPTIONS : NODE_RESOLVE_OPTIONS ) // Resolve the import with the webpack provided context, this @@ -772,7 +758,7 @@ export default async function getBaseWebpackConfig( // try the alternative resolving options. if (!res && (isEsmRequested || looseEsmExternals)) { const resolveAlternative = getResolve( - preferEsm ? WEBPACK_RESOLVE_OPTIONS : WEBPACK_ESM_RESOLVE_OPTIONS + preferEsm ? NODE_RESOLVE_OPTIONS : NODE_ESM_RESOLVE_OPTIONS ) try { ;[res, isEsm] = await resolveAlternative(context, request) diff --git a/test/integration/externals-esm-loose/test/index.test.js b/test/integration/externals-esm-loose/test/index.test.js index 7b45ca81bf6f0..6cc0819204bfe 100644 --- a/test/integration/externals-esm-loose/test/index.test.js +++ b/test/integration/externals-esm-loose/test/index.test.js @@ -15,7 +15,7 @@ const appDir = join(__dirname, '../') let appPort let app -describe('Valid resolve alias', () => { +describe("Handle ESM externals with esmExternals: 'loose'", () => { beforeAll(async () => { await fs.remove(join(appDir, '.next')) await nextBuild(appDir) diff --git a/test/integration/externals-esm/test/index.test.js b/test/integration/externals-esm/test/index.test.js index 01263900c9fa7..c0bec372644de 100644 --- a/test/integration/externals-esm/test/index.test.js +++ b/test/integration/externals-esm/test/index.test.js @@ -15,7 +15,7 @@ const appDir = join(__dirname, '../') let appPort let app -describe('Valid resolve alias', () => { +describe('Handle ESM externals with esmExternals: true', () => { beforeAll(async () => { await fs.remove(join(appDir, '.next')) await nextBuild(appDir) diff --git a/test/integration/externals/node_modules/module-package/correct.js b/test/integration/externals/node_modules/module-package/correct.js new file mode 100644 index 0000000000000..cea6b73e3b7b1 --- /dev/null +++ b/test/integration/externals/node_modules/module-package/correct.js @@ -0,0 +1 @@ +module.exports = 'World' diff --git a/test/integration/externals/node_modules/module-package/package.json b/test/integration/externals/node_modules/module-package/package.json new file mode 100644 index 0000000000000..0fb9324a02f50 --- /dev/null +++ b/test/integration/externals/node_modules/module-package/package.json @@ -0,0 +1,10 @@ +{ + "name": "module-package", + "exports": { + ".": { + "module": "./wrong.mjs", + "import": "./wrong.mjs", + "require": "./correct.js" + } + } +} diff --git a/test/integration/externals/node_modules/module-package/wrong.mjs b/test/integration/externals/node_modules/module-package/wrong.mjs new file mode 100644 index 0000000000000..61f4f6857e2f1 --- /dev/null +++ b/test/integration/externals/node_modules/module-package/wrong.mjs @@ -0,0 +1,3 @@ +if(typeof window === "undefined") + throw new Error("This shouldn't be used on server-side") +export default "World"; diff --git a/test/integration/externals/pages/ssg.js b/test/integration/externals/pages/ssg.js index 1d03e6f3e762f..51e9724dd0627 100644 --- a/test/integration/externals/pages/ssg.js +++ b/test/integration/externals/pages/ssg.js @@ -1,5 +1,6 @@ import React from 'preact/compat' -import World from 'esm-package/entry' +import World1 from 'esm-package/entry' +import World2 from 'module-package' export async function getStaticProps() { return { @@ -8,5 +9,9 @@ export async function getStaticProps() { } export default function Index(props) { - return
Hello {World}
+ return ( +
+ Hello {World1}+{World2} +
+ ) } diff --git a/test/integration/externals/pages/ssr.js b/test/integration/externals/pages/ssr.js index be1edac803159..99b6437c0035c 100644 --- a/test/integration/externals/pages/ssr.js +++ b/test/integration/externals/pages/ssr.js @@ -1,10 +1,15 @@ import React from 'preact/compat' -import World from 'esm-package/entry' +import World1 from 'esm-package/entry' +import World2 from 'module-package' export function getServerSideProps() { return {} } export default function Index(props) { - return
Hello {World}
+ return ( +
+ Hello {World1}+{World2} +
+ ) } diff --git a/test/integration/externals/pages/static.js b/test/integration/externals/pages/static.js index d0f23c8d83054..d4cb310b28931 100644 --- a/test/integration/externals/pages/static.js +++ b/test/integration/externals/pages/static.js @@ -1,6 +1,11 @@ import React from 'preact/compat' -import World from 'esm-package/entry' +import World1 from 'esm-package/entry' +import World2 from 'module-package' export default function Index(props) { - return
Hello {World}
+ return ( +
+ Hello {World1}+{World2} +
+ ) } diff --git a/test/integration/externals/test/index.test.js b/test/integration/externals/test/index.test.js index f112a424f775f..2eea2022f237a 100644 --- a/test/integration/externals/test/index.test.js +++ b/test/integration/externals/test/index.test.js @@ -15,7 +15,7 @@ const appDir = join(__dirname, '../') let appPort let app -describe('Valid resolve alias', () => { +describe('Handle ESM externals', () => { beforeAll(async () => { await fs.remove(join(appDir, '.next')) await nextBuild(appDir) @@ -24,18 +24,20 @@ describe('Valid resolve alias', () => { }) afterAll(() => killApp(app)) + const expected = /Hello World\+World/ + it('should render the static page', async () => { const html = await renderViaHTTP(appPort, '/static') - expect(html).toMatch(/Hello World/) + expect(html).toMatch(expected) }) it('should render the ssr page', async () => { const html = await renderViaHTTP(appPort, '/ssr') - expect(html).toMatch(/Hello World/) + expect(html).toMatch(expected) }) it('should render the ssg page', async () => { const html = await renderViaHTTP(appPort, '/ssg') - expect(html).toMatch(/Hello World/) + expect(html).toMatch(expected) }) }) From acf65f92dc7ce459a25ac5a9bc668300e8cff28b Mon Sep 17 00:00:00 2001 From: Steven Date: Tue, 31 Aug 2021 15:03:08 -0400 Subject: [PATCH 13/47] Fix TS type conflict for `` tag (#28672) This type was added in PR #28269 but doesn't need to be public and was causing conflicts with `@types/react@17`. We currently use `@types/react@16` so ideally we should upgrade to `@types/react@17` and then remove the `ts-ignore`. Fixes #28647 --- packages/next/client/image.tsx | 1 + packages/next/types/index.d.ts | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/next/client/image.tsx b/packages/next/client/image.tsx index 74638933f4463..5174d5f3f5678 100644 --- a/packages/next/client/image.tsx +++ b/packages/next/client/image.tsx @@ -627,6 +627,7 @@ export default function Image({ data-nimg={layout} style={imgStyle} className={className} + // @ts-ignore - TODO: upgrade to `@types/react@17` loading={loading || 'lazy'} /> diff --git a/packages/next/types/index.d.ts b/packages/next/types/index.d.ts index b1bc5ea2e0744..4abaab83eb3cf 100644 --- a/packages/next/types/index.d.ts +++ b/packages/next/types/index.d.ts @@ -40,11 +40,6 @@ declare module 'react' { interface LinkHTMLAttributes extends HTMLAttributes { nonce?: string } - - // support - interface ImgHTMLAttributes extends HTMLAttributes { - loading?: 'auto' | 'eager' | 'lazy' - } } export type Redirect = From c21cbdf8997db636100f578cd70f838f8b95b407 Mon Sep 17 00:00:00 2001 From: Rahul Gaba Date: Wed, 1 Sep 2021 01:53:21 +0530 Subject: [PATCH 14/47] Fix for `next-script-for-ga` ESLint rule crashing when a method is used in dangerouslySetInnerHTML (#28675) Fixes #28635 ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [x] Errors have helpful link attached, see `contributing.md` --- .../lib/rules/next-script-for-ga.js | 4 +-- .../next-script-for-ga.test.ts | 30 +++++++++++++++++++ 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/packages/eslint-plugin-next/lib/rules/next-script-for-ga.js b/packages/eslint-plugin-next/lib/rules/next-script-for-ga.js index 09385460dcc8f..8fe6f19189ade 100644 --- a/packages/eslint-plugin-next/lib/rules/next-script-for-ga.js +++ b/packages/eslint-plugin-next/lib/rules/next-script-for-ga.js @@ -52,8 +52,8 @@ module.exports = { // https://developers.google.com/analytics/devguides/collection/analyticsjs#the_google_analytics_tag // https://developers.google.com/tag-manager/quickstart if ( - attributes.has('dangerouslySetInnerHTML') && - attributes.value('dangerouslySetInnerHTML')[0] + attributes.value('dangerouslySetInnerHTML') && + attributes.value('dangerouslySetInnerHTML').length > 0 ) { const htmlContent = attributes.value('dangerouslySetInnerHTML')[0].value.quasis && diff --git a/test/unit/eslint-plugin-next/next-script-for-ga.test.ts b/test/unit/eslint-plugin-next/next-script-for-ga.test.ts index 8200e4aab5edf..19fdde7b0c421 100644 --- a/test/unit/eslint-plugin-next/next-script-for-ga.test.ts +++ b/test/unit/eslint-plugin-next/next-script-for-ga.test.ts @@ -207,5 +207,35 @@ ruleTester.run('sync-scripts', rule, { }, ], }, + { + code: ` + export class Blah extends Head { + createGoogleAnalyticsMarkup() { + return { + __html: \` + window.dataLayer = window.dataLayer || []; + function gtag(){dataLayer.push(arguments);} + gtag('js', new Date()); + gtag('config', 'UA-148481588-2');\`, + }; + } + + render() { + return ( +
+

Hello title

+ +
+ ); + } + }`, + errors: [ + { + message: ERROR_MSG, + type: 'JSXOpeningElement', + }, + ], + }, ], }) From c1a97e557b7fad7a87907a56d10f018401154edc Mon Sep 17 00:00:00 2001 From: "jj@jjsweb.site" Date: Tue, 31 Aug 2021 16:11:16 -0500 Subject: [PATCH 15/47] v11.1.3-canary.0 --- lerna.json | 2 +- packages/create-next-app/package.json | 2 +- packages/eslint-config-next/package.json | 4 ++-- packages/eslint-plugin-next/package.json | 2 +- packages/next-bundle-analyzer/package.json | 2 +- packages/next-codemod/package.json | 2 +- packages/next-env/package.json | 2 +- packages/next-mdx/package.json | 2 +- packages/next-plugin-storybook/package.json | 2 +- packages/next-polyfill-module/package.json | 2 +- packages/next-polyfill-nomodule/package.json | 2 +- packages/next/package.json | 12 ++++++------ packages/react-dev-overlay/package.json | 2 +- packages/react-refresh-utils/package.json | 2 +- 14 files changed, 20 insertions(+), 20 deletions(-) diff --git a/lerna.json b/lerna.json index a0249a3ed58d4..b162a5c2de701 100644 --- a/lerna.json +++ b/lerna.json @@ -17,5 +17,5 @@ "registry": "https://registry.npmjs.org/" } }, - "version": "11.1.2" + "version": "11.1.3-canary.0" } diff --git a/packages/create-next-app/package.json b/packages/create-next-app/package.json index 421ca033ebba2..51243ea0894f0 100644 --- a/packages/create-next-app/package.json +++ b/packages/create-next-app/package.json @@ -1,6 +1,6 @@ { "name": "create-next-app", - "version": "11.1.2", + "version": "11.1.3-canary.0", "keywords": [ "react", "next", diff --git a/packages/eslint-config-next/package.json b/packages/eslint-config-next/package.json index 2f0190611d636..ba291213ad54f 100644 --- a/packages/eslint-config-next/package.json +++ b/packages/eslint-config-next/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-next", - "version": "11.1.2", + "version": "11.1.3-canary.0", "description": "ESLint configuration used by NextJS.", "main": "index.js", "license": "MIT", @@ -9,7 +9,7 @@ "directory": "packages/eslint-config-next" }, "dependencies": { - "@next/eslint-plugin-next": "11.1.2", + "@next/eslint-plugin-next": "11.1.3-canary.0", "@rushstack/eslint-patch": "^1.0.6", "@typescript-eslint/parser": "^4.20.0", "eslint-import-resolver-node": "^0.3.4", diff --git a/packages/eslint-plugin-next/package.json b/packages/eslint-plugin-next/package.json index 8c27193e930ce..5aab6afca0b7b 100644 --- a/packages/eslint-plugin-next/package.json +++ b/packages/eslint-plugin-next/package.json @@ -1,6 +1,6 @@ { "name": "@next/eslint-plugin-next", - "version": "11.1.2", + "version": "11.1.3-canary.0", "description": "ESLint plugin for NextJS.", "main": "lib/index.js", "license": "MIT", diff --git a/packages/next-bundle-analyzer/package.json b/packages/next-bundle-analyzer/package.json index 0139279ff26bf..4544abe7c6b26 100644 --- a/packages/next-bundle-analyzer/package.json +++ b/packages/next-bundle-analyzer/package.json @@ -1,6 +1,6 @@ { "name": "@next/bundle-analyzer", - "version": "11.1.2", + "version": "11.1.3-canary.0", "main": "index.js", "license": "MIT", "repository": { diff --git a/packages/next-codemod/package.json b/packages/next-codemod/package.json index c7e4c3c1b6ec8..528d0a062a1b5 100644 --- a/packages/next-codemod/package.json +++ b/packages/next-codemod/package.json @@ -1,6 +1,6 @@ { "name": "@next/codemod", - "version": "11.1.2", + "version": "11.1.3-canary.0", "license": "MIT", "dependencies": { "chalk": "4.1.0", diff --git a/packages/next-env/package.json b/packages/next-env/package.json index 4ee1ab52d5c23..63000ac7794b1 100644 --- a/packages/next-env/package.json +++ b/packages/next-env/package.json @@ -1,6 +1,6 @@ { "name": "@next/env", - "version": "11.1.2", + "version": "11.1.3-canary.0", "keywords": [ "react", "next", diff --git a/packages/next-mdx/package.json b/packages/next-mdx/package.json index dfaffb7b5b51a..5746a2f1e67a9 100644 --- a/packages/next-mdx/package.json +++ b/packages/next-mdx/package.json @@ -1,6 +1,6 @@ { "name": "@next/mdx", - "version": "11.1.2", + "version": "11.1.3-canary.0", "main": "index.js", "license": "MIT", "repository": { diff --git a/packages/next-plugin-storybook/package.json b/packages/next-plugin-storybook/package.json index 0b88b067b5838..156edd976ee44 100644 --- a/packages/next-plugin-storybook/package.json +++ b/packages/next-plugin-storybook/package.json @@ -1,6 +1,6 @@ { "name": "@next/plugin-storybook", - "version": "11.1.2", + "version": "11.1.3-canary.0", "repository": { "url": "vercel/next.js", "directory": "packages/next-plugin-storybook" diff --git a/packages/next-polyfill-module/package.json b/packages/next-polyfill-module/package.json index 6cdc212dc50bd..62e3a6b25e121 100644 --- a/packages/next-polyfill-module/package.json +++ b/packages/next-polyfill-module/package.json @@ -1,6 +1,6 @@ { "name": "@next/polyfill-module", - "version": "11.1.2", + "version": "11.1.3-canary.0", "description": "A standard library polyfill for ES Modules supporting browsers (Edge 16+, Firefox 60+, Chrome 61+, Safari 10.1+)", "main": "dist/polyfill-module.js", "license": "MIT", diff --git a/packages/next-polyfill-nomodule/package.json b/packages/next-polyfill-nomodule/package.json index 194829ebc6096..4019c9aee91e3 100644 --- a/packages/next-polyfill-nomodule/package.json +++ b/packages/next-polyfill-nomodule/package.json @@ -1,6 +1,6 @@ { "name": "@next/polyfill-nomodule", - "version": "11.1.2", + "version": "11.1.3-canary.0", "description": "A polyfill for non-dead, nomodule browsers.", "main": "dist/polyfill-nomodule.js", "license": "MIT", diff --git a/packages/next/package.json b/packages/next/package.json index 43cf8197b78da..ed0cb632ffd54 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -1,6 +1,6 @@ { "name": "next", - "version": "11.1.2", + "version": "11.1.3-canary.0", "description": "The React Framework", "main": "./dist/server/next.js", "license": "MIT", @@ -66,10 +66,10 @@ "dependencies": { "@babel/runtime": "7.15.3", "@hapi/accept": "5.0.2", - "@next/env": "11.1.2", - "@next/polyfill-module": "11.1.2", - "@next/react-dev-overlay": "11.1.2", - "@next/react-refresh-utils": "11.1.2", + "@next/env": "11.1.3-canary.0", + "@next/polyfill-module": "11.1.3-canary.0", + "@next/react-dev-overlay": "11.1.3-canary.0", + "@next/react-refresh-utils": "11.1.3-canary.0", "@node-rs/helper": "1.2.1", "assert": "2.0.0", "ast-types": "0.13.2", @@ -154,7 +154,7 @@ "@babel/traverse": "7.15.0", "@babel/types": "7.15.0", "@napi-rs/cli": "1.1.0", - "@next/polyfill-nomodule": "11.1.2", + "@next/polyfill-nomodule": "11.1.3-canary.0", "@taskr/clear": "1.1.0", "@taskr/esnext": "1.1.0", "@taskr/watch": "1.1.0", diff --git a/packages/react-dev-overlay/package.json b/packages/react-dev-overlay/package.json index 6a2402e148dcd..5b2d04b362ef6 100644 --- a/packages/react-dev-overlay/package.json +++ b/packages/react-dev-overlay/package.json @@ -1,6 +1,6 @@ { "name": "@next/react-dev-overlay", - "version": "11.1.2", + "version": "11.1.3-canary.0", "description": "A development-only overlay for developing React applications.", "repository": { "url": "vercel/next.js", diff --git a/packages/react-refresh-utils/package.json b/packages/react-refresh-utils/package.json index abf739db0b381..9e6ccb0ef7347 100644 --- a/packages/react-refresh-utils/package.json +++ b/packages/react-refresh-utils/package.json @@ -1,6 +1,6 @@ { "name": "@next/react-refresh-utils", - "version": "11.1.2", + "version": "11.1.3-canary.0", "description": "An experimental package providing utilities for React Refresh.", "repository": { "url": "vercel/next.js", From 501bfe69695b0e563e88af689105882513c2b370 Mon Sep 17 00:00:00 2001 From: Aleksa Cukovic Date: Tue, 31 Aug 2021 23:18:22 +0200 Subject: [PATCH 16/47] Update docs about exposing env vars to the browser (#28673) Current docs on exposing environment variables to the browser are slightly misleading as they say that variables loaded from `.env.local` are only available in node by default, but this is the case for all environment variables not just those loaded from `.env.local`. ## Documentation - [x] Make sure the linting passes --- docs/basic-features/environment-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/basic-features/environment-variables.md b/docs/basic-features/environment-variables.md index 7e2ff8e70c3bf..93f65cfdc3a39 100644 --- a/docs/basic-features/environment-variables.md +++ b/docs/basic-features/environment-variables.md @@ -78,7 +78,7 @@ export async function getStaticProps() { ## Exposing Environment Variables to the Browser -By default all environment variables loaded through `.env.local` are only available in the Node.js environment, meaning they won't be exposed to the browser. +By default environment variables are only available in the Node.js environment, meaning they won't be exposed to the browser. In order to expose a variable to the browser you have to prefix the variable with `NEXT_PUBLIC_`. For example: From c1dbc1260922276f62d010e7bccc3ec2c3ccf627 Mon Sep 17 00:00:00 2001 From: Eungyeol <66717787+eungyeole@users.noreply.github.com> Date: Wed, 1 Sep 2021 11:01:55 +0900 Subject: [PATCH 17/47] Do not have the required package error fix (#28662) The following error occurred when I created a project with the typecript template of createp-next-app and did the 'next build'. ```shell It looks like you're trying to use TypeScript but do not have the required package(s) installed. Please install @types/node by running: yarn add --dev @types/node If you are not trying to use TypeScript, please remove the tsconfig.json file from your package root (and any TypeScript files in your pages directory). ``` This issue was resolved by adding @types/node. So I added @types/node to the devDependencies of the create-next-app typecript template. --- packages/create-next-app/create-app.ts | 2 +- test/integration/create-next-app/index.test.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/create-next-app/create-app.ts b/packages/create-next-app/create-app.ts index c06ea76227a54..8d2745db86e03 100644 --- a/packages/create-next-app/create-app.ts +++ b/packages/create-next-app/create-app.ts @@ -226,7 +226,7 @@ export async function createApp({ * TypeScript projects will have type definitions and other devDependencies. */ if (typescript) { - devDependencies.push('typescript', '@types/react') + devDependencies.push('typescript', '@types/react', '@types/node') } /** * Install package.json dependencies if they exist. diff --git a/test/integration/create-next-app/index.test.js b/test/integration/create-next-app/index.test.js index ac3e8bfb82203..47af157d04076 100644 --- a/test/integration/create-next-app/index.test.js +++ b/test/integration/create-next-app/index.test.js @@ -143,6 +143,7 @@ describe('create next app', () => { 'react-dom', ]) expect(Object.keys(pkgJSON.devDependencies)).toEqual([ + '@types/node', '@types/react', 'eslint', 'eslint-config-next', From 9a6542ba683b7ee4bd566af0dca06bb6b72835a7 Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Wed, 1 Sep 2021 10:56:04 -0500 Subject: [PATCH 18/47] Ensure build trace is correct with extra entries (#28667) * Ensure build trace is correct with extra entries * lint-fix * fix check on windows --- .../plugins/next-trace-entrypoints-plugin.ts | 51 +++++++++++++------ .../content/hello.json | 3 ++ .../build-trace-extra-entries/lib/get-data.js | 8 +++ .../build-trace-extra-entries/next.config.js | 25 +++++++++ .../build-trace-extra-entries/pages/index.js | 3 ++ .../test/index.test.js | 32 ++++++++++++ 6 files changed, 106 insertions(+), 16 deletions(-) create mode 100644 test/integration/build-trace-extra-entries/content/hello.json create mode 100644 test/integration/build-trace-extra-entries/lib/get-data.js create mode 100644 test/integration/build-trace-extra-entries/next.config.js create mode 100644 test/integration/build-trace-extra-entries/pages/index.js create mode 100644 test/integration/build-trace-extra-entries/test/index.test.js diff --git a/packages/next/build/webpack/plugins/next-trace-entrypoints-plugin.ts b/packages/next/build/webpack/plugins/next-trace-entrypoints-plugin.ts index c34360b065600..e228934e9ea3d 100644 --- a/packages/next/build/webpack/plugins/next-trace-entrypoints-plugin.ts +++ b/packages/next/build/webpack/plugins/next-trace-entrypoints-plugin.ts @@ -76,13 +76,12 @@ export class TraceEntryPointsPlugin implements webpack.Plugin { assets[traceOutputName] = new sources.RawSource( JSON.stringify({ version: TRACE_OUTPUT_VERSION, - files: [...entryFiles, ...this.entryTraces.get(entrypoint.name)!].map( - (file) => { - return nodePath - .relative(traceOutputPath, file) - .replace(/\\/g, '/') - } - ), + files: [ + ...entryFiles, + ...(this.entryTraces.get(entrypoint.name) || []), + ].map((file) => { + return nodePath.relative(traceOutputPath, file).replace(/\\/g, '/') + }), }) ) } @@ -118,6 +117,7 @@ export class TraceEntryPointsPlugin implements webpack.Plugin { // over the compilation modules list const entryNameMap = new Map() const entryModMap = new Map() + const additionalEntries = new Map>() try { const depModMap = new Map() @@ -125,15 +125,27 @@ export class TraceEntryPointsPlugin implements webpack.Plugin { compilation.entries.forEach((entry) => { const name = entry.name || entry.options?.name - if (name?.startsWith('pages/') && entry.dependencies[0]) { - const entryMod = getModuleFromDependency( - compilation, - entry.dependencies[0] - ) + if (name?.replace(/\\/g, '/').startsWith('pages/')) { + for (const dep of entry.dependencies) { + if (!dep) continue + const entryMod = getModuleFromDependency(compilation, dep) + + if (entryMod && entryMod.resource) { + if ( + entryMod.resource.replace(/\\/g, '/').includes('pages/') + ) { + entryNameMap.set(entryMod.resource, name) + entryModMap.set(entryMod.resource, entryMod) + } else { + let curMap = additionalEntries.get(name) - if (entryMod.resource) { - entryNameMap.set(entryMod.resource, name) - entryModMap.set(entryMod.resource, entryMod) + if (!curMap) { + curMap = new Map() + additionalEntries.set(name, curMap) + } + curMap.set(entryMod.resource, entryMod) + } + } } } }) @@ -225,6 +237,13 @@ export class TraceEntryPointsPlugin implements webpack.Plugin { const toTrace: string[] = [entry, ...depModMap.keys()] + const entryName = entryNameMap.get(entry)! + const curExtraEntries = additionalEntries.get(entryName) + + if (curExtraEntries) { + toTrace.push(...curExtraEntries.keys()) + } + const root = nodePath.parse(process.cwd()).root const result = await nodeFileTrace(toTrace, { base: root, @@ -249,7 +268,7 @@ export class TraceEntryPointsPlugin implements webpack.Plugin { // version: TRACE_OUTPUT_VERSION, // tracedDeps, // } - this.entryTraces.set(entryNameMap.get(entry)!, tracedDeps) + this.entryTraces.set(entryName, tracedDeps) } callback() diff --git a/test/integration/build-trace-extra-entries/content/hello.json b/test/integration/build-trace-extra-entries/content/hello.json new file mode 100644 index 0000000000000..f2a886f39de7d --- /dev/null +++ b/test/integration/build-trace-extra-entries/content/hello.json @@ -0,0 +1,3 @@ +{ + "hello": "world" +} diff --git a/test/integration/build-trace-extra-entries/lib/get-data.js b/test/integration/build-trace-extra-entries/lib/get-data.js new file mode 100644 index 0000000000000..1ae25f9d78599 --- /dev/null +++ b/test/integration/build-trace-extra-entries/lib/get-data.js @@ -0,0 +1,8 @@ +import fs from 'fs' +import path from 'path' + +export function getData() { + return JSON.parse( + fs.readFileSync(path.join(process.cwd(), 'content/hello.json'), 'utf8') + ) +} diff --git a/test/integration/build-trace-extra-entries/next.config.js b/test/integration/build-trace-extra-entries/next.config.js new file mode 100644 index 0000000000000..9cac96cfac31d --- /dev/null +++ b/test/integration/build-trace-extra-entries/next.config.js @@ -0,0 +1,25 @@ +const path = require('path') + +module.exports = { + experimental: { + nftTracing: true, + }, + webpack(cfg, { isServer }) { + console.log(cfg.entry) + const origEntry = cfg.entry + cfg.entry = async () => { + const origEntries = await origEntry() + + if (isServer) { + const curEntry = origEntries['pages/_app'] + origEntries['pages/_app'] = [ + path.resolve('lib/get-data.js'), + ...curEntry, + ] + console.log(origEntries) + } + return origEntries + } + return cfg + }, +} diff --git a/test/integration/build-trace-extra-entries/pages/index.js b/test/integration/build-trace-extra-entries/pages/index.js new file mode 100644 index 0000000000000..76c8a590e002c --- /dev/null +++ b/test/integration/build-trace-extra-entries/pages/index.js @@ -0,0 +1,3 @@ +export default function Page() { + return 'index page' +} diff --git a/test/integration/build-trace-extra-entries/test/index.test.js b/test/integration/build-trace-extra-entries/test/index.test.js new file mode 100644 index 0000000000000..e53dbbc0caea2 --- /dev/null +++ b/test/integration/build-trace-extra-entries/test/index.test.js @@ -0,0 +1,32 @@ +/* eslint-env jest */ + +import fs from 'fs-extra' +import { join } from 'path' +import { nextBuild } from 'next-test-utils' + +jest.setTimeout(1000 * 60) + +const appDir = join(__dirname, '..') + +describe('build trace with extra entries', () => { + it('should build and trace correctly', async () => { + const result = await nextBuild(appDir, undefined, { + cwd: appDir, + }) + expect(result.code).toBe(0) + + const appTrace = await fs.readJSON( + join(appDir, '.next/server/pages/_app.js.nft.json') + ) + const indexTrace = await fs.readJSON( + join(appDir, '.next/server/pages/index.js.nft.json') + ) + + expect(appTrace.files.some((file) => file.endsWith('hello.json'))).toBe( + true + ) + expect( + indexTrace.files.some((file) => file.endsWith('hello.json')) + ).toBeFalsy() + }) +}) From ed9b8863b44d136243bd4fc8ae9bfe7f02e59a02 Mon Sep 17 00:00:00 2001 From: Jiachi Liu Date: Thu, 2 Sep 2021 01:01:00 +0800 Subject: [PATCH 19/47] fix: should allow nullable param for res.end (#28694) ## Bug Fixes #28693 - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` --- packages/next/server/api-utils.ts | 4 ++-- test/integration/api-support/pages/api/nullable-payload.js | 4 ++++ test/integration/api-support/test/index.test.js | 5 +++++ 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 test/integration/api-support/pages/api/nullable-payload.js diff --git a/packages/next/server/api-utils.ts b/packages/next/server/api-utils.ts index 510d3019662cb..42b37536fc38e 100644 --- a/packages/next/server/api-utils.ts +++ b/packages/next/server/api-utils.ts @@ -69,12 +69,12 @@ export async function apiResolver( const writeData = apiRes.write const endResponse = apiRes.end apiRes.write = (...args: any[2]) => { - contentLength += Buffer.byteLength(args[0]) + contentLength += Buffer.byteLength(args[0] || '') return writeData.apply(apiRes, args) } apiRes.end = (...args: any[2]) => { if (args.length && typeof args[0] !== 'function') { - contentLength += Buffer.byteLength(args[0]) + contentLength += Buffer.byteLength(args[0] || '') } if (contentLength >= 4 * 1024 * 1024) { diff --git a/test/integration/api-support/pages/api/nullable-payload.js b/test/integration/api-support/pages/api/nullable-payload.js new file mode 100644 index 0000000000000..7e9dd82f21865 --- /dev/null +++ b/test/integration/api-support/pages/api/nullable-payload.js @@ -0,0 +1,4 @@ +export default (req, res) => { + res.write('') + res.end() +} diff --git a/test/integration/api-support/test/index.test.js b/test/integration/api-support/test/index.test.js index 266c6eb46065f..21a5874de3ad6 100644 --- a/test/integration/api-support/test/index.test.js +++ b/test/integration/api-support/test/index.test.js @@ -442,6 +442,11 @@ function runTests(dev = false) { expect(data).toBe('hi') }) + it('should work with nullable payload', async () => { + const data = await renderViaHTTP(appPort, '/api/nullable-payload') + expect(data).toBe('') + }) + it('should warn if response body is larger than 4MB', async () => { let res = await fetchViaHTTP(appPort, '/api/large-response') expect(res.ok).toBeTruthy() From 77c0e0937128409960ee48ee965501f4d18c9c82 Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Wed, 1 Sep 2021 12:46:50 -0500 Subject: [PATCH 20/47] Ensure @babel/types is not duplicated (#28713) This is a follow-up to https://github.com/vercel/next.js/pull/28174 to ensure we de-dupe `@babel/types` correctly as this increased the compiled `babel` packages quite a bit. --- packages/next/bundles/babel/bundle.js | 5 + packages/next/bundles/babel/packages/types.js | 1 + .../babel-packages/packages-bundle.js | 1342 ++++++++--------- packages/next/compiled/babel/bundle.js | 2 +- packages/next/compiled/babel/types.js | 1 + packages/next/taskfile.js | 1 + 6 files changed, 680 insertions(+), 672 deletions(-) create mode 100644 packages/next/bundles/babel/packages/types.js create mode 100644 packages/next/compiled/babel/types.js diff --git a/packages/next/bundles/babel/bundle.js b/packages/next/bundles/babel/bundle.js index 12e1f4e6ffdc3..6fb138c36f341 100644 --- a/packages/next/bundles/babel/bundle.js +++ b/packages/next/bundles/babel/bundle.js @@ -1,5 +1,9 @@ /* eslint-disable import/no-extraneous-dependencies */ +function types() { + return require('@babel/types') +} + function codeFrame() { return require('@babel/code-frame') } @@ -97,6 +101,7 @@ function presetTypescript() { } module.exports = { + types, codeFrame, core, coreLibConfig, diff --git a/packages/next/bundles/babel/packages/types.js b/packages/next/bundles/babel/packages/types.js new file mode 100644 index 0000000000000..77f8d29ccfb8f --- /dev/null +++ b/packages/next/bundles/babel/packages/types.js @@ -0,0 +1 @@ +module.exports = require('./bundle').types() diff --git a/packages/next/compiled/babel-packages/packages-bundle.js b/packages/next/compiled/babel-packages/packages-bundle.js index 56fafcdf6bd4d..880874db781ee 100644 --- a/packages/next/compiled/babel-packages/packages-bundle.js +++ b/packages/next/compiled/babel-packages/packages-bundle.js @@ -1,4 +1,4 @@ -module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"48","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},65561:e=>{"use strict";e.exports=JSON.parse('{"proposal-class-static-block":{"chrome":"91","electron":"13.0"},"proposal-private-property-in-object":{"chrome":"91","firefox":"90","electron":"13.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","samsung":"11","electron":"6.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","electron":"10.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","ios":"13","samsung":"11","electron":"6.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","ios":"14","electron":"10.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.0"},"proposal-optional-chaining":{"firefox":"74","safari":"13.1","ios":"13.4"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","ios":"12","samsung":"9","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","ios":"11.3","samsung":"8","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","ios":"11.3","samsung":"8","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","ios":"13","samsung":"3.4","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"45","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","ie":"11","ios":"10","samsung":"3.4","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","ios":"8","samsung":"4","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","ios":"12","samsung":"5","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-block-scoping":{"chrome":"49","opera":"36","edge":"14","firefox":"51","safari":"11","node":"6","ios":"11","samsung":"5","electron":"0.37"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"41","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4.4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"proposal-export-namespace-from":{"chrome":"72","and_chr":"72","edge":"79","firefox":"80","and_ff":"80","node":"13.2","opera":"60","op_mob":"51","samsung":"11.0","android":"72","electron":"5.0"}}')},54039:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t})}webpackEmptyAsyncContext.keys=(()=>[]);webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=54039;e.exports=webpackEmptyAsyncContext},2469:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"assert/strict":">= 15","async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"diagnostics_channel":">= 15.1","dns":true,"dns/promises":">= 15","domain":">= 0.7.12","events":true,"freelist":"< 6","fs":true,"fs/promises":[">= 10 && < 10.1",">= 14"],"_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12","os":true,"path":true,"path/posix":">= 15.3","path/win32":">= 15.3","perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"stream/promises":">= 15","string_decoder":true,"sys":[">= 0.6 && < 0.7",">= 0.8"],"timers":true,"timers/promises":">= 15","_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"util/types":">= 15.3","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8":">= 1","vm":true,"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","zlib":true}')},10078:e=>{"use strict";e.exports=JSON.parse('{"es6.array.copy-within":{"chrome":"45","opera":"32","edge":"12","firefox":"32","safari":"9","node":"4","ios":"9","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.every":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.fill":{"chrome":"45","opera":"32","edge":"12","firefox":"31","safari":"7.1","node":"4","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.filter":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.find":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"7.1","node":"4","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.find-index":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"7.1","node":"4","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es7.array.flat-map":{"chrome":"69","opera":"56","edge":"79","firefox":"62","safari":"12","node":"11","ios":"12","samsung":"10","electron":"4.0"},"es6.array.for-each":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.from":{"chrome":"51","opera":"38","edge":"15","firefox":"36","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.array.includes":{"chrome":"47","opera":"34","edge":"14","firefox":"43","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"es6.array.index-of":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.is-array":{"chrome":"5","opera":"10.50","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.iterator":{"chrome":"66","opera":"53","edge":"12","firefox":"60","safari":"9","node":"10","ios":"9","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es6.array.last-index-of":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.map":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.of":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"9","node":"4","ios":"9","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.reduce":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.reduce-right":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.slice":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.some":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.sort":{"chrome":"63","opera":"50","edge":"12","firefox":"5","safari":"12","node":"10","ie":"9","ios":"12","samsung":"8","rhino":"1.7.13","electron":"3.0"},"es6.array.species":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.date.now":{"chrome":"5","opera":"10.50","edge":"12","firefox":"2","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-iso-string":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3.5","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-json":{"chrome":"5","opera":"12.10","edge":"12","firefox":"4","safari":"10","node":"0.10","ie":"9","android":"4","ios":"10","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-primitive":{"chrome":"47","opera":"34","edge":"15","firefox":"44","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"es6.date.to-string":{"chrome":"5","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"10","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.function.bind":{"chrome":"7","opera":"12","edge":"12","firefox":"4","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.function.has-instance":{"chrome":"51","opera":"38","edge":"15","firefox":"50","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.function.name":{"chrome":"5","opera":"10.50","edge":"14","firefox":"2","safari":"4","node":"0.10","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.map":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.math.acosh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.asinh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.atanh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.cbrt":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.clz32":{"chrome":"38","opera":"25","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.cosh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.expm1":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.fround":{"chrome":"38","opera":"25","edge":"12","firefox":"26","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.hypot":{"chrome":"38","opera":"25","edge":"12","firefox":"27","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.imul":{"chrome":"30","opera":"17","edge":"12","firefox":"23","safari":"7","node":"0.12","android":"4.4","ios":"7","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.math.log1p":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.log10":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.log2":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.sign":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.sinh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.tanh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.trunc":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.number.constructor":{"chrome":"41","opera":"28","edge":"12","firefox":"36","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.number.epsilon":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.is-finite":{"chrome":"19","opera":"15","edge":"12","firefox":"16","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.number.is-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"16","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.is-nan":{"chrome":"19","opera":"15","edge":"12","firefox":"15","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.number.is-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"32","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.max-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.min-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.parse-float":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.parse-int":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.object.assign":{"chrome":"49","opera":"36","edge":"13","firefox":"36","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.object.create":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.object.define-getter":{"chrome":"62","opera":"49","edge":"16","firefox":"48","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es7.object.define-setter":{"chrome":"62","opera":"49","edge":"16","firefox":"48","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es6.object.define-property":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.object.define-properties":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.object.entries":{"chrome":"54","opera":"41","edge":"14","firefox":"47","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.object.freeze":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.get-own-property-descriptor":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es7.object.get-own-property-descriptors":{"chrome":"54","opera":"41","edge":"15","firefox":"50","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.object.get-own-property-names":{"chrome":"40","opera":"27","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.object.get-prototype-of":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es7.object.lookup-getter":{"chrome":"62","opera":"49","edge":"79","firefox":"36","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es7.object.lookup-setter":{"chrome":"62","opera":"49","edge":"79","firefox":"36","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es6.object.prevent-extensions":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.to-string":{"chrome":"57","opera":"44","edge":"15","firefox":"51","safari":"10","node":"8","ios":"10","samsung":"7","electron":"1.7"},"es6.object.is":{"chrome":"19","opera":"15","edge":"12","firefox":"22","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.object.is-frozen":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.is-sealed":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.is-extensible":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.keys":{"chrome":"40","opera":"27","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.object.seal":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.set-prototype-of":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ie":"11","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es7.object.values":{"chrome":"54","opera":"41","edge":"14","firefox":"47","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.promise":{"chrome":"51","opera":"38","edge":"14","firefox":"45","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.promise.finally":{"chrome":"63","opera":"50","edge":"18","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"8","electron":"3.0"},"es6.reflect.apply":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.construct":{"chrome":"49","opera":"36","edge":"13","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.define-property":{"chrome":"49","opera":"36","edge":"13","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.delete-property":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get-own-property-descriptor":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get-prototype-of":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.has":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.is-extensible":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.own-keys":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.prevent-extensions":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.set":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.set-prototype-of":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.regexp.constructor":{"chrome":"50","opera":"37","edge":"79","firefox":"40","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.flags":{"chrome":"49","opera":"36","edge":"79","firefox":"37","safari":"9","node":"6","ios":"9","samsung":"5","electron":"0.37"},"es6.regexp.match":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","rhino":"1.7.13","electron":"1.1"},"es6.regexp.replace":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.split":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.search":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","rhino":"1.7.13","electron":"1.1"},"es6.regexp.to-string":{"chrome":"50","opera":"37","edge":"79","firefox":"39","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.set":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.symbol":{"chrome":"51","opera":"38","edge":"79","firefox":"51","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.symbol.async-iterator":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"es6.string.anchor":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.big":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.blink":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.bold":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.code-point-at":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.ends-with":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.fixed":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.fontcolor":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.fontsize":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.from-code-point":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.includes":{"chrome":"41","opera":"28","edge":"12","firefox":"40","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.italics":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.iterator":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.string.link":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es7.string.pad-start":{"chrome":"57","opera":"44","edge":"15","firefox":"48","safari":"10","node":"8","ios":"10","samsung":"7","rhino":"1.7.13","electron":"1.7"},"es7.string.pad-end":{"chrome":"57","opera":"44","edge":"15","firefox":"48","safari":"10","node":"8","ios":"10","samsung":"7","rhino":"1.7.13","electron":"1.7"},"es6.string.raw":{"chrome":"41","opera":"28","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.repeat":{"chrome":"41","opera":"28","edge":"12","firefox":"24","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.small":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.starts-with":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.strike":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.sub":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.sup":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.trim":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3.5","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.string.trim-left":{"chrome":"66","opera":"53","edge":"79","firefox":"61","safari":"12","node":"10","ios":"12","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es7.string.trim-right":{"chrome":"66","opera":"53","edge":"79","firefox":"61","safari":"12","node":"10","ios":"12","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es6.typed.array-buffer":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.data-view":{"chrome":"5","opera":"12","edge":"12","firefox":"15","safari":"5.1","node":"0.10","ie":"10","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.typed.int8-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint8-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint8-clamped-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.int16-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint16-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.int32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.float32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.float64-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.weak-map":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"9","node":"6.5","ios":"9","samsung":"5","electron":"1.2"},"es6.weak-set":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"9","node":"6.5","ios":"9","samsung":"5","electron":"1.2"}}')},71604:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"48","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},28640:e=>{"use strict";e.exports=JSON.parse('{"proposal-class-static-block":{"chrome":"91","electron":"13.0"},"proposal-private-property-in-object":{"chrome":"91","firefox":"90","electron":"13.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","samsung":"11","electron":"6.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","electron":"10.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","ios":"13","samsung":"11","electron":"6.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","ios":"14","electron":"10.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.0"},"proposal-optional-chaining":{"firefox":"74","safari":"13.1","ios":"13.4"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","ios":"12","samsung":"9","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","ios":"11.3","samsung":"8","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","ios":"11.3","samsung":"8","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","ios":"13","samsung":"3.4","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"43","safari":"10","node":"6","ios":"10","samsung":"5","rhino":"1.7.13","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","ie":"11","ios":"10","samsung":"3.4","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","ios":"8","samsung":"4","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","ios":"12","samsung":"5","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-block-scoping":{"chrome":"49","opera":"36","edge":"14","firefox":"51","safari":"11","node":"6","ios":"11","samsung":"5","electron":"0.37"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4.4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"proposal-export-namespace-from":{"chrome":"72","and_chr":"72","edge":"79","firefox":"80","and_ff":"80","node":"13.2","opera":"60","op_mob":"51","samsung":"11.0","android":"72","electron":"5.0"}}')},78409:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t})}webpackEmptyAsyncContext.keys=(()=>[]);webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=78409;e.exports=webpackEmptyAsyncContext},43323:e=>{"use strict";e.exports={version:"4.3.0"}},77591:e=>{"use strict";e.exports={i8:"5.1.1"}},35464:e=>{"use strict";e.exports={i8:"4.3.0"}},67589:e=>{"use strict";e.exports=JSON.parse('{"builtin":{"Array":false,"ArrayBuffer":false,"Atomics":false,"BigInt":false,"BigInt64Array":false,"BigUint64Array":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"globalThis":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es5":{"Array":false,"Boolean":false,"constructor":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"propertyIsEnumerable":false,"RangeError":false,"ReferenceError":false,"RegExp":false,"String":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false},"es2015":{"Array":false,"ArrayBuffer":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es2017":{"Array":false,"ArrayBuffer":false,"Atomics":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"browser":{"AbortController":false,"AbortSignal":false,"addEventListener":false,"alert":false,"AnalyserNode":false,"Animation":false,"AnimationEffectReadOnly":false,"AnimationEffectTiming":false,"AnimationEffectTimingReadOnly":false,"AnimationEvent":false,"AnimationPlaybackEvent":false,"AnimationTimeline":false,"applicationCache":false,"ApplicationCache":false,"ApplicationCacheErrorEvent":false,"atob":false,"Attr":false,"Audio":false,"AudioBuffer":false,"AudioBufferSourceNode":false,"AudioContext":false,"AudioDestinationNode":false,"AudioListener":false,"AudioNode":false,"AudioParam":false,"AudioProcessingEvent":false,"AudioScheduledSourceNode":false,"AudioWorkletGlobalScope ":false,"AudioWorkletNode":false,"AudioWorkletProcessor":false,"BarProp":false,"BaseAudioContext":false,"BatteryManager":false,"BeforeUnloadEvent":false,"BiquadFilterNode":false,"Blob":false,"BlobEvent":false,"blur":false,"BroadcastChannel":false,"btoa":false,"BudgetService":false,"ByteLengthQueuingStrategy":false,"Cache":false,"caches":false,"CacheStorage":false,"cancelAnimationFrame":false,"cancelIdleCallback":false,"CanvasCaptureMediaStreamTrack":false,"CanvasGradient":false,"CanvasPattern":false,"CanvasRenderingContext2D":false,"ChannelMergerNode":false,"ChannelSplitterNode":false,"CharacterData":false,"clearInterval":false,"clearTimeout":false,"clientInformation":false,"ClipboardEvent":false,"close":false,"closed":false,"CloseEvent":false,"Comment":false,"CompositionEvent":false,"confirm":false,"console":false,"ConstantSourceNode":false,"ConvolverNode":false,"CountQueuingStrategy":false,"createImageBitmap":false,"Credential":false,"CredentialsContainer":false,"crypto":false,"Crypto":false,"CryptoKey":false,"CSS":false,"CSSConditionRule":false,"CSSFontFaceRule":false,"CSSGroupingRule":false,"CSSImportRule":false,"CSSKeyframeRule":false,"CSSKeyframesRule":false,"CSSMediaRule":false,"CSSNamespaceRule":false,"CSSPageRule":false,"CSSRule":false,"CSSRuleList":false,"CSSStyleDeclaration":false,"CSSStyleRule":false,"CSSStyleSheet":false,"CSSSupportsRule":false,"CustomElementRegistry":false,"customElements":false,"CustomEvent":false,"DataTransfer":false,"DataTransferItem":false,"DataTransferItemList":false,"defaultstatus":false,"defaultStatus":false,"DelayNode":false,"DeviceMotionEvent":false,"DeviceOrientationEvent":false,"devicePixelRatio":false,"dispatchEvent":false,"document":false,"Document":false,"DocumentFragment":false,"DocumentType":false,"DOMError":false,"DOMException":false,"DOMImplementation":false,"DOMMatrix":false,"DOMMatrixReadOnly":false,"DOMParser":false,"DOMPoint":false,"DOMPointReadOnly":false,"DOMQuad":false,"DOMRect":false,"DOMRectReadOnly":false,"DOMStringList":false,"DOMStringMap":false,"DOMTokenList":false,"DragEvent":false,"DynamicsCompressorNode":false,"Element":false,"ErrorEvent":false,"event":false,"Event":false,"EventSource":false,"EventTarget":false,"external":false,"fetch":false,"File":false,"FileList":false,"FileReader":false,"find":false,"focus":false,"FocusEvent":false,"FontFace":false,"FontFaceSetLoadEvent":false,"FormData":false,"frameElement":false,"frames":false,"GainNode":false,"Gamepad":false,"GamepadButton":false,"GamepadEvent":false,"getComputedStyle":false,"getSelection":false,"HashChangeEvent":false,"Headers":false,"history":false,"History":false,"HTMLAllCollection":false,"HTMLAnchorElement":false,"HTMLAreaElement":false,"HTMLAudioElement":false,"HTMLBaseElement":false,"HTMLBodyElement":false,"HTMLBRElement":false,"HTMLButtonElement":false,"HTMLCanvasElement":false,"HTMLCollection":false,"HTMLContentElement":false,"HTMLDataElement":false,"HTMLDataListElement":false,"HTMLDetailsElement":false,"HTMLDialogElement":false,"HTMLDirectoryElement":false,"HTMLDivElement":false,"HTMLDListElement":false,"HTMLDocument":false,"HTMLElement":false,"HTMLEmbedElement":false,"HTMLFieldSetElement":false,"HTMLFontElement":false,"HTMLFormControlsCollection":false,"HTMLFormElement":false,"HTMLFrameElement":false,"HTMLFrameSetElement":false,"HTMLHeadElement":false,"HTMLHeadingElement":false,"HTMLHRElement":false,"HTMLHtmlElement":false,"HTMLIFrameElement":false,"HTMLImageElement":false,"HTMLInputElement":false,"HTMLLabelElement":false,"HTMLLegendElement":false,"HTMLLIElement":false,"HTMLLinkElement":false,"HTMLMapElement":false,"HTMLMarqueeElement":false,"HTMLMediaElement":false,"HTMLMenuElement":false,"HTMLMetaElement":false,"HTMLMeterElement":false,"HTMLModElement":false,"HTMLObjectElement":false,"HTMLOListElement":false,"HTMLOptGroupElement":false,"HTMLOptionElement":false,"HTMLOptionsCollection":false,"HTMLOutputElement":false,"HTMLParagraphElement":false,"HTMLParamElement":false,"HTMLPictureElement":false,"HTMLPreElement":false,"HTMLProgressElement":false,"HTMLQuoteElement":false,"HTMLScriptElement":false,"HTMLSelectElement":false,"HTMLShadowElement":false,"HTMLSlotElement":false,"HTMLSourceElement":false,"HTMLSpanElement":false,"HTMLStyleElement":false,"HTMLTableCaptionElement":false,"HTMLTableCellElement":false,"HTMLTableColElement":false,"HTMLTableElement":false,"HTMLTableRowElement":false,"HTMLTableSectionElement":false,"HTMLTemplateElement":false,"HTMLTextAreaElement":false,"HTMLTimeElement":false,"HTMLTitleElement":false,"HTMLTrackElement":false,"HTMLUListElement":false,"HTMLUnknownElement":false,"HTMLVideoElement":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"IdleDeadline":false,"IIRFilterNode":false,"Image":false,"ImageBitmap":false,"ImageBitmapRenderingContext":false,"ImageCapture":false,"ImageData":false,"indexedDB":false,"innerHeight":false,"innerWidth":false,"InputEvent":false,"IntersectionObserver":false,"IntersectionObserverEntry":false,"Intl":false,"isSecureContext":false,"KeyboardEvent":false,"KeyframeEffect":false,"KeyframeEffectReadOnly":false,"length":false,"localStorage":false,"location":true,"Location":false,"locationbar":false,"matchMedia":false,"MediaDeviceInfo":false,"MediaDevices":false,"MediaElementAudioSourceNode":false,"MediaEncryptedEvent":false,"MediaError":false,"MediaKeyMessageEvent":false,"MediaKeySession":false,"MediaKeyStatusMap":false,"MediaKeySystemAccess":false,"MediaList":false,"MediaQueryList":false,"MediaQueryListEvent":false,"MediaRecorder":false,"MediaSettingsRange":false,"MediaSource":false,"MediaStream":false,"MediaStreamAudioDestinationNode":false,"MediaStreamAudioSourceNode":false,"MediaStreamEvent":false,"MediaStreamTrack":false,"MediaStreamTrackEvent":false,"menubar":false,"MessageChannel":false,"MessageEvent":false,"MessagePort":false,"MIDIAccess":false,"MIDIConnectionEvent":false,"MIDIInput":false,"MIDIInputMap":false,"MIDIMessageEvent":false,"MIDIOutput":false,"MIDIOutputMap":false,"MIDIPort":false,"MimeType":false,"MimeTypeArray":false,"MouseEvent":false,"moveBy":false,"moveTo":false,"MutationEvent":false,"MutationObserver":false,"MutationRecord":false,"name":false,"NamedNodeMap":false,"NavigationPreloadManager":false,"navigator":false,"Navigator":false,"NetworkInformation":false,"Node":false,"NodeFilter":false,"NodeIterator":false,"NodeList":false,"Notification":false,"OfflineAudioCompletionEvent":false,"OfflineAudioContext":false,"offscreenBuffering":false,"OffscreenCanvas":true,"onabort":true,"onafterprint":true,"onanimationend":true,"onanimationiteration":true,"onanimationstart":true,"onappinstalled":true,"onauxclick":true,"onbeforeinstallprompt":true,"onbeforeprint":true,"onbeforeunload":true,"onblur":true,"oncancel":true,"oncanplay":true,"oncanplaythrough":true,"onchange":true,"onclick":true,"onclose":true,"oncontextmenu":true,"oncuechange":true,"ondblclick":true,"ondevicemotion":true,"ondeviceorientation":true,"ondeviceorientationabsolute":true,"ondrag":true,"ondragend":true,"ondragenter":true,"ondragleave":true,"ondragover":true,"ondragstart":true,"ondrop":true,"ondurationchange":true,"onemptied":true,"onended":true,"onerror":true,"onfocus":true,"ongotpointercapture":true,"onhashchange":true,"oninput":true,"oninvalid":true,"onkeydown":true,"onkeypress":true,"onkeyup":true,"onlanguagechange":true,"onload":true,"onloadeddata":true,"onloadedmetadata":true,"onloadstart":true,"onlostpointercapture":true,"onmessage":true,"onmessageerror":true,"onmousedown":true,"onmouseenter":true,"onmouseleave":true,"onmousemove":true,"onmouseout":true,"onmouseover":true,"onmouseup":true,"onmousewheel":true,"onoffline":true,"ononline":true,"onpagehide":true,"onpageshow":true,"onpause":true,"onplay":true,"onplaying":true,"onpointercancel":true,"onpointerdown":true,"onpointerenter":true,"onpointerleave":true,"onpointermove":true,"onpointerout":true,"onpointerover":true,"onpointerup":true,"onpopstate":true,"onprogress":true,"onratechange":true,"onrejectionhandled":true,"onreset":true,"onresize":true,"onscroll":true,"onsearch":true,"onseeked":true,"onseeking":true,"onselect":true,"onstalled":true,"onstorage":true,"onsubmit":true,"onsuspend":true,"ontimeupdate":true,"ontoggle":true,"ontransitionend":true,"onunhandledrejection":true,"onunload":true,"onvolumechange":true,"onwaiting":true,"onwheel":true,"open":false,"openDatabase":false,"opener":false,"Option":false,"origin":false,"OscillatorNode":false,"outerHeight":false,"outerWidth":false,"PageTransitionEvent":false,"pageXOffset":false,"pageYOffset":false,"PannerNode":false,"parent":false,"Path2D":false,"PaymentAddress":false,"PaymentRequest":false,"PaymentRequestUpdateEvent":false,"PaymentResponse":false,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceLongTaskTiming":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceNavigationTiming":false,"PerformanceObserver":false,"PerformanceObserverEntryList":false,"PerformancePaintTiming":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"PeriodicWave":false,"Permissions":false,"PermissionStatus":false,"personalbar":false,"PhotoCapabilities":false,"Plugin":false,"PluginArray":false,"PointerEvent":false,"PopStateEvent":false,"postMessage":false,"Presentation":false,"PresentationAvailability":false,"PresentationConnection":false,"PresentationConnectionAvailableEvent":false,"PresentationConnectionCloseEvent":false,"PresentationConnectionList":false,"PresentationReceiver":false,"PresentationRequest":false,"print":false,"ProcessingInstruction":false,"ProgressEvent":false,"PromiseRejectionEvent":false,"prompt":false,"PushManager":false,"PushSubscription":false,"PushSubscriptionOptions":false,"queueMicrotask":false,"RadioNodeList":false,"Range":false,"ReadableStream":false,"registerProcessor":false,"RemotePlayback":false,"removeEventListener":false,"Request":false,"requestAnimationFrame":false,"requestIdleCallback":false,"resizeBy":false,"ResizeObserver":false,"ResizeObserverEntry":false,"resizeTo":false,"Response":false,"RTCCertificate":false,"RTCDataChannel":false,"RTCDataChannelEvent":false,"RTCDtlsTransport":false,"RTCIceCandidate":false,"RTCIceGatherer":false,"RTCIceTransport":false,"RTCPeerConnection":false,"RTCPeerConnectionIceEvent":false,"RTCRtpContributingSource":false,"RTCRtpReceiver":false,"RTCRtpSender":false,"RTCSctpTransport":false,"RTCSessionDescription":false,"RTCStatsReport":false,"RTCTrackEvent":false,"screen":false,"Screen":false,"screenLeft":false,"ScreenOrientation":false,"screenTop":false,"screenX":false,"screenY":false,"ScriptProcessorNode":false,"scroll":false,"scrollbars":false,"scrollBy":false,"scrollTo":false,"scrollX":false,"scrollY":false,"SecurityPolicyViolationEvent":false,"Selection":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerRegistration":false,"sessionStorage":false,"setInterval":false,"setTimeout":false,"ShadowRoot":false,"SharedWorker":false,"SourceBuffer":false,"SourceBufferList":false,"speechSynthesis":false,"SpeechSynthesisEvent":false,"SpeechSynthesisUtterance":false,"StaticRange":false,"status":false,"statusbar":false,"StereoPannerNode":false,"stop":false,"Storage":false,"StorageEvent":false,"StorageManager":false,"styleMedia":false,"StyleSheet":false,"StyleSheetList":false,"SubtleCrypto":false,"SVGAElement":false,"SVGAngle":false,"SVGAnimatedAngle":false,"SVGAnimatedBoolean":false,"SVGAnimatedEnumeration":false,"SVGAnimatedInteger":false,"SVGAnimatedLength":false,"SVGAnimatedLengthList":false,"SVGAnimatedNumber":false,"SVGAnimatedNumberList":false,"SVGAnimatedPreserveAspectRatio":false,"SVGAnimatedRect":false,"SVGAnimatedString":false,"SVGAnimatedTransformList":false,"SVGAnimateElement":false,"SVGAnimateMotionElement":false,"SVGAnimateTransformElement":false,"SVGAnimationElement":false,"SVGCircleElement":false,"SVGClipPathElement":false,"SVGComponentTransferFunctionElement":false,"SVGDefsElement":false,"SVGDescElement":false,"SVGDiscardElement":false,"SVGElement":false,"SVGEllipseElement":false,"SVGFEBlendElement":false,"SVGFEColorMatrixElement":false,"SVGFEComponentTransferElement":false,"SVGFECompositeElement":false,"SVGFEConvolveMatrixElement":false,"SVGFEDiffuseLightingElement":false,"SVGFEDisplacementMapElement":false,"SVGFEDistantLightElement":false,"SVGFEDropShadowElement":false,"SVGFEFloodElement":false,"SVGFEFuncAElement":false,"SVGFEFuncBElement":false,"SVGFEFuncGElement":false,"SVGFEFuncRElement":false,"SVGFEGaussianBlurElement":false,"SVGFEImageElement":false,"SVGFEMergeElement":false,"SVGFEMergeNodeElement":false,"SVGFEMorphologyElement":false,"SVGFEOffsetElement":false,"SVGFEPointLightElement":false,"SVGFESpecularLightingElement":false,"SVGFESpotLightElement":false,"SVGFETileElement":false,"SVGFETurbulenceElement":false,"SVGFilterElement":false,"SVGForeignObjectElement":false,"SVGGElement":false,"SVGGeometryElement":false,"SVGGradientElement":false,"SVGGraphicsElement":false,"SVGImageElement":false,"SVGLength":false,"SVGLengthList":false,"SVGLinearGradientElement":false,"SVGLineElement":false,"SVGMarkerElement":false,"SVGMaskElement":false,"SVGMatrix":false,"SVGMetadataElement":false,"SVGMPathElement":false,"SVGNumber":false,"SVGNumberList":false,"SVGPathElement":false,"SVGPatternElement":false,"SVGPoint":false,"SVGPointList":false,"SVGPolygonElement":false,"SVGPolylineElement":false,"SVGPreserveAspectRatio":false,"SVGRadialGradientElement":false,"SVGRect":false,"SVGRectElement":false,"SVGScriptElement":false,"SVGSetElement":false,"SVGStopElement":false,"SVGStringList":false,"SVGStyleElement":false,"SVGSVGElement":false,"SVGSwitchElement":false,"SVGSymbolElement":false,"SVGTextContentElement":false,"SVGTextElement":false,"SVGTextPathElement":false,"SVGTextPositioningElement":false,"SVGTitleElement":false,"SVGTransform":false,"SVGTransformList":false,"SVGTSpanElement":false,"SVGUnitTypes":false,"SVGUseElement":false,"SVGViewElement":false,"TaskAttributionTiming":false,"Text":false,"TextDecoder":false,"TextEncoder":false,"TextEvent":false,"TextMetrics":false,"TextTrack":false,"TextTrackCue":false,"TextTrackCueList":false,"TextTrackList":false,"TimeRanges":false,"toolbar":false,"top":false,"Touch":false,"TouchEvent":false,"TouchList":false,"TrackEvent":false,"TransitionEvent":false,"TreeWalker":false,"UIEvent":false,"URL":false,"URLSearchParams":false,"ValidityState":false,"visualViewport":false,"VisualViewport":false,"VTTCue":false,"WaveShaperNode":false,"WebAssembly":false,"WebGL2RenderingContext":false,"WebGLActiveInfo":false,"WebGLBuffer":false,"WebGLContextEvent":false,"WebGLFramebuffer":false,"WebGLProgram":false,"WebGLQuery":false,"WebGLRenderbuffer":false,"WebGLRenderingContext":false,"WebGLSampler":false,"WebGLShader":false,"WebGLShaderPrecisionFormat":false,"WebGLSync":false,"WebGLTexture":false,"WebGLTransformFeedback":false,"WebGLUniformLocation":false,"WebGLVertexArrayObject":false,"WebSocket":false,"WheelEvent":false,"window":false,"Window":false,"Worker":false,"WritableStream":false,"XMLDocument":false,"XMLHttpRequest":false,"XMLHttpRequestEventTarget":false,"XMLHttpRequestUpload":false,"XMLSerializer":false,"XPathEvaluator":false,"XPathExpression":false,"XPathResult":false,"XSLTProcessor":false},"worker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"clearInterval":false,"clearTimeout":false,"close":true,"console":false,"fetch":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":true,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onlanguagechange":true,"onmessage":true,"onoffline":true,"ononline":true,"onrejectionhandled":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"removeEventListener":false,"Request":false,"Response":false,"self":true,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"node":{"__dirname":false,"__filename":false,"Buffer":false,"clearImmediate":false,"clearInterval":false,"clearTimeout":false,"console":false,"exports":true,"global":false,"Intl":false,"module":false,"process":false,"queueMicrotask":false,"require":false,"setImmediate":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false},"commonjs":{"exports":true,"global":false,"module":false,"require":false},"amd":{"define":false,"require":false},"mocha":{"after":false,"afterEach":false,"before":false,"beforeEach":false,"context":false,"describe":false,"it":false,"mocha":false,"run":false,"setup":false,"specify":false,"suite":false,"suiteSetup":false,"suiteTeardown":false,"teardown":false,"test":false,"xcontext":false,"xdescribe":false,"xit":false,"xspecify":false},"jasmine":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fail":false,"fdescribe":false,"fit":false,"it":false,"jasmine":false,"pending":false,"runs":false,"spyOn":false,"spyOnProperty":false,"waits":false,"waitsFor":false,"xdescribe":false,"xit":false},"jest":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fdescribe":false,"fit":false,"it":false,"jest":false,"pit":false,"require":false,"test":false,"xdescribe":false,"xit":false,"xtest":false},"qunit":{"asyncTest":false,"deepEqual":false,"equal":false,"expect":false,"module":false,"notDeepEqual":false,"notEqual":false,"notOk":false,"notPropEqual":false,"notStrictEqual":false,"ok":false,"propEqual":false,"QUnit":false,"raises":false,"start":false,"stop":false,"strictEqual":false,"test":false,"throws":false},"phantomjs":{"console":true,"exports":true,"phantom":true,"require":true,"WebPage":true},"couch":{"emit":false,"exports":false,"getRow":false,"log":false,"module":false,"provides":false,"require":false,"respond":false,"send":false,"start":false,"sum":false},"rhino":{"defineClass":false,"deserialize":false,"gc":false,"help":false,"importClass":false,"importPackage":false,"java":false,"load":false,"loadClass":false,"Packages":false,"print":false,"quit":false,"readFile":false,"readUrl":false,"runCommand":false,"seal":false,"serialize":false,"spawn":false,"sync":false,"toint32":false,"version":false},"nashorn":{"__DIR__":false,"__FILE__":false,"__LINE__":false,"com":false,"edu":false,"exit":false,"java":false,"Java":false,"javafx":false,"JavaImporter":false,"javax":false,"JSAdapter":false,"load":false,"loadWithNewGlobal":false,"org":false,"Packages":false,"print":false,"quit":false},"wsh":{"ActiveXObject":true,"Enumerator":true,"GetObject":true,"ScriptEngine":true,"ScriptEngineBuildVersion":true,"ScriptEngineMajorVersion":true,"ScriptEngineMinorVersion":true,"VBArray":true,"WScript":true,"WSH":true,"XDomainRequest":true},"jquery":{"$":false,"jQuery":false},"yui":{"YAHOO":false,"YAHOO_config":false,"YUI":false,"YUI_config":false},"shelljs":{"cat":false,"cd":false,"chmod":false,"config":false,"cp":false,"dirs":false,"echo":false,"env":false,"error":false,"exec":false,"exit":false,"find":false,"grep":false,"ln":false,"ls":false,"mkdir":false,"mv":false,"popd":false,"pushd":false,"pwd":false,"rm":false,"sed":false,"set":false,"target":false,"tempdir":false,"test":false,"touch":false,"which":false},"prototypejs":{"$":false,"$$":false,"$A":false,"$break":false,"$continue":false,"$F":false,"$H":false,"$R":false,"$w":false,"Abstract":false,"Ajax":false,"Autocompleter":false,"Builder":false,"Class":false,"Control":false,"Draggable":false,"Draggables":false,"Droppables":false,"Effect":false,"Element":false,"Enumerable":false,"Event":false,"Field":false,"Form":false,"Hash":false,"Insertion":false,"ObjectRange":false,"PeriodicalExecuter":false,"Position":false,"Prototype":false,"Scriptaculous":false,"Selector":false,"Sortable":false,"SortableObserver":false,"Sound":false,"Template":false,"Toggle":false,"Try":false},"meteor":{"_":false,"$":false,"Accounts":false,"AccountsClient":false,"AccountsCommon":false,"AccountsServer":false,"App":false,"Assets":false,"Blaze":false,"check":false,"Cordova":false,"DDP":false,"DDPRateLimiter":false,"DDPServer":false,"Deps":false,"EJSON":false,"Email":false,"HTTP":false,"Log":false,"Match":false,"Meteor":false,"Mongo":false,"MongoInternals":false,"Npm":false,"Package":false,"Plugin":false,"process":false,"Random":false,"ReactiveDict":false,"ReactiveVar":false,"Router":false,"ServiceConfiguration":false,"Session":false,"share":false,"Spacebars":false,"Template":false,"Tinytest":false,"Tracker":false,"UI":false,"Utils":false,"WebApp":false,"WebAppInternals":false},"mongo":{"_isWindows":false,"_rand":false,"BulkWriteResult":false,"cat":false,"cd":false,"connect":false,"db":false,"getHostName":false,"getMemInfo":false,"hostname":false,"ISODate":false,"listFiles":false,"load":false,"ls":false,"md5sumFile":false,"mkdir":false,"Mongo":false,"NumberInt":false,"NumberLong":false,"ObjectId":false,"PlanCache":false,"print":false,"printjson":false,"pwd":false,"quit":false,"removeFile":false,"rs":false,"sh":false,"UUID":false,"version":false,"WriteResult":false},"applescript":{"$":false,"Application":false,"Automation":false,"console":false,"delay":false,"Library":false,"ObjC":false,"ObjectSpecifier":false,"Path":false,"Progress":false,"Ref":false},"serviceworker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"CacheStorage":false,"clearInterval":false,"clearTimeout":false,"Client":false,"clients":false,"Clients":false,"close":true,"console":false,"ExtendableEvent":false,"ExtendableMessageEvent":false,"fetch":false,"FetchEvent":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":false,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onfetch":true,"oninstall":true,"onlanguagechange":true,"onmessage":true,"onmessageerror":true,"onnotificationclick":true,"onnotificationclose":true,"onoffline":true,"ononline":true,"onpush":true,"onpushsubscriptionchange":true,"onrejectionhandled":true,"onsync":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"registration":false,"removeEventListener":false,"Request":false,"Response":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerGlobalScope":false,"ServiceWorkerMessageEvent":false,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"skipWaiting":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"WindowClient":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"atomtest":{"advanceClock":false,"fakeClearInterval":false,"fakeClearTimeout":false,"fakeSetInterval":false,"fakeSetTimeout":false,"resetTimeouts":false,"waitsForPromise":false},"embertest":{"andThen":false,"click":false,"currentPath":false,"currentRouteName":false,"currentURL":false,"fillIn":false,"find":false,"findAll":false,"findWithAssert":false,"keyEvent":false,"pauseTest":false,"resumeTest":false,"triggerEvent":false,"visit":false,"wait":false},"protractor":{"$":false,"$$":false,"browser":false,"by":false,"By":false,"DartObject":false,"element":false,"protractor":false},"shared-node-browser":{"clearInterval":false,"clearTimeout":false,"console":false,"setInterval":false,"setTimeout":false,"URL":false,"URLSearchParams":false},"webextensions":{"browser":false,"chrome":false,"opr":false},"greasemonkey":{"cloneInto":false,"createObjectIn":false,"exportFunction":false,"GM":false,"GM_addStyle":false,"GM_deleteValue":false,"GM_getResourceText":false,"GM_getResourceURL":false,"GM_getValue":false,"GM_info":false,"GM_listValues":false,"GM_log":false,"GM_openInTab":false,"GM_registerMenuCommand":false,"GM_setClipboard":false,"GM_setValue":false,"GM_xmlhttpRequest":false,"unsafeWindow":false},"devtools":{"$":false,"$_":false,"$$":false,"$0":false,"$1":false,"$2":false,"$3":false,"$4":false,"$x":false,"chrome":false,"clear":false,"copy":false,"debug":false,"dir":false,"dirxml":false,"getEventListeners":false,"inspect":false,"keys":false,"monitor":false,"monitorEvents":false,"profile":false,"profileEnd":false,"queryObjects":false,"table":false,"undebug":false,"unmonitor":false,"unmonitorEvents":false,"values":false}}')},74986:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"assert/strict":">= 15","async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"diagnostics_channel":">= 15.1","dns":true,"dns/promises":">= 15","domain":">= 0.7.12","events":true,"freelist":"< 6","fs":true,"fs/promises":[">= 10 && < 10.1",">= 14"],"_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12","os":true,"path":true,"path/posix":">= 15.3","path/win32":">= 15.3","perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"stream/promises":">= 15","string_decoder":true,"sys":[">= 0.6 && < 0.7",">= 0.8"],"timers":true,"timers/promises":">= 15","_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"util/types":">= 15.3","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8":">= 1","vm":true,"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","zlib":true}')},66353:e=>{"use strict";e.exports=JSON.parse('{"es6.array.copy-within":{"chrome":"45","opera":"32","edge":"12","firefox":"32","safari":"9","node":"4","ios":"9","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.every":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.fill":{"chrome":"45","opera":"32","edge":"12","firefox":"31","safari":"7.1","node":"4","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.filter":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.find":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"7.1","node":"4","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.find-index":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"7.1","node":"4","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es7.array.flat-map":{"chrome":"69","opera":"56","edge":"79","firefox":"62","safari":"12","node":"11","ios":"12","samsung":"10","electron":"4.0"},"es6.array.for-each":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.from":{"chrome":"51","opera":"38","edge":"15","firefox":"36","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.array.includes":{"chrome":"47","opera":"34","edge":"14","firefox":"43","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"es6.array.index-of":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.is-array":{"chrome":"5","opera":"10.50","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.iterator":{"chrome":"66","opera":"53","edge":"12","firefox":"60","safari":"9","node":"10","ios":"9","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es6.array.last-index-of":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.map":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.of":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"9","node":"4","ios":"9","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.reduce":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.reduce-right":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.slice":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.some":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.sort":{"chrome":"63","opera":"50","edge":"12","firefox":"5","safari":"12","node":"10","ie":"9","ios":"12","samsung":"8","rhino":"1.7.13","electron":"3.0"},"es6.array.species":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.date.now":{"chrome":"5","opera":"10.50","edge":"12","firefox":"2","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-iso-string":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3.5","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-json":{"chrome":"5","opera":"12.10","edge":"12","firefox":"4","safari":"10","node":"0.10","ie":"9","android":"4","ios":"10","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-primitive":{"chrome":"47","opera":"34","edge":"15","firefox":"44","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"es6.date.to-string":{"chrome":"5","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"10","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.function.bind":{"chrome":"7","opera":"12","edge":"12","firefox":"4","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.function.has-instance":{"chrome":"51","opera":"38","edge":"15","firefox":"50","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.function.name":{"chrome":"5","opera":"10.50","edge":"14","firefox":"2","safari":"4","node":"0.10","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.map":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.math.acosh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.asinh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.atanh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.cbrt":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.clz32":{"chrome":"38","opera":"25","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.cosh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.expm1":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.fround":{"chrome":"38","opera":"25","edge":"12","firefox":"26","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.hypot":{"chrome":"38","opera":"25","edge":"12","firefox":"27","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.imul":{"chrome":"30","opera":"17","edge":"12","firefox":"23","safari":"7","node":"0.12","android":"4.4","ios":"7","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.math.log1p":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.log10":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.log2":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.sign":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.sinh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.tanh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.trunc":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.number.constructor":{"chrome":"41","opera":"28","edge":"12","firefox":"36","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.number.epsilon":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.is-finite":{"chrome":"19","opera":"15","edge":"12","firefox":"16","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.number.is-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"16","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.is-nan":{"chrome":"19","opera":"15","edge":"12","firefox":"15","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.number.is-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"32","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.max-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.min-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.parse-float":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.parse-int":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.object.assign":{"chrome":"49","opera":"36","edge":"13","firefox":"36","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.object.create":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.object.define-getter":{"chrome":"62","opera":"49","edge":"16","firefox":"48","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es7.object.define-setter":{"chrome":"62","opera":"49","edge":"16","firefox":"48","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es6.object.define-property":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.object.define-properties":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.object.entries":{"chrome":"54","opera":"41","edge":"14","firefox":"47","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.object.freeze":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.get-own-property-descriptor":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es7.object.get-own-property-descriptors":{"chrome":"54","opera":"41","edge":"15","firefox":"50","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.object.get-own-property-names":{"chrome":"40","opera":"27","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.object.get-prototype-of":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es7.object.lookup-getter":{"chrome":"62","opera":"49","edge":"79","firefox":"36","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es7.object.lookup-setter":{"chrome":"62","opera":"49","edge":"79","firefox":"36","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es6.object.prevent-extensions":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.to-string":{"chrome":"57","opera":"44","edge":"15","firefox":"51","safari":"10","node":"8","ios":"10","samsung":"7","electron":"1.7"},"es6.object.is":{"chrome":"19","opera":"15","edge":"12","firefox":"22","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.object.is-frozen":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.is-sealed":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.is-extensible":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.keys":{"chrome":"40","opera":"27","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.object.seal":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.set-prototype-of":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ie":"11","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es7.object.values":{"chrome":"54","opera":"41","edge":"14","firefox":"47","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.promise":{"chrome":"51","opera":"38","edge":"14","firefox":"45","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.promise.finally":{"chrome":"63","opera":"50","edge":"18","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"8","electron":"3.0"},"es6.reflect.apply":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.construct":{"chrome":"49","opera":"36","edge":"13","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.define-property":{"chrome":"49","opera":"36","edge":"13","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.delete-property":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get-own-property-descriptor":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get-prototype-of":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.has":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.is-extensible":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.own-keys":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.prevent-extensions":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.set":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.set-prototype-of":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.regexp.constructor":{"chrome":"50","opera":"37","edge":"79","firefox":"40","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.flags":{"chrome":"49","opera":"36","edge":"79","firefox":"37","safari":"9","node":"6","ios":"9","samsung":"5","electron":"0.37"},"es6.regexp.match":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","rhino":"1.7.13","electron":"1.1"},"es6.regexp.replace":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.split":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.search":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","rhino":"1.7.13","electron":"1.1"},"es6.regexp.to-string":{"chrome":"50","opera":"37","edge":"79","firefox":"39","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.set":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.symbol":{"chrome":"51","opera":"38","edge":"79","firefox":"51","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.symbol.async-iterator":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"es6.string.anchor":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.big":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.blink":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.bold":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.code-point-at":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.ends-with":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.fixed":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.fontcolor":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.fontsize":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.from-code-point":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.includes":{"chrome":"41","opera":"28","edge":"12","firefox":"40","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.italics":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.iterator":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.string.link":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es7.string.pad-start":{"chrome":"57","opera":"44","edge":"15","firefox":"48","safari":"10","node":"8","ios":"10","samsung":"7","rhino":"1.7.13","electron":"1.7"},"es7.string.pad-end":{"chrome":"57","opera":"44","edge":"15","firefox":"48","safari":"10","node":"8","ios":"10","samsung":"7","rhino":"1.7.13","electron":"1.7"},"es6.string.raw":{"chrome":"41","opera":"28","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.repeat":{"chrome":"41","opera":"28","edge":"12","firefox":"24","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.small":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.starts-with":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.strike":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.sub":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.sup":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.trim":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3.5","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.string.trim-left":{"chrome":"66","opera":"53","edge":"79","firefox":"61","safari":"12","node":"10","ios":"12","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es7.string.trim-right":{"chrome":"66","opera":"53","edge":"79","firefox":"61","safari":"12","node":"10","ios":"12","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es6.typed.array-buffer":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.data-view":{"chrome":"5","opera":"12","edge":"12","firefox":"15","safari":"5.1","node":"0.10","ie":"10","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.typed.int8-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint8-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint8-clamped-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.int16-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint16-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.int32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.float32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.float64-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.weak-map":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"9","node":"6.5","ios":"9","samsung":"5","electron":"1.2"},"es6.weak-set":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"9","node":"6.5","ios":"9","samsung":"5","electron":"1.2"}}')},78575:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"48","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},93840:e=>{"use strict";e.exports=JSON.parse('{"transform-async-to-generator":["bugfix/transform-async-arrows-in-class"],"transform-parameters":["bugfix/transform-edge-default-parameters"],"transform-function-name":["bugfix/transform-edge-function-name"],"transform-block-scoping":["bugfix/transform-safari-block-shadowing","bugfix/transform-safari-for-shadowing"],"transform-template-literals":["bugfix/transform-tagged-template-caching"],"proposal-optional-chaining":["bugfix/transform-v8-spread-parameters-in-optional-chaining"]}')},42230:e=>{"use strict";e.exports=JSON.parse('{"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"10.1","node":"7.6","ios":"10.3","samsung":"6","electron":"1.6"},"bugfix/transform-async-arrows-in-class":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"transform-parameters":{"chrome":"49","opera":"36","edge":"15","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"bugfix/transform-edge-default-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"52","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"transform-function-name":{"chrome":"51","opera":"38","edge":"14","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"bugfix/transform-edge-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-block-scoping":{"chrome":"49","opera":"36","edge":"14","firefox":"51","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"bugfix/transform-safari-block-shadowing":{"chrome":"49","opera":"36","edge":"12","firefox":"44","safari":"11","node":"6","ie":"11","ios":"11","samsung":"5","electron":"0.37"},"bugfix/transform-safari-for-shadowing":{"chrome":"49","opera":"36","edge":"12","firefox":"4","safari":"11","node":"6","ie":"11","ios":"11","samsung":"5","rhino":"1.7.13","electron":"0.37"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"bugfix/transform-tagged-template-caching":{"chrome":"41","opera":"28","edge":"12","firefox":"34","safari":"13","node":"4","ios":"13","samsung":"3.4","electron":"0.21"},"proposal-optional-chaining":{"chrome":"80","opera":"67","edge":"80","firefox":"74","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.0"},"bugfix/transform-v8-spread-parameters-in-optional-chaining":{"firefox":"74","safari":"13.1","ios":"13.4"}}')},6834:e=>{"use strict";e.exports=JSON.parse('{"proposal-class-static-block":{"chrome":"91","electron":"13.0"},"proposal-private-property-in-object":{"chrome":"91","firefox":"90","electron":"13.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","samsung":"11","electron":"6.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","electron":"10.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","ios":"13","samsung":"11","electron":"6.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","ios":"14","electron":"10.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.0"},"proposal-optional-chaining":{"firefox":"74","safari":"13.1","ios":"13.4"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","ios":"12","samsung":"9","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","ios":"11.3","samsung":"8","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","ios":"11.3","samsung":"8","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","ios":"13","samsung":"3.4","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"43","safari":"10","node":"6","ios":"10","samsung":"5","rhino":"1.7.13","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","ie":"11","ios":"10","samsung":"3.4","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","ios":"8","samsung":"4","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","ios":"12","samsung":"5","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-block-scoping":{"chrome":"49","opera":"36","edge":"14","firefox":"51","safari":"11","node":"6","ios":"11","samsung":"5","electron":"0.37"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4.4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"proposal-export-namespace-from":{"chrome":"72","and_chr":"72","edge":"79","firefox":"80","and_ff":"80","node":"13.2","opera":"60","op_mob":"51","samsung":"11.0","android":"72","electron":"5.0"}}')},74884:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t})}webpackEmptyAsyncContext.keys=(()=>[]);webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=74884;e.exports=webpackEmptyAsyncContext},64172:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"48","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},13768:e=>{"use strict";e.exports=JSON.parse('{"proposal-class-static-block":{"chrome":"91","electron":"13.0"},"proposal-private-property-in-object":{"chrome":"91","firefox":"90","electron":"13.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","samsung":"11","electron":"6.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","electron":"10.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","ios":"13","samsung":"11","electron":"6.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","ios":"14","electron":"10.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.0"},"proposal-optional-chaining":{"firefox":"74","safari":"13.1","ios":"13.4"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","ios":"12","samsung":"9","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","ios":"11.3","samsung":"8","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","ios":"11.3","samsung":"8","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","ios":"13","samsung":"3.4","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"45","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","ie":"11","ios":"10","samsung":"3.4","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","ios":"8","samsung":"4","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","ios":"12","samsung":"5","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-block-scoping":{"chrome":"49","opera":"36","edge":"14","firefox":"51","safari":"11","node":"6","ios":"11","samsung":"5","electron":"0.37"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"41","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4.4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"proposal-export-namespace-from":{"chrome":"72","and_chr":"72","edge":"79","firefox":"80","and_ff":"80","node":"13.2","opera":"60","op_mob":"51","samsung":"11.0","android":"72","electron":"5.0"}}')},29513:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t})}webpackEmptyAsyncContext.keys=(()=>[]);webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=29513;e.exports=webpackEmptyAsyncContext},1335:(e,t,r)=>{e.exports=r(99898)},72153:(e,t,r)=>{e.exports=r(65561)},61931:()=>{},6135:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeWeakCache=makeWeakCache;t.makeWeakCacheSync=makeWeakCacheSync;t.makeStrongCache=makeStrongCache;t.makeStrongCacheSync=makeStrongCacheSync;t.assertSimpleType=assertSimpleType;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(28419);var s=r(83258);const i=e=>{return _gensync()(e).sync};function*genTrue(){return true}function makeWeakCache(e){return makeCachedFunction(WeakMap,e)}function makeWeakCacheSync(e){return i(makeWeakCache(e))}function makeStrongCache(e){return makeCachedFunction(Map,e)}function makeStrongCacheSync(e){return i(makeStrongCache(e))}function makeCachedFunction(e,t){const r=new e;const i=new e;const a=new e;return function*cachedFunction(e,o){const l=yield*(0,n.isAsync)();const u=l?i:r;const p=yield*getCachedValueOrWait(l,u,a,e,o);if(p.valid)return p.value;const f=new CacheConfigurator(o);const c=t(e,f);let d;let y;if((0,s.isIterableIterator)(c)){const t=c;y=yield*(0,n.onFirstPause)(t,()=>{d=setupAsyncLocks(f,a,e)})}else{y=c}updateFunctionCache(u,f,e,y);if(d){a.delete(e);d.release(y)}return y}}function*getCachedValue(e,t,r){const n=e.get(t);if(n){for(const{value:e,valid:t}of n){if(yield*t(r))return{valid:true,value:e}}}return{valid:false,value:null}}function*getCachedValueOrWait(e,t,r,s,i){const a=yield*getCachedValue(t,s,i);if(a.valid){return a}if(e){const e=yield*getCachedValue(r,s,i);if(e.valid){const t=yield*(0,n.waitFor)(e.value.promise);return{valid:true,value:t}}}return{valid:false,value:null}}function setupAsyncLocks(e,t,r){const n=new Lock;updateFunctionCache(t,e,r,n);return n}function updateFunctionCache(e,t,r,n){if(!t.configured())t.forever();let s=e.get(r);t.deactivate();switch(t.mode()){case"forever":s=[{value:n,valid:genTrue}];e.set(r,s);break;case"invalidate":s=[{value:n,valid:t.validator()}];e.set(r,s);break;case"valid":if(s){s.push({value:n,valid:t.validator()})}else{s=[{value:n,valid:t.validator()}];e.set(r,s)}}}class CacheConfigurator{constructor(e){this._active=true;this._never=false;this._forever=false;this._invalidate=false;this._configured=false;this._pairs=[];this._data=void 0;this._data=e}simple(){return makeSimpleConfigurator(this)}mode(){if(this._never)return"never";if(this._forever)return"forever";if(this._invalidate)return"invalidate";return"valid"}forever(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never){throw new Error("Caching has already been configured with .never()")}this._forever=true;this._configured=true}never(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._forever){throw new Error("Caching has already been configured with .forever()")}this._never=true;this._configured=true}using(e){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never||this._forever){throw new Error("Caching has already been configured with .never or .forever()")}this._configured=true;const t=e(this._data);const r=(0,n.maybeAsync)(e,`You appear to be using an async cache handler, but Babel has been called synchronously`);if((0,n.isThenable)(t)){return t.then(e=>{this._pairs.push([e,r]);return e})}this._pairs.push([t,r]);return t}invalidate(e){this._invalidate=true;return this.using(e)}validator(){const e=this._pairs;return function*(t){for(const[r,n]of e){if(r!==(yield*n(t)))return false}return true}}deactivate(){this._active=false}configured(){return this._configured}}function makeSimpleConfigurator(e){function cacheFn(t){if(typeof t==="boolean"){if(t)e.forever();else e.never();return}return e.using(()=>assertSimpleType(t()))}cacheFn.forever=(()=>e.forever());cacheFn.never=(()=>e.never());cacheFn.using=(t=>e.using(()=>assertSimpleType(t())));cacheFn.invalidate=(t=>e.invalidate(()=>assertSimpleType(t())));return cacheFn}function assertSimpleType(e){if((0,n.isThenable)(e)){throw new Error(`You appear to be using an async cache handler, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously handle your caching logic.`)}if(e!=null&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"){throw new Error("Cache keys must be either string, boolean, number, null, or undefined.")}return e}class Lock{constructor(){this.released=false;this.promise=void 0;this._resolve=void 0;this.promise=new Promise(e=>{this._resolve=e})}release(e){this.released=true;this._resolve(e)}}},28422:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPresetChain=buildPresetChain;t.buildRootChain=buildRootChain;t.buildPresetChainWalker=void 0;function _path(){const e=r(85622);_path=function(){return e};return e}function _debug(){const e=r(31185);_debug=function(){return e};return e}var n=r(42958);var s=r(30797);var i=r(82504);var a=r(21735);var o=r(6135);var l=r(74299);const u=_debug()("babel:config:config-chain");function*buildPresetChain(e,t){const r=yield*p(e,t);if(!r)return null;return{plugins:dedupDescriptors(r.plugins),presets:dedupDescriptors(r.presets),options:r.options.map(e=>normalizeOptions(e)),files:new Set}}const p=makeChainWalker({root:e=>f(e),env:(e,t)=>c(e)(t),overrides:(e,t)=>d(e)(t),overridesEnv:(e,t,r)=>y(e)(t)(r),createLogger:()=>()=>{}});t.buildPresetChainWalker=p;const f=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.alias,l.createUncachedDescriptors));const c=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const d=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const y=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(r=>buildOverrideEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t,r))));function*buildRootChain(e,t){let r,n;const s=new i.ConfigPrinter;const o=yield*S({options:e,dirname:t.cwd},t,undefined,s);if(!o)return null;const l=yield*s.output();let u;if(typeof e.configFile==="string"){u=yield*(0,a.loadConfig)(e.configFile,t.cwd,t.envName,t.caller)}else if(e.configFile!==false){u=yield*(0,a.findRootConfig)(t.root,t.envName,t.caller)}let{babelrc:p,babelrcRoots:f}=e;let c=t.cwd;const d=emptyChain();const y=new i.ConfigPrinter;if(u){const e=m(u);const n=yield*loadFileChain(e,t,undefined,y);if(!n)return null;r=yield*y.output();if(p===undefined){p=e.options.babelrc}if(f===undefined){c=e.dirname;f=e.options.babelrcRoots}mergeChain(d,n)}let h,b;let E=false;const g=emptyChain();if((p===true||p===undefined)&&typeof t.filename==="string"){const e=yield*(0,a.findPackageData)(t.filename);if(e&&babelrcLoadEnabled(t,e,f,c)){({ignore:h,config:b}=yield*(0,a.findRelativeConfig)(e,t.envName,t.caller));if(h){g.files.add(h.filepath)}if(h&&shouldIgnore(t,h.ignore,null,h.dirname)){E=true}if(b&&!E){const e=T(b);const r=new i.ConfigPrinter;const s=yield*loadFileChain(e,t,undefined,r);if(!s){E=true}else{n=yield*r.output();mergeChain(g,s)}}if(b&&E){g.files.add(b.filepath)}}}if(t.showConfig){console.log(`Babel configs on "${t.filename}" (ascending priority):\n`+[r,n,l].filter(e=>!!e).join("\n\n")+"\n-----End Babel configs-----")}const P=mergeChain(mergeChain(mergeChain(emptyChain(),d),g),o);return{plugins:E?[]:dedupDescriptors(P.plugins),presets:E?[]:dedupDescriptors(P.presets),options:E?[]:P.options.map(e=>normalizeOptions(e)),fileHandling:E?"ignored":"transpile",ignore:h||undefined,babelrc:b||undefined,config:u||undefined,files:P.files}}function babelrcLoadEnabled(e,t,r,n){if(typeof r==="boolean")return r;const i=e.root;if(r===undefined){return t.directories.indexOf(i)!==-1}let a=r;if(!Array.isArray(a)){a=[a]}a=a.map(e=>{return typeof e==="string"?_path().resolve(n,e):e});if(a.length===1&&a[0]===i){return t.directories.indexOf(i)!==-1}return a.some(r=>{if(typeof r==="string"){r=(0,s.default)(r,n)}return t.directories.some(t=>{return matchPattern(r,n,t,e)})})}const m=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("configfile",e.options)}));const T=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("babelrcfile",e.options)}));const h=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("extendsfile",e.options)}));const S=makeChainWalker({root:e=>buildRootDescriptors(e,"base",l.createCachedDescriptors),env:(e,t)=>buildEnvDescriptors(e,"base",l.createCachedDescriptors,t),overrides:(e,t)=>buildOverrideDescriptors(e,"base",l.createCachedDescriptors,t),overridesEnv:(e,t,r)=>buildOverrideEnvDescriptors(e,"base",l.createCachedDescriptors,t,r),createLogger:(e,t,r)=>buildProgrammaticLogger(e,t,r)});const b=makeChainWalker({root:e=>E(e),env:(e,t)=>g(e)(t),overrides:(e,t)=>P(e)(t),overridesEnv:(e,t,r)=>x(e)(t)(r),createLogger:(e,t,r)=>buildFileLogger(e.filepath,t,r)});function*loadFileChain(e,t,r,n){const s=yield*b(e,t,r,n);if(s){s.files.add(e.filepath)}return s}const E=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.filepath,l.createUncachedDescriptors));const g=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const P=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const x=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(r=>buildOverrideEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t,r))));function buildFileLogger(e,t,r){if(!r){return()=>{}}return r.configure(t.showConfig,i.ChainFormatter.Config,{filepath:e})}function buildRootDescriptors({dirname:e,options:t},r,n){return n(e,t,r)}function buildProgrammaticLogger(e,t,r){var n;if(!r){return()=>{}}return r.configure(t.showConfig,i.ChainFormatter.Programmatic,{callerName:(n=t.caller)==null?void 0:n.name})}function buildEnvDescriptors({dirname:e,options:t},r,n,s){const i=t.env&&t.env[s];return i?n(e,i,`${r}.env["${s}"]`):null}function buildOverrideDescriptors({dirname:e,options:t},r,n,s){const i=t.overrides&&t.overrides[s];if(!i)throw new Error("Assertion failure - missing override");return n(e,i,`${r}.overrides[${s}]`)}function buildOverrideEnvDescriptors({dirname:e,options:t},r,n,s,i){const a=t.overrides&&t.overrides[s];if(!a)throw new Error("Assertion failure - missing override");const o=a.env&&a.env[i];return o?n(e,o,`${r}.overrides[${s}].env["${i}"]`):null}function makeChainWalker({root:e,env:t,overrides:r,overridesEnv:n,createLogger:s}){return function*(i,a,o=new Set,l){const{dirname:u}=i;const p=[];const f=e(i);if(configIsApplicable(f,u,a)){p.push({config:f,envName:undefined,index:undefined});const e=t(i,a.envName);if(e&&configIsApplicable(e,u,a)){p.push({config:e,envName:a.envName,index:undefined})}(f.options.overrides||[]).forEach((e,t)=>{const s=r(i,t);if(configIsApplicable(s,u,a)){p.push({config:s,index:t,envName:undefined});const e=n(i,t,a.envName);if(e&&configIsApplicable(e,u,a)){p.push({config:e,index:t,envName:a.envName})}}})}if(p.some(({config:{options:{ignore:e,only:t}}})=>shouldIgnore(a,e,t,u))){return null}const c=emptyChain();const d=s(i,a,l);for(const{config:e,index:t,envName:r}of p){if(!(yield*mergeExtendsChain(c,e.options,u,a,o,l))){return null}d(e,t,r);yield*mergeChainOpts(c,e)}return c}}function*mergeExtendsChain(e,t,r,n,s,i){if(t.extends===undefined)return true;const o=yield*(0,a.loadConfig)(t.extends,r,n.envName,n.caller);if(s.has(o)){throw new Error(`Configuration cycle detected loading ${o.filepath}.\n`+`File already loaded following the config chain:\n`+Array.from(s,e=>` - ${e.filepath}`).join("\n"))}s.add(o);const l=yield*loadFileChain(h(o),n,s,i);s.delete(o);if(!l)return false;mergeChain(e,l);return true}function mergeChain(e,t){e.options.push(...t.options);e.plugins.push(...t.plugins);e.presets.push(...t.presets);for(const r of t.files){e.files.add(r)}return e}function*mergeChainOpts(e,{options:t,plugins:r,presets:n}){e.options.push(t);e.plugins.push(...yield*r());e.presets.push(...yield*n());return e}function emptyChain(){return{options:[],presets:[],plugins:[],files:new Set}}function normalizeOptions(e){const t=Object.assign({},e);delete t.extends;delete t.env;delete t.overrides;delete t.plugins;delete t.presets;delete t.passPerPreset;delete t.ignore;delete t.only;delete t.test;delete t.include;delete t.exclude;if(Object.prototype.hasOwnProperty.call(t,"sourceMap")){t.sourceMaps=t.sourceMap;delete t.sourceMap}return t}function dedupDescriptors(e){const t=new Map;const r=[];for(const n of e){if(typeof n.value==="function"){const e=n.value;let s=t.get(e);if(!s){s=new Map;t.set(e,s)}let i=s.get(n.name);if(!i){i={value:n};r.push(i);if(!n.ownPass)s.set(n.name,i)}else{i.value=n}}else{r.push({value:n})}}return r.reduce((e,t)=>{e.push(t.value);return e},[])}function configIsApplicable({options:e},t,r){return(e.test===undefined||configFieldIsApplicable(r,e.test,t))&&(e.include===undefined||configFieldIsApplicable(r,e.include,t))&&(e.exclude===undefined||!configFieldIsApplicable(r,e.exclude,t))}function configFieldIsApplicable(e,t,r){const n=Array.isArray(t)?t:[t];return matchesPatterns(e,n,r)}function shouldIgnore(e,t,r,n){if(t&&matchesPatterns(e,t,n)){var s;const r=`No config is applied to "${(s=e.filename)!=null?s:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(t)}\` from "${n}"`;u(r);if(e.showConfig){console.log(r)}return true}if(r&&!matchesPatterns(e,r,n)){var i;const t=`No config is applied to "${(i=e.filename)!=null?i:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(r)}\` from "${n}"`;u(t);if(e.showConfig){console.log(t)}return true}return false}function matchesPatterns(e,t,r){return t.some(t=>matchPattern(t,r,e.filename,e))}function matchPattern(e,t,r,n){if(typeof e==="function"){return!!e(r,{dirname:t,envName:n.envName,caller:n.caller})}if(typeof r!=="string"){throw new Error(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`)}if(typeof e==="string"){e=(0,s.default)(e,t)}return e.test(r)}},74299:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createCachedDescriptors=createCachedDescriptors;t.createUncachedDescriptors=createUncachedDescriptors;t.createDescriptor=createDescriptor;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(21735);var s=r(83486);var i=r(6135);var a=r(53316);function isEqualDescriptor(e,t){return e.name===t.name&&e.value===t.value&&e.options===t.options&&e.dirname===t.dirname&&e.alias===t.alias&&e.ownPass===t.ownPass&&(e.file&&e.file.request)===(t.file&&t.file.request)&&(e.file&&e.file.resolved)===(t.file&&t.file.resolved)}function*handlerOf(e){return e}function optionsWithResolvedBrowserslistConfigFile(e,t){if(typeof e.browserslistConfigFile==="string"){e.browserslistConfigFile=(0,a.resolveBrowserslistConfigFile)(e.browserslistConfigFile,t)}return e}function createCachedDescriptors(e,t,r){const{plugins:n,presets:s,passPerPreset:i}=t;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),plugins:n?()=>p(n,e)(r):()=>handlerOf([]),presets:s?()=>l(s,e)(r)(!!i):()=>handlerOf([])}}function createUncachedDescriptors(e,t,r){let n;let s;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),*plugins(){if(!n){n=yield*createPluginDescriptors(t.plugins||[],e,r)}return n},*presets(){if(!s){s=yield*createPresetDescriptors(t.presets||[],e,r,!!t.passPerPreset)}return s}}}const o=new WeakMap;const l=(0,i.makeWeakCacheSync)((e,t)=>{const r=t.using(e=>e);return(0,i.makeStrongCacheSync)(t=>(0,i.makeStrongCache)(function*(n){const s=yield*createPresetDescriptors(e,r,t,n);return s.map(e=>loadCachedDescriptor(o,e))}))});const u=new WeakMap;const p=(0,i.makeWeakCacheSync)((e,t)=>{const r=t.using(e=>e);return(0,i.makeStrongCache)(function*(t){const n=yield*createPluginDescriptors(e,r,t);return n.map(e=>loadCachedDescriptor(u,e))})});const f={};function loadCachedDescriptor(e,t){const{value:r,options:n=f}=t;if(n===false)return t;let s=e.get(r);if(!s){s=new WeakMap;e.set(r,s)}let i=s.get(n);if(!i){i=[];s.set(n,i)}if(i.indexOf(t)===-1){const e=i.filter(e=>isEqualDescriptor(e,t));if(e.length>0){return e[0]}i.push(t)}return t}function*createPresetDescriptors(e,t,r,n){return yield*createDescriptors("preset",e,t,r,n)}function*createPluginDescriptors(e,t,r){return yield*createDescriptors("plugin",e,t,r)}function*createDescriptors(e,t,r,n,s){const i=yield*_gensync().all(t.map((t,i)=>createDescriptor(t,r,{type:e,alias:`${n}$${i}`,ownPass:!!s})));assertNoDuplicates(i);return i}function*createDescriptor(e,t,{type:r,alias:i,ownPass:a}){const o=(0,s.getItemDescriptor)(e);if(o){return o}let l;let u;let p=e;if(Array.isArray(p)){if(p.length===3){[p,u,l]=p}else{[p,u]=p}}let f=undefined;let c=null;if(typeof p==="string"){if(typeof r!=="string"){throw new Error("To resolve a string-based item, the type of item must be given")}const e=r==="plugin"?n.loadPlugin:n.loadPreset;const s=p;({filepath:c,value:p}=yield*e(p,t));f={request:s,resolved:c}}if(!p){throw new Error(`Unexpected falsy value: ${String(p)}`)}if(typeof p==="object"&&p.__esModule){if(p.default){p=p.default}else{throw new Error("Must export a default export when using ES6 modules.")}}if(typeof p!=="object"&&typeof p!=="function"){throw new Error(`Unsupported format: ${typeof p}. Expected an object or a function.`)}if(c!==null&&typeof p==="object"&&p){throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${c}`)}return{name:l,alias:c||i,value:p,options:u,dirname:t,ownPass:a,file:f}}function assertNoDuplicates(e){const t=new Map;for(const r of e){if(typeof r.value!=="function")continue;let n=t.get(r.value);if(!n){n=new Set;t.set(r.value,n)}if(n.has(r.name)){const t=e.filter(e=>e.value===r.value);throw new Error([`Duplicate plugin/preset detected.`,`If you'd like to use two separate instances of a plugin,`,`they need separate names, e.g.`,``,` plugins: [`,` ['some-plugin', {}],`,` ['some-plugin', {}, 'some unique name'],`,` ]`,``,`Duplicates detected are:`,`${JSON.stringify(t,null,2)}`].join("\n"))}n.add(r.name)}}},96995:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findConfigUpwards=findConfigUpwards;t.findRelativeConfig=findRelativeConfig;t.findRootConfig=findRootConfig;t.loadConfig=loadConfig;t.resolveShowConfigPath=resolveShowConfigPath;t.ROOT_CONFIG_FILENAMES=void 0;function _debug(){const e=r(31185);_debug=function(){return e};return e}function _fs(){const e=r(35747);_fs=function(){return e};return e}function _path(){const e=r(85622);_path=function(){return e};return e}function _json(){const e=r(33170);_json=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(6135);var s=r(77021);var i=r(18193);var a=r(39117);var o=r(30797);var l=r(60153);function _module(){const e=r(32282);_module=function(){return e};return e}const u=_debug()("babel:config:loading:files:configuration");const p=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json"];t.ROOT_CONFIG_FILENAMES=p;const f=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json"];const c=".babelignore";function findConfigUpwards(e){let t=e;for(;;){for(const e of p){if(_fs().existsSync(_path().join(t,e))){return t}}const e=_path().dirname(t);if(t===e)break;t=e}return null}function*findRelativeConfig(e,t,r){let n=null;let s=null;const i=_path().dirname(e.filepath);for(const o of e.directories){if(!n){var a;n=yield*loadOneConfig(f,o,t,r,((a=e.pkg)==null?void 0:a.dirname)===o?m(e.pkg):null)}if(!s){const e=_path().join(o,c);s=yield*h(e);if(s){u("Found ignore %o from %o.",s.filepath,i)}}}return{config:n,ignore:s}}function findRootConfig(e,t,r){return loadOneConfig(p,e,t,r)}function*loadOneConfig(e,t,r,n,s=null){const i=yield*_gensync().all(e.map(e=>readConfig(_path().join(t,e),r,n)));const a=i.reduce((e,r)=>{if(r&&e){throw new Error(`Multiple configuration files found. Please remove one:\n`+` - ${_path().basename(e.filepath)}\n`+` - ${r.filepath}\n`+`from ${t}`)}return r||e},s);if(a){u("Found configuration %o from %o.",a.filepath,t)}return a}function*loadConfig(e,t,n,s){const i=(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(e,{paths:[t]});const a=yield*readConfig(i,n,s);if(!a){throw new Error(`Config file ${i} contains no configuration data`)}u("Loaded config %o from %o.",e,t);return a}function readConfig(e,t,r){const n=_path().extname(e);return n===".js"||n===".cjs"||n===".mjs"?y(e,{envName:t,caller:r}):T(e)}const d=new Set;const y=(0,n.makeStrongCache)(function*readConfigJS(e,t){if(!_fs().existsSync(e)){t.never();return null}if(d.has(e)){t.never();u("Auto-ignoring usage of config %o.",e);return{filepath:e,dirname:_path().dirname(e),options:{}}}let r;try{d.add(e);r=yield*(0,a.default)(e,"You appear to be using a native ECMAScript module configuration "+"file, which is only supported when running Babel asynchronously.")}catch(t){t.message=`${e}: Error while loading config - ${t.message}`;throw t}finally{d.delete(e)}let n=false;if(typeof r==="function"){yield*[];r=r((0,s.makeConfigAPI)(t));n=true}if(!r||typeof r!=="object"||Array.isArray(r)){throw new Error(`${e}: Configuration should be an exported JavaScript object.`)}if(typeof r.then==="function"){throw new Error(`You appear to be using an async configuration, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously return your config.`)}if(n&&!t.configured())throwConfigError();return{filepath:e,dirname:_path().dirname(e),options:r}});const m=(0,n.makeWeakCacheSync)(e=>{const t=e.options["babel"];if(typeof t==="undefined")return null;if(typeof t!=="object"||Array.isArray(t)||t===null){throw new Error(`${e.filepath}: .babel property must be an object`)}return{filepath:e.filepath,dirname:e.dirname,options:t}});const T=(0,i.makeStaticFileCache)((e,t)=>{let r;try{r=_json().parse(t)}catch(t){t.message=`${e}: Error while parsing config - ${t.message}`;throw t}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new Error(`${e}: Config returned typeof ${typeof r}`)}if(Array.isArray(r)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:r}});const h=(0,i.makeStaticFileCache)((e,t)=>{const r=_path().dirname(e);const n=t.split("\n").map(e=>e.replace(/#(.*?)$/,"").trim()).filter(e=>!!e);for(const e of n){if(e[0]==="!"){throw new Error(`Negation of file paths is not supported.`)}}return{filepath:e,dirname:_path().dirname(e),ignore:n.map(e=>(0,o.default)(e,r))}});function*resolveShowConfigPath(e){const t=process.env.BABEL_SHOW_CONFIG_FOR;if(t!=null){const r=_path().resolve(e,t);const n=yield*l.stat(r);if(!n.isFile()){throw new Error(`${r}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`)}return r}return null}function throwConfigError(){throw new Error(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don't call this function again.\n api.cache(true);\n\n // Don't cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === "production");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};`)}},96760:(e,t,r)=>{"use strict";var n;n={value:true};t.Z=import_;function import_(e){return r(54039)(e)}},21735:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"findPackageData",{enumerable:true,get:function(){return n.findPackageData}});Object.defineProperty(t,"findConfigUpwards",{enumerable:true,get:function(){return s.findConfigUpwards}});Object.defineProperty(t,"findRelativeConfig",{enumerable:true,get:function(){return s.findRelativeConfig}});Object.defineProperty(t,"findRootConfig",{enumerable:true,get:function(){return s.findRootConfig}});Object.defineProperty(t,"loadConfig",{enumerable:true,get:function(){return s.loadConfig}});Object.defineProperty(t,"resolveShowConfigPath",{enumerable:true,get:function(){return s.resolveShowConfigPath}});Object.defineProperty(t,"ROOT_CONFIG_FILENAMES",{enumerable:true,get:function(){return s.ROOT_CONFIG_FILENAMES}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return i.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return i.resolvePreset}});Object.defineProperty(t,"loadPlugin",{enumerable:true,get:function(){return i.loadPlugin}});Object.defineProperty(t,"loadPreset",{enumerable:true,get:function(){return i.loadPreset}});var n=r(58760);var s=r(96995);var i=r(89442);({})},39117:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadCjsOrMjsDefault;var n=r(28419);function _path(){const e=r(85622);_path=function(){return e};return e}function _url(){const e=r(78835);_url=function(){return e};return e}function _module(){const e=r(32282);_module=function(){return e};return e}function asyncGeneratorStep(e,t,r,n,s,i,a){try{var o=e[i](a);var l=o.value}catch(e){r(e);return}if(o.done){t(l)}else{Promise.resolve(l).then(n,s)}}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise(function(n,s){var i=e.apply(t,r);function _next(e){asyncGeneratorStep(i,n,s,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(i,n,s,_next,_throw,"throw",e)}_next(undefined)})}}let s;try{s=r(96760).Z}catch(e){}function*loadCjsOrMjsDefault(e,t,r=false){switch(guessJSModuleType(e)){case"cjs":return loadCjsDefault(e,r);case"unknown":try{return loadCjsDefault(e,r)}catch(e){if(e.code!=="ERR_REQUIRE_ESM")throw e}case"mjs":if(yield*(0,n.isAsync)()){return yield*(0,n.waitFor)(loadMjsDefault(e))}throw new Error(t)}}function guessJSModuleType(e){switch(_path().extname(e)){case".cjs":return"cjs";case".mjs":return"mjs";default:return"unknown"}}function loadCjsDefault(e,t){const r=require(e);return r!=null&&r.__esModule?r.default||(t?r:undefined):r}function loadMjsDefault(e){return _loadMjsDefault.apply(this,arguments)}function _loadMjsDefault(){_loadMjsDefault=_asyncToGenerator(function*(e){if(!s){throw new Error("Internal error: Native ECMAScript modules aren't supported"+" by this platform.\n")}const t=yield s((0,_url().pathToFileURL)(e));return t.default});return _loadMjsDefault.apply(this,arguments)}},58760:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findPackageData=findPackageData;function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(18193);const s="package.json";function*findPackageData(e){let t=null;const r=[];let n=true;let a=_path().dirname(e);while(!t&&_path().basename(a)!=="node_modules"){r.push(a);t=yield*i(_path().join(a,s));const e=_path().dirname(a);if(a===e){n=false;break}a=e}return{filepath:e,directories:r,pkg:t,isPackage:n}}const i=(0,n.makeStaticFileCache)((e,t)=>{let r;try{r=JSON.parse(t)}catch(t){t.message=`${e}: Error while parsing JSON - ${t.message}`;throw t}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new Error(`${e}: Config returned typeof ${typeof r}`)}if(Array.isArray(r)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:r}})},89442:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolvePlugin=resolvePlugin;t.resolvePreset=resolvePreset;t.loadPlugin=loadPlugin;t.loadPreset=loadPreset;function _debug(){const e=r(31185);_debug=function(){return e};return e}function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(39117);function _module(){const e=r(32282);_module=function(){return e};return e}const s=_debug()("babel:config:loading:files:plugins");const i=/^module:/;const a=/^(?!@|module:|[^/]+\/|babel-plugin-)/;const o=/^(?!@|module:|[^/]+\/|babel-preset-)/;const l=/^(@babel\/)(?!plugin-|[^/]+\/)/;const u=/^(@babel\/)(?!preset-|[^/]+\/)/;const p=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/;const f=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/;const c=/^(@(?!babel$)[^/]+)$/;function resolvePlugin(e,t){return resolveStandardizedName("plugin",e,t)}function resolvePreset(e,t){return resolveStandardizedName("preset",e,t)}function*loadPlugin(e,t){const r=resolvePlugin(e,t);if(!r){throw new Error(`Plugin ${e} not found relative to ${t}`)}const n=yield*requireModule("plugin",r);s("Loaded plugin %o from %o.",e,t);return{filepath:r,value:n}}function*loadPreset(e,t){const r=resolvePreset(e,t);if(!r){throw new Error(`Preset ${e} not found relative to ${t}`)}const n=yield*requireModule("preset",r);s("Loaded preset %o from %o.",e,t);return{filepath:r,value:n}}function standardizeName(e,t){if(_path().isAbsolute(t))return t;const r=e==="preset";return t.replace(r?o:a,`babel-${e}-`).replace(r?u:l,`$1${e}-`).replace(r?f:p,`$1babel-${e}-`).replace(c,`$1/babel-${e}`).replace(i,"")}function resolveStandardizedName(e,t,n=process.cwd()){const s=standardizeName(e,t);try{return(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(s,{paths:[n]})}catch(i){if(i.code!=="MODULE_NOT_FOUND")throw i;if(s!==t){let e=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(t,{paths:[n]});e=true}catch(e){}if(e){i.message+=`\n- If you want to resolve "${t}", use "module:${t}"`}}let a=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(standardizeName(e,"@babel/"+t),{paths:[n]});a=true}catch(e){}if(a){i.message+=`\n- Did you mean "@babel/${t}"?`}let o=false;const l=e==="preset"?"plugin":"preset";try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(standardizeName(l,t),{paths:[n]});o=true}catch(e){}if(o){i.message+=`\n- Did you accidentally pass a ${l} as a ${e}?`}throw i}}const d=new Set;function*requireModule(e,t){if(d.has(t)){throw new Error(`Reentrant ${e} detected trying to load "${t}". This module is not ignored `+"and is trying to load itself while compiling itself, leading to a dependency cycle. "+'We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.')}try{d.add(t);return yield*(0,n.default)(t,`You appear to be using a native ECMAScript module ${e}, `+"which is only supported when running Babel asynchronously.",true)}catch(e){e.message=`[BABEL]: ${e.message} (While processing: ${t})`;throw e}finally{d.delete(t)}}},18193:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeStaticFileCache=makeStaticFileCache;var n=r(6135);var s=r(60153);function _fs2(){const e=r(35747);_fs2=function(){return e};return e}function makeStaticFileCache(e){return(0,n.makeStrongCache)(function*(t,r){const n=r.invalidate(()=>fileMtime(t));if(n===null){return null}return e(t,yield*s.readFile(t,"utf8"))})}function fileMtime(e){if(!_fs2().existsSync(e))return null;try{return+_fs2().statSync(e).mtime}catch(e){if(e.code!=="ENOENT"&&e.code!=="ENOTDIR")throw e}return null}},8566:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(28419);var s=r(83258);var i=r(85850);var a=r(41681);var o=r(83486);var l=r(28422);function _traverse(){const e=r(4267);_traverse=function(){return e};return e}var u=r(6135);var p=r(42958);var f=r(82055);var c=r(77021);var d=r(59074);var y=r(61931);var m=_gensync()(function*loadFullConfig(e){var t;const r=yield*(0,d.default)(e);if(!r){return null}const{options:n,context:i,fileHandling:a}=r;if(a==="ignored"){return null}const l={};const{plugins:u,presets:f}=n;if(!u||!f){throw new Error("Assertion failure - plugins and presets exist")}const c=Object.assign({},i,{targets:n.targets});const y=e=>{const t=(0,o.getItemDescriptor)(e);if(!t){throw new Error("Assertion failure - must be config item")}return t};const m=f.map(y);const T=u.map(y);const h=[[]];const S=[];const b=yield*enhanceError(i,function*recursePresetDescriptors(e,t){const r=[];for(let n=0;n0){h.splice(1,0,...r.map(e=>e.pass).filter(e=>e!==t));for(const{preset:e,pass:t}of r){if(!e)return true;t.push(...e.plugins);const r=yield*recursePresetDescriptors(e.presets,t);if(r)return true;e.options.forEach(e=>{(0,s.mergeOptions)(l,e)})}}})(m,h[0]);if(b)return null;const E=l;(0,s.mergeOptions)(E,n);const g=Object.assign({},c,{assumptions:(t=E.assumptions)!=null?t:{}});yield*enhanceError(i,function*loadPluginDescriptors(){h[0].unshift(...T);for(const e of h){const t=[];S.push(t);for(let r=0;re.length>0).map(e=>({plugins:e}));E.passPerPreset=E.presets.length>0;return{options:E,passes:S}});t.default=m;function enhanceError(e,t){return function*(r,n){try{return yield*t(r,n)}catch(t){if(!/^\[BABEL\]/.test(t.message)){t.message=`[BABEL] ${e.filename||"unknown"}: ${t.message}`}throw t}}}const T=e=>(0,u.makeWeakCache)(function*({value:t,options:r,dirname:s,alias:a},o){if(r===false)throw new Error("Assertion failure");r=r||{};let l=t;if(typeof t==="function"){const u=(0,n.maybeAsync)(t,`You appear to be using an async plugin/preset, but Babel has been called synchronously`);const p=Object.assign({},i,e(o));try{l=yield*u(p,r,s)}catch(e){if(a){e.message+=` (While processing: ${JSON.stringify(a)})`}throw e}}if(!l||typeof l!=="object"){throw new Error("Plugin/Preset did not return an object.")}if((0,n.isThenable)(l)){yield*[];throw new Error(`You appear to be using a promise as a plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version. `+`As an alternative, you can prefix the promise with "await". `+`(While processing: ${JSON.stringify(a)})`)}return{value:l,options:r,dirname:s,alias:a}});const h=T(c.makePluginAPI);const S=T(c.makePresetAPI);function*loadPluginDescriptor(e,t){if(e.value instanceof a.default){if(e.options){throw new Error("Passed options to an existing Plugin instance will not work.")}return e.value}return yield*b(yield*h(e,t),t)}const b=(0,u.makeWeakCache)(function*({value:e,options:t,dirname:r,alias:s},i){const o=(0,f.validatePluginObject)(e);const l=Object.assign({},o);if(l.visitor){l.visitor=_traverse().default.explode(Object.assign({},l.visitor))}if(l.inherits){const e={name:undefined,alias:`${s}$inherits`,value:l.inherits,options:t,dirname:r};const a=yield*(0,n.forwardAsync)(loadPluginDescriptor,t=>{return i.invalidate(r=>t(e,r))});l.pre=chain(a.pre,l.pre);l.post=chain(a.post,l.post);l.manipulateOptions=chain(a.manipulateOptions,l.manipulateOptions);l.visitor=_traverse().default.visitors.merge([a.visitor||{},l.visitor||{}])}return new a.default(l,t,s)});const E=(e,t)=>{if(e.test||e.include||e.exclude){const e=t.name?`"${t.name}"`:"/* your preset */";throw new Error([`Preset ${e} requires a filename to be set when babel is called directly,`,`\`\`\``,`babel.transform(code, { filename: 'file.ts', presets: [${e}] });`,`\`\`\``,`See https://babeljs.io/docs/en/options#filename for more information.`].join("\n"))}};const g=(e,t,r)=>{if(!t.filename){const{options:t}=e;E(t,r);if(t.overrides){t.overrides.forEach(e=>E(e,r))}}};function*loadPresetDescriptor(e,t){const r=P(yield*S(e,t));g(r,t,e);return yield*(0,l.buildPresetChain)(r,t)}const P=(0,u.makeWeakCacheSync)(({value:e,dirname:t,alias:r})=>{return{options:(0,p.validate)("preset",e),alias:r,dirname:t}});function chain(e,t){const r=[e,t].filter(Boolean);if(r.length<=1)return r[0];return function(...e){for(const t of r){t.apply(this,e)}}}},77021:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeConfigAPI=makeConfigAPI;t.makePresetAPI=makePresetAPI;t.makePluginAPI=makePluginAPI;function _semver(){const e=r(62519);_semver=function(){return e};return e}var n=r(85850);var s=r(6135);var i=r(61931);function makeConfigAPI(e){const t=t=>e.using(e=>{if(typeof t==="undefined")return e.envName;if(typeof t==="function"){return(0,s.assertSimpleType)(t(e.envName))}if(!Array.isArray(t))t=[t];return t.some(t=>{if(typeof t!=="string"){throw new Error("Unexpected non-string value")}return t===e.envName})});const r=t=>e.using(e=>(0,s.assertSimpleType)(t(e.caller)));return{version:n.version,cache:e.simple(),env:t,async:()=>false,caller:r,assertVersion:assertVersion}}function makePresetAPI(e){const t=()=>JSON.parse(e.using(e=>JSON.stringify(e.targets)));return Object.assign({},makeConfigAPI(e),{targets:t})}function makePluginAPI(e){const t=t=>e.using(e=>e.assumptions[t]);return Object.assign({},makePresetAPI(e),{assumption:t})}function assertVersion(e){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}if(_semver().satisfies(n.version,e))return;const t=Error.stackTraceLimit;if(typeof t==="number"&&t<25){Error.stackTraceLimit=25}const r=new Error(`Requires Babel "${e}", but was loaded with "${n.version}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`);if(typeof t==="number"){Error.stackTraceLimit=t}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:n.version,range:e})}},67058:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getEnv=getEnv;function getEnv(e="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||e}},98534:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createConfigItem=createConfigItem;Object.defineProperty(t,"default",{enumerable:true,get:function(){return n.default}});t.createConfigItemAsync=t.createConfigItemSync=t.loadOptionsAsync=t.loadOptionsSync=t.loadOptions=t.loadPartialConfigAsync=t.loadPartialConfigSync=t.loadPartialConfig=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(8566);var s=r(59074);var i=r(83486);const a=_gensync()(function*(e){var t;const r=yield*(0,n.default)(e);return(t=r==null?void 0:r.options)!=null?t:null});const o=_gensync()(i.createConfigItem);const l=e=>(t,r)=>{if(r===undefined&&typeof t==="function"){r=t;t=undefined}return r?e.errback(t,r):e.sync(t)};const u=l(s.loadPartialConfig);t.loadPartialConfig=u;const p=s.loadPartialConfig.sync;t.loadPartialConfigSync=p;const f=s.loadPartialConfig.async;t.loadPartialConfigAsync=f;const c=l(a);t.loadOptions=c;const d=a.sync;t.loadOptionsSync=d;const y=a.async;t.loadOptionsAsync=y;const m=o.sync;t.createConfigItemSync=m;const T=o.async;t.createConfigItemAsync=T;function createConfigItem(e,t,r){if(r!==undefined){return o.errback(e,t,r)}else if(typeof t==="function"){return o.errback(e,undefined,r)}else{return o.sync(e,t)}}},83486:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createItemFromDescriptor=createItemFromDescriptor;t.createConfigItem=createConfigItem;t.getItemDescriptor=getItemDescriptor;function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(74299);function createItemFromDescriptor(e){return new ConfigItem(e)}function*createConfigItem(e,{dirname:t=".",type:r}={}){const s=yield*(0,n.createDescriptor)(e,_path().resolve(t),{type:r,alias:"programmatic item"});return createItemFromDescriptor(s)}function getItemDescriptor(e){if(e!=null&&e[s]){return e._descriptor}return undefined}const s=Symbol.for("@babel/core@7 - ConfigItem");class ConfigItem{constructor(e){this._descriptor=void 0;this[s]=true;this.value=void 0;this.options=void 0;this.dirname=void 0;this.name=void 0;this.file=void 0;this._descriptor=e;Object.defineProperty(this,"_descriptor",{enumerable:false});Object.defineProperty(this,s,{enumerable:false});this.value=this._descriptor.value;this.options=this._descriptor.options;this.dirname=this._descriptor.dirname;this.name=this._descriptor.name;this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:undefined;Object.freeze(this)}}Object.freeze(ConfigItem.prototype)},59074:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadPrivatePartialConfig;t.loadPartialConfig=void 0;function _path(){const e=r(85622);_path=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(41681);var s=r(83258);var i=r(83486);var a=r(28422);var o=r(67058);var l=r(42958);var u=r(21735);var p=r(53316);function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var s,i;for(i=0;i=0)continue;r[s]=e[s]}return r}function resolveRootMode(e,t){switch(t){case"root":return e;case"upward-optional":{const t=(0,u.findConfigUpwards)(e);return t===null?e:t}case"upward":{const t=(0,u.findConfigUpwards)(e);if(t!==null)return t;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not `+`be found when searching upward from "${e}".\n`+`One of the following config files must be in the directory tree: `+`"${u.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error(`Assertion failure - unknown rootMode value.`)}}function*loadPrivatePartialConfig(e){if(e!=null&&(typeof e!=="object"||Array.isArray(e))){throw new Error("Babel options must be an object, null, or undefined")}const t=e?(0,l.validate)("arguments",e):{};const{envName:r=(0,o.getEnv)(),cwd:n=".",root:f=".",rootMode:c="root",caller:d,cloneInputAst:y=true}=t;const m=_path().resolve(n);const T=resolveRootMode(_path().resolve(m,f),c);const h=typeof t.filename==="string"?_path().resolve(n,t.filename):undefined;const S=yield*(0,u.resolveShowConfigPath)(m);const b={filename:h,cwd:m,root:T,envName:r,caller:d,showConfig:S===h};const E=yield*(0,a.buildRootChain)(t,b);if(!E)return null;const g={assumptions:{}};E.options.forEach(e=>{(0,s.mergeOptions)(g,e)});const P=Object.assign({},g,{targets:(0,p.resolveTargets)(g,T),cloneInputAst:y,babelrc:false,configFile:false,browserslistConfigFile:false,passPerPreset:false,envName:b.envName,cwd:b.cwd,root:b.root,rootMode:"root",filename:typeof b.filename==="string"?b.filename:undefined,plugins:E.plugins.map(e=>(0,i.createItemFromDescriptor)(e)),presets:E.presets.map(e=>(0,i.createItemFromDescriptor)(e))});return{options:P,context:b,fileHandling:E.fileHandling,ignore:E.ignore,babelrc:E.babelrc,config:E.config,files:E.files}}const f=_gensync()(function*(e){let t=false;if(typeof e==="object"&&e!==null&&!Array.isArray(e)){var r=e;({showIgnoredFiles:t}=r);e=_objectWithoutPropertiesLoose(r,["showIgnoredFiles"]);r}const s=yield*loadPrivatePartialConfig(e);if(!s)return null;const{options:i,babelrc:a,ignore:o,config:l,fileHandling:u,files:p}=s;if(u==="ignored"&&!t){return null}(i.plugins||[]).forEach(e=>{if(e.value instanceof n.default){throw new Error("Passing cached plugin instances is not supported in "+"babel.loadPartialConfig()")}});return new PartialConfig(i,a?a.filepath:undefined,o?o.filepath:undefined,l?l.filepath:undefined,u,p)});t.loadPartialConfig=f;class PartialConfig{constructor(e,t,r,n,s,i){this.options=void 0;this.babelrc=void 0;this.babelignore=void 0;this.config=void 0;this.fileHandling=void 0;this.files=void 0;this.options=e;this.babelignore=r;this.babelrc=t;this.config=n;this.fileHandling=s;this.files=i;Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==undefined||this.config!==undefined}}Object.freeze(PartialConfig.prototype)},30797:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=pathToPattern;function _path(){const e=r(85622);_path=function(){return e};return e}const n=`\\${_path().sep}`;const s=`(?:${n}|$)`;const i=`[^${n}]+`;const a=`(?:${i}${n})`;const o=`(?:${i}${s})`;const l=`${a}*?`;const u=`${a}*?${o}?`;function escapeRegExp(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}function pathToPattern(e,t){const r=_path().resolve(t,e).split(_path().sep);return new RegExp(["^",...r.map((e,t)=>{const p=t===r.length-1;if(e==="**")return p?u:l;if(e==="*")return p?o:a;if(e.indexOf("*.")===0){return i+escapeRegExp(e.slice(1))+(p?s:n)}return escapeRegExp(e)+(p?s:n)})].join(""))}},41681:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Plugin{constructor(e,t,r){this.key=void 0;this.manipulateOptions=void 0;this.post=void 0;this.pre=void 0;this.visitor=void 0;this.parserOverride=void 0;this.generatorOverride=void 0;this.options=void 0;this.key=e.name||r;this.manipulateOptions=e.manipulateOptions;this.post=e.post;this.pre=e.pre;this.visitor=e.visitor||{};this.parserOverride=e.parserOverride;this.generatorOverride=e.generatorOverride;this.options=t}}t.default=Plugin},82504:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConfigPrinter=t.ChainFormatter=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n={Programmatic:0,Config:1};t.ChainFormatter=n;const s={title(e,t,r){let s="";if(e===n.Programmatic){s="programmatic options";if(t){s+=" from "+t}}else{s="config "+r}return s},loc(e,t){let r="";if(e!=null){r+=`.overrides[${e}]`}if(t!=null){r+=`.env["${t}"]`}return r},*optionsAndDescriptors(e){const t=Object.assign({},e.options);delete t.overrides;delete t.env;const r=[...yield*e.plugins()];if(r.length){t.plugins=r.map(e=>descriptorToConfig(e))}const n=[...yield*e.presets()];if(n.length){t.presets=[...n].map(e=>descriptorToConfig(e))}return JSON.stringify(t,undefined,2)}};function descriptorToConfig(e){var t;let r=(t=e.file)==null?void 0:t.request;if(r==null){if(typeof e.value==="object"){r=e.value}else if(typeof e.value==="function"){r=`[Function: ${e.value.toString().substr(0,50)} ... ]`}}if(r==null){r="[Unknown]"}if(e.options===undefined){return r}else if(e.name==null){return[r,e.options]}else{return[r,e.options,e.name]}}class ConfigPrinter{constructor(){this._stack=[]}configure(e,t,{callerName:r,filepath:n}){if(!e)return()=>{};return(e,s,i)=>{this._stack.push({type:t,callerName:r,filepath:n,content:e,index:s,envName:i})}}static*format(e){let t=s.title(e.type,e.callerName,e.filepath);const r=s.loc(e.index,e.envName);if(r)t+=` ${r}`;const n=yield*s.optionsAndDescriptors(e.content);return`${t}\n${n}`}*output(){if(this._stack.length===0)return"";const e=yield*_gensync().all(this._stack.map(e=>ConfigPrinter.format(e)));return e.join("\n\n")}}t.ConfigPrinter=ConfigPrinter},53316:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveBrowserslistConfigFile=resolveBrowserslistConfigFile;t.resolveTargets=resolveTargets;function _path(){const e=r(85622);_path=function(){return e};return e}function _helperCompilationTargets(){const e=r(34487);_helperCompilationTargets=function(){return e};return e}({});function resolveBrowserslistConfigFile(e,t){return _path().resolve(t,e)}function resolveTargets(e,t){let r=e.targets;if(typeof r==="string"||Array.isArray(r)){r={browsers:r}}if(r&&r.esmodules){r=Object.assign({},r,{esmodules:"intersect"})}const{browserslistConfigFile:n}=e;let s;let i=false;if(typeof n==="string"){s=n}else{i=n===false}return(0,_helperCompilationTargets().default)(r,{ignoreBrowserslistConfig:i,configFile:s,configPath:t,browserslistEnv:e.browserslistEnv})}},83258:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.mergeOptions=mergeOptions;t.isIterableIterator=isIterableIterator;function mergeOptions(e,t){for(const r of Object.keys(t)){if((r==="parserOpts"||r==="generatorOpts"||r==="assumptions")&&t[r]){const n=t[r];const s=e[r]||(e[r]={});mergeDefaultFields(s,n)}else{const n=t[r];if(n!==undefined)e[r]=n}}}function mergeDefaultFields(e,t){for(const r of Object.keys(t)){const n=t[r];if(n!==undefined)e[r]=n}}function isIterableIterator(e){return!!e&&typeof e.next==="function"&&typeof e[Symbol.iterator]==="function"}},17741:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.msg=msg;t.access=access;t.assertRootMode=assertRootMode;t.assertSourceMaps=assertSourceMaps;t.assertCompact=assertCompact;t.assertSourceType=assertSourceType;t.assertCallerMetadata=assertCallerMetadata;t.assertInputSourceMap=assertInputSourceMap;t.assertString=assertString;t.assertFunction=assertFunction;t.assertBoolean=assertBoolean;t.assertObject=assertObject;t.assertArray=assertArray;t.assertIgnoreList=assertIgnoreList;t.assertConfigApplicableTest=assertConfigApplicableTest;t.assertConfigFileSearch=assertConfigFileSearch;t.assertBabelrcSearch=assertBabelrcSearch;t.assertPluginList=assertPluginList;t.assertTargets=assertTargets;t.assertAssumptions=assertAssumptions;function _helperCompilationTargets(){const e=r(34487);_helperCompilationTargets=function(){return e};return e}var n=r(42958);function msg(e){switch(e.type){case"root":return``;case"env":return`${msg(e.parent)}.env["${e.name}"]`;case"overrides":return`${msg(e.parent)}.overrides[${e.index}]`;case"option":return`${msg(e.parent)}.${e.name}`;case"access":return`${msg(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${e.type}`)}}function access(e,t){return{type:"access",name:t,parent:e}}function assertRootMode(e,t){if(t!==undefined&&t!=="root"&&t!=="upward"&&t!=="upward-optional"){throw new Error(`${msg(e)} must be a "root", "upward", "upward-optional" or undefined`)}return t}function assertSourceMaps(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="inline"&&t!=="both"){throw new Error(`${msg(e)} must be a boolean, "inline", "both", or undefined`)}return t}function assertCompact(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="auto"){throw new Error(`${msg(e)} must be a boolean, "auto", or undefined`)}return t}function assertSourceType(e,t){if(t!==undefined&&t!=="module"&&t!=="script"&&t!=="unambiguous"){throw new Error(`${msg(e)} must be "module", "script", "unambiguous", or undefined`)}return t}function assertCallerMetadata(e,t){const r=assertObject(e,t);if(r){if(typeof r.name!=="string"){throw new Error(`${msg(e)} set but does not contain "name" property string`)}for(const t of Object.keys(r)){const n=access(e,t);const s=r[t];if(s!=null&&typeof s!=="boolean"&&typeof s!=="string"&&typeof s!=="number"){throw new Error(`${msg(n)} must be null, undefined, a boolean, a string, or a number.`)}}}return t}function assertInputSourceMap(e,t){if(t!==undefined&&typeof t!=="boolean"&&(typeof t!=="object"||!t)){throw new Error(`${msg(e)} must be a boolean, object, or undefined`)}return t}function assertString(e,t){if(t!==undefined&&typeof t!=="string"){throw new Error(`${msg(e)} must be a string, or undefined`)}return t}function assertFunction(e,t){if(t!==undefined&&typeof t!=="function"){throw new Error(`${msg(e)} must be a function, or undefined`)}return t}function assertBoolean(e,t){if(t!==undefined&&typeof t!=="boolean"){throw new Error(`${msg(e)} must be a boolean, or undefined`)}return t}function assertObject(e,t){if(t!==undefined&&(typeof t!=="object"||Array.isArray(t)||!t)){throw new Error(`${msg(e)} must be an object, or undefined`)}return t}function assertArray(e,t){if(t!=null&&!Array.isArray(t)){throw new Error(`${msg(e)} must be an array, or undefined`)}return t}function assertIgnoreList(e,t){const r=assertArray(e,t);if(r){r.forEach((t,r)=>assertIgnoreItem(access(e,r),t))}return r}function assertIgnoreItem(e,t){if(typeof t!=="string"&&typeof t!=="function"&&!(t instanceof RegExp)){throw new Error(`${msg(e)} must be an array of string/Function/RegExp values, or undefined`)}return t}function assertConfigApplicableTest(e,t){if(t===undefined)return t;if(Array.isArray(t)){t.forEach((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a string/Function/RegExp, or an array of those`)}return t}function checkValidTest(e){return typeof e==="string"||typeof e==="function"||e instanceof RegExp}function assertConfigFileSearch(e,t){if(t!==undefined&&typeof t!=="boolean"&&typeof t!=="string"){throw new Error(`${msg(e)} must be a undefined, a boolean, a string, `+`got ${JSON.stringify(t)}`)}return t}function assertBabelrcSearch(e,t){if(t===undefined||typeof t==="boolean")return t;if(Array.isArray(t)){t.forEach((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a undefined, a boolean, a string/Function/RegExp `+`or an array of those, got ${JSON.stringify(t)}`)}return t}function assertPluginList(e,t){const r=assertArray(e,t);if(r){r.forEach((t,r)=>assertPluginItem(access(e,r),t))}return r}function assertPluginItem(e,t){if(Array.isArray(t)){if(t.length===0){throw new Error(`${msg(e)} must include an object`)}if(t.length>3){throw new Error(`${msg(e)} may only be a two-tuple or three-tuple`)}assertPluginTarget(access(e,0),t[0]);if(t.length>1){const r=t[1];if(r!==undefined&&r!==false&&(typeof r!=="object"||Array.isArray(r)||r===null)){throw new Error(`${msg(access(e,1))} must be an object, false, or undefined`)}}if(t.length===3){const r=t[2];if(r!==undefined&&typeof r!=="string"){throw new Error(`${msg(access(e,2))} must be a string, or undefined`)}}}else{assertPluginTarget(e,t)}return t}function assertPluginTarget(e,t){if((typeof t!=="object"||!t)&&typeof t!=="string"&&typeof t!=="function"){throw new Error(`${msg(e)} must be a string, object, function`)}return t}function assertTargets(e,t){if((0,_helperCompilationTargets().isBrowsersQueryValid)(t))return t;if(typeof t!=="object"||!t||Array.isArray(t)){throw new Error(`${msg(e)} must be a string, an array of strings or an object`)}const r=access(e,"browsers");const n=access(e,"esmodules");assertBrowsersList(r,t.browsers);assertBoolean(n,t.esmodules);for(const r of Object.keys(t)){const n=t[r];const s=access(e,r);if(r==="esmodules")assertBoolean(s,n);else if(r==="browsers")assertBrowsersList(s,n);else if(!Object.hasOwnProperty.call(_helperCompilationTargets().TargetNames,r)){const e=Object.keys(_helperCompilationTargets().TargetNames).join(", ");throw new Error(`${msg(s)} is not a valid target. Supported targets are ${e}`)}else assertBrowserVersion(s,n)}return t}function assertBrowsersList(e,t){if(t!==undefined&&!(0,_helperCompilationTargets().isBrowsersQueryValid)(t)){throw new Error(`${msg(e)} must be undefined, a string or an array of strings`)}}function assertBrowserVersion(e,t){if(typeof t==="number"&&Math.round(t)===t)return;if(typeof t==="string")return;throw new Error(`${msg(e)} must be a string or an integer number`)}function assertAssumptions(e,t){if(t===undefined)return;if(typeof t!=="object"||t===null){throw new Error(`${msg(e)} must be an object or undefined.`)}let r=e;do{r=r.parent}while(r.type!=="root");const s=r.source==="preset";for(const r of Object.keys(t)){const i=access(e,r);if(!n.assumptionsNames.has(r)){throw new Error(`${msg(i)} is not a supported assumption.`)}if(typeof t[r]!=="boolean"){throw new Error(`${msg(i)} must be a boolean.`)}if(s&&t[r]===false){throw new Error(`${msg(i)} cannot be set to 'false' inside presets.`)}}return t}},42958:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.checkNoUnwrappedItemOptionPairs=checkNoUnwrappedItemOptionPairs;t.assumptionsNames=void 0;var n=r(41681);var s=r(43013);var i=r(17741);const a={cwd:i.assertString,root:i.assertString,rootMode:i.assertRootMode,configFile:i.assertConfigFileSearch,caller:i.assertCallerMetadata,filename:i.assertString,filenameRelative:i.assertString,code:i.assertBoolean,ast:i.assertBoolean,cloneInputAst:i.assertBoolean,envName:i.assertString};const o={babelrc:i.assertBoolean,babelrcRoots:i.assertBabelrcSearch};const l={extends:i.assertString,ignore:i.assertIgnoreList,only:i.assertIgnoreList,targets:i.assertTargets,browserslistConfigFile:i.assertConfigFileSearch,browserslistEnv:i.assertString};const u={inputSourceMap:i.assertInputSourceMap,presets:i.assertPluginList,plugins:i.assertPluginList,passPerPreset:i.assertBoolean,assumptions:i.assertAssumptions,env:assertEnvSet,overrides:assertOverridesList,test:i.assertConfigApplicableTest,include:i.assertConfigApplicableTest,exclude:i.assertConfigApplicableTest,retainLines:i.assertBoolean,comments:i.assertBoolean,shouldPrintComment:i.assertFunction,compact:i.assertCompact,minified:i.assertBoolean,auxiliaryCommentBefore:i.assertString,auxiliaryCommentAfter:i.assertString,sourceType:i.assertSourceType,wrapPluginVisitorMethod:i.assertFunction,highlightCode:i.assertBoolean,sourceMaps:i.assertSourceMaps,sourceMap:i.assertSourceMaps,sourceFileName:i.assertString,sourceRoot:i.assertString,parserOpts:i.assertObject,generatorOpts:i.assertObject};{Object.assign(u,{getModuleId:i.assertFunction,moduleRoot:i.assertString,moduleIds:i.assertBoolean,moduleId:i.assertString})}const p=new Set(["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noNewArrows","objectRestNoSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"]);t.assumptionsNames=p;function getSource(e){return e.type==="root"?e.source:getSource(e.parent)}function validate(e,t){return validateNested({type:"root",source:e},t)}function validateNested(e,t){const r=getSource(e);assertNoDuplicateSourcemap(t);Object.keys(t).forEach(n=>{const s={type:"option",name:n,parent:e};if(r==="preset"&&l[n]){throw new Error(`${(0,i.msg)(s)} is not allowed in preset options`)}if(r!=="arguments"&&a[n]){throw new Error(`${(0,i.msg)(s)} is only allowed in root programmatic options`)}if(r!=="arguments"&&r!=="configfile"&&o[n]){if(r==="babelrcfile"||r==="extendsfile"){throw new Error(`${(0,i.msg)(s)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, `+`or babel.config.js/config file options`)}throw new Error(`${(0,i.msg)(s)} is only allowed in root programmatic options, or babel.config.js/config file options`)}const p=u[n]||l[n]||o[n]||a[n]||throwUnknownError;p(s,t[n])});return t}function throwUnknownError(e){const t=e.name;if(s.default[t]){const{message:r,version:n=5}=s.default[t];throw new Error(`Using removed Babel ${n} option: ${(0,i.msg)(e)} - ${r}`)}else{const t=new Error(`Unknown option: ${(0,i.msg)(e)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);t.code="BABEL_UNKNOWN_OPTION";throw t}}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function assertNoDuplicateSourcemap(e){if(has(e,"sourceMap")&&has(e,"sourceMaps")){throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}}function assertEnvSet(e,t){if(e.parent.type==="env"){throw new Error(`${(0,i.msg)(e)} is not allowed inside of another .env block`)}const r=e.parent;const n=(0,i.assertObject)(e,t);if(n){for(const t of Object.keys(n)){const s=(0,i.assertObject)((0,i.access)(e,t),n[t]);if(!s)continue;const a={type:"env",name:t,parent:r};validateNested(a,s)}}return n}function assertOverridesList(e,t){if(e.parent.type==="env"){throw new Error(`${(0,i.msg)(e)} is not allowed inside an .env block`)}if(e.parent.type==="overrides"){throw new Error(`${(0,i.msg)(e)} is not allowed inside an .overrides block`)}const r=e.parent;const n=(0,i.assertArray)(e,t);if(n){for(const[t,s]of n.entries()){const n=(0,i.access)(e,t);const a=(0,i.assertObject)(n,s);if(!a)throw new Error(`${(0,i.msg)(n)} must be an object`);const o={type:"overrides",index:t,parent:r};validateNested(o,a)}}return n}function checkNoUnwrappedItemOptionPairs(e,t,r,n){if(t===0)return;const s=e[t-1];const i=e[t];if(s.file&&s.options===undefined&&typeof i.value==="object"){n.message+=`\n- Maybe you meant to use\n`+`"${r}": [\n ["${s.file.request}", ${JSON.stringify(i.value,undefined,2)}]\n]\n`+`To be a valid ${r}, its name and options should be wrapped in a pair of brackets`}}},82055:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validatePluginObject=validatePluginObject;var n=r(17741);const s={name:n.assertString,manipulateOptions:n.assertFunction,pre:n.assertFunction,post:n.assertFunction,inherits:n.assertFunction,visitor:assertVisitorMap,parserOverride:n.assertFunction,generatorOverride:n.assertFunction};function assertVisitorMap(e,t){const r=(0,n.assertObject)(e,t);if(r){Object.keys(r).forEach(e=>assertVisitorHandler(e,r[e]));if(r.enter||r.exit){throw new Error(`${(0,n.msg)(e)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`)}}return r}function assertVisitorHandler(e,t){if(t&&typeof t==="object"){Object.keys(t).forEach(t=>{if(t!=="enter"&&t!=="exit"){throw new Error(`.visitor["${e}"] may only have .enter and/or .exit handlers.`)}})}else if(typeof t!=="function"){throw new Error(`.visitor["${e}"] must be a function`)}return t}function validatePluginObject(e){const t={type:"root",source:"plugin"};Object.keys(e).forEach(r=>{const n=s[r];if(n){const s={type:"option",name:r,parent:t};n(s,e[r])}else{const e=new Error(`.${r} is not a valid Plugin property`);e.code="BABEL_UNKNOWN_PLUGIN_PROPERTY";throw e}});return e}},43013:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. "+"Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. "+"Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using "+"or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. "+"Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. "+"Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the "+"tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling "+"that calls Babel to assign `map.file` themselves."}};t.default=r},28419:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.maybeAsync=maybeAsync;t.forwardAsync=forwardAsync;t.isThenable=isThenable;t.waitFor=t.onFirstPause=t.isAsync=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n=e=>e;const s=_gensync()(function*(e){return yield*e});const i=_gensync()({sync:()=>false,errback:e=>e(null,true)});t.isAsync=i;function maybeAsync(e,t){return _gensync()({sync(...r){const n=e.apply(this,r);if(isThenable(n))throw new Error(t);return n},async(...t){return Promise.resolve(e.apply(this,t))}})}const a=_gensync()({sync:e=>e("sync"),async:e=>e("async")});function forwardAsync(e,t){const r=_gensync()(e);return a(e=>{const n=r[e];return t(n)})}const o=_gensync()({name:"onFirstPause",arity:2,sync:function(e){return s.sync(e)},errback:function(e,t,r){let n=false;s.errback(e,(e,t)=>{n=true;r(e,t)});if(!n){t()}}});t.onFirstPause=o;const l=_gensync()({sync:n,async:n});t.waitFor=l;function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},60153:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stat=t.readFile=void 0;function _fs(){const e=r(35747);_fs=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n=_gensync()({sync:_fs().readFileSync,errback:_fs().readFile});t.readFile=n;const s=_gensync()({sync:_fs().statSync,errback:_fs().stat});t.stat=s},85850:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Plugin=Plugin;Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"buildExternalHelpers",{enumerable:true,get:function(){return s.default}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return i.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return i.resolvePreset}});Object.defineProperty(t,"getEnv",{enumerable:true,get:function(){return a.getEnv}});Object.defineProperty(t,"tokTypes",{enumerable:true,get:function(){return _parser().tokTypes}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return _traverse().default}});Object.defineProperty(t,"template",{enumerable:true,get:function(){return _template().default}});Object.defineProperty(t,"createConfigItem",{enumerable:true,get:function(){return o.createConfigItem}});Object.defineProperty(t,"createConfigItemSync",{enumerable:true,get:function(){return o.createConfigItemSync}});Object.defineProperty(t,"createConfigItemAsync",{enumerable:true,get:function(){return o.createConfigItemAsync}});Object.defineProperty(t,"loadPartialConfig",{enumerable:true,get:function(){return o.loadPartialConfig}});Object.defineProperty(t,"loadPartialConfigSync",{enumerable:true,get:function(){return o.loadPartialConfigSync}});Object.defineProperty(t,"loadPartialConfigAsync",{enumerable:true,get:function(){return o.loadPartialConfigAsync}});Object.defineProperty(t,"loadOptions",{enumerable:true,get:function(){return o.loadOptions}});Object.defineProperty(t,"loadOptionsSync",{enumerable:true,get:function(){return o.loadOptionsSync}});Object.defineProperty(t,"loadOptionsAsync",{enumerable:true,get:function(){return o.loadOptionsAsync}});Object.defineProperty(t,"transform",{enumerable:true,get:function(){return l.transform}});Object.defineProperty(t,"transformSync",{enumerable:true,get:function(){return l.transformSync}});Object.defineProperty(t,"transformAsync",{enumerable:true,get:function(){return l.transformAsync}});Object.defineProperty(t,"transformFile",{enumerable:true,get:function(){return u.transformFile}});Object.defineProperty(t,"transformFileSync",{enumerable:true,get:function(){return u.transformFileSync}});Object.defineProperty(t,"transformFileAsync",{enumerable:true,get:function(){return u.transformFileAsync}});Object.defineProperty(t,"transformFromAst",{enumerable:true,get:function(){return p.transformFromAst}});Object.defineProperty(t,"transformFromAstSync",{enumerable:true,get:function(){return p.transformFromAstSync}});Object.defineProperty(t,"transformFromAstAsync",{enumerable:true,get:function(){return p.transformFromAstAsync}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return f.parse}});Object.defineProperty(t,"parseSync",{enumerable:true,get:function(){return f.parseSync}});Object.defineProperty(t,"parseAsync",{enumerable:true,get:function(){return f.parseAsync}});t.types=t.OptionManager=t.DEFAULT_EXTENSIONS=t.version=void 0;var n=r(13317);var s=r(75570);var i=r(21735);var a=r(67058);function _types(){const e=r(79584);_types=function(){return e};return e}Object.defineProperty(t,"types",{enumerable:true,get:function(){return _types()}});function _parser(){const e=r(58157);_parser=function(){return e};return e}function _traverse(){const e=r(4267);_traverse=function(){return e};return e}function _template(){const e=r(36900);_template=function(){return e};return e}var o=r(98534);var l=r(52101);var u=r(38126);var p=r(4261);var f=r(56413);const c="7.14.6";t.version=c;const d=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);t.DEFAULT_EXTENSIONS=d;class OptionManager{init(e){return(0,o.loadOptions)(e)}}t.OptionManager=OptionManager;function Plugin(e){throw new Error(`The (${e}) Babel 5 plugin is being run with an unsupported Babel version.`)}},56413:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseAsync=t.parseSync=t.parse=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(98534);var s=r(92798);var i=r(78593);const a=_gensync()(function*parse(e,t){const r=yield*(0,n.default)(t);if(r===null){return null}return yield*(0,s.default)(r.passes,(0,i.default)(r),e)});const o=function parse(e,t,r){if(typeof t==="function"){r=t;t=undefined}if(r===undefined)return a.sync(e,t);a.errback(e,t,r)};t.parse=o;const l=a.sync;t.parseSync=l;const u=a.async;t.parseAsync=u},92798:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parser;function _parser(){const e=r(58157);_parser=function(){return e};return e}function _codeFrame(){const e=r(16619);_codeFrame=function(){return e};return e}var n=r(94723);function*parser(e,{parserOpts:t,highlightCode:r=true,filename:s="unknown"},i){try{const a=[];for(const r of e){for(const e of r){const{parserOverride:r}=e;if(r){const e=r(i,t,_parser().parse);if(e!==undefined)a.push(e)}}}if(a.length===0){return(0,_parser().parse)(i,t)}else if(a.length===1){yield*[];if(typeof a[0].then==="function"){throw new Error(`You appear to be using an async parser plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}return a[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(e){if(e.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"){e.message+="\nConsider renaming the file to '.mjs', or setting sourceType:module "+"or sourceType:unambiguous in your Babel config for this file."}const{loc:t,missingPlugin:a}=e;if(t){const o=(0,_codeFrame().codeFrameColumns)(i,{start:{line:t.line,column:t.column+1}},{highlightCode:r});if(a){e.message=`${s}: `+(0,n.default)(a[0],t,o)}else{e.message=`${s}: ${e.message}\n\n`+o}e.code="BABEL_PARSE_ERROR"}throw e}}},94723:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateMissingPluginMessage;const r={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",url:"https://git.io/JYer8"}},classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-private-methods",url:"https://git.io/JvpRG"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://git.io/JTLB6"},transform:{name:"@babel/plugin-proposal-class-static-block",url:"https://git.io/JTLBP"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://git.io/JfKOH"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://git.io/vb4y9"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://git.io/vb4ST"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://git.io/vb4yh"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://git.io/vb4S3"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://git.io/vb4Sv"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://git.io/vb4SO"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://git.io/vb4yH"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://git.io/vb4Sf"},transform:{name:"@babel/plugin-proposal-export-namespace-from",url:"https://git.io/vb4SG"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://git.io/vb4yb"},transform:{name:"@babel/preset-flow",url:"https://git.io/JfeDn"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://git.io/vb4y7"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://git.io/vb4St"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://git.io/vb4yN"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://git.io/vb4SZ"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://git.io/vbKK6"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://git.io/vb4yA"},transform:{name:"@babel/preset-react",url:"https://git.io/JfeDR"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://git.io/JUbkv"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://git.io/JTL8G"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://git.io/vb4Sq"},transform:{name:"@babel/plugin-proposal-numeric-separator",url:"https://git.io/vb4yS"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://git.io/vb4Sc"},transform:{name:"@babel/plugin-proposal-optional-chaining",url:"https://git.io/vb4Sk"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://git.io/vb4yj"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://git.io/vb4SU"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://git.io/JfK3q"},transform:{name:"@babel/plugin-proposal-private-property-in-object",url:"https://git.io/JfK3O"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://git.io/JvKp3"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://git.io/vb4SJ"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://git.io/vb4yF"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://git.io/vb4SC"},transform:{name:"@babel/preset-typescript",url:"https://git.io/JfeDz"}},asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://git.io/vb4SY"},transform:{name:"@babel/plugin-proposal-async-generator-functions",url:"https://git.io/vb4yp"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://git.io/vAlBp"},transform:{name:"@babel/plugin-proposal-logical-assignment-operators",url:"https://git.io/vAlRe"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://git.io/vb4yx"},transform:{name:"@babel/plugin-proposal-nullish-coalescing-operator",url:"https://git.io/vb4Se"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://git.io/vb4y5"},transform:{name:"@babel/plugin-proposal-object-rest-spread",url:"https://git.io/vb4Ss"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://git.io/vb4Sn"},transform:{name:"@babel/plugin-proposal-optional-catch-binding",url:"https://git.io/vb4SI"}}};r.privateIn.syntax=r.privateIn.transform;const n=({name:e,url:t})=>`${e} (${t})`;function generateMissingPluginMessage(e,t,s){let i=`Support for the experimental syntax '${e}' isn't currently enabled `+`(${t.line}:${t.column+1}):\n\n`+s;const a=r[e];if(a){const{syntax:e,transform:t}=a;if(e){const r=n(e);if(t){const e=n(t);const s=t.name.startsWith("@babel/plugin")?"plugins":"presets";i+=`\n\nAdd ${e} to the '${s}' section of your Babel config to enable transformation.\nIf you want to leave it as-is, add ${r} to the 'plugins' section to enable parsing.`}else{i+=`\n\nAdd ${r} to the 'plugins' section of your Babel config `+`to enable parsing.`}}}return i}},75570:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=_default;function helpers(){const e=n(56976);helpers=function(){return e};return e}function _generator(){const e=n(23656);_generator=function(){return e};return e}function _template(){const e=n(36900);_template=function(){return e};return e}function t(){const e=n(79584);t=function(){return e};return e}var s=n(13317);const i=e=>(0,_template().default)` +module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"48","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},65561:e=>{"use strict";e.exports=JSON.parse('{"proposal-class-static-block":{"chrome":"91","electron":"13.0"},"proposal-private-property-in-object":{"chrome":"91","firefox":"90","electron":"13.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","samsung":"11","electron":"6.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","electron":"10.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","ios":"13","samsung":"11","electron":"6.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","ios":"14","electron":"10.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.0"},"proposal-optional-chaining":{"firefox":"74","safari":"13.1","ios":"13.4"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","ios":"12","samsung":"9","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","ios":"11.3","samsung":"8","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","ios":"11.3","samsung":"8","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","ios":"13","samsung":"3.4","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"45","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","ie":"11","ios":"10","samsung":"3.4","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","ios":"8","samsung":"4","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","ios":"12","samsung":"5","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-block-scoping":{"chrome":"49","opera":"36","edge":"14","firefox":"51","safari":"11","node":"6","ios":"11","samsung":"5","electron":"0.37"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"41","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4.4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"proposal-export-namespace-from":{"chrome":"72","and_chr":"72","edge":"79","firefox":"80","and_ff":"80","node":"13.2","opera":"60","op_mob":"51","samsung":"11.0","android":"72","electron":"5.0"}}')},54039:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t})}webpackEmptyAsyncContext.keys=(()=>[]);webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=54039;e.exports=webpackEmptyAsyncContext},2469:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"assert/strict":">= 15","async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"diagnostics_channel":">= 15.1","dns":true,"dns/promises":">= 15","domain":">= 0.7.12","events":true,"freelist":"< 6","fs":true,"fs/promises":[">= 10 && < 10.1",">= 14"],"_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12","os":true,"path":true,"path/posix":">= 15.3","path/win32":">= 15.3","perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"stream/promises":">= 15","string_decoder":true,"sys":[">= 0.6 && < 0.7",">= 0.8"],"timers":true,"timers/promises":">= 15","_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"util/types":">= 15.3","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8":">= 1","vm":true,"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","zlib":true}')},10078:e=>{"use strict";e.exports=JSON.parse('{"es6.array.copy-within":{"chrome":"45","opera":"32","edge":"12","firefox":"32","safari":"9","node":"4","ios":"9","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.every":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.fill":{"chrome":"45","opera":"32","edge":"12","firefox":"31","safari":"7.1","node":"4","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.filter":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.find":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"7.1","node":"4","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.find-index":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"7.1","node":"4","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es7.array.flat-map":{"chrome":"69","opera":"56","edge":"79","firefox":"62","safari":"12","node":"11","ios":"12","samsung":"10","electron":"4.0"},"es6.array.for-each":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.from":{"chrome":"51","opera":"38","edge":"15","firefox":"36","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.array.includes":{"chrome":"47","opera":"34","edge":"14","firefox":"43","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"es6.array.index-of":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.is-array":{"chrome":"5","opera":"10.50","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.iterator":{"chrome":"66","opera":"53","edge":"12","firefox":"60","safari":"9","node":"10","ios":"9","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es6.array.last-index-of":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.map":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.of":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"9","node":"4","ios":"9","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.reduce":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.reduce-right":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.slice":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.some":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.sort":{"chrome":"63","opera":"50","edge":"12","firefox":"5","safari":"12","node":"10","ie":"9","ios":"12","samsung":"8","rhino":"1.7.13","electron":"3.0"},"es6.array.species":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.date.now":{"chrome":"5","opera":"10.50","edge":"12","firefox":"2","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-iso-string":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3.5","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-json":{"chrome":"5","opera":"12.10","edge":"12","firefox":"4","safari":"10","node":"0.10","ie":"9","android":"4","ios":"10","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-primitive":{"chrome":"47","opera":"34","edge":"15","firefox":"44","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"es6.date.to-string":{"chrome":"5","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"10","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.function.bind":{"chrome":"7","opera":"12","edge":"12","firefox":"4","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.function.has-instance":{"chrome":"51","opera":"38","edge":"15","firefox":"50","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.function.name":{"chrome":"5","opera":"10.50","edge":"14","firefox":"2","safari":"4","node":"0.10","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.map":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.math.acosh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.asinh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.atanh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.cbrt":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.clz32":{"chrome":"38","opera":"25","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.cosh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.expm1":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.fround":{"chrome":"38","opera":"25","edge":"12","firefox":"26","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.hypot":{"chrome":"38","opera":"25","edge":"12","firefox":"27","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.imul":{"chrome":"30","opera":"17","edge":"12","firefox":"23","safari":"7","node":"0.12","android":"4.4","ios":"7","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.math.log1p":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.log10":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.log2":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.sign":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.sinh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.tanh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.trunc":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.number.constructor":{"chrome":"41","opera":"28","edge":"12","firefox":"36","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.number.epsilon":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.is-finite":{"chrome":"19","opera":"15","edge":"12","firefox":"16","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.number.is-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"16","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.is-nan":{"chrome":"19","opera":"15","edge":"12","firefox":"15","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.number.is-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"32","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.max-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.min-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.parse-float":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.parse-int":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.object.assign":{"chrome":"49","opera":"36","edge":"13","firefox":"36","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.object.create":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.object.define-getter":{"chrome":"62","opera":"49","edge":"16","firefox":"48","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es7.object.define-setter":{"chrome":"62","opera":"49","edge":"16","firefox":"48","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es6.object.define-property":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.object.define-properties":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.object.entries":{"chrome":"54","opera":"41","edge":"14","firefox":"47","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.object.freeze":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.get-own-property-descriptor":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es7.object.get-own-property-descriptors":{"chrome":"54","opera":"41","edge":"15","firefox":"50","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.object.get-own-property-names":{"chrome":"40","opera":"27","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.object.get-prototype-of":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es7.object.lookup-getter":{"chrome":"62","opera":"49","edge":"79","firefox":"36","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es7.object.lookup-setter":{"chrome":"62","opera":"49","edge":"79","firefox":"36","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es6.object.prevent-extensions":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.to-string":{"chrome":"57","opera":"44","edge":"15","firefox":"51","safari":"10","node":"8","ios":"10","samsung":"7","electron":"1.7"},"es6.object.is":{"chrome":"19","opera":"15","edge":"12","firefox":"22","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.object.is-frozen":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.is-sealed":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.is-extensible":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.keys":{"chrome":"40","opera":"27","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.object.seal":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.set-prototype-of":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ie":"11","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es7.object.values":{"chrome":"54","opera":"41","edge":"14","firefox":"47","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.promise":{"chrome":"51","opera":"38","edge":"14","firefox":"45","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.promise.finally":{"chrome":"63","opera":"50","edge":"18","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"8","electron":"3.0"},"es6.reflect.apply":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.construct":{"chrome":"49","opera":"36","edge":"13","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.define-property":{"chrome":"49","opera":"36","edge":"13","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.delete-property":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get-own-property-descriptor":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get-prototype-of":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.has":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.is-extensible":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.own-keys":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.prevent-extensions":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.set":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.set-prototype-of":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.regexp.constructor":{"chrome":"50","opera":"37","edge":"79","firefox":"40","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.flags":{"chrome":"49","opera":"36","edge":"79","firefox":"37","safari":"9","node":"6","ios":"9","samsung":"5","electron":"0.37"},"es6.regexp.match":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","rhino":"1.7.13","electron":"1.1"},"es6.regexp.replace":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.split":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.search":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","rhino":"1.7.13","electron":"1.1"},"es6.regexp.to-string":{"chrome":"50","opera":"37","edge":"79","firefox":"39","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.set":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.symbol":{"chrome":"51","opera":"38","edge":"79","firefox":"51","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.symbol.async-iterator":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"es6.string.anchor":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.big":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.blink":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.bold":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.code-point-at":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.ends-with":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.fixed":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.fontcolor":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.fontsize":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.from-code-point":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.includes":{"chrome":"41","opera":"28","edge":"12","firefox":"40","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.italics":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.iterator":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.string.link":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es7.string.pad-start":{"chrome":"57","opera":"44","edge":"15","firefox":"48","safari":"10","node":"8","ios":"10","samsung":"7","rhino":"1.7.13","electron":"1.7"},"es7.string.pad-end":{"chrome":"57","opera":"44","edge":"15","firefox":"48","safari":"10","node":"8","ios":"10","samsung":"7","rhino":"1.7.13","electron":"1.7"},"es6.string.raw":{"chrome":"41","opera":"28","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.repeat":{"chrome":"41","opera":"28","edge":"12","firefox":"24","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.small":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.starts-with":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.strike":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.sub":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.sup":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.trim":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3.5","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.string.trim-left":{"chrome":"66","opera":"53","edge":"79","firefox":"61","safari":"12","node":"10","ios":"12","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es7.string.trim-right":{"chrome":"66","opera":"53","edge":"79","firefox":"61","safari":"12","node":"10","ios":"12","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es6.typed.array-buffer":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.data-view":{"chrome":"5","opera":"12","edge":"12","firefox":"15","safari":"5.1","node":"0.10","ie":"10","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.typed.int8-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint8-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint8-clamped-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.int16-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint16-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.int32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.float32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.float64-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.weak-map":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"9","node":"6.5","ios":"9","samsung":"5","electron":"1.2"},"es6.weak-set":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"9","node":"6.5","ios":"9","samsung":"5","electron":"1.2"}}')},71604:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"48","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},28640:e=>{"use strict";e.exports=JSON.parse('{"proposal-class-static-block":{"chrome":"91","electron":"13.0"},"proposal-private-property-in-object":{"chrome":"91","firefox":"90","electron":"13.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","samsung":"11","electron":"6.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","electron":"10.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","ios":"13","samsung":"11","electron":"6.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","ios":"14","electron":"10.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.0"},"proposal-optional-chaining":{"firefox":"74","safari":"13.1","ios":"13.4"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","ios":"12","samsung":"9","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","ios":"11.3","samsung":"8","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","ios":"11.3","samsung":"8","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","ios":"13","samsung":"3.4","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"43","safari":"10","node":"6","ios":"10","samsung":"5","rhino":"1.7.13","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","ie":"11","ios":"10","samsung":"3.4","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","ios":"8","samsung":"4","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","ios":"12","samsung":"5","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-block-scoping":{"chrome":"49","opera":"36","edge":"14","firefox":"51","safari":"11","node":"6","ios":"11","samsung":"5","electron":"0.37"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4.4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"proposal-export-namespace-from":{"chrome":"72","and_chr":"72","edge":"79","firefox":"80","and_ff":"80","node":"13.2","opera":"60","op_mob":"51","samsung":"11.0","android":"72","electron":"5.0"}}')},78409:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t})}webpackEmptyAsyncContext.keys=(()=>[]);webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=78409;e.exports=webpackEmptyAsyncContext},43323:e=>{"use strict";e.exports={version:"4.3.0"}},77591:e=>{"use strict";e.exports={i8:"5.1.1"}},35464:e=>{"use strict";e.exports={i8:"4.3.0"}},67589:e=>{"use strict";e.exports=JSON.parse('{"builtin":{"Array":false,"ArrayBuffer":false,"Atomics":false,"BigInt":false,"BigInt64Array":false,"BigUint64Array":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"globalThis":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es5":{"Array":false,"Boolean":false,"constructor":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"propertyIsEnumerable":false,"RangeError":false,"ReferenceError":false,"RegExp":false,"String":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false},"es2015":{"Array":false,"ArrayBuffer":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es2017":{"Array":false,"ArrayBuffer":false,"Atomics":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"browser":{"AbortController":false,"AbortSignal":false,"addEventListener":false,"alert":false,"AnalyserNode":false,"Animation":false,"AnimationEffectReadOnly":false,"AnimationEffectTiming":false,"AnimationEffectTimingReadOnly":false,"AnimationEvent":false,"AnimationPlaybackEvent":false,"AnimationTimeline":false,"applicationCache":false,"ApplicationCache":false,"ApplicationCacheErrorEvent":false,"atob":false,"Attr":false,"Audio":false,"AudioBuffer":false,"AudioBufferSourceNode":false,"AudioContext":false,"AudioDestinationNode":false,"AudioListener":false,"AudioNode":false,"AudioParam":false,"AudioProcessingEvent":false,"AudioScheduledSourceNode":false,"AudioWorkletGlobalScope ":false,"AudioWorkletNode":false,"AudioWorkletProcessor":false,"BarProp":false,"BaseAudioContext":false,"BatteryManager":false,"BeforeUnloadEvent":false,"BiquadFilterNode":false,"Blob":false,"BlobEvent":false,"blur":false,"BroadcastChannel":false,"btoa":false,"BudgetService":false,"ByteLengthQueuingStrategy":false,"Cache":false,"caches":false,"CacheStorage":false,"cancelAnimationFrame":false,"cancelIdleCallback":false,"CanvasCaptureMediaStreamTrack":false,"CanvasGradient":false,"CanvasPattern":false,"CanvasRenderingContext2D":false,"ChannelMergerNode":false,"ChannelSplitterNode":false,"CharacterData":false,"clearInterval":false,"clearTimeout":false,"clientInformation":false,"ClipboardEvent":false,"close":false,"closed":false,"CloseEvent":false,"Comment":false,"CompositionEvent":false,"confirm":false,"console":false,"ConstantSourceNode":false,"ConvolverNode":false,"CountQueuingStrategy":false,"createImageBitmap":false,"Credential":false,"CredentialsContainer":false,"crypto":false,"Crypto":false,"CryptoKey":false,"CSS":false,"CSSConditionRule":false,"CSSFontFaceRule":false,"CSSGroupingRule":false,"CSSImportRule":false,"CSSKeyframeRule":false,"CSSKeyframesRule":false,"CSSMediaRule":false,"CSSNamespaceRule":false,"CSSPageRule":false,"CSSRule":false,"CSSRuleList":false,"CSSStyleDeclaration":false,"CSSStyleRule":false,"CSSStyleSheet":false,"CSSSupportsRule":false,"CustomElementRegistry":false,"customElements":false,"CustomEvent":false,"DataTransfer":false,"DataTransferItem":false,"DataTransferItemList":false,"defaultstatus":false,"defaultStatus":false,"DelayNode":false,"DeviceMotionEvent":false,"DeviceOrientationEvent":false,"devicePixelRatio":false,"dispatchEvent":false,"document":false,"Document":false,"DocumentFragment":false,"DocumentType":false,"DOMError":false,"DOMException":false,"DOMImplementation":false,"DOMMatrix":false,"DOMMatrixReadOnly":false,"DOMParser":false,"DOMPoint":false,"DOMPointReadOnly":false,"DOMQuad":false,"DOMRect":false,"DOMRectReadOnly":false,"DOMStringList":false,"DOMStringMap":false,"DOMTokenList":false,"DragEvent":false,"DynamicsCompressorNode":false,"Element":false,"ErrorEvent":false,"event":false,"Event":false,"EventSource":false,"EventTarget":false,"external":false,"fetch":false,"File":false,"FileList":false,"FileReader":false,"find":false,"focus":false,"FocusEvent":false,"FontFace":false,"FontFaceSetLoadEvent":false,"FormData":false,"frameElement":false,"frames":false,"GainNode":false,"Gamepad":false,"GamepadButton":false,"GamepadEvent":false,"getComputedStyle":false,"getSelection":false,"HashChangeEvent":false,"Headers":false,"history":false,"History":false,"HTMLAllCollection":false,"HTMLAnchorElement":false,"HTMLAreaElement":false,"HTMLAudioElement":false,"HTMLBaseElement":false,"HTMLBodyElement":false,"HTMLBRElement":false,"HTMLButtonElement":false,"HTMLCanvasElement":false,"HTMLCollection":false,"HTMLContentElement":false,"HTMLDataElement":false,"HTMLDataListElement":false,"HTMLDetailsElement":false,"HTMLDialogElement":false,"HTMLDirectoryElement":false,"HTMLDivElement":false,"HTMLDListElement":false,"HTMLDocument":false,"HTMLElement":false,"HTMLEmbedElement":false,"HTMLFieldSetElement":false,"HTMLFontElement":false,"HTMLFormControlsCollection":false,"HTMLFormElement":false,"HTMLFrameElement":false,"HTMLFrameSetElement":false,"HTMLHeadElement":false,"HTMLHeadingElement":false,"HTMLHRElement":false,"HTMLHtmlElement":false,"HTMLIFrameElement":false,"HTMLImageElement":false,"HTMLInputElement":false,"HTMLLabelElement":false,"HTMLLegendElement":false,"HTMLLIElement":false,"HTMLLinkElement":false,"HTMLMapElement":false,"HTMLMarqueeElement":false,"HTMLMediaElement":false,"HTMLMenuElement":false,"HTMLMetaElement":false,"HTMLMeterElement":false,"HTMLModElement":false,"HTMLObjectElement":false,"HTMLOListElement":false,"HTMLOptGroupElement":false,"HTMLOptionElement":false,"HTMLOptionsCollection":false,"HTMLOutputElement":false,"HTMLParagraphElement":false,"HTMLParamElement":false,"HTMLPictureElement":false,"HTMLPreElement":false,"HTMLProgressElement":false,"HTMLQuoteElement":false,"HTMLScriptElement":false,"HTMLSelectElement":false,"HTMLShadowElement":false,"HTMLSlotElement":false,"HTMLSourceElement":false,"HTMLSpanElement":false,"HTMLStyleElement":false,"HTMLTableCaptionElement":false,"HTMLTableCellElement":false,"HTMLTableColElement":false,"HTMLTableElement":false,"HTMLTableRowElement":false,"HTMLTableSectionElement":false,"HTMLTemplateElement":false,"HTMLTextAreaElement":false,"HTMLTimeElement":false,"HTMLTitleElement":false,"HTMLTrackElement":false,"HTMLUListElement":false,"HTMLUnknownElement":false,"HTMLVideoElement":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"IdleDeadline":false,"IIRFilterNode":false,"Image":false,"ImageBitmap":false,"ImageBitmapRenderingContext":false,"ImageCapture":false,"ImageData":false,"indexedDB":false,"innerHeight":false,"innerWidth":false,"InputEvent":false,"IntersectionObserver":false,"IntersectionObserverEntry":false,"Intl":false,"isSecureContext":false,"KeyboardEvent":false,"KeyframeEffect":false,"KeyframeEffectReadOnly":false,"length":false,"localStorage":false,"location":true,"Location":false,"locationbar":false,"matchMedia":false,"MediaDeviceInfo":false,"MediaDevices":false,"MediaElementAudioSourceNode":false,"MediaEncryptedEvent":false,"MediaError":false,"MediaKeyMessageEvent":false,"MediaKeySession":false,"MediaKeyStatusMap":false,"MediaKeySystemAccess":false,"MediaList":false,"MediaQueryList":false,"MediaQueryListEvent":false,"MediaRecorder":false,"MediaSettingsRange":false,"MediaSource":false,"MediaStream":false,"MediaStreamAudioDestinationNode":false,"MediaStreamAudioSourceNode":false,"MediaStreamEvent":false,"MediaStreamTrack":false,"MediaStreamTrackEvent":false,"menubar":false,"MessageChannel":false,"MessageEvent":false,"MessagePort":false,"MIDIAccess":false,"MIDIConnectionEvent":false,"MIDIInput":false,"MIDIInputMap":false,"MIDIMessageEvent":false,"MIDIOutput":false,"MIDIOutputMap":false,"MIDIPort":false,"MimeType":false,"MimeTypeArray":false,"MouseEvent":false,"moveBy":false,"moveTo":false,"MutationEvent":false,"MutationObserver":false,"MutationRecord":false,"name":false,"NamedNodeMap":false,"NavigationPreloadManager":false,"navigator":false,"Navigator":false,"NetworkInformation":false,"Node":false,"NodeFilter":false,"NodeIterator":false,"NodeList":false,"Notification":false,"OfflineAudioCompletionEvent":false,"OfflineAudioContext":false,"offscreenBuffering":false,"OffscreenCanvas":true,"onabort":true,"onafterprint":true,"onanimationend":true,"onanimationiteration":true,"onanimationstart":true,"onappinstalled":true,"onauxclick":true,"onbeforeinstallprompt":true,"onbeforeprint":true,"onbeforeunload":true,"onblur":true,"oncancel":true,"oncanplay":true,"oncanplaythrough":true,"onchange":true,"onclick":true,"onclose":true,"oncontextmenu":true,"oncuechange":true,"ondblclick":true,"ondevicemotion":true,"ondeviceorientation":true,"ondeviceorientationabsolute":true,"ondrag":true,"ondragend":true,"ondragenter":true,"ondragleave":true,"ondragover":true,"ondragstart":true,"ondrop":true,"ondurationchange":true,"onemptied":true,"onended":true,"onerror":true,"onfocus":true,"ongotpointercapture":true,"onhashchange":true,"oninput":true,"oninvalid":true,"onkeydown":true,"onkeypress":true,"onkeyup":true,"onlanguagechange":true,"onload":true,"onloadeddata":true,"onloadedmetadata":true,"onloadstart":true,"onlostpointercapture":true,"onmessage":true,"onmessageerror":true,"onmousedown":true,"onmouseenter":true,"onmouseleave":true,"onmousemove":true,"onmouseout":true,"onmouseover":true,"onmouseup":true,"onmousewheel":true,"onoffline":true,"ononline":true,"onpagehide":true,"onpageshow":true,"onpause":true,"onplay":true,"onplaying":true,"onpointercancel":true,"onpointerdown":true,"onpointerenter":true,"onpointerleave":true,"onpointermove":true,"onpointerout":true,"onpointerover":true,"onpointerup":true,"onpopstate":true,"onprogress":true,"onratechange":true,"onrejectionhandled":true,"onreset":true,"onresize":true,"onscroll":true,"onsearch":true,"onseeked":true,"onseeking":true,"onselect":true,"onstalled":true,"onstorage":true,"onsubmit":true,"onsuspend":true,"ontimeupdate":true,"ontoggle":true,"ontransitionend":true,"onunhandledrejection":true,"onunload":true,"onvolumechange":true,"onwaiting":true,"onwheel":true,"open":false,"openDatabase":false,"opener":false,"Option":false,"origin":false,"OscillatorNode":false,"outerHeight":false,"outerWidth":false,"PageTransitionEvent":false,"pageXOffset":false,"pageYOffset":false,"PannerNode":false,"parent":false,"Path2D":false,"PaymentAddress":false,"PaymentRequest":false,"PaymentRequestUpdateEvent":false,"PaymentResponse":false,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceLongTaskTiming":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceNavigationTiming":false,"PerformanceObserver":false,"PerformanceObserverEntryList":false,"PerformancePaintTiming":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"PeriodicWave":false,"Permissions":false,"PermissionStatus":false,"personalbar":false,"PhotoCapabilities":false,"Plugin":false,"PluginArray":false,"PointerEvent":false,"PopStateEvent":false,"postMessage":false,"Presentation":false,"PresentationAvailability":false,"PresentationConnection":false,"PresentationConnectionAvailableEvent":false,"PresentationConnectionCloseEvent":false,"PresentationConnectionList":false,"PresentationReceiver":false,"PresentationRequest":false,"print":false,"ProcessingInstruction":false,"ProgressEvent":false,"PromiseRejectionEvent":false,"prompt":false,"PushManager":false,"PushSubscription":false,"PushSubscriptionOptions":false,"queueMicrotask":false,"RadioNodeList":false,"Range":false,"ReadableStream":false,"registerProcessor":false,"RemotePlayback":false,"removeEventListener":false,"Request":false,"requestAnimationFrame":false,"requestIdleCallback":false,"resizeBy":false,"ResizeObserver":false,"ResizeObserverEntry":false,"resizeTo":false,"Response":false,"RTCCertificate":false,"RTCDataChannel":false,"RTCDataChannelEvent":false,"RTCDtlsTransport":false,"RTCIceCandidate":false,"RTCIceGatherer":false,"RTCIceTransport":false,"RTCPeerConnection":false,"RTCPeerConnectionIceEvent":false,"RTCRtpContributingSource":false,"RTCRtpReceiver":false,"RTCRtpSender":false,"RTCSctpTransport":false,"RTCSessionDescription":false,"RTCStatsReport":false,"RTCTrackEvent":false,"screen":false,"Screen":false,"screenLeft":false,"ScreenOrientation":false,"screenTop":false,"screenX":false,"screenY":false,"ScriptProcessorNode":false,"scroll":false,"scrollbars":false,"scrollBy":false,"scrollTo":false,"scrollX":false,"scrollY":false,"SecurityPolicyViolationEvent":false,"Selection":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerRegistration":false,"sessionStorage":false,"setInterval":false,"setTimeout":false,"ShadowRoot":false,"SharedWorker":false,"SourceBuffer":false,"SourceBufferList":false,"speechSynthesis":false,"SpeechSynthesisEvent":false,"SpeechSynthesisUtterance":false,"StaticRange":false,"status":false,"statusbar":false,"StereoPannerNode":false,"stop":false,"Storage":false,"StorageEvent":false,"StorageManager":false,"styleMedia":false,"StyleSheet":false,"StyleSheetList":false,"SubtleCrypto":false,"SVGAElement":false,"SVGAngle":false,"SVGAnimatedAngle":false,"SVGAnimatedBoolean":false,"SVGAnimatedEnumeration":false,"SVGAnimatedInteger":false,"SVGAnimatedLength":false,"SVGAnimatedLengthList":false,"SVGAnimatedNumber":false,"SVGAnimatedNumberList":false,"SVGAnimatedPreserveAspectRatio":false,"SVGAnimatedRect":false,"SVGAnimatedString":false,"SVGAnimatedTransformList":false,"SVGAnimateElement":false,"SVGAnimateMotionElement":false,"SVGAnimateTransformElement":false,"SVGAnimationElement":false,"SVGCircleElement":false,"SVGClipPathElement":false,"SVGComponentTransferFunctionElement":false,"SVGDefsElement":false,"SVGDescElement":false,"SVGDiscardElement":false,"SVGElement":false,"SVGEllipseElement":false,"SVGFEBlendElement":false,"SVGFEColorMatrixElement":false,"SVGFEComponentTransferElement":false,"SVGFECompositeElement":false,"SVGFEConvolveMatrixElement":false,"SVGFEDiffuseLightingElement":false,"SVGFEDisplacementMapElement":false,"SVGFEDistantLightElement":false,"SVGFEDropShadowElement":false,"SVGFEFloodElement":false,"SVGFEFuncAElement":false,"SVGFEFuncBElement":false,"SVGFEFuncGElement":false,"SVGFEFuncRElement":false,"SVGFEGaussianBlurElement":false,"SVGFEImageElement":false,"SVGFEMergeElement":false,"SVGFEMergeNodeElement":false,"SVGFEMorphologyElement":false,"SVGFEOffsetElement":false,"SVGFEPointLightElement":false,"SVGFESpecularLightingElement":false,"SVGFESpotLightElement":false,"SVGFETileElement":false,"SVGFETurbulenceElement":false,"SVGFilterElement":false,"SVGForeignObjectElement":false,"SVGGElement":false,"SVGGeometryElement":false,"SVGGradientElement":false,"SVGGraphicsElement":false,"SVGImageElement":false,"SVGLength":false,"SVGLengthList":false,"SVGLinearGradientElement":false,"SVGLineElement":false,"SVGMarkerElement":false,"SVGMaskElement":false,"SVGMatrix":false,"SVGMetadataElement":false,"SVGMPathElement":false,"SVGNumber":false,"SVGNumberList":false,"SVGPathElement":false,"SVGPatternElement":false,"SVGPoint":false,"SVGPointList":false,"SVGPolygonElement":false,"SVGPolylineElement":false,"SVGPreserveAspectRatio":false,"SVGRadialGradientElement":false,"SVGRect":false,"SVGRectElement":false,"SVGScriptElement":false,"SVGSetElement":false,"SVGStopElement":false,"SVGStringList":false,"SVGStyleElement":false,"SVGSVGElement":false,"SVGSwitchElement":false,"SVGSymbolElement":false,"SVGTextContentElement":false,"SVGTextElement":false,"SVGTextPathElement":false,"SVGTextPositioningElement":false,"SVGTitleElement":false,"SVGTransform":false,"SVGTransformList":false,"SVGTSpanElement":false,"SVGUnitTypes":false,"SVGUseElement":false,"SVGViewElement":false,"TaskAttributionTiming":false,"Text":false,"TextDecoder":false,"TextEncoder":false,"TextEvent":false,"TextMetrics":false,"TextTrack":false,"TextTrackCue":false,"TextTrackCueList":false,"TextTrackList":false,"TimeRanges":false,"toolbar":false,"top":false,"Touch":false,"TouchEvent":false,"TouchList":false,"TrackEvent":false,"TransitionEvent":false,"TreeWalker":false,"UIEvent":false,"URL":false,"URLSearchParams":false,"ValidityState":false,"visualViewport":false,"VisualViewport":false,"VTTCue":false,"WaveShaperNode":false,"WebAssembly":false,"WebGL2RenderingContext":false,"WebGLActiveInfo":false,"WebGLBuffer":false,"WebGLContextEvent":false,"WebGLFramebuffer":false,"WebGLProgram":false,"WebGLQuery":false,"WebGLRenderbuffer":false,"WebGLRenderingContext":false,"WebGLSampler":false,"WebGLShader":false,"WebGLShaderPrecisionFormat":false,"WebGLSync":false,"WebGLTexture":false,"WebGLTransformFeedback":false,"WebGLUniformLocation":false,"WebGLVertexArrayObject":false,"WebSocket":false,"WheelEvent":false,"window":false,"Window":false,"Worker":false,"WritableStream":false,"XMLDocument":false,"XMLHttpRequest":false,"XMLHttpRequestEventTarget":false,"XMLHttpRequestUpload":false,"XMLSerializer":false,"XPathEvaluator":false,"XPathExpression":false,"XPathResult":false,"XSLTProcessor":false},"worker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"clearInterval":false,"clearTimeout":false,"close":true,"console":false,"fetch":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":true,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onlanguagechange":true,"onmessage":true,"onoffline":true,"ononline":true,"onrejectionhandled":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"removeEventListener":false,"Request":false,"Response":false,"self":true,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"node":{"__dirname":false,"__filename":false,"Buffer":false,"clearImmediate":false,"clearInterval":false,"clearTimeout":false,"console":false,"exports":true,"global":false,"Intl":false,"module":false,"process":false,"queueMicrotask":false,"require":false,"setImmediate":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false},"commonjs":{"exports":true,"global":false,"module":false,"require":false},"amd":{"define":false,"require":false},"mocha":{"after":false,"afterEach":false,"before":false,"beforeEach":false,"context":false,"describe":false,"it":false,"mocha":false,"run":false,"setup":false,"specify":false,"suite":false,"suiteSetup":false,"suiteTeardown":false,"teardown":false,"test":false,"xcontext":false,"xdescribe":false,"xit":false,"xspecify":false},"jasmine":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fail":false,"fdescribe":false,"fit":false,"it":false,"jasmine":false,"pending":false,"runs":false,"spyOn":false,"spyOnProperty":false,"waits":false,"waitsFor":false,"xdescribe":false,"xit":false},"jest":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fdescribe":false,"fit":false,"it":false,"jest":false,"pit":false,"require":false,"test":false,"xdescribe":false,"xit":false,"xtest":false},"qunit":{"asyncTest":false,"deepEqual":false,"equal":false,"expect":false,"module":false,"notDeepEqual":false,"notEqual":false,"notOk":false,"notPropEqual":false,"notStrictEqual":false,"ok":false,"propEqual":false,"QUnit":false,"raises":false,"start":false,"stop":false,"strictEqual":false,"test":false,"throws":false},"phantomjs":{"console":true,"exports":true,"phantom":true,"require":true,"WebPage":true},"couch":{"emit":false,"exports":false,"getRow":false,"log":false,"module":false,"provides":false,"require":false,"respond":false,"send":false,"start":false,"sum":false},"rhino":{"defineClass":false,"deserialize":false,"gc":false,"help":false,"importClass":false,"importPackage":false,"java":false,"load":false,"loadClass":false,"Packages":false,"print":false,"quit":false,"readFile":false,"readUrl":false,"runCommand":false,"seal":false,"serialize":false,"spawn":false,"sync":false,"toint32":false,"version":false},"nashorn":{"__DIR__":false,"__FILE__":false,"__LINE__":false,"com":false,"edu":false,"exit":false,"java":false,"Java":false,"javafx":false,"JavaImporter":false,"javax":false,"JSAdapter":false,"load":false,"loadWithNewGlobal":false,"org":false,"Packages":false,"print":false,"quit":false},"wsh":{"ActiveXObject":true,"Enumerator":true,"GetObject":true,"ScriptEngine":true,"ScriptEngineBuildVersion":true,"ScriptEngineMajorVersion":true,"ScriptEngineMinorVersion":true,"VBArray":true,"WScript":true,"WSH":true,"XDomainRequest":true},"jquery":{"$":false,"jQuery":false},"yui":{"YAHOO":false,"YAHOO_config":false,"YUI":false,"YUI_config":false},"shelljs":{"cat":false,"cd":false,"chmod":false,"config":false,"cp":false,"dirs":false,"echo":false,"env":false,"error":false,"exec":false,"exit":false,"find":false,"grep":false,"ln":false,"ls":false,"mkdir":false,"mv":false,"popd":false,"pushd":false,"pwd":false,"rm":false,"sed":false,"set":false,"target":false,"tempdir":false,"test":false,"touch":false,"which":false},"prototypejs":{"$":false,"$$":false,"$A":false,"$break":false,"$continue":false,"$F":false,"$H":false,"$R":false,"$w":false,"Abstract":false,"Ajax":false,"Autocompleter":false,"Builder":false,"Class":false,"Control":false,"Draggable":false,"Draggables":false,"Droppables":false,"Effect":false,"Element":false,"Enumerable":false,"Event":false,"Field":false,"Form":false,"Hash":false,"Insertion":false,"ObjectRange":false,"PeriodicalExecuter":false,"Position":false,"Prototype":false,"Scriptaculous":false,"Selector":false,"Sortable":false,"SortableObserver":false,"Sound":false,"Template":false,"Toggle":false,"Try":false},"meteor":{"_":false,"$":false,"Accounts":false,"AccountsClient":false,"AccountsCommon":false,"AccountsServer":false,"App":false,"Assets":false,"Blaze":false,"check":false,"Cordova":false,"DDP":false,"DDPRateLimiter":false,"DDPServer":false,"Deps":false,"EJSON":false,"Email":false,"HTTP":false,"Log":false,"Match":false,"Meteor":false,"Mongo":false,"MongoInternals":false,"Npm":false,"Package":false,"Plugin":false,"process":false,"Random":false,"ReactiveDict":false,"ReactiveVar":false,"Router":false,"ServiceConfiguration":false,"Session":false,"share":false,"Spacebars":false,"Template":false,"Tinytest":false,"Tracker":false,"UI":false,"Utils":false,"WebApp":false,"WebAppInternals":false},"mongo":{"_isWindows":false,"_rand":false,"BulkWriteResult":false,"cat":false,"cd":false,"connect":false,"db":false,"getHostName":false,"getMemInfo":false,"hostname":false,"ISODate":false,"listFiles":false,"load":false,"ls":false,"md5sumFile":false,"mkdir":false,"Mongo":false,"NumberInt":false,"NumberLong":false,"ObjectId":false,"PlanCache":false,"print":false,"printjson":false,"pwd":false,"quit":false,"removeFile":false,"rs":false,"sh":false,"UUID":false,"version":false,"WriteResult":false},"applescript":{"$":false,"Application":false,"Automation":false,"console":false,"delay":false,"Library":false,"ObjC":false,"ObjectSpecifier":false,"Path":false,"Progress":false,"Ref":false},"serviceworker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"CacheStorage":false,"clearInterval":false,"clearTimeout":false,"Client":false,"clients":false,"Clients":false,"close":true,"console":false,"ExtendableEvent":false,"ExtendableMessageEvent":false,"fetch":false,"FetchEvent":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":false,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onfetch":true,"oninstall":true,"onlanguagechange":true,"onmessage":true,"onmessageerror":true,"onnotificationclick":true,"onnotificationclose":true,"onoffline":true,"ononline":true,"onpush":true,"onpushsubscriptionchange":true,"onrejectionhandled":true,"onsync":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"registration":false,"removeEventListener":false,"Request":false,"Response":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerGlobalScope":false,"ServiceWorkerMessageEvent":false,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"skipWaiting":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"WindowClient":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"atomtest":{"advanceClock":false,"fakeClearInterval":false,"fakeClearTimeout":false,"fakeSetInterval":false,"fakeSetTimeout":false,"resetTimeouts":false,"waitsForPromise":false},"embertest":{"andThen":false,"click":false,"currentPath":false,"currentRouteName":false,"currentURL":false,"fillIn":false,"find":false,"findAll":false,"findWithAssert":false,"keyEvent":false,"pauseTest":false,"resumeTest":false,"triggerEvent":false,"visit":false,"wait":false},"protractor":{"$":false,"$$":false,"browser":false,"by":false,"By":false,"DartObject":false,"element":false,"protractor":false},"shared-node-browser":{"clearInterval":false,"clearTimeout":false,"console":false,"setInterval":false,"setTimeout":false,"URL":false,"URLSearchParams":false},"webextensions":{"browser":false,"chrome":false,"opr":false},"greasemonkey":{"cloneInto":false,"createObjectIn":false,"exportFunction":false,"GM":false,"GM_addStyle":false,"GM_deleteValue":false,"GM_getResourceText":false,"GM_getResourceURL":false,"GM_getValue":false,"GM_info":false,"GM_listValues":false,"GM_log":false,"GM_openInTab":false,"GM_registerMenuCommand":false,"GM_setClipboard":false,"GM_setValue":false,"GM_xmlhttpRequest":false,"unsafeWindow":false},"devtools":{"$":false,"$_":false,"$$":false,"$0":false,"$1":false,"$2":false,"$3":false,"$4":false,"$x":false,"chrome":false,"clear":false,"copy":false,"debug":false,"dir":false,"dirxml":false,"getEventListeners":false,"inspect":false,"keys":false,"monitor":false,"monitorEvents":false,"profile":false,"profileEnd":false,"queryObjects":false,"table":false,"undebug":false,"unmonitor":false,"unmonitorEvents":false,"values":false}}')},74986:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"assert/strict":">= 15","async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"diagnostics_channel":">= 15.1","dns":true,"dns/promises":">= 15","domain":">= 0.7.12","events":true,"freelist":"< 6","fs":true,"fs/promises":[">= 10 && < 10.1",">= 14"],"_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12","os":true,"path":true,"path/posix":">= 15.3","path/win32":">= 15.3","perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"stream/promises":">= 15","string_decoder":true,"sys":[">= 0.6 && < 0.7",">= 0.8"],"timers":true,"timers/promises":">= 15","_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"util/types":">= 15.3","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8":">= 1","vm":true,"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","zlib":true}')},66353:e=>{"use strict";e.exports=JSON.parse('{"es6.array.copy-within":{"chrome":"45","opera":"32","edge":"12","firefox":"32","safari":"9","node":"4","ios":"9","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.every":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.fill":{"chrome":"45","opera":"32","edge":"12","firefox":"31","safari":"7.1","node":"4","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.filter":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.find":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"7.1","node":"4","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.find-index":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"7.1","node":"4","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es7.array.flat-map":{"chrome":"69","opera":"56","edge":"79","firefox":"62","safari":"12","node":"11","ios":"12","samsung":"10","electron":"4.0"},"es6.array.for-each":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.from":{"chrome":"51","opera":"38","edge":"15","firefox":"36","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.array.includes":{"chrome":"47","opera":"34","edge":"14","firefox":"43","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"es6.array.index-of":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.is-array":{"chrome":"5","opera":"10.50","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.iterator":{"chrome":"66","opera":"53","edge":"12","firefox":"60","safari":"9","node":"10","ios":"9","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es6.array.last-index-of":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.map":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.of":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"9","node":"4","ios":"9","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.reduce":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.reduce-right":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.slice":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.some":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.sort":{"chrome":"63","opera":"50","edge":"12","firefox":"5","safari":"12","node":"10","ie":"9","ios":"12","samsung":"8","rhino":"1.7.13","electron":"3.0"},"es6.array.species":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.date.now":{"chrome":"5","opera":"10.50","edge":"12","firefox":"2","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-iso-string":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3.5","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-json":{"chrome":"5","opera":"12.10","edge":"12","firefox":"4","safari":"10","node":"0.10","ie":"9","android":"4","ios":"10","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-primitive":{"chrome":"47","opera":"34","edge":"15","firefox":"44","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"es6.date.to-string":{"chrome":"5","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"10","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.function.bind":{"chrome":"7","opera":"12","edge":"12","firefox":"4","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.function.has-instance":{"chrome":"51","opera":"38","edge":"15","firefox":"50","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.function.name":{"chrome":"5","opera":"10.50","edge":"14","firefox":"2","safari":"4","node":"0.10","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.map":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.math.acosh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.asinh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.atanh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.cbrt":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.clz32":{"chrome":"38","opera":"25","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.cosh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.expm1":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.fround":{"chrome":"38","opera":"25","edge":"12","firefox":"26","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.hypot":{"chrome":"38","opera":"25","edge":"12","firefox":"27","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.imul":{"chrome":"30","opera":"17","edge":"12","firefox":"23","safari":"7","node":"0.12","android":"4.4","ios":"7","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.math.log1p":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.log10":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.log2":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.sign":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.sinh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.tanh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.trunc":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.number.constructor":{"chrome":"41","opera":"28","edge":"12","firefox":"36","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.number.epsilon":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.is-finite":{"chrome":"19","opera":"15","edge":"12","firefox":"16","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.number.is-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"16","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.is-nan":{"chrome":"19","opera":"15","edge":"12","firefox":"15","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.number.is-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"32","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.max-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.min-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.parse-float":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.parse-int":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.object.assign":{"chrome":"49","opera":"36","edge":"13","firefox":"36","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.object.create":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.object.define-getter":{"chrome":"62","opera":"49","edge":"16","firefox":"48","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es7.object.define-setter":{"chrome":"62","opera":"49","edge":"16","firefox":"48","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es6.object.define-property":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.object.define-properties":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.object.entries":{"chrome":"54","opera":"41","edge":"14","firefox":"47","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.object.freeze":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.get-own-property-descriptor":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es7.object.get-own-property-descriptors":{"chrome":"54","opera":"41","edge":"15","firefox":"50","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.object.get-own-property-names":{"chrome":"40","opera":"27","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.object.get-prototype-of":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es7.object.lookup-getter":{"chrome":"62","opera":"49","edge":"79","firefox":"36","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es7.object.lookup-setter":{"chrome":"62","opera":"49","edge":"79","firefox":"36","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es6.object.prevent-extensions":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.to-string":{"chrome":"57","opera":"44","edge":"15","firefox":"51","safari":"10","node":"8","ios":"10","samsung":"7","electron":"1.7"},"es6.object.is":{"chrome":"19","opera":"15","edge":"12","firefox":"22","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.object.is-frozen":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.is-sealed":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.is-extensible":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.keys":{"chrome":"40","opera":"27","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.object.seal":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.set-prototype-of":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ie":"11","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es7.object.values":{"chrome":"54","opera":"41","edge":"14","firefox":"47","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.promise":{"chrome":"51","opera":"38","edge":"14","firefox":"45","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.promise.finally":{"chrome":"63","opera":"50","edge":"18","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"8","electron":"3.0"},"es6.reflect.apply":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.construct":{"chrome":"49","opera":"36","edge":"13","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.define-property":{"chrome":"49","opera":"36","edge":"13","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.delete-property":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get-own-property-descriptor":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get-prototype-of":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.has":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.is-extensible":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.own-keys":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.prevent-extensions":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.set":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.set-prototype-of":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.regexp.constructor":{"chrome":"50","opera":"37","edge":"79","firefox":"40","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.flags":{"chrome":"49","opera":"36","edge":"79","firefox":"37","safari":"9","node":"6","ios":"9","samsung":"5","electron":"0.37"},"es6.regexp.match":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","rhino":"1.7.13","electron":"1.1"},"es6.regexp.replace":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.split":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.search":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","rhino":"1.7.13","electron":"1.1"},"es6.regexp.to-string":{"chrome":"50","opera":"37","edge":"79","firefox":"39","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.set":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.symbol":{"chrome":"51","opera":"38","edge":"79","firefox":"51","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.symbol.async-iterator":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"es6.string.anchor":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.big":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.blink":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.bold":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.code-point-at":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.ends-with":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.fixed":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.fontcolor":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.fontsize":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.from-code-point":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.includes":{"chrome":"41","opera":"28","edge":"12","firefox":"40","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.italics":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.iterator":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.string.link":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es7.string.pad-start":{"chrome":"57","opera":"44","edge":"15","firefox":"48","safari":"10","node":"8","ios":"10","samsung":"7","rhino":"1.7.13","electron":"1.7"},"es7.string.pad-end":{"chrome":"57","opera":"44","edge":"15","firefox":"48","safari":"10","node":"8","ios":"10","samsung":"7","rhino":"1.7.13","electron":"1.7"},"es6.string.raw":{"chrome":"41","opera":"28","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.repeat":{"chrome":"41","opera":"28","edge":"12","firefox":"24","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.small":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.starts-with":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.strike":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.sub":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.sup":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.trim":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3.5","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.string.trim-left":{"chrome":"66","opera":"53","edge":"79","firefox":"61","safari":"12","node":"10","ios":"12","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es7.string.trim-right":{"chrome":"66","opera":"53","edge":"79","firefox":"61","safari":"12","node":"10","ios":"12","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es6.typed.array-buffer":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.data-view":{"chrome":"5","opera":"12","edge":"12","firefox":"15","safari":"5.1","node":"0.10","ie":"10","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.typed.int8-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint8-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint8-clamped-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.int16-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint16-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.int32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.float32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.float64-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.weak-map":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"9","node":"6.5","ios":"9","samsung":"5","electron":"1.2"},"es6.weak-set":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"9","node":"6.5","ios":"9","samsung":"5","electron":"1.2"}}')},78575:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"48","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},93840:e=>{"use strict";e.exports=JSON.parse('{"transform-async-to-generator":["bugfix/transform-async-arrows-in-class"],"transform-parameters":["bugfix/transform-edge-default-parameters"],"transform-function-name":["bugfix/transform-edge-function-name"],"transform-block-scoping":["bugfix/transform-safari-block-shadowing","bugfix/transform-safari-for-shadowing"],"transform-template-literals":["bugfix/transform-tagged-template-caching"],"proposal-optional-chaining":["bugfix/transform-v8-spread-parameters-in-optional-chaining"]}')},42230:e=>{"use strict";e.exports=JSON.parse('{"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"10.1","node":"7.6","ios":"10.3","samsung":"6","electron":"1.6"},"bugfix/transform-async-arrows-in-class":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"transform-parameters":{"chrome":"49","opera":"36","edge":"15","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"bugfix/transform-edge-default-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"52","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"transform-function-name":{"chrome":"51","opera":"38","edge":"14","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"bugfix/transform-edge-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-block-scoping":{"chrome":"49","opera":"36","edge":"14","firefox":"51","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"bugfix/transform-safari-block-shadowing":{"chrome":"49","opera":"36","edge":"12","firefox":"44","safari":"11","node":"6","ie":"11","ios":"11","samsung":"5","electron":"0.37"},"bugfix/transform-safari-for-shadowing":{"chrome":"49","opera":"36","edge":"12","firefox":"4","safari":"11","node":"6","ie":"11","ios":"11","samsung":"5","rhino":"1.7.13","electron":"0.37"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"bugfix/transform-tagged-template-caching":{"chrome":"41","opera":"28","edge":"12","firefox":"34","safari":"13","node":"4","ios":"13","samsung":"3.4","electron":"0.21"},"proposal-optional-chaining":{"chrome":"80","opera":"67","edge":"80","firefox":"74","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.0"},"bugfix/transform-v8-spread-parameters-in-optional-chaining":{"firefox":"74","safari":"13.1","ios":"13.4"}}')},6834:e=>{"use strict";e.exports=JSON.parse('{"proposal-class-static-block":{"chrome":"91","electron":"13.0"},"proposal-private-property-in-object":{"chrome":"91","firefox":"90","electron":"13.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","samsung":"11","electron":"6.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","electron":"10.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","ios":"13","samsung":"11","electron":"6.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","ios":"14","electron":"10.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.0"},"proposal-optional-chaining":{"firefox":"74","safari":"13.1","ios":"13.4"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","ios":"12","samsung":"9","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","ios":"11.3","samsung":"8","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","ios":"11.3","samsung":"8","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","ios":"13","samsung":"3.4","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"43","safari":"10","node":"6","ios":"10","samsung":"5","rhino":"1.7.13","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","ie":"11","ios":"10","samsung":"3.4","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","ios":"8","samsung":"4","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","ios":"12","samsung":"5","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-block-scoping":{"chrome":"49","opera":"36","edge":"14","firefox":"51","safari":"11","node":"6","ios":"11","samsung":"5","electron":"0.37"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4.4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"proposal-export-namespace-from":{"chrome":"72","and_chr":"72","edge":"79","firefox":"80","and_ff":"80","node":"13.2","opera":"60","op_mob":"51","samsung":"11.0","android":"72","electron":"5.0"}}')},74884:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t})}webpackEmptyAsyncContext.keys=(()=>[]);webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=74884;e.exports=webpackEmptyAsyncContext},64172:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"48","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},13768:e=>{"use strict";e.exports=JSON.parse('{"proposal-class-static-block":{"chrome":"91","electron":"13.0"},"proposal-private-property-in-object":{"chrome":"91","firefox":"90","electron":"13.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","samsung":"11","electron":"6.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","electron":"10.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","ios":"13","samsung":"11","electron":"6.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","ios":"14","electron":"10.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.0"},"proposal-optional-chaining":{"firefox":"74","safari":"13.1","ios":"13.4"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","ios":"12","samsung":"9","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","ios":"11.3","samsung":"8","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","ios":"11.3","samsung":"8","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","ios":"13","samsung":"3.4","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"45","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","ie":"11","ios":"10","samsung":"3.4","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","ios":"8","samsung":"4","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","ios":"12","samsung":"5","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-block-scoping":{"chrome":"49","opera":"36","edge":"14","firefox":"51","safari":"11","node":"6","ios":"11","samsung":"5","electron":"0.37"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"41","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4.4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"proposal-export-namespace-from":{"chrome":"72","and_chr":"72","edge":"79","firefox":"80","and_ff":"80","node":"13.2","opera":"60","op_mob":"51","samsung":"11.0","android":"72","electron":"5.0"}}')},29513:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t})}webpackEmptyAsyncContext.keys=(()=>[]);webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=29513;e.exports=webpackEmptyAsyncContext},1335:(e,t,s)=>{e.exports=s(99898)},72153:(e,t,s)=>{e.exports=s(65561)},61931:()=>{},6135:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeWeakCache=makeWeakCache;t.makeWeakCacheSync=makeWeakCacheSync;t.makeStrongCache=makeStrongCache;t.makeStrongCacheSync=makeStrongCacheSync;t.assertSimpleType=assertSimpleType;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(28419);var i=s(83258);const n=e=>{return _gensync()(e).sync};function*genTrue(){return true}function makeWeakCache(e){return makeCachedFunction(WeakMap,e)}function makeWeakCacheSync(e){return n(makeWeakCache(e))}function makeStrongCache(e){return makeCachedFunction(Map,e)}function makeStrongCacheSync(e){return n(makeStrongCache(e))}function makeCachedFunction(e,t){const s=new e;const n=new e;const a=new e;return function*cachedFunction(e,o){const l=yield*(0,r.isAsync)();const c=l?n:s;const p=yield*getCachedValueOrWait(l,c,a,e,o);if(p.valid)return p.value;const u=new CacheConfigurator(o);const h=t(e,u);let f;let d;if((0,i.isIterableIterator)(h)){const t=h;d=yield*(0,r.onFirstPause)(t,()=>{f=setupAsyncLocks(u,a,e)})}else{d=h}updateFunctionCache(c,u,e,d);if(f){a.delete(e);f.release(d)}return d}}function*getCachedValue(e,t,s){const r=e.get(t);if(r){for(const{value:e,valid:t}of r){if(yield*t(s))return{valid:true,value:e}}}return{valid:false,value:null}}function*getCachedValueOrWait(e,t,s,i,n){const a=yield*getCachedValue(t,i,n);if(a.valid){return a}if(e){const e=yield*getCachedValue(s,i,n);if(e.valid){const t=yield*(0,r.waitFor)(e.value.promise);return{valid:true,value:t}}}return{valid:false,value:null}}function setupAsyncLocks(e,t,s){const r=new Lock;updateFunctionCache(t,e,s,r);return r}function updateFunctionCache(e,t,s,r){if(!t.configured())t.forever();let i=e.get(s);t.deactivate();switch(t.mode()){case"forever":i=[{value:r,valid:genTrue}];e.set(s,i);break;case"invalidate":i=[{value:r,valid:t.validator()}];e.set(s,i);break;case"valid":if(i){i.push({value:r,valid:t.validator()})}else{i=[{value:r,valid:t.validator()}];e.set(s,i)}}}class CacheConfigurator{constructor(e){this._active=true;this._never=false;this._forever=false;this._invalidate=false;this._configured=false;this._pairs=[];this._data=void 0;this._data=e}simple(){return makeSimpleConfigurator(this)}mode(){if(this._never)return"never";if(this._forever)return"forever";if(this._invalidate)return"invalidate";return"valid"}forever(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never){throw new Error("Caching has already been configured with .never()")}this._forever=true;this._configured=true}never(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._forever){throw new Error("Caching has already been configured with .forever()")}this._never=true;this._configured=true}using(e){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never||this._forever){throw new Error("Caching has already been configured with .never or .forever()")}this._configured=true;const t=e(this._data);const s=(0,r.maybeAsync)(e,`You appear to be using an async cache handler, but Babel has been called synchronously`);if((0,r.isThenable)(t)){return t.then(e=>{this._pairs.push([e,s]);return e})}this._pairs.push([t,s]);return t}invalidate(e){this._invalidate=true;return this.using(e)}validator(){const e=this._pairs;return function*(t){for(const[s,r]of e){if(s!==(yield*r(t)))return false}return true}}deactivate(){this._active=false}configured(){return this._configured}}function makeSimpleConfigurator(e){function cacheFn(t){if(typeof t==="boolean"){if(t)e.forever();else e.never();return}return e.using(()=>assertSimpleType(t()))}cacheFn.forever=(()=>e.forever());cacheFn.never=(()=>e.never());cacheFn.using=(t=>e.using(()=>assertSimpleType(t())));cacheFn.invalidate=(t=>e.invalidate(()=>assertSimpleType(t())));return cacheFn}function assertSimpleType(e){if((0,r.isThenable)(e)){throw new Error(`You appear to be using an async cache handler, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously handle your caching logic.`)}if(e!=null&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"){throw new Error("Cache keys must be either string, boolean, number, null, or undefined.")}return e}class Lock{constructor(){this.released=false;this.promise=void 0;this._resolve=void 0;this.promise=new Promise(e=>{this._resolve=e})}release(e){this.released=true;this._resolve(e)}}},28422:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPresetChain=buildPresetChain;t.buildRootChain=buildRootChain;t.buildPresetChainWalker=void 0;function _path(){const e=s(85622);_path=function(){return e};return e}function _debug(){const e=s(31185);_debug=function(){return e};return e}var r=s(42958);var i=s(30797);var n=s(82504);var a=s(21735);var o=s(6135);var l=s(74299);const c=_debug()("babel:config:config-chain");function*buildPresetChain(e,t){const s=yield*p(e,t);if(!s)return null;return{plugins:dedupDescriptors(s.plugins),presets:dedupDescriptors(s.presets),options:s.options.map(e=>normalizeOptions(e)),files:new Set}}const p=makeChainWalker({root:e=>u(e),env:(e,t)=>h(e)(t),overrides:(e,t)=>f(e)(t),overridesEnv:(e,t,s)=>d(e)(t)(s),createLogger:()=>()=>{}});t.buildPresetChainWalker=p;const u=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.alias,l.createUncachedDescriptors));const h=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const f=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const d=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(s=>buildOverrideEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t,s))));function*buildRootChain(e,t){let s,r;const i=new n.ConfigPrinter;const o=yield*b({options:e,dirname:t.cwd},t,undefined,i);if(!o)return null;const l=yield*i.output();let c;if(typeof e.configFile==="string"){c=yield*(0,a.loadConfig)(e.configFile,t.cwd,t.envName,t.caller)}else if(e.configFile!==false){c=yield*(0,a.findRootConfig)(t.root,t.envName,t.caller)}let{babelrc:p,babelrcRoots:u}=e;let h=t.cwd;const f=emptyChain();const d=new n.ConfigPrinter;if(c){const e=y(c);const r=yield*loadFileChain(e,t,undefined,d);if(!r)return null;s=yield*d.output();if(p===undefined){p=e.options.babelrc}if(u===undefined){h=e.dirname;u=e.options.babelrcRoots}mergeChain(f,r)}let g,x;let v=false;const w=emptyChain();if((p===true||p===undefined)&&typeof t.filename==="string"){const e=yield*(0,a.findPackageData)(t.filename);if(e&&babelrcLoadEnabled(t,e,u,h)){({ignore:g,config:x}=yield*(0,a.findRelativeConfig)(e,t.envName,t.caller));if(g){w.files.add(g.filepath)}if(g&&shouldIgnore(t,g.ignore,null,g.dirname)){v=true}if(x&&!v){const e=m(x);const s=new n.ConfigPrinter;const i=yield*loadFileChain(e,t,undefined,s);if(!i){v=true}else{r=yield*s.output();mergeChain(w,i)}}if(x&&v){w.files.add(x.filepath)}}}if(t.showConfig){console.log(`Babel configs on "${t.filename}" (ascending priority):\n`+[s,r,l].filter(e=>!!e).join("\n\n")+"\n-----End Babel configs-----")}const P=mergeChain(mergeChain(mergeChain(emptyChain(),f),w),o);return{plugins:v?[]:dedupDescriptors(P.plugins),presets:v?[]:dedupDescriptors(P.presets),options:v?[]:P.options.map(e=>normalizeOptions(e)),fileHandling:v?"ignored":"transpile",ignore:g||undefined,babelrc:x||undefined,config:c||undefined,files:P.files}}function babelrcLoadEnabled(e,t,s,r){if(typeof s==="boolean")return s;const n=e.root;if(s===undefined){return t.directories.indexOf(n)!==-1}let a=s;if(!Array.isArray(a)){a=[a]}a=a.map(e=>{return typeof e==="string"?_path().resolve(r,e):e});if(a.length===1&&a[0]===n){return t.directories.indexOf(n)!==-1}return a.some(s=>{if(typeof s==="string"){s=(0,i.default)(s,r)}return t.directories.some(t=>{return matchPattern(s,r,t,e)})})}const y=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,r.validate)("configfile",e.options)}));const m=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,r.validate)("babelrcfile",e.options)}));const g=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,r.validate)("extendsfile",e.options)}));const b=makeChainWalker({root:e=>buildRootDescriptors(e,"base",l.createCachedDescriptors),env:(e,t)=>buildEnvDescriptors(e,"base",l.createCachedDescriptors,t),overrides:(e,t)=>buildOverrideDescriptors(e,"base",l.createCachedDescriptors,t),overridesEnv:(e,t,s)=>buildOverrideEnvDescriptors(e,"base",l.createCachedDescriptors,t,s),createLogger:(e,t,s)=>buildProgrammaticLogger(e,t,s)});const x=makeChainWalker({root:e=>v(e),env:(e,t)=>w(e)(t),overrides:(e,t)=>P(e)(t),overridesEnv:(e,t,s)=>E(e)(t)(s),createLogger:(e,t,s)=>buildFileLogger(e.filepath,t,s)});function*loadFileChain(e,t,s,r){const i=yield*x(e,t,s,r);if(i){i.files.add(e.filepath)}return i}const v=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.filepath,l.createUncachedDescriptors));const w=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const P=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const E=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(s=>buildOverrideEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t,s))));function buildFileLogger(e,t,s){if(!s){return()=>{}}return s.configure(t.showConfig,n.ChainFormatter.Config,{filepath:e})}function buildRootDescriptors({dirname:e,options:t},s,r){return r(e,t,s)}function buildProgrammaticLogger(e,t,s){var r;if(!s){return()=>{}}return s.configure(t.showConfig,n.ChainFormatter.Programmatic,{callerName:(r=t.caller)==null?void 0:r.name})}function buildEnvDescriptors({dirname:e,options:t},s,r,i){const n=t.env&&t.env[i];return n?r(e,n,`${s}.env["${i}"]`):null}function buildOverrideDescriptors({dirname:e,options:t},s,r,i){const n=t.overrides&&t.overrides[i];if(!n)throw new Error("Assertion failure - missing override");return r(e,n,`${s}.overrides[${i}]`)}function buildOverrideEnvDescriptors({dirname:e,options:t},s,r,i,n){const a=t.overrides&&t.overrides[i];if(!a)throw new Error("Assertion failure - missing override");const o=a.env&&a.env[n];return o?r(e,o,`${s}.overrides[${i}].env["${n}"]`):null}function makeChainWalker({root:e,env:t,overrides:s,overridesEnv:r,createLogger:i}){return function*(n,a,o=new Set,l){const{dirname:c}=n;const p=[];const u=e(n);if(configIsApplicable(u,c,a)){p.push({config:u,envName:undefined,index:undefined});const e=t(n,a.envName);if(e&&configIsApplicable(e,c,a)){p.push({config:e,envName:a.envName,index:undefined})}(u.options.overrides||[]).forEach((e,t)=>{const i=s(n,t);if(configIsApplicable(i,c,a)){p.push({config:i,index:t,envName:undefined});const e=r(n,t,a.envName);if(e&&configIsApplicable(e,c,a)){p.push({config:e,index:t,envName:a.envName})}}})}if(p.some(({config:{options:{ignore:e,only:t}}})=>shouldIgnore(a,e,t,c))){return null}const h=emptyChain();const f=i(n,a,l);for(const{config:e,index:t,envName:s}of p){if(!(yield*mergeExtendsChain(h,e.options,c,a,o,l))){return null}f(e,t,s);yield*mergeChainOpts(h,e)}return h}}function*mergeExtendsChain(e,t,s,r,i,n){if(t.extends===undefined)return true;const o=yield*(0,a.loadConfig)(t.extends,s,r.envName,r.caller);if(i.has(o)){throw new Error(`Configuration cycle detected loading ${o.filepath}.\n`+`File already loaded following the config chain:\n`+Array.from(i,e=>` - ${e.filepath}`).join("\n"))}i.add(o);const l=yield*loadFileChain(g(o),r,i,n);i.delete(o);if(!l)return false;mergeChain(e,l);return true}function mergeChain(e,t){e.options.push(...t.options);e.plugins.push(...t.plugins);e.presets.push(...t.presets);for(const s of t.files){e.files.add(s)}return e}function*mergeChainOpts(e,{options:t,plugins:s,presets:r}){e.options.push(t);e.plugins.push(...yield*s());e.presets.push(...yield*r());return e}function emptyChain(){return{options:[],presets:[],plugins:[],files:new Set}}function normalizeOptions(e){const t=Object.assign({},e);delete t.extends;delete t.env;delete t.overrides;delete t.plugins;delete t.presets;delete t.passPerPreset;delete t.ignore;delete t.only;delete t.test;delete t.include;delete t.exclude;if(Object.prototype.hasOwnProperty.call(t,"sourceMap")){t.sourceMaps=t.sourceMap;delete t.sourceMap}return t}function dedupDescriptors(e){const t=new Map;const s=[];for(const r of e){if(typeof r.value==="function"){const e=r.value;let i=t.get(e);if(!i){i=new Map;t.set(e,i)}let n=i.get(r.name);if(!n){n={value:r};s.push(n);if(!r.ownPass)i.set(r.name,n)}else{n.value=r}}else{s.push({value:r})}}return s.reduce((e,t)=>{e.push(t.value);return e},[])}function configIsApplicable({options:e},t,s){return(e.test===undefined||configFieldIsApplicable(s,e.test,t))&&(e.include===undefined||configFieldIsApplicable(s,e.include,t))&&(e.exclude===undefined||!configFieldIsApplicable(s,e.exclude,t))}function configFieldIsApplicable(e,t,s){const r=Array.isArray(t)?t:[t];return matchesPatterns(e,r,s)}function shouldIgnore(e,t,s,r){if(t&&matchesPatterns(e,t,r)){var i;const s=`No config is applied to "${(i=e.filename)!=null?i:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(t)}\` from "${r}"`;c(s);if(e.showConfig){console.log(s)}return true}if(s&&!matchesPatterns(e,s,r)){var n;const t=`No config is applied to "${(n=e.filename)!=null?n:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(s)}\` from "${r}"`;c(t);if(e.showConfig){console.log(t)}return true}return false}function matchesPatterns(e,t,s){return t.some(t=>matchPattern(t,s,e.filename,e))}function matchPattern(e,t,s,r){if(typeof e==="function"){return!!e(s,{dirname:t,envName:r.envName,caller:r.caller})}if(typeof s!=="string"){throw new Error(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`)}if(typeof e==="string"){e=(0,i.default)(e,t)}return e.test(s)}},74299:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createCachedDescriptors=createCachedDescriptors;t.createUncachedDescriptors=createUncachedDescriptors;t.createDescriptor=createDescriptor;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(21735);var i=s(83486);var n=s(6135);var a=s(53316);function isEqualDescriptor(e,t){return e.name===t.name&&e.value===t.value&&e.options===t.options&&e.dirname===t.dirname&&e.alias===t.alias&&e.ownPass===t.ownPass&&(e.file&&e.file.request)===(t.file&&t.file.request)&&(e.file&&e.file.resolved)===(t.file&&t.file.resolved)}function*handlerOf(e){return e}function optionsWithResolvedBrowserslistConfigFile(e,t){if(typeof e.browserslistConfigFile==="string"){e.browserslistConfigFile=(0,a.resolveBrowserslistConfigFile)(e.browserslistConfigFile,t)}return e}function createCachedDescriptors(e,t,s){const{plugins:r,presets:i,passPerPreset:n}=t;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),plugins:r?()=>p(r,e)(s):()=>handlerOf([]),presets:i?()=>l(i,e)(s)(!!n):()=>handlerOf([])}}function createUncachedDescriptors(e,t,s){let r;let i;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),*plugins(){if(!r){r=yield*createPluginDescriptors(t.plugins||[],e,s)}return r},*presets(){if(!i){i=yield*createPresetDescriptors(t.presets||[],e,s,!!t.passPerPreset)}return i}}}const o=new WeakMap;const l=(0,n.makeWeakCacheSync)((e,t)=>{const s=t.using(e=>e);return(0,n.makeStrongCacheSync)(t=>(0,n.makeStrongCache)(function*(r){const i=yield*createPresetDescriptors(e,s,t,r);return i.map(e=>loadCachedDescriptor(o,e))}))});const c=new WeakMap;const p=(0,n.makeWeakCacheSync)((e,t)=>{const s=t.using(e=>e);return(0,n.makeStrongCache)(function*(t){const r=yield*createPluginDescriptors(e,s,t);return r.map(e=>loadCachedDescriptor(c,e))})});const u={};function loadCachedDescriptor(e,t){const{value:s,options:r=u}=t;if(r===false)return t;let i=e.get(s);if(!i){i=new WeakMap;e.set(s,i)}let n=i.get(r);if(!n){n=[];i.set(r,n)}if(n.indexOf(t)===-1){const e=n.filter(e=>isEqualDescriptor(e,t));if(e.length>0){return e[0]}n.push(t)}return t}function*createPresetDescriptors(e,t,s,r){return yield*createDescriptors("preset",e,t,s,r)}function*createPluginDescriptors(e,t,s){return yield*createDescriptors("plugin",e,t,s)}function*createDescriptors(e,t,s,r,i){const n=yield*_gensync().all(t.map((t,n)=>createDescriptor(t,s,{type:e,alias:`${r}$${n}`,ownPass:!!i})));assertNoDuplicates(n);return n}function*createDescriptor(e,t,{type:s,alias:n,ownPass:a}){const o=(0,i.getItemDescriptor)(e);if(o){return o}let l;let c;let p=e;if(Array.isArray(p)){if(p.length===3){[p,c,l]=p}else{[p,c]=p}}let u=undefined;let h=null;if(typeof p==="string"){if(typeof s!=="string"){throw new Error("To resolve a string-based item, the type of item must be given")}const e=s==="plugin"?r.loadPlugin:r.loadPreset;const i=p;({filepath:h,value:p}=yield*e(p,t));u={request:i,resolved:h}}if(!p){throw new Error(`Unexpected falsy value: ${String(p)}`)}if(typeof p==="object"&&p.__esModule){if(p.default){p=p.default}else{throw new Error("Must export a default export when using ES6 modules.")}}if(typeof p!=="object"&&typeof p!=="function"){throw new Error(`Unsupported format: ${typeof p}. Expected an object or a function.`)}if(h!==null&&typeof p==="object"&&p){throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${h}`)}return{name:l,alias:h||n,value:p,options:c,dirname:t,ownPass:a,file:u}}function assertNoDuplicates(e){const t=new Map;for(const s of e){if(typeof s.value!=="function")continue;let r=t.get(s.value);if(!r){r=new Set;t.set(s.value,r)}if(r.has(s.name)){const t=e.filter(e=>e.value===s.value);throw new Error([`Duplicate plugin/preset detected.`,`If you'd like to use two separate instances of a plugin,`,`they need separate names, e.g.`,``,` plugins: [`,` ['some-plugin', {}],`,` ['some-plugin', {}, 'some unique name'],`,` ]`,``,`Duplicates detected are:`,`${JSON.stringify(t,null,2)}`].join("\n"))}r.add(s.name)}}},96995:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findConfigUpwards=findConfigUpwards;t.findRelativeConfig=findRelativeConfig;t.findRootConfig=findRootConfig;t.loadConfig=loadConfig;t.resolveShowConfigPath=resolveShowConfigPath;t.ROOT_CONFIG_FILENAMES=void 0;function _debug(){const e=s(31185);_debug=function(){return e};return e}function _fs(){const e=s(35747);_fs=function(){return e};return e}function _path(){const e=s(85622);_path=function(){return e};return e}function _json(){const e=s(33170);_json=function(){return e};return e}function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(6135);var i=s(77021);var n=s(18193);var a=s(39117);var o=s(30797);var l=s(60153);function _module(){const e=s(32282);_module=function(){return e};return e}const c=_debug()("babel:config:loading:files:configuration");const p=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json"];t.ROOT_CONFIG_FILENAMES=p;const u=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json"];const h=".babelignore";function findConfigUpwards(e){let t=e;for(;;){for(const e of p){if(_fs().existsSync(_path().join(t,e))){return t}}const e=_path().dirname(t);if(t===e)break;t=e}return null}function*findRelativeConfig(e,t,s){let r=null;let i=null;const n=_path().dirname(e.filepath);for(const o of e.directories){if(!r){var a;r=yield*loadOneConfig(u,o,t,s,((a=e.pkg)==null?void 0:a.dirname)===o?y(e.pkg):null)}if(!i){const e=_path().join(o,h);i=yield*g(e);if(i){c("Found ignore %o from %o.",i.filepath,n)}}}return{config:r,ignore:i}}function findRootConfig(e,t,s){return loadOneConfig(p,e,t,s)}function*loadOneConfig(e,t,s,r,i=null){const n=yield*_gensync().all(e.map(e=>readConfig(_path().join(t,e),s,r)));const a=n.reduce((e,s)=>{if(s&&e){throw new Error(`Multiple configuration files found. Please remove one:\n`+` - ${_path().basename(e.filepath)}\n`+` - ${s.filepath}\n`+`from ${t}`)}return s||e},i);if(a){c("Found configuration %o from %o.",a.filepath,t)}return a}function*loadConfig(e,t,r,i){const n=(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(e,{paths:[t]});const a=yield*readConfig(n,r,i);if(!a){throw new Error(`Config file ${n} contains no configuration data`)}c("Loaded config %o from %o.",e,t);return a}function readConfig(e,t,s){const r=_path().extname(e);return r===".js"||r===".cjs"||r===".mjs"?d(e,{envName:t,caller:s}):m(e)}const f=new Set;const d=(0,r.makeStrongCache)(function*readConfigJS(e,t){if(!_fs().existsSync(e)){t.never();return null}if(f.has(e)){t.never();c("Auto-ignoring usage of config %o.",e);return{filepath:e,dirname:_path().dirname(e),options:{}}}let s;try{f.add(e);s=yield*(0,a.default)(e,"You appear to be using a native ECMAScript module configuration "+"file, which is only supported when running Babel asynchronously.")}catch(t){t.message=`${e}: Error while loading config - ${t.message}`;throw t}finally{f.delete(e)}let r=false;if(typeof s==="function"){yield*[];s=s((0,i.makeConfigAPI)(t));r=true}if(!s||typeof s!=="object"||Array.isArray(s)){throw new Error(`${e}: Configuration should be an exported JavaScript object.`)}if(typeof s.then==="function"){throw new Error(`You appear to be using an async configuration, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously return your config.`)}if(r&&!t.configured())throwConfigError();return{filepath:e,dirname:_path().dirname(e),options:s}});const y=(0,r.makeWeakCacheSync)(e=>{const t=e.options["babel"];if(typeof t==="undefined")return null;if(typeof t!=="object"||Array.isArray(t)||t===null){throw new Error(`${e.filepath}: .babel property must be an object`)}return{filepath:e.filepath,dirname:e.dirname,options:t}});const m=(0,n.makeStaticFileCache)((e,t)=>{let s;try{s=_json().parse(t)}catch(t){t.message=`${e}: Error while parsing config - ${t.message}`;throw t}if(!s)throw new Error(`${e}: No config detected`);if(typeof s!=="object"){throw new Error(`${e}: Config returned typeof ${typeof s}`)}if(Array.isArray(s)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:s}});const g=(0,n.makeStaticFileCache)((e,t)=>{const s=_path().dirname(e);const r=t.split("\n").map(e=>e.replace(/#(.*?)$/,"").trim()).filter(e=>!!e);for(const e of r){if(e[0]==="!"){throw new Error(`Negation of file paths is not supported.`)}}return{filepath:e,dirname:_path().dirname(e),ignore:r.map(e=>(0,o.default)(e,s))}});function*resolveShowConfigPath(e){const t=process.env.BABEL_SHOW_CONFIG_FOR;if(t!=null){const s=_path().resolve(e,t);const r=yield*l.stat(s);if(!r.isFile()){throw new Error(`${s}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`)}return s}return null}function throwConfigError(){throw new Error(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don't call this function again.\n api.cache(true);\n\n // Don't cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === "production");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};`)}},96760:(e,t,s)=>{"use strict";var r;r={value:true};t.Z=import_;function import_(e){return s(54039)(e)}},21735:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"findPackageData",{enumerable:true,get:function(){return r.findPackageData}});Object.defineProperty(t,"findConfigUpwards",{enumerable:true,get:function(){return i.findConfigUpwards}});Object.defineProperty(t,"findRelativeConfig",{enumerable:true,get:function(){return i.findRelativeConfig}});Object.defineProperty(t,"findRootConfig",{enumerable:true,get:function(){return i.findRootConfig}});Object.defineProperty(t,"loadConfig",{enumerable:true,get:function(){return i.loadConfig}});Object.defineProperty(t,"resolveShowConfigPath",{enumerable:true,get:function(){return i.resolveShowConfigPath}});Object.defineProperty(t,"ROOT_CONFIG_FILENAMES",{enumerable:true,get:function(){return i.ROOT_CONFIG_FILENAMES}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return n.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return n.resolvePreset}});Object.defineProperty(t,"loadPlugin",{enumerable:true,get:function(){return n.loadPlugin}});Object.defineProperty(t,"loadPreset",{enumerable:true,get:function(){return n.loadPreset}});var r=s(58760);var i=s(96995);var n=s(89442);({})},39117:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadCjsOrMjsDefault;var r=s(28419);function _path(){const e=s(85622);_path=function(){return e};return e}function _url(){const e=s(78835);_url=function(){return e};return e}function _module(){const e=s(32282);_module=function(){return e};return e}function asyncGeneratorStep(e,t,s,r,i,n,a){try{var o=e[n](a);var l=o.value}catch(e){s(e);return}if(o.done){t(l)}else{Promise.resolve(l).then(r,i)}}function _asyncToGenerator(e){return function(){var t=this,s=arguments;return new Promise(function(r,i){var n=e.apply(t,s);function _next(e){asyncGeneratorStep(n,r,i,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(n,r,i,_next,_throw,"throw",e)}_next(undefined)})}}let i;try{i=s(96760).Z}catch(e){}function*loadCjsOrMjsDefault(e,t,s=false){switch(guessJSModuleType(e)){case"cjs":return loadCjsDefault(e,s);case"unknown":try{return loadCjsDefault(e,s)}catch(e){if(e.code!=="ERR_REQUIRE_ESM")throw e}case"mjs":if(yield*(0,r.isAsync)()){return yield*(0,r.waitFor)(loadMjsDefault(e))}throw new Error(t)}}function guessJSModuleType(e){switch(_path().extname(e)){case".cjs":return"cjs";case".mjs":return"mjs";default:return"unknown"}}function loadCjsDefault(e,t){const s=require(e);return s!=null&&s.__esModule?s.default||(t?s:undefined):s}function loadMjsDefault(e){return _loadMjsDefault.apply(this,arguments)}function _loadMjsDefault(){_loadMjsDefault=_asyncToGenerator(function*(e){if(!i){throw new Error("Internal error: Native ECMAScript modules aren't supported"+" by this platform.\n")}const t=yield i((0,_url().pathToFileURL)(e));return t.default});return _loadMjsDefault.apply(this,arguments)}},58760:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findPackageData=findPackageData;function _path(){const e=s(85622);_path=function(){return e};return e}var r=s(18193);const i="package.json";function*findPackageData(e){let t=null;const s=[];let r=true;let a=_path().dirname(e);while(!t&&_path().basename(a)!=="node_modules"){s.push(a);t=yield*n(_path().join(a,i));const e=_path().dirname(a);if(a===e){r=false;break}a=e}return{filepath:e,directories:s,pkg:t,isPackage:r}}const n=(0,r.makeStaticFileCache)((e,t)=>{let s;try{s=JSON.parse(t)}catch(t){t.message=`${e}: Error while parsing JSON - ${t.message}`;throw t}if(!s)throw new Error(`${e}: No config detected`);if(typeof s!=="object"){throw new Error(`${e}: Config returned typeof ${typeof s}`)}if(Array.isArray(s)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:s}})},89442:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolvePlugin=resolvePlugin;t.resolvePreset=resolvePreset;t.loadPlugin=loadPlugin;t.loadPreset=loadPreset;function _debug(){const e=s(31185);_debug=function(){return e};return e}function _path(){const e=s(85622);_path=function(){return e};return e}var r=s(39117);function _module(){const e=s(32282);_module=function(){return e};return e}const i=_debug()("babel:config:loading:files:plugins");const n=/^module:/;const a=/^(?!@|module:|[^/]+\/|babel-plugin-)/;const o=/^(?!@|module:|[^/]+\/|babel-preset-)/;const l=/^(@babel\/)(?!plugin-|[^/]+\/)/;const c=/^(@babel\/)(?!preset-|[^/]+\/)/;const p=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/;const u=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/;const h=/^(@(?!babel$)[^/]+)$/;function resolvePlugin(e,t){return resolveStandardizedName("plugin",e,t)}function resolvePreset(e,t){return resolveStandardizedName("preset",e,t)}function*loadPlugin(e,t){const s=resolvePlugin(e,t);if(!s){throw new Error(`Plugin ${e} not found relative to ${t}`)}const r=yield*requireModule("plugin",s);i("Loaded plugin %o from %o.",e,t);return{filepath:s,value:r}}function*loadPreset(e,t){const s=resolvePreset(e,t);if(!s){throw new Error(`Preset ${e} not found relative to ${t}`)}const r=yield*requireModule("preset",s);i("Loaded preset %o from %o.",e,t);return{filepath:s,value:r}}function standardizeName(e,t){if(_path().isAbsolute(t))return t;const s=e==="preset";return t.replace(s?o:a,`babel-${e}-`).replace(s?c:l,`$1${e}-`).replace(s?u:p,`$1babel-${e}-`).replace(h,`$1/babel-${e}`).replace(n,"")}function resolveStandardizedName(e,t,r=process.cwd()){const i=standardizeName(e,t);try{return(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(i,{paths:[r]})}catch(n){if(n.code!=="MODULE_NOT_FOUND")throw n;if(i!==t){let e=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(t,{paths:[r]});e=true}catch(e){}if(e){n.message+=`\n- If you want to resolve "${t}", use "module:${t}"`}}let a=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(standardizeName(e,"@babel/"+t),{paths:[r]});a=true}catch(e){}if(a){n.message+=`\n- Did you mean "@babel/${t}"?`}let o=false;const l=e==="preset"?"plugin":"preset";try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(standardizeName(l,t),{paths:[r]});o=true}catch(e){}if(o){n.message+=`\n- Did you accidentally pass a ${l} as a ${e}?`}throw n}}const f=new Set;function*requireModule(e,t){if(f.has(t)){throw new Error(`Reentrant ${e} detected trying to load "${t}". This module is not ignored `+"and is trying to load itself while compiling itself, leading to a dependency cycle. "+'We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.')}try{f.add(t);return yield*(0,r.default)(t,`You appear to be using a native ECMAScript module ${e}, `+"which is only supported when running Babel asynchronously.",true)}catch(e){e.message=`[BABEL]: ${e.message} (While processing: ${t})`;throw e}finally{f.delete(t)}}},18193:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeStaticFileCache=makeStaticFileCache;var r=s(6135);var i=s(60153);function _fs2(){const e=s(35747);_fs2=function(){return e};return e}function makeStaticFileCache(e){return(0,r.makeStrongCache)(function*(t,s){const r=s.invalidate(()=>fileMtime(t));if(r===null){return null}return e(t,yield*i.readFile(t,"utf8"))})}function fileMtime(e){if(!_fs2().existsSync(e))return null;try{return+_fs2().statSync(e).mtime}catch(e){if(e.code!=="ENOENT"&&e.code!=="ENOTDIR")throw e}return null}},8566:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(28419);var i=s(83258);var n=s(85850);var a=s(41681);var o=s(83486);var l=s(28422);function _traverse(){const e=s(4267);_traverse=function(){return e};return e}var c=s(6135);var p=s(42958);var u=s(82055);var h=s(77021);var f=s(59074);var d=s(61931);var y=_gensync()(function*loadFullConfig(e){var t;const s=yield*(0,f.default)(e);if(!s){return null}const{options:r,context:n,fileHandling:a}=s;if(a==="ignored"){return null}const l={};const{plugins:c,presets:u}=r;if(!c||!u){throw new Error("Assertion failure - plugins and presets exist")}const h=Object.assign({},n,{targets:r.targets});const d=e=>{const t=(0,o.getItemDescriptor)(e);if(!t){throw new Error("Assertion failure - must be config item")}return t};const y=u.map(d);const m=c.map(d);const g=[[]];const b=[];const x=yield*enhanceError(n,function*recursePresetDescriptors(e,t){const s=[];for(let r=0;r0){g.splice(1,0,...s.map(e=>e.pass).filter(e=>e!==t));for(const{preset:e,pass:t}of s){if(!e)return true;t.push(...e.plugins);const s=yield*recursePresetDescriptors(e.presets,t);if(s)return true;e.options.forEach(e=>{(0,i.mergeOptions)(l,e)})}}})(y,g[0]);if(x)return null;const v=l;(0,i.mergeOptions)(v,r);const w=Object.assign({},h,{assumptions:(t=v.assumptions)!=null?t:{}});yield*enhanceError(n,function*loadPluginDescriptors(){g[0].unshift(...m);for(const e of g){const t=[];b.push(t);for(let s=0;se.length>0).map(e=>({plugins:e}));v.passPerPreset=v.presets.length>0;return{options:v,passes:b}});t.default=y;function enhanceError(e,t){return function*(s,r){try{return yield*t(s,r)}catch(t){if(!/^\[BABEL\]/.test(t.message)){t.message=`[BABEL] ${e.filename||"unknown"}: ${t.message}`}throw t}}}const m=e=>(0,c.makeWeakCache)(function*({value:t,options:s,dirname:i,alias:a},o){if(s===false)throw new Error("Assertion failure");s=s||{};let l=t;if(typeof t==="function"){const c=(0,r.maybeAsync)(t,`You appear to be using an async plugin/preset, but Babel has been called synchronously`);const p=Object.assign({},n,e(o));try{l=yield*c(p,s,i)}catch(e){if(a){e.message+=` (While processing: ${JSON.stringify(a)})`}throw e}}if(!l||typeof l!=="object"){throw new Error("Plugin/Preset did not return an object.")}if((0,r.isThenable)(l)){yield*[];throw new Error(`You appear to be using a promise as a plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version. `+`As an alternative, you can prefix the promise with "await". `+`(While processing: ${JSON.stringify(a)})`)}return{value:l,options:s,dirname:i,alias:a}});const g=m(h.makePluginAPI);const b=m(h.makePresetAPI);function*loadPluginDescriptor(e,t){if(e.value instanceof a.default){if(e.options){throw new Error("Passed options to an existing Plugin instance will not work.")}return e.value}return yield*x(yield*g(e,t),t)}const x=(0,c.makeWeakCache)(function*({value:e,options:t,dirname:s,alias:i},n){const o=(0,u.validatePluginObject)(e);const l=Object.assign({},o);if(l.visitor){l.visitor=_traverse().default.explode(Object.assign({},l.visitor))}if(l.inherits){const e={name:undefined,alias:`${i}$inherits`,value:l.inherits,options:t,dirname:s};const a=yield*(0,r.forwardAsync)(loadPluginDescriptor,t=>{return n.invalidate(s=>t(e,s))});l.pre=chain(a.pre,l.pre);l.post=chain(a.post,l.post);l.manipulateOptions=chain(a.manipulateOptions,l.manipulateOptions);l.visitor=_traverse().default.visitors.merge([a.visitor||{},l.visitor||{}])}return new a.default(l,t,i)});const v=(e,t)=>{if(e.test||e.include||e.exclude){const e=t.name?`"${t.name}"`:"/* your preset */";throw new Error([`Preset ${e} requires a filename to be set when babel is called directly,`,`\`\`\``,`babel.transform(code, { filename: 'file.ts', presets: [${e}] });`,`\`\`\``,`See https://babeljs.io/docs/en/options#filename for more information.`].join("\n"))}};const w=(e,t,s)=>{if(!t.filename){const{options:t}=e;v(t,s);if(t.overrides){t.overrides.forEach(e=>v(e,s))}}};function*loadPresetDescriptor(e,t){const s=P(yield*b(e,t));w(s,t,e);return yield*(0,l.buildPresetChain)(s,t)}const P=(0,c.makeWeakCacheSync)(({value:e,dirname:t,alias:s})=>{return{options:(0,p.validate)("preset",e),alias:s,dirname:t}});function chain(e,t){const s=[e,t].filter(Boolean);if(s.length<=1)return s[0];return function(...e){for(const t of s){t.apply(this,e)}}}},77021:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeConfigAPI=makeConfigAPI;t.makePresetAPI=makePresetAPI;t.makePluginAPI=makePluginAPI;function _semver(){const e=s(62519);_semver=function(){return e};return e}var r=s(85850);var i=s(6135);var n=s(61931);function makeConfigAPI(e){const t=t=>e.using(e=>{if(typeof t==="undefined")return e.envName;if(typeof t==="function"){return(0,i.assertSimpleType)(t(e.envName))}if(!Array.isArray(t))t=[t];return t.some(t=>{if(typeof t!=="string"){throw new Error("Unexpected non-string value")}return t===e.envName})});const s=t=>e.using(e=>(0,i.assertSimpleType)(t(e.caller)));return{version:r.version,cache:e.simple(),env:t,async:()=>false,caller:s,assertVersion:assertVersion}}function makePresetAPI(e){const t=()=>JSON.parse(e.using(e=>JSON.stringify(e.targets)));return Object.assign({},makeConfigAPI(e),{targets:t})}function makePluginAPI(e){const t=t=>e.using(e=>e.assumptions[t]);return Object.assign({},makePresetAPI(e),{assumption:t})}function assertVersion(e){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}if(_semver().satisfies(r.version,e))return;const t=Error.stackTraceLimit;if(typeof t==="number"&&t<25){Error.stackTraceLimit=25}const s=new Error(`Requires Babel "${e}", but was loaded with "${r.version}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`);if(typeof t==="number"){Error.stackTraceLimit=t}throw Object.assign(s,{code:"BABEL_VERSION_UNSUPPORTED",version:r.version,range:e})}},67058:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getEnv=getEnv;function getEnv(e="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||e}},98534:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createConfigItem=createConfigItem;Object.defineProperty(t,"default",{enumerable:true,get:function(){return r.default}});t.createConfigItemAsync=t.createConfigItemSync=t.loadOptionsAsync=t.loadOptionsSync=t.loadOptions=t.loadPartialConfigAsync=t.loadPartialConfigSync=t.loadPartialConfig=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(8566);var i=s(59074);var n=s(83486);const a=_gensync()(function*(e){var t;const s=yield*(0,r.default)(e);return(t=s==null?void 0:s.options)!=null?t:null});const o=_gensync()(n.createConfigItem);const l=e=>(t,s)=>{if(s===undefined&&typeof t==="function"){s=t;t=undefined}return s?e.errback(t,s):e.sync(t)};const c=l(i.loadPartialConfig);t.loadPartialConfig=c;const p=i.loadPartialConfig.sync;t.loadPartialConfigSync=p;const u=i.loadPartialConfig.async;t.loadPartialConfigAsync=u;const h=l(a);t.loadOptions=h;const f=a.sync;t.loadOptionsSync=f;const d=a.async;t.loadOptionsAsync=d;const y=o.sync;t.createConfigItemSync=y;const m=o.async;t.createConfigItemAsync=m;function createConfigItem(e,t,s){if(s!==undefined){return o.errback(e,t,s)}else if(typeof t==="function"){return o.errback(e,undefined,s)}else{return o.sync(e,t)}}},83486:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createItemFromDescriptor=createItemFromDescriptor;t.createConfigItem=createConfigItem;t.getItemDescriptor=getItemDescriptor;function _path(){const e=s(85622);_path=function(){return e};return e}var r=s(74299);function createItemFromDescriptor(e){return new ConfigItem(e)}function*createConfigItem(e,{dirname:t=".",type:s}={}){const i=yield*(0,r.createDescriptor)(e,_path().resolve(t),{type:s,alias:"programmatic item"});return createItemFromDescriptor(i)}function getItemDescriptor(e){if(e!=null&&e[i]){return e._descriptor}return undefined}const i=Symbol.for("@babel/core@7 - ConfigItem");class ConfigItem{constructor(e){this._descriptor=void 0;this[i]=true;this.value=void 0;this.options=void 0;this.dirname=void 0;this.name=void 0;this.file=void 0;this._descriptor=e;Object.defineProperty(this,"_descriptor",{enumerable:false});Object.defineProperty(this,i,{enumerable:false});this.value=this._descriptor.value;this.options=this._descriptor.options;this.dirname=this._descriptor.dirname;this.name=this._descriptor.name;this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:undefined;Object.freeze(this)}}Object.freeze(ConfigItem.prototype)},59074:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadPrivatePartialConfig;t.loadPartialConfig=void 0;function _path(){const e=s(85622);_path=function(){return e};return e}function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(41681);var i=s(83258);var n=s(83486);var a=s(28422);var o=s(67058);var l=s(42958);var c=s(21735);var p=s(53316);function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var s={};var r=Object.keys(e);var i,n;for(n=0;n=0)continue;s[i]=e[i]}return s}function resolveRootMode(e,t){switch(t){case"root":return e;case"upward-optional":{const t=(0,c.findConfigUpwards)(e);return t===null?e:t}case"upward":{const t=(0,c.findConfigUpwards)(e);if(t!==null)return t;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not `+`be found when searching upward from "${e}".\n`+`One of the following config files must be in the directory tree: `+`"${c.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error(`Assertion failure - unknown rootMode value.`)}}function*loadPrivatePartialConfig(e){if(e!=null&&(typeof e!=="object"||Array.isArray(e))){throw new Error("Babel options must be an object, null, or undefined")}const t=e?(0,l.validate)("arguments",e):{};const{envName:s=(0,o.getEnv)(),cwd:r=".",root:u=".",rootMode:h="root",caller:f,cloneInputAst:d=true}=t;const y=_path().resolve(r);const m=resolveRootMode(_path().resolve(y,u),h);const g=typeof t.filename==="string"?_path().resolve(r,t.filename):undefined;const b=yield*(0,c.resolveShowConfigPath)(y);const x={filename:g,cwd:y,root:m,envName:s,caller:f,showConfig:b===g};const v=yield*(0,a.buildRootChain)(t,x);if(!v)return null;const w={assumptions:{}};v.options.forEach(e=>{(0,i.mergeOptions)(w,e)});const P=Object.assign({},w,{targets:(0,p.resolveTargets)(w,m),cloneInputAst:d,babelrc:false,configFile:false,browserslistConfigFile:false,passPerPreset:false,envName:x.envName,cwd:x.cwd,root:x.root,rootMode:"root",filename:typeof x.filename==="string"?x.filename:undefined,plugins:v.plugins.map(e=>(0,n.createItemFromDescriptor)(e)),presets:v.presets.map(e=>(0,n.createItemFromDescriptor)(e))});return{options:P,context:x,fileHandling:v.fileHandling,ignore:v.ignore,babelrc:v.babelrc,config:v.config,files:v.files}}const u=_gensync()(function*(e){let t=false;if(typeof e==="object"&&e!==null&&!Array.isArray(e)){var s=e;({showIgnoredFiles:t}=s);e=_objectWithoutPropertiesLoose(s,["showIgnoredFiles"]);s}const i=yield*loadPrivatePartialConfig(e);if(!i)return null;const{options:n,babelrc:a,ignore:o,config:l,fileHandling:c,files:p}=i;if(c==="ignored"&&!t){return null}(n.plugins||[]).forEach(e=>{if(e.value instanceof r.default){throw new Error("Passing cached plugin instances is not supported in "+"babel.loadPartialConfig()")}});return new PartialConfig(n,a?a.filepath:undefined,o?o.filepath:undefined,l?l.filepath:undefined,c,p)});t.loadPartialConfig=u;class PartialConfig{constructor(e,t,s,r,i,n){this.options=void 0;this.babelrc=void 0;this.babelignore=void 0;this.config=void 0;this.fileHandling=void 0;this.files=void 0;this.options=e;this.babelignore=s;this.babelrc=t;this.config=r;this.fileHandling=i;this.files=n;Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==undefined||this.config!==undefined}}Object.freeze(PartialConfig.prototype)},30797:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=pathToPattern;function _path(){const e=s(85622);_path=function(){return e};return e}const r=`\\${_path().sep}`;const i=`(?:${r}|$)`;const n=`[^${r}]+`;const a=`(?:${n}${r})`;const o=`(?:${n}${i})`;const l=`${a}*?`;const c=`${a}*?${o}?`;function escapeRegExp(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}function pathToPattern(e,t){const s=_path().resolve(t,e).split(_path().sep);return new RegExp(["^",...s.map((e,t)=>{const p=t===s.length-1;if(e==="**")return p?c:l;if(e==="*")return p?o:a;if(e.indexOf("*.")===0){return n+escapeRegExp(e.slice(1))+(p?i:r)}return escapeRegExp(e)+(p?i:r)})].join(""))}},41681:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Plugin{constructor(e,t,s){this.key=void 0;this.manipulateOptions=void 0;this.post=void 0;this.pre=void 0;this.visitor=void 0;this.parserOverride=void 0;this.generatorOverride=void 0;this.options=void 0;this.key=e.name||s;this.manipulateOptions=e.manipulateOptions;this.post=e.post;this.pre=e.pre;this.visitor=e.visitor||{};this.parserOverride=e.parserOverride;this.generatorOverride=e.generatorOverride;this.options=t}}t.default=Plugin},82504:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConfigPrinter=t.ChainFormatter=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}const r={Programmatic:0,Config:1};t.ChainFormatter=r;const i={title(e,t,s){let i="";if(e===r.Programmatic){i="programmatic options";if(t){i+=" from "+t}}else{i="config "+s}return i},loc(e,t){let s="";if(e!=null){s+=`.overrides[${e}]`}if(t!=null){s+=`.env["${t}"]`}return s},*optionsAndDescriptors(e){const t=Object.assign({},e.options);delete t.overrides;delete t.env;const s=[...yield*e.plugins()];if(s.length){t.plugins=s.map(e=>descriptorToConfig(e))}const r=[...yield*e.presets()];if(r.length){t.presets=[...r].map(e=>descriptorToConfig(e))}return JSON.stringify(t,undefined,2)}};function descriptorToConfig(e){var t;let s=(t=e.file)==null?void 0:t.request;if(s==null){if(typeof e.value==="object"){s=e.value}else if(typeof e.value==="function"){s=`[Function: ${e.value.toString().substr(0,50)} ... ]`}}if(s==null){s="[Unknown]"}if(e.options===undefined){return s}else if(e.name==null){return[s,e.options]}else{return[s,e.options,e.name]}}class ConfigPrinter{constructor(){this._stack=[]}configure(e,t,{callerName:s,filepath:r}){if(!e)return()=>{};return(e,i,n)=>{this._stack.push({type:t,callerName:s,filepath:r,content:e,index:i,envName:n})}}static*format(e){let t=i.title(e.type,e.callerName,e.filepath);const s=i.loc(e.index,e.envName);if(s)t+=` ${s}`;const r=yield*i.optionsAndDescriptors(e.content);return`${t}\n${r}`}*output(){if(this._stack.length===0)return"";const e=yield*_gensync().all(this._stack.map(e=>ConfigPrinter.format(e)));return e.join("\n\n")}}t.ConfigPrinter=ConfigPrinter},53316:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveBrowserslistConfigFile=resolveBrowserslistConfigFile;t.resolveTargets=resolveTargets;function _path(){const e=s(85622);_path=function(){return e};return e}function _helperCompilationTargets(){const e=s(34487);_helperCompilationTargets=function(){return e};return e}({});function resolveBrowserslistConfigFile(e,t){return _path().resolve(t,e)}function resolveTargets(e,t){let s=e.targets;if(typeof s==="string"||Array.isArray(s)){s={browsers:s}}if(s&&s.esmodules){s=Object.assign({},s,{esmodules:"intersect"})}const{browserslistConfigFile:r}=e;let i;let n=false;if(typeof r==="string"){i=r}else{n=r===false}return(0,_helperCompilationTargets().default)(s,{ignoreBrowserslistConfig:n,configFile:i,configPath:t,browserslistEnv:e.browserslistEnv})}},83258:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.mergeOptions=mergeOptions;t.isIterableIterator=isIterableIterator;function mergeOptions(e,t){for(const s of Object.keys(t)){if((s==="parserOpts"||s==="generatorOpts"||s==="assumptions")&&t[s]){const r=t[s];const i=e[s]||(e[s]={});mergeDefaultFields(i,r)}else{const r=t[s];if(r!==undefined)e[s]=r}}}function mergeDefaultFields(e,t){for(const s of Object.keys(t)){const r=t[s];if(r!==undefined)e[s]=r}}function isIterableIterator(e){return!!e&&typeof e.next==="function"&&typeof e[Symbol.iterator]==="function"}},17741:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.msg=msg;t.access=access;t.assertRootMode=assertRootMode;t.assertSourceMaps=assertSourceMaps;t.assertCompact=assertCompact;t.assertSourceType=assertSourceType;t.assertCallerMetadata=assertCallerMetadata;t.assertInputSourceMap=assertInputSourceMap;t.assertString=assertString;t.assertFunction=assertFunction;t.assertBoolean=assertBoolean;t.assertObject=assertObject;t.assertArray=assertArray;t.assertIgnoreList=assertIgnoreList;t.assertConfigApplicableTest=assertConfigApplicableTest;t.assertConfigFileSearch=assertConfigFileSearch;t.assertBabelrcSearch=assertBabelrcSearch;t.assertPluginList=assertPluginList;t.assertTargets=assertTargets;t.assertAssumptions=assertAssumptions;function _helperCompilationTargets(){const e=s(34487);_helperCompilationTargets=function(){return e};return e}var r=s(42958);function msg(e){switch(e.type){case"root":return``;case"env":return`${msg(e.parent)}.env["${e.name}"]`;case"overrides":return`${msg(e.parent)}.overrides[${e.index}]`;case"option":return`${msg(e.parent)}.${e.name}`;case"access":return`${msg(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${e.type}`)}}function access(e,t){return{type:"access",name:t,parent:e}}function assertRootMode(e,t){if(t!==undefined&&t!=="root"&&t!=="upward"&&t!=="upward-optional"){throw new Error(`${msg(e)} must be a "root", "upward", "upward-optional" or undefined`)}return t}function assertSourceMaps(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="inline"&&t!=="both"){throw new Error(`${msg(e)} must be a boolean, "inline", "both", or undefined`)}return t}function assertCompact(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="auto"){throw new Error(`${msg(e)} must be a boolean, "auto", or undefined`)}return t}function assertSourceType(e,t){if(t!==undefined&&t!=="module"&&t!=="script"&&t!=="unambiguous"){throw new Error(`${msg(e)} must be "module", "script", "unambiguous", or undefined`)}return t}function assertCallerMetadata(e,t){const s=assertObject(e,t);if(s){if(typeof s.name!=="string"){throw new Error(`${msg(e)} set but does not contain "name" property string`)}for(const t of Object.keys(s)){const r=access(e,t);const i=s[t];if(i!=null&&typeof i!=="boolean"&&typeof i!=="string"&&typeof i!=="number"){throw new Error(`${msg(r)} must be null, undefined, a boolean, a string, or a number.`)}}}return t}function assertInputSourceMap(e,t){if(t!==undefined&&typeof t!=="boolean"&&(typeof t!=="object"||!t)){throw new Error(`${msg(e)} must be a boolean, object, or undefined`)}return t}function assertString(e,t){if(t!==undefined&&typeof t!=="string"){throw new Error(`${msg(e)} must be a string, or undefined`)}return t}function assertFunction(e,t){if(t!==undefined&&typeof t!=="function"){throw new Error(`${msg(e)} must be a function, or undefined`)}return t}function assertBoolean(e,t){if(t!==undefined&&typeof t!=="boolean"){throw new Error(`${msg(e)} must be a boolean, or undefined`)}return t}function assertObject(e,t){if(t!==undefined&&(typeof t!=="object"||Array.isArray(t)||!t)){throw new Error(`${msg(e)} must be an object, or undefined`)}return t}function assertArray(e,t){if(t!=null&&!Array.isArray(t)){throw new Error(`${msg(e)} must be an array, or undefined`)}return t}function assertIgnoreList(e,t){const s=assertArray(e,t);if(s){s.forEach((t,s)=>assertIgnoreItem(access(e,s),t))}return s}function assertIgnoreItem(e,t){if(typeof t!=="string"&&typeof t!=="function"&&!(t instanceof RegExp)){throw new Error(`${msg(e)} must be an array of string/Function/RegExp values, or undefined`)}return t}function assertConfigApplicableTest(e,t){if(t===undefined)return t;if(Array.isArray(t)){t.forEach((t,s)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,s))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a string/Function/RegExp, or an array of those`)}return t}function checkValidTest(e){return typeof e==="string"||typeof e==="function"||e instanceof RegExp}function assertConfigFileSearch(e,t){if(t!==undefined&&typeof t!=="boolean"&&typeof t!=="string"){throw new Error(`${msg(e)} must be a undefined, a boolean, a string, `+`got ${JSON.stringify(t)}`)}return t}function assertBabelrcSearch(e,t){if(t===undefined||typeof t==="boolean")return t;if(Array.isArray(t)){t.forEach((t,s)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,s))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a undefined, a boolean, a string/Function/RegExp `+`or an array of those, got ${JSON.stringify(t)}`)}return t}function assertPluginList(e,t){const s=assertArray(e,t);if(s){s.forEach((t,s)=>assertPluginItem(access(e,s),t))}return s}function assertPluginItem(e,t){if(Array.isArray(t)){if(t.length===0){throw new Error(`${msg(e)} must include an object`)}if(t.length>3){throw new Error(`${msg(e)} may only be a two-tuple or three-tuple`)}assertPluginTarget(access(e,0),t[0]);if(t.length>1){const s=t[1];if(s!==undefined&&s!==false&&(typeof s!=="object"||Array.isArray(s)||s===null)){throw new Error(`${msg(access(e,1))} must be an object, false, or undefined`)}}if(t.length===3){const s=t[2];if(s!==undefined&&typeof s!=="string"){throw new Error(`${msg(access(e,2))} must be a string, or undefined`)}}}else{assertPluginTarget(e,t)}return t}function assertPluginTarget(e,t){if((typeof t!=="object"||!t)&&typeof t!=="string"&&typeof t!=="function"){throw new Error(`${msg(e)} must be a string, object, function`)}return t}function assertTargets(e,t){if((0,_helperCompilationTargets().isBrowsersQueryValid)(t))return t;if(typeof t!=="object"||!t||Array.isArray(t)){throw new Error(`${msg(e)} must be a string, an array of strings or an object`)}const s=access(e,"browsers");const r=access(e,"esmodules");assertBrowsersList(s,t.browsers);assertBoolean(r,t.esmodules);for(const s of Object.keys(t)){const r=t[s];const i=access(e,s);if(s==="esmodules")assertBoolean(i,r);else if(s==="browsers")assertBrowsersList(i,r);else if(!Object.hasOwnProperty.call(_helperCompilationTargets().TargetNames,s)){const e=Object.keys(_helperCompilationTargets().TargetNames).join(", ");throw new Error(`${msg(i)} is not a valid target. Supported targets are ${e}`)}else assertBrowserVersion(i,r)}return t}function assertBrowsersList(e,t){if(t!==undefined&&!(0,_helperCompilationTargets().isBrowsersQueryValid)(t)){throw new Error(`${msg(e)} must be undefined, a string or an array of strings`)}}function assertBrowserVersion(e,t){if(typeof t==="number"&&Math.round(t)===t)return;if(typeof t==="string")return;throw new Error(`${msg(e)} must be a string or an integer number`)}function assertAssumptions(e,t){if(t===undefined)return;if(typeof t!=="object"||t===null){throw new Error(`${msg(e)} must be an object or undefined.`)}let s=e;do{s=s.parent}while(s.type!=="root");const i=s.source==="preset";for(const s of Object.keys(t)){const n=access(e,s);if(!r.assumptionsNames.has(s)){throw new Error(`${msg(n)} is not a supported assumption.`)}if(typeof t[s]!=="boolean"){throw new Error(`${msg(n)} must be a boolean.`)}if(i&&t[s]===false){throw new Error(`${msg(n)} cannot be set to 'false' inside presets.`)}}return t}},42958:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.checkNoUnwrappedItemOptionPairs=checkNoUnwrappedItemOptionPairs;t.assumptionsNames=void 0;var r=s(41681);var i=s(43013);var n=s(17741);const a={cwd:n.assertString,root:n.assertString,rootMode:n.assertRootMode,configFile:n.assertConfigFileSearch,caller:n.assertCallerMetadata,filename:n.assertString,filenameRelative:n.assertString,code:n.assertBoolean,ast:n.assertBoolean,cloneInputAst:n.assertBoolean,envName:n.assertString};const o={babelrc:n.assertBoolean,babelrcRoots:n.assertBabelrcSearch};const l={extends:n.assertString,ignore:n.assertIgnoreList,only:n.assertIgnoreList,targets:n.assertTargets,browserslistConfigFile:n.assertConfigFileSearch,browserslistEnv:n.assertString};const c={inputSourceMap:n.assertInputSourceMap,presets:n.assertPluginList,plugins:n.assertPluginList,passPerPreset:n.assertBoolean,assumptions:n.assertAssumptions,env:assertEnvSet,overrides:assertOverridesList,test:n.assertConfigApplicableTest,include:n.assertConfigApplicableTest,exclude:n.assertConfigApplicableTest,retainLines:n.assertBoolean,comments:n.assertBoolean,shouldPrintComment:n.assertFunction,compact:n.assertCompact,minified:n.assertBoolean,auxiliaryCommentBefore:n.assertString,auxiliaryCommentAfter:n.assertString,sourceType:n.assertSourceType,wrapPluginVisitorMethod:n.assertFunction,highlightCode:n.assertBoolean,sourceMaps:n.assertSourceMaps,sourceMap:n.assertSourceMaps,sourceFileName:n.assertString,sourceRoot:n.assertString,parserOpts:n.assertObject,generatorOpts:n.assertObject};{Object.assign(c,{getModuleId:n.assertFunction,moduleRoot:n.assertString,moduleIds:n.assertBoolean,moduleId:n.assertString})}const p=new Set(["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noNewArrows","objectRestNoSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"]);t.assumptionsNames=p;function getSource(e){return e.type==="root"?e.source:getSource(e.parent)}function validate(e,t){return validateNested({type:"root",source:e},t)}function validateNested(e,t){const s=getSource(e);assertNoDuplicateSourcemap(t);Object.keys(t).forEach(r=>{const i={type:"option",name:r,parent:e};if(s==="preset"&&l[r]){throw new Error(`${(0,n.msg)(i)} is not allowed in preset options`)}if(s!=="arguments"&&a[r]){throw new Error(`${(0,n.msg)(i)} is only allowed in root programmatic options`)}if(s!=="arguments"&&s!=="configfile"&&o[r]){if(s==="babelrcfile"||s==="extendsfile"){throw new Error(`${(0,n.msg)(i)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, `+`or babel.config.js/config file options`)}throw new Error(`${(0,n.msg)(i)} is only allowed in root programmatic options, or babel.config.js/config file options`)}const p=c[r]||l[r]||o[r]||a[r]||throwUnknownError;p(i,t[r])});return t}function throwUnknownError(e){const t=e.name;if(i.default[t]){const{message:s,version:r=5}=i.default[t];throw new Error(`Using removed Babel ${r} option: ${(0,n.msg)(e)} - ${s}`)}else{const t=new Error(`Unknown option: ${(0,n.msg)(e)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);t.code="BABEL_UNKNOWN_OPTION";throw t}}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function assertNoDuplicateSourcemap(e){if(has(e,"sourceMap")&&has(e,"sourceMaps")){throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}}function assertEnvSet(e,t){if(e.parent.type==="env"){throw new Error(`${(0,n.msg)(e)} is not allowed inside of another .env block`)}const s=e.parent;const r=(0,n.assertObject)(e,t);if(r){for(const t of Object.keys(r)){const i=(0,n.assertObject)((0,n.access)(e,t),r[t]);if(!i)continue;const a={type:"env",name:t,parent:s};validateNested(a,i)}}return r}function assertOverridesList(e,t){if(e.parent.type==="env"){throw new Error(`${(0,n.msg)(e)} is not allowed inside an .env block`)}if(e.parent.type==="overrides"){throw new Error(`${(0,n.msg)(e)} is not allowed inside an .overrides block`)}const s=e.parent;const r=(0,n.assertArray)(e,t);if(r){for(const[t,i]of r.entries()){const r=(0,n.access)(e,t);const a=(0,n.assertObject)(r,i);if(!a)throw new Error(`${(0,n.msg)(r)} must be an object`);const o={type:"overrides",index:t,parent:s};validateNested(o,a)}}return r}function checkNoUnwrappedItemOptionPairs(e,t,s,r){if(t===0)return;const i=e[t-1];const n=e[t];if(i.file&&i.options===undefined&&typeof n.value==="object"){r.message+=`\n- Maybe you meant to use\n`+`"${s}": [\n ["${i.file.request}", ${JSON.stringify(n.value,undefined,2)}]\n]\n`+`To be a valid ${s}, its name and options should be wrapped in a pair of brackets`}}},82055:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validatePluginObject=validatePluginObject;var r=s(17741);const i={name:r.assertString,manipulateOptions:r.assertFunction,pre:r.assertFunction,post:r.assertFunction,inherits:r.assertFunction,visitor:assertVisitorMap,parserOverride:r.assertFunction,generatorOverride:r.assertFunction};function assertVisitorMap(e,t){const s=(0,r.assertObject)(e,t);if(s){Object.keys(s).forEach(e=>assertVisitorHandler(e,s[e]));if(s.enter||s.exit){throw new Error(`${(0,r.msg)(e)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`)}}return s}function assertVisitorHandler(e,t){if(t&&typeof t==="object"){Object.keys(t).forEach(t=>{if(t!=="enter"&&t!=="exit"){throw new Error(`.visitor["${e}"] may only have .enter and/or .exit handlers.`)}})}else if(typeof t!=="function"){throw new Error(`.visitor["${e}"] must be a function`)}return t}function validatePluginObject(e){const t={type:"root",source:"plugin"};Object.keys(e).forEach(s=>{const r=i[s];if(r){const i={type:"option",name:s,parent:t};r(i,e[s])}else{const e=new Error(`.${s} is not a valid Plugin property`);e.code="BABEL_UNKNOWN_PLUGIN_PROPERTY";throw e}});return e}},43013:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var s={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. "+"Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. "+"Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using "+"or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. "+"Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. "+"Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the "+"tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling "+"that calls Babel to assign `map.file` themselves."}};t.default=s},28419:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.maybeAsync=maybeAsync;t.forwardAsync=forwardAsync;t.isThenable=isThenable;t.waitFor=t.onFirstPause=t.isAsync=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}const r=e=>e;const i=_gensync()(function*(e){return yield*e});const n=_gensync()({sync:()=>false,errback:e=>e(null,true)});t.isAsync=n;function maybeAsync(e,t){return _gensync()({sync(...s){const r=e.apply(this,s);if(isThenable(r))throw new Error(t);return r},async(...t){return Promise.resolve(e.apply(this,t))}})}const a=_gensync()({sync:e=>e("sync"),async:e=>e("async")});function forwardAsync(e,t){const s=_gensync()(e);return a(e=>{const r=s[e];return t(r)})}const o=_gensync()({name:"onFirstPause",arity:2,sync:function(e){return i.sync(e)},errback:function(e,t,s){let r=false;i.errback(e,(e,t)=>{r=true;s(e,t)});if(!r){t()}}});t.onFirstPause=o;const l=_gensync()({sync:r,async:r});t.waitFor=l;function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},60153:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stat=t.readFile=void 0;function _fs(){const e=s(35747);_fs=function(){return e};return e}function _gensync(){const e=s(67941);_gensync=function(){return e};return e}const r=_gensync()({sync:_fs().readFileSync,errback:_fs().readFile});t.readFile=r;const i=_gensync()({sync:_fs().statSync,errback:_fs().stat});t.stat=i},85850:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Plugin=Plugin;Object.defineProperty(t,"File",{enumerable:true,get:function(){return r.default}});Object.defineProperty(t,"buildExternalHelpers",{enumerable:true,get:function(){return i.default}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return n.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return n.resolvePreset}});Object.defineProperty(t,"getEnv",{enumerable:true,get:function(){return a.getEnv}});Object.defineProperty(t,"tokTypes",{enumerable:true,get:function(){return _parser().tokTypes}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return _traverse().default}});Object.defineProperty(t,"template",{enumerable:true,get:function(){return _template().default}});Object.defineProperty(t,"createConfigItem",{enumerable:true,get:function(){return o.createConfigItem}});Object.defineProperty(t,"createConfigItemSync",{enumerable:true,get:function(){return o.createConfigItemSync}});Object.defineProperty(t,"createConfigItemAsync",{enumerable:true,get:function(){return o.createConfigItemAsync}});Object.defineProperty(t,"loadPartialConfig",{enumerable:true,get:function(){return o.loadPartialConfig}});Object.defineProperty(t,"loadPartialConfigSync",{enumerable:true,get:function(){return o.loadPartialConfigSync}});Object.defineProperty(t,"loadPartialConfigAsync",{enumerable:true,get:function(){return o.loadPartialConfigAsync}});Object.defineProperty(t,"loadOptions",{enumerable:true,get:function(){return o.loadOptions}});Object.defineProperty(t,"loadOptionsSync",{enumerable:true,get:function(){return o.loadOptionsSync}});Object.defineProperty(t,"loadOptionsAsync",{enumerable:true,get:function(){return o.loadOptionsAsync}});Object.defineProperty(t,"transform",{enumerable:true,get:function(){return l.transform}});Object.defineProperty(t,"transformSync",{enumerable:true,get:function(){return l.transformSync}});Object.defineProperty(t,"transformAsync",{enumerable:true,get:function(){return l.transformAsync}});Object.defineProperty(t,"transformFile",{enumerable:true,get:function(){return c.transformFile}});Object.defineProperty(t,"transformFileSync",{enumerable:true,get:function(){return c.transformFileSync}});Object.defineProperty(t,"transformFileAsync",{enumerable:true,get:function(){return c.transformFileAsync}});Object.defineProperty(t,"transformFromAst",{enumerable:true,get:function(){return p.transformFromAst}});Object.defineProperty(t,"transformFromAstSync",{enumerable:true,get:function(){return p.transformFromAstSync}});Object.defineProperty(t,"transformFromAstAsync",{enumerable:true,get:function(){return p.transformFromAstAsync}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return u.parse}});Object.defineProperty(t,"parseSync",{enumerable:true,get:function(){return u.parseSync}});Object.defineProperty(t,"parseAsync",{enumerable:true,get:function(){return u.parseAsync}});t.types=t.OptionManager=t.DEFAULT_EXTENSIONS=t.version=void 0;var r=s(13317);var i=s(75570);var n=s(21735);var a=s(67058);function _types(){const e=s(19761);_types=function(){return e};return e}Object.defineProperty(t,"types",{enumerable:true,get:function(){return _types()}});function _parser(){const e=s(58157);_parser=function(){return e};return e}function _traverse(){const e=s(4267);_traverse=function(){return e};return e}function _template(){const e=s(36900);_template=function(){return e};return e}var o=s(98534);var l=s(52101);var c=s(38126);var p=s(93063);var u=s(56413);const h="7.14.6";t.version=h;const f=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);t.DEFAULT_EXTENSIONS=f;class OptionManager{init(e){return(0,o.loadOptions)(e)}}t.OptionManager=OptionManager;function Plugin(e){throw new Error(`The (${e}) Babel 5 plugin is being run with an unsupported Babel version.`)}},56413:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseAsync=t.parseSync=t.parse=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(98534);var i=s(92798);var n=s(78593);const a=_gensync()(function*parse(e,t){const s=yield*(0,r.default)(t);if(s===null){return null}return yield*(0,i.default)(s.passes,(0,n.default)(s),e)});const o=function parse(e,t,s){if(typeof t==="function"){s=t;t=undefined}if(s===undefined)return a.sync(e,t);a.errback(e,t,s)};t.parse=o;const l=a.sync;t.parseSync=l;const c=a.async;t.parseAsync=c},92798:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parser;function _parser(){const e=s(58157);_parser=function(){return e};return e}function _codeFrame(){const e=s(16619);_codeFrame=function(){return e};return e}var r=s(94723);function*parser(e,{parserOpts:t,highlightCode:s=true,filename:i="unknown"},n){try{const a=[];for(const s of e){for(const e of s){const{parserOverride:s}=e;if(s){const e=s(n,t,_parser().parse);if(e!==undefined)a.push(e)}}}if(a.length===0){return(0,_parser().parse)(n,t)}else if(a.length===1){yield*[];if(typeof a[0].then==="function"){throw new Error(`You appear to be using an async parser plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}return a[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(e){if(e.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"){e.message+="\nConsider renaming the file to '.mjs', or setting sourceType:module "+"or sourceType:unambiguous in your Babel config for this file."}const{loc:t,missingPlugin:a}=e;if(t){const o=(0,_codeFrame().codeFrameColumns)(n,{start:{line:t.line,column:t.column+1}},{highlightCode:s});if(a){e.message=`${i}: `+(0,r.default)(a[0],t,o)}else{e.message=`${i}: ${e.message}\n\n`+o}e.code="BABEL_PARSE_ERROR"}throw e}}},94723:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateMissingPluginMessage;const s={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",url:"https://git.io/JYer8"}},classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-private-methods",url:"https://git.io/JvpRG"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://git.io/JTLB6"},transform:{name:"@babel/plugin-proposal-class-static-block",url:"https://git.io/JTLBP"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://git.io/JfKOH"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://git.io/vb4y9"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://git.io/vb4ST"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://git.io/vb4yh"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://git.io/vb4S3"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://git.io/vb4Sv"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://git.io/vb4SO"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://git.io/vb4yH"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://git.io/vb4Sf"},transform:{name:"@babel/plugin-proposal-export-namespace-from",url:"https://git.io/vb4SG"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://git.io/vb4yb"},transform:{name:"@babel/preset-flow",url:"https://git.io/JfeDn"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://git.io/vb4y7"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://git.io/vb4St"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://git.io/vb4yN"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://git.io/vb4SZ"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://git.io/vbKK6"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://git.io/vb4yA"},transform:{name:"@babel/preset-react",url:"https://git.io/JfeDR"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://git.io/JUbkv"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://git.io/JTL8G"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://git.io/vb4Sq"},transform:{name:"@babel/plugin-proposal-numeric-separator",url:"https://git.io/vb4yS"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://git.io/vb4Sc"},transform:{name:"@babel/plugin-proposal-optional-chaining",url:"https://git.io/vb4Sk"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://git.io/vb4yj"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://git.io/vb4SU"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://git.io/JfK3q"},transform:{name:"@babel/plugin-proposal-private-property-in-object",url:"https://git.io/JfK3O"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://git.io/JvKp3"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://git.io/vb4SJ"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://git.io/vb4yF"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://git.io/vb4SC"},transform:{name:"@babel/preset-typescript",url:"https://git.io/JfeDz"}},asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://git.io/vb4SY"},transform:{name:"@babel/plugin-proposal-async-generator-functions",url:"https://git.io/vb4yp"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://git.io/vAlBp"},transform:{name:"@babel/plugin-proposal-logical-assignment-operators",url:"https://git.io/vAlRe"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://git.io/vb4yx"},transform:{name:"@babel/plugin-proposal-nullish-coalescing-operator",url:"https://git.io/vb4Se"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://git.io/vb4y5"},transform:{name:"@babel/plugin-proposal-object-rest-spread",url:"https://git.io/vb4Ss"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://git.io/vb4Sn"},transform:{name:"@babel/plugin-proposal-optional-catch-binding",url:"https://git.io/vb4SI"}}};s.privateIn.syntax=s.privateIn.transform;const r=({name:e,url:t})=>`${e} (${t})`;function generateMissingPluginMessage(e,t,i){let n=`Support for the experimental syntax '${e}' isn't currently enabled `+`(${t.line}:${t.column+1}):\n\n`+i;const a=s[e];if(a){const{syntax:e,transform:t}=a;if(e){const s=r(e);if(t){const e=r(t);const i=t.name.startsWith("@babel/plugin")?"plugins":"presets";n+=`\n\nAdd ${e} to the '${i}' section of your Babel config to enable transformation.\nIf you want to leave it as-is, add ${s} to the 'plugins' section to enable parsing.`}else{n+=`\n\nAdd ${s} to the 'plugins' section of your Babel config `+`to enable parsing.`}}}return n}},75570:(e,s,r)=>{"use strict";Object.defineProperty(s,"__esModule",{value:true});s.default=_default;function helpers(){const e=r(56976);helpers=function(){return e};return e}function _generator(){const e=r(23656);_generator=function(){return e};return e}function _template(){const e=r(36900);_template=function(){return e};return e}function t(){const e=r(19761);t=function(){return e};return e}var i=r(13317);const n=e=>(0,_template().default)` (function (root, factory) { if (typeof define === "function" && define.amd) { define(AMD_ARGUMENTS, factory); @@ -10,27 +10,27 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m })(UMD_ROOT, function (FACTORY_PARAMETERS) { FACTORY_BODY }); - `(e);function buildGlobal(e){const r=t().identifier("babelHelpers");const n=[];const s=t().functionExpression(null,[t().identifier("global")],t().blockStatement(n));const i=t().program([t().expressionStatement(t().callExpression(s,[t().conditionalExpression(t().binaryExpression("===",t().unaryExpression("typeof",t().identifier("global")),t().stringLiteral("undefined")),t().identifier("self"),t().identifier("global"))]))]);n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().assignmentExpression("=",t().memberExpression(t().identifier("global"),r),t().objectExpression([])))]));buildHelpers(n,r,e);return i}function buildModule(e){const r=[];const n=buildHelpers(r,null,e);r.unshift(t().exportNamedDeclaration(null,Object.keys(n).map(e=>{return t().exportSpecifier(t().cloneNode(n[e]),t().identifier(e))})));return t().program(r,[],"module")}function buildUmd(e){const r=t().identifier("babelHelpers");const n=[];n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().identifier("global"))]));buildHelpers(n,r,e);return t().program([i({FACTORY_PARAMETERS:t().identifier("global"),BROWSER_ARGUMENTS:t().assignmentExpression("=",t().memberExpression(t().identifier("root"),r),t().objectExpression([])),COMMON_ARGUMENTS:t().identifier("exports"),AMD_ARGUMENTS:t().arrayExpression([t().stringLiteral("exports")]),FACTORY_BODY:n,UMD_ROOT:t().identifier("this")})])}function buildVar(e){const r=t().identifier("babelHelpers");const n=[];n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().objectExpression([]))]));const s=t().program(n);buildHelpers(n,r,e);n.push(t().expressionStatement(r));return s}function buildHelpers(e,r,n){const i=e=>{return r?t().memberExpression(r,t().identifier(e)):t().identifier(`_${e}`)};const a={};helpers().list.forEach(function(t){if(n&&n.indexOf(t)<0)return;const r=a[t]=i(t);helpers().ensure(t,s.default);const{nodes:o}=helpers().get(t,i,r);e.push(...o)});return a}function _default(e,t="global"){let r;const n={global:buildGlobal,module:buildModule,umd:buildUmd,var:buildVar}[t];if(n){r=n(e)}else{throw new Error(`Unsupported output type ${t}`)}return(0,_generator().default)(r).code}},4261:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFromAstAsync=t.transformFromAstSync=t.transformFromAst=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(98534);var s=r(58109);const i=_gensync()(function*(e,t,r){const i=yield*(0,n.default)(r);if(i===null)return null;if(!e)throw new Error("No AST given");return yield*(0,s.run)(i,t,e)});const a=function transformFromAst(e,t,r,n){if(typeof r==="function"){n=r;r=undefined}if(n===undefined){return i.sync(e,t,r)}i.errback(e,t,r,n)};t.transformFromAst=a;const o=i.sync;t.transformFromAstSync=o;const l=i.async;t.transformFromAstAsync=l},38126:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFileAsync=t.transformFileSync=t.transformFile=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(98534);var s=r(58109);var i=r(60153);({});const a=_gensync()(function*(e,t){const r=Object.assign({},t,{filename:e});const a=yield*(0,n.default)(r);if(a===null)return null;const o=yield*i.readFile(e,"utf8");return yield*(0,s.run)(a,o)});const o=a.errback;t.transformFile=o;const l=a.sync;t.transformFileSync=l;const u=a.async;t.transformFileAsync=u},52101:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformAsync=t.transformSync=t.transform=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(98534);var s=r(58109);const i=_gensync()(function*transform(e,t){const r=yield*(0,n.default)(t);if(r===null)return null;return yield*(0,s.run)(r,e)});const a=function transform(e,t,r){if(typeof t==="function"){r=t;t=undefined}if(r===undefined)return i.sync(e,t);i.errback(e,t,r)};t.transform=a;const o=i.sync;t.transformSync=o;const l=i.async;t.transformAsync=l},43733:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadBlockHoistPlugin;function _traverse(){const e=r(4267);_traverse=function(){return e};return e}var n=r(41681);let s;function loadBlockHoistPlugin(){if(!s){s=new n.default(Object.assign({},i,{visitor:_traverse().default.explode(i.visitor)}),{})}return s}function priority(e){const t=e==null?void 0:e._blockHoist;if(t==null)return 1;if(t===true)return 2;return t}function stableSort(e){const t=Object.create(null);for(let r=0;r+e).sort((e,t)=>t-e);let n=0;for(const s of r){const r=t[s];for(const t of r){e[n++]=t}}return e}const i={name:"internal.blockHoist",visitor:{Block:{exit({node:e}){const{body:t}=e;let r=Math.pow(2,30)-1;let n=false;for(let e=0;er){n=true;break}r=i}if(!n)return;e.body=stableSort(t.slice())}}}}},13317:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=void 0;function helpers(){const e=n(56976);helpers=function(){return e};return e}function _traverse(){const e=n(4267);_traverse=function(){return e};return e}function _codeFrame(){const e=n(16619);_codeFrame=function(){return e};return e}function t(){const e=n(79584);t=function(){return e};return e}function _helperModuleTransforms(){const e=n(83113);_helperModuleTransforms=function(){return e};return e}function _semver(){const e=n(62519);_semver=function(){return e};return e}const s={enter(e,t){const r=e.node.loc;if(r){t.loc=r;e.stop()}}};class File{constructor(e,{code:t,ast:r,inputMap:n}){this._map=new Map;this.opts=void 0;this.declarations={};this.path=null;this.ast={};this.scope=void 0;this.metadata={};this.code="";this.inputMap=null;this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)};this.opts=e;this.code=t;this.ast=r;this.inputMap=n;this.path=_traverse().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext();this.scope=this.path.scope}get shebang(){const{interpreter:e}=this.path.node;return e?e.value:""}set shebang(e){if(e){this.path.get("interpreter").replaceWith(t().interpreterDirective(e))}else{this.path.get("interpreter").remove()}}set(e,t){if(e==="helpersNamespace"){throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility."+"If you are using @babel/plugin-external-helpers you will need to use a newer "+"version than the one you currently have installed. "+"If you have your own implementation, you'll want to explore using 'helperGenerator' "+"alongside 'file.availableHelper()'.")}this._map.set(e,t)}get(e){return this._map.get(e)}has(e){return this._map.has(e)}getModuleName(){return(0,_helperModuleTransforms().getModuleName)(this.opts,this.opts)}addImport(){throw new Error("This API has been removed. If you're looking for this "+"functionality in Babel 7, you should import the "+"'@babel/helper-module-imports' module and use the functions exposed "+" from that module, such as 'addNamed' or 'addDefault'.")}availableHelper(e,t){let r;try{r=helpers().minVersion(e)}catch(e){if(e.code!=="BABEL_HELPER_UNKNOWN")throw e;return false}if(typeof t!=="string")return true;if(_semver().valid(t))t=`^${t}`;return!_semver().intersects(`<${r}`,t)&&!_semver().intersects(`>=8.0.0`,t)}addHelper(e){const r=this.declarations[e];if(r)return t().cloneNode(r);const n=this.get("helperGenerator");if(n){const t=n(e);if(t)return t}helpers().ensure(e,File);const s=this.declarations[e]=this.scope.generateUidIdentifier(e);const i={};for(const t of helpers().getDependencies(e)){i[t]=this.addHelper(t)}const{nodes:a,globals:o}=helpers().get(e,e=>i[e],s,Object.keys(this.scope.getAllBindings()));o.forEach(e=>{if(this.path.scope.hasBinding(e,true)){this.path.scope.rename(e)}});a.forEach(e=>{e._compact=true});this.path.unshiftContainer("body",a);this.path.get("body").forEach(e=>{if(a.indexOf(e.node)===-1)return;if(e.isVariableDeclaration())this.scope.registerDeclaration(e)});return s}addTemplateObject(){throw new Error("This function has been moved into the template literal transform itself.")}buildCodeFrameError(e,t,r=SyntaxError){let n=e&&(e.loc||e._loc);if(!n&&e){const r={loc:null};(0,_traverse().default)(e,s,this.scope,r);n=r.loc;let i="This is an error on an internal node. Probably an internal error.";if(n)i+=" Location has been estimated.";t+=` (${i})`}if(n){const{highlightCode:e=true}=this.opts;t+="\n"+(0,_codeFrame().codeFrameColumns)(this.code,{start:{line:n.start.line,column:n.start.column+1},end:n.end&&n.start.line===n.end.line?{line:n.end.line,column:n.end.column+1}:undefined},{highlightCode:e})}return new r(t)}}r.default=File},37151:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateCode;function _convertSourceMap(){const e=r(36301);_convertSourceMap=function(){return e};return e}function _generator(){const e=r(23656);_generator=function(){return e};return e}var n=r(10390);function generateCode(e,t){const{opts:r,ast:s,code:i,inputMap:a}=t;const o=[];for(const t of e){for(const e of t){const{generatorOverride:t}=e;if(t){const e=t(s,r.generatorOpts,i,_generator().default);if(e!==undefined)o.push(e)}}}let l;if(o.length===0){l=(0,_generator().default)(s,r.generatorOpts,i)}else if(o.length===1){l=o[0];if(typeof l.then==="function"){throw new Error(`You appear to be using an async codegen plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version.`)}}else{throw new Error("More than one plugin attempted to override codegen.")}let{code:u,map:p}=l;if(p&&a){p=(0,n.default)(a.toObject(),p)}if(r.sourceMaps==="inline"||r.sourceMaps==="both"){u+="\n"+_convertSourceMap().fromObject(p).toComment()}if(r.sourceMaps==="inline"){p=null}return{outputCode:u,outputMap:p}}},10390:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=mergeSourceMap;function _sourceMap(){const e=r(96241);_sourceMap=function(){return e};return e}function mergeSourceMap(e,t){const r=buildMappingData(e);const n=buildMappingData(t);const s=new(_sourceMap().SourceMapGenerator);for(const{source:e}of r.sources){if(typeof e.content==="string"){s.setSourceContent(e.path,e.content)}}if(n.sources.length===1){const e=n.sources[0];const t=new Map;eachInputGeneratedRange(r,(r,n,i)=>{eachOverlappingGeneratedOutputRange(e,r,e=>{const r=makeMappingKey(e);if(t.has(r))return;t.set(r,e);s.addMapping({source:i.path,original:{line:n.line,column:n.columnStart},generated:{line:e.line,column:e.columnStart},name:n.name})})});for(const e of t.values()){if(e.columnEnd===Infinity){continue}const r={line:e.line,columnStart:e.columnEnd};const n=makeMappingKey(r);if(t.has(n)){continue}s.addMapping({generated:{line:r.line,column:r.columnStart}})}}const i=s.toJSON();if(typeof r.sourceRoot==="string"){i.sourceRoot=r.sourceRoot}return i}function makeMappingKey(e){return`${e.line}/${e.columnStart}`}function eachOverlappingGeneratedOutputRange(e,t,r){const n=filterApplicableOriginalRanges(e,t);for(const{generated:e}of n){for(const t of e){r(t)}}}function filterApplicableOriginalRanges({mappings:e},{line:t,columnStart:r,columnEnd:n}){return filterSortedArray(e,({original:e})=>{if(t>e.line)return-1;if(t=e.columnEnd)return-1;if(n<=e.columnStart)return 1;return 0})}function eachInputGeneratedRange(e,t){for(const{source:r,mappings:n}of e.sources){for(const{original:e,generated:s}of n){for(const n of s){t(n,e,r)}}}}function buildMappingData(e){const t=new(_sourceMap().SourceMapConsumer)(Object.assign({},e,{sourceRoot:null}));const r=new Map;const n=new Map;let s=null;t.computeColumnSpans();t.eachMapping(e=>{if(e.originalLine===null)return;let i=r.get(e.source);if(!i){i={path:e.source,content:t.sourceContentFor(e.source,true)};r.set(e.source,i)}let a=n.get(i);if(!a){a={source:i,mappings:[]};n.set(i,a)}const o={line:e.originalLine,columnStart:e.originalColumn,columnEnd:Infinity,name:e.name};if(s&&s.source===i&&s.mapping.line===e.originalLine){s.mapping.columnEnd=e.originalColumn}s={source:i,mapping:o};a.mappings.push({original:o,generated:t.allGeneratedPositionsFor({source:e.source,line:e.originalLine,column:e.originalColumn}).map(e=>({line:e.line,columnStart:e.column,columnEnd:e.lastColumn+1}))})},null,_sourceMap().SourceMapConsumer.ORIGINAL_ORDER);return{file:e.file,sourceRoot:e.sourceRoot,sources:Array.from(n.values())}}function findInsertionLocation(e,t){let r=0;let n=e.length;while(r=0){n=s}else{r=s+1}}let s=r;if(s=0&&t(e[s])>=0){s--}return s+1}return s}function filterSortedArray(e,t){const r=findInsertionLocation(e,t);const n=[];for(let s=r;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.run=run;function _traverse(){const e=r(4267);_traverse=function(){return e};return e}var n=r(84938);var s=r(43733);var i=r(78593);var a=r(19093);var o=r(37151);function*run(e,t,r){const n=yield*(0,a.default)(e.passes,(0,i.default)(e),t,r);const s=n.opts;try{yield*transformFile(n,e.passes)}catch(e){var l;e.message=`${(l=s.filename)!=null?l:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_TRANSFORM_ERROR"}throw e}let u,p;try{if(s.code!==false){({outputCode:u,outputMap:p}=(0,o.default)(e.passes,n))}}catch(e){var f;e.message=`${(f=s.filename)!=null?f:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_GENERATE_ERROR"}throw e}return{metadata:n.metadata,options:s,ast:s.ast===true?n.ast:null,code:u===undefined?null:u,map:p===undefined?null:p,sourceType:n.ast.program.sourceType}}function*transformFile(e,t){for(const r of t){const t=[];const i=[];const a=[];for(const o of r.concat([(0,s.default)()])){const r=new n.default(e,o.key,o.options);t.push([o,r]);i.push(r);a.push(o.visitor)}for(const[r,n]of t){const t=r.pre;if(t){const r=t.call(n,e);yield*[];if(isThenable(r)){throw new Error(`You appear to be using an plugin with an async .pre, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}const o=_traverse().default.visitors.merge(a,i,e.opts.wrapPluginVisitorMethod);(0,_traverse().default)(e.ast,o,e.scope);for(const[r,n]of t){const t=r.post;if(t){const r=t.call(n,e);yield*[];if(isThenable(r)){throw new Error(`You appear to be using an plugin with an async .post, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}}}function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},19093:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=normalizeFile;function _fs(){const e=n(35747);_fs=function(){return e};return e}function _path(){const e=n(85622);_path=function(){return e};return e}function _debug(){const e=n(31185);_debug=function(){return e};return e}function t(){const e=n(79584);t=function(){return e};return e}function _convertSourceMap(){const e=n(36301);_convertSourceMap=function(){return e};return e}var s=n(13317);var i=n(92798);var a=n(65053);const o=_debug()("babel:transform:file");const l=1e6;function*normalizeFile(e,r,n,f){n=`${n||""}`;if(f){if(f.type==="Program"){f=t().file(f,[],[])}else if(f.type!=="File"){throw new Error("AST root must be a Program or File node")}if(r.cloneInputAst){f=(0,a.default)(f)}}else{f=yield*(0,i.default)(e,r,n)}let c=null;if(r.inputSourceMap!==false){if(typeof r.inputSourceMap==="object"){c=_convertSourceMap().fromObject(r.inputSourceMap)}if(!c){const e=extractComments(u,f);if(e){try{c=_convertSourceMap().fromComment(e)}catch(e){o("discarding unknown inline input sourcemap",e)}}}if(!c){const e=extractComments(p,f);if(typeof r.filename==="string"&&e){try{const t=p.exec(e);const n=_fs().readFileSync(_path().resolve(_path().dirname(r.filename),t[1]));if(n.length>l){o("skip merging input map > 1 MB")}else{c=_convertSourceMap().fromJSON(n)}}catch(e){o("discarding unknown file input sourcemap",e)}}else if(e){o("discarding un-loadable file input sourcemap")}}}return new s.default(r,{code:n,ast:f,inputMap:c})}const u=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/;const p=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function extractCommentsFromList(e,t,r){if(t){t=t.filter(({value:t})=>{if(e.test(t)){r=t;return false}return true})}return[t,r]}function extractComments(e,r){let n=null;t().traverseFast(r,t=>{[t.leadingComments,n]=extractCommentsFromList(e,t.leadingComments,n);[t.innerComments,n]=extractCommentsFromList(e,t.innerComments,n);[t.trailingComments,n]=extractCommentsFromList(e,t.trailingComments,n)});return n}},78593:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=normalizeOptions;function _path(){const e=r(85622);_path=function(){return e};return e}function normalizeOptions(e){const{filename:t,cwd:r,filenameRelative:n=(typeof t==="string"?_path().relative(r,t):"unknown"),sourceType:s="module",inputSourceMap:i,sourceMaps:a=!!i,sourceRoot:o=e.options.moduleRoot,sourceFileName:l=_path().basename(n),comments:u=true,compact:p="auto"}=e.options;const f=e.options;const c=Object.assign({},f,{parserOpts:Object.assign({sourceType:_path().extname(n)===".mjs"?"module":s,sourceFileName:t,plugins:[]},f.parserOpts),generatorOpts:Object.assign({filename:t,auxiliaryCommentBefore:f.auxiliaryCommentBefore,auxiliaryCommentAfter:f.auxiliaryCommentAfter,retainLines:f.retainLines,comments:u,shouldPrintComment:f.shouldPrintComment,compact:p,minified:f.minified,sourceMaps:a,sourceRoot:o,sourceFileName:l},f.generatorOpts)});for(const t of e.passes){for(const e of t){if(e.manipulateOptions){e.manipulateOptions(c,c.parserOpts)}}}return c}},84938:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class PluginPass{constructor(e,t,r){this._map=new Map;this.key=void 0;this.file=void 0;this.opts=void 0;this.cwd=void 0;this.filename=void 0;this.key=t;this.file=e;this.opts=r||{};this.cwd=e.opts.cwd;this.filename=e.opts.filename}set(e,t){this._map.set(e,t)}get(e){return this._map.get(e)}availableHelper(e,t){return this.file.availableHelper(e,t)}addHelper(e){return this.file.addHelper(e)}addImport(){return this.file.addImport()}buildCodeFrameError(e,t,r){return this.file.buildCodeFrameError(e,t,r)}}t.default=PluginPass;{PluginPass.prototype.getModuleName=function getModuleName(){return this.file.getModuleName()}}},93161:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;const r="$$ babel internal serialized type"+Math.random();function serialize(e,t){if(typeof t!=="bigint")return t;return{[r]:"BigInt",value:t.toString()}}function revive(e,t){if(!t||typeof t!=="object")return t;if(t[r]!=="BigInt")return t;return BigInt(t.value)}function _default(e){return JSON.parse(JSON.stringify(e,serialize),revive)}},65053:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;function _v(){const e=r(68987);_v=function(){return e};return e}var n=r(93161);function _default(e){if(_v().deserialize&&_v().serialize){return _v().deserialize(_v().serialize(e))}return(0,n.default)(e)}},16619:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var n=r(94917);let s=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const i=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const s=Object.assign({},n,e.end);const{linesAbove:i=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const u=s.line;const p=s.column;let f=Math.max(o-(i+1),0);let c=Math.min(t.length,u+a);if(o===-1){f=0}if(u===-1){c=t.length}const d=u-o;const y={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){y[r]=true}else if(e===0){const e=t[r-1].length;y[r]=[l,e-l+1]}else if(e===d){y[r]=[0,p]}else{const n=t[r-e].length;y[r]=[0,n]}}}else{if(l===p){if(l){y[o]=[l,0]}else{y[o]=true}}else{y[o]=[l,p-l]}}return{start:f,end:c,markerLines:y}}function codeFrameColumns(e,t,r={}){const s=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const a=(0,n.getChalk)(r);const o=getDefs(a);const l=(e,t)=>{return s?e(t):t};const u=e.split(i);const{start:p,end:f,markerLines:c}=getMarkerLines(t,u,r);const d=t.start&&typeof t.start.column==="number";const y=String(f).length;const m=s?(0,n.default)(e,r):e;let T=m.split(i).slice(p,f).map((e,t)=>{const n=p+1+t;const s=` ${n}`.slice(-y);const i=` ${s} |`;const a=c[n];const u=!c[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const s=a[1]||1;t=["\n ",l(o.gutter,i.replace(/\d/g," "))," ",n,l(o.marker,"^").repeat(s)].join("");if(u&&r.message){t+=" "+l(o.message,r.message)}}return[l(o.marker,">"),l(o.gutter,i),e.length>0?` ${e}`:"",t].join("")}else{return` ${l(o.gutter,i)}${e.length>0?` ${e}`:""}`}}).join("\n");if(r.message&&!d){T=`${" ".repeat(y+1)}${r.message}\n${T}`}if(s){return a.reset(T)}else{return T}}function _default(e,t,r,n={}){if(!s){s=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const i={start:{column:r,line:t}};return codeFrameColumns(e,i,n)}},59946:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var s=r(79584);class ImportBuilder{constructor(e,t,r){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=r;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(s.importDeclaration([],s.stringLiteral(this._importedSource)));return this}require(){this._statements.push(s.expressionStatement(s.callExpression(s.identifier("require"),[s.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[s.importNamespaceSpecifier(t)];this._resultName=s.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];n(t.type==="ImportDeclaration");n(t.specifiers.length===0);t.specifiers=[s.importDefaultSpecifier(e)];this._resultName=s.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[s.importSpecifier(e,s.identifier(t))];this._resultName=s.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){n(this._resultName);t=s.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=s.variableDeclaration("var",[s.variableDeclarator(e,t.expression)]);this._resultName=s.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=s.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=s.callExpression(e,[t.declarations[0].init])}else{n.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=s.memberExpression(t.expression,s.identifier(e))}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=s.memberExpression(t.declarations[0].init,s.identifier(e))}else{n.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=s.memberExpression(this._resultName,s.identifier(e))}}t.default=ImportBuilder},76980:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var s=r(79584);var i=r(59946);var a=r(34595);class ImportInjector{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const n=e.find(e=>e.isProgram());this._programPath=n;this._programScope=n.scope;this._hub=n.hub;this._defaultOpts=this._applyDefaults(t,r,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){n(typeof e==="string");return this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,r=false){const s=[];if(typeof e==="string"){s.push({importedSource:e});s.push(t)}else{n(!t,"Unexpected secondary arguments.");s.push(e)}const i=Object.assign({},this._defaultOpts);for(const e of s){if(!e)continue;Object.keys(i).forEach(t=>{if(e[t]!==undefined)i[t]=e[t]});if(!r){if(e.nameHint!==undefined)i.nameHint=e.nameHint;if(e.blockHoist!==undefined)i.blockHoist=e.blockHoist}}return i}_generateImport(e,t){const r=t==="default";const n=!!t&&!r;const o=t===null;const{importedSource:l,importedType:u,importedInterop:p,importingInterop:f,ensureLiveReference:c,ensureNoContext:d,nameHint:y,importPosition:m,blockHoist:T}=e;let h=y||t;const S=(0,a.default)(this._programPath);const b=S&&f==="node";const E=S&&f==="babel";if(m==="after"&&!S){throw new Error(`"importPosition": "after" is only supported in modules`)}const g=new i.default(l,this._programScope,this._hub);if(u==="es6"){if(!b&&!E){throw new Error("Cannot import an ES6 module from CommonJS")}g.import();if(o){g.namespace(y||l)}else if(r||n){g.named(h,t)}}else if(u!=="commonjs"){throw new Error(`Unexpected interopType "${u}"`)}else if(p==="babel"){if(b){h=h!=="default"?h:l;const e=`${l}$es6Default`;g.import();if(o){g.default(e).var(h||l).wildcardInterop()}else if(r){if(c){g.default(e).var(h||l).defaultInterop().read("default")}else{g.default(e).var(h).defaultInterop().prop(t)}}else if(n){g.default(e).read(t)}}else if(E){g.import();if(o){g.namespace(h||l)}else if(r||n){g.named(h,t)}}else{g.require();if(o){g.var(h||l).wildcardInterop()}else if((r||n)&&c){if(r){h=h!=="default"?h:l;g.var(h).read(t);g.defaultInterop()}else{g.var(l).read(t)}}else if(r){g.var(h).defaultInterop().prop(t)}else if(n){g.var(h).prop(t)}}}else if(p==="compiled"){if(b){g.import();if(o){g.default(h||l)}else if(r||n){g.default(l).read(h)}}else if(E){g.import();if(o){g.namespace(h||l)}else if(r||n){g.named(h,t)}}else{g.require();if(o){g.var(h||l)}else if(r||n){if(c){g.var(l).read(h)}else{g.prop(t).var(h)}}}}else if(p==="uncompiled"){if(r&&c){throw new Error("No live reference for commonjs default")}if(b){g.import();if(o){g.default(h||l)}else if(r){g.default(h)}else if(n){g.default(l).read(h)}}else if(E){g.import();if(o){g.default(h||l)}else if(r){g.default(h)}else if(n){g.named(h,t)}}else{g.require();if(o){g.var(h||l)}else if(r){g.var(h)}else if(n){if(c){g.var(l).read(h)}else{g.var(h).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:P,resultName:x}=g.done();this._insertStatements(P,m,T);if((r||n)&&d&&x.type!=="Identifier"){return s.sequenceExpression([s.numericLiteral(0),x])}return x}_insertStatements(e,t="before",r=3){const n=this._programPath.get("body");if(t==="after"){for(let t=n.length-1;t>=0;t--){if(n[t].isImportDeclaration()){n[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=r});const t=n.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},54539:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return s.default}});var n=r(76980);var s=r(34595);function addDefault(e,t,r){return new n.default(e).addDefault(t,r)}function addNamed(e,t,r,s){return new n.default(e).addNamed(t,r,s)}function addNamespace(e,t,r){return new n.default(e).addNamespace(t,r)}function addSideEffect(e,t,r){return new n.default(e).addSideEffect(t,r)}},34595:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},56127:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getModuleName;{const e=getModuleName;t.default=getModuleName=function getModuleName(t,r){var n,s,i,a;return e(t,{moduleId:(n=r.moduleId)!=null?n:t.moduleId,moduleIds:(s=r.moduleIds)!=null?s:t.moduleIds,getModuleId:(i=r.getModuleId)!=null?i:t.getModuleId,moduleRoot:(a=r.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:r,filenameRelative:n=r,sourceRoot:s=t.moduleRoot}=e;const{moduleId:i,moduleIds:a=!!i,getModuleId:o,moduleRoot:l=s}=t;if(!a)return null;if(i!=null&&!o){return i}let u=l!=null?l+"/":"";if(n){const e=s!=null?new RegExp("^"+s+"/?"):"";u+=n.replace(e,"").replace(/\.(\w*?)$/,"")}u=u.replace(/\\/g,"/");if(o){return o(u)||u}else{return u}}},83113:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;t.ensureStatementsHoisted=ensureStatementsHoisted;t.wrapInterop=wrapInterop;t.buildNamespaceInitStatements=buildNamespaceInitStatements;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.isModule}});Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return u.hasExports}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return u.isSideEffectImport}});Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});var n=r(42357);var s=r(79584);var i=r(36900);var a=r(54539);var o=r(84748);var l=r(65302);var u=r(37085);var p=r(56127);function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:r,strict:i,allowTopLevelThis:p,strictMode:f,noInterop:c,importInterop:d=(c?"none":"babel"),lazy:y,esNamespaceOnly:m,constantReexports:T=t,enumerableModuleMeta:h=t}){(0,u.validateImportInteropOption)(d);n((0,a.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const S=(0,u.default)(e,r,{importInterop:d,initializeReexports:T,lazy:y,esNamespaceOnly:m});if(!p){(0,o.default)(e)}(0,l.default)(e,S);if(f!==false){const t=e.node.directives.some(e=>{return e.value.value==="use strict"});if(!t){e.unshiftContainer("directives",s.directive(s.directiveLiteral("use strict")))}}const b=[];if((0,u.hasExports)(S)&&!i){b.push(buildESModuleHeader(S,h))}const E=buildExportNameListDeclaration(e,S);if(E){S.exportNameListName=E.name;b.push(E.statement)}b.push(...buildExportInitializationStatements(e,S,T));return{meta:S,headers:b}}function ensureStatementsHoisted(e){e.forEach(e=>{e._blockHoist=3})}function wrapInterop(e,t,r){if(r==="none"){return null}if(r==="node-namespace"){return s.callExpression(e.hub.addHelper("interopRequireWildcard"),[t,s.booleanLiteral(true)])}else if(r==="node-default"){return null}let n;if(r==="default"){n="interopRequireDefault"}else if(r==="namespace"){n="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${r}`)}return s.callExpression(e.hub.addHelper(n),[t])}function buildNamespaceInitStatements(e,t,r=false){const n=[];let a=s.identifier(t.name);if(t.lazy)a=s.callExpression(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;n.push(i.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:s.cloneNode(a)}))}if(r){n.push(...c(e,t,true))}for(const r of t.reexportNamespace){n.push((t.lazy?i.default.statement` + `(e);function buildGlobal(e){const s=t().identifier("babelHelpers");const r=[];const i=t().functionExpression(null,[t().identifier("global")],t().blockStatement(r));const n=t().program([t().expressionStatement(t().callExpression(i,[t().conditionalExpression(t().binaryExpression("===",t().unaryExpression("typeof",t().identifier("global")),t().stringLiteral("undefined")),t().identifier("self"),t().identifier("global"))]))]);r.push(t().variableDeclaration("var",[t().variableDeclarator(s,t().assignmentExpression("=",t().memberExpression(t().identifier("global"),s),t().objectExpression([])))]));buildHelpers(r,s,e);return n}function buildModule(e){const s=[];const r=buildHelpers(s,null,e);s.unshift(t().exportNamedDeclaration(null,Object.keys(r).map(e=>{return t().exportSpecifier(t().cloneNode(r[e]),t().identifier(e))})));return t().program(s,[],"module")}function buildUmd(e){const s=t().identifier("babelHelpers");const r=[];r.push(t().variableDeclaration("var",[t().variableDeclarator(s,t().identifier("global"))]));buildHelpers(r,s,e);return t().program([n({FACTORY_PARAMETERS:t().identifier("global"),BROWSER_ARGUMENTS:t().assignmentExpression("=",t().memberExpression(t().identifier("root"),s),t().objectExpression([])),COMMON_ARGUMENTS:t().identifier("exports"),AMD_ARGUMENTS:t().arrayExpression([t().stringLiteral("exports")]),FACTORY_BODY:r,UMD_ROOT:t().identifier("this")})])}function buildVar(e){const s=t().identifier("babelHelpers");const r=[];r.push(t().variableDeclaration("var",[t().variableDeclarator(s,t().objectExpression([]))]));const i=t().program(r);buildHelpers(r,s,e);r.push(t().expressionStatement(s));return i}function buildHelpers(e,s,r){const n=e=>{return s?t().memberExpression(s,t().identifier(e)):t().identifier(`_${e}`)};const a={};helpers().list.forEach(function(t){if(r&&r.indexOf(t)<0)return;const s=a[t]=n(t);helpers().ensure(t,i.default);const{nodes:o}=helpers().get(t,n,s);e.push(...o)});return a}function _default(e,t="global"){let s;const r={global:buildGlobal,module:buildModule,umd:buildUmd,var:buildVar}[t];if(r){s=r(e)}else{throw new Error(`Unsupported output type ${t}`)}return(0,_generator().default)(s).code}},93063:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFromAstAsync=t.transformFromAstSync=t.transformFromAst=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(98534);var i=s(58109);const n=_gensync()(function*(e,t,s){const n=yield*(0,r.default)(s);if(n===null)return null;if(!e)throw new Error("No AST given");return yield*(0,i.run)(n,t,e)});const a=function transformFromAst(e,t,s,r){if(typeof s==="function"){r=s;s=undefined}if(r===undefined){return n.sync(e,t,s)}n.errback(e,t,s,r)};t.transformFromAst=a;const o=n.sync;t.transformFromAstSync=o;const l=n.async;t.transformFromAstAsync=l},38126:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFileAsync=t.transformFileSync=t.transformFile=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(98534);var i=s(58109);var n=s(60153);({});const a=_gensync()(function*(e,t){const s=Object.assign({},t,{filename:e});const a=yield*(0,r.default)(s);if(a===null)return null;const o=yield*n.readFile(e,"utf8");return yield*(0,i.run)(a,o)});const o=a.errback;t.transformFile=o;const l=a.sync;t.transformFileSync=l;const c=a.async;t.transformFileAsync=c},52101:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformAsync=t.transformSync=t.transform=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(98534);var i=s(58109);const n=_gensync()(function*transform(e,t){const s=yield*(0,r.default)(t);if(s===null)return null;return yield*(0,i.run)(s,e)});const a=function transform(e,t,s){if(typeof t==="function"){s=t;t=undefined}if(s===undefined)return n.sync(e,t);n.errback(e,t,s)};t.transform=a;const o=n.sync;t.transformSync=o;const l=n.async;t.transformAsync=l},43733:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadBlockHoistPlugin;function _traverse(){const e=s(4267);_traverse=function(){return e};return e}var r=s(41681);let i;function loadBlockHoistPlugin(){if(!i){i=new r.default(Object.assign({},n,{visitor:_traverse().default.explode(n.visitor)}),{})}return i}function priority(e){const t=e==null?void 0:e._blockHoist;if(t==null)return 1;if(t===true)return 2;return t}function stableSort(e){const t=Object.create(null);for(let s=0;s+e).sort((e,t)=>t-e);let r=0;for(const i of s){const s=t[i];for(const t of s){e[r++]=t}}return e}const n={name:"internal.blockHoist",visitor:{Block:{exit({node:e}){const{body:t}=e;let s=Math.pow(2,30)-1;let r=false;for(let e=0;es){r=true;break}s=n}if(!r)return;e.body=stableSort(t.slice())}}}}},13317:(e,s,r)=>{"use strict";Object.defineProperty(s,"__esModule",{value:true});s.default=void 0;function helpers(){const e=r(56976);helpers=function(){return e};return e}function _traverse(){const e=r(4267);_traverse=function(){return e};return e}function _codeFrame(){const e=r(16619);_codeFrame=function(){return e};return e}function t(){const e=r(19761);t=function(){return e};return e}function _helperModuleTransforms(){const e=r(83113);_helperModuleTransforms=function(){return e};return e}function _semver(){const e=r(62519);_semver=function(){return e};return e}const i={enter(e,t){const s=e.node.loc;if(s){t.loc=s;e.stop()}}};class File{constructor(e,{code:t,ast:s,inputMap:r}){this._map=new Map;this.opts=void 0;this.declarations={};this.path=null;this.ast={};this.scope=void 0;this.metadata={};this.code="";this.inputMap=null;this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)};this.opts=e;this.code=t;this.ast=s;this.inputMap=r;this.path=_traverse().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext();this.scope=this.path.scope}get shebang(){const{interpreter:e}=this.path.node;return e?e.value:""}set shebang(e){if(e){this.path.get("interpreter").replaceWith(t().interpreterDirective(e))}else{this.path.get("interpreter").remove()}}set(e,t){if(e==="helpersNamespace"){throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility."+"If you are using @babel/plugin-external-helpers you will need to use a newer "+"version than the one you currently have installed. "+"If you have your own implementation, you'll want to explore using 'helperGenerator' "+"alongside 'file.availableHelper()'.")}this._map.set(e,t)}get(e){return this._map.get(e)}has(e){return this._map.has(e)}getModuleName(){return(0,_helperModuleTransforms().getModuleName)(this.opts,this.opts)}addImport(){throw new Error("This API has been removed. If you're looking for this "+"functionality in Babel 7, you should import the "+"'@babel/helper-module-imports' module and use the functions exposed "+" from that module, such as 'addNamed' or 'addDefault'.")}availableHelper(e,t){let s;try{s=helpers().minVersion(e)}catch(e){if(e.code!=="BABEL_HELPER_UNKNOWN")throw e;return false}if(typeof t!=="string")return true;if(_semver().valid(t))t=`^${t}`;return!_semver().intersects(`<${s}`,t)&&!_semver().intersects(`>=8.0.0`,t)}addHelper(e){const s=this.declarations[e];if(s)return t().cloneNode(s);const r=this.get("helperGenerator");if(r){const t=r(e);if(t)return t}helpers().ensure(e,File);const i=this.declarations[e]=this.scope.generateUidIdentifier(e);const n={};for(const t of helpers().getDependencies(e)){n[t]=this.addHelper(t)}const{nodes:a,globals:o}=helpers().get(e,e=>n[e],i,Object.keys(this.scope.getAllBindings()));o.forEach(e=>{if(this.path.scope.hasBinding(e,true)){this.path.scope.rename(e)}});a.forEach(e=>{e._compact=true});this.path.unshiftContainer("body",a);this.path.get("body").forEach(e=>{if(a.indexOf(e.node)===-1)return;if(e.isVariableDeclaration())this.scope.registerDeclaration(e)});return i}addTemplateObject(){throw new Error("This function has been moved into the template literal transform itself.")}buildCodeFrameError(e,t,s=SyntaxError){let r=e&&(e.loc||e._loc);if(!r&&e){const s={loc:null};(0,_traverse().default)(e,i,this.scope,s);r=s.loc;let n="This is an error on an internal node. Probably an internal error.";if(r)n+=" Location has been estimated.";t+=` (${n})`}if(r){const{highlightCode:e=true}=this.opts;t+="\n"+(0,_codeFrame().codeFrameColumns)(this.code,{start:{line:r.start.line,column:r.start.column+1},end:r.end&&r.start.line===r.end.line?{line:r.end.line,column:r.end.column+1}:undefined},{highlightCode:e})}return new s(t)}}s.default=File},37151:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateCode;function _convertSourceMap(){const e=s(36301);_convertSourceMap=function(){return e};return e}function _generator(){const e=s(23656);_generator=function(){return e};return e}var r=s(10390);function generateCode(e,t){const{opts:s,ast:i,code:n,inputMap:a}=t;const o=[];for(const t of e){for(const e of t){const{generatorOverride:t}=e;if(t){const e=t(i,s.generatorOpts,n,_generator().default);if(e!==undefined)o.push(e)}}}let l;if(o.length===0){l=(0,_generator().default)(i,s.generatorOpts,n)}else if(o.length===1){l=o[0];if(typeof l.then==="function"){throw new Error(`You appear to be using an async codegen plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version.`)}}else{throw new Error("More than one plugin attempted to override codegen.")}let{code:c,map:p}=l;if(p&&a){p=(0,r.default)(a.toObject(),p)}if(s.sourceMaps==="inline"||s.sourceMaps==="both"){c+="\n"+_convertSourceMap().fromObject(p).toComment()}if(s.sourceMaps==="inline"){p=null}return{outputCode:c,outputMap:p}}},10390:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=mergeSourceMap;function _sourceMap(){const e=s(96241);_sourceMap=function(){return e};return e}function mergeSourceMap(e,t){const s=buildMappingData(e);const r=buildMappingData(t);const i=new(_sourceMap().SourceMapGenerator);for(const{source:e}of s.sources){if(typeof e.content==="string"){i.setSourceContent(e.path,e.content)}}if(r.sources.length===1){const e=r.sources[0];const t=new Map;eachInputGeneratedRange(s,(s,r,n)=>{eachOverlappingGeneratedOutputRange(e,s,e=>{const s=makeMappingKey(e);if(t.has(s))return;t.set(s,e);i.addMapping({source:n.path,original:{line:r.line,column:r.columnStart},generated:{line:e.line,column:e.columnStart},name:r.name})})});for(const e of t.values()){if(e.columnEnd===Infinity){continue}const s={line:e.line,columnStart:e.columnEnd};const r=makeMappingKey(s);if(t.has(r)){continue}i.addMapping({generated:{line:s.line,column:s.columnStart}})}}const n=i.toJSON();if(typeof s.sourceRoot==="string"){n.sourceRoot=s.sourceRoot}return n}function makeMappingKey(e){return`${e.line}/${e.columnStart}`}function eachOverlappingGeneratedOutputRange(e,t,s){const r=filterApplicableOriginalRanges(e,t);for(const{generated:e}of r){for(const t of e){s(t)}}}function filterApplicableOriginalRanges({mappings:e},{line:t,columnStart:s,columnEnd:r}){return filterSortedArray(e,({original:e})=>{if(t>e.line)return-1;if(t=e.columnEnd)return-1;if(r<=e.columnStart)return 1;return 0})}function eachInputGeneratedRange(e,t){for(const{source:s,mappings:r}of e.sources){for(const{original:e,generated:i}of r){for(const r of i){t(r,e,s)}}}}function buildMappingData(e){const t=new(_sourceMap().SourceMapConsumer)(Object.assign({},e,{sourceRoot:null}));const s=new Map;const r=new Map;let i=null;t.computeColumnSpans();t.eachMapping(e=>{if(e.originalLine===null)return;let n=s.get(e.source);if(!n){n={path:e.source,content:t.sourceContentFor(e.source,true)};s.set(e.source,n)}let a=r.get(n);if(!a){a={source:n,mappings:[]};r.set(n,a)}const o={line:e.originalLine,columnStart:e.originalColumn,columnEnd:Infinity,name:e.name};if(i&&i.source===n&&i.mapping.line===e.originalLine){i.mapping.columnEnd=e.originalColumn}i={source:n,mapping:o};a.mappings.push({original:o,generated:t.allGeneratedPositionsFor({source:e.source,line:e.originalLine,column:e.originalColumn}).map(e=>({line:e.line,columnStart:e.column,columnEnd:e.lastColumn+1}))})},null,_sourceMap().SourceMapConsumer.ORIGINAL_ORDER);return{file:e.file,sourceRoot:e.sourceRoot,sources:Array.from(r.values())}}function findInsertionLocation(e,t){let s=0;let r=e.length;while(s=0){r=i}else{s=i+1}}let i=s;if(i=0&&t(e[i])>=0){i--}return i+1}return i}function filterSortedArray(e,t){const s=findInsertionLocation(e,t);const r=[];for(let i=s;i{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.run=run;function _traverse(){const e=s(4267);_traverse=function(){return e};return e}var r=s(84938);var i=s(43733);var n=s(78593);var a=s(19093);var o=s(37151);function*run(e,t,s){const r=yield*(0,a.default)(e.passes,(0,n.default)(e),t,s);const i=r.opts;try{yield*transformFile(r,e.passes)}catch(e){var l;e.message=`${(l=i.filename)!=null?l:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_TRANSFORM_ERROR"}throw e}let c,p;try{if(i.code!==false){({outputCode:c,outputMap:p}=(0,o.default)(e.passes,r))}}catch(e){var u;e.message=`${(u=i.filename)!=null?u:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_GENERATE_ERROR"}throw e}return{metadata:r.metadata,options:i,ast:i.ast===true?r.ast:null,code:c===undefined?null:c,map:p===undefined?null:p,sourceType:r.ast.program.sourceType}}function*transformFile(e,t){for(const s of t){const t=[];const n=[];const a=[];for(const o of s.concat([(0,i.default)()])){const s=new r.default(e,o.key,o.options);t.push([o,s]);n.push(s);a.push(o.visitor)}for(const[s,r]of t){const t=s.pre;if(t){const s=t.call(r,e);yield*[];if(isThenable(s)){throw new Error(`You appear to be using an plugin with an async .pre, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}const o=_traverse().default.visitors.merge(a,n,e.opts.wrapPluginVisitorMethod);(0,_traverse().default)(e.ast,o,e.scope);for(const[s,r]of t){const t=s.post;if(t){const s=t.call(r,e);yield*[];if(isThenable(s)){throw new Error(`You appear to be using an plugin with an async .post, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}}}function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},19093:(e,s,r)=>{"use strict";Object.defineProperty(s,"__esModule",{value:true});s.default=normalizeFile;function _fs(){const e=r(35747);_fs=function(){return e};return e}function _path(){const e=r(85622);_path=function(){return e};return e}function _debug(){const e=r(31185);_debug=function(){return e};return e}function t(){const e=r(19761);t=function(){return e};return e}function _convertSourceMap(){const e=r(36301);_convertSourceMap=function(){return e};return e}var i=r(13317);var n=r(92798);var a=r(34382);const o=_debug()("babel:transform:file");const l=1e6;function*normalizeFile(e,s,r,u){r=`${r||""}`;if(u){if(u.type==="Program"){u=t().file(u,[],[])}else if(u.type!=="File"){throw new Error("AST root must be a Program or File node")}if(s.cloneInputAst){u=(0,a.default)(u)}}else{u=yield*(0,n.default)(e,s,r)}let h=null;if(s.inputSourceMap!==false){if(typeof s.inputSourceMap==="object"){h=_convertSourceMap().fromObject(s.inputSourceMap)}if(!h){const e=extractComments(c,u);if(e){try{h=_convertSourceMap().fromComment(e)}catch(e){o("discarding unknown inline input sourcemap",e)}}}if(!h){const e=extractComments(p,u);if(typeof s.filename==="string"&&e){try{const t=p.exec(e);const r=_fs().readFileSync(_path().resolve(_path().dirname(s.filename),t[1]));if(r.length>l){o("skip merging input map > 1 MB")}else{h=_convertSourceMap().fromJSON(r)}}catch(e){o("discarding unknown file input sourcemap",e)}}else if(e){o("discarding un-loadable file input sourcemap")}}}return new i.default(s,{code:r,ast:u,inputMap:h})}const c=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/;const p=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function extractCommentsFromList(e,t,s){if(t){t=t.filter(({value:t})=>{if(e.test(t)){s=t;return false}return true})}return[t,s]}function extractComments(e,s){let r=null;t().traverseFast(s,t=>{[t.leadingComments,r]=extractCommentsFromList(e,t.leadingComments,r);[t.innerComments,r]=extractCommentsFromList(e,t.innerComments,r);[t.trailingComments,r]=extractCommentsFromList(e,t.trailingComments,r)});return r}},78593:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=normalizeOptions;function _path(){const e=s(85622);_path=function(){return e};return e}function normalizeOptions(e){const{filename:t,cwd:s,filenameRelative:r=(typeof t==="string"?_path().relative(s,t):"unknown"),sourceType:i="module",inputSourceMap:n,sourceMaps:a=!!n,sourceRoot:o=e.options.moduleRoot,sourceFileName:l=_path().basename(r),comments:c=true,compact:p="auto"}=e.options;const u=e.options;const h=Object.assign({},u,{parserOpts:Object.assign({sourceType:_path().extname(r)===".mjs"?"module":i,sourceFileName:t,plugins:[]},u.parserOpts),generatorOpts:Object.assign({filename:t,auxiliaryCommentBefore:u.auxiliaryCommentBefore,auxiliaryCommentAfter:u.auxiliaryCommentAfter,retainLines:u.retainLines,comments:c,shouldPrintComment:u.shouldPrintComment,compact:p,minified:u.minified,sourceMaps:a,sourceRoot:o,sourceFileName:l},u.generatorOpts)});for(const t of e.passes){for(const e of t){if(e.manipulateOptions){e.manipulateOptions(h,h.parserOpts)}}}return h}},84938:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class PluginPass{constructor(e,t,s){this._map=new Map;this.key=void 0;this.file=void 0;this.opts=void 0;this.cwd=void 0;this.filename=void 0;this.key=t;this.file=e;this.opts=s||{};this.cwd=e.opts.cwd;this.filename=e.opts.filename}set(e,t){this._map.set(e,t)}get(e){return this._map.get(e)}availableHelper(e,t){return this.file.availableHelper(e,t)}addHelper(e){return this.file.addHelper(e)}addImport(){return this.file.addImport()}buildCodeFrameError(e,t,s){return this.file.buildCodeFrameError(e,t,s)}}t.default=PluginPass;{PluginPass.prototype.getModuleName=function getModuleName(){return this.file.getModuleName()}}},93161:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;const s="$$ babel internal serialized type"+Math.random();function serialize(e,t){if(typeof t!=="bigint")return t;return{[s]:"BigInt",value:t.toString()}}function revive(e,t){if(!t||typeof t!=="object")return t;if(t[s]!=="BigInt")return t;return BigInt(t.value)}function _default(e){return JSON.parse(JSON.stringify(e,serialize),revive)}},34382:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;function _v(){const e=s(68987);_v=function(){return e};return e}var r=s(93161);function _default(e){if(_v().deserialize&&_v().serialize){return _v().deserialize(_v().serialize(e))}return(0,r.default)(e)}},16619:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var r=s(94917);let i=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const n=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,s){const r=Object.assign({column:0,line:-1},e.start);const i=Object.assign({},r,e.end);const{linesAbove:n=2,linesBelow:a=3}=s||{};const o=r.line;const l=r.column;const c=i.line;const p=i.column;let u=Math.max(o-(n+1),0);let h=Math.min(t.length,c+a);if(o===-1){u=0}if(c===-1){h=t.length}const f=c-o;const d={};if(f){for(let e=0;e<=f;e++){const s=e+o;if(!l){d[s]=true}else if(e===0){const e=t[s-1].length;d[s]=[l,e-l+1]}else if(e===f){d[s]=[0,p]}else{const r=t[s-e].length;d[s]=[0,r]}}}else{if(l===p){if(l){d[o]=[l,0]}else{d[o]=true}}else{d[o]=[l,p-l]}}return{start:u,end:h,markerLines:d}}function codeFrameColumns(e,t,s={}){const i=(s.highlightCode||s.forceColor)&&(0,r.shouldHighlight)(s);const a=(0,r.getChalk)(s);const o=getDefs(a);const l=(e,t)=>{return i?e(t):t};const c=e.split(n);const{start:p,end:u,markerLines:h}=getMarkerLines(t,c,s);const f=t.start&&typeof t.start.column==="number";const d=String(u).length;const y=i?(0,r.default)(e,s):e;let m=y.split(n).slice(p,u).map((e,t)=>{const r=p+1+t;const i=` ${r}`.slice(-d);const n=` ${i} |`;const a=h[r];const c=!h[r+1];if(a){let t="";if(Array.isArray(a)){const r=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const i=a[1]||1;t=["\n ",l(o.gutter,n.replace(/\d/g," "))," ",r,l(o.marker,"^").repeat(i)].join("");if(c&&s.message){t+=" "+l(o.message,s.message)}}return[l(o.marker,">"),l(o.gutter,n),e.length>0?` ${e}`:"",t].join("")}else{return` ${l(o.gutter,n)}${e.length>0?` ${e}`:""}`}}).join("\n");if(s.message&&!f){m=`${" ".repeat(d+1)}${s.message}\n${m}`}if(i){return a.reset(m)}else{return m}}function _default(e,t,s,r={}){if(!i){i=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}s=Math.max(s,0);const n={start:{column:s,line:t}};return codeFrameColumns(e,n,r)}},59946:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(42357);var i=s(19761);class ImportBuilder{constructor(e,t,s){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=s;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(i.importDeclaration([],i.stringLiteral(this._importedSource)));return this}require(){this._statements.push(i.expressionStatement(i.callExpression(i.identifier("require"),[i.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const s=this._statements[this._statements.length-1];r(s.type==="ImportDeclaration");r(s.specifiers.length===0);s.specifiers=[i.importNamespaceSpecifier(t)];this._resultName=i.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];r(t.type==="ImportDeclaration");r(t.specifiers.length===0);t.specifiers=[i.importDefaultSpecifier(e)];this._resultName=i.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const s=this._statements[this._statements.length-1];r(s.type==="ImportDeclaration");r(s.specifiers.length===0);s.specifiers=[i.importSpecifier(e,i.identifier(t))];this._resultName=i.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){r(this._resultName);t=i.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=i.variableDeclaration("var",[i.variableDeclarator(e,t.expression)]);this._resultName=i.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){r(t.declarations.length===1);t.declarations[0].init=i.callExpression(e,[t.declarations[0].init])}else{r.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.memberExpression(t.expression,i.identifier(e))}else if(t.type==="VariableDeclaration"){r(t.declarations.length===1);t.declarations[0].init=i.memberExpression(t.declarations[0].init,i.identifier(e))}else{r.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=i.memberExpression(this._resultName,i.identifier(e))}}t.default=ImportBuilder},76980:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(42357);var i=s(19761);var n=s(59946);var a=s(34595);class ImportInjector{constructor(e,t,s){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const r=e.find(e=>e.isProgram());this._programPath=r;this._programScope=r.scope;this._hub=r.hub;this._defaultOpts=this._applyDefaults(t,s,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,s){r(typeof e==="string");return this._generateImport(this._applyDefaults(t,s),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,s=false){const i=[];if(typeof e==="string"){i.push({importedSource:e});i.push(t)}else{r(!t,"Unexpected secondary arguments.");i.push(e)}const n=Object.assign({},this._defaultOpts);for(const e of i){if(!e)continue;Object.keys(n).forEach(t=>{if(e[t]!==undefined)n[t]=e[t]});if(!s){if(e.nameHint!==undefined)n.nameHint=e.nameHint;if(e.blockHoist!==undefined)n.blockHoist=e.blockHoist}}return n}_generateImport(e,t){const s=t==="default";const r=!!t&&!s;const o=t===null;const{importedSource:l,importedType:c,importedInterop:p,importingInterop:u,ensureLiveReference:h,ensureNoContext:f,nameHint:d,importPosition:y,blockHoist:m}=e;let g=d||t;const b=(0,a.default)(this._programPath);const x=b&&u==="node";const v=b&&u==="babel";if(y==="after"&&!b){throw new Error(`"importPosition": "after" is only supported in modules`)}const w=new n.default(l,this._programScope,this._hub);if(c==="es6"){if(!x&&!v){throw new Error("Cannot import an ES6 module from CommonJS")}w.import();if(o){w.namespace(d||l)}else if(s||r){w.named(g,t)}}else if(c!=="commonjs"){throw new Error(`Unexpected interopType "${c}"`)}else if(p==="babel"){if(x){g=g!=="default"?g:l;const e=`${l}$es6Default`;w.import();if(o){w.default(e).var(g||l).wildcardInterop()}else if(s){if(h){w.default(e).var(g||l).defaultInterop().read("default")}else{w.default(e).var(g).defaultInterop().prop(t)}}else if(r){w.default(e).read(t)}}else if(v){w.import();if(o){w.namespace(g||l)}else if(s||r){w.named(g,t)}}else{w.require();if(o){w.var(g||l).wildcardInterop()}else if((s||r)&&h){if(s){g=g!=="default"?g:l;w.var(g).read(t);w.defaultInterop()}else{w.var(l).read(t)}}else if(s){w.var(g).defaultInterop().prop(t)}else if(r){w.var(g).prop(t)}}}else if(p==="compiled"){if(x){w.import();if(o){w.default(g||l)}else if(s||r){w.default(l).read(g)}}else if(v){w.import();if(o){w.namespace(g||l)}else if(s||r){w.named(g,t)}}else{w.require();if(o){w.var(g||l)}else if(s||r){if(h){w.var(l).read(g)}else{w.prop(t).var(g)}}}}else if(p==="uncompiled"){if(s&&h){throw new Error("No live reference for commonjs default")}if(x){w.import();if(o){w.default(g||l)}else if(s){w.default(g)}else if(r){w.default(l).read(g)}}else if(v){w.import();if(o){w.default(g||l)}else if(s){w.default(g)}else if(r){w.named(g,t)}}else{w.require();if(o){w.var(g||l)}else if(s){w.var(g)}else if(r){if(h){w.var(l).read(g)}else{w.var(g).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:P,resultName:E}=w.done();this._insertStatements(P,y,m);if((s||r)&&f&&E.type!=="Identifier"){return i.sequenceExpression([i.numericLiteral(0),E])}return E}_insertStatements(e,t="before",s=3){const r=this._programPath.get("body");if(t==="after"){for(let t=r.length-1;t>=0;t--){if(r[t].isImportDeclaration()){r[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=s});const t=r.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},54539:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return r.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return i.default}});var r=s(76980);var i=s(34595);function addDefault(e,t,s){return new r.default(e).addDefault(t,s)}function addNamed(e,t,s,i){return new r.default(e).addNamed(t,s,i)}function addNamespace(e,t,s){return new r.default(e).addNamespace(t,s)}function addSideEffect(e,t,s){return new r.default(e).addSideEffect(t,s)}},34595:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},56127:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getModuleName;{const e=getModuleName;t.default=getModuleName=function getModuleName(t,s){var r,i,n,a;return e(t,{moduleId:(r=s.moduleId)!=null?r:t.moduleId,moduleIds:(i=s.moduleIds)!=null?i:t.moduleIds,getModuleId:(n=s.getModuleId)!=null?n:t.getModuleId,moduleRoot:(a=s.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:s,filenameRelative:r=s,sourceRoot:i=t.moduleRoot}=e;const{moduleId:n,moduleIds:a=!!n,getModuleId:o,moduleRoot:l=i}=t;if(!a)return null;if(n!=null&&!o){return n}let c=l!=null?l+"/":"";if(r){const e=i!=null?new RegExp("^"+i+"/?"):"";c+=r.replace(e,"").replace(/\.(\w*?)$/,"")}c=c.replace(/\\/g,"/");if(o){return o(c)||c}else{return c}}},83113:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;t.ensureStatementsHoisted=ensureStatementsHoisted;t.wrapInterop=wrapInterop;t.buildNamespaceInitStatements=buildNamespaceInitStatements;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.isModule}});Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return c.hasExports}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return c.isSideEffectImport}});Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});var r=s(42357);var i=s(19761);var n=s(36900);var a=s(54539);var o=s(84748);var l=s(65302);var c=s(37085);var p=s(56127);function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:s,strict:n,allowTopLevelThis:p,strictMode:u,noInterop:h,importInterop:f=(h?"none":"babel"),lazy:d,esNamespaceOnly:y,constantReexports:m=t,enumerableModuleMeta:g=t}){(0,c.validateImportInteropOption)(f);r((0,a.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const b=(0,c.default)(e,s,{importInterop:f,initializeReexports:m,lazy:d,esNamespaceOnly:y});if(!p){(0,o.default)(e)}(0,l.default)(e,b);if(u!==false){const t=e.node.directives.some(e=>{return e.value.value==="use strict"});if(!t){e.unshiftContainer("directives",i.directive(i.directiveLiteral("use strict")))}}const x=[];if((0,c.hasExports)(b)&&!n){x.push(buildESModuleHeader(b,g))}const v=buildExportNameListDeclaration(e,b);if(v){b.exportNameListName=v.name;x.push(v.statement)}x.push(...buildExportInitializationStatements(e,b,m));return{meta:b,headers:x}}function ensureStatementsHoisted(e){e.forEach(e=>{e._blockHoist=3})}function wrapInterop(e,t,s){if(s==="none"){return null}if(s==="node-namespace"){return i.callExpression(e.hub.addHelper("interopRequireWildcard"),[t,i.booleanLiteral(true)])}else if(s==="node-default"){return null}let r;if(s==="default"){r="interopRequireDefault"}else if(s==="namespace"){r="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${s}`)}return i.callExpression(e.hub.addHelper(r),[t])}function buildNamespaceInitStatements(e,t,s=false){const r=[];let a=i.identifier(t.name);if(t.lazy)a=i.callExpression(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;r.push(n.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:i.cloneNode(a)}))}if(s){r.push(...h(e,t,true))}for(const s of t.reexportNamespace){r.push((t.lazy?n.default.statement` Object.defineProperty(EXPORTS, "NAME", { enumerable: true, get: function() { return NAMESPACE; } }); - `:i.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:r,NAMESPACE:s.cloneNode(a)}))}if(t.reexportAll){const i=buildNamespaceReexport(e,s.cloneNode(a),r);i.loc=t.reexportAll.loc;n.push(i)}return n}const f={constant:i.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:i.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:(0,i.default)` + `:n.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:s,NAMESPACE:i.cloneNode(a)}))}if(t.reexportAll){const n=buildNamespaceReexport(e,i.cloneNode(a),s);n.loc=t.reexportAll.loc;r.push(n)}return r}const u={constant:n.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:n.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:(0,n.default)` Object.defineProperty(EXPORTS, "EXPORT_NAME", { enumerable: true, get: function() { return NAMESPACE_IMPORT; }, }); - `};const c=(e,t,r)=>{const n=t.lazy?s.callExpression(s.identifier(t.name),[]):s.identifier(t.name);const{stringSpecifiers:i}=e;return Array.from(t.reexports,([a,o])=>{let l=s.cloneNode(n);if(o==="default"&&t.interop==="node-default"){}else if(i.has(o)){l=s.memberExpression(l,s.stringLiteral(o),true)}else{l=s.memberExpression(l,s.identifier(o))}const u={EXPORTS:e.exportName,EXPORT_NAME:a,NAMESPACE_IMPORT:l};if(r||s.isIdentifier(l)){if(i.has(a)){return f.constantComputed(u)}else{return f.constant(u)}}else{return f.spec(u)}})};function buildESModuleHeader(e,t=false){return(t?i.default.statement` + `};const h=(e,t,s)=>{const r=t.lazy?i.callExpression(i.identifier(t.name),[]):i.identifier(t.name);const{stringSpecifiers:n}=e;return Array.from(t.reexports,([a,o])=>{let l=i.cloneNode(r);if(o==="default"&&t.interop==="node-default"){}else if(n.has(o)){l=i.memberExpression(l,i.stringLiteral(o),true)}else{l=i.memberExpression(l,i.identifier(o))}const c={EXPORTS:e.exportName,EXPORT_NAME:a,NAMESPACE_IMPORT:l};if(s||i.isIdentifier(l)){if(n.has(a)){return u.constantComputed(c)}else{return u.constant(c)}}else{return u.spec(c)}})};function buildESModuleHeader(e,t=false){return(t?n.default.statement` EXPORTS.__esModule = true; - `:i.default.statement` + `:n.default.statement` Object.defineProperty(EXPORTS, "__esModule", { value: true, }); - `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,r){return(r?i.default.statement` + `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,s){return(s?n.default.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; @@ -38,7 +38,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m EXPORTS[key] = NAMESPACE[key]; }); - `:i.default.statement` + `:n.default.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; @@ -51,58 +51,58 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }, }); }); - `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,i.default)` + `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,n.default)` if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return; - `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const r=Object.create(null);for(const e of t.local.values()){for(const t of e.names){r[t]=true}}let n=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){r[t]=true}for(const t of e.reexportNamespace){r[t]=true}n=n||!!e.reexportAll}if(!n||Object.keys(r).length===0)return null;const i=e.scope.generateUidIdentifier("exportNames");delete r.default;return{name:i.name,statement:s.variableDeclaration("var",[s.variableDeclarator(i,s.valueToNode(r))])}}function buildExportInitializationStatements(e,t,r=false){const n=[];const i=[];for(const[e,r]of t.local){if(r.kind==="import"){}else if(r.kind==="hoisted"){n.push(buildInitStatement(t,r.names,s.identifier(e)))}else{i.push(...r.names)}}for(const e of t.source.values()){if(!r){n.push(...c(t,e,false))}for(const t of e.reexportNamespace){i.push(t)}}n.push(...chunk(i,100).map(r=>{return buildInitStatement(t,r,e.scope.buildUndefinedNode())}));return n}const d={computed:i.default.expression`EXPORTS["NAME"] = VALUE`,default:i.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,r){const{stringSpecifiers:n,exportName:i}=e;return s.expressionStatement(t.reduce((e,t)=>{const r={EXPORTS:i,NAME:t,VALUE:e};if(n.has(t)){return d.computed(r)}else{return d.default(r)}},r))}function chunk(e,t){const r=[];for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;t.default=normalizeModuleAndLoadMetadata;var n=r(85622);var s=r(85531);var i=r(76729);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t){if(typeof e==="function"){return validateImportInteropOption(e(t))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:r,initializeReexports:n=false,lazy:s=false,esNamespaceOnly:i=false}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const a=new Set;nameAnonymousExports(e);const{local:o,source:l,hasExports:u}=getModuleMetadata(e,{initializeReexports:n,lazy:s},a);removeModuleDeclarations(e);for(const[,e]of l){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(r,e.source);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(i&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:u,local:o,source:l,stringSpecifiers:a}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const r=e.node.value;if(!(0,s.isIdentifierName)(r)){t.add(r)}return r}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:r},s){const i=getLocalExportMetadata(e,r,s);const a=new Map;const o=t=>{const r=t.value;let s=a.get(r);if(!s){s={name:e.scope.generateUidIdentifier((0,n.basename)(r,(0,n.extname)(r))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:r};a.set(r,s)}return s};let l=false;e.get("body").forEach(e=>{if(e.isImportDeclaration()){const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{if(e.isImportDefaultSpecifier()){const r=e.get("local").node.name;t.imports.set(r,"default");const n=i.get(r);if(n){i.delete(r);n.names.forEach(e=>{t.reexports.set(e,"default")})}}else if(e.isImportNamespaceSpecifier()){const r=e.get("local").node.name;t.importsNamespace.add(r);const n=i.get(r);if(n){i.delete(r);n.names.forEach(e=>{t.reexportNamespace.add(e)})}}else if(e.isImportSpecifier()){const r=getExportSpecifierName(e.get("imported"),s);const n=e.get("local").node.name;t.imports.set(n,r);const a=i.get(n);if(a){i.delete(n);a.names.forEach(e=>{t.reexports.set(e,r)})}}})}else if(e.isExportAllDeclaration()){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{assertExportSpecifier(e);const r=getExportSpecifierName(e.get("local"),s);const n=getExportSpecifierName(e.get("exported"),s);t.reexports.set(n,r);if(n==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}})}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}});for(const e of a.values()){let t=false;let r=false;if(e.importsNamespace.size>0){t=true;r=true}if(e.reexportAll){r=true}for(const n of e.imports.values()){if(n==="default")t=true;else r=true}for(const n of e.reexports.values()){if(n==="default")t=true;else r=true}if(t&&r){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,r]of a){if(t!==false&&!(isSideEffectImport(r)||r.reexportAll)){if(t===true){r.lazy=!/\./.test(e)}else if(Array.isArray(t)){r.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){r.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:l,local:i,source:a}}function getLocalExportMetadata(e,t,r){const n=new Map;e.get("body").forEach(e=>{let r;if(e.isImportDeclaration()){r="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach(e=>{assertExportSpecifier(e);n.set(e.get("local").node.name,"block")});return}}if(e.isFunctionDeclaration()){r="hoisted"}else if(e.isClassDeclaration()){r="block"}else if(e.isVariableDeclaration({kind:"var"})){r="var"}else if(e.isVariableDeclaration()){r="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach(e=>{n.set(e,r)})});const s=new Map;const i=e=>{const t=e.node.name;let r=s.get(t);if(!r){const i=n.get(t);if(i===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}r={names:[],kind:i};s.set(t,r)}return r};e.get("body").forEach(e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const r=t.getOuterBindingIdentifierPaths();Object.keys(r).forEach(e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}i(r[e]).names.push(e)})}else{e.get("specifiers").forEach(e=>{const t=e.get("local");const n=e.get("exported");const s=i(t);const a=getExportSpecifierName(n,r);if(a==="__esModule"){throw n.buildCodeFrameError('Illegal export "__esModule".')}s.names.push(a)})}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){i(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}});return s}function nameAnonymousExports(e){e.get("body").forEach(e=>{if(!e.isExportDefaultDeclaration())return;(0,i.default)(e)})}function removeModuleDeclarations(e){e.get("body").forEach(e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}})}},65302:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteLiveReferences;var n=r(42357);var s=r(79584);var i=r(36900);var a=r(63535);function rewriteLiveReferences(e,t){const r=new Map;const n=new Map;const i=t=>{e.requeue(t)};for(const[e,n]of t.source){for(const[t,s]of n.imports){r.set(t,[e,s,null])}for(const t of n.importsNamespace){r.set(t,[e,null,t])}}for(const[e,r]of t.local){let t=n.get(e);if(!t){t=[];n.set(e,t)}t.push(...r.names)}const l={metadata:t,requeueInParent:i,scope:e.scope,exported:n};e.traverse(o,l);(0,a.default)(e,new Set([...Array.from(r.keys()),...Array.from(n.keys())]));const u={seen:new WeakSet,metadata:t,requeueInParent:i,scope:e.scope,imported:r,exported:n,buildImportReference:([e,r,n],i)=>{const a=t.source.get(e);if(n){if(a.lazy)i=s.callExpression(i,[]);return i}let o=s.identifier(a.name);if(a.lazy)o=s.callExpression(o,[]);if(r==="default"&&a.interop==="node-default"){return o}const l=t.stringSpecifiers.has(r);return s.memberExpression(o,l?s.stringLiteral(r):s.identifier(r),l)}};e.traverse(p,u)}const o={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;const{id:i}=e.node;if(!i)throw new Error("Expected class to have a name");const a=i.name;const o=r.get(a)||[];if(o.length>0){const r=s.expressionStatement(l(n,o,s.identifier(a)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(i=>{const a=r.get(i)||[];if(a.length>0){const r=s.expressionStatement(l(n,a,s.identifier(i)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}})}};const l=(e,t,r)=>{return(t||[]).reduce((t,r)=>{const{stringSpecifiers:n}=e;const i=n.has(r);return s.assignmentExpression("=",s.memberExpression(s.identifier(e.exportName),i?s.stringLiteral(r):s.identifier(r),i),t)},r)};const u=e=>{return i.default.expression.ast` + `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const s=Object.create(null);for(const e of t.local.values()){for(const t of e.names){s[t]=true}}let r=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){s[t]=true}for(const t of e.reexportNamespace){s[t]=true}r=r||!!e.reexportAll}if(!r||Object.keys(s).length===0)return null;const n=e.scope.generateUidIdentifier("exportNames");delete s.default;return{name:n.name,statement:i.variableDeclaration("var",[i.variableDeclarator(n,i.valueToNode(s))])}}function buildExportInitializationStatements(e,t,s=false){const r=[];const n=[];for(const[e,s]of t.local){if(s.kind==="import"){}else if(s.kind==="hoisted"){r.push(buildInitStatement(t,s.names,i.identifier(e)))}else{n.push(...s.names)}}for(const e of t.source.values()){if(!s){r.push(...h(t,e,false))}for(const t of e.reexportNamespace){n.push(t)}}r.push(...chunk(n,100).map(s=>{return buildInitStatement(t,s,e.scope.buildUndefinedNode())}));return r}const f={computed:n.default.expression`EXPORTS["NAME"] = VALUE`,default:n.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,s){const{stringSpecifiers:r,exportName:n}=e;return i.expressionStatement(t.reduce((e,t)=>{const s={EXPORTS:n,NAME:t,VALUE:e};if(r.has(t)){return f.computed(s)}else{return f.default(s)}},s))}function chunk(e,t){const s=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;t.default=normalizeModuleAndLoadMetadata;var r=s(85622);var i=s(85531);var n=s(76729);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t){if(typeof e==="function"){return validateImportInteropOption(e(t))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:s,initializeReexports:r=false,lazy:i=false,esNamespaceOnly:n=false}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const a=new Set;nameAnonymousExports(e);const{local:o,source:l,hasExports:c}=getModuleMetadata(e,{initializeReexports:r,lazy:i},a);removeModuleDeclarations(e);for(const[,e]of l){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(s,e.source);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(n&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:c,local:o,source:l,stringSpecifiers:a}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const s=e.node.value;if(!(0,i.isIdentifierName)(s)){t.add(s)}return s}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:s},i){const n=getLocalExportMetadata(e,s,i);const a=new Map;const o=t=>{const s=t.value;let i=a.get(s);if(!i){i={name:e.scope.generateUidIdentifier((0,r.basename)(s,(0,r.extname)(s))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:s};a.set(s,i)}return i};let l=false;e.get("body").forEach(e=>{if(e.isImportDeclaration()){const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{if(e.isImportDefaultSpecifier()){const s=e.get("local").node.name;t.imports.set(s,"default");const r=n.get(s);if(r){n.delete(s);r.names.forEach(e=>{t.reexports.set(e,"default")})}}else if(e.isImportNamespaceSpecifier()){const s=e.get("local").node.name;t.importsNamespace.add(s);const r=n.get(s);if(r){n.delete(s);r.names.forEach(e=>{t.reexportNamespace.add(e)})}}else if(e.isImportSpecifier()){const s=getExportSpecifierName(e.get("imported"),i);const r=e.get("local").node.name;t.imports.set(r,s);const a=n.get(r);if(a){n.delete(r);a.names.forEach(e=>{t.reexports.set(e,s)})}}})}else if(e.isExportAllDeclaration()){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{assertExportSpecifier(e);const s=getExportSpecifierName(e.get("local"),i);const r=getExportSpecifierName(e.get("exported"),i);t.reexports.set(r,s);if(r==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}})}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}});for(const e of a.values()){let t=false;let s=false;if(e.importsNamespace.size>0){t=true;s=true}if(e.reexportAll){s=true}for(const r of e.imports.values()){if(r==="default")t=true;else s=true}for(const r of e.reexports.values()){if(r==="default")t=true;else s=true}if(t&&s){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,s]of a){if(t!==false&&!(isSideEffectImport(s)||s.reexportAll)){if(t===true){s.lazy=!/\./.test(e)}else if(Array.isArray(t)){s.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){s.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:l,local:n,source:a}}function getLocalExportMetadata(e,t,s){const r=new Map;e.get("body").forEach(e=>{let s;if(e.isImportDeclaration()){s="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach(e=>{assertExportSpecifier(e);r.set(e.get("local").node.name,"block")});return}}if(e.isFunctionDeclaration()){s="hoisted"}else if(e.isClassDeclaration()){s="block"}else if(e.isVariableDeclaration({kind:"var"})){s="var"}else if(e.isVariableDeclaration()){s="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach(e=>{r.set(e,s)})});const i=new Map;const n=e=>{const t=e.node.name;let s=i.get(t);if(!s){const n=r.get(t);if(n===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}s={names:[],kind:n};i.set(t,s)}return s};e.get("body").forEach(e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const s=t.getOuterBindingIdentifierPaths();Object.keys(s).forEach(e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}n(s[e]).names.push(e)})}else{e.get("specifiers").forEach(e=>{const t=e.get("local");const r=e.get("exported");const i=n(t);const a=getExportSpecifierName(r,s);if(a==="__esModule"){throw r.buildCodeFrameError('Illegal export "__esModule".')}i.names.push(a)})}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){n(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}});return i}function nameAnonymousExports(e){e.get("body").forEach(e=>{if(!e.isExportDefaultDeclaration())return;(0,n.default)(e)})}function removeModuleDeclarations(e){e.get("body").forEach(e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}})}},65302:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteLiveReferences;var r=s(42357);var i=s(19761);var n=s(36900);var a=s(63535);function rewriteLiveReferences(e,t){const s=new Map;const r=new Map;const n=t=>{e.requeue(t)};for(const[e,r]of t.source){for(const[t,i]of r.imports){s.set(t,[e,i,null])}for(const t of r.importsNamespace){s.set(t,[e,null,t])}}for(const[e,s]of t.local){let t=r.get(e);if(!t){t=[];r.set(e,t)}t.push(...s.names)}const l={metadata:t,requeueInParent:n,scope:e.scope,exported:r};e.traverse(o,l);(0,a.default)(e,new Set([...Array.from(s.keys()),...Array.from(r.keys())]));const c={seen:new WeakSet,metadata:t,requeueInParent:n,scope:e.scope,imported:s,exported:r,buildImportReference:([e,s,r],n)=>{const a=t.source.get(e);if(r){if(a.lazy)n=i.callExpression(n,[]);return n}let o=i.identifier(a.name);if(a.lazy)o=i.callExpression(o,[]);if(s==="default"&&a.interop==="node-default"){return o}const l=t.stringSpecifiers.has(s);return i.memberExpression(o,l?i.stringLiteral(s):i.identifier(s),l)}};e.traverse(p,c)}const o={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:s,metadata:r}=this;const{id:n}=e.node;if(!n)throw new Error("Expected class to have a name");const a=n.name;const o=s.get(a)||[];if(o.length>0){const s=i.expressionStatement(l(r,o,i.identifier(a)));s._blockHoist=e.node._blockHoist;t(e.insertAfter(s)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:s,metadata:r}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(n=>{const a=s.get(n)||[];if(a.length>0){const s=i.expressionStatement(l(r,a,i.identifier(n)));s._blockHoist=e.node._blockHoist;t(e.insertAfter(s)[0])}})}};const l=(e,t,s)=>{return(t||[]).reduce((t,s)=>{const{stringSpecifiers:r}=e;const n=r.has(s);return i.assignmentExpression("=",i.memberExpression(i.identifier(e.exportName),n?i.stringLiteral(s):i.identifier(s),n),t)},s)};const c=e=>{return n.default.expression.ast` (function() { throw new Error('"' + '${e}' + '" is read-only.'); })() - `};const p={ReferencedIdentifier(e){const{seen:t,buildImportReference:r,scope:n,imported:i,requeueInParent:a}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const l=i.get(o);if(l){const t=e.scope.getBinding(o);const i=n.getBinding(o);if(i!==t)return;const u=r(l,e.node);u.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&s.isMemberExpression(u)){e.replaceWith(s.sequenceExpression([s.numericLiteral(0),u]))}else if(e.isJSXIdentifier()&&s.isMemberExpression(u)){const{object:t,property:r}=u;e.replaceWith(s.jsxMemberExpression(s.jsxIdentifier(t.name),s.jsxIdentifier(r.name)))}else{e.replaceWith(u)}a(e);e.skip()}},AssignmentExpression:{exit(e){const{scope:t,seen:r,imported:i,exported:a,requeueInParent:o,buildImportReference:p}=this;if(r.has(e.node))return;r.add(e.node);const f=e.get("left");if(f.isMemberExpression())return;if(f.isIdentifier()){const r=f.node.name;if(t.getBinding(r)!==e.scope.getBinding(r)){return}const c=a.get(r);const d=i.get(r);if((c==null?void 0:c.length)>0||d){n(e.node.operator==="=","Path was not simplified");const t=e.node;if(d){t.left=p(d,t.left);t.right=s.sequenceExpression([t.right,u(r)])}e.replaceWith(l(this.metadata,c,t));o(e)}}else{const r=f.getOuterBindingIdentifiers();const n=Object.keys(r).filter(r=>t.getBinding(r)===e.scope.getBinding(r));const p=n.find(e=>i.has(e));if(p){e.node.right=s.sequenceExpression([e.node.right,u(p)])}const c=[];n.forEach(e=>{const t=a.get(e)||[];if(t.length>0){c.push(l(this.metadata,t,s.identifier(e)))}});if(c.length>0){let t=s.sequenceExpression(c);if(e.parentPath.isExpressionStatement()){t=s.expressionStatement(t);t._blockHoist=e.parentPath.node._blockHoist}const r=e.insertAfter(t)[0];o(r)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:r}=e;const{left:n}=r;const{exported:i,scope:a}=this;if(!s.isVariableDeclaration(n)){let r=false;const o=e.get("body");const l=o.scope;for(const e of Object.keys(s.getOuterBindingIdentifiers(n))){if(i.get(e)&&a.getBinding(e)===t.getBinding(e)){r=true;if(l.hasOwnBinding(e)){l.rename(e)}}}if(!r){return}const u=t.generateUidIdentifierBasedOnNode(n);o.unshiftContainer("body",s.expressionStatement(s.assignmentExpression("=",n,u)));e.get("left").replaceWith(s.variableDeclaration("let",[s.variableDeclarator(s.cloneNode(u))]));t.registerDeclaration(e.get("left"))}}}},84748:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteThis;var n=r(846);var s=r(4267);var i=r(79584);function rewriteThis(e){(0,s.default)(e.node,Object.assign({},a,{noScope:true}))}const a=s.default.visitors.merge([n.environmentVisitor,{ThisExpression(e){e.replaceWith(i.unaryExpression("void",i.numericLiteral(0),true))}}])},63535:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=simplifyAccess;var n=r(79584);function simplifyAccess(e,t){e.traverse(s,{scope:e.scope,bindingNames:t,seen:new WeakSet})}const s={UpdateExpression:{exit(e){const{scope:t,bindingNames:r}=this;const s=e.get("argument");if(!s.isIdentifier())return;const i=s.node.name;if(!r.has(i))return;if(t.getBinding(i)!==e.scope.getBinding(i)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(n.assignmentExpression(t,s.node,n.numericLiteral(1)))}else if(e.node.prefix){e.replaceWith(n.assignmentExpression("=",n.identifier(i),n.binaryExpression(e.node.operator[0],n.unaryExpression("+",s.node),n.numericLiteral(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(s.node,"old");const r=t.name;e.scope.push({id:t});const i=n.binaryExpression(e.node.operator[0],n.identifier(r),n.numericLiteral(1));e.replaceWith(n.sequenceExpression([n.assignmentExpression("=",n.identifier(r),n.unaryExpression("+",s.node)),n.assignmentExpression("=",n.cloneNode(s.node),i),n.identifier(r)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:r,bindingNames:s}=this;if(e.node.operator==="=")return;if(r.has(e.node))return;r.add(e.node);const i=e.get("left");if(!i.isIdentifier())return;const a=i.node.name;if(!s.has(a))return;if(t.getBinding(a)!==e.scope.getBinding(a)){return}e.node.right=n.binaryExpression(e.node.operator.slice(0,-1),n.cloneNode(e.node.left),e.node.right);e.node.operator="="}}}},63880:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(63880);var s=r(44730)},44730:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},94917:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldHighlight=shouldHighlight;t.getChalk=getChalk;t.default=highlight;var n=r(52388);var s=r(85531);var i=r(72242);const a=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let u;{const e=/^[a-z][\w-]*$/i;const t=function(t,r,n){if(t.type==="name"){if((0,s.isKeyword)(t.value)||(0,s.isStrictReservedWord)(t.value,true)||a.has(t.value)){return"keyword"}if(e.test(t.value)&&(n[r-1]==="<"||n.substr(r-2,2)=="t(e)).join("\n")}else{r+=s}}return r}function shouldHighlight(e){return!!i.supportsColor||e.forceColor}function getChalk(e){return e.forceColor?new i.constructor({enabled:true,level:1}):i}function highlight(e,t={}){if(shouldHighlight(t)){const r=getChalk(t);const n=getDefs(r);return highlightTokens(n,e)}else{return e}}},58157:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r=true;const n=true;const s=true;const i=true;const a=true;const o=true;class TokenType{constructor(e,t={}){this.label=void 0;this.keyword=void 0;this.beforeExpr=void 0;this.startsExpr=void 0;this.rightAssociative=void 0;this.isLoop=void 0;this.isAssign=void 0;this.prefix=void 0;this.postfix=void 0;this.binop=void 0;this.updateContext=void 0;this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.rightAssociative=!!t.rightAssociative;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop!=null?t.binop:null;this.updateContext=null}}const l=new Map;function createKeyword(e,t={}){t.keyword=e;const r=new TokenType(e,t);l.set(e,r);return r}function createBinop(e,t){return new TokenType(e,{beforeExpr:r,binop:t})}const u={num:new TokenType("num",{startsExpr:n}),bigint:new TokenType("bigint",{startsExpr:n}),decimal:new TokenType("decimal",{startsExpr:n}),regexp:new TokenType("regexp",{startsExpr:n}),string:new TokenType("string",{startsExpr:n}),name:new TokenType("name",{startsExpr:n}),privateName:new TokenType("#name",{startsExpr:n}),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:r,startsExpr:n}),bracketHashL:new TokenType("#[",{beforeExpr:r,startsExpr:n}),bracketBarL:new TokenType("[|",{beforeExpr:r,startsExpr:n}),bracketR:new TokenType("]"),bracketBarR:new TokenType("|]"),braceL:new TokenType("{",{beforeExpr:r,startsExpr:n}),braceBarL:new TokenType("{|",{beforeExpr:r,startsExpr:n}),braceHashL:new TokenType("#{",{beforeExpr:r,startsExpr:n}),braceR:new TokenType("}",{beforeExpr:r}),braceBarR:new TokenType("|}"),parenL:new TokenType("(",{beforeExpr:r,startsExpr:n}),parenR:new TokenType(")"),comma:new TokenType(",",{beforeExpr:r}),semi:new TokenType(";",{beforeExpr:r}),colon:new TokenType(":",{beforeExpr:r}),doubleColon:new TokenType("::",{beforeExpr:r}),dot:new TokenType("."),question:new TokenType("?",{beforeExpr:r}),questionDot:new TokenType("?."),arrow:new TokenType("=>",{beforeExpr:r}),template:new TokenType("template"),ellipsis:new TokenType("...",{beforeExpr:r}),backQuote:new TokenType("`",{startsExpr:n}),dollarBraceL:new TokenType("${",{beforeExpr:r,startsExpr:n}),at:new TokenType("@"),hash:new TokenType("#",{startsExpr:n}),interpreterDirective:new TokenType("#!..."),eq:new TokenType("=",{beforeExpr:r,isAssign:i}),assign:new TokenType("_=",{beforeExpr:r,isAssign:i}),slashAssign:new TokenType("_=",{beforeExpr:r,isAssign:i}),incDec:new TokenType("++/--",{prefix:a,postfix:o,startsExpr:n}),bang:new TokenType("!",{beforeExpr:r,prefix:a,startsExpr:n}),tilde:new TokenType("~",{beforeExpr:r,prefix:a,startsExpr:n}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:r,binop:9,prefix:a,startsExpr:n}),modulo:new TokenType("%",{beforeExpr:r,binop:10,startsExpr:n}),star:new TokenType("*",{binop:10}),slash:createBinop("/",10),exponent:new TokenType("**",{beforeExpr:r,binop:11,rightAssociative:true}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:r}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:r}),_do:createKeyword("do",{isLoop:s,beforeExpr:r}),_else:createKeyword("else",{beforeExpr:r}),_finally:createKeyword("finally"),_for:createKeyword("for",{isLoop:s}),_function:createKeyword("function",{startsExpr:n}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:r}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:r,prefix:a,startsExpr:n}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_while:createKeyword("while",{isLoop:s}),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:r,startsExpr:n}),_this:createKeyword("this",{startsExpr:n}),_super:createKeyword("super",{startsExpr:n}),_class:createKeyword("class",{startsExpr:n}),_extends:createKeyword("extends",{beforeExpr:r}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:n}),_null:createKeyword("null",{startsExpr:n}),_true:createKeyword("true",{startsExpr:n}),_false:createKeyword("false",{startsExpr:n}),_in:createKeyword("in",{beforeExpr:r,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:r,binop:7}),_typeof:createKeyword("typeof",{beforeExpr:r,prefix:a,startsExpr:n}),_void:createKeyword("void",{beforeExpr:r,prefix:a,startsExpr:n}),_delete:createKeyword("delete",{beforeExpr:r,prefix:a,startsExpr:n})};const p=/\r\n?|[\n\u2028\u2029]/;const f=new RegExp(p.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const c=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function isWhitespace(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return true;default:return false}}class Position{constructor(e,t){this.line=void 0;this.column=void 0;this.line=e;this.column=t}}class SourceLocation{constructor(e,t){this.start=void 0;this.end=void 0;this.filename=void 0;this.identifierName=void 0;this.start=e;this.end=t}}function getLineInfo(e,t){let r=1;let n=0;let s;f.lastIndex=0;while((s=f.exec(e))&&s.index0){n=t[--s]}if(n===null){return}for(let e=0;e0){n.trailingComments=i}else if(n.trailingComments!==undefined){n.trailingComments=[]}}processComment(e){if(e.type==="Program"&&e.body.length>0)return;const t=this.state.commentStack;let r,n,s,i,a;if(this.state.trailingComments.length>0){if(this.state.trailingComments[0].start>=e.end){s=this.state.trailingComments;this.state.trailingComments=[]}else{this.state.trailingComments.length=0}}else if(t.length>0){const r=last(t);if(r.trailingComments&&r.trailingComments[0].start>=e.end){s=r.trailingComments;delete r.trailingComments}}if(t.length>0&&last(t).start>=e.start){r=t.pop()}while(t.length>0&&last(t).start>=e.start){n=t.pop()}if(!n&&r)n=r;if(r){switch(e.type){case"ObjectExpression":this.adjustCommentsAfterTrailingComma(e,e.properties);break;case"ObjectPattern":this.adjustCommentsAfterTrailingComma(e,e.properties,true);break;case"CallExpression":this.adjustCommentsAfterTrailingComma(e,e.arguments);break;case"ArrayExpression":this.adjustCommentsAfterTrailingComma(e,e.elements);break;case"ArrayPattern":this.adjustCommentsAfterTrailingComma(e,e.elements,true);break}}else if(this.state.commentPreviousNode&&(this.state.commentPreviousNode.type==="ImportSpecifier"&&e.type!=="ImportSpecifier"||this.state.commentPreviousNode.type==="ExportSpecifier"&&e.type!=="ExportSpecifier")){this.adjustCommentsAfterTrailingComma(e,[this.state.commentPreviousNode])}if(n){if(n.leadingComments){if(n!==e&&n.leadingComments.length>0&&last(n.leadingComments).end<=e.start){e.leadingComments=n.leadingComments;delete n.leadingComments}else{for(i=n.leadingComments.length-2;i>=0;--i){if(n.leadingComments[i].end<=e.start){e.leadingComments=n.leadingComments.splice(0,i+1);break}}}}}else if(this.state.leadingComments.length>0){if(last(this.state.leadingComments).end<=e.start){if(this.state.commentPreviousNode){for(a=0;a0){e.leadingComments=this.state.leadingComments;this.state.leadingComments=[]}}else{for(i=0;ie.start){break}}const t=this.state.leadingComments.slice(0,i);if(t.length){e.leadingComments=t}s=this.state.leadingComments.slice(i);if(s.length===0){s=null}}}this.state.commentPreviousNode=e;if(s){if(s.length&&s[0].start>=e.start&&last(s).end<=e.end){e.innerComments=s}else{const t=s.findIndex(t=>t.end>=e.end);if(t>0){e.innerComments=s.slice(0,t);e.trailingComments=s.slice(t)}else{e.trailingComments=s}}}t.push(e)}}const d=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const y=makeErrorTemplates({AccessorIsGenerator:"A %0ter cannot be a generator.",ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accesor must not have any formal parameters.",BadSetterArity:"A 'set' accesor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accesor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:"'%0' require an initialization value.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:"`%0` has already been exported. Exported identifiers must be unique.",DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '%0' as '%1' } from 'some-module'`?",ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:"'%0' loop variable declaration may not have an initializer.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:"Unsyntactic %0.",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:'A string literal cannot be used as an imported binding.\n- Did you mean `import { "%0" as foo }`?',ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:"`import()` requires exactly %0.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidDecimal:"Invalid decimal.",InvalidDigit:"Expected number in radix %0.",InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:"Escape sequence in keyword %0.",InvalidIdentifier:"Invalid identifier %0.",InvalidLhs:"Invalid left-hand side in %0.",InvalidLhsBinding:"Binding invalid left-hand side in %0.",InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:"Unexpected character '%0'.",InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:"Private name #%0 is not defined.",InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:"Label '%0' is already declared.",LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:'Duplicate key "%0" is not allowed in module attributes.',ModuleExportNameHasLoneSurrogate:"An export name cannot include a lone surrogate, found '\\u%0'.",ModuleExportUndefined:"Export '%0' is not defined.",MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:"Primary Topic Reference found but pipelineOperator not passed 'smart' for 'proposal' option.",PrivateInExpectedIn:"Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`).",PrivateNameRedeclaration:"Duplicate private name #%0.",RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:"Assigning to '%0' in strict mode.",StrictEvalArgumentsBinding:"Binding '%0' in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:"Unexpected keyword '%0'.",UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Private names can only be used as the name of a class element (i.e. class C { #p = 42; #m() {} } )\n or a property of member expression (i.e. this.#p).",UnexpectedReservedWord:"Unexpected reserved word '%0'.",UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:"Unexpected token '%0'.",UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:"The only valid meta property for %0 is %0.%1.",UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",VarRedeclaration:"Identifier '%0' has already been declared.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},d.SyntaxError);const m=makeErrorTemplates({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},d.SourceTypeModuleError);function makeErrorTemplates(e,t){const r={};Object.keys(e).forEach(n=>{r[n]=Object.freeze({code:t,reasonCode:n,template:e[n]})});return Object.freeze(r)}class ParserError extends CommentsParser{getLocationForPosition(e){let t;if(e===this.state.start)t=this.state.startLoc;else if(e===this.state.lastTokStart)t=this.state.lastTokStartLoc;else if(e===this.state.end)t=this.state.endLoc;else if(e===this.state.lastTokEnd)t=this.state.lastTokEndLoc;else t=getLineInfo(this.input,e);return t}raise(e,{code:t,reasonCode:r,template:n},...s){return this.raiseWithData(e,{code:t,reasonCode:r},n,...s)}raiseOverwrite(e,{code:t,template:r},...n){const s=this.getLocationForPosition(e);const i=r.replace(/%(\d+)/g,(e,t)=>n[t])+` (${s.line}:${s.column})`;if(this.options.errorRecovery){const t=this.state.errors;for(let r=t.length-1;r>=0;r--){const n=t[r];if(n.pos===e){return Object.assign(n,{message:i})}else if(n.posn[t])+` (${s.line}:${s.column})`;return this._raise(Object.assign({loc:s,pos:e},t),i)}_raise(e,t){const r=new SyntaxError(t);Object.assign(r,e);if(this.options.errorRecovery){if(!this.isLookahead)this.state.errors.push(r);return r}else{throw r}}}var T=e=>(class extends e{parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const n=this.estreeParseLiteral(r);n.regex={pattern:e,flags:t};return n}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);r.bigint=String(r.value||e);return r}parseDecimalLiteral(e){const t=null;const r=this.estreeParseLiteral(t);r.decimal=String(r.value||e);return r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;const r=this.startNodeAt(e.start,e.loc.start);const n=this.startNodeAt(t.start,t.loc.start);n.value=t.extra.expressionValue;n.raw=t.extra.raw;r.expression=this.finishNodeAt(n,"Literal",t.end,t.loc.end);r.directive=t.extra.raw.slice(1,-1);return this.finishNodeAt(r,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}stmtToDirective(e){const t=super.stmtToDirective(e);const r=e.expression.value;this.addExtra(t.value,"expressionValue",r);return t}parseBlockBody(e,...t){super.parseBlockBody(e,...t);const r=e.directives.map(e=>this.directiveToStmt(e));e.body=r.concat(e.body);delete e.directives}pushClassMethod(e,t,r,n,s,i){this.parseMethod(t,r,n,s,i,"ClassMethod",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parseMaybePrivateName(...e){const t=super.parseMaybePrivateName(...e);if(t.type==="PrivateName"&&this.getPluginOption("estree","classFeatures")){return this.convertPrivateNameToPrivateIdentifier(t)}return t}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}return e.name}parseLiteral(e,t){const r=super.parseLiteral(e,t);r.raw=r.extra.raw;delete r.extra;return r}parseFunctionBody(e,t,r=false){super.parseFunctionBody(e,t,r);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,r,n,s,i,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,r,n,s,i,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(i==="ClassPrivateMethod"){e.computed=false}i="MethodDefinition";return this.finishNode(e,i)}parseClassProperty(...e){const t=super.parseClassProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition"}return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition";t.computed=false}return t}parseObjectMethod(e,t,r,n,s){const i=super.parseObjectMethod(e,t,r,n,s);if(i){i.type="Property";if(i.kind==="method")i.kind="init";i.shorthand=false}return i}parseObjectProperty(e,t,r,n,s){const i=super.parseObjectProperty(e,t,r,n,s);if(i){i.kind="init";i.type="Property"}return i}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){this.toAssignable(e.value,t);return e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){if(e.kind==="get"||e.kind==="set"){this.raise(e.key.start,y.PatternHasAccessor)}else if(e.method){this.raise(e.key.start,y.PatternHasMethod)}else{super.toAssignableObjectExpressionProp(e,...t)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];if(this.hasPlugin("importAssertions")){var r;e.attributes=(r=e.arguments[1])!=null?r:null}delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,r,n,s){const i=super.parseSubscript(e,t,r,n,s);if(s.optionalChainMember){if(i.type==="OptionalMemberExpression"||i.type==="OptionalCallExpression"){i.type=i.type.substring(8)}if(s.stop){const e=this.startNodeAtNode(i);e.expression=i;return this.finishNode(e,"ChainExpression")}}else if(i.type==="MemberExpression"||i.type==="CallExpression"){i.optional=false}return i}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}});class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const h={brace:new TokContext("{"),templateQuasi:new TokContext("${"),template:new TokContext("`",true)};u.braceR.updateContext=(e=>{if(e.length>1){e.pop()}});u.braceL.updateContext=u.braceHashL.updateContext=(e=>{e.push(h.brace)});u.dollarBraceL.updateContext=(e=>{e.push(h.templateQuasi)});u.backQuote.updateContext=(e=>{if(e[e.length-1]===h.template){e.pop()}else{e.push(h.template)}});let S="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let b="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const E=new RegExp("["+S+"]");const g=new RegExp("["+S+b+"]");S=b=null;const P=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const x=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&E.test(String.fromCharCode(e))}return isInAstralSet(e,P)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&g.test(String.fromCharCode(e))}return isInAstralSet(e,P)||isInAstralSet(e,x)}const v={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const A=new Set(v.keyword);const O=new Set(v.strict);const I=new Set(v.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||O.has(e)}function isStrictBindOnlyReservedWord(e){return I.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return A.has(e)}function isIteratorStart(e,t){return e===64&&t===64}const D=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function canBeReservedWord(e){return D.has(e)}const w=0,j=1,N=2,C=4,L=8,_=16,M=32,F=64,B=128,k=256,R=j|N|k;const K=1,V=2,X=4,Y=8,J=16,U=64,W=128,q=256,z=512,G=1024,$=2048;const H=K|V|Y|W,Q=K|0|Y|0,Z=K|0|X|0,ee=K|0|J|0,te=0|V|0|W,re=0|V|0|0,ne=K|V|Y|q,se=0|0|0|G,ie=0|0|0|U,ae=K|0|0|U,oe=ne|z,le=0|0|0|G,ue=$;const pe=4,fe=2,ce=1,de=fe|ce;const ye=fe|pe,me=ce|pe,Te=fe,he=ce,Se=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.scopeStack=[];this.undefinedExports=new Map;this.undefinedPrivateNames=new Map;this.raise=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&N)>0}get allowSuper(){return(this.currentThisScopeFlags()&_)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&M)>0}get inClass(){return(this.currentThisScopeFlags()&F)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&F)>0&&(e&N)===0}get inStaticBlock(){return(this.currentThisScopeFlags()&B)>0}get inNonArrowFunction(){return(this.currentThisScopeFlags()&N)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&N||!this.inModule&&e.flags&j)}declareName(e,t,r){let n=this.currentScope();if(t&Y||t&J){this.checkRedeclarationInScope(n,e,t,r);if(t&J){n.functions.add(e)}else{n.lexical.add(e)}if(t&Y){this.maybeExportDefined(n,e)}}else if(t&X){for(let s=this.scopeStack.length-1;s>=0;--s){n=this.scopeStack[s];this.checkRedeclarationInScope(n,e,t,r);n.var.add(e);this.maybeExportDefined(n,e);if(n.flags&R)break}}if(this.inModule&&n.flags&j){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.inModule&&e.flags&j){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,r,n){if(this.isRedeclaredInScope(e,t,r)){this.raise(n,y.VarRedeclaration,t)}}isRedeclaredInScope(e,t,r){if(!(r&K))return false;if(r&Y){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(r&J){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&L&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const r=this.scopeStack[0];if(!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)){this.undefinedExports.set(t,e.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&R){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(R|F)&&!(t&C)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,r){const n=this.currentScope();if(t&$){this.checkRedeclarationInScope(n,e,t,r);this.maybeExportDefined(n,e);n.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,r){if(super.isRedeclaredInScope(...arguments))return true;if(r&$){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}const be=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]);const Ee=makeErrorTemplates({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:"Cannot overwrite reserved type %0.",DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:"Boolean enum members need to be initialized. Use either `%0 = true,` or `%0 = false,` in enum `%1`.",EnumDuplicateMemberName:"Enum member names need to be unique, but the name `%0` has already been used before in enum `%1`.",EnumInconsistentMemberValues:"Enum `%0` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.",EnumInvalidExplicitType:"Enum type `%1` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidExplicitTypeUnknownSupplied:"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidMemberInitializerPrimaryType:"Enum `%0` has type `%2`, so the initializer of `%1` needs to be a %2 literal.",EnumInvalidMemberInitializerSymbolType:"Symbol enum members cannot be initialized. Use `%1,` in enum `%0`.",EnumInvalidMemberInitializerUnknownType:"The enum member initializer for `%1` needs to be a literal (either a boolean, number, or string) in enum `%0`.",EnumInvalidMemberName:"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%0`, consider using `%1`, in enum `%2`.",EnumNumberMemberNotInitialized:"Number enum members need to be initialized, e.g. `%1 = 1` in enum `%0`.",EnumStringMemberInconsistentlyInitailized:"String enum members need to consistently either all use initializers, or use no initializers, in enum `%0`.",GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",OptionalBindingPattern:"A binding pattern parameter cannot be optional in an implementation signature.",SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:"Unexpected reserved type %0.",UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:"`declare export %0` is not supported. Use `%1` instead.",UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."},d.SyntaxError);function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return(e.type===u.name||!!e.type.keyword)&&e.value!=="from"}const ge={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const r=[];const n=[];for(let s=0;s(class extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==u.string&&e!==u.semi&&e!==u.interpreterDirective){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=Pe.exec(e.value);if(!t) ;else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||u.colon);const r=this.flowParseType();this.state.inType=t;return r}flowParsePredicate(){const e=this.startNode();const t=this.state.start;this.next();this.expectContextual("checks");if(this.state.lastTokStart>t+1){this.raise(t,Ee.UnexpectedSpaceBetweenModuloChecks)}if(this.eat(u.parenL)){e.value=this.parseExpression();this.expect(u.parenR);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(u.colon);let t=null;let r=null;if(this.match(u.modulo)){this.state.inType=e;r=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(u.modulo)){r=this.flowParsePredicate()}}return[t,r]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const r=this.startNode();const n=this.startNode();if(this.isRelational("<")){r.typeParameters=this.flowParseTypeParameterDeclaration()}else{r.typeParameters=null}this.expect(u.parenL);const s=this.flowParseFunctionTypeParams();r.params=s.params;r.rest=s.rest;r.this=s._this;this.expect(u.parenR);[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser();n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation");t.typeAnnotation=this.finishNode(n,"TypeAnnotation");this.resetEndLocation(t);this.semicolon();this.scope.declareName(e.id.name,ue,e.id.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(u._class)){return this.flowParseDeclareClass(e)}else if(this.match(u._function)){return this.flowParseDeclareFunction(e)}else if(this.match(u._var)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual("module")){if(this.match(u.dot)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(this.state.lastTokStart,Ee.NestedDeclareModule)}return this.flowParseDeclareModule(e)}}else if(this.isContextual("type")){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual("opaque")){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual("interface")){return this.flowParseDeclareInterface(e)}else if(this.match(u._export)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,Z,e.id.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(w);if(this.match(u.string)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const r=t.body=[];this.expect(u.braceL);while(!this.match(u.braceR)){let e=this.startNode();if(this.match(u._import)){this.next();if(!this.isContextual("type")&&!this.match(u._typeof)){this.raise(this.state.lastTokStart,Ee.InvalidNonTypeImportInDeclareModule)}this.parseImport(e)}else{this.expectContextual("declare",Ee.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}r.push(e)}this.scope.exit();this.expect(u.braceR);this.finishNode(t,"BlockStatement");let n=null;let s=false;r.forEach(e=>{if(isEsModuleType(e)){if(n==="CommonJS"){this.raise(e.start,Ee.AmbiguousDeclareModuleKind)}n="ES"}else if(e.type==="DeclareModuleExports"){if(s){this.raise(e.start,Ee.DuplicateDeclareModuleExports)}if(n==="ES"){this.raise(e.start,Ee.AmbiguousDeclareModuleKind)}n="CommonJS";s=true}});e.kind=n||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(u._export);if(this.eat(u._default)){if(this.match(u._function)||this.match(u._class)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(u._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value;const t=ge[e];throw this.raise(this.state.start,Ee.UnsupportedDeclareExportKind,e,t)}if(this.match(u._var)||this.match(u._function)||this.match(u._class)||this.isContextual("opaque")){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(u.star)||this.match(u.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque")){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual("exports");e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?ee:Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(u.comma))}if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(this.state.start,Ee.UnexpectedReservedUnderscore)}}checkReservedType(e,t,r){if(!be.has(e))return;this.raise(t,r?Ee.AssignReservedType:Ee.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.start,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(u.eq);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual("type");e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(u.colon)){e.supertype=this.flowParseTypeInitialiser(u.colon)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(u.eq)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.start;const r=this.startNode();const n=this.flowParseVariance();const s=this.flowParseTypeAnnotatableIdentifier();r.name=s.name;r.variance=n;r.bound=s.typeAnnotation;if(this.match(u.eq)){this.eat(u.eq);r.default=this.flowParseType()}else{if(e){this.raise(t,Ee.MissingTypeParamDefault)}}return this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}let r=false;do{const e=this.flowParseTypeParameter(r);t.params.push(e);if(e.default){r=true}if(!this.isRelational(">")){this.expect(u.comma)}}while(!this.isRelational(">"));this.expectRelational(">");this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");const r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.isRelational(">")){e.params.push(this.flowParseType());if(!this.isRelational(">")){this.expect(u.comma)}}this.state.noAnonFunctionType=r;this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");while(!this.isRelational(">")){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.isRelational(">")){this.expect(u.comma)}}this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual("interface");e.extends=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(u.num)||this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,r){e.static=t;if(this.lookahead().type===u.colon){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(u.bracketR);e.value=this.flowParseTypeInitialiser();e.variance=r;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(u.bracketR);this.expect(u.bracketR);if(this.isRelational("<")||this.match(u.parenL)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(u.question)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(u.parenL);if(this.match(u._this)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(u.parenR)){this.expect(u.comma)}}while(!this.match(u.parenR)&&!this.match(u.ellipsis)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(u.parenR)){this.expect(u.comma)}}if(this.eat(u.ellipsis)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(u.parenR);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const r=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(r);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:n,allowInexact:s}){const i=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let p=false;if(t&&this.match(u.braceBarL)){this.expect(u.braceBarL);o=u.braceBarR;l=true}else{this.expect(u.braceL);o=u.braceR;l=false}a.exact=l;while(!this.match(o)){let t=false;let i=null;let o=null;const f=this.startNode();if(n&&this.isContextual("proto")){const t=this.lookahead();if(t.type!==u.colon&&t.type!==u.question){this.next();i=this.state.start;e=false}}if(e&&this.isContextual("static")){const e=this.lookahead();if(e.type!==u.colon&&e.type!==u.question){this.next();t=true}}const c=this.flowParseVariance();if(this.eat(u.bracketL)){if(i!=null){this.unexpected(i)}if(this.eat(u.bracketL)){if(c){this.unexpected(c.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(f,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(f,t,c))}}else if(this.match(u.parenL)||this.isRelational("<")){if(i!=null){this.unexpected(i)}if(c){this.unexpected(c.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(f,t))}else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();if(t.type===u.name||t.type===u.string||t.type===u.num){e=this.state.value;this.next()}}const n=this.flowParseObjectTypeProperty(f,t,i,c,e,r,s!=null?s:!l);if(n===null){p=true;o=this.state.lastTokStart}else{a.properties.push(n)}}this.flowObjectTypeSemicolon();if(o&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.raise(o,Ee.UnexpectedExplicitInexactInObject)}}this.expect(o);if(r){a.inexact=p}const f=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=i;return f}flowParseObjectTypeProperty(e,t,r,n,s,i,a){if(this.eat(u.ellipsis)){const t=this.match(u.comma)||this.match(u.semi)||this.match(u.braceR)||this.match(u.braceBarR);if(t){if(!i){this.raise(this.state.lastTokStart,Ee.InexactInsideNonObject)}else if(!a){this.raise(this.state.lastTokStart,Ee.InexactInsideExact)}if(n){this.raise(n.start,Ee.InexactVariance)}return null}if(!i){this.raise(this.state.lastTokStart,Ee.UnexpectedSpreadType)}if(r!=null){this.unexpected(r)}if(n){this.raise(n.start,Ee.SpreadVariance)}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=r!=null;e.kind=s;let a=false;if(this.isRelational("<")||this.match(u.parenL)){e.method=true;if(r!=null){this.unexpected(r)}if(n){this.unexpected(n.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(s==="get"||s==="set"){this.flowCheckGetterSetterParams(e)}if(!i&&e.key.name==="constructor"&&e.value.this){this.raise(e.value.this.start,Ee.ThisParamBannedInConstructor)}}else{if(s!=="init")this.unexpected();e.method=false;if(this.eat(u.question)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=n}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const r=e.start;const n=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.value.this.start,e.kind==="get"?Ee.GetterMayNotHaveThisParam:Ee.SetterMayNotHaveThisParam)}if(n!==t){if(e.kind==="get"){this.raise(r,y.BadGetterArity)}else{this.raise(r,y.BadSetterArity)}}if(e.kind==="set"&&e.value.rest){this.raise(r,y.BadSetterRestParameter)}}flowObjectTypeSemicolon(){if(!this.eat(u.semi)&&!this.eat(u.comma)&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start;t=t||this.state.startLoc;let n=r||this.flowParseRestrictedIdentifier(true);while(this.eat(u.dot)){const r=this.startNodeAt(e,t);r.qualification=n;r.id=this.flowParseRestrictedIdentifier(true);n=this.finishNode(r,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t,r){const n=this.startNodeAt(e,t);n.typeParameters=null;n.id=this.flowParseQualifiedTypeIdentifier(e,t,r);if(this.isRelational("<")){n.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(u._typeof);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(u.bracketL);while(this.state.possuper.parseFunctionBody(e,true,r))}return super.parseFunctionBody(e,false,r)}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(e,t,r)}parseStatement(e,t){if(this.state.strict&&this.match(u.name)&&this.state.value==="interface"){const e=this.lookahead();if(e.type===u.name||isKeyword(e.value)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const r=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(r)){this.flowPragma=null}return r}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(u._class)||this.match(u.name)||this.match(u._function)||this.match(u._var)||this.match(u._export)){return this.flowParseDeclare(e)}}else if(this.match(u.name)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){if(this.match(u.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"||this.shouldParseEnums()&&this.state.value==="enum")){return false}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,n){if(!this.match(u.question))return e;if(n){const s=this.tryParse(()=>super.parseConditional(e,t,r));if(!s.node){n.start=s.error.pos||this.state.start;return e}if(s.error)this.state=s.failState;return s.node}this.expect(u.question);const s=this.state.clone();const i=this.state.noArrowAt;const a=this.startNodeAt(t,r);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[p,f]=this.getArrowLikeExpressions(o);if(l||f.length>0){const e=[...i];if(f.length>0){this.state=s;this.state.noArrowAt=e;for(let t=0;t1){this.raise(s.start,Ee.AmbiguousConditionalArrow)}if(l&&p.length===1){this.state=s;this.state.noArrowAt=e.concat(p[0].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=i;this.expect(u.colon);a.test=e;a.consequent=o;a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(undefined,undefined,undefined));return this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(u.colon);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e];const n=[];while(r.length!==0){const e=r.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{n.push(e)}r.push(e.body)}else if(e.type==="ConditionalExpression"){r.push(e.consequent);r.push(e.alternate)}}if(t){n.forEach(e=>this.finishArrowValidation(e));return[n,[]]}return partition(n,e=>e.params.every(e=>this.isAssignable(e,true)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingComma,false);this.scope.enter(N|C);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);r=t();this.state.noArrowParamsConversionAt.pop()}else{r=t()}return r}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(n,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();this.next();if(this.match(u.braceL)){e.specifiers=this.parseExportSpecifiers();this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual("enum")){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual("type")&&this.lookahead().type===u.star){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const t=this.state.start;const r=super.maybeParseExportNamespaceSpecifier(e);if(r&&e.exportKind==="type"){this.unexpected(t)}return r}parseClassId(e,t,r){super.parseClassId(e,t,r);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}}parseClassMember(e,t,r){const n=this.state.start;if(this.isContextual("declare")){if(this.parseClassMemberFromModifier(e,t)){return}t.declare=true}super.parseClassMember(e,t,r);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(n,Ee.DeclareClassElement)}else if(t.value){this.raise(t.value.start,Ee.DeclareClassFieldInitializer)}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(this.state.pos,y.InvalidIdentifier,t)}this.finishToken(u.name,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(u.braceBarL,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(u.relational,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(u.questionDot,2)}return this.finishOp(u.question,1)}else if(isIteratorStart(e,t)){this.state.pos+=2;return this.readIterator()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":return true;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every((e,r)=>{return e.type!=="ObjectMethod"&&(r===t||e.type==="SpreadElement")&&this.isAssignable(e)})}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every(e=>this.isAssignable(e));case"AssignmentExpression":return e.operator==="=";case"ParenthesizedExpression":case"TypeCastExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return false}}toAssignable(e,t=false){if(e.type==="TypeCastExpression"){return super.toAssignable(this.typeCastToParameter(e),t)}else{return super.toAssignable(e,t)}}toAssignableList(e,t,r){for(let t=0;t1||!t)){this.raise(s.typeAnnotation.start,Ee.TypeCastInPattern)}}return e}parseArrayLike(e,t,r,n){const s=super.parseArrayLike(e,t,r,n);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(s.elements)}return s}checkLVal(e,...t){if(e.type!=="TypeCastExpression"){return super.checkLVal(e,...t)}}parseClassProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(u.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,s,i){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,r,n,s,i);if(t.params&&s){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Ee.ThisParamBannedInConstructor)}}else if(t.type==="MethodDefinition"&&s&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Ee.ThisParamBannedInConstructor)}}}pushClassPrivateMethod(e,t,r,n){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(u.comma))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const r=t[0];if(this.isThisParam(r)&&e.kind==="get"){this.raise(r.start,Ee.GetterMayNotHaveThisParam)}else if(this.isThisParam(r)){this.raise(r.start,Ee.SetterMayNotHaveThisParam)}}}parsePropertyName(e,t){const r=this.flowParseVariance();const n=super.parsePropertyName(e,t);e.variance=r;return n}parseObjPropValue(e,t,r,n,s,i,a,o){if(e.variance){this.unexpected(e.variance.start)}delete e.variance;let l;if(this.isRelational("<")&&!a){l=this.flowParseTypeParameterDeclaration();if(!this.match(u.parenL))this.unexpected()}super.parseObjPropValue(e,t,r,n,s,i,a,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"){this.raise(e.start,Ee.OptionalBindingPattern)}if(this.isThisParam(e)){this.raise(e.start,Ee.ThisParamMayNotBeOptional)}e.optional=true}if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(e.start,Ee.ThisParamAnnotationRequired)}if(this.match(u.eq)&&this.isThisParam(e)){this.raise(e.start,Ee.ThisParamNoDefault)}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,r){const n=super.parseMaybeDefault(e,t,r);if(n.type==="AssignmentPattern"&&n.typeAnnotation&&n.right.startsuper.parseMaybeAssign(e,t,r),s);if(!i.error)return i.node;const{context:n}=this.state;if(n[n.length-1]===h.j_oTag){n.length-=2}else if(n[n.length-1]===h.j_expr){n.length-=1}}if((n=i)!=null&&n.error||this.isRelational("<")){var a,o;s=s||this.state.clone();let n;const l=this.tryParse(s=>{var i;n=this.flowParseTypeParameterDeclaration();const a=this.forwardNoArrowParamsConversionAt(n,()=>{const s=super.parseMaybeAssign(e,t,r);this.resetStartLocationFromNode(s,n);return s});if(a.type!=="ArrowFunctionExpression"&&(i=a.extra)!=null&&i.parenthesized){s()}const o=this.maybeUnwrapTypeCastExpression(a);o.typeParameters=n;this.resetStartLocationFromNode(o,n);return a},s);let u=null;if(l.node&&this.maybeUnwrapTypeCastExpression(l.node).type==="ArrowFunctionExpression"){if(!l.error&&!l.aborted){if(l.node.async){this.raise(n.start,Ee.UnexpectedTypeParameterBeforeAsyncArrowFunction)}return l.node}u=l.node}if((a=i)!=null&&a.node){this.state=i.failState;return i.node}if(u){this.state=l.failState;return u}if((o=i)!=null&&o.thrown)throw i.error;if(l.thrown)throw l.error;throw this.raise(n.start,Ee.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t,r)}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(u.arrow))this.unexpected();return r});if(t.thrown)return null;if(t.error)this.state=t.failState;e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(){return this.match(u.colon)||super.shouldParseArrow()}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,r){if(r&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t0){this.raise(e.params[t].start,Ee.ThisParamMustBeFirst)}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,r,n){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const n=this.startNodeAt(t,r);n.callee=e;n.arguments=this.parseCallExpressionArguments(u.parenR,false);e=this.finishNode(n,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.isRelational("<")){const s=this.state.clone();const i=this.tryParse(e=>this.parseAsyncArrowWithTypeParameters(t,r)||e(),s);if(!i.error&&!i.aborted)return i.node;const a=this.tryParse(()=>super.parseSubscripts(e,t,r,n),s);if(a.node&&!a.error)return a.node;if(i.node){this.state=i.failState;return i.node}if(a.node){this.state=a.failState;return a.node}throw i.error||a.error}return super.parseSubscripts(e,t,r,n)}parseSubscript(e,t,r,n,s){if(this.match(u.questionDot)&&this.isLookaheadToken_lt()){s.optionalChainMember=true;if(n){s.stop=true;return e}this.next();const i=this.startNodeAt(t,r);i.callee=e;i.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(u.parenL);i.arguments=this.parseCallExpressionArguments(u.parenR,false);i.optional=true;return this.finishCallExpression(i,true)}else if(!n&&this.shouldParseTypes()&&this.isRelational("<")){const n=this.startNodeAt(t,r);n.callee=e;const i=this.tryParse(()=>{n.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew();this.expect(u.parenL);n.arguments=this.parseCallExpressionArguments(u.parenR,false);if(s.optionalChainMember)n.optional=false;return this.finishCallExpression(n,s.optionalChainMember)});if(i.node){if(i.error)this.state=i.failState;return i.node}}return super.parseSubscript(e,t,r,n,s)}parseNewArguments(e){let t=null;if(this.shouldParseTypes()&&this.isRelational("<")){t=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node}e.typeArguments=t;super.parseNewArguments(e)}parseAsyncArrowWithTypeParameters(e,t){const r=this.startNodeAt(e,t);this.parseFunctionParams(r);if(!this.parseArrow(r))return;return this.parseArrowExpression(r,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(u.braceBarR,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(this.state.pos,Ee.UnterminatedFlowComment)}return r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){this.unexpected(null,Ee.NestedFlowComment)}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1){throw this.raise(this.state.pos-2,y.UnterminatedComment)}this.state.pos=e+3;return}super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const r=this.input.charCodeAt(t+e);const n=this.input.charCodeAt(t+e+1);if(r===58&&n===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(r===58&&n!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(this.state.pos,y.UnterminatedComment)}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumBooleanMemberNotInitialized,r,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:r}){const n=r[0].toUpperCase()+r.slice(1);this.raise(e,Ee.EnumInvalidMemberName,r,n,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumDuplicateMemberName,r,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,Ee.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:r}){return this.raise(e,r===null?Ee.EnumInvalidExplicitTypeUnknownSupplied:Ee.EnumInvalidExplicitType,t,r)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:r,memberName:n}){let s=null;switch(r){case"boolean":case"number":case"string":s=Ee.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":s=Ee.EnumInvalidMemberInitializerSymbolType;break;default:s=Ee.EnumInvalidMemberInitializerUnknownType}return this.raise(e,s,t,n,r)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumNumberMemberNotInitialized,t,r)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,Ee.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start;const t=()=>this.match(u.comma)||this.match(u.braceR);switch(this.state.type){case u.num:{const r=this.parseNumericLiteral(this.state.value);if(t()){return{type:"number",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u.string:{const r=this.parseStringLiteral(this.state.value);if(t()){return{type:"string",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u._true:case u._false:{const r=this.parseBooleanLiteral(this.match(u._true));if(t()){return{type:"boolean",pos:r.start,value:r}}return{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;const t=this.parseIdentifier(true);const r=this.eat(u.eq)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:r}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:n}=t;if(n===null){return}if(n!==r){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set;const n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let s=false;while(!this.match(u.braceR)){if(this.eat(u.ellipsis)){s=true;break}const i=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.flowEnumErrorInvalidMemberName(a.start,{enumName:e,memberName:l})}if(r.has(l)){this.flowEnumErrorDuplicateMemberName(a.start,{enumName:e,memberName:l})}r.add(l);const p={enumName:e,explicitType:t,memberName:l};i.id=a;switch(o.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"boolean");i.init=o.value;n.booleanMembers.push(this.finishNode(i,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"number");i.init=o.value;n.numberMembers.push(this.finishNode(i,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"string");i.init=o.value;n.stringMembers.push(this.finishNode(i,"EnumStringMember"));break}case"invalid":{throw this.flowEnumErrorInvalidMemberInitializer(o.pos,p)}case"none":{switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.pos,p);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.pos,p);break;default:n.defaultedMembers.push(this.finishNode(i,"EnumDefaultedMember"))}}}if(!this.match(u.braceR)){this.expect(u.comma)}}return{members:n,hasUnknownMembers:s}}flowEnumStringMembers(e,t,{enumName:r}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:r})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:r})}return e}}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual("of")){if(!this.match(u.name)){throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t})}return t}return null}flowEnumBody(e,{enumName:t,nameLoc:r}){const n=this.flowEnumParseExplicitType({enumName:t});this.expect(u.braceL);const{members:s,hasUnknownMembers:i}=this.flowEnumMembers({enumName:t,explicitType:n});e.hasUnknownMembers=i;switch(n){case"boolean":e.explicitType=true;e.members=s.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=s.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=s.defaultedMembers;this.expect(u.braceR);return this.finishNode(e,"EnumSymbolBody");default:{const n=()=>{e.members=[];this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const i=s.booleanMembers.length;const a=s.numberMembers.length;const o=s.stringMembers.length;const l=s.defaultedMembers.length;if(!i&&!a&&!o&&!l){return n()}else if(!i&&!a){e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")}else if(!a&&!o&&i>=l){for(const e of s.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=s.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody")}else if(!i&&!o&&a>=l){for(const e of s.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=s.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody")}else{this.flowEnumErrorInconsistentMemberValues(r,{enumName:t});return n()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start});return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}});const ve={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"};class State{constructor(){this.strict=void 0;this.curLine=void 0;this.startLoc=void 0;this.endLoc=void 0;this.errors=[];this.potentialArrowAt=-1;this.noArrowAt=[];this.noArrowParamsConversionAt=[];this.maybeInArrowParameters=false;this.inPipeline=false;this.inType=false;this.noAnonFunctionType=false;this.inPropertyName=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.decoratorStack=[[]];this.comments=[];this.trailingComments=[];this.leadingComments=[];this.commentStack=[];this.commentPreviousNode=null;this.pos=0;this.lineStart=0;this.type=u.eof;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.lastTokEnd=0;this.context=[h.brace];this.exprAllowed=true;this.containsEsc=false;this.strictErrors=new Map;this.tokensLength=0}init(e){this.strict=e.strictMode===false?false:e.sourceType==="module";this.curLine=e.startLine;this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new Position(this.curLine,this.pos-this.lineStart)}clone(e){const t=new State;const r=Object.keys(this);for(let n=0,s=r.length;n.",MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"},d.SyntaxError);h.j_oTag=new TokContext("...",true);u.jsxName=new TokenType("jsxName");u.jsxText=new TokenType("jsxText",{beforeExpr:true});u.jsxTagStart=new TokenType("jsxTagStart",{startsExpr:true});u.jsxTagEnd=new TokenType("jsxTagEnd");u.jsxTagStart.updateContext=(e=>{e.push(h.j_expr);e.push(h.j_oTag)});function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var De=e=>(class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,Ie.UnterminatedJsxContent)}const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){if(r===60&&this.state.exprAllowed){++this.state.pos;return this.finishToken(u.jsxTagStart)}return super.getTokenFromCode(r)}e+=this.input.slice(t,this.state.pos);return this.finishToken(u.jsxText,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;r=e?"\n":"\r\n"}else{r=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return r}jsxReadString(e){let t="";let r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===38){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadEntity();r=this.state.pos}else if(isNewLine(n)){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadNewLine(false);r=this.state.pos}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);return this.finishToken(u.string,t)}jsxReadEntity(){let e="";let t=0;let r;let n=this.input[this.state.pos];const s=++this.state.pos;while(this.state.pos0}get hasYield(){return(this.currentFlags()&je)>0}get hasReturn(){return(this.currentFlags()&Ce)>0}get hasIn(){return(this.currentFlags()&Le)>0}}function functionFlags(e,t){return(e?Ne:0)|(t?je:0)}function nonNull(e){if(e==null){throw new Error(`Unexpected ${e} value.`)}return e}function assert(e){if(!e){throw new Error("Assert fail")}}const _e=makeErrorTemplates({AbstractMethodHasImplementation:"Method '%0' cannot have an implementation because it is marked abstract.",AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:"'declare' is not allowed in %0ters.",DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:"Accessibility modifier already seen.",DuplicateModifier:"Duplicate modifier: '%0'.",EmptyHeritageClauseType:"'%0' list cannot be empty.",EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",IncompatibleModifiers:"'%0' modifier cannot be used with '%1' modifier.",IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:"Index signatures cannot have an accessibility modifier ('%0').",IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InvalidModifierOnTypeMember:"'%0' modifier cannot appear on a type member.",InvalidModifiersOrder:"'%0' modifier must precede '%1' modifier.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:"Private elements cannot have an accessibility modifier ('%0').",ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got %0."},d.SyntaxError);function keywordTypeFromName(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return undefined}}function tsIsAccessModifier(e){return e==="private"||e==="public"||e==="protected"}var Me=e=>(class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return this.match(u.name)}tsTokenCanFollowModifier(){return(this.match(u.bracketL)||this.match(u.braceL)||this.match(u.star)||this.match(u.ellipsis)||this.match(u.privateName)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e){if(!this.match(u.name)){return undefined}const t=this.state.value;if(e.indexOf(t)!==-1&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return t}return undefined}tsParseModifiers(e,t,r,n){const s=(t,r,n,s)=>{if(r===n&&e[s]){this.raise(t,_e.InvalidModifiersOrder,n,s)}};const i=(t,r,n,s)=>{if(e[n]&&r===s||e[s]&&r===n){this.raise(t,_e.IncompatibleModifiers,n,s)}};for(;;){const a=this.state.start;const o=this.tsParseModifier(t.concat(r!=null?r:[]));if(!o)break;if(tsIsAccessModifier(o)){if(e.accessibility){this.raise(a,_e.DuplicateAccessibilityModifier)}else{s(a,o,o,"override");s(a,o,o,"static");s(a,o,o,"readonly");e.accessibility=o}}else{if(Object.hasOwnProperty.call(e,o)){this.raise(a,_e.DuplicateModifier,o)}else{s(a,o,"static","readonly");s(a,o,"static","override");s(a,o,"override","readonly");s(a,o,"abstract","override");i(a,o,"declare","override");i(a,o,"static","abstract")}e[o]=true}if(r!=null&&r.includes(o)){this.raise(a,n,o)}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(u.braceR);case"HeritageClauseElement":return this.match(u.braceL);case"TupleElementTypes":return this.match(u.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const r=[];while(!this.tsIsListTerminator(e)){r.push(t())}return r}tsParseDelimitedList(e,t){return nonNull(this.tsParseDelimitedListWorker(e,t,true))}tsParseDelimitedListWorker(e,t,r){const n=[];for(;;){if(this.tsIsListTerminator(e)){break}const s=t();if(s==null){return undefined}n.push(s);if(this.eat(u.comma)){continue}if(this.tsIsListTerminator(e)){break}if(r){this.expect(u.comma)}return undefined}return n}tsParseBracketedList(e,t,r,n){if(!n){if(r){this.expect(u.bracketL)}else{this.expectRelational("<")}}const s=this.tsParseDelimitedList(e,t);if(r){this.expect(u.bracketR)}else{this.expectRelational(">")}return s}tsParseImportType(){const e=this.startNode();this.expect(u._import);this.expect(u.parenL);if(!this.match(u.string)){this.raise(this.state.start,_e.UnsupportedImportTypeArgument)}e.argument=this.parseExprAtom();this.expect(u.parenR);if(this.eat(u.dot)){e.qualifier=this.tsParseEntityName(true)}if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();while(this.eat(u.dot)){const r=this.startNodeAtNode(t);r.left=t;r.right=this.parseIdentifier(e);t=this.finishNode(r,"TSQualifiedName")}return t}tsParseTypeReference(){const e=this.startNode();e.typeName=this.tsParseEntityName(false);if(!this.hasPrecedingLineBreak()&&this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(u._typeof);if(this.match(u._import)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName(true)}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsEatThenParseType(u._extends);e.default=this.tsEatThenParseType(u.eq);return this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<")){return this.tsParseTypeParameters()}}tsParseTypeParameters(){const e=this.startNode();if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),false,true);if(e.params.length===0){this.raise(e.start,_e.EmptyTypeParameters)}return this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type===u._const){this.next();return this.tsParseTypeReference()}return null}tsFillSignature(e,t){const r=e===u.arrow;t.typeParameters=this.tsTryParseTypeParameters();this.expect(u.parenL);t.parameters=this.tsParseBindingListForSignature();if(r){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(u.parenR,41).map(e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(e.start,_e.UnsupportedSignatureParameterKind,e.type)}return e})}tsParseTypeMemberSemicolon(){if(!this.eat(u.comma)&&!this.isLineTerminator()){this.expect(u.semi)}}tsParseSignatureMember(e,t){this.tsFillSignature(u.colon,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();return this.eat(u.name)&&this.match(u.colon)}tsTryParseIndexSignature(e){if(!(this.match(u.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(u.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(u.bracketR);e.parameters=[t];const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(u.question))e.optional=true;const r=e;if(this.match(u.parenL)||this.isRelational("<")){if(t){this.raise(e.start,_e.ReadonlyForMethodSignature)}const n=r;if(n.kind&&this.isRelational("<")){this.raise(this.state.pos,_e.AccesorCannotHaveTypeParameters)}this.tsFillSignature(u.colon,n);this.tsParseTypeMemberSemicolon();if(n.kind==="get"){if(n.parameters.length>0){this.raise(this.state.pos,y.BadGetterArity);if(this.isThisParam(n.parameters[0])){this.raise(this.state.pos,_e.AccesorCannotDeclareThisParameter)}}}else if(n.kind==="set"){if(n.parameters.length!==1){this.raise(this.state.pos,y.BadSetterArity)}else{const e=n.parameters[0];if(this.isThisParam(e)){this.raise(this.state.pos,_e.AccesorCannotDeclareThisParameter)}if(e.type==="Identifier"&&e.optional){this.raise(this.state.pos,_e.SetAccesorCannotHaveOptionalParameter)}if(e.type==="RestElement"){this.raise(this.state.pos,_e.SetAccesorCannotHaveRestParameter)}}if(n.typeAnnotation){this.raise(n.typeAnnotation.start,_e.SetAccesorCannotHaveReturnType)}}else{n.kind="method"}return this.finishNode(n,"TSMethodSignature")}else{const e=r;if(t)e.readonly=true;const n=this.tsTryParseTypeAnnotation();if(n)e.typeAnnotation=n;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(u._new)){const t=this.startNode();this.next();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],_e.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e,false);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;this.parsePropertyName(e,false)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(u.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(u.braceR);return e}tsIsStartOfMappedType(){this.next();if(this.eat(u.plusMin)){return this.isContextual("readonly")}if(this.isContextual("readonly")){this.next()}if(!this.match(u.bracketL)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(u._in)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsExpectThenParseType(u._in);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(u.braceL);if(this.match(u.plusMin)){e.readonly=this.state.value;this.next();this.expectContextual("readonly")}else if(this.eatContextual("readonly")){e.readonly=true}this.expect(u.bracketL);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual("as")?this.tsParseType():null;this.expect(u.bracketR);if(this.match(u.plusMin)){e.optional=this.state.value;this.next();this.expect(u.question)}else if(this.eat(u.question)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(u.braceR);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let r=null;e.elementTypes.forEach(e=>{var n;let{type:s}=e;if(t&&s!=="TSRestType"&&s!=="TSOptionalType"&&!(s==="TSNamedTupleMember"&&e.optional)){this.raise(e.start,_e.OptionalTypeBeforeRequired)}t=t||s==="TSNamedTupleMember"&&e.optional||s==="TSOptionalType";if(s==="TSRestType"){e=e.typeAnnotation;s=e.type}const i=s==="TSNamedTupleMember";r=(n=r)!=null?n:i;if(r!==i){this.raise(e.start,_e.MixedLabeledAndUnlabeledElements)}});return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const r=this.eat(u.ellipsis);let n=this.tsParseType();const s=this.eat(u.question);const i=this.eat(u.colon);if(i){const e=this.startNodeAtNode(n);e.optional=s;if(n.type==="TSTypeReference"&&!n.typeParameters&&n.typeName.type==="Identifier"){e.label=n.typeName}else{this.raise(n.start,_e.InvalidTupleMemberLabel);e.label=n}e.elementType=this.tsParseType();n=this.finishNode(e,"TSNamedTupleMember")}else if(s){const e=this.startNodeAtNode(n);e.typeAnnotation=n;n=this.finishNode(e,"TSOptionalType")}if(r){const r=this.startNodeAt(e,t);r.typeAnnotation=n;n=this.finishNode(r,"TSRestType")}return n}tsParseParenthesizedType(){const e=this.startNode();this.expect(u.parenL);e.typeAnnotation=this.tsParseType();this.expect(u.parenR);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const r=this.startNode();if(e==="TSConstructorType"){r.abstract=!!t;if(t)this.next();this.next()}this.tsFillSignature(u.arrow,r);return this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case u.num:case u.bigint:case u.string:case u._true:case u._false:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case u.name:case u._void:case u._null:{const e=this.match(u._void)?"TSVoidKeyword":this.match(u._null)?"TSNullKeyword":keywordTypeFromName(this.state.value);if(e!==undefined&&this.lookaheadCharCode()!==46){const t=this.startNode();this.next();return this.finishNode(t,e)}return this.tsParseTypeReference()}case u.string:case u.num:case u.bigint:case u._true:case u._false:return this.tsParseLiteralTypeNode();case u.plusMin:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==u.num&&t.type!==u.bigint){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case u._this:return this.tsParseThisTypeOrThisTypePredicate();case u._typeof:return this.tsParseTypeQuery();case u._import:return this.tsParseImportType();case u.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case u.bracketL:return this.tsParseTupleType();case u.parenL:return this.tsParseParenthesizedType();case u.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(u.bracketL)){if(this.match(u.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(u.bracketR);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(u.bracketR);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(e){const t=this.startNode();this.expectContextual(e);t.operator=e;t.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(e==="readonly"){this.tsCheckTypeAnnotationForReadOnly(t)}return this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,_e.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();t.name=this.parseIdentifierName(t.start);e.typeParameter=this.finishNode(t,"TSTypeParameter");return this.finishNode(e,"TSInferType")}tsParseTypeOperatorOrHigher(){const e=["keyof","unique","readonly"].find(e=>this.isContextual(e));return e?this.tsParseTypeOperator(e):this.isContextual("infer")?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}tsParseUnionOrIntersectionType(e,t,r){const n=this.startNode();const s=this.eat(r);const i=[];do{i.push(t())}while(this.eat(r));if(i.length===1&&!s){return i[0]}n.types=i;return this.finishNode(n,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),u.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),u.bitwiseOR)}tsIsStartOfFunctionType(){if(this.isRelational("<")){return true}return this.match(u.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(u.name)||this.match(u._this)){this.next();return true}if(this.match(u.braceL)){let e=1;this.next();while(e>0){if(this.match(u.braceL)){++e}else if(this.match(u.braceR)){--e}this.next()}return true}if(this.match(u.bracketL)){let e=1;this.next();while(e>0){if(this.match(u.bracketL)){++e}else if(this.match(u.bracketR)){--e}this.next()}return true}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(u.parenR)||this.match(u.ellipsis)){return true}if(this.tsSkipParameterStart()){if(this.match(u.colon)||this.match(u.comma)||this.match(u.question)||this.match(u.eq)){return true}if(this.match(u.parenR)){this.next();if(this.match(u.arrow)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const r=this.startNode();const n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(u._this)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){r.parameterName=e;r.asserts=true;r.typeAnnotation=null;e=this.finishNode(r,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,r);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const s=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!s){if(!n){return this.tsParseTypeAnnotation(false,t)}r.parameterName=this.parseIdentifier();r.asserts=n;r.typeAnnotation=null;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsParseTypeAnnotation(false);r.parameterName=s;r.typeAnnotation=i;r.asserts=n;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(u.colon)?this.tsParseTypeOrTypePredicateAnnotation(u.colon):undefined}tsTryParseTypeAnnotation(){return this.match(u.colon)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(u.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(!this.match(u.name)||this.state.value!=="asserts"||this.hasPrecedingLineBreak()){return false}const e=this.state.containsEsc;this.next();if(!this.match(u.name)&&!this.match(u._this)){return false}if(e){this.raise(this.state.lastTokStart,y.InvalidEscapedReservedWord,"asserts")}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType(()=>{if(e)this.expect(u.colon);t.typeAnnotation=this.tsParseType()});return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(u._extends)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsParseNonConditionalType();this.expect(u.question);t.trueType=this.tsParseType();this.expect(u.colon);t.falseType=this.tsParseType();return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual("abstract")&&this.lookahead().type===u._new}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(u._new)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expectRelational(">");e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start;const r=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));if(!r.length){this.raise(t,_e.EmptyHeritageClauseType,e)}return r}tsParseExpressionWithTypeArguments(){const e=this.startNode();e.expression=this.tsParseEntityName(false);if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript interface declaration",te);e.typeParameters=this.tsTryParseTypeParameters();if(this.eat(u._extends)){e.extends=this.tsParseHeritageClause("extends")}const t=this.startNode();t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(t,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript type alias",re);e.typeParameters=this.tsTryParseTypeParameters();e.typeAnnotation=this.tsInType(()=>{this.expect(u.eq);if(this.isContextual("intrinsic")&&this.lookahead().type!==u.dot){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()});this.semicolon();return this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){const t=this.state.inType;this.state.inType=true;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>{e();return this.tsParseType()})}tsParseEnumMember(){const e=this.startNode();e.id=this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(u.eq)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){if(t)e.const=true;e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript enum declaration",t?oe:ne);this.expect(u.braceL);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(u.braceR);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(w);this.expect(u.braceL);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,u.braceR);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkLVal(e.id,"module or namespace declaration",le)}if(this.eat(u.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(k);this.prodParam.enter(we);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual("global")){e.global=true;e.id=this.parseIdentifier()}else if(this.match(u.string)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(u.braceL)){this.scope.enter(k);this.prodParam.enter(we);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkLVal(e.id,"import equals declaration",Q);this.expect(u.eq);const r=this.tsParseModuleReference();if(e.importKind==="type"&&r.type!=="TSExternalModuleReference"){this.raise(r.start,_e.ImportAliasHasImportType)}e.moduleReference=r;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual("require");this.expect(u.parenL);if(!this.match(u.string)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(u.parenR);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const r=e();this.state=t;return r}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const r=e();if(r!==undefined&&r!==false){return r}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let r;if(this.isContextual("let")){t=u._var;r="let"}return this.tsInAmbientContext(()=>{switch(t){case u._function:e.declare=true;return this.parseFunctionStatement(e,false,true);case u._class:e.declare=true;return this.parseClass(e,true,false);case u._const:if(this.match(u._const)&&this.isLookaheadContextual("enum")){this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}case u._var:r=r||this.state.value;return this.parseVarStatement(e,r);case u.name:{const t=this.state.value;if(t==="global"){return this.tsParseAmbientExternalModuleDeclaration(e)}else{return this.tsParseDeclaration(e,t,true)}}}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(u.braceL)){this.scope.enter(k);this.prodParam.enter(we);const r=e;r.global=true;r.id=t;r.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(u._class)||this.match(u.name))){return this.tsParseAbstractDeclaration(e)}break;case"enum":if(r||this.match(u.name)){if(r)this.next();return this.tsParseEnumDeclaration(e,false)}break;case"interface":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseInterfaceDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(u.string)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<")){return undefined}const r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const n=this.tsTryParseAndCatch(()=>{const r=this.startNodeAt(e,t);r.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(r);r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(u.arrow);return r});this.state.maybeInArrowParameters=r;if(!n){return undefined}return this.parseArrowExpression(n,null,true)}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType(()=>this.tsInNoContext(()=>{this.expectRelational("<");return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}));if(e.params.length===0){this.raise(e.start,_e.EmptyTypeArguments)}this.expectRelational(">");return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(u.name)){switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return true}}return false}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.start;const n=this.state.startLoc;let s;let i=false;let a=false;if(e!==undefined){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]);s=t.accessibility;a=t.override;i=t.readonly;if(e===false&&(s||i||a)){this.raise(r,_e.UnexpectedParameterModifier)}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(s||i||a){const e=this.startNodeAt(r,n);if(t.length){e.decorators=t}if(s)e.accessibility=s;if(i)e.readonly=i;if(a)e.override=a;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(e.start,_e.UnsupportedParameterPropertyKind)}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(u.colon)}const n=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"?"TSDeclareMethod":undefined;if(n&&!this.match(u.braceL)&&this.isLineTerminator()){this.finishNode(e,n);return}if(n==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(e.start,_e.DeclareFunctionHasImplementation);if(e.declare){super.parseFunctionBodyAndFinish(e,n,r);return}}super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkLVal(e.id,"function name",se)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(e.typeAnnotation.start,_e.UnexpectedTypeAnnotation)}})}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,r,n,s){if(!this.hasPrecedingLineBreak()&&this.match(u.bang)){this.state.exprAllowed=false;this.next();const n=this.startNodeAt(t,r);n.expression=e;return this.finishNode(n,"TSNonNullExpression")}if(this.isRelational("<")){const i=this.tsTryParseAndCatch(()=>{if(!n&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,r);if(e){return e}}const i=this.startNodeAt(t,r);i.callee=e;const a=this.tsParseTypeArguments();if(a){if(!n&&this.eat(u.parenL)){i.arguments=this.parseCallExpressionArguments(u.parenR,false);this.tsCheckForInvalidTypeCasts(i.arguments);i.typeParameters=a;if(s.optionalChainMember){i.optional=false}return this.finishCallExpression(i,s.optionalChainMember)}else if(this.match(u.backQuote)){const n=this.parseTaggedTemplateExpression(e,t,r,s);n.typeParameters=a;return n}}this.unexpected()});if(i)return i}return super.parseSubscript(e,t,r,n,s)}parseNewArguments(e){if(this.isRelational("<")){const t=this.tsTryParseAndCatch(()=>{const e=this.tsParseTypeArguments();if(!this.match(u.parenL))this.unexpected();return e});if(t){e.typeParameters=t}}super.parseNewArguments(e)}parseExprOp(e,t,r,n){if(nonNull(u._in.binop)>n&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const s=this.startNodeAt(t,r);s.expression=e;const i=this.tsTryNextParseConstantContext();if(i){s.typeAnnotation=i}else{s.typeAnnotation=this.tsNextThenParseType()}this.finishNode(s,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(s,t,r,n)}return super.parseExprOp(e,t,r,n)}checkReservedWord(e,t,r,n){}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(this.match(u.name)||this.match(u.star)||this.match(u.braceL)){let t=this.lookahead();if(this.isContextual("type")&&t.type!==u.comma&&!(t.type===u.name&&t.value==="from")&&t.type!==u.eq){e.importKind="type";this.next();t=this.lookahead()}if(this.match(u.name)&&t.type===u.eq){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(t.start,_e.TypeImportCannotSpecifyDefaultAndNamed)}return t}parseExport(e){if(this.match(u._import)){this.next();if(this.isContextual("type")&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(u.eq)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual("as")){const t=e;this.expectContextual("namespace");t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual("type")&&this.lookahead().type===u.braceL){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===u._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.state.value==="interface"){const e=this.tsParseDeclaration(this.startNode(),this.state.value,true);if(e)return e}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===u._const){const e=this.lookahead();if(e.type===u.name&&e.value==="enum"){const e=this.startNode();this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!e[t]})}parseClassMember(e,t,r){const n=["declare","private","public","protected","override","abstract","readonly"];this.tsParseModifiers(t,n.concat(["static"]));const s=()=>{const s=!!t.static;if(s&&this.eat(u.braceL)){if(this.tsHasSomeModifiers(t,n)){this.raise(this.state.pos,_e.StaticBlockCannotHaveModifier)}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,r,s)}};if(t.declare){this.tsInAmbientContext(s)}else{s()}}parseClassMemberWithIsStatic(e,t,r,n){const s=this.tsTryParseIndexSignature(t);if(s){e.body.push(s);if(t.abstract){this.raise(t.start,_e.IndexSignatureHasAbstract)}if(t.accessibility){this.raise(t.start,_e.IndexSignatureHasAccessibility,t.accessibility)}if(t.declare){this.raise(t.start,_e.IndexSignatureHasDeclare)}if(t.override){this.raise(t.start,_e.IndexSignatureHasOverride)}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(t.start,_e.NonAbstractClassHasAbstractMethod)}if(t.override){if(!r.hadSuperClass){this.raise(t.start,_e.OverrideNotInSubClass)}}super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){const t=this.eat(u.question);if(t)e.optional=true;if(e.readonly&&this.match(u.parenL)){this.raise(e.start,_e.ClassMethodHasReadonly)}if(e.declare&&this.match(u.parenL)){this.raise(e.start,_e.ClassMethodHasDeclare)}}parseExpressionStatement(e,t){const r=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return r||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,r,n){if(!n||!this.match(u.question)){return super.parseConditional(e,t,r,n)}const s=this.tryParse(()=>super.parseConditional(e,t,r));if(!s.node){n.start=s.error.pos||this.state.start;return e}if(s.error)this.state=s.failState;return s.node}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start;const r=this.state.startLoc;const n=this.eatContextual("declare");if(n&&(this.isContextual("declare")||!this.shouldParseExportDeclaration())){throw this.raise(this.state.start,_e.ExpectedAmbientAfterExportDeclare)}let s;if(this.match(u.name)){s=this.tsTryParseExportDeclaration()}if(!s){s=super.parseExportDeclaration(e)}if(s&&(s.type==="TSInterfaceDeclaration"||s.type==="TSTypeAliasDeclaration"||n)){e.exportKind="type"}if(s&&n){this.resetStartLocation(s,t,r);s.declare=true}return s}parseClassId(e,t,r){if((!t||r)&&this.isContextual("implements")){return}super.parseClassId(e,t,r,e.declare?se:H);const n=this.tsTryParseTypeParameters();if(n)e.typeParameters=n}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(u.bang)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(u.eq)){this.raise(this.state.start,_e.DeclareClassFieldHasInitializer)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(e.start,_e.PrivateElementHasAbstract)}if(e.accessibility){this.raise(e.start,_e.PrivateElementHasAccessibility,e.accessibility)}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,n,s,i){const a=this.tsTryParseTypeParameters();if(a&&s){this.raise(a.start,_e.ConstructorHasTypeParameters)}if(t.declare&&(t.kind==="get"||t.kind==="set")){this.raise(t.start,_e.DeclareAccessor,t.kind)}if(a)t.typeParameters=a;super.pushClassMethod(e,t,r,n,s,i)}pushClassPrivateMethod(e,t,r,n){const s=this.tsTryParseTypeParameters();if(s)t.typeParameters=s;super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.tsParseTypeArguments()}if(this.eatContextual("implements")){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&this.eat(u.bang)){e.definite=true}const r=this.tsTryParseTypeAnnotation();if(r){e.id.typeAnnotation=r;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(u.colon)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,r,n,s,i,a,o;let l;let p;let f;if(this.hasPlugin("jsx")&&(this.match(u.jsxTagStart)||this.isRelational("<"))){l=this.state.clone();p=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!p.error)return p.node;const{context:t}=this.state;if(t[t.length-1]===h.j_oTag){t.length-=2}else if(t[t.length-1]===h.j_expr){t.length-=1}}if(!((t=p)!=null&&t.error)&&!this.isRelational("<")){return super.parseMaybeAssign(...e)}let c;l=l||this.state.clone();const d=this.tryParse(t=>{var r,n;c=this.tsParseTypeParameters();const s=super.parseMaybeAssign(...e);if(s.type!=="ArrowFunctionExpression"||(r=s.extra)!=null&&r.parenthesized){t()}if(((n=c)==null?void 0:n.params.length)!==0){this.resetStartLocationFromNode(s,c)}s.typeParameters=c;return s},l);if(!d.error&&!d.aborted)return d.node;if(!p){assert(!this.hasPlugin("jsx"));f=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!f.error)return f.node}if((r=p)!=null&&r.node){this.state=p.failState;return p.node}if(d.node){this.state=d.failState;return d.node}if((n=f)!=null&&n.node){this.state=f.failState;return f.node}if((s=p)!=null&&s.thrown)throw p.error;if(d.thrown)throw d.error;if((i=f)!=null&&i.thrown)throw f.error;throw((a=p)==null?void 0:a.error)||d.error||((o=f)==null?void 0:o.error)}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.isRelational("<")){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(u.colon);if(this.canInsertSemicolon()||!this.match(u.arrow))e();return t});if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(e.start,_e.PatternIsOptional)}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}toAssignable(e,t=false){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...r){var n;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...r);return;case"TSAsExpression":case"TSTypeAssertion":if(!r[0]&&t!=="parenthesized expression"&&!((n=e.extra)!=null&&n.parenthesized)){this.raise(e.start,y.InvalidLhs,t);break}this.checkLVal(e.expression,"parenthesized expression",...r);return;case"TSNonNullExpression":this.checkLVal(e.expression,t,...r);return;default:super.checkLVal(e,t,...r);return}}parseBindingAtom(){switch(this.state.type){case u._this:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(u.parenL)){const r=super.parseMaybeDecoratorArguments(e);r.typeParameters=t;return r}this.unexpected(this.state.start,u.parenL)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(u.comma)&&this.lookaheadCharCode()===e){this.next()}else{super.checkCommaAfterRest(e)}}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.bang)||this.match(u.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.startthis.tsParseTypeArguments());if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const n=r[0];const s=n&&this.isThisParam(n);return s?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,...t){const r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,...t)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e){if(this.match(u._class)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual("interface")){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(e.start,_e.NonClassMethodPropertyHasAbstractModifer);this.next();return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,u._class)}}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(t.start,_e.AbstractMethodHasImplementation,e.type==="Identifier"?e.name:`[${this.input.slice(e.start,e.end)}]`)}}return t}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}});u.placeholder=new TokenType("%%",{startsExpr:true});const Fe=makeErrorTemplates({ClassNameIsRequired:"A class name is required."},d.SyntaxError);var Be=e=>(class extends e{parsePlaceholder(e){if(this.match(u.placeholder)){const t=this.startNode();this.next();this.assertNoSpace("Unexpected space in placeholder.");t.name=super.parseIdentifier(true);this.assertNoSpace("Unexpected space in placeholder.");this.expect(u.placeholder);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(u.placeholder,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){if(e.type!=="Placeholder")super.checkLVal(...arguments)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern";return e}return super.toAssignable(...arguments)}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual("let")){return false}if(e)return false;const t=this.lookahead();if(t.type===u.placeholder){return true}return false}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(u.colon)){const r=e;r.label=this.finishPlaceholder(t,"Identifier");this.next();r.body=this.parseStatement("label");return this.finishNode(r,"LabeledStatement")}this.semicolon();e.name=t.name;return this.finishPlaceholder(e,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(e,t,r){const n=t?"ClassDeclaration":"ClassExpression";this.next();this.takeDecorators(e);const s=this.state.strict;const i=this.parsePlaceholder("Identifier");if(i){if(this.match(u._extends)||this.match(u.placeholder)||this.match(u.braceL)){e.id=i}else if(r||!t){e.id=null;e.body=this.finishPlaceholder(i,"ClassBody");return this.finishNode(e,n)}else{this.unexpected(null,Fe.ClassNameIsRequired)}}else{this.parseClassId(e,t,r)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,s);return this.finishNode(e,n)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(u.comma)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const r=this.startNode();r.exported=t;e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(u._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(u.placeholder.label,this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter(e=>e.exported.type==="Placeholder")}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual("from")&&!this.match(u.comma)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const r=this.startNodeAtNode(t);r.local=t;this.finishNode(r,"ImportDefaultSpecifier");e.specifiers.push(r);if(this.eat(u.comma)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual("from");e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}});var ke=e=>(class extends e{parseV8Intrinsic(){if(this.match(u.modulo)){const e=this.state.start;const t=this.startNode();this.eat(u.modulo);if(this.match(u.name)){const e=this.parseIdentifierName(this.state.start);const r=this.createIdentifier(t,e);r.type="V8IntrinsicIdentifier";if(this.match(u.parenL)){return r}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}});function hasPlugin(e,t){return e.some(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}})}function getPluginOption(e,t,r){const n=e.find(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}});if(n&&Array.isArray(n)){return n[1][r]}return null}const Re=["minimal","smart","fsharp"];const Ke=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option,"+" whose value must be a boolean. If you are migrating from"+" Babylon/Babel 6 or want to use the old decorators proposal, you"+" should use the 'decorators-legacy' plugin instead of 'decorators'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")&&!Re.includes(getPluginOption(e,"pipelineOperator","proposal"))){throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: "+Re.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}}if(hasPlugin(e,"recordAndTuple")&&!Ke.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Ke.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const Ve={estree:T,jsx:De,flow:xe,typescript:Me,v8intrinsic:ke,placeholders:Be};const Xe=Object.keys(Ve);const Ye={sourceType:"script",sourceFilename:undefined,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false};function getOptions(e){const t={};for(const r of Object.keys(Ye)){t[r]=e&&e[r]!=null?e[r]:Ye[r]}return t}var Je=function isDigit(e){return e>=48&&e<=57};const Ue=new Set([103,109,115,105,121,117,100]);const We={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]};const qe={};qe.bin=[48,49];qe.oct=[...qe.bin,50,51,52,53,54,55];qe.dec=[...qe.oct,56,57];qe.hex=[...qe.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends ParserError{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(this.state))}this.state.lastTokEnd=this.state.end;this.state.lastTokStart=this.state.start;this.state.lastTokEndLoc=this.state.endLoc;this.state.lastTokStartLoc=this.state.startLoc;this.nextToken()}eat(e){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){c.lastIndex=e;const t=c.exec(this.input);return e+t[0].length}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(t,e));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(!e.preserveSpace)this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(u.eof);return}if(e===h.template){this.readTmplToken()}else{this.getTokenFromCode(this.codePointAtPos(this.state.pos))}}pushComment(e,t,r,n,s,i){const a={type:e?"CommentBlock":"CommentLine",value:t,start:r,end:n,loc:new SourceLocation(s,i)};if(this.options.tokens)this.pushToken(a);this.state.comments.push(a);this.addComment(a)}skipBlockComment(){let e;if(!this.isLookahead)e=this.state.curPosition();const t=this.state.pos;const r=this.input.indexOf("*/",this.state.pos+2);if(r===-1)throw this.raise(t,y.UnterminatedComment);this.state.pos=r+2;f.lastIndex=t;let n;while((n=f.exec(this.input))&&n.index=48&&t<=57){throw this.raise(this.state.pos,y.UnexpectedDigitAfterHash)}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(this.state.pos,t===123?y.RecordExpressionHashIncorrectStartSyntaxType:y.TupleExpressionHashIncorrectStartSyntaxType)}this.state.pos+=2;if(t===123){this.finishToken(u.braceHashL)}else{this.finishToken(u.bracketHashL)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(u.privateName,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(u.privateName,this.readWord1())}else{this.finishOp(u.hash,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(u.ellipsis)}else{++this.state.pos;this.finishToken(u.dot)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(u.slashAssign,2)}else{this.finishOp(u.slash,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos=48&&t<=57)){this.state.pos+=2;this.finishToken(u.questionDot)}else{++this.state.pos;this.finishToken(u.question)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(u.parenL);return;case 41:++this.state.pos;this.finishToken(u.parenR);return;case 59:++this.state.pos;this.finishToken(u.semi);return;case 44:++this.state.pos;this.finishToken(u.comma);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,y.TupleExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.bracketBarL)}else{++this.state.pos;this.finishToken(u.bracketL)}return;case 93:++this.state.pos;this.finishToken(u.bracketR);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,y.RecordExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.braceBarL)}else{++this.state.pos;this.finishToken(u.braceL)}return;case 125:++this.state.pos;this.finishToken(u.braceR);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(u.doubleColon,2)}else{++this.state.pos;this.finishToken(u.colon)}return;case 63:this.readToken_question();return;case 96:++this.state.pos;this.finishToken(u.backQuote);return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:case 62:this.readToken_lt_gt(e);return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(u.tilde,1);return;case 64:++this.state.pos;this.finishToken(u.at);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(this.state.pos,y.InvalidOrUnexpectedToken,String.fromCodePoint(e))}finishOp(e,t){const r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t;this.finishToken(e,r)}readRegexp(){const e=this.state.start+1;let t,r;let{pos:n}=this.state;for(;;++n){if(n>=this.length){throw this.raise(e,y.UnterminatedRegExp)}const s=this.input.charCodeAt(n);if(isNewLine(s)){throw this.raise(e,y.UnterminatedRegExp)}if(t){t=false}else{if(s===91){r=true}else if(s===93&&r){r=false}else if(s===47&&!r){break}t=s===92}}const s=this.input.slice(e,n);++n;let i="";while(n-1||i.indexOf(t)>-1||Number.isNaN(t)){this.raise(this.state.pos,y.UnexpectedNumericSeparator)}if(!n){this.raise(this.state.pos,y.NumericSeparatorInEscapeSequence)}++this.state.pos;continue}if(t>=97){u=t-97+10}else if(t>=65){u=t-65+10}else if(Je(t)){u=t-48}else{u=Infinity}if(u>=e){if(this.options.errorRecovery&&u<=9){u=0;this.raise(this.state.start+s+2,y.InvalidDigit,e)}else if(r){u=0;o=true}else{break}}++this.state.pos;l=l*e+u}if(this.state.pos===s||t!=null&&this.state.pos-s!==t||o){return null}return l}readRadixNumber(e){const t=this.state.pos;let r=false;this.state.pos+=2;const n=this.readInt(e);if(n==null){this.raise(this.state.start+2,y.InvalidDigit,e)}const s=this.input.charCodeAt(this.state.pos);if(s===110){++this.state.pos;r=true}else if(s===109){throw this.raise(t,y.InvalidDecimal)}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,y.NumberIdentifier)}if(r){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(u.bigint,e);return}this.finishToken(u.num,n)}readNumber(e){const t=this.state.pos;let r=false;let n=false;let s=false;let i=false;let a=false;if(!e&&this.readInt(10)===null){this.raise(t,y.InvalidNumber)}const o=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(o){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(t,y.StrictOctalLiteral);if(!this.state.strict){const r=e.indexOf("_");if(r>0){this.raise(r+t,y.ZeroDigitNumericSeparator)}}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!a){++this.state.pos;this.readInt(10);r=true;l=this.input.charCodeAt(this.state.pos)}if((l===69||l===101)&&!a){l=this.input.charCodeAt(++this.state.pos);if(l===43||l===45){++this.state.pos}if(this.readInt(10)===null){this.raise(t,y.InvalidOrMissingExponent)}r=true;i=true;l=this.input.charCodeAt(this.state.pos)}if(l===110){if(r||o){this.raise(t,y.InvalidBigIntLiteral)}++this.state.pos;n=true}if(l===109){this.expectPlugin("decimal",this.state.pos);if(i||o){this.raise(t,y.InvalidDecimal)}++this.state.pos;s=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,y.NumberIdentifier)}const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n){this.finishToken(u.bigint,p);return}if(s){this.finishToken(u.decimal,p);return}const f=a?parseInt(p,8):parseFloat(p);this.finishToken(u.num,f)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let r;if(t===123){const t=++this.state.pos;r=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(r!==null&&r>1114111){if(e){this.raise(t,y.InvalidCodePoint)}else{return null}}}else{r=this.readHexChar(4,false,e)}return r}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===92){t+=this.input.slice(r,this.state.pos);t+=this.readEscapedChar(false);r=this.state.pos}else if(n===8232||n===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(n)){throw this.raise(this.state.start,y.UnterminatedString)}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);this.finishToken(u.string,t)}readTmplToken(){let e="",t=this.state.pos,r=false;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedTemplate)}const n=this.input.charCodeAt(this.state.pos);if(n===96||n===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(u.template)){if(n===36){this.state.pos+=2;this.finishToken(u.dollarBraceL);return}else{++this.state.pos;this.finishToken(u.backQuote);return}}e+=this.input.slice(t,this.state.pos);this.finishToken(u.template,r?null:e);return}if(n===92){e+=this.input.slice(t,this.state.pos);const n=this.readEscapedChar(true);if(n===null){r=true}else{e+=n}t=this.state.pos}else if(isNewLine(n)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(n){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(n);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,t){if(this.state.strict&&!this.state.strictErrors.has(e)){this.raise(e,t)}else{this.state.strictErrors.set(e,t)}}readEscapedChar(e){const t=!e;const r=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(r){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:this.state.lineStart=this.state.pos;++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(e){return null}else{this.recordStrictModeErrors(this.state.pos-1,y.StrictNumericEscape)}default:if(r>=48&&r<=55){const t=this.state.pos-1;const r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let n=r[0];let s=parseInt(n,8);if(s>255){n=n.slice(0,-1);s=parseInt(n,8)}this.state.pos+=n.length-1;const i=this.input.charCodeAt(this.state.pos);if(n!=="0"||i===56||i===57){if(e){return null}else{this.recordStrictModeErrors(t,y.StrictNumericEscape)}}return String.fromCharCode(s)}return String.fromCharCode(r)}}readHexChar(e,t,r){const n=this.state.pos;const s=this.readInt(16,e,t,false);if(s===null){if(r){this.raise(n,y.InvalidEscapeSequence)}else{this.state.pos=n-1}}return s}readWord1(e){this.state.containsEsc=false;let t="";const r=this.state.pos;let n=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos{this.raise(r,t);let n=e.length-2;let s=e[n];while(s.canBeArrowParameterDeclaration()){s.clearDeclarationError(r);s=e[--n]}})}}function newParameterDeclarationScope(){return new ExpressionScope(He)}function newArrowHeadScope(){return new ArrowHeadParsingScope(Ge)}function newAsyncArrowScope(){return new ArrowHeadParsingScope($e)}function newExpressionScope(){return new ExpressionScope}class UtilParser extends Tokenizer{addExtra(e,t,r){if(!e)return;const n=e.extra=e.extra||{};n[t]=r}isRelational(e){return this.match(u.relational)&&this.state.value===e}expectRelational(e){if(this.isRelational(e)){this.next()}else{this.unexpected(null,u.relational)}}isContextual(e){return this.match(u.name)&&this.state.value===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;if(this.input.slice(e,r)===t){const e=this.input.charCodeAt(r);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)&&this.eat(u.name)}expectContextual(e,t){if(!this.eatContextual(e))this.unexpected(null,t)}canInsertSemicolon(){return this.match(u.eof)||this.match(u.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return p.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){return p.test(this.input.slice(this.state.end,this.nextTokenStart()))}isLineTerminator(){return this.eat(u.semi)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(u.semi))return;this.raise(this.state.lastTokEnd,y.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){if(this.state.start>this.state.lastTokEnd){this.raise(this.state.lastTokEnd,{code:d.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}}unexpected(e,t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){if(t instanceof TokenType){t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${t.label}"`}}throw this.raise(e!=null?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e)){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`)}return true}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e))){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:e},`This experimental syntax requires enabling one of the following parser plugin(s): '${e.join(", ")}'`)}}tryParse(e,t=this.state.clone()){const r={node:null};try{const n=e((e=null)=>{r.node=e;throw r});if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:n,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:n,error:null,thrown:false,aborted:false,failState:null}}catch(e){const n=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:n}}if(e===r){return{node:r.node,error:null,thrown:false,aborted:true,failState:n}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssign:r,doubleProto:n}=e;if(!t)return r>=0||n>=0;if(r>=0){this.unexpected(r)}if(n>=0){this.raise(n,y.DuplicateProto)}}isLiteralPropertyName(){return this.match(u.name)||!!this.state.type.keyword||this.match(u.string)||this.match(u.num)||this.match(u.bigint)||this.match(u.decimal)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const n=this.inModule;this.inModule=e;const s=this.scope;const i=this.getScopeHandler();this.scope=new i(this.raise.bind(this),this.inModule);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this.raise.bind(this));const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this.raise.bind(this));return()=>{this.state.labels=t;this.exportedIdentifiers=r;this.inModule=n;this.scope=s;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=we;if(this.hasPlugin("topLevelAwait")&&this.inModule){e|=Ne}this.scope.enter(j);this.prodParam.enter(e)}}class ExpressionErrors{constructor(){this.shorthandAssign=-1;this.doubleProto=-1}}class Node{constructor(e,t,r){this.type=void 0;this.start=void 0;this.end=void 0;this.loc=void 0;this.range=void 0;this.leadingComments=void 0;this.trailingComments=void 0;this.innerComments=void 0;this.extra=void 0;this.type="";this.start=t;this.end=0;this.loc=new SourceLocation(r);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}__clone(){const e=new Node;const t=Object.keys(this);for(let r=0,n=t.length;r{return e.type==="ParenthesizedExpression"?Qe(e.expression):e};class LValParser extends NodeUtils{toAssignable(e,t=false){var r,n;let s=undefined;if(e.type==="ParenthesizedExpression"||(r=e.extra)!=null&&r.parenthesized){s=Qe(e);if(t){if(s.type==="Identifier"){this.expressionScope.recordParenthesizedIdentifierError(e.start,y.InvalidParenthesizedAssignment)}else if(s.type!=="MemberExpression"){this.raise(e.start,y.InvalidParenthesizedAssignment)}}else{this.raise(e.start,y.InvalidParenthesizedAssignment)}}switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":break;case"ObjectExpression":e.type="ObjectPattern";for(let r=0,n=e.properties.length,s=n-1;rthis.parseExpressionBase(t))}return this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start;const r=this.state.startLoc;const n=this.parseMaybeAssign(e);if(this.match(u.comma)){const s=this.startNodeAt(t,r);s.expressions=[n];while(this.eat(u.comma)){s.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(s.expressions);return this.finishNode(s,"SequenceExpression")}return n}parseMaybeAssignDisallowIn(e,t,r){return this.disallowInAnd(()=>this.parseMaybeAssign(e,t,r))}parseMaybeAssignAllowIn(e,t,r){return this.allowInAnd(()=>this.parseMaybeAssign(e,t,r))}parseMaybeAssign(e,t,r){const n=this.state.start;const s=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,n,s)}return e}}let i;if(e){i=false}else{e=new ExpressionErrors;i=true}if(this.match(u.parenL)||this.match(u.name)){this.state.potentialArrowAt=this.state.start}let a=this.parseMaybeConditional(e,r);if(t){a=t.call(this,a,n,s)}if(this.state.type.isAssign){const t=this.startNodeAt(n,s);const r=this.state.value;t.operator=r;if(this.match(u.eq)){t.left=this.toAssignable(a,true);e.doubleProto=-1}else{t.left=a}if(e.shorthandAssign>=t.left.start){e.shorthandAssign=-1}this.checkLVal(a,"assignment expression");this.next();t.right=this.parseMaybeAssign();return this.finishNode(t,"AssignmentExpression")}else if(i){this.checkExpressionErrors(e,true)}return a}parseMaybeConditional(e,t){const r=this.state.start;const n=this.state.startLoc;const s=this.state.potentialArrowAt;const i=this.parseExprOps(e);if(this.shouldExitDescending(i,s)){return i}return this.parseConditional(i,r,n,t)}parseConditional(e,t,r,n){if(this.eat(u.question)){const n=this.startNodeAt(t,r);n.test=e;n.consequent=this.parseMaybeAssignAllowIn();this.expect(u.colon);n.alternate=this.parseMaybeAssign();return this.finishNode(n,"ConditionalExpression")}return e}parseExprOps(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const s=this.parseMaybeUnary(e);if(this.shouldExitDescending(s,n)){return s}return this.parseExprOp(s,t,r,-1)}parseExprOp(e,t,r,n){let s=this.state.type.binop;if(s!=null&&(this.prodParam.hasIn||!this.match(u._in))){if(s>n){const i=this.state.type;if(i===u.pipeline){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.state.inPipeline=true;this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,r);a.left=e;a.operator=this.state.value;const o=i===u.logicalOR||i===u.logicalAND;const l=i===u.nullishCoalescing;if(l){s=u.logicalAND.binop}this.next();if(i===u.pipeline&&this.getPluginOption("pipelineOperator","proposal")==="minimal"){if(this.match(u.name)&&this.state.value==="await"&&this.prodParam.hasAwait){throw this.raise(this.state.start,y.UnexpectedAwaitAfterPipelineBody)}}a.right=this.parseExprOpRightExpr(i,s);this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");const p=this.state.type;if(l&&(p===u.logicalOR||p===u.logicalAND)||o&&p===u.nullishCoalescing){throw this.raise(this.state.start,y.MixingCoalesceWithLogical)}return this.parseExprOp(a,t,r,n)}}return e}parseExprOpRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;switch(e){case u.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"smart":return this.withTopicPermittingContext(()=>{return this.parseSmartPipelineBody(this.parseExprOpBaseRightExpr(e,t),r,n)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(t)})}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),r,n,e.rightAssociative?t-1:t)}checkExponentialAfterUnary(e){if(this.match(u.exponent)){this.raise(e.argument.start,y.UnexpectedTokenUnaryExponentiation)}}parseMaybeUnary(e,t){const r=this.state.start;const n=this.state.startLoc;const s=this.isContextual("await");if(s&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r,n);if(!t)this.checkExponentialAfterUnary(e);return e}if(this.isContextual("module")&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak()){return this.parseModuleExpression()}const i=this.match(u.incDec);const a=this.startNode();if(this.state.type.prefix){a.operator=this.state.value;a.prefix=true;if(this.match(u._throw)){this.expectPlugin("throwExpressions")}const r=this.match(u._delete);this.next();a.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&r){const e=a.argument;if(e.type==="Identifier"){this.raise(a.start,y.StrictDelete)}else if(this.hasPropertyAsPrivateName(e)){this.raise(a.start,y.DeletePrivateField)}}if(!i){if(!t)this.checkExponentialAfterUnary(a);return this.finishNode(a,"UnaryExpression")}}const o=this.parseUpdate(a,i,e);if(s){const e=this.hasPlugin("v8intrinsic")?this.state.type.startsExpr:this.state.type.startsExpr&&!this.match(u.modulo);if(e&&!this.isAmbiguousAwait()){this.raiseOverwrite(r,this.hasPlugin("topLevelAwait")?y.AwaitNotInAsyncContext:y.AwaitNotInAsyncFunction);return this.parseAwait(r,n)}}return o}parseUpdate(e,t,r){if(t){this.checkLVal(e.argument,"prefix operation");return this.finishNode(e,"UpdateExpression")}const n=this.state.start;const s=this.state.startLoc;let i=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,false))return i;while(this.state.type.postfix&&!this.canInsertSemicolon()){const e=this.startNodeAt(n,s);e.operator=this.state.value;e.prefix=false;e.argument=i;this.checkLVal(i,"postfix operation");this.next();i=this.finishNode(e,"UpdateExpression")}return i}parseExprSubscripts(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const s=this.parseExprAtom(e);if(this.shouldExitDescending(s,n)){return s}return this.parseSubscripts(s,t,r)}parseSubscripts(e,t,r,n){const s={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,r,n,s);s.maybeAsyncArrow=false}while(!s.stop);return e}parseSubscript(e,t,r,n,s){if(!n&&this.eat(u.doubleColon)){return this.parseBind(e,t,r,n,s)}else if(this.match(u.backQuote)){return this.parseTaggedTemplateExpression(e,t,r,s)}let i=false;if(this.match(u.questionDot)){if(n&&this.lookaheadCharCode()===40){s.stop=true;return e}s.optionalChainMember=i=true;this.next()}if(!n&&this.match(u.parenL)){return this.parseCoverCallAndAsyncArrowHead(e,t,r,s,i)}else if(i||this.match(u.bracketL)||this.eat(u.dot)){return this.parseMember(e,t,r,s,i)}else{s.stop=true;return e}}parseMember(e,t,r,n,s){const i=this.startNodeAt(t,r);const a=this.eat(u.bracketL);i.object=e;i.computed=a;const o=!a&&this.match(u.privateName)&&this.state.value;const l=a?this.parseExpression():o?this.parsePrivateName():this.parseIdentifier(true);if(o!==false){if(i.object.type==="Super"){this.raise(t,y.SuperPrivateField)}this.classScope.usePrivateName(o,l.start)}i.property=l;if(a){this.expect(u.bracketR)}if(n.optionalChainMember){i.optional=s;return this.finishNode(i,"OptionalMemberExpression")}else{return this.finishNode(i,"MemberExpression")}}parseBind(e,t,r,n,s){const i=this.startNodeAt(t,r);i.object=e;i.callee=this.parseNoCallExpr();s.stop=true;return this.parseSubscripts(this.finishNode(i,"BindExpression"),t,r,n)}parseCoverCallAndAsyncArrowHead(e,t,r,n,s){const i=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,r);o.callee=e;if(n.maybeAsyncArrow){this.expressionScope.enter(newAsyncArrowScope());a=new ExpressionErrors}if(n.optionalChainMember){o.optional=s}if(s){o.arguments=this.parseCallExpressionArguments(u.parenR)}else{o.arguments=this.parseCallExpressionArguments(u.parenR,e.type==="Import",e.type!=="Super",o,a)}this.finishCallExpression(o,n.optionalChainMember);if(n.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!s){n.stop=true;this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),o)}else{if(n.maybeAsyncArrow){this.checkExpressionErrors(a,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=i;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,n){const s=this.startNodeAt(t,r);s.tag=e;s.quasi=this.parseTemplate(true);if(n.optionalChainMember){this.raise(t,y.OptionalChainingNoTemplate)}return this.finishNode(s,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(e.start,y.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument")}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(t.start,y.ImportCallSpreadArgument)}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,s){const i=[];let a=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(this.state.lastTokStart,y.ImportCallArgumentTrailingComma)}if(n){this.addExtra(n,"trailingComma",this.state.lastTokStart)}this.next();break}}i.push(this.parseExprListItem(false,s,{start:0},r))}this.state.inFSharpPipelineDirectBody=o;return i}shouldParseAsyncArrow(){return this.match(u.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;this.expect(u.arrow);this.parseArrowExpression(e,t.arguments,true,(r=t.extra)==null?void 0:r.trailingComma);return e}parseNoCallExpr(){const e=this.state.start;const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,true)}parseExprAtom(e){let t;switch(this.state.type){case u._super:return this.parseSuper();case u._import:t=this.startNode();this.next();if(this.match(u.dot)){return this.parseImportMetaProperty(t)}if(!this.match(u.parenL)){this.raise(this.state.lastTokStart,y.UnsupportedImport)}return this.finishNode(t,"Import");case u._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case u.name:{const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const r=this.parseIdentifier();if(!t&&r.name==="async"&&!this.canInsertSemicolon()){if(this.match(u._function)){this.next();return this.parseFunction(this.startNodeAtNode(r),undefined,true)}else if(this.match(u.name)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(r)}else{return r}}else if(this.match(u._do)){return this.parseDo(true)}}if(e&&this.match(u.arrow)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(r),[r],false)}return r}case u._do:{return this.parseDo(false)}case u.slash:case u.slashAssign:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case u.num:return this.parseNumericLiteral(this.state.value);case u.bigint:return this.parseBigIntLiteral(this.state.value);case u.decimal:return this.parseDecimalLiteral(this.state.value);case u.string:return this.parseStringLiteral(this.state.value);case u._null:return this.parseNullLiteral();case u._true:return this.parseBooleanLiteral(true);case u._false:return this.parseBooleanLiteral(false);case u.parenL:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case u.bracketBarL:case u.bracketHashL:{return this.parseArrayLike(this.state.type===u.bracketBarL?u.bracketBarR:u.bracketR,false,true,e)}case u.bracketL:{return this.parseArrayLike(u.bracketR,true,false,e)}case u.braceBarL:case u.braceHashL:{return this.parseObjectLike(this.state.type===u.braceBarL?u.braceBarR:u.braceR,false,true,e)}case u.braceL:{return this.parseObjectLike(u.braceR,false,false,e)}case u._function:return this.parseFunctionOrFunctionSent();case u.at:this.parseDecorators();case u._class:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case u._new:return this.parseNewOrNewTarget();case u.backQuote:return this.parseTemplate(false);case u.doubleColon:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(e.start,y.UnsupportedBind)}}case u.privateName:{const e=this.state.start;const r=this.state.value;t=this.parsePrivateName();if(this.match(u._in)){this.expectPlugin("privateIn");this.classScope.usePrivateName(r,t.start)}else if(this.hasPlugin("privateIn")){this.raise(this.state.start,y.PrivateInExpectedIn,r)}else{throw this.unexpected(e)}return t}case u.hash:{if(this.state.inPipeline){t=this.startNode();if(this.getPluginOption("pipelineOperator","proposal")!=="smart"){this.raise(t.start,y.PrimaryTopicRequiresSmartPipeline)}this.next();if(!this.primaryTopicReferenceIsAllowedInCurrentTopicContext()){this.raise(t.start,y.PrimaryTopicNotAllowed)}this.registerTopicReference();return this.finishNode(t,"PipelinePrimaryTopicReference")}}case u.relational:{if(this.state.value==="<"){const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}}}default:throw this.unexpected()}}parseAsyncArrowUnaryFunction(e){const t=this.startNodeAtNode(e);this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const r=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(this.state.pos,y.LineTerminatorBeforeArrow)}this.expect(u.arrow);this.parseArrowExpression(t,r,true);return t}parseDo(e){this.expectPlugin("doExpressions");if(e){this.expectPlugin("asyncDoExpressions")}const t=this.startNode();t.async=e;this.next();const r=this.state.labels;this.state.labels=[];if(e){this.prodParam.enter(Ne);t.body=this.parseBlock();this.prodParam.exit()}else{t.body=this.parseBlock()}this.state.labels=r;return this.finishNode(t,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(u.parenL)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,y.SuperNotAllowed)}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,y.UnexpectedSuper)}if(!this.match(u.parenL)&&!this.match(u.bracketL)&&!this.match(u.dot)){this.raise(e.start,y.UnsupportedSuper)}return this.finishNode(e,"Super")}parseMaybePrivateName(e){const t=this.match(u.privateName);if(t){if(!e){this.raise(this.state.start+1,y.UnexpectedPrivateField)}return this.parsePrivateName()}else{return this.parseIdentifier(true)}}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(this.state.start+1,new Position(this.state.curLine,this.state.start+1-this.state.lineStart));const r=this.state.value;this.next();e.id=this.createIdentifier(t,r);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;if(t.name==="function"&&r==="sent"){if(this.isContextual(r)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}}const n=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==r||n){this.raise(e.property.start,y.UnsupportedMetaProperty,t.name,r)}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual("meta")){if(!this.inModule){this.raise(t.start,m.ImportMetaOutsideModule)}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){this.addExtra(r,"rawValue",e);this.addExtra(r,"raw",this.input.slice(r.start,this.state.end));r.value=e;this.next();return this.finishNode(r,t)}parseLiteral(e,t){const r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start;const r=this.state.startLoc;let n;this.next();this.expressionScope.enter(newArrowHeadScope());const s=this.state.maybeInArrowParameters;const i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const a=this.state.start;const o=this.state.startLoc;const l=[];const p=new ExpressionErrors;const f={start:0};let c=true;let d;let y;while(!this.match(u.parenR)){if(c){c=false}else{this.expect(u.comma,f.start||null);if(this.match(u.parenR)){y=this.state.start;break}}if(this.match(u.ellipsis)){const e=this.state.start;const t=this.state.startLoc;d=this.state.start;l.push(this.parseParenItem(this.parseRestBinding(),e,t));this.checkCommaAfterRest(41);break}else{l.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem,f))}}const m=this.state.lastTokEnd;const T=this.state.lastTokEndLoc;this.expect(u.parenR);this.state.maybeInArrowParameters=s;this.state.inFSharpPipelineDirectBody=i;let h=this.startNodeAt(t,r);if(e&&this.shouldParseArrow()&&(h=this.parseArrow(h))){this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(h,l,false);return h}this.expressionScope.exit();if(!l.length){this.unexpected(this.state.lastTokStart)}if(y)this.unexpected(y);if(d)this.unexpected(d);this.checkExpressionErrors(p,true);if(f.start)this.unexpected(f.start);this.toReferencedListDeep(l,true);if(l.length>1){n=this.startNodeAt(a,o);n.expressions=l;this.finishNodeAt(n,"SequenceExpression",m,T)}else{n=l[0]}if(!this.options.createParenthesizedExpressions){this.addExtra(n,"parenthesized",true);this.addExtra(n,"parenStart",t);return n}const S=this.startNodeAt(t,r);S.expression=n;this.finishNode(S,"ParenthesizedExpression");return S}shouldParseArrow(){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(u.arrow)){return e}}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){this.raise(r.start,y.UnexpectedNewTarget)}return r}return this.parseNew(e)}parseNew(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(e.callee.start,y.ImportCallNotNewExpression)}else if(this.isOptionalChain(e.callee)){this.raise(this.state.lastTokEnd,y.OptionalChainingNoNew)}else if(this.eat(u.questionDot)){this.raise(this.state.start,y.OptionalChainingNoNew)}this.parseNewArguments(e);return this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(u.parenL)){const t=this.parseExprList(u.parenR);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}}parseTemplateElement(e){const t=this.startNode();if(this.state.value===null){if(!e){this.raise(this.state.start+1,y.InvalidEscapeSequenceTemplate)}}t.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,"\n"),cooked:this.state.value};this.next();t.tail=this.match(u.backQuote);return this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next();t.expressions=[];let r=this.parseTemplateElement(e);t.quasis=[r];while(!r.tail){this.expect(u.dollarBraceL);t.expressions.push(this.parseTemplateSubstitution());this.expect(u.braceR);t.quasis.push(r=this.parseTemplateElement(e))}this.next();return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const i=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}}const s=this.parsePropertyDefinition(t,n);if(!t){this.checkProto(s,r,i,n)}if(r&&!this.isObjectProperty(s)&&s.type!=="SpreadElement"){this.raise(s.start,y.InvalidRecordProperty)}if(s.shorthand){this.addExtra(s,"shorthand",true)}o.properties.push(s)}this.next();this.state.inFSharpPipelineDirectBody=s;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(r){l="RecordExpression"}return this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(u.bracketL)||this.match(u.star))}parsePropertyDefinition(e,t){let r=[];if(this.match(u.at)){if(this.hasPlugin("decorators")){this.raise(this.state.start,y.UnsupportedPropertyDecorator)}while(this.match(u.at)){r.push(this.parseDecorator())}}const n=this.startNode();let s=false;let i=false;let a=false;let o;let l;if(this.match(u.ellipsis)){if(r.length)this.unexpected();if(e){this.next();n.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(n,"RestElement")}return this.parseSpread()}if(r.length){n.decorators=r;r=[]}n.method=false;if(e||t){o=this.state.start;l=this.state.startLoc}if(!e){s=this.eat(u.star)}const p=this.state.containsEsc;const f=this.parsePropertyName(n,false);if(!e&&!s&&!p&&this.maybeAsyncOrAccessorProp(n)){const e=f.name;if(e==="async"&&!this.hasPrecedingLineBreak()){i=true;s=this.eat(u.star);this.parsePropertyName(n,false)}if(e==="get"||e==="set"){a=true;n.kind=e;if(this.match(u.star)){s=true;this.raise(this.state.pos,y.AccessorIsGenerator,e);this.next()}this.parsePropertyName(n,false)}}this.parseObjPropValue(n,o,l,s,i,e,a,t);return n}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e);const n=this.getObjectOrClassMethodParams(e);const s=e.start;if(n.length!==r){if(e.kind==="get"){this.raise(s,y.BadGetterArity)}else{this.raise(s,y.BadSetterArity)}}if(e.kind==="set"&&((t=n[n.length-1])==null?void 0:t.type)==="RestElement"){this.raise(s,y.BadSetterRestParameter)}}parseObjectMethod(e,t,r,n,s){if(s){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(r||t||this.match(u.parenL)){if(n)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,r,false,false,"ObjectMethod")}}parseObjectProperty(e,t,r,n,s){e.shorthand=false;if(this.eat(u.colon)){e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(s);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.start,true,false);if(n){e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else if(this.match(u.eq)&&s){if(s.shorthandAssign===-1){s.shorthandAssign=this.state.start}e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else{e.value=e.key.__clone()}e.shorthand=true;return this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,r,n,s,i,a,o){const l=this.parseObjectMethod(e,n,s,i,a)||this.parseObjectProperty(e,t,r,i,o);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(u.bracketL)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(u.bracketR)}else{const r=this.state.inPropertyName;this.state.inPropertyName=true;const n=this.state.type;e.key=n===u.num||n===u.string||n===u.bigint||n===u.decimal?this.parseExprAtom():this.parseMaybePrivateName(t);if(n!==u.privateName){e.computed=false}this.state.inPropertyName=r}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,r,n,s,i,a=false){this.initFunction(e,r);e.generator=!!t;const o=n;this.scope.enter(N|_|(a?F:0)|(s?M:0));this.prodParam.enter(functionFlags(r,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,i,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const i=this.startNode();this.next();i.elements=this.parseExprList(e,!r,n,i);this.state.inFSharpPipelineDirectBody=s;return this.finishNode(i,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(N|C);let s=functionFlags(r,false);if(!this.match(u.bracketL)&&this.prodParam.hasIn){s|=Le}this.prodParam.enter(s);this.initFunction(e,r);const i=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,n)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=i;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){e.params=this.toAssignableList(t,r,false)}parseFunctionBodyAndFinish(e,t,r=false){this.parseFunctionBody(e,false,r);this.finishNode(e,t)}parseFunctionBody(e,t,r=false){const n=t&&!this.match(u.braceL);this.expressionScope.enter(newExpressionScope());if(n){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const n=this.state.strict;const s=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|Ce);e.body=this.parseBlock(true,false,s=>{const i=!this.isSimpleParamList(e.params);if(s&&i){const t=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(t,y.IllegalLanguageModeDirective)}const a=!n&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!r&&!i,t,a);if(this.state.strict&&e.id){this.checkLVal(e.id,"function name",ae,undefined,undefined,a)}});this.prodParam.exit();this.expressionScope.exit();this.state.labels=s}}isSimpleParamList(e){for(let t=0,r=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(t,y.YieldBindingIdentifier);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(t,y.AwaitBindingIdentifier);return}else if(this.scope.inStaticBlock&&!this.scope.inNonArrowFunction){this.raise(t,y.AwaitBindingIdentifierInStaticBlock);return}else{this.expressionScope.recordAsyncArrowParametersError(t,y.AwaitBindingIdentifier)}}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(t,y.ArgumentsInClass);return}}if(r&&isKeyword(e)){this.raise(t,y.UnexpectedKeyword,e);return}const s=!this.state.strict?isReservedWord:n?isStrictBindReservedWord:isStrictReservedWord;if(s(e,this.inModule)){this.raise(t,y.UnexpectedReservedWord,e)}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e,t){const r=this.startNodeAt(e,t);this.expressionScope.recordParameterInitializerError(r.start,y.AwaitExpressionFormalParameter);if(this.eat(u.star)){this.raise(r.start,y.ObsoleteAwaitStar)}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){r.argument=this.parseMaybeUnary(null,true)}return this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(u.plusMin)||this.match(u.parenL)||this.match(u.bracketL)||this.match(u.backQuote)||this.match(u.regexp)||this.match(u.slash)||this.hasPlugin("v8intrinsic")&&this.match(u.modulo)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,y.YieldInParameter);this.next();let t=false;let r=null;if(!this.hasPrecedingLineBreak()){t=this.eat(u.star);switch(this.state.type){case u.semi:case u.eof:case u.braceR:case u.parenR:case u.bracketR:case u.braceBarR:case u.colon:case u.comma:if(!t)break;default:r=this.parseMaybeAssign()}}e.delegate=t;e.argument=r;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.getPluginOption("pipelineOperator","proposal")==="smart"){if(e.type==="SequenceExpression"){this.raise(t,y.PipelineHeadSequenceExpression)}}}parseSmartPipelineBody(e,t,r){this.checkSmartPipelineBodyEarlyErrors(e,t);return this.parseSmartPipelineBodyInStyle(e,t,r)}checkSmartPipelineBodyEarlyErrors(e,t){if(this.match(u.arrow)){throw this.raise(this.state.start,y.PipelineBodyNoArrow)}else if(e.type==="SequenceExpression"){this.raise(t,y.PipelineBodySequenceExpression)}}parseSmartPipelineBodyInStyle(e,t,r){const n=this.startNodeAt(t,r);const s=this.isSimpleReference(e);if(s){n.callee=e}else{if(!this.topicReferenceWasUsedInCurrentTopicContext()){this.raise(t,y.PipelineTopicUnused)}n.expression=e}return this.finishNode(n,s?"PipelineBareFunction":"PipelineTopicExpression")}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}withTopicPermittingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withTopicForbiddingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const r=Le&~t;if(r){this.prodParam.enter(t|Le);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const r=Le&t;if(r){this.prodParam.enter(t&~Le);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}primaryTopicReferenceIsAllowedInCurrentTopicContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentTopicContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const s=this.parseExprOp(this.parseMaybeUnary(),t,r,e);this.state.inFSharpPipelineDirectBody=n;return s}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(u.braceL);const t=this.initializeScopes(true);this.enterInitialScopes();const r=this.startNode();try{e.body=this.parseProgram(r,u.braceR,"module")}finally{t()}this.eat(u.braceR);return this.finishNode(e,"ModuleExpression")}}const Ze={kind:"loop"},et={kind:"switch"};const tt=0,rt=1,nt=2,st=4;const it=/[\uD800-\uDFFF]/u;const at=/in(?:stanceof)?/y;function babel7CompatTokens(e){{for(let t=0;t0){for(const[e]of Array.from(this.scope.undefinedExports)){const t=this.scope.undefinedExports.get(e);this.raise(t,y.ModuleExportUndefined,e)}}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e.expression;const r=this.startNodeAt(t.start,t.loc.start);const n=this.startNodeAt(e.start,e.loc.start);const s=this.input.slice(t.start,t.end);const i=r.value=s.slice(1,-1);this.addExtra(r,"raw",s);this.addExtra(r,"rawValue",i);n.value=this.finishNodeAt(r,"DirectiveLiteral",t.end,t.loc.end);return this.finishNodeAt(n,"Directive",e.end,e.loc.end)}parseInterpreterDirective(){if(!this.match(u.interpreterDirective)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual("let")){return false}return this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart();const r=this.codePointAtPos(t);if(r===92||r===91){return true}if(e)return false;if(r===123)return true;if(isIdentifierStart(r)){at.lastIndex=t;const e=at.exec(this.input);if(e!==null){const r=this.codePointAtPos(t+e[0].length);if(!isIdentifierChar(r)&&r!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(u.at)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type;const n=this.startNode();let s;if(this.isLet(e)){r=u._var;s="let"}switch(r){case u._break:case u._continue:return this.parseBreakContinueStatement(n,r.keyword);case u._debugger:return this.parseDebuggerStatement(n);case u._do:return this.parseDoStatement(n);case u._for:return this.parseForStatement(n);case u._function:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(this.state.start,y.StrictFunction)}else if(e!=="if"&&e!=="label"){this.raise(this.state.start,y.SloppyFunction)}}return this.parseFunctionStatement(n,false,!e);case u._class:if(e)this.unexpected();return this.parseClass(n,true);case u._if:return this.parseIfStatement(n);case u._return:return this.parseReturnStatement(n);case u._switch:return this.parseSwitchStatement(n);case u._throw:return this.parseThrowStatement(n);case u._try:return this.parseTryStatement(n);case u._const:case u._var:s=s||this.state.value;if(e&&s!=="var"){this.raise(this.state.start,y.UnexpectedLexicalDeclaration)}return this.parseVarStatement(n,s);case u._while:return this.parseWhileStatement(n);case u._with:return this.parseWithStatement(n);case u.braceL:return this.parseBlock();case u.semi:return this.parseEmptyStatement(n);case u._import:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case u._export:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(this.state.start,y.UnexpectedImportExport)}this.next();let e;if(r===u._import){e=this.parseImport(n);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(n);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(n);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(this.state.start,y.AsyncFunctionInSingleStatementContext)}this.next();return this.parseFunctionStatement(n,true,!e)}}}const i=this.state.value;const a=this.parseExpression();if(r===u.name&&a.type==="Identifier"&&this.eat(u.colon)){return this.parseLabeledStatement(n,i,a,e)}else{return this.parseExpressionStatement(n,a)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(e.start,m.ImportOutsideModule)}}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];if(t.length){e.decorators=t;this.resetStartLocationFromNode(e,t[0]);this.state.decoratorStack[this.state.decoratorStack.length-1]=[]}}canHaveLeadingDecorator(){return this.match(u._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(u.at)){const e=this.parseDecorator();t.push(e)}if(this.match(u._export)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,y.DecoratorExportClass)}}else if(!this.canHaveLeadingDecorator()){throw this.raise(this.state.start,y.UnexpectedLeadingDecorator)}}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start;const r=this.state.startLoc;let n;if(this.eat(u.parenL)){n=this.parseExpression();this.expect(u.parenR)}else{n=this.parseIdentifier(false);while(this.eat(u.dot)){const e=this.startNodeAt(t,r);e.object=n;e.property=this.parseIdentifier(true);e.computed=false;n=this.finishNode(e,"MemberExpression")}}e.expression=this.parseMaybeDecoratorArguments(n);this.state.decoratorStack.pop()}else{e.expression=this.parseExprSubscripts()}return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(u.parenL)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(u.parenR,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){const r=t==="break";this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,r?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){const r=t==="break";let n;for(n=0;nthis.parseStatement("do"));this.state.labels.pop();this.expect(u._while);e.test=this.parseHeaderExpression();this.eat(u.semi);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(Ze);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual("await")){t=this.state.lastTokStart}this.scope.enter(w);this.expect(u.parenL);if(this.match(u.semi)){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}const r=this.isContextual("let");const n=r&&this.isLetKeyword();if(this.match(u._var)||this.match(u._const)||n){const r=this.startNode();const s=n?"let":this.state.value;this.next();this.parseVar(r,true,s);this.finishNode(r,"VariableDeclaration");if((this.match(u._in)||this.isContextual("of"))&&r.declarations.length===1){return this.parseForIn(e,r,t)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)}const s=this.match(u.name)&&!this.state.containsEsc;const i=new ExpressionErrors;const a=this.parseExpression(true,i);const o=this.isContextual("of");if(o){if(r){this.raise(a.start,y.ForOfLet)}else if(t===-1&&s&&a.type==="Identifier"&&a.name==="async"){this.raise(a.start,y.ForOfAsync)}}if(o||this.match(u._in)){this.toAssignable(a,true);const r=o?"for-of statement":"for-in statement";this.checkLVal(a,r);return this.parseForIn(e,a,t)}else{this.checkExpressionErrors(i,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)}parseFunctionStatement(e,t,r){this.next();return this.parseFunction(e,rt|(r?0:nt),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(u._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(this.state.start,y.IllegalReturn)}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(u.braceL);this.state.labels.push(et);this.scope.enter(w);let r;for(let e;!this.match(u.braceR);){if(this.match(u._case)||this.match(u._default)){const n=this.match(u._case);if(r)this.finishNode(r,"SwitchCase");t.push(r=this.startNode());r.consequent=[];this.next();if(n){r.test=this.parseExpression()}else{if(e){this.raise(this.state.lastTokStart,y.MultipleDefaultsInSwitch)}e=true;r.test=null}this.expect(u.colon)}else{if(r){r.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(r)this.finishNode(r,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(this.state.lastTokEnd,y.NewlineAfterThrow)}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?L:0);this.checkLVal(e,"catch clause",Q);return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(u._catch)){const t=this.startNode();this.next();if(this.match(u.parenL)){this.expect(u.parenL);t.param=this.parseCatchClauseParam();this.expect(u.parenR)}else{t.param=null;this.scope.enter(w)}t.body=this.withTopicForbiddingContext(()=>this.parseBlock(false,false));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(u._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,y.NoCatchOrFinally)}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(Ze);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("while"));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(this.state.start,y.StrictWith)}this.next();e.object=this.parseHeaderExpression();e.body=this.withTopicForbiddingContext(()=>this.parseStatement("with"));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(const e of this.state.labels){if(e.name===t){this.raise(r.start,y.LabelRedeclaration,t)}}const s=this.state.type.isLoop?"loop":this.match(u._switch)?"switch":null;for(let t=this.state.labels.length-1;t>=0;t--){const r=this.state.labels[t];if(r.statementStart===e.start){r.statementStart=this.state.start;r.kind=s}else{break}}this.state.labels.push({name:t,kind:s,statementStart:this.state.start});e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label");this.state.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,r){const n=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(u.braceL);if(t){this.scope.enter(w)}this.parseBlockBody(n,e,false,u.braceR,r);if(t){this.scope.exit()}return this.finishNode(n,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,s){const i=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(i,t?a:undefined,r,n,s)}parseBlockOrModuleBlockBody(e,t,r,n,s){const i=this.state.strict;let a=false;let o=false;while(!this.match(n)){const n=this.parseStatement(null,r);if(t&&!o){if(this.isValidDirective(n)){const e=this.stmtToDirective(n);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(n)}if(s){s.call(this,a)}if(!i){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(u.semi)?null:this.parseExpression();this.semicolon(false);e.update=this.match(u.parenR)?null:this.parseExpression();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const n=this.match(u._in);this.next();if(n){if(r>-1)this.unexpected(r)}else{e.await=r>-1}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,y.ForInOfLoopInitializer,n?"for-in":"for-of")}else if(t.type==="AssignmentPattern"){this.raise(t.start,y.InvalidLhs,"for-loop")}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){const n=e.declarations=[];const s=this.hasPlugin("typescript");e.kind=r;for(;;){const e=this.startNode();this.parseVarId(e,r);if(this.eat(u.eq)){e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn()}else{if(r==="const"&&!(this.match(u._in)||this.isContextual("of"))){if(!s){this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Const declarations")}}else if(e.id.type!=="Identifier"&&!(t&&(this.match(u._in)||this.isContextual("of")))){this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Complex binding patterns")}e.init=null}n.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(u.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,"variable declaration",t==="var"?Z:Q,undefined,t!=="var")}parseFunction(e,t=tt,r=false){const n=t&rt;const s=t&nt;const i=!!n&&!(t&st);this.initFunction(e,r);if(this.match(u.star)&&s){this.raise(this.state.start,y.GeneratorInSingleStatementContext)}e.generator=this.eat(u.star);if(n){e.id=this.parseFunctionId(i)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(N);this.prodParam.enter(functionFlags(r,e.generator));if(!n){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")});this.prodParam.exit();this.scope.exit();if(n&&!s){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||this.match(u.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(u.parenL);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(u.parenR,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?Z:Q:ee,e.id.start)}parseClass(e,t,r){this.next();this.takeDecorators(e);const n=this.state.strict;this.state.strict=true;this.parseClassId(e,t,r);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,n);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(u.eq)||this.match(u.semi)||this.match(u.braceR)}isClassMethod(){return this.match(u.parenL)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const r={hadConstructor:false,hadSuperClass:e};let n=[];const s=this.startNode();s.body=[];this.expect(u.braceL);this.withTopicForbiddingContext(()=>{while(!this.match(u.braceR)){if(this.eat(u.semi)){if(n.length>0){throw this.raise(this.state.lastTokEnd,y.DecoratorSemicolon)}continue}if(this.match(u.at)){n.push(this.parseDecorator());continue}const e=this.startNode();if(n.length){e.decorators=n;this.resetStartLocationFromNode(e,n[0]);n=[]}this.parseClassMember(s,e,r);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(e.start,y.DecoratorConstructor)}}});this.state.strict=t;this.next();if(n.length){throw this.raise(this.state.start,y.TrailingDecorator)}this.classScope.exit();return this.finishNode(s,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(true);if(this.isClassMethod()){const n=t;n.kind="method";n.computed=false;n.key=r;n.static=false;this.pushClassMethod(e,n,false,false,false,false);return true}else if(this.isClassProperty()){const n=t;n.computed=false;n.key=r;n.static=false;e.body.push(this.parseClassProperty(n));return true}return false}parseClassMember(e,t,r){const n=this.isContextual("static");if(n){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(u.braceL)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){const s=t;const i=t;const a=t;const o=t;const l=s;const p=s;t.static=n;if(this.eat(u.star)){l.kind="method";const t=this.match(u.privateName);this.parseClassElementName(l);if(t){this.pushClassPrivateMethod(e,i,true,false);return}if(this.isNonstaticConstructor(s)){this.raise(s.key.start,y.ConstructorIsGenerator)}this.pushClassMethod(e,s,true,false,false,false);return}const f=this.state.containsEsc;const c=this.match(u.privateName);const d=this.parseClassElementName(t);const m=d.type==="Identifier";const T=this.state.start;this.parsePostMemberNameModifiers(p);if(this.isClassMethod()){l.kind="method";if(c){this.pushClassPrivateMethod(e,i,false,false);return}const n=this.isNonstaticConstructor(s);let a=false;if(n){s.kind="constructor";if(r.hadConstructor&&!this.hasPlugin("typescript")){this.raise(d.start,y.DuplicateConstructor)}if(n&&this.hasPlugin("typescript")&&t.override){this.raise(d.start,y.OverrideOnConstructor)}r.hadConstructor=true;a=r.hadSuperClass}this.pushClassMethod(e,s,false,false,n,a)}else if(this.isClassProperty()){if(c){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(m&&d.name==="async"&&!f&&!this.isLineTerminator()){const t=this.eat(u.star);if(p.optional){this.unexpected(T)}l.kind="method";const r=this.match(u.privateName);this.parseClassElementName(l);this.parsePostMemberNameModifiers(p);if(r){this.pushClassPrivateMethod(e,i,t,true)}else{if(this.isNonstaticConstructor(s)){this.raise(s.key.start,y.ConstructorIsAsync)}this.pushClassMethod(e,s,t,true,false,false)}}else if(m&&(d.name==="get"||d.name==="set")&&!f&&!(this.match(u.star)&&this.isLineTerminator())){l.kind=d.name;const t=this.match(u.privateName);this.parseClassElementName(s);if(t){this.pushClassPrivateMethod(e,i,false,false)}else{if(this.isNonstaticConstructor(s)){this.raise(s.key.start,y.ConstructorIsAccessor)}this.pushClassMethod(e,s,false,false,false,false)}this.checkGetterSetterParams(s)}else if(this.isLineTerminator()){if(c){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:r,start:n}=this.state;if((t===u.name||t===u.string)&&e.static&&r==="prototype"){this.raise(n,y.StaticPrototype)}if(t===u.privateName&&r==="constructor"){this.raise(n,y.ConstructorClassPrivateField)}return this.parsePropertyName(e,true)}parseClassStaticBlock(e,t){var r;this.expectPlugin("classStaticBlock",t.start);this.scope.enter(F|B|_);const n=this.state.labels;this.state.labels=[];this.prodParam.enter(we);const s=t.body=[];this.parseBlockOrModuleBlockBody(s,undefined,false,u.braceR);this.prodParam.exit();this.scope.exit();this.state.labels=n;e.body.push(this.finishNode(t,"StaticBlock"));if((r=t.decorators)!=null&&r.length){this.raise(t.start,y.DecoratorStaticBlock)}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(t.key.start,y.ConstructorClassField)}e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const r=this.parseClassPrivateProperty(t);e.body.push(r);this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),Se,r.key.start)}pushClassMethod(e,t,r,n,s,i){e.body.push(this.parseMethod(t,r,n,s,i,"ClassMethod",true))}pushClassPrivateMethod(e,t,r,n){const s=this.parseMethod(t,r,n,false,false,"ClassPrivateMethod",true);e.body.push(s);const i=s.kind==="get"?s.static?ye:Te:s.kind==="set"?s.static?me:he:Se;this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),i,s.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(F|_);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(we);e.value=this.eat(u.eq)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,r,n=H){if(this.match(u.name)){e.id=this.parseIdentifier();if(t){this.checkLVal(e.id,"class name",n)}}else{if(r||!t){e.id=null}else{this.unexpected(null,y.MissingClassName)}}}parseClassSuper(e){e.superClass=this.eat(u._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.eatExportStar(e);const s=n&&this.maybeParseExportNamespaceSpecifier(e);const i=r&&(!s||this.eat(u.comma));const a=t||n;if(n&&!s){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!n&&!o||s&&i&&!o){throw this.unexpected(null,u.braceL)}let l;if(a||o){l=false;this.parseExportFrom(e,a)}else{l=this.maybeParseExportDeclaration(e)}if(a||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(u._default)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,u.braceL)}eatExportStar(e){return this.eat(u.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(u.braceL)){if(!e.specifiers)e.specifiers=[];e.specifiers.push(...this.parseExportSpecifiers());e.source=null;e.declaration=null;return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual("async"))return false;const e=this.nextTokenStart();return!p.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(u._function)||t){this.next();if(t){this.next()}return this.parseFunction(e,rt|st,t)}else if(this.match(u._class)){return this.parseClass(e,true,true)}else if(this.match(u.at)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,y.DecoratorBeforeExport)}this.parseDecorators(false);return this.parseClass(e,true,true)}else if(this.match(u._const)||this.match(u._var)||this.isLet()){throw this.raise(this.state.start,y.UnsupportedDefaultExport)}else{const e=this.parseMaybeAssignAllowIn();this.semicolon();return e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(u.name)){const e=this.state.value;if(e==="async"&&!this.state.containsEsc||e==="let"){return false}if((e==="type"||e==="interface")&&!this.state.containsEsc){const e=this.lookahead();if(e.type===u.name&&e.value!=="from"||e.type===u.braceL){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(u._default)){return false}const e=this.nextTokenStart();const t=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||this.match(u.name)&&t){return true}if(this.match(u._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return t===34||t===39}return false}parseExportFrom(e,t){if(this.eatContextual("from")){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else{if(t){this.unexpected()}else{e.source=null}}this.semicolon()}shouldParseExportDeclaration(){if(this.match(u.at)){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){this.unexpected(this.state.start,y.DecoratorBeforeExport)}else{return true}}}return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t){if(r){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var s;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((s=t.extra)!=null&&s.parenthesized)){this.raise(t.start,y.ExportDefaultFromAsIdentifier)}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const r=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,r);if(!n&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(t.start,y.ExportBindingIsString,e.value,r)}else{this.checkReservedWord(e.name,e.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}const i=this.state.decoratorStack[this.state.decoratorStack.length-1];if(i.length){throw this.raise(e.start,y.UnsupportedDecoratorExport)}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){this.raise(e.start,t==="default"?y.DuplicateDefaultExport:y.DuplicateExport,t)}this.exportedIdentifiers.add(t)}parseExportSpecifiers(){const e=[];let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{this.expect(u.comma);if(this.eat(u.braceR))break}const r=this.startNode();r.local=this.parseModuleExportName();r.exported=this.eatContextual("as")?this.parseModuleExportName():r.local.__clone();e.push(this.finishNode(r,"ExportSpecifier"))}return e}parseModuleExportName(){if(this.match(u.string)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(it);if(t){this.raise(e.start,y.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16))}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(u.string)){const t=this.maybeParseDefaultImportSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.maybeParseStarImportSpecifier(e);if(r&&!n)this.parseNamedImportSpecifiers(e);this.expectContextual("from")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(u.string))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(u.name)}parseImportSpecifierLocal(e,t,r,n){t.local=this.parseIdentifier();this.checkLVal(t.local,n,Q);e.specifiers.push(this.finishNode(t,r))}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(u.braceR)){break}const r=this.startNode();const n=this.state.value;if(t.has(n)){this.raise(this.state.start,y.ModuleAttributesWithDuplicateKeys,n)}t.add(n);if(this.match(u.string)){r.key=this.parseStringLiteral(n)}else{r.key=this.parseIdentifier(true)}this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseModuleAttributes(){if(this.match(u._with)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const r=this.startNode();r.key=this.parseIdentifier(true);if(r.key.name!=="type"){this.raise(r.key.start,y.ModuleAttributeDifferentFromType,r.key.name)}if(t.has(r.key.name)){this.raise(r.key.start,y.ModuleAttributesWithDuplicateKeys,r.key.name)}t.add(r.key.name);this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseImportAssertions(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(u.braceL);const e=this.parseAssertEntries();this.eat(u.braceR);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(u.star)){const t=this.startNode();this.next();this.expectContextual("as");this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{if(this.eat(u.colon)){throw this.raise(this.state.start,y.DestructureNamedImport)}this.expect(u.comma);if(this.eat(u.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();const r=this.match(u.string);t.imported=this.parseModuleExportName();if(this.eatContextual("as")){t.local=this.parseIdentifier()}else{const{imported:e}=t;if(r){throw this.raise(t.start,y.ImportBindingIsString,e.value)}this.checkReservedWord(e.name,t.start,true,true);t.local=e.__clone()}this.checkLVal(t.local,"import specifier",Q);e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const r of e){const[e,n]=Array.isArray(r)?r:[r,{}];if(!t.has(e))t.set(e,n||{})}return t}function parse(e,t){var r;if(((r=t)==null?void 0:r.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const r=getParser(t,e);const n=r.parse();if(r.sawUnambiguousESM){return n}if(r.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{n.program.sourceType="script"}return n}catch(r){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw r}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const r=getParser(t,e);if(r.options.strictMode){r.state.strict=true}return r.getExpression()}function getParser(e,t){let r=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);r=getParserClass(e.plugins)}return new r(e,t)}const ot={};function getParserClass(e){const t=Xe.filter(t=>hasPlugin(e,t));const r=t.join("/");let n=ot[r];if(!n){n=Parser;for(const e of t){n=Ve[e](n)}ot[r]=n}return n}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=u},48542:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(10576);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},49309:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(88035);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},78666:()=>{},91496:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(86024);var s=r(34233);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(15035);var s=r(6389);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},46551:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(15035);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},15035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(91496);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},90980:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(15035)},11313:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(91784);var s=r(22541);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(15035);var s=r(53158);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},86938:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(12613);function clone(e){return(0,n.default)(e,false)}},98290:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(12613);function cloneDeep(e){return(0,n.default)(e)}},15703:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(12613);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},12613:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(86024);var s=r(91784);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},82934:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(12613);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},84365:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(99735);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},99735:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},80304:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(28120);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},73512:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(28120);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},26244:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(28120);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},33928:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(26244);var s=r(73512);var i=r(80304);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},95460:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(91442);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},60638:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(86024);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},91442:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},8133:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(27817);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},3791:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(99529);var s=r(91784);var i=r(15035);var a=r(12613);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},11655:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(10188);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},27817:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(91784);var s=r(15035);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},54784:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(91784);var s=r(15035);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},16653:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(91784);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},10188:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(52288);var s=r(85531);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},6060:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(91784);var s=r(12613);var i=r(37552);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},55096:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(3791);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},75121:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(91784);var s=r(15035);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},90990:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(52288);var s=r(15035);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},28264:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(88035);var s=r(52288);var i=r(85531);var a=r(91442);var o=r(34382);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},33471:(e,t,r)=>{"use strict";var n=r(34382);var s=r(28264);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},97166:(e,t,r)=>{"use strict";var n=r(34382);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},86024:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(28264);r(97166);r(51009);r(77673);r(33471);r(84380);var s=r(34382);var i=r(40564);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},51009:(e,t,r)=>{"use strict";var n=r(34382);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},77673:(e,t,r)=>{"use strict";var n=r(34382);var s=r(40564);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},40564:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(34382);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},84380:(e,t,r)=>{"use strict";var n=r(34382);var s=r(28264);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},34382:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(88035);var s=r(34233);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},79584:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(16514);var i=r(5547);var a=r(11313);var o=r(48542);var l=r(49309);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(46551);var p=r(896);var f=r(40808);var c=r(15035);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(90980);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(12613);var m=r(86938);var T=r(98290);var h=r(15703);var S=r(82934);var b=r(84365);var E=r(99735);var g=r(80304);var P=r(73512);var x=r(33928);var v=r(26244);var A=r(95460);var O=r(60638);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(91442);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(8133);var w=r(11655);var j=r(27817);var N=r(54784);var C=r(16653);var L=r(10188);var _=r(6060);var M=r(55096);var F=r(75121);var B=r(90990);var k=r(86024);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(33073);var K=r(6291);var V=r(12437);var X=r(18192);var Y=r(37552);var J=r(6389);var U=r(99529);var W=r(50756);var q=r(98973);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(3441);var G=r(51927);var $=r(88035);var H=r(26762);var Q=r(20620);var Z=r(71768);var ee=r(86445);var te=r(10576);var re=r(70208);var ne=r(52041);var se=r(56325);var ie=r(59555);var ae=r(71324);var oe=r(17258);var le=r(53464);var ue=r(52288);var pe=r(17039);var fe=r(88730);var ce=r(34233);var de=r(19536);var ye=r(91784);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(78666);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},33073:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(15035);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},6389:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(91784);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},6291:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(91442);var s=r(33928);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},12437:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(15035);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},18192:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(91442);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},37552:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(3441);var s=r(18192);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},53158:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(91784);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},99529:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(91784);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(99529);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},98973:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(86024);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(86024);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},28120:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},22541:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(15035);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},19536:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(88730);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},91784:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(51927);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},88035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(51927);var s=r(17258);var i=r(52041);var a=r(86024);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},26762:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(99529);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},20620:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(91784);var s=r(86445);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},71768:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(17258);var s=r(91784);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},86445:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(91784);var s=r(91442);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},10576:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(86024);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},70208:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(86024);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(86024);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},56325:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},59555:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(91784);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},71324:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(91784);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},17258:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(86024);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},53464:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(52288);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},52288:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(85531);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},17039:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(91784);var s=r(91442);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},88730:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(91784);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},16514:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(19536);const s=(0,n.default)("React.Component");var i=s;t.default=i},34233:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(86024);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},96659:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=annotateAsPure;var n=r(58740);const s="#__PURE__";const i=({leadingComments:e})=>!!e&&e.some(e=>/[@#]__PURE__/.test(e.value));function annotateAsPure(e){const t=e["node"]||e;if(i(t)){return}n.addComment(t,"leading",s)}},98518:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(98518);var s=r(60316)},60316:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},10171:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(31231);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},45793:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(23998);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},96382:()=>{},83352:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(7766);var s=r(93885);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(60402);var s=r(64001);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},81334:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(60402);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},60402:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(83352);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},31177:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(60402)},56374:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(52317);var s=r(20956);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(60402);var s=r(3937);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},47487:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(85414);function clone(e){return(0,n.default)(e,false)}},6558:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(85414);function cloneDeep(e){return(0,n.default)(e)}},18006:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(85414);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},85414:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(7766);var s=r(52317);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},26825:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(85414);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},97521:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(94016);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},94016:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},38125:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(20395);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},96508:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(20395);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},62260:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(20395);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},89472:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(62260);var s=r(96508);var i=r(38125);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},90050:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(30992);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},32921:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(7766);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},30992:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},47791:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(15431);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},12614:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(96663);var s=r(52317);var i=r(60402);var a=r(85414);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},23615:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(82011);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},15431:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(52317);var s=r(60402);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},60219:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(52317);var s=r(60402);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},36061:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(52317);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},82011:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(62162);var s=r(85429);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},55212:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(52317);var s=r(85414);var i=r(24977);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},24195:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(12614);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},52674:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(52317);var s=r(60402);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},56895:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(62162);var s=r(60402);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},23870:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(23998);var s=r(62162);var i=r(85429);var a=r(30992);var o=r(4397);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},51655:(e,t,r)=>{"use strict";var n=r(4397);var s=r(23870);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},91872:(e,t,r)=>{"use strict";var n=r(4397);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},7766:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(23870);r(91872);r(27193);r(47393);r(51655);r(67788);var s=r(4397);var i=r(70026);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},27193:(e,t,r)=>{"use strict";var n=r(4397);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},47393:(e,t,r)=>{"use strict";var n=r(4397);var s=r(70026);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},70026:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(4397);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},67788:(e,t,r)=>{"use strict";var n=r(4397);var s=r(23870);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},4397:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(23998);var s=r(93885);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},58740:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(37952);var i=r(21411);var a=r(56374);var o=r(10171);var l=r(45793);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(81334);var p=r(85804);var f=r(45949);var c=r(60402);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(31177);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(85414);var m=r(47487);var T=r(6558);var h=r(18006);var S=r(26825);var b=r(97521);var E=r(94016);var g=r(38125);var P=r(96508);var x=r(89472);var v=r(62260);var A=r(90050);var O=r(32921);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(30992);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(47791);var w=r(23615);var j=r(15431);var N=r(60219);var C=r(36061);var L=r(82011);var _=r(55212);var M=r(24195);var F=r(52674);var B=r(56895);var k=r(7766);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(19230);var K=r(25666);var V=r(83961);var X=r(62153);var Y=r(24977);var J=r(64001);var U=r(96663);var W=r(6231);var q=r(32837);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(87622);var G=r(45821);var $=r(23998);var H=r(20279);var Q=r(25196);var Z=r(87863);var ee=r(9424);var te=r(31231);var re=r(85986);var ne=r(50110);var se=r(5016);var ie=r(99031);var ae=r(17014);var oe=r(8686);var le=r(14243);var ue=r(62162);var pe=r(30269);var fe=r(46302);var ce=r(93885);var de=r(27030);var ye=r(52317);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(96382);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},19230:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(60402);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},64001:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(52317);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},25666:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(30992);var s=r(89472);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},83961:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(60402);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},62153:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(30992);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},24977:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(87622);var s=r(62153);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},3937:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(52317);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},96663:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(52317);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(96663);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},32837:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(7766);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(7766);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},20395:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},20956:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(60402);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},27030:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(46302);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},52317:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(45821);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},23998:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(45821);var s=r(8686);var i=r(50110);var a=r(7766);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},20279:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(96663);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},25196:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(52317);var s=r(9424);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},87863:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(8686);var s=r(52317);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},9424:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(52317);var s=r(30992);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},31231:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(7766);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},85986:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(7766);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(7766);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},5016:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},99031:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(52317);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},17014:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(52317);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},8686:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(7766);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},14243:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(62162);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},62162:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(85429);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},30269:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(52317);var s=r(30992);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},46302:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(52317);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},37952:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(27030);const s=(0,n.default)("React.Component");var i=s;t.default=i},93885:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(7766);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},58983:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(82016);var s=r(29086);function _default(e){const{build:t,operator:r}=e;return{AssignmentExpression(e){const{node:i,scope:a}=e;if(i.operator!==r+"=")return;const o=[];const l=(0,n.default)(i.left,o,this,a);o.push(s.assignmentExpression("=",l.ref,t(l.uid,i.right)));e.replaceWith(s.sequenceExpression(o))},BinaryExpression(e){const{node:n}=e;if(n.operator===r){e.replaceWith(t(n.left,n.right))}}}}},50424:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(50424);var s=r(31290)},31290:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},9944:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(40656);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},73266:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(63184);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},17033:()=>{},33019:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(94938);var s=r(55472);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(40894);var s=r(7370);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},9757:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(40894);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},40894:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(33019);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},43398:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(40894)},26972:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(9151);var s=r(8176);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(40894);var s=r(8218);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},60648:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(56670);function clone(e){return(0,n.default)(e,false)}},39088:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(56670);function cloneDeep(e){return(0,n.default)(e)}},66213:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(56670);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},56670:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(94938);var s=r(9151);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},43005:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(56670);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},28442:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(61530);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},61530:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},13956:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(71724);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},2109:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(71724);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},72767:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(71724);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},54405:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(72767);var s=r(2109);var i=r(13956);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},97061:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(23144);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},17794:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(94938);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},23144:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},68038:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(4834);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},71585:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(9161);var s=r(9151);var i=r(40894);var a=r(56670);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},96709:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(34870);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},4834:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(9151);var s=r(40894);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},86175:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(9151);var s=r(40894);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},65819:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(9151);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},34870:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(17064);var s=r(77079);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},85479:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(9151);var s=r(56670);var i=r(11340);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},33645:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(71585);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},7186:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(9151);var s=r(40894);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},36041:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(17064);var s=r(40894);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},28669:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(63184);var s=r(17064);var i=r(77079);var a=r(23144);var o=r(18365);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},93088:(e,t,r)=>{"use strict";var n=r(18365);var s=r(28669);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},31489:(e,t,r)=>{"use strict";var n=r(18365);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},94938:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(28669);r(31489);r(34660);r(78052);r(93088);r(3581);var s=r(18365);var i=r(31111);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},34660:(e,t,r)=>{"use strict";var n=r(18365);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},78052:(e,t,r)=>{"use strict";var n=r(18365);var s=r(31111);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},31111:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(18365);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},3581:(e,t,r)=>{"use strict";var n=r(18365);var s=r(28669);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},18365:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(63184);var s=r(55472);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},29086:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(21545);var i=r(63206);var a=r(26972);var o=r(9944);var l=r(73266);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(9757);var p=r(5842);var f=r(65233);var c=r(40894);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(43398);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(56670);var m=r(60648);var T=r(39088);var h=r(66213);var S=r(43005);var b=r(28442);var E=r(61530);var g=r(13956);var P=r(2109);var x=r(54405);var v=r(72767);var A=r(97061);var O=r(17794);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(23144);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(68038);var w=r(96709);var j=r(4834);var N=r(86175);var C=r(65819);var L=r(34870);var _=r(85479);var M=r(33645);var F=r(7186);var B=r(36041);var k=r(94938);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(44895);var K=r(1965);var V=r(2962);var X=r(79208);var Y=r(11340);var J=r(7370);var U=r(9161);var W=r(68353);var q=r(52312);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(63272);var G=r(65370);var $=r(63184);var H=r(9821);var Q=r(72581);var Z=r(86839);var ee=r(58869);var te=r(40656);var re=r(39984);var ne=r(1432);var se=r(41247);var ie=r(66076);var ae=r(23561);var oe=r(41440);var le=r(8190);var ue=r(17064);var pe=r(30198);var fe=r(86616);var ce=r(55472);var de=r(8856);var ye=r(9151);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(17033);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},44895:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(40894);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},7370:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(9151);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},1965:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(23144);var s=r(54405);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},2962:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(40894);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},79208:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(23144);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},11340:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(63272);var s=r(79208);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},8218:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(9151);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},9161:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(9151);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(9161);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},52312:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(94938);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(94938);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},71724:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},8176:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(40894);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},8856:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(86616);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},9151:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(65370);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},63184:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(65370);var s=r(41440);var i=r(1432);var a=r(94938);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},9821:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(9161);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},72581:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(9151);var s=r(58869);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},86839:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(41440);var s=r(9151);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},58869:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(9151);var s=r(23144);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},40656:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(94938);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},39984:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(94938);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(94938);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},41247:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},66076:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(9151);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},23561:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(9151);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},41440:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(94938);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},8190:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(17064);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},17064:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(77079);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},30198:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(9151);var s=r(23144);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},86616:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(9151);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},21545:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(8856);const s=(0,n.default)("React.Component");var i=s;t.default=i},55472:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(94938);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},81444:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getInclusionReasons=getInclusionReasons;var n=r(62519);var s=r(33625);var i=r(74048);function getInclusionReasons(e,t,r){const a=r[e]||{};return Object.keys(t).reduce((e,r)=>{const o=(0,i.getLowestImplementedVersion)(a,r);const l=t[r];if(!o){e[r]=(0,s.prettifyVersion)(l)}else{const t=(0,i.isUnreleasedVersion)(o,r);const a=(0,i.isUnreleasedVersion)(l,r);if(!a&&(t||n.lt(l.toString(),(0,i.semverify)(o)))){e[r]=(0,s.prettifyVersion)(l)}}return e},{})}},38616:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.targetsSupported=targetsSupported;t.isRequired=isRequired;t.default=filterItems;var n=r(62519);var s=r(72153);var i=r(74048);function targetsSupported(e,t){const r=Object.keys(e);if(r.length===0){return false}const s=r.filter(r=>{const s=(0,i.getLowestImplementedVersion)(t,r);if(!s){return true}const a=e[r];if((0,i.isUnreleasedVersion)(a,r)){return false}if((0,i.isUnreleasedVersion)(s,r)){return true}if(!n.valid(a.toString())){throw new Error(`Invalid version passed for target "${r}": "${a}". `+"Versions must be in semver format (major.minor.patch)")}return n.gt((0,i.semverify)(s),a.toString())});return s.length===0}function isRequired(e,t,{compatData:r=s,includes:n,excludes:i}={}){if(i!=null&&i.has(e))return false;if(n!=null&&n.has(e))return true;return!targetsSupported(t,r[e])}function filterItems(e,t,r,n,s,i,a){const o=new Set;const l={compatData:e,includes:t,excludes:r};for(const t in e){if(isRequired(t,n,l)){o.add(t)}else if(a){const e=a.get(t);if(e){o.add(e)}}}if(s){s.forEach(e=>!r.has(e)&&o.add(e))}if(i){i.forEach(e=>!t.has(e)&&o.delete(e))}return o}},34487:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isBrowsersQueryValid=isBrowsersQueryValid;t.default=getTargets;Object.defineProperty(t,"unreleasedLabels",{enumerable:true,get:function(){return o.unreleasedLabels}});Object.defineProperty(t,"TargetNames",{enumerable:true,get:function(){return l.TargetNames}});Object.defineProperty(t,"prettifyTargets",{enumerable:true,get:function(){return u.prettifyTargets}});Object.defineProperty(t,"getInclusionReasons",{enumerable:true,get:function(){return p.getInclusionReasons}});Object.defineProperty(t,"filterItems",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"isRequired",{enumerable:true,get:function(){return f.isRequired}});var n=r(3561);var s=r(69562);var i=r(1335);var a=r(74048);var o=r(58601);var l=r(9451);var u=r(33625);var p=r(81444);var f=r(38616);const c=i["es6.module"];const d=new s.OptionValidator("@babel/helper-compilation-targets");function validateTargetNames(e){const t=Object.keys(l.TargetNames);for(const r of Object.keys(e)){if(!(r in l.TargetNames)){throw new Error(d.formatMessage(`'${r}' is not a valid target\n- Did you mean '${(0,s.findSuggestion)(r,t)}'?`))}}return e}function isBrowsersQueryValid(e){return typeof e==="string"||Array.isArray(e)&&e.every(e=>typeof e==="string")}function validateBrowsers(e){d.invariant(e===undefined||isBrowsersQueryValid(e),`'${String(e)}' is not a valid browserslist query`);return e}function getLowestVersions(e){return e.reduce((e,t)=>{const[r,n]=t.split(" ");const s=o.browserNameMap[r];if(!s){return e}try{const t=n.split("-")[0].toLowerCase();const i=(0,a.isUnreleasedVersion)(t,r);if(!e[s]){e[s]=i?t:(0,a.semverify)(t);return e}const o=e[s];const l=(0,a.isUnreleasedVersion)(o,r);if(l&&i){e[s]=(0,a.getLowestUnreleased)(o,t,r)}else if(l){e[s]=(0,a.semverify)(t)}else if(!l&&!i){const r=(0,a.semverify)(t);e[s]=(0,a.semverMin)(o,r)}}catch(e){}return e},{})}function outputDecimalWarning(e){if(!e.length){return}console.warn("Warning, the following targets are using a decimal version:\n");e.forEach(({target:e,value:t})=>console.warn(` ${e}: ${t}`));console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`)}function semverifyTarget(e,t){try{return(0,a.semverify)(t)}catch(r){throw new Error(d.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}const y={__default(e,t){const r=(0,a.isUnreleasedVersion)(t,e)?t.toLowerCase():semverifyTarget(e,t);return[e,r]},node(e,t){const r=t===true||t==="current"?process.versions.node:semverifyTarget(e,t);return[e,r]}};function generateTargets(e){const t=Object.assign({},e);delete t.esmodules;delete t.browsers;return t}function resolveTargets(e){const t=n(e,{mobileToDesktop:true});return getLowestVersions(t)}function getTargets(e={},t={}){var r;let{browsers:s,esmodules:i}=e;const{configPath:o="."}=t;validateBrowsers(s);const l=generateTargets(e);let u=validateTargetNames(l);const p=!!s;const f=p||Object.keys(u).length>0;const d=!t.ignoreBrowserslistConfig&&!f;if(!s&&d){s=n.loadConfig({config:t.configFile,path:o,env:t.browserslistEnv});if(s==null){{s=[]}}}if(i&&(i!=="intersect"||!((r=s)!=null&&r.length))){s=Object.keys(c).map(e=>`${e} >= ${c[e]}`).join(", ");i=false}if(s){const e=resolveTargets(s);if(i==="intersect"){for(const t of Object.keys(e)){const r=e[t];if(c[t]){e[t]=(0,a.getHighestUnreleased)(r,(0,a.semverify)(c[t]),t)}else{delete e[t]}}}u=Object.assign(e,u)}const m={};const T=[];for(const e of Object.keys(u).sort()){var h;const t=u[e];if(typeof t==="number"&&t%1!==0){T.push({target:e,value:t})}const r=(h=y[e])!=null?h:y.__default;const[n,s]=r(e,t);if(s){m[n]=s}}outputDecimalWarning(T);return m}},9451:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TargetNames=void 0;const r={node:"node",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung"};t.TargetNames=r},33625:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.prettifyVersion=prettifyVersion;t.prettifyTargets=prettifyTargets;var n=r(62519);var s=r(58601);function prettifyVersion(e){if(typeof e!=="string"){return e}const t=[n.major(e)];const r=n.minor(e);const s=n.patch(e);if(r||s){t.push(r)}if(s){t.push(s)}return t.join(".")}function prettifyTargets(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];const i=s.unreleasedLabels[r];if(typeof n==="string"&&i!==n){n=prettifyVersion(n)}t[r]=n;return t},{})}},58601:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.browserNameMap=t.unreleasedLabels=void 0;const r={safari:"tp"};t.unreleasedLabels=r;const n={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",op_mob:"opera",opera:"opera",safari:"safari",samsung:"samsung"};t.browserNameMap=n},74048:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.semverMin=semverMin;t.semverify=semverify;t.isUnreleasedVersion=isUnreleasedVersion;t.getLowestUnreleased=getLowestUnreleased;t.getHighestUnreleased=getHighestUnreleased;t.getLowestImplementedVersion=getLowestImplementedVersion;var n=r(62519);var s=r(69562);var i=r(58601);const a=/^(\d+|\d+.\d+)$/;const o=new s.OptionValidator("@babel/helper-compilation-targets");function semverMin(e,t){return e&&n.lt(e,t)?e:t}function semverify(e){if(typeof e==="string"&&n.valid(e)){return e}o.invariant(typeof e==="number"||typeof e==="string"&&a.test(e),`'${e}' is not a valid version`);const t=e.toString().split(".");while(t.length<3){t.push("0")}return t.join(".")}function isUnreleasedVersion(e,t){const r=i.unreleasedLabels[t];return!!r&&r===e.toString().toLowerCase()}function getLowestUnreleased(e,t,r){const n=i.unreleasedLabels[r];const s=[e,t].some(e=>e===n);if(s){return e===s?t:e||t}return semverMin(e,t)}function getHighestUnreleased(e,t,r){return getLowestUnreleased(e,t,r)===e?t:e}function getLowestImplementedVersion(e,t){const r=e[t];if(!r&&t==="android"){return e.chrome}return r}},64158:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasOwnDecorators=hasOwnDecorators;t.hasDecorators=hasDecorators;t.buildDecoratedClass=buildDecoratedClass;var n=r(85850);var s=r(846);var i=r(98733);function hasOwnDecorators(e){return!!(e.decorators&&e.decorators.length)}function hasDecorators(e){return hasOwnDecorators(e)||e.body.body.some(hasOwnDecorators)}function prop(e,t){if(!t)return null;return n.types.objectProperty(n.types.identifier(e),t)}function method(e,t){return n.types.objectMethod("method",n.types.identifier(e),[],n.types.blockStatement(t))}function takeDecorators(e){let t;if(e.decorators&&e.decorators.length>0){t=n.types.arrayExpression(e.decorators.map(e=>e.expression))}e.decorators=undefined;return t}function getKey(e){if(e.computed){return e.key}else if(n.types.isIdentifier(e.key)){return n.types.stringLiteral(e.key.name)}else{return n.types.stringLiteral(String(e.key.value))}}function extractElementDescriptor(e,t,r){const{node:a,scope:o}=r;const l=r.isClassMethod();if(r.isPrivate()){throw r.buildCodeFrameError(`Private ${l?"methods":"fields"} in decorated classes are not supported yet.`)}new s.default({methodPath:r,objectRef:e,superRef:t,file:this,refToPreserve:e}).replace();const u=[prop("kind",n.types.stringLiteral(l?a.kind:"field")),prop("decorators",takeDecorators(a)),prop("static",a.static&&n.types.booleanLiteral(true)),prop("key",getKey(a))].filter(Boolean);if(l){const e=a.computed?null:a.key;n.types.toExpression(a);u.push(prop("value",(0,i.default)({node:a,id:e,scope:o})||a))}else if(a.value){u.push(method("value",n.template.statements.ast`return ${a.value}`))}else{u.push(prop("value",o.buildUndefinedNode()))}r.remove();return n.types.objectExpression(u)}function addDecorateHelper(e){try{return e.addHelper("decorate")}catch(e){if(e.code==="BABEL_HELPER_UNKNOWN"){e.message+="\n '@babel/plugin-transform-decorators' in non-legacy mode"+" requires '@babel/core' version ^7.0.2 and you appear to be using"+" an older version."}throw e}}function buildDecoratedClass(e,t,r,s){const{node:i,scope:a}=t;const o=a.generateUidIdentifier("initialize");const l=i.id&&t.isDeclaration();const u=t.isInStrictMode();const{superClass:p}=i;i.type="ClassDeclaration";if(!i.id)i.id=n.types.cloneNode(e);let f;if(p){f=a.generateUidIdentifierBasedOnNode(i.superClass,"super");i.superClass=f}const c=takeDecorators(i);const d=n.types.arrayExpression(r.filter(e=>!e.node.abstract).map(extractElementDescriptor.bind(s,i.id,f)));const y=n.template.expression.ast` - ${addDecorateHelper(s)}( - ${c||n.types.nullLiteral()}, - function (${o}, ${p?n.types.cloneNode(f):null}) { - ${i} - return { F: ${n.types.cloneNode(i.id)}, d: ${d} }; + `};const p={ReferencedIdentifier(e){const{seen:t,buildImportReference:s,scope:r,imported:n,requeueInParent:a}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const l=n.get(o);if(l){const t=e.scope.getBinding(o);const n=r.getBinding(o);if(n!==t)return;const c=s(l,e.node);c.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&i.isMemberExpression(c)){e.replaceWith(i.sequenceExpression([i.numericLiteral(0),c]))}else if(e.isJSXIdentifier()&&i.isMemberExpression(c)){const{object:t,property:s}=c;e.replaceWith(i.jsxMemberExpression(i.jsxIdentifier(t.name),i.jsxIdentifier(s.name)))}else{e.replaceWith(c)}a(e);e.skip()}},AssignmentExpression:{exit(e){const{scope:t,seen:s,imported:n,exported:a,requeueInParent:o,buildImportReference:p}=this;if(s.has(e.node))return;s.add(e.node);const u=e.get("left");if(u.isMemberExpression())return;if(u.isIdentifier()){const s=u.node.name;if(t.getBinding(s)!==e.scope.getBinding(s)){return}const h=a.get(s);const f=n.get(s);if((h==null?void 0:h.length)>0||f){r(e.node.operator==="=","Path was not simplified");const t=e.node;if(f){t.left=p(f,t.left);t.right=i.sequenceExpression([t.right,c(s)])}e.replaceWith(l(this.metadata,h,t));o(e)}}else{const s=u.getOuterBindingIdentifiers();const r=Object.keys(s).filter(s=>t.getBinding(s)===e.scope.getBinding(s));const p=r.find(e=>n.has(e));if(p){e.node.right=i.sequenceExpression([e.node.right,c(p)])}const h=[];r.forEach(e=>{const t=a.get(e)||[];if(t.length>0){h.push(l(this.metadata,t,i.identifier(e)))}});if(h.length>0){let t=i.sequenceExpression(h);if(e.parentPath.isExpressionStatement()){t=i.expressionStatement(t);t._blockHoist=e.parentPath.node._blockHoist}const s=e.insertAfter(t)[0];o(s)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:s}=e;const{left:r}=s;const{exported:n,scope:a}=this;if(!i.isVariableDeclaration(r)){let s=false;const o=e.get("body");const l=o.scope;for(const e of Object.keys(i.getOuterBindingIdentifiers(r))){if(n.get(e)&&a.getBinding(e)===t.getBinding(e)){s=true;if(l.hasOwnBinding(e)){l.rename(e)}}}if(!s){return}const c=t.generateUidIdentifierBasedOnNode(r);o.unshiftContainer("body",i.expressionStatement(i.assignmentExpression("=",r,c)));e.get("left").replaceWith(i.variableDeclaration("let",[i.variableDeclarator(i.cloneNode(c))]));t.registerDeclaration(e.get("left"))}}}},84748:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteThis;var r=s(846);var i=s(4267);var n=s(19761);function rewriteThis(e){(0,i.default)(e.node,Object.assign({},a,{noScope:true}))}const a=i.default.visitors.merge([r.environmentVisitor,{ThisExpression(e){e.replaceWith(n.unaryExpression("void",n.numericLiteral(0),true))}}])},63535:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=simplifyAccess;var r=s(19761);function simplifyAccess(e,t){e.traverse(i,{scope:e.scope,bindingNames:t,seen:new WeakSet})}const i={UpdateExpression:{exit(e){const{scope:t,bindingNames:s}=this;const i=e.get("argument");if(!i.isIdentifier())return;const n=i.node.name;if(!s.has(n))return;if(t.getBinding(n)!==e.scope.getBinding(n)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(r.assignmentExpression(t,i.node,r.numericLiteral(1)))}else if(e.node.prefix){e.replaceWith(r.assignmentExpression("=",r.identifier(n),r.binaryExpression(e.node.operator[0],r.unaryExpression("+",i.node),r.numericLiteral(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(i.node,"old");const s=t.name;e.scope.push({id:t});const n=r.binaryExpression(e.node.operator[0],r.identifier(s),r.numericLiteral(1));e.replaceWith(r.sequenceExpression([r.assignmentExpression("=",r.identifier(s),r.unaryExpression("+",i.node)),r.assignmentExpression("=",r.cloneNode(i.node),n),r.identifier(s)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:s,bindingNames:i}=this;if(e.node.operator==="=")return;if(s.has(e.node))return;s.add(e.node);const n=e.get("left");if(!n.isIdentifier())return;const a=n.node.name;if(!i.has(a))return;if(t.getBinding(a)!==e.scope.getBinding(a)){return}e.node.right=r.binaryExpression(e.node.operator.slice(0,-1),r.cloneNode(e.node.left),e.node.right);e.node.operator="="}}}},63880:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let r="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+s+"]");const n=new RegExp("["+s+r+"]");s=r=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let s=65536;for(let r=0,i=t.length;re)return false;s+=t[r+1];if(s>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&n.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return r.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return r.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return r.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var r=s(63880);var i=s(44730)},44730:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const s={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const r=new Set(s.keyword);const i=new Set(s.strict);const n=new Set(s.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return n.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return r.has(e)}},94917:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldHighlight=shouldHighlight;t.getChalk=getChalk;t.default=highlight;var r=s(52388);var i=s(85531);var n=s(72242);const a=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let c;{const e=/^[a-z][\w-]*$/i;const t=function(t,s,r){if(t.type==="name"){if((0,i.isKeyword)(t.value)||(0,i.isStrictReservedWord)(t.value,true)||a.has(t.value)){return"keyword"}if(e.test(t.value)&&(r[s-1]==="<"||r.substr(s-2,2)=="t(e)).join("\n")}else{s+=i}}return s}function shouldHighlight(e){return!!n.supportsColor||e.forceColor}function getChalk(e){return e.forceColor?new n.constructor({enabled:true,level:1}):n}function highlight(e,t={}){if(shouldHighlight(t)){const s=getChalk(t);const r=getDefs(s);return highlightTokens(r,e)}else{return e}}},58157:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const s=true;const r=true;const i=true;const n=true;const a=true;const o=true;class TokenType{constructor(e,t={}){this.label=void 0;this.keyword=void 0;this.beforeExpr=void 0;this.startsExpr=void 0;this.rightAssociative=void 0;this.isLoop=void 0;this.isAssign=void 0;this.prefix=void 0;this.postfix=void 0;this.binop=void 0;this.updateContext=void 0;this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.rightAssociative=!!t.rightAssociative;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop!=null?t.binop:null;this.updateContext=null}}const l=new Map;function createKeyword(e,t={}){t.keyword=e;const s=new TokenType(e,t);l.set(e,s);return s}function createBinop(e,t){return new TokenType(e,{beforeExpr:s,binop:t})}const c={num:new TokenType("num",{startsExpr:r}),bigint:new TokenType("bigint",{startsExpr:r}),decimal:new TokenType("decimal",{startsExpr:r}),regexp:new TokenType("regexp",{startsExpr:r}),string:new TokenType("string",{startsExpr:r}),name:new TokenType("name",{startsExpr:r}),privateName:new TokenType("#name",{startsExpr:r}),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:s,startsExpr:r}),bracketHashL:new TokenType("#[",{beforeExpr:s,startsExpr:r}),bracketBarL:new TokenType("[|",{beforeExpr:s,startsExpr:r}),bracketR:new TokenType("]"),bracketBarR:new TokenType("|]"),braceL:new TokenType("{",{beforeExpr:s,startsExpr:r}),braceBarL:new TokenType("{|",{beforeExpr:s,startsExpr:r}),braceHashL:new TokenType("#{",{beforeExpr:s,startsExpr:r}),braceR:new TokenType("}",{beforeExpr:s}),braceBarR:new TokenType("|}"),parenL:new TokenType("(",{beforeExpr:s,startsExpr:r}),parenR:new TokenType(")"),comma:new TokenType(",",{beforeExpr:s}),semi:new TokenType(";",{beforeExpr:s}),colon:new TokenType(":",{beforeExpr:s}),doubleColon:new TokenType("::",{beforeExpr:s}),dot:new TokenType("."),question:new TokenType("?",{beforeExpr:s}),questionDot:new TokenType("?."),arrow:new TokenType("=>",{beforeExpr:s}),template:new TokenType("template"),ellipsis:new TokenType("...",{beforeExpr:s}),backQuote:new TokenType("`",{startsExpr:r}),dollarBraceL:new TokenType("${",{beforeExpr:s,startsExpr:r}),at:new TokenType("@"),hash:new TokenType("#",{startsExpr:r}),interpreterDirective:new TokenType("#!..."),eq:new TokenType("=",{beforeExpr:s,isAssign:n}),assign:new TokenType("_=",{beforeExpr:s,isAssign:n}),slashAssign:new TokenType("_=",{beforeExpr:s,isAssign:n}),incDec:new TokenType("++/--",{prefix:a,postfix:o,startsExpr:r}),bang:new TokenType("!",{beforeExpr:s,prefix:a,startsExpr:r}),tilde:new TokenType("~",{beforeExpr:s,prefix:a,startsExpr:r}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:s,binop:9,prefix:a,startsExpr:r}),modulo:new TokenType("%",{beforeExpr:s,binop:10,startsExpr:r}),star:new TokenType("*",{binop:10}),slash:createBinop("/",10),exponent:new TokenType("**",{beforeExpr:s,binop:11,rightAssociative:true}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:s}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:s}),_do:createKeyword("do",{isLoop:i,beforeExpr:s}),_else:createKeyword("else",{beforeExpr:s}),_finally:createKeyword("finally"),_for:createKeyword("for",{isLoop:i}),_function:createKeyword("function",{startsExpr:r}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:s}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:s,prefix:a,startsExpr:r}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_while:createKeyword("while",{isLoop:i}),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:s,startsExpr:r}),_this:createKeyword("this",{startsExpr:r}),_super:createKeyword("super",{startsExpr:r}),_class:createKeyword("class",{startsExpr:r}),_extends:createKeyword("extends",{beforeExpr:s}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:r}),_null:createKeyword("null",{startsExpr:r}),_true:createKeyword("true",{startsExpr:r}),_false:createKeyword("false",{startsExpr:r}),_in:createKeyword("in",{beforeExpr:s,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:s,binop:7}),_typeof:createKeyword("typeof",{beforeExpr:s,prefix:a,startsExpr:r}),_void:createKeyword("void",{beforeExpr:s,prefix:a,startsExpr:r}),_delete:createKeyword("delete",{beforeExpr:s,prefix:a,startsExpr:r})};const p=/\r\n?|[\n\u2028\u2029]/;const u=new RegExp(p.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const h=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function isWhitespace(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return true;default:return false}}class Position{constructor(e,t){this.line=void 0;this.column=void 0;this.line=e;this.column=t}}class SourceLocation{constructor(e,t){this.start=void 0;this.end=void 0;this.filename=void 0;this.identifierName=void 0;this.start=e;this.end=t}}function getLineInfo(e,t){let s=1;let r=0;let i;u.lastIndex=0;while((i=u.exec(e))&&i.index0){r=t[--i]}if(r===null){return}for(let e=0;e0){r.trailingComments=n}else if(r.trailingComments!==undefined){r.trailingComments=[]}}processComment(e){if(e.type==="Program"&&e.body.length>0)return;const t=this.state.commentStack;let s,r,i,n,a;if(this.state.trailingComments.length>0){if(this.state.trailingComments[0].start>=e.end){i=this.state.trailingComments;this.state.trailingComments=[]}else{this.state.trailingComments.length=0}}else if(t.length>0){const s=last(t);if(s.trailingComments&&s.trailingComments[0].start>=e.end){i=s.trailingComments;delete s.trailingComments}}if(t.length>0&&last(t).start>=e.start){s=t.pop()}while(t.length>0&&last(t).start>=e.start){r=t.pop()}if(!r&&s)r=s;if(s){switch(e.type){case"ObjectExpression":this.adjustCommentsAfterTrailingComma(e,e.properties);break;case"ObjectPattern":this.adjustCommentsAfterTrailingComma(e,e.properties,true);break;case"CallExpression":this.adjustCommentsAfterTrailingComma(e,e.arguments);break;case"ArrayExpression":this.adjustCommentsAfterTrailingComma(e,e.elements);break;case"ArrayPattern":this.adjustCommentsAfterTrailingComma(e,e.elements,true);break}}else if(this.state.commentPreviousNode&&(this.state.commentPreviousNode.type==="ImportSpecifier"&&e.type!=="ImportSpecifier"||this.state.commentPreviousNode.type==="ExportSpecifier"&&e.type!=="ExportSpecifier")){this.adjustCommentsAfterTrailingComma(e,[this.state.commentPreviousNode])}if(r){if(r.leadingComments){if(r!==e&&r.leadingComments.length>0&&last(r.leadingComments).end<=e.start){e.leadingComments=r.leadingComments;delete r.leadingComments}else{for(n=r.leadingComments.length-2;n>=0;--n){if(r.leadingComments[n].end<=e.start){e.leadingComments=r.leadingComments.splice(0,n+1);break}}}}}else if(this.state.leadingComments.length>0){if(last(this.state.leadingComments).end<=e.start){if(this.state.commentPreviousNode){for(a=0;a0){e.leadingComments=this.state.leadingComments;this.state.leadingComments=[]}}else{for(n=0;ne.start){break}}const t=this.state.leadingComments.slice(0,n);if(t.length){e.leadingComments=t}i=this.state.leadingComments.slice(n);if(i.length===0){i=null}}}this.state.commentPreviousNode=e;if(i){if(i.length&&i[0].start>=e.start&&last(i).end<=e.end){e.innerComments=i}else{const t=i.findIndex(t=>t.end>=e.end);if(t>0){e.innerComments=i.slice(0,t);e.trailingComments=i.slice(t)}else{e.trailingComments=i}}}t.push(e)}}const f=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const d=makeErrorTemplates({AccessorIsGenerator:"A %0ter cannot be a generator.",ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accesor must not have any formal parameters.",BadSetterArity:"A 'set' accesor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accesor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:"'%0' require an initialization value.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:"`%0` has already been exported. Exported identifiers must be unique.",DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '%0' as '%1' } from 'some-module'`?",ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:"'%0' loop variable declaration may not have an initializer.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:"Unsyntactic %0.",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:'A string literal cannot be used as an imported binding.\n- Did you mean `import { "%0" as foo }`?',ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:"`import()` requires exactly %0.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidDecimal:"Invalid decimal.",InvalidDigit:"Expected number in radix %0.",InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:"Escape sequence in keyword %0.",InvalidIdentifier:"Invalid identifier %0.",InvalidLhs:"Invalid left-hand side in %0.",InvalidLhsBinding:"Binding invalid left-hand side in %0.",InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:"Unexpected character '%0'.",InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:"Private name #%0 is not defined.",InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:"Label '%0' is already declared.",LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:'Duplicate key "%0" is not allowed in module attributes.',ModuleExportNameHasLoneSurrogate:"An export name cannot include a lone surrogate, found '\\u%0'.",ModuleExportUndefined:"Export '%0' is not defined.",MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:"Primary Topic Reference found but pipelineOperator not passed 'smart' for 'proposal' option.",PrivateInExpectedIn:"Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`).",PrivateNameRedeclaration:"Duplicate private name #%0.",RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:"Assigning to '%0' in strict mode.",StrictEvalArgumentsBinding:"Binding '%0' in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:"Unexpected keyword '%0'.",UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Private names can only be used as the name of a class element (i.e. class C { #p = 42; #m() {} } )\n or a property of member expression (i.e. this.#p).",UnexpectedReservedWord:"Unexpected reserved word '%0'.",UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:"Unexpected token '%0'.",UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:"The only valid meta property for %0 is %0.%1.",UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",VarRedeclaration:"Identifier '%0' has already been declared.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},f.SyntaxError);const y=makeErrorTemplates({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},f.SourceTypeModuleError);function makeErrorTemplates(e,t){const s={};Object.keys(e).forEach(r=>{s[r]=Object.freeze({code:t,reasonCode:r,template:e[r]})});return Object.freeze(s)}class ParserError extends CommentsParser{getLocationForPosition(e){let t;if(e===this.state.start)t=this.state.startLoc;else if(e===this.state.lastTokStart)t=this.state.lastTokStartLoc;else if(e===this.state.end)t=this.state.endLoc;else if(e===this.state.lastTokEnd)t=this.state.lastTokEndLoc;else t=getLineInfo(this.input,e);return t}raise(e,{code:t,reasonCode:s,template:r},...i){return this.raiseWithData(e,{code:t,reasonCode:s},r,...i)}raiseOverwrite(e,{code:t,template:s},...r){const i=this.getLocationForPosition(e);const n=s.replace(/%(\d+)/g,(e,t)=>r[t])+` (${i.line}:${i.column})`;if(this.options.errorRecovery){const t=this.state.errors;for(let s=t.length-1;s>=0;s--){const r=t[s];if(r.pos===e){return Object.assign(r,{message:n})}else if(r.posr[t])+` (${i.line}:${i.column})`;return this._raise(Object.assign({loc:i,pos:e},t),n)}_raise(e,t){const s=new SyntaxError(t);Object.assign(s,e);if(this.options.errorRecovery){if(!this.isLookahead)this.state.errors.push(s);return s}else{throw s}}}var m=e=>(class extends e{parseRegExpLiteral({pattern:e,flags:t}){let s=null;try{s=new RegExp(e,t)}catch(e){}const r=this.estreeParseLiteral(s);r.regex={pattern:e,flags:t};return r}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const s=this.estreeParseLiteral(t);s.bigint=String(s.value||e);return s}parseDecimalLiteral(e){const t=null;const s=this.estreeParseLiteral(t);s.decimal=String(s.value||e);return s}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;const s=this.startNodeAt(e.start,e.loc.start);const r=this.startNodeAt(t.start,t.loc.start);r.value=t.extra.expressionValue;r.raw=t.extra.raw;s.expression=this.finishNodeAt(r,"Literal",t.end,t.loc.end);s.directive=t.extra.raw.slice(1,-1);return this.finishNodeAt(s,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}stmtToDirective(e){const t=super.stmtToDirective(e);const s=e.expression.value;this.addExtra(t.value,"expressionValue",s);return t}parseBlockBody(e,...t){super.parseBlockBody(e,...t);const s=e.directives.map(e=>this.directiveToStmt(e));e.body=s.concat(e.body);delete e.directives}pushClassMethod(e,t,s,r,i,n){this.parseMethod(t,s,r,i,n,"ClassMethod",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parseMaybePrivateName(...e){const t=super.parseMaybePrivateName(...e);if(t.type==="PrivateName"&&this.getPluginOption("estree","classFeatures")){return this.convertPrivateNameToPrivateIdentifier(t)}return t}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}return e.name}parseLiteral(e,t){const s=super.parseLiteral(e,t);s.raw=s.extra.raw;delete s.extra;return s}parseFunctionBody(e,t,s=false){super.parseFunctionBody(e,t,s);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,s,r,i,n,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,s,r,i,n,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(n==="ClassPrivateMethod"){e.computed=false}n="MethodDefinition";return this.finishNode(e,n)}parseClassProperty(...e){const t=super.parseClassProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition"}return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition";t.computed=false}return t}parseObjectMethod(e,t,s,r,i){const n=super.parseObjectMethod(e,t,s,r,i);if(n){n.type="Property";if(n.kind==="method")n.kind="init";n.shorthand=false}return n}parseObjectProperty(e,t,s,r,i){const n=super.parseObjectProperty(e,t,s,r,i);if(n){n.kind="init";n.type="Property"}return n}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){this.toAssignable(e.value,t);return e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){if(e.kind==="get"||e.kind==="set"){this.raise(e.key.start,d.PatternHasAccessor)}else if(e.method){this.raise(e.key.start,d.PatternHasMethod)}else{super.toAssignableObjectExpressionProp(e,...t)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];if(this.hasPlugin("importAssertions")){var s;e.attributes=(s=e.arguments[1])!=null?s:null}delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,s,r,i){const n=super.parseSubscript(e,t,s,r,i);if(i.optionalChainMember){if(n.type==="OptionalMemberExpression"||n.type==="OptionalCallExpression"){n.type=n.type.substring(8)}if(i.stop){const e=this.startNodeAtNode(n);e.expression=n;return this.finishNode(e,"ChainExpression")}}else if(n.type==="MemberExpression"||n.type==="CallExpression"){n.optional=false}return n}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}});class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const g={brace:new TokContext("{"),templateQuasi:new TokContext("${"),template:new TokContext("`",true)};c.braceR.updateContext=(e=>{if(e.length>1){e.pop()}});c.braceL.updateContext=c.braceHashL.updateContext=(e=>{e.push(g.brace)});c.dollarBraceL.updateContext=(e=>{e.push(g.templateQuasi)});c.backQuote.updateContext=(e=>{if(e[e.length-1]===g.template){e.pop()}else{e.push(g.template)}});let b="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let x="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const v=new RegExp("["+b+"]");const w=new RegExp("["+b+x+"]");b=x=null;const P=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const E=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let s=65536;for(let r=0,i=t.length;re)return false;s+=t[r+1];if(s>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&v.test(String.fromCharCode(e))}return isInAstralSet(e,P)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&w.test(String.fromCharCode(e))}return isInAstralSet(e,P)||isInAstralSet(e,E)}const A={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const T=new Set(A.keyword);const C=new Set(A.strict);const k=new Set(A.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||C.has(e)}function isStrictBindOnlyReservedWord(e){return k.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return T.has(e)}function isIteratorStart(e,t){return e===64&&t===64}const I=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function canBeReservedWord(e){return I.has(e)}const j=0,O=1,S=2,_=4,R=8,D=16,N=32,F=64,M=128,L=256,B=O|S|L;const U=1,W=2,q=4,H=8,z=16,V=64,K=128,$=256,G=512,J=1024,X=2048;const Y=U|W|H|K,Q=U|0|H|0,Z=U|0|q|0,ee=U|0|z|0,te=0|W|0|K,se=0|W|0|0,re=U|W|H|$,ie=0|0|0|J,ne=0|0|0|V,ae=U|0|0|V,oe=re|G,le=0|0|0|J,ce=X;const pe=4,ue=2,he=1,fe=ue|he;const de=ue|pe,ye=he|pe,me=ue,ge=he,be=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.scopeStack=[];this.undefinedExports=new Map;this.undefinedPrivateNames=new Map;this.raise=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&S)>0}get allowSuper(){return(this.currentThisScopeFlags()&D)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&N)>0}get inClass(){return(this.currentThisScopeFlags()&F)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&F)>0&&(e&S)===0}get inStaticBlock(){return(this.currentThisScopeFlags()&M)>0}get inNonArrowFunction(){return(this.currentThisScopeFlags()&S)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&S||!this.inModule&&e.flags&O)}declareName(e,t,s){let r=this.currentScope();if(t&H||t&z){this.checkRedeclarationInScope(r,e,t,s);if(t&z){r.functions.add(e)}else{r.lexical.add(e)}if(t&H){this.maybeExportDefined(r,e)}}else if(t&q){for(let i=this.scopeStack.length-1;i>=0;--i){r=this.scopeStack[i];this.checkRedeclarationInScope(r,e,t,s);r.var.add(e);this.maybeExportDefined(r,e);if(r.flags&B)break}}if(this.inModule&&r.flags&O){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.inModule&&e.flags&O){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,s,r){if(this.isRedeclaredInScope(e,t,s)){this.raise(r,d.VarRedeclaration,t)}}isRedeclaredInScope(e,t,s){if(!(s&U))return false;if(s&H){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(s&z){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&R&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const s=this.scopeStack[0];if(!s.lexical.has(t)&&!s.var.has(t)&&!s.functions.has(t)){this.undefinedExports.set(t,e.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&B){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(B|F)&&!(t&_)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,s){const r=this.currentScope();if(t&X){this.checkRedeclarationInScope(r,e,t,s);this.maybeExportDefined(r,e);r.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,s){if(super.isRedeclaredInScope(...arguments))return true;if(s&X){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}const xe=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]);const ve=makeErrorTemplates({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:"Cannot overwrite reserved type %0.",DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:"Boolean enum members need to be initialized. Use either `%0 = true,` or `%0 = false,` in enum `%1`.",EnumDuplicateMemberName:"Enum member names need to be unique, but the name `%0` has already been used before in enum `%1`.",EnumInconsistentMemberValues:"Enum `%0` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.",EnumInvalidExplicitType:"Enum type `%1` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidExplicitTypeUnknownSupplied:"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidMemberInitializerPrimaryType:"Enum `%0` has type `%2`, so the initializer of `%1` needs to be a %2 literal.",EnumInvalidMemberInitializerSymbolType:"Symbol enum members cannot be initialized. Use `%1,` in enum `%0`.",EnumInvalidMemberInitializerUnknownType:"The enum member initializer for `%1` needs to be a literal (either a boolean, number, or string) in enum `%0`.",EnumInvalidMemberName:"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%0`, consider using `%1`, in enum `%2`.",EnumNumberMemberNotInitialized:"Number enum members need to be initialized, e.g. `%1 = 1` in enum `%0`.",EnumStringMemberInconsistentlyInitailized:"String enum members need to consistently either all use initializers, or use no initializers, in enum `%0`.",GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",OptionalBindingPattern:"A binding pattern parameter cannot be optional in an implementation signature.",SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:"Unexpected reserved type %0.",UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:"`declare export %0` is not supported. Use `%1` instead.",UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."},f.SyntaxError);function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return(e.type===c.name||!!e.type.keyword)&&e.value!=="from"}const we={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const s=[];const r=[];for(let i=0;i(class extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==c.string&&e!==c.semi&&e!==c.interpreterDirective){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=Pe.exec(e.value);if(!t) ;else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||c.colon);const s=this.flowParseType();this.state.inType=t;return s}flowParsePredicate(){const e=this.startNode();const t=this.state.start;this.next();this.expectContextual("checks");if(this.state.lastTokStart>t+1){this.raise(t,ve.UnexpectedSpaceBetweenModuloChecks)}if(this.eat(c.parenL)){e.value=this.parseExpression();this.expect(c.parenR);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(c.colon);let t=null;let s=null;if(this.match(c.modulo)){this.state.inType=e;s=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(c.modulo)){s=this.flowParsePredicate()}}return[t,s]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const s=this.startNode();const r=this.startNode();if(this.isRelational("<")){s.typeParameters=this.flowParseTypeParameterDeclaration()}else{s.typeParameters=null}this.expect(c.parenL);const i=this.flowParseFunctionTypeParams();s.params=i.params;s.rest=i.rest;s.this=i._this;this.expect(c.parenR);[s.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser();r.typeAnnotation=this.finishNode(s,"FunctionTypeAnnotation");t.typeAnnotation=this.finishNode(r,"TypeAnnotation");this.resetEndLocation(t);this.semicolon();this.scope.declareName(e.id.name,ce,e.id.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(c._class)){return this.flowParseDeclareClass(e)}else if(this.match(c._function)){return this.flowParseDeclareFunction(e)}else if(this.match(c._var)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual("module")){if(this.match(c.dot)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(this.state.lastTokStart,ve.NestedDeclareModule)}return this.flowParseDeclareModule(e)}}else if(this.isContextual("type")){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual("opaque")){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual("interface")){return this.flowParseDeclareInterface(e)}else if(this.match(c._export)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,Z,e.id.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(j);if(this.match(c.string)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const s=t.body=[];this.expect(c.braceL);while(!this.match(c.braceR)){let e=this.startNode();if(this.match(c._import)){this.next();if(!this.isContextual("type")&&!this.match(c._typeof)){this.raise(this.state.lastTokStart,ve.InvalidNonTypeImportInDeclareModule)}this.parseImport(e)}else{this.expectContextual("declare",ve.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}s.push(e)}this.scope.exit();this.expect(c.braceR);this.finishNode(t,"BlockStatement");let r=null;let i=false;s.forEach(e=>{if(isEsModuleType(e)){if(r==="CommonJS"){this.raise(e.start,ve.AmbiguousDeclareModuleKind)}r="ES"}else if(e.type==="DeclareModuleExports"){if(i){this.raise(e.start,ve.DuplicateDeclareModuleExports)}if(r==="ES"){this.raise(e.start,ve.AmbiguousDeclareModuleKind)}r="CommonJS";i=true}});e.kind=r||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(c._export);if(this.eat(c._default)){if(this.match(c._function)||this.match(c._class)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(c._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value;const t=we[e];throw this.raise(this.state.start,ve.UnsupportedDeclareExportKind,e,t)}if(this.match(c._var)||this.match(c._function)||this.match(c._class)||this.isContextual("opaque")){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(c.star)||this.match(c.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque")){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual("exports");e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?ee:Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(c._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(c.comma))}if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(c.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(c.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(this.state.start,ve.UnexpectedReservedUnderscore)}}checkReservedType(e,t,s){if(!xe.has(e))return;this.raise(t,s?ve.AssignReservedType:ve.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.start,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(c.eq);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual("type");e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(c.colon)){e.supertype=this.flowParseTypeInitialiser(c.colon)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(c.eq)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.start;const s=this.startNode();const r=this.flowParseVariance();const i=this.flowParseTypeAnnotatableIdentifier();s.name=i.name;s.variance=r;s.bound=i.typeAnnotation;if(this.match(c.eq)){this.eat(c.eq);s.default=this.flowParseType()}else{if(e){this.raise(t,ve.MissingTypeParamDefault)}}return this.finishNode(s,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.isRelational("<")||this.match(c.jsxTagStart)){this.next()}else{this.unexpected()}let s=false;do{const e=this.flowParseTypeParameter(s);t.params.push(e);if(e.default){s=true}if(!this.isRelational(">")){this.expect(c.comma)}}while(!this.isRelational(">"));this.expectRelational(">");this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");const s=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.isRelational(">")){e.params.push(this.flowParseType());if(!this.isRelational(">")){this.expect(c.comma)}}this.state.noAnonFunctionType=s;this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");while(!this.isRelational(">")){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.isRelational(">")){this.expect(c.comma)}}this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual("interface");e.extends=[];if(this.eat(c._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(c.comma))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(c.num)||this.match(c.string)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,s){e.static=t;if(this.lookahead().type===c.colon){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(c.bracketR);e.value=this.flowParseTypeInitialiser();e.variance=s;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(c.bracketR);this.expect(c.bracketR);if(this.isRelational("<")||this.match(c.parenL)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(c.question)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(c.parenL);if(this.match(c._this)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(c.parenR)){this.expect(c.comma)}}while(!this.match(c.parenR)&&!this.match(c.ellipsis)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(c.parenR)){this.expect(c.comma)}}if(this.eat(c.ellipsis)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(c.parenR);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const s=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(s);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:s,allowProto:r,allowInexact:i}){const n=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let p=false;if(t&&this.match(c.braceBarL)){this.expect(c.braceBarL);o=c.braceBarR;l=true}else{this.expect(c.braceL);o=c.braceR;l=false}a.exact=l;while(!this.match(o)){let t=false;let n=null;let o=null;const u=this.startNode();if(r&&this.isContextual("proto")){const t=this.lookahead();if(t.type!==c.colon&&t.type!==c.question){this.next();n=this.state.start;e=false}}if(e&&this.isContextual("static")){const e=this.lookahead();if(e.type!==c.colon&&e.type!==c.question){this.next();t=true}}const h=this.flowParseVariance();if(this.eat(c.bracketL)){if(n!=null){this.unexpected(n)}if(this.eat(c.bracketL)){if(h){this.unexpected(h.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(u,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(u,t,h))}}else if(this.match(c.parenL)||this.isRelational("<")){if(n!=null){this.unexpected(n)}if(h){this.unexpected(h.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(u,t))}else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();if(t.type===c.name||t.type===c.string||t.type===c.num){e=this.state.value;this.next()}}const r=this.flowParseObjectTypeProperty(u,t,n,h,e,s,i!=null?i:!l);if(r===null){p=true;o=this.state.lastTokStart}else{a.properties.push(r)}}this.flowObjectTypeSemicolon();if(o&&!this.match(c.braceR)&&!this.match(c.braceBarR)){this.raise(o,ve.UnexpectedExplicitInexactInObject)}}this.expect(o);if(s){a.inexact=p}const u=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=n;return u}flowParseObjectTypeProperty(e,t,s,r,i,n,a){if(this.eat(c.ellipsis)){const t=this.match(c.comma)||this.match(c.semi)||this.match(c.braceR)||this.match(c.braceBarR);if(t){if(!n){this.raise(this.state.lastTokStart,ve.InexactInsideNonObject)}else if(!a){this.raise(this.state.lastTokStart,ve.InexactInsideExact)}if(r){this.raise(r.start,ve.InexactVariance)}return null}if(!n){this.raise(this.state.lastTokStart,ve.UnexpectedSpreadType)}if(s!=null){this.unexpected(s)}if(r){this.raise(r.start,ve.SpreadVariance)}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=s!=null;e.kind=i;let a=false;if(this.isRelational("<")||this.match(c.parenL)){e.method=true;if(s!=null){this.unexpected(s)}if(r){this.unexpected(r.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(i==="get"||i==="set"){this.flowCheckGetterSetterParams(e)}if(!n&&e.key.name==="constructor"&&e.value.this){this.raise(e.value.this.start,ve.ThisParamBannedInConstructor)}}else{if(i!=="init")this.unexpected();e.method=false;if(this.eat(c.question)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=r}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const s=e.start;const r=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.value.this.start,e.kind==="get"?ve.GetterMayNotHaveThisParam:ve.SetterMayNotHaveThisParam)}if(r!==t){if(e.kind==="get"){this.raise(s,d.BadGetterArity)}else{this.raise(s,d.BadSetterArity)}}if(e.kind==="set"&&e.value.rest){this.raise(s,d.BadSetterRestParameter)}}flowObjectTypeSemicolon(){if(!this.eat(c.semi)&&!this.eat(c.comma)&&!this.match(c.braceR)&&!this.match(c.braceBarR)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,s){e=e||this.state.start;t=t||this.state.startLoc;let r=s||this.flowParseRestrictedIdentifier(true);while(this.eat(c.dot)){const s=this.startNodeAt(e,t);s.qualification=r;s.id=this.flowParseRestrictedIdentifier(true);r=this.finishNode(s,"QualifiedTypeIdentifier")}return r}flowParseGenericType(e,t,s){const r=this.startNodeAt(e,t);r.typeParameters=null;r.id=this.flowParseQualifiedTypeIdentifier(e,t,s);if(this.isRelational("<")){r.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(r,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(c._typeof);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(c.bracketL);while(this.state.possuper.parseFunctionBody(e,true,s))}return super.parseFunctionBody(e,false,s)}parseFunctionBodyAndFinish(e,t,s=false){if(this.match(c.colon)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(e,t,s)}parseStatement(e,t){if(this.state.strict&&this.match(c.name)&&this.state.value==="interface"){const e=this.lookahead();if(e.type===c.name||isKeyword(e.value)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const s=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(s)){this.flowPragma=null}return s}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(c._class)||this.match(c.name)||this.match(c._function)||this.match(c._var)||this.match(c._export)){return this.flowParseDeclare(e)}}else if(this.match(c.name)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){if(this.match(c.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"||this.shouldParseEnums()&&this.state.value==="enum")){return false}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,s,r){if(!this.match(c.question))return e;if(r){const i=this.tryParse(()=>super.parseConditional(e,t,s));if(!i.node){r.start=i.error.pos||this.state.start;return e}if(i.error)this.state=i.failState;return i.node}this.expect(c.question);const i=this.state.clone();const n=this.state.noArrowAt;const a=this.startNodeAt(t,s);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[p,u]=this.getArrowLikeExpressions(o);if(l||u.length>0){const e=[...n];if(u.length>0){this.state=i;this.state.noArrowAt=e;for(let t=0;t1){this.raise(i.start,ve.AmbiguousConditionalArrow)}if(l&&p.length===1){this.state=i;this.state.noArrowAt=e.concat(p[0].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=n;this.expect(c.colon);a.test=e;a.consequent=o;a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(undefined,undefined,undefined));return this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(c.colon);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const s=[e];const r=[];while(s.length!==0){const e=s.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{r.push(e)}s.push(e.body)}else if(e.type==="ConditionalExpression"){s.push(e.consequent);s.push(e.alternate)}}if(t){r.forEach(e=>this.finishArrowValidation(e));return[r,[]]}return partition(r,e=>e.params.every(e=>this.isAssignable(e,true)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingComma,false);this.scope.enter(S|_);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let s;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);s=t();this.state.noArrowParamsConversionAt.pop()}else{s=t()}return s}parseParenItem(e,t,s){e=super.parseParenItem(e,t,s);if(this.eat(c.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(c.colon)){const r=this.startNodeAt(t,s);r.expression=e;r.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(r,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();this.next();if(this.match(c.braceL)){e.specifiers=this.parseExportSpecifiers();this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual("enum")){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual("type")&&this.lookahead().type===c.star){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const t=this.state.start;const s=super.maybeParseExportNamespaceSpecifier(e);if(s&&e.exportKind==="type"){this.unexpected(t)}return s}parseClassId(e,t,s){super.parseClassId(e,t,s);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}}parseClassMember(e,t,s){const r=this.state.start;if(this.isContextual("declare")){if(this.parseClassMemberFromModifier(e,t)){return}t.declare=true}super.parseClassMember(e,t,s);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(r,ve.DeclareClassElement)}else if(t.value){this.raise(t.value.start,ve.DeclareClassFieldInitializer)}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(this.state.pos,d.InvalidIdentifier,t)}this.finishToken(c.name,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(c.braceBarL,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(c.relational,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(c.questionDot,2)}return this.finishOp(c.question,1)}else if(isIteratorStart(e,t)){this.state.pos+=2;return this.readIterator()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":return true;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every((e,s)=>{return e.type!=="ObjectMethod"&&(s===t||e.type==="SpreadElement")&&this.isAssignable(e)})}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every(e=>this.isAssignable(e));case"AssignmentExpression":return e.operator==="=";case"ParenthesizedExpression":case"TypeCastExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return false}}toAssignable(e,t=false){if(e.type==="TypeCastExpression"){return super.toAssignable(this.typeCastToParameter(e),t)}else{return super.toAssignable(e,t)}}toAssignableList(e,t,s){for(let t=0;t1||!t)){this.raise(i.typeAnnotation.start,ve.TypeCastInPattern)}}return e}parseArrayLike(e,t,s,r){const i=super.parseArrayLike(e,t,s,r);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(i.elements)}return i}checkLVal(e,...t){if(e.type!=="TypeCastExpression"){return super.checkLVal(e,...t)}}parseClassProperty(e){if(this.match(c.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(c.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(c.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(c.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,s,r,i,n){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,s,r,i,n);if(t.params&&i){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,ve.ThisParamBannedInConstructor)}}else if(t.type==="MethodDefinition"&&i&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,ve.ThisParamBannedInConstructor)}}}pushClassPrivateMethod(e,t,s,r){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,s,r)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(c.comma))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const s=t[0];if(this.isThisParam(s)&&e.kind==="get"){this.raise(s.start,ve.GetterMayNotHaveThisParam)}else if(this.isThisParam(s)){this.raise(s.start,ve.SetterMayNotHaveThisParam)}}}parsePropertyName(e,t){const s=this.flowParseVariance();const r=super.parsePropertyName(e,t);e.variance=s;return r}parseObjPropValue(e,t,s,r,i,n,a,o){if(e.variance){this.unexpected(e.variance.start)}delete e.variance;let l;if(this.isRelational("<")&&!a){l=this.flowParseTypeParameterDeclaration();if(!this.match(c.parenL))this.unexpected()}super.parseObjPropValue(e,t,s,r,i,n,a,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(c.question)){if(e.type!=="Identifier"){this.raise(e.start,ve.OptionalBindingPattern)}if(this.isThisParam(e)){this.raise(e.start,ve.ThisParamMayNotBeOptional)}e.optional=true}if(this.match(c.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(e.start,ve.ThisParamAnnotationRequired)}if(this.match(c.eq)&&this.isThisParam(e)){this.raise(e.start,ve.ThisParamNoDefault)}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,s){const r=super.parseMaybeDefault(e,t,s);if(r.type==="AssignmentPattern"&&r.typeAnnotation&&r.right.startsuper.parseMaybeAssign(e,t,s),i);if(!n.error)return n.node;const{context:r}=this.state;if(r[r.length-1]===g.j_oTag){r.length-=2}else if(r[r.length-1]===g.j_expr){r.length-=1}}if((r=n)!=null&&r.error||this.isRelational("<")){var a,o;i=i||this.state.clone();let r;const l=this.tryParse(i=>{var n;r=this.flowParseTypeParameterDeclaration();const a=this.forwardNoArrowParamsConversionAt(r,()=>{const i=super.parseMaybeAssign(e,t,s);this.resetStartLocationFromNode(i,r);return i});if(a.type!=="ArrowFunctionExpression"&&(n=a.extra)!=null&&n.parenthesized){i()}const o=this.maybeUnwrapTypeCastExpression(a);o.typeParameters=r;this.resetStartLocationFromNode(o,r);return a},i);let c=null;if(l.node&&this.maybeUnwrapTypeCastExpression(l.node).type==="ArrowFunctionExpression"){if(!l.error&&!l.aborted){if(l.node.async){this.raise(r.start,ve.UnexpectedTypeParameterBeforeAsyncArrowFunction)}return l.node}c=l.node}if((a=n)!=null&&a.node){this.state=n.failState;return n.node}if(c){this.state=l.failState;return c}if((o=n)!=null&&o.thrown)throw n.error;if(l.thrown)throw l.error;throw this.raise(r.start,ve.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t,s)}parseArrow(e){if(this.match(c.colon)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const s=this.startNode();[s.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(c.arrow))this.unexpected();return s});if(t.thrown)return null;if(t.error)this.state=t.failState;e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(){return this.match(c.colon)||super.shouldParseArrow()}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,s){if(s&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t0){this.raise(e.params[t].start,ve.ThisParamMustBeFirst)}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,s,r){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const r=this.startNodeAt(t,s);r.callee=e;r.arguments=this.parseCallExpressionArguments(c.parenR,false);e=this.finishNode(r,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.isRelational("<")){const i=this.state.clone();const n=this.tryParse(e=>this.parseAsyncArrowWithTypeParameters(t,s)||e(),i);if(!n.error&&!n.aborted)return n.node;const a=this.tryParse(()=>super.parseSubscripts(e,t,s,r),i);if(a.node&&!a.error)return a.node;if(n.node){this.state=n.failState;return n.node}if(a.node){this.state=a.failState;return a.node}throw n.error||a.error}return super.parseSubscripts(e,t,s,r)}parseSubscript(e,t,s,r,i){if(this.match(c.questionDot)&&this.isLookaheadToken_lt()){i.optionalChainMember=true;if(r){i.stop=true;return e}this.next();const n=this.startNodeAt(t,s);n.callee=e;n.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(c.parenL);n.arguments=this.parseCallExpressionArguments(c.parenR,false);n.optional=true;return this.finishCallExpression(n,true)}else if(!r&&this.shouldParseTypes()&&this.isRelational("<")){const r=this.startNodeAt(t,s);r.callee=e;const n=this.tryParse(()=>{r.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew();this.expect(c.parenL);r.arguments=this.parseCallExpressionArguments(c.parenR,false);if(i.optionalChainMember)r.optional=false;return this.finishCallExpression(r,i.optionalChainMember)});if(n.node){if(n.error)this.state=n.failState;return n.node}}return super.parseSubscript(e,t,s,r,i)}parseNewArguments(e){let t=null;if(this.shouldParseTypes()&&this.isRelational("<")){t=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node}e.typeArguments=t;super.parseNewArguments(e)}parseAsyncArrowWithTypeParameters(e,t){const s=this.startNodeAt(e,t);this.parseFunctionParams(s);if(!this.parseArrow(s))return;return this.parseArrowExpression(s,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(c.braceBarR,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const s=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(this.state.pos,ve.UnterminatedFlowComment)}return s}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){this.unexpected(null,ve.NestedFlowComment)}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1){throw this.raise(this.state.pos-2,d.UnterminatedComment)}this.state.pos=e+3;return}super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const s=this.input.charCodeAt(t+e);const r=this.input.charCodeAt(t+e+1);if(s===58&&r===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(s===58&&r!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(this.state.pos,d.UnterminatedComment)}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:s}){this.raise(e,ve.EnumBooleanMemberNotInitialized,s,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:s}){const r=s[0].toUpperCase()+s.slice(1);this.raise(e,ve.EnumInvalidMemberName,s,r,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:s}){this.raise(e,ve.EnumDuplicateMemberName,s,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,ve.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:s}){return this.raise(e,s===null?ve.EnumInvalidExplicitTypeUnknownSupplied:ve.EnumInvalidExplicitType,t,s)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:s,memberName:r}){let i=null;switch(s){case"boolean":case"number":case"string":i=ve.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":i=ve.EnumInvalidMemberInitializerSymbolType;break;default:i=ve.EnumInvalidMemberInitializerUnknownType}return this.raise(e,i,t,r,s)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:s}){this.raise(e,ve.EnumNumberMemberNotInitialized,t,s)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,ve.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start;const t=()=>this.match(c.comma)||this.match(c.braceR);switch(this.state.type){case c.num:{const s=this.parseNumericLiteral(this.state.value);if(t()){return{type:"number",pos:s.start,value:s}}return{type:"invalid",pos:e}}case c.string:{const s=this.parseStringLiteral(this.state.value);if(t()){return{type:"string",pos:s.start,value:s}}return{type:"invalid",pos:e}}case c._true:case c._false:{const s=this.parseBooleanLiteral(this.match(c._true));if(t()){return{type:"boolean",pos:s.start,value:s}}return{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;const t=this.parseIdentifier(true);const s=this.eat(c.eq)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:s}}flowEnumCheckExplicitTypeMismatch(e,t,s){const{explicitType:r}=t;if(r===null){return}if(r!==s){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const s=new Set;const r={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let i=false;while(!this.match(c.braceR)){if(this.eat(c.ellipsis)){i=true;break}const n=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.flowEnumErrorInvalidMemberName(a.start,{enumName:e,memberName:l})}if(s.has(l)){this.flowEnumErrorDuplicateMemberName(a.start,{enumName:e,memberName:l})}s.add(l);const p={enumName:e,explicitType:t,memberName:l};n.id=a;switch(o.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"boolean");n.init=o.value;r.booleanMembers.push(this.finishNode(n,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"number");n.init=o.value;r.numberMembers.push(this.finishNode(n,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"string");n.init=o.value;r.stringMembers.push(this.finishNode(n,"EnumStringMember"));break}case"invalid":{throw this.flowEnumErrorInvalidMemberInitializer(o.pos,p)}case"none":{switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.pos,p);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.pos,p);break;default:r.defaultedMembers.push(this.finishNode(n,"EnumDefaultedMember"))}}}if(!this.match(c.braceR)){this.expect(c.comma)}}return{members:r,hasUnknownMembers:i}}flowEnumStringMembers(e,t,{enumName:s}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:s})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:s})}return e}}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual("of")){if(!this.match(c.name)){throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t})}return t}return null}flowEnumBody(e,{enumName:t,nameLoc:s}){const r=this.flowEnumParseExplicitType({enumName:t});this.expect(c.braceL);const{members:i,hasUnknownMembers:n}=this.flowEnumMembers({enumName:t,explicitType:r});e.hasUnknownMembers=n;switch(r){case"boolean":e.explicitType=true;e.members=i.booleanMembers;this.expect(c.braceR);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=i.numberMembers;this.expect(c.braceR);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(c.braceR);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=i.defaultedMembers;this.expect(c.braceR);return this.finishNode(e,"EnumSymbolBody");default:{const r=()=>{e.members=[];this.expect(c.braceR);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const n=i.booleanMembers.length;const a=i.numberMembers.length;const o=i.stringMembers.length;const l=i.defaultedMembers.length;if(!n&&!a&&!o&&!l){return r()}else if(!n&&!a){e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(c.braceR);return this.finishNode(e,"EnumStringBody")}else if(!a&&!o&&n>=l){for(const e of i.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.booleanMembers;this.expect(c.braceR);return this.finishNode(e,"EnumBooleanBody")}else if(!n&&!o&&a>=l){for(const e of i.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.numberMembers;this.expect(c.braceR);return this.finishNode(e,"EnumNumberBody")}else{this.flowEnumErrorInconsistentMemberValues(s,{enumName:t});return r()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start});return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}});const Ae={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"};class State{constructor(){this.strict=void 0;this.curLine=void 0;this.startLoc=void 0;this.endLoc=void 0;this.errors=[];this.potentialArrowAt=-1;this.noArrowAt=[];this.noArrowParamsConversionAt=[];this.maybeInArrowParameters=false;this.inPipeline=false;this.inType=false;this.noAnonFunctionType=false;this.inPropertyName=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.decoratorStack=[[]];this.comments=[];this.trailingComments=[];this.leadingComments=[];this.commentStack=[];this.commentPreviousNode=null;this.pos=0;this.lineStart=0;this.type=c.eof;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.lastTokEnd=0;this.context=[g.brace];this.exprAllowed=true;this.containsEsc=false;this.strictErrors=new Map;this.tokensLength=0}init(e){this.strict=e.strictMode===false?false:e.sourceType==="module";this.curLine=e.startLine;this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new Position(this.curLine,this.pos-this.lineStart)}clone(e){const t=new State;const s=Object.keys(this);for(let r=0,i=s.length;r.",MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"},f.SyntaxError);g.j_oTag=new TokContext("...",true);c.jsxName=new TokenType("jsxName");c.jsxText=new TokenType("jsxText",{beforeExpr:true});c.jsxTagStart=new TokenType("jsxTagStart",{startsExpr:true});c.jsxTagEnd=new TokenType("jsxTagEnd");c.jsxTagStart.updateContext=(e=>{e.push(g.j_expr);e.push(g.j_oTag)});function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var Ie=e=>(class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,ke.UnterminatedJsxContent)}const s=this.input.charCodeAt(this.state.pos);switch(s){case 60:case 123:if(this.state.pos===this.state.start){if(s===60&&this.state.exprAllowed){++this.state.pos;return this.finishToken(c.jsxTagStart)}return super.getTokenFromCode(s)}e+=this.input.slice(t,this.state.pos);return this.finishToken(c.jsxText,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(s)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let s;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;s=e?"\n":"\r\n"}else{s=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return s}jsxReadString(e){let t="";let s=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,d.UnterminatedString)}const r=this.input.charCodeAt(this.state.pos);if(r===e)break;if(r===38){t+=this.input.slice(s,this.state.pos);t+=this.jsxReadEntity();s=this.state.pos}else if(isNewLine(r)){t+=this.input.slice(s,this.state.pos);t+=this.jsxReadNewLine(false);s=this.state.pos}else{++this.state.pos}}t+=this.input.slice(s,this.state.pos++);return this.finishToken(c.string,t)}jsxReadEntity(){let e="";let t=0;let s;let r=this.input[this.state.pos];const i=++this.state.pos;while(this.state.pos0}get hasYield(){return(this.currentFlags()&Oe)>0}get hasReturn(){return(this.currentFlags()&_e)>0}get hasIn(){return(this.currentFlags()&Re)>0}}function functionFlags(e,t){return(e?Se:0)|(t?Oe:0)}function nonNull(e){if(e==null){throw new Error(`Unexpected ${e} value.`)}return e}function assert(e){if(!e){throw new Error("Assert fail")}}const De=makeErrorTemplates({AbstractMethodHasImplementation:"Method '%0' cannot have an implementation because it is marked abstract.",AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:"'declare' is not allowed in %0ters.",DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:"Accessibility modifier already seen.",DuplicateModifier:"Duplicate modifier: '%0'.",EmptyHeritageClauseType:"'%0' list cannot be empty.",EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",IncompatibleModifiers:"'%0' modifier cannot be used with '%1' modifier.",IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:"Index signatures cannot have an accessibility modifier ('%0').",IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InvalidModifierOnTypeMember:"'%0' modifier cannot appear on a type member.",InvalidModifiersOrder:"'%0' modifier must precede '%1' modifier.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:"Private elements cannot have an accessibility modifier ('%0').",ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got %0."},f.SyntaxError);function keywordTypeFromName(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return undefined}}function tsIsAccessModifier(e){return e==="private"||e==="public"||e==="protected"}var Ne=e=>(class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return this.match(c.name)}tsTokenCanFollowModifier(){return(this.match(c.bracketL)||this.match(c.braceL)||this.match(c.star)||this.match(c.ellipsis)||this.match(c.privateName)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e){if(!this.match(c.name)){return undefined}const t=this.state.value;if(e.indexOf(t)!==-1&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return t}return undefined}tsParseModifiers(e,t,s,r){const i=(t,s,r,i)=>{if(s===r&&e[i]){this.raise(t,De.InvalidModifiersOrder,r,i)}};const n=(t,s,r,i)=>{if(e[r]&&s===i||e[i]&&s===r){this.raise(t,De.IncompatibleModifiers,r,i)}};for(;;){const a=this.state.start;const o=this.tsParseModifier(t.concat(s!=null?s:[]));if(!o)break;if(tsIsAccessModifier(o)){if(e.accessibility){this.raise(a,De.DuplicateAccessibilityModifier)}else{i(a,o,o,"override");i(a,o,o,"static");i(a,o,o,"readonly");e.accessibility=o}}else{if(Object.hasOwnProperty.call(e,o)){this.raise(a,De.DuplicateModifier,o)}else{i(a,o,"static","readonly");i(a,o,"static","override");i(a,o,"override","readonly");i(a,o,"abstract","override");n(a,o,"declare","override");n(a,o,"static","abstract")}e[o]=true}if(s!=null&&s.includes(o)){this.raise(a,r,o)}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(c.braceR);case"HeritageClauseElement":return this.match(c.braceL);case"TupleElementTypes":return this.match(c.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const s=[];while(!this.tsIsListTerminator(e)){s.push(t())}return s}tsParseDelimitedList(e,t){return nonNull(this.tsParseDelimitedListWorker(e,t,true))}tsParseDelimitedListWorker(e,t,s){const r=[];for(;;){if(this.tsIsListTerminator(e)){break}const i=t();if(i==null){return undefined}r.push(i);if(this.eat(c.comma)){continue}if(this.tsIsListTerminator(e)){break}if(s){this.expect(c.comma)}return undefined}return r}tsParseBracketedList(e,t,s,r){if(!r){if(s){this.expect(c.bracketL)}else{this.expectRelational("<")}}const i=this.tsParseDelimitedList(e,t);if(s){this.expect(c.bracketR)}else{this.expectRelational(">")}return i}tsParseImportType(){const e=this.startNode();this.expect(c._import);this.expect(c.parenL);if(!this.match(c.string)){this.raise(this.state.start,De.UnsupportedImportTypeArgument)}e.argument=this.parseExprAtom();this.expect(c.parenR);if(this.eat(c.dot)){e.qualifier=this.tsParseEntityName(true)}if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();while(this.eat(c.dot)){const s=this.startNodeAtNode(t);s.left=t;s.right=this.parseIdentifier(e);t=this.finishNode(s,"TSQualifiedName")}return t}tsParseTypeReference(){const e=this.startNode();e.typeName=this.tsParseEntityName(false);if(!this.hasPrecedingLineBreak()&&this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(c._typeof);if(this.match(c._import)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName(true)}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsEatThenParseType(c._extends);e.default=this.tsEatThenParseType(c.eq);return this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<")){return this.tsParseTypeParameters()}}tsParseTypeParameters(){const e=this.startNode();if(this.isRelational("<")||this.match(c.jsxTagStart)){this.next()}else{this.unexpected()}e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),false,true);if(e.params.length===0){this.raise(e.start,De.EmptyTypeParameters)}return this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type===c._const){this.next();return this.tsParseTypeReference()}return null}tsFillSignature(e,t){const s=e===c.arrow;t.typeParameters=this.tsTryParseTypeParameters();this.expect(c.parenL);t.parameters=this.tsParseBindingListForSignature();if(s){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(c.parenR,41).map(e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(e.start,De.UnsupportedSignatureParameterKind,e.type)}return e})}tsParseTypeMemberSemicolon(){if(!this.eat(c.comma)&&!this.isLineTerminator()){this.expect(c.semi)}}tsParseSignatureMember(e,t){this.tsFillSignature(c.colon,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();return this.eat(c.name)&&this.match(c.colon)}tsTryParseIndexSignature(e){if(!(this.match(c.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(c.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(c.bracketR);e.parameters=[t];const s=this.tsTryParseTypeAnnotation();if(s)e.typeAnnotation=s;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(c.question))e.optional=true;const s=e;if(this.match(c.parenL)||this.isRelational("<")){if(t){this.raise(e.start,De.ReadonlyForMethodSignature)}const r=s;if(r.kind&&this.isRelational("<")){this.raise(this.state.pos,De.AccesorCannotHaveTypeParameters)}this.tsFillSignature(c.colon,r);this.tsParseTypeMemberSemicolon();if(r.kind==="get"){if(r.parameters.length>0){this.raise(this.state.pos,d.BadGetterArity);if(this.isThisParam(r.parameters[0])){this.raise(this.state.pos,De.AccesorCannotDeclareThisParameter)}}}else if(r.kind==="set"){if(r.parameters.length!==1){this.raise(this.state.pos,d.BadSetterArity)}else{const e=r.parameters[0];if(this.isThisParam(e)){this.raise(this.state.pos,De.AccesorCannotDeclareThisParameter)}if(e.type==="Identifier"&&e.optional){this.raise(this.state.pos,De.SetAccesorCannotHaveOptionalParameter)}if(e.type==="RestElement"){this.raise(this.state.pos,De.SetAccesorCannotHaveRestParameter)}}if(r.typeAnnotation){this.raise(r.typeAnnotation.start,De.SetAccesorCannotHaveReturnType)}}else{r.kind="method"}return this.finishNode(r,"TSMethodSignature")}else{const e=s;if(t)e.readonly=true;const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(c.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(c._new)){const t=this.startNode();this.next();if(this.match(c.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],De.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e,false);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;this.parsePropertyName(e,false)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(c.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(c.braceR);return e}tsIsStartOfMappedType(){this.next();if(this.eat(c.plusMin)){return this.isContextual("readonly")}if(this.isContextual("readonly")){this.next()}if(!this.match(c.bracketL)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(c._in)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsExpectThenParseType(c._in);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(c.braceL);if(this.match(c.plusMin)){e.readonly=this.state.value;this.next();this.expectContextual("readonly")}else if(this.eatContextual("readonly")){e.readonly=true}this.expect(c.bracketL);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual("as")?this.tsParseType():null;this.expect(c.bracketR);if(this.match(c.plusMin)){e.optional=this.state.value;this.next();this.expect(c.question)}else if(this.eat(c.question)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(c.braceR);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let s=null;e.elementTypes.forEach(e=>{var r;let{type:i}=e;if(t&&i!=="TSRestType"&&i!=="TSOptionalType"&&!(i==="TSNamedTupleMember"&&e.optional)){this.raise(e.start,De.OptionalTypeBeforeRequired)}t=t||i==="TSNamedTupleMember"&&e.optional||i==="TSOptionalType";if(i==="TSRestType"){e=e.typeAnnotation;i=e.type}const n=i==="TSNamedTupleMember";s=(r=s)!=null?r:n;if(s!==n){this.raise(e.start,De.MixedLabeledAndUnlabeledElements)}});return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const s=this.eat(c.ellipsis);let r=this.tsParseType();const i=this.eat(c.question);const n=this.eat(c.colon);if(n){const e=this.startNodeAtNode(r);e.optional=i;if(r.type==="TSTypeReference"&&!r.typeParameters&&r.typeName.type==="Identifier"){e.label=r.typeName}else{this.raise(r.start,De.InvalidTupleMemberLabel);e.label=r}e.elementType=this.tsParseType();r=this.finishNode(e,"TSNamedTupleMember")}else if(i){const e=this.startNodeAtNode(r);e.typeAnnotation=r;r=this.finishNode(e,"TSOptionalType")}if(s){const s=this.startNodeAt(e,t);s.typeAnnotation=r;r=this.finishNode(s,"TSRestType")}return r}tsParseParenthesizedType(){const e=this.startNode();this.expect(c.parenL);e.typeAnnotation=this.tsParseType();this.expect(c.parenR);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const s=this.startNode();if(e==="TSConstructorType"){s.abstract=!!t;if(t)this.next();this.next()}this.tsFillSignature(c.arrow,s);return this.finishNode(s,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case c.num:case c.bigint:case c.string:case c._true:case c._false:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case c.name:case c._void:case c._null:{const e=this.match(c._void)?"TSVoidKeyword":this.match(c._null)?"TSNullKeyword":keywordTypeFromName(this.state.value);if(e!==undefined&&this.lookaheadCharCode()!==46){const t=this.startNode();this.next();return this.finishNode(t,e)}return this.tsParseTypeReference()}case c.string:case c.num:case c.bigint:case c._true:case c._false:return this.tsParseLiteralTypeNode();case c.plusMin:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==c.num&&t.type!==c.bigint){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case c._this:return this.tsParseThisTypeOrThisTypePredicate();case c._typeof:return this.tsParseTypeQuery();case c._import:return this.tsParseImportType();case c.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case c.bracketL:return this.tsParseTupleType();case c.parenL:return this.tsParseParenthesizedType();case c.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(c.bracketL)){if(this.match(c.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(c.bracketR);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(c.bracketR);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(e){const t=this.startNode();this.expectContextual(e);t.operator=e;t.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(e==="readonly"){this.tsCheckTypeAnnotationForReadOnly(t)}return this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,De.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();t.name=this.parseIdentifierName(t.start);e.typeParameter=this.finishNode(t,"TSTypeParameter");return this.finishNode(e,"TSInferType")}tsParseTypeOperatorOrHigher(){const e=["keyof","unique","readonly"].find(e=>this.isContextual(e));return e?this.tsParseTypeOperator(e):this.isContextual("infer")?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}tsParseUnionOrIntersectionType(e,t,s){const r=this.startNode();const i=this.eat(s);const n=[];do{n.push(t())}while(this.eat(s));if(n.length===1&&!i){return n[0]}r.types=n;return this.finishNode(r,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),c.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),c.bitwiseOR)}tsIsStartOfFunctionType(){if(this.isRelational("<")){return true}return this.match(c.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(c.name)||this.match(c._this)){this.next();return true}if(this.match(c.braceL)){let e=1;this.next();while(e>0){if(this.match(c.braceL)){++e}else if(this.match(c.braceR)){--e}this.next()}return true}if(this.match(c.bracketL)){let e=1;this.next();while(e>0){if(this.match(c.bracketL)){++e}else if(this.match(c.bracketR)){--e}this.next()}return true}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(c.parenR)||this.match(c.ellipsis)){return true}if(this.tsSkipParameterStart()){if(this.match(c.colon)||this.match(c.comma)||this.match(c.question)||this.match(c.eq)){return true}if(this.match(c.parenR)){this.next();if(this.match(c.arrow)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const s=this.startNode();const r=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(r&&this.match(c._this)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){s.parameterName=e;s.asserts=true;s.typeAnnotation=null;e=this.finishNode(s,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,s);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i){if(!r){return this.tsParseTypeAnnotation(false,t)}s.parameterName=this.parseIdentifier();s.asserts=r;s.typeAnnotation=null;t.typeAnnotation=this.finishNode(s,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const n=this.tsParseTypeAnnotation(false);s.parameterName=i;s.typeAnnotation=n;s.asserts=r;t.typeAnnotation=this.finishNode(s,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(c.colon)?this.tsParseTypeOrTypePredicateAnnotation(c.colon):undefined}tsTryParseTypeAnnotation(){return this.match(c.colon)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(c.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(!this.match(c.name)||this.state.value!=="asserts"||this.hasPrecedingLineBreak()){return false}const e=this.state.containsEsc;this.next();if(!this.match(c.name)&&!this.match(c._this)){return false}if(e){this.raise(this.state.lastTokStart,d.InvalidEscapedReservedWord,"asserts")}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType(()=>{if(e)this.expect(c.colon);t.typeAnnotation=this.tsParseType()});return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(c._extends)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsParseNonConditionalType();this.expect(c.question);t.trueType=this.tsParseType();this.expect(c.colon);t.falseType=this.tsParseType();return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual("abstract")&&this.lookahead().type===c._new}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(c._new)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expectRelational(">");e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start;const s=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));if(!s.length){this.raise(t,De.EmptyHeritageClauseType,e)}return s}tsParseExpressionWithTypeArguments(){const e=this.startNode();e.expression=this.tsParseEntityName(false);if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript interface declaration",te);e.typeParameters=this.tsTryParseTypeParameters();if(this.eat(c._extends)){e.extends=this.tsParseHeritageClause("extends")}const t=this.startNode();t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(t,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript type alias",se);e.typeParameters=this.tsTryParseTypeParameters();e.typeAnnotation=this.tsInType(()=>{this.expect(c.eq);if(this.isContextual("intrinsic")&&this.lookahead().type!==c.dot){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()});this.semicolon();return this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){const t=this.state.inType;this.state.inType=true;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>{e();return this.tsParseType()})}tsParseEnumMember(){const e=this.startNode();e.id=this.match(c.string)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(c.eq)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){if(t)e.const=true;e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript enum declaration",t?oe:re);this.expect(c.braceL);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(c.braceR);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(j);this.expect(c.braceL);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,c.braceR);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkLVal(e.id,"module or namespace declaration",le)}if(this.eat(c.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(L);this.prodParam.enter(je);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual("global")){e.global=true;e.id=this.parseIdentifier()}else if(this.match(c.string)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(c.braceL)){this.scope.enter(L);this.prodParam.enter(je);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkLVal(e.id,"import equals declaration",Q);this.expect(c.eq);const s=this.tsParseModuleReference();if(e.importKind==="type"&&s.type!=="TSExternalModuleReference"){this.raise(s.start,De.ImportAliasHasImportType)}e.moduleReference=s;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual("require");this.expect(c.parenL);if(!this.match(c.string)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(c.parenR);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const s=e();this.state=t;return s}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const s=e();if(s!==undefined&&s!==false){return s}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let s;if(this.isContextual("let")){t=c._var;s="let"}return this.tsInAmbientContext(()=>{switch(t){case c._function:e.declare=true;return this.parseFunctionStatement(e,false,true);case c._class:e.declare=true;return this.parseClass(e,true,false);case c._const:if(this.match(c._const)&&this.isLookaheadContextual("enum")){this.expect(c._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}case c._var:s=s||this.state.value;return this.parseVarStatement(e,s);case c.name:{const t=this.state.value;if(t==="global"){return this.tsParseAmbientExternalModuleDeclaration(e)}else{return this.tsParseDeclaration(e,t,true)}}}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(c.braceL)){this.scope.enter(L);this.prodParam.enter(je);const s=e;s.global=true;s.id=t;s.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(s,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,s){switch(t){case"abstract":if(this.tsCheckLineTerminator(s)&&(this.match(c._class)||this.match(c.name))){return this.tsParseAbstractDeclaration(e)}break;case"enum":if(s||this.match(c.name)){if(s)this.next();return this.tsParseEnumDeclaration(e,false)}break;case"interface":if(this.tsCheckLineTerminator(s)&&this.match(c.name)){return this.tsParseInterfaceDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(s)){if(this.match(c.string)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(this.match(c.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(s)&&this.match(c.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(s)&&this.match(c.name)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<")){return undefined}const s=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const r=this.tsTryParseAndCatch(()=>{const s=this.startNodeAt(e,t);s.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(s);s.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(c.arrow);return s});this.state.maybeInArrowParameters=s;if(!r){return undefined}return this.parseArrowExpression(r,null,true)}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType(()=>this.tsInNoContext(()=>{this.expectRelational("<");return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}));if(e.params.length===0){this.raise(e.start,De.EmptyTypeArguments)}this.expectRelational(">");return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(c.name)){switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return true}}return false}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const s=this.state.start;const r=this.state.startLoc;let i;let n=false;let a=false;if(e!==undefined){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]);i=t.accessibility;a=t.override;n=t.readonly;if(e===false&&(i||n||a)){this.raise(s,De.UnexpectedParameterModifier)}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(i||n||a){const e=this.startNodeAt(s,r);if(t.length){e.decorators=t}if(i)e.accessibility=i;if(n)e.readonly=n;if(a)e.override=a;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(e.start,De.UnsupportedParameterPropertyKind)}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}parseFunctionBodyAndFinish(e,t,s=false){if(this.match(c.colon)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(c.colon)}const r=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"?"TSDeclareMethod":undefined;if(r&&!this.match(c.braceL)&&this.isLineTerminator()){this.finishNode(e,r);return}if(r==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(e.start,De.DeclareFunctionHasImplementation);if(e.declare){super.parseFunctionBodyAndFinish(e,r,s);return}}super.parseFunctionBodyAndFinish(e,t,s)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkLVal(e.id,"function name",ie)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(e.typeAnnotation.start,De.UnexpectedTypeAnnotation)}})}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,s,r,i){if(!this.hasPrecedingLineBreak()&&this.match(c.bang)){this.state.exprAllowed=false;this.next();const r=this.startNodeAt(t,s);r.expression=e;return this.finishNode(r,"TSNonNullExpression")}if(this.isRelational("<")){const n=this.tsTryParseAndCatch(()=>{if(!r&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,s);if(e){return e}}const n=this.startNodeAt(t,s);n.callee=e;const a=this.tsParseTypeArguments();if(a){if(!r&&this.eat(c.parenL)){n.arguments=this.parseCallExpressionArguments(c.parenR,false);this.tsCheckForInvalidTypeCasts(n.arguments);n.typeParameters=a;if(i.optionalChainMember){n.optional=false}return this.finishCallExpression(n,i.optionalChainMember)}else if(this.match(c.backQuote)){const r=this.parseTaggedTemplateExpression(e,t,s,i);r.typeParameters=a;return r}}this.unexpected()});if(n)return n}return super.parseSubscript(e,t,s,r,i)}parseNewArguments(e){if(this.isRelational("<")){const t=this.tsTryParseAndCatch(()=>{const e=this.tsParseTypeArguments();if(!this.match(c.parenL))this.unexpected();return e});if(t){e.typeParameters=t}}super.parseNewArguments(e)}parseExprOp(e,t,s,r){if(nonNull(c._in.binop)>r&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const i=this.startNodeAt(t,s);i.expression=e;const n=this.tsTryNextParseConstantContext();if(n){i.typeAnnotation=n}else{i.typeAnnotation=this.tsNextThenParseType()}this.finishNode(i,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(i,t,s,r)}return super.parseExprOp(e,t,s,r)}checkReservedWord(e,t,s,r){}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(this.match(c.name)||this.match(c.star)||this.match(c.braceL)){let t=this.lookahead();if(this.isContextual("type")&&t.type!==c.comma&&!(t.type===c.name&&t.value==="from")&&t.type!==c.eq){e.importKind="type";this.next();t=this.lookahead()}if(this.match(c.name)&&t.type===c.eq){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(t.start,De.TypeImportCannotSpecifyDefaultAndNamed)}return t}parseExport(e){if(this.match(c._import)){this.next();if(this.isContextual("type")&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(c.eq)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual("as")){const t=e;this.expectContextual("namespace");t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual("type")&&this.lookahead().type===c.braceL){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===c._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.state.value==="interface"){const e=this.tsParseDeclaration(this.startNode(),this.state.value,true);if(e)return e}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===c._const){const e=this.lookahead();if(e.type===c.name&&e.value==="enum"){const e=this.startNode();this.expect(c._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!e[t]})}parseClassMember(e,t,s){const r=["declare","private","public","protected","override","abstract","readonly"];this.tsParseModifiers(t,r.concat(["static"]));const i=()=>{const i=!!t.static;if(i&&this.eat(c.braceL)){if(this.tsHasSomeModifiers(t,r)){this.raise(this.state.pos,De.StaticBlockCannotHaveModifier)}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,s,i)}};if(t.declare){this.tsInAmbientContext(i)}else{i()}}parseClassMemberWithIsStatic(e,t,s,r){const i=this.tsTryParseIndexSignature(t);if(i){e.body.push(i);if(t.abstract){this.raise(t.start,De.IndexSignatureHasAbstract)}if(t.accessibility){this.raise(t.start,De.IndexSignatureHasAccessibility,t.accessibility)}if(t.declare){this.raise(t.start,De.IndexSignatureHasDeclare)}if(t.override){this.raise(t.start,De.IndexSignatureHasOverride)}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(t.start,De.NonAbstractClassHasAbstractMethod)}if(t.override){if(!s.hadSuperClass){this.raise(t.start,De.OverrideNotInSubClass)}}super.parseClassMemberWithIsStatic(e,t,s,r)}parsePostMemberNameModifiers(e){const t=this.eat(c.question);if(t)e.optional=true;if(e.readonly&&this.match(c.parenL)){this.raise(e.start,De.ClassMethodHasReadonly)}if(e.declare&&this.match(c.parenL)){this.raise(e.start,De.ClassMethodHasDeclare)}}parseExpressionStatement(e,t){const s=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return s||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,s,r){if(!r||!this.match(c.question)){return super.parseConditional(e,t,s,r)}const i=this.tryParse(()=>super.parseConditional(e,t,s));if(!i.node){r.start=i.error.pos||this.state.start;return e}if(i.error)this.state=i.failState;return i.node}parseParenItem(e,t,s){e=super.parseParenItem(e,t,s);if(this.eat(c.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(c.colon)){const r=this.startNodeAt(t,s);r.expression=e;r.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(r,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start;const s=this.state.startLoc;const r=this.eatContextual("declare");if(r&&(this.isContextual("declare")||!this.shouldParseExportDeclaration())){throw this.raise(this.state.start,De.ExpectedAmbientAfterExportDeclare)}let i;if(this.match(c.name)){i=this.tsTryParseExportDeclaration()}if(!i){i=super.parseExportDeclaration(e)}if(i&&(i.type==="TSInterfaceDeclaration"||i.type==="TSTypeAliasDeclaration"||r)){e.exportKind="type"}if(i&&r){this.resetStartLocation(i,t,s);i.declare=true}return i}parseClassId(e,t,s){if((!t||s)&&this.isContextual("implements")){return}super.parseClassId(e,t,s,e.declare?ie:Y);const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(c.bang)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(c.eq)){this.raise(this.state.start,De.DeclareClassFieldHasInitializer)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(e.start,De.PrivateElementHasAbstract)}if(e.accessibility){this.raise(e.start,De.PrivateElementHasAccessibility,e.accessibility)}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,s,r,i,n){const a=this.tsTryParseTypeParameters();if(a&&i){this.raise(a.start,De.ConstructorHasTypeParameters)}if(t.declare&&(t.kind==="get"||t.kind==="set")){this.raise(t.start,De.DeclareAccessor,t.kind)}if(a)t.typeParameters=a;super.pushClassMethod(e,t,s,r,i,n)}pushClassPrivateMethod(e,t,s,r){const i=this.tsTryParseTypeParameters();if(i)t.typeParameters=i;super.pushClassPrivateMethod(e,t,s,r)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.tsParseTypeArguments()}if(this.eatContextual("implements")){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const s=this.tsTryParseTypeParameters();if(s)e.typeParameters=s;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const s=this.tsTryParseTypeParameters();if(s)e.typeParameters=s;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&this.eat(c.bang)){e.definite=true}const s=this.tsTryParseTypeAnnotation();if(s){e.id.typeAnnotation=s;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(c.colon)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,s,r,i,n,a,o;let l;let p;let u;if(this.hasPlugin("jsx")&&(this.match(c.jsxTagStart)||this.isRelational("<"))){l=this.state.clone();p=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!p.error)return p.node;const{context:t}=this.state;if(t[t.length-1]===g.j_oTag){t.length-=2}else if(t[t.length-1]===g.j_expr){t.length-=1}}if(!((t=p)!=null&&t.error)&&!this.isRelational("<")){return super.parseMaybeAssign(...e)}let h;l=l||this.state.clone();const f=this.tryParse(t=>{var s,r;h=this.tsParseTypeParameters();const i=super.parseMaybeAssign(...e);if(i.type!=="ArrowFunctionExpression"||(s=i.extra)!=null&&s.parenthesized){t()}if(((r=h)==null?void 0:r.params.length)!==0){this.resetStartLocationFromNode(i,h)}i.typeParameters=h;return i},l);if(!f.error&&!f.aborted)return f.node;if(!p){assert(!this.hasPlugin("jsx"));u=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!u.error)return u.node}if((s=p)!=null&&s.node){this.state=p.failState;return p.node}if(f.node){this.state=f.failState;return f.node}if((r=u)!=null&&r.node){this.state=u.failState;return u.node}if((i=p)!=null&&i.thrown)throw p.error;if(f.thrown)throw f.error;if((n=u)!=null&&n.thrown)throw u.error;throw((a=p)==null?void 0:a.error)||f.error||((o=u)==null?void 0:o.error)}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.isRelational("<")){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(c.colon)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(c.colon);if(this.canInsertSemicolon()||!this.match(c.arrow))e();return t});if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(c.question)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(e.start,De.PatternIsOptional)}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}toAssignable(e,t=false){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...s){var r;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...s);return;case"TSAsExpression":case"TSTypeAssertion":if(!s[0]&&t!=="parenthesized expression"&&!((r=e.extra)!=null&&r.parenthesized)){this.raise(e.start,d.InvalidLhs,t);break}this.checkLVal(e.expression,"parenthesized expression",...s);return;case"TSNonNullExpression":this.checkLVal(e.expression,t,...s);return;default:super.checkLVal(e,t,...s);return}}parseBindingAtom(){switch(this.state.type){case c._this:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(c.parenL)){const s=super.parseMaybeDecoratorArguments(e);s.typeParameters=t;return s}this.unexpected(this.state.start,c.parenL)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(c.comma)&&this.lookaheadCharCode()===e){this.next()}else{super.checkCommaAfterRest(e)}}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(c.bang)||this.match(c.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.startthis.tsParseTypeArguments());if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const s=this.getObjectOrClassMethodParams(e);const r=s[0];const i=r&&this.isThisParam(r);return i?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,...t){const s=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,...t)}finally{this.state.inAbstractClass=s}}tsParseAbstractDeclaration(e){if(this.match(c._class)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual("interface")){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(e.start,De.NonClassMethodPropertyHasAbstractModifer);this.next();return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,c._class)}}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(t.start,De.AbstractMethodHasImplementation,e.type==="Identifier"?e.name:`[${this.input.slice(e.start,e.end)}]`)}}return t}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}});c.placeholder=new TokenType("%%",{startsExpr:true});const Fe=makeErrorTemplates({ClassNameIsRequired:"A class name is required."},f.SyntaxError);var Me=e=>(class extends e{parsePlaceholder(e){if(this.match(c.placeholder)){const t=this.startNode();this.next();this.assertNoSpace("Unexpected space in placeholder.");t.name=super.parseIdentifier(true);this.assertNoSpace("Unexpected space in placeholder.");this.expect(c.placeholder);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const s=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return s?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(c.placeholder,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){if(e.type!=="Placeholder")super.checkLVal(...arguments)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern";return e}return super.toAssignable(...arguments)}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual("let")){return false}if(e)return false;const t=this.lookahead();if(t.type===c.placeholder){return true}return false}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(c.colon)){const s=e;s.label=this.finishPlaceholder(t,"Identifier");this.next();s.body=this.parseStatement("label");return this.finishNode(s,"LabeledStatement")}this.semicolon();e.name=t.name;return this.finishPlaceholder(e,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(e,t,s){const r=t?"ClassDeclaration":"ClassExpression";this.next();this.takeDecorators(e);const i=this.state.strict;const n=this.parsePlaceholder("Identifier");if(n){if(this.match(c._extends)||this.match(c.placeholder)||this.match(c.braceL)){e.id=n}else if(s||!t){e.id=null;e.body=this.finishPlaceholder(n,"ClassBody");return this.finishNode(e,r)}else{this.unexpected(null,Fe.ClassNameIsRequired)}}else{this.parseClassId(e,t,s)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,i);return this.finishNode(e,r)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(c.comma)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const s=this.startNode();s.exported=t;e.specifiers=[this.finishNode(s,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(c._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(c.placeholder.label,this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter(e=>e.exported.type==="Placeholder")}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual("from")&&!this.match(c.comma)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const s=this.startNodeAtNode(t);s.local=t;this.finishNode(s,"ImportDefaultSpecifier");e.specifiers.push(s);if(this.eat(c.comma)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual("from");e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}});var Le=e=>(class extends e{parseV8Intrinsic(){if(this.match(c.modulo)){const e=this.state.start;const t=this.startNode();this.eat(c.modulo);if(this.match(c.name)){const e=this.parseIdentifierName(this.state.start);const s=this.createIdentifier(t,e);s.type="V8IntrinsicIdentifier";if(this.match(c.parenL)){return s}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}});function hasPlugin(e,t){return e.some(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}})}function getPluginOption(e,t,s){const r=e.find(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}});if(r&&Array.isArray(r)){return r[1][s]}return null}const Be=["minimal","smart","fsharp"];const Ue=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option,"+" whose value must be a boolean. If you are migrating from"+" Babylon/Babel 6 or want to use the old decorators proposal, you"+" should use the 'decorators-legacy' plugin instead of 'decorators'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")&&!Be.includes(getPluginOption(e,"pipelineOperator","proposal"))){throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: "+Be.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}}if(hasPlugin(e,"recordAndTuple")&&!Ue.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Ue.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const We={estree:m,jsx:Ie,flow:Ee,typescript:Ne,v8intrinsic:Le,placeholders:Me};const qe=Object.keys(We);const He={sourceType:"script",sourceFilename:undefined,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false};function getOptions(e){const t={};for(const s of Object.keys(He)){t[s]=e&&e[s]!=null?e[s]:He[s]}return t}var ze=function isDigit(e){return e>=48&&e<=57};const Ve=new Set([103,109,115,105,121,117,100]);const Ke={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]};const $e={};$e.bin=[48,49];$e.oct=[...$e.bin,50,51,52,53,54,55];$e.dec=[...$e.oct,56,57];$e.hex=[...$e.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends ParserError{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(this.state))}this.state.lastTokEnd=this.state.end;this.state.lastTokStart=this.state.start;this.state.lastTokEndLoc=this.state.endLoc;this.state.lastTokStartLoc=this.state.startLoc;this.nextToken()}eat(e){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){h.lastIndex=e;const t=h.exec(this.input);return e+t[0].length}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(t,e));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(!e.preserveSpace)this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(c.eof);return}if(e===g.template){this.readTmplToken()}else{this.getTokenFromCode(this.codePointAtPos(this.state.pos))}}pushComment(e,t,s,r,i,n){const a={type:e?"CommentBlock":"CommentLine",value:t,start:s,end:r,loc:new SourceLocation(i,n)};if(this.options.tokens)this.pushToken(a);this.state.comments.push(a);this.addComment(a)}skipBlockComment(){let e;if(!this.isLookahead)e=this.state.curPosition();const t=this.state.pos;const s=this.input.indexOf("*/",this.state.pos+2);if(s===-1)throw this.raise(t,d.UnterminatedComment);this.state.pos=s+2;u.lastIndex=t;let r;while((r=u.exec(this.input))&&r.index=48&&t<=57){throw this.raise(this.state.pos,d.UnexpectedDigitAfterHash)}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(this.state.pos,t===123?d.RecordExpressionHashIncorrectStartSyntaxType:d.TupleExpressionHashIncorrectStartSyntaxType)}this.state.pos+=2;if(t===123){this.finishToken(c.braceHashL)}else{this.finishToken(c.bracketHashL)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(c.privateName,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(c.privateName,this.readWord1())}else{this.finishOp(c.hash,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(c.ellipsis)}else{++this.state.pos;this.finishToken(c.dot)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(c.slashAssign,2)}else{this.finishOp(c.slash,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos=48&&t<=57)){this.state.pos+=2;this.finishToken(c.questionDot)}else{++this.state.pos;this.finishToken(c.question)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(c.parenL);return;case 41:++this.state.pos;this.finishToken(c.parenR);return;case 59:++this.state.pos;this.finishToken(c.semi);return;case 44:++this.state.pos;this.finishToken(c.comma);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,d.TupleExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(c.bracketBarL)}else{++this.state.pos;this.finishToken(c.bracketL)}return;case 93:++this.state.pos;this.finishToken(c.bracketR);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,d.RecordExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(c.braceBarL)}else{++this.state.pos;this.finishToken(c.braceL)}return;case 125:++this.state.pos;this.finishToken(c.braceR);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(c.doubleColon,2)}else{++this.state.pos;this.finishToken(c.colon)}return;case 63:this.readToken_question();return;case 96:++this.state.pos;this.finishToken(c.backQuote);return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:case 62:this.readToken_lt_gt(e);return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(c.tilde,1);return;case 64:++this.state.pos;this.finishToken(c.at);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(this.state.pos,d.InvalidOrUnexpectedToken,String.fromCodePoint(e))}finishOp(e,t){const s=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t;this.finishToken(e,s)}readRegexp(){const e=this.state.start+1;let t,s;let{pos:r}=this.state;for(;;++r){if(r>=this.length){throw this.raise(e,d.UnterminatedRegExp)}const i=this.input.charCodeAt(r);if(isNewLine(i)){throw this.raise(e,d.UnterminatedRegExp)}if(t){t=false}else{if(i===91){s=true}else if(i===93&&s){s=false}else if(i===47&&!s){break}t=i===92}}const i=this.input.slice(e,r);++r;let n="";while(r-1||n.indexOf(t)>-1||Number.isNaN(t)){this.raise(this.state.pos,d.UnexpectedNumericSeparator)}if(!r){this.raise(this.state.pos,d.NumericSeparatorInEscapeSequence)}++this.state.pos;continue}if(t>=97){c=t-97+10}else if(t>=65){c=t-65+10}else if(ze(t)){c=t-48}else{c=Infinity}if(c>=e){if(this.options.errorRecovery&&c<=9){c=0;this.raise(this.state.start+i+2,d.InvalidDigit,e)}else if(s){c=0;o=true}else{break}}++this.state.pos;l=l*e+c}if(this.state.pos===i||t!=null&&this.state.pos-i!==t||o){return null}return l}readRadixNumber(e){const t=this.state.pos;let s=false;this.state.pos+=2;const r=this.readInt(e);if(r==null){this.raise(this.state.start+2,d.InvalidDigit,e)}const i=this.input.charCodeAt(this.state.pos);if(i===110){++this.state.pos;s=true}else if(i===109){throw this.raise(t,d.InvalidDecimal)}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,d.NumberIdentifier)}if(s){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(c.bigint,e);return}this.finishToken(c.num,r)}readNumber(e){const t=this.state.pos;let s=false;let r=false;let i=false;let n=false;let a=false;if(!e&&this.readInt(10)===null){this.raise(t,d.InvalidNumber)}const o=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(o){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(t,d.StrictOctalLiteral);if(!this.state.strict){const s=e.indexOf("_");if(s>0){this.raise(s+t,d.ZeroDigitNumericSeparator)}}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!a){++this.state.pos;this.readInt(10);s=true;l=this.input.charCodeAt(this.state.pos)}if((l===69||l===101)&&!a){l=this.input.charCodeAt(++this.state.pos);if(l===43||l===45){++this.state.pos}if(this.readInt(10)===null){this.raise(t,d.InvalidOrMissingExponent)}s=true;n=true;l=this.input.charCodeAt(this.state.pos)}if(l===110){if(s||o){this.raise(t,d.InvalidBigIntLiteral)}++this.state.pos;r=true}if(l===109){this.expectPlugin("decimal",this.state.pos);if(n||o){this.raise(t,d.InvalidDecimal)}++this.state.pos;i=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,d.NumberIdentifier)}const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(r){this.finishToken(c.bigint,p);return}if(i){this.finishToken(c.decimal,p);return}const u=a?parseInt(p,8):parseFloat(p);this.finishToken(c.num,u)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let s;if(t===123){const t=++this.state.pos;s=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(s!==null&&s>1114111){if(e){this.raise(t,d.InvalidCodePoint)}else{return null}}}else{s=this.readHexChar(4,false,e)}return s}readString(e){let t="",s=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,d.UnterminatedString)}const r=this.input.charCodeAt(this.state.pos);if(r===e)break;if(r===92){t+=this.input.slice(s,this.state.pos);t+=this.readEscapedChar(false);s=this.state.pos}else if(r===8232||r===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(r)){throw this.raise(this.state.start,d.UnterminatedString)}else{++this.state.pos}}t+=this.input.slice(s,this.state.pos++);this.finishToken(c.string,t)}readTmplToken(){let e="",t=this.state.pos,s=false;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,d.UnterminatedTemplate)}const r=this.input.charCodeAt(this.state.pos);if(r===96||r===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(c.template)){if(r===36){this.state.pos+=2;this.finishToken(c.dollarBraceL);return}else{++this.state.pos;this.finishToken(c.backQuote);return}}e+=this.input.slice(t,this.state.pos);this.finishToken(c.template,s?null:e);return}if(r===92){e+=this.input.slice(t,this.state.pos);const r=this.readEscapedChar(true);if(r===null){s=true}else{e+=r}t=this.state.pos}else if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(r){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(r);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,t){if(this.state.strict&&!this.state.strictErrors.has(e)){this.raise(e,t)}else{this.state.strictErrors.set(e,t)}}readEscapedChar(e){const t=!e;const s=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(s){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:this.state.lineStart=this.state.pos;++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(e){return null}else{this.recordStrictModeErrors(this.state.pos-1,d.StrictNumericEscape)}default:if(s>=48&&s<=55){const t=this.state.pos-1;const s=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let r=s[0];let i=parseInt(r,8);if(i>255){r=r.slice(0,-1);i=parseInt(r,8)}this.state.pos+=r.length-1;const n=this.input.charCodeAt(this.state.pos);if(r!=="0"||n===56||n===57){if(e){return null}else{this.recordStrictModeErrors(t,d.StrictNumericEscape)}}return String.fromCharCode(i)}return String.fromCharCode(s)}}readHexChar(e,t,s){const r=this.state.pos;const i=this.readInt(16,e,t,false);if(i===null){if(s){this.raise(r,d.InvalidEscapeSequence)}else{this.state.pos=r-1}}return i}readWord1(e){this.state.containsEsc=false;let t="";const s=this.state.pos;let r=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos{this.raise(s,t);let r=e.length-2;let i=e[r];while(i.canBeArrowParameterDeclaration()){i.clearDeclarationError(s);i=e[--r]}})}}function newParameterDeclarationScope(){return new ExpressionScope(Ye)}function newArrowHeadScope(){return new ArrowHeadParsingScope(Je)}function newAsyncArrowScope(){return new ArrowHeadParsingScope(Xe)}function newExpressionScope(){return new ExpressionScope}class UtilParser extends Tokenizer{addExtra(e,t,s){if(!e)return;const r=e.extra=e.extra||{};r[t]=s}isRelational(e){return this.match(c.relational)&&this.state.value===e}expectRelational(e){if(this.isRelational(e)){this.next()}else{this.unexpected(null,c.relational)}}isContextual(e){return this.match(c.name)&&this.state.value===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const s=e+t.length;if(this.input.slice(e,s)===t){const e=this.input.charCodeAt(s);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)&&this.eat(c.name)}expectContextual(e,t){if(!this.eatContextual(e))this.unexpected(null,t)}canInsertSemicolon(){return this.match(c.eof)||this.match(c.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return p.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){return p.test(this.input.slice(this.state.end,this.nextTokenStart()))}isLineTerminator(){return this.eat(c.semi)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(c.semi))return;this.raise(this.state.lastTokEnd,d.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){if(this.state.start>this.state.lastTokEnd){this.raise(this.state.lastTokEnd,{code:f.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}}unexpected(e,t={code:f.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){if(t instanceof TokenType){t={code:f.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${t.label}"`}}throw this.raise(e!=null?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e)){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`)}return true}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e))){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:e},`This experimental syntax requires enabling one of the following parser plugin(s): '${e.join(", ")}'`)}}tryParse(e,t=this.state.clone()){const s={node:null};try{const r=e((e=null)=>{s.node=e;throw s});if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:r,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:r,error:null,thrown:false,aborted:false,failState:null}}catch(e){const r=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:r}}if(e===s){return{node:s.node,error:null,thrown:false,aborted:true,failState:r}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssign:s,doubleProto:r}=e;if(!t)return s>=0||r>=0;if(s>=0){this.unexpected(s)}if(r>=0){this.raise(r,d.DuplicateProto)}}isLiteralPropertyName(){return this.match(c.name)||!!this.state.type.keyword||this.match(c.string)||this.match(c.num)||this.match(c.bigint)||this.match(c.decimal)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const s=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const r=this.inModule;this.inModule=e;const i=this.scope;const n=this.getScopeHandler();this.scope=new n(this.raise.bind(this),this.inModule);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this.raise.bind(this));const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this.raise.bind(this));return()=>{this.state.labels=t;this.exportedIdentifiers=s;this.inModule=r;this.scope=i;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=je;if(this.hasPlugin("topLevelAwait")&&this.inModule){e|=Se}this.scope.enter(O);this.prodParam.enter(e)}}class ExpressionErrors{constructor(){this.shorthandAssign=-1;this.doubleProto=-1}}class Node{constructor(e,t,s){this.type=void 0;this.start=void 0;this.end=void 0;this.loc=void 0;this.range=void 0;this.leadingComments=void 0;this.trailingComments=void 0;this.innerComments=void 0;this.extra=void 0;this.type="";this.start=t;this.end=0;this.loc=new SourceLocation(s);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}__clone(){const e=new Node;const t=Object.keys(this);for(let s=0,r=t.length;s{return e.type==="ParenthesizedExpression"?Qe(e.expression):e};class LValParser extends NodeUtils{toAssignable(e,t=false){var s,r;let i=undefined;if(e.type==="ParenthesizedExpression"||(s=e.extra)!=null&&s.parenthesized){i=Qe(e);if(t){if(i.type==="Identifier"){this.expressionScope.recordParenthesizedIdentifierError(e.start,d.InvalidParenthesizedAssignment)}else if(i.type!=="MemberExpression"){this.raise(e.start,d.InvalidParenthesizedAssignment)}}else{this.raise(e.start,d.InvalidParenthesizedAssignment)}}switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":break;case"ObjectExpression":e.type="ObjectPattern";for(let s=0,r=e.properties.length,i=r-1;sthis.parseExpressionBase(t))}return this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start;const s=this.state.startLoc;const r=this.parseMaybeAssign(e);if(this.match(c.comma)){const i=this.startNodeAt(t,s);i.expressions=[r];while(this.eat(c.comma)){i.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(i.expressions);return this.finishNode(i,"SequenceExpression")}return r}parseMaybeAssignDisallowIn(e,t,s){return this.disallowInAnd(()=>this.parseMaybeAssign(e,t,s))}parseMaybeAssignAllowIn(e,t,s){return this.allowInAnd(()=>this.parseMaybeAssign(e,t,s))}parseMaybeAssign(e,t,s){const r=this.state.start;const i=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,r,i)}return e}}let n;if(e){n=false}else{e=new ExpressionErrors;n=true}if(this.match(c.parenL)||this.match(c.name)){this.state.potentialArrowAt=this.state.start}let a=this.parseMaybeConditional(e,s);if(t){a=t.call(this,a,r,i)}if(this.state.type.isAssign){const t=this.startNodeAt(r,i);const s=this.state.value;t.operator=s;if(this.match(c.eq)){t.left=this.toAssignable(a,true);e.doubleProto=-1}else{t.left=a}if(e.shorthandAssign>=t.left.start){e.shorthandAssign=-1}this.checkLVal(a,"assignment expression");this.next();t.right=this.parseMaybeAssign();return this.finishNode(t,"AssignmentExpression")}else if(n){this.checkExpressionErrors(e,true)}return a}parseMaybeConditional(e,t){const s=this.state.start;const r=this.state.startLoc;const i=this.state.potentialArrowAt;const n=this.parseExprOps(e);if(this.shouldExitDescending(n,i)){return n}return this.parseConditional(n,s,r,t)}parseConditional(e,t,s,r){if(this.eat(c.question)){const r=this.startNodeAt(t,s);r.test=e;r.consequent=this.parseMaybeAssignAllowIn();this.expect(c.colon);r.alternate=this.parseMaybeAssign();return this.finishNode(r,"ConditionalExpression")}return e}parseExprOps(e){const t=this.state.start;const s=this.state.startLoc;const r=this.state.potentialArrowAt;const i=this.parseMaybeUnary(e);if(this.shouldExitDescending(i,r)){return i}return this.parseExprOp(i,t,s,-1)}parseExprOp(e,t,s,r){let i=this.state.type.binop;if(i!=null&&(this.prodParam.hasIn||!this.match(c._in))){if(i>r){const n=this.state.type;if(n===c.pipeline){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.state.inPipeline=true;this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,s);a.left=e;a.operator=this.state.value;const o=n===c.logicalOR||n===c.logicalAND;const l=n===c.nullishCoalescing;if(l){i=c.logicalAND.binop}this.next();if(n===c.pipeline&&this.getPluginOption("pipelineOperator","proposal")==="minimal"){if(this.match(c.name)&&this.state.value==="await"&&this.prodParam.hasAwait){throw this.raise(this.state.start,d.UnexpectedAwaitAfterPipelineBody)}}a.right=this.parseExprOpRightExpr(n,i);this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");const p=this.state.type;if(l&&(p===c.logicalOR||p===c.logicalAND)||o&&p===c.nullishCoalescing){throw this.raise(this.state.start,d.MixingCoalesceWithLogical)}return this.parseExprOp(a,t,s,r)}}return e}parseExprOpRightExpr(e,t){const s=this.state.start;const r=this.state.startLoc;switch(e){case c.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"smart":return this.withTopicPermittingContext(()=>{return this.parseSmartPipelineBody(this.parseExprOpBaseRightExpr(e,t),s,r)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(t)})}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const s=this.state.start;const r=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),s,r,e.rightAssociative?t-1:t)}checkExponentialAfterUnary(e){if(this.match(c.exponent)){this.raise(e.argument.start,d.UnexpectedTokenUnaryExponentiation)}}parseMaybeUnary(e,t){const s=this.state.start;const r=this.state.startLoc;const i=this.isContextual("await");if(i&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(s,r);if(!t)this.checkExponentialAfterUnary(e);return e}if(this.isContextual("module")&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak()){return this.parseModuleExpression()}const n=this.match(c.incDec);const a=this.startNode();if(this.state.type.prefix){a.operator=this.state.value;a.prefix=true;if(this.match(c._throw)){this.expectPlugin("throwExpressions")}const s=this.match(c._delete);this.next();a.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&s){const e=a.argument;if(e.type==="Identifier"){this.raise(a.start,d.StrictDelete)}else if(this.hasPropertyAsPrivateName(e)){this.raise(a.start,d.DeletePrivateField)}}if(!n){if(!t)this.checkExponentialAfterUnary(a);return this.finishNode(a,"UnaryExpression")}}const o=this.parseUpdate(a,n,e);if(i){const e=this.hasPlugin("v8intrinsic")?this.state.type.startsExpr:this.state.type.startsExpr&&!this.match(c.modulo);if(e&&!this.isAmbiguousAwait()){this.raiseOverwrite(s,this.hasPlugin("topLevelAwait")?d.AwaitNotInAsyncContext:d.AwaitNotInAsyncFunction);return this.parseAwait(s,r)}}return o}parseUpdate(e,t,s){if(t){this.checkLVal(e.argument,"prefix operation");return this.finishNode(e,"UpdateExpression")}const r=this.state.start;const i=this.state.startLoc;let n=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,false))return n;while(this.state.type.postfix&&!this.canInsertSemicolon()){const e=this.startNodeAt(r,i);e.operator=this.state.value;e.prefix=false;e.argument=n;this.checkLVal(n,"postfix operation");this.next();n=this.finishNode(e,"UpdateExpression")}return n}parseExprSubscripts(e){const t=this.state.start;const s=this.state.startLoc;const r=this.state.potentialArrowAt;const i=this.parseExprAtom(e);if(this.shouldExitDescending(i,r)){return i}return this.parseSubscripts(i,t,s)}parseSubscripts(e,t,s,r){const i={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,s,r,i);i.maybeAsyncArrow=false}while(!i.stop);return e}parseSubscript(e,t,s,r,i){if(!r&&this.eat(c.doubleColon)){return this.parseBind(e,t,s,r,i)}else if(this.match(c.backQuote)){return this.parseTaggedTemplateExpression(e,t,s,i)}let n=false;if(this.match(c.questionDot)){if(r&&this.lookaheadCharCode()===40){i.stop=true;return e}i.optionalChainMember=n=true;this.next()}if(!r&&this.match(c.parenL)){return this.parseCoverCallAndAsyncArrowHead(e,t,s,i,n)}else if(n||this.match(c.bracketL)||this.eat(c.dot)){return this.parseMember(e,t,s,i,n)}else{i.stop=true;return e}}parseMember(e,t,s,r,i){const n=this.startNodeAt(t,s);const a=this.eat(c.bracketL);n.object=e;n.computed=a;const o=!a&&this.match(c.privateName)&&this.state.value;const l=a?this.parseExpression():o?this.parsePrivateName():this.parseIdentifier(true);if(o!==false){if(n.object.type==="Super"){this.raise(t,d.SuperPrivateField)}this.classScope.usePrivateName(o,l.start)}n.property=l;if(a){this.expect(c.bracketR)}if(r.optionalChainMember){n.optional=i;return this.finishNode(n,"OptionalMemberExpression")}else{return this.finishNode(n,"MemberExpression")}}parseBind(e,t,s,r,i){const n=this.startNodeAt(t,s);n.object=e;n.callee=this.parseNoCallExpr();i.stop=true;return this.parseSubscripts(this.finishNode(n,"BindExpression"),t,s,r)}parseCoverCallAndAsyncArrowHead(e,t,s,r,i){const n=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,s);o.callee=e;if(r.maybeAsyncArrow){this.expressionScope.enter(newAsyncArrowScope());a=new ExpressionErrors}if(r.optionalChainMember){o.optional=i}if(i){o.arguments=this.parseCallExpressionArguments(c.parenR)}else{o.arguments=this.parseCallExpressionArguments(c.parenR,e.type==="Import",e.type!=="Super",o,a)}this.finishCallExpression(o,r.optionalChainMember);if(r.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!i){r.stop=true;this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,s),o)}else{if(r.maybeAsyncArrow){this.checkExpressionErrors(a,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=n;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,s,r){const i=this.startNodeAt(t,s);i.tag=e;i.quasi=this.parseTemplate(true);if(r.optionalChainMember){this.raise(t,d.OptionalChainingNoTemplate)}return this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(e.start,d.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument")}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(t.start,d.ImportCallSpreadArgument)}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,s,r,i){const n=[];let a=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(a){a=false}else{this.expect(c.comma);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(this.state.lastTokStart,d.ImportCallArgumentTrailingComma)}if(r){this.addExtra(r,"trailingComma",this.state.lastTokStart)}this.next();break}}n.push(this.parseExprListItem(false,i,{start:0},s))}this.state.inFSharpPipelineDirectBody=o;return n}shouldParseAsyncArrow(){return this.match(c.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var s;this.expect(c.arrow);this.parseArrowExpression(e,t.arguments,true,(s=t.extra)==null?void 0:s.trailingComma);return e}parseNoCallExpr(){const e=this.state.start;const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,true)}parseExprAtom(e){let t;switch(this.state.type){case c._super:return this.parseSuper();case c._import:t=this.startNode();this.next();if(this.match(c.dot)){return this.parseImportMetaProperty(t)}if(!this.match(c.parenL)){this.raise(this.state.lastTokStart,d.UnsupportedImport)}return this.finishNode(t,"Import");case c._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case c.name:{const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const s=this.parseIdentifier();if(!t&&s.name==="async"&&!this.canInsertSemicolon()){if(this.match(c._function)){this.next();return this.parseFunction(this.startNodeAtNode(s),undefined,true)}else if(this.match(c.name)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(s)}else{return s}}else if(this.match(c._do)){return this.parseDo(true)}}if(e&&this.match(c.arrow)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(s),[s],false)}return s}case c._do:{return this.parseDo(false)}case c.slash:case c.slashAssign:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case c.num:return this.parseNumericLiteral(this.state.value);case c.bigint:return this.parseBigIntLiteral(this.state.value);case c.decimal:return this.parseDecimalLiteral(this.state.value);case c.string:return this.parseStringLiteral(this.state.value);case c._null:return this.parseNullLiteral();case c._true:return this.parseBooleanLiteral(true);case c._false:return this.parseBooleanLiteral(false);case c.parenL:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case c.bracketBarL:case c.bracketHashL:{return this.parseArrayLike(this.state.type===c.bracketBarL?c.bracketBarR:c.bracketR,false,true,e)}case c.bracketL:{return this.parseArrayLike(c.bracketR,true,false,e)}case c.braceBarL:case c.braceHashL:{return this.parseObjectLike(this.state.type===c.braceBarL?c.braceBarR:c.braceR,false,true,e)}case c.braceL:{return this.parseObjectLike(c.braceR,false,false,e)}case c._function:return this.parseFunctionOrFunctionSent();case c.at:this.parseDecorators();case c._class:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case c._new:return this.parseNewOrNewTarget();case c.backQuote:return this.parseTemplate(false);case c.doubleColon:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(e.start,d.UnsupportedBind)}}case c.privateName:{const e=this.state.start;const s=this.state.value;t=this.parsePrivateName();if(this.match(c._in)){this.expectPlugin("privateIn");this.classScope.usePrivateName(s,t.start)}else if(this.hasPlugin("privateIn")){this.raise(this.state.start,d.PrivateInExpectedIn,s)}else{throw this.unexpected(e)}return t}case c.hash:{if(this.state.inPipeline){t=this.startNode();if(this.getPluginOption("pipelineOperator","proposal")!=="smart"){this.raise(t.start,d.PrimaryTopicRequiresSmartPipeline)}this.next();if(!this.primaryTopicReferenceIsAllowedInCurrentTopicContext()){this.raise(t.start,d.PrimaryTopicNotAllowed)}this.registerTopicReference();return this.finishNode(t,"PipelinePrimaryTopicReference")}}case c.relational:{if(this.state.value==="<"){const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}}}default:throw this.unexpected()}}parseAsyncArrowUnaryFunction(e){const t=this.startNodeAtNode(e);this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const s=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(this.state.pos,d.LineTerminatorBeforeArrow)}this.expect(c.arrow);this.parseArrowExpression(t,s,true);return t}parseDo(e){this.expectPlugin("doExpressions");if(e){this.expectPlugin("asyncDoExpressions")}const t=this.startNode();t.async=e;this.next();const s=this.state.labels;this.state.labels=[];if(e){this.prodParam.enter(Se);t.body=this.parseBlock();this.prodParam.exit()}else{t.body=this.parseBlock()}this.state.labels=s;return this.finishNode(t,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(c.parenL)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,d.SuperNotAllowed)}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,d.UnexpectedSuper)}if(!this.match(c.parenL)&&!this.match(c.bracketL)&&!this.match(c.dot)){this.raise(e.start,d.UnsupportedSuper)}return this.finishNode(e,"Super")}parseMaybePrivateName(e){const t=this.match(c.privateName);if(t){if(!e){this.raise(this.state.start+1,d.UnexpectedPrivateField)}return this.parsePrivateName()}else{return this.parseIdentifier(true)}}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(this.state.start+1,new Position(this.state.curLine,this.state.start+1-this.state.lineStart));const s=this.state.value;this.next();e.id=this.createIdentifier(t,s);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(c.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,s){e.meta=t;if(t.name==="function"&&s==="sent"){if(this.isContextual(s)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}}const r=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==s||r){this.raise(e.property.start,d.UnsupportedMetaProperty,t.name,s)}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual("meta")){if(!this.inModule){this.raise(t.start,y.ImportMetaOutsideModule)}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,s){this.addExtra(s,"rawValue",e);this.addExtra(s,"raw",this.input.slice(s.start,this.state.end));s.value=e;this.next();return this.finishNode(s,t)}parseLiteral(e,t){const s=this.startNode();return this.parseLiteralAtNode(e,t,s)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start;const s=this.state.startLoc;let r;this.next();this.expressionScope.enter(newArrowHeadScope());const i=this.state.maybeInArrowParameters;const n=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const a=this.state.start;const o=this.state.startLoc;const l=[];const p=new ExpressionErrors;const u={start:0};let h=true;let f;let d;while(!this.match(c.parenR)){if(h){h=false}else{this.expect(c.comma,u.start||null);if(this.match(c.parenR)){d=this.state.start;break}}if(this.match(c.ellipsis)){const e=this.state.start;const t=this.state.startLoc;f=this.state.start;l.push(this.parseParenItem(this.parseRestBinding(),e,t));this.checkCommaAfterRest(41);break}else{l.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem,u))}}const y=this.state.lastTokEnd;const m=this.state.lastTokEndLoc;this.expect(c.parenR);this.state.maybeInArrowParameters=i;this.state.inFSharpPipelineDirectBody=n;let g=this.startNodeAt(t,s);if(e&&this.shouldParseArrow()&&(g=this.parseArrow(g))){this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(g,l,false);return g}this.expressionScope.exit();if(!l.length){this.unexpected(this.state.lastTokStart)}if(d)this.unexpected(d);if(f)this.unexpected(f);this.checkExpressionErrors(p,true);if(u.start)this.unexpected(u.start);this.toReferencedListDeep(l,true);if(l.length>1){r=this.startNodeAt(a,o);r.expressions=l;this.finishNodeAt(r,"SequenceExpression",y,m)}else{r=l[0]}if(!this.options.createParenthesizedExpressions){this.addExtra(r,"parenthesized",true);this.addExtra(r,"parenStart",t);return r}const b=this.startNodeAt(t,s);b.expression=r;this.finishNode(b,"ParenthesizedExpression");return b}shouldParseArrow(){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(c.arrow)){return e}}parseParenItem(e,t,s){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(c.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const s=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){this.raise(s.start,d.UnexpectedNewTarget)}return s}return this.parseNew(e)}parseNew(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(e.callee.start,d.ImportCallNotNewExpression)}else if(this.isOptionalChain(e.callee)){this.raise(this.state.lastTokEnd,d.OptionalChainingNoNew)}else if(this.eat(c.questionDot)){this.raise(this.state.start,d.OptionalChainingNoNew)}this.parseNewArguments(e);return this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(c.parenL)){const t=this.parseExprList(c.parenR);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}}parseTemplateElement(e){const t=this.startNode();if(this.state.value===null){if(!e){this.raise(this.state.start+1,d.InvalidEscapeSequenceTemplate)}}t.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,"\n"),cooked:this.state.value};this.next();t.tail=this.match(c.backQuote);return this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next();t.expressions=[];let s=this.parseTemplateElement(e);t.quasis=[s];while(!s.tail){this.expect(c.dollarBraceL);t.expressions.push(this.parseTemplateSubstitution());this.expect(c.braceR);t.quasis.push(s=this.parseTemplateElement(e))}this.next();return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,s,r){if(s){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const n=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(c.comma);if(this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}}const i=this.parsePropertyDefinition(t,r);if(!t){this.checkProto(i,s,n,r)}if(s&&!this.isObjectProperty(i)&&i.type!=="SpreadElement"){this.raise(i.start,d.InvalidRecordProperty)}if(i.shorthand){this.addExtra(i,"shorthand",true)}o.properties.push(i)}this.next();this.state.inFSharpPipelineDirectBody=i;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(s){l="RecordExpression"}return this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(c.bracketL)||this.match(c.star))}parsePropertyDefinition(e,t){let s=[];if(this.match(c.at)){if(this.hasPlugin("decorators")){this.raise(this.state.start,d.UnsupportedPropertyDecorator)}while(this.match(c.at)){s.push(this.parseDecorator())}}const r=this.startNode();let i=false;let n=false;let a=false;let o;let l;if(this.match(c.ellipsis)){if(s.length)this.unexpected();if(e){this.next();r.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(r,"RestElement")}return this.parseSpread()}if(s.length){r.decorators=s;s=[]}r.method=false;if(e||t){o=this.state.start;l=this.state.startLoc}if(!e){i=this.eat(c.star)}const p=this.state.containsEsc;const u=this.parsePropertyName(r,false);if(!e&&!i&&!p&&this.maybeAsyncOrAccessorProp(r)){const e=u.name;if(e==="async"&&!this.hasPrecedingLineBreak()){n=true;i=this.eat(c.star);this.parsePropertyName(r,false)}if(e==="get"||e==="set"){a=true;r.kind=e;if(this.match(c.star)){i=true;this.raise(this.state.pos,d.AccessorIsGenerator,e);this.next()}this.parsePropertyName(r,false)}}this.parseObjPropValue(r,o,l,i,n,e,a,t);return r}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const s=this.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const i=e.start;if(r.length!==s){if(e.kind==="get"){this.raise(i,d.BadGetterArity)}else{this.raise(i,d.BadSetterArity)}}if(e.kind==="set"&&((t=r[r.length-1])==null?void 0:t.type)==="RestElement"){this.raise(i,d.BadSetterRestParameter)}}parseObjectMethod(e,t,s,r,i){if(i){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(s||t||this.match(c.parenL)){if(r)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,s,false,false,"ObjectMethod")}}parseObjectProperty(e,t,s,r,i){e.shorthand=false;if(this.eat(c.colon)){e.value=r?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(i);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.start,true,false);if(r){e.value=this.parseMaybeDefault(t,s,e.key.__clone())}else if(this.match(c.eq)&&i){if(i.shorthandAssign===-1){i.shorthandAssign=this.state.start}e.value=this.parseMaybeDefault(t,s,e.key.__clone())}else{e.value=e.key.__clone()}e.shorthand=true;return this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,s,r,i,n,a,o){const l=this.parseObjectMethod(e,r,i,n,a)||this.parseObjectProperty(e,t,s,n,o);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(c.bracketL)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(c.bracketR)}else{const s=this.state.inPropertyName;this.state.inPropertyName=true;const r=this.state.type;e.key=r===c.num||r===c.string||r===c.bigint||r===c.decimal?this.parseExprAtom():this.parseMaybePrivateName(t);if(r!==c.privateName){e.computed=false}this.state.inPropertyName=s}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,s,r,i,n,a=false){this.initFunction(e,s);e.generator=!!t;const o=r;this.scope.enter(S|D|(a?F:0)|(i?N:0));this.prodParam.enter(functionFlags(s,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,n,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,s,r){if(s){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const n=this.startNode();this.next();n.elements=this.parseExprList(e,!s,r,n);this.state.inFSharpPipelineDirectBody=i;return this.finishNode(n,s?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,s,r){this.scope.enter(S|_);let i=functionFlags(s,false);if(!this.match(c.bracketL)&&this.prodParam.hasIn){i|=Re}this.prodParam.enter(i);this.initFunction(e,s);const n=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,r)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=n;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,s){e.params=this.toAssignableList(t,s,false)}parseFunctionBodyAndFinish(e,t,s=false){this.parseFunctionBody(e,false,s);this.finishNode(e,t)}parseFunctionBody(e,t,s=false){const r=t&&!this.match(c.braceL);this.expressionScope.enter(newExpressionScope());if(r){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const r=this.state.strict;const i=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|_e);e.body=this.parseBlock(true,false,i=>{const n=!this.isSimpleParamList(e.params);if(i&&n){const t=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(t,d.IllegalLanguageModeDirective)}const a=!r&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!s&&!n,t,a);if(this.state.strict&&e.id){this.checkLVal(e.id,"function name",ae,undefined,undefined,a)}});this.prodParam.exit();this.expressionScope.exit();this.state.labels=i}}isSimpleParamList(e){for(let t=0,s=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(t,d.YieldBindingIdentifier);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(t,d.AwaitBindingIdentifier);return}else if(this.scope.inStaticBlock&&!this.scope.inNonArrowFunction){this.raise(t,d.AwaitBindingIdentifierInStaticBlock);return}else{this.expressionScope.recordAsyncArrowParametersError(t,d.AwaitBindingIdentifier)}}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(t,d.ArgumentsInClass);return}}if(s&&isKeyword(e)){this.raise(t,d.UnexpectedKeyword,e);return}const i=!this.state.strict?isReservedWord:r?isStrictBindReservedWord:isStrictReservedWord;if(i(e,this.inModule)){this.raise(t,d.UnexpectedReservedWord,e)}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e,t){const s=this.startNodeAt(e,t);this.expressionScope.recordParameterInitializerError(s.start,d.AwaitExpressionFormalParameter);if(this.eat(c.star)){this.raise(s.start,d.ObsoleteAwaitStar)}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){s.argument=this.parseMaybeUnary(null,true)}return this.finishNode(s,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(c.plusMin)||this.match(c.parenL)||this.match(c.bracketL)||this.match(c.backQuote)||this.match(c.regexp)||this.match(c.slash)||this.hasPlugin("v8intrinsic")&&this.match(c.modulo)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,d.YieldInParameter);this.next();let t=false;let s=null;if(!this.hasPrecedingLineBreak()){t=this.eat(c.star);switch(this.state.type){case c.semi:case c.eof:case c.braceR:case c.parenR:case c.bracketR:case c.braceBarR:case c.colon:case c.comma:if(!t)break;default:s=this.parseMaybeAssign()}}e.delegate=t;e.argument=s;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.getPluginOption("pipelineOperator","proposal")==="smart"){if(e.type==="SequenceExpression"){this.raise(t,d.PipelineHeadSequenceExpression)}}}parseSmartPipelineBody(e,t,s){this.checkSmartPipelineBodyEarlyErrors(e,t);return this.parseSmartPipelineBodyInStyle(e,t,s)}checkSmartPipelineBodyEarlyErrors(e,t){if(this.match(c.arrow)){throw this.raise(this.state.start,d.PipelineBodyNoArrow)}else if(e.type==="SequenceExpression"){this.raise(t,d.PipelineBodySequenceExpression)}}parseSmartPipelineBodyInStyle(e,t,s){const r=this.startNodeAt(t,s);const i=this.isSimpleReference(e);if(i){r.callee=e}else{if(!this.topicReferenceWasUsedInCurrentTopicContext()){this.raise(t,d.PipelineTopicUnused)}r.expression=e}return this.finishNode(r,i?"PipelineBareFunction":"PipelineTopicExpression")}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}withTopicPermittingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withTopicForbiddingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const s=Re&~t;if(s){this.prodParam.enter(t|Re);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const s=Re&t;if(s){this.prodParam.enter(t&~Re);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}primaryTopicReferenceIsAllowedInCurrentTopicContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentTopicContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const s=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const i=this.parseExprOp(this.parseMaybeUnary(),t,s,e);this.state.inFSharpPipelineDirectBody=r;return i}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(c.braceL);const t=this.initializeScopes(true);this.enterInitialScopes();const s=this.startNode();try{e.body=this.parseProgram(s,c.braceR,"module")}finally{t()}this.eat(c.braceR);return this.finishNode(e,"ModuleExpression")}}const Ze={kind:"loop"},et={kind:"switch"};const tt=0,st=1,rt=2,it=4;const nt=/[\uD800-\uDFFF]/u;const at=/in(?:stanceof)?/y;function babel7CompatTokens(e){{for(let t=0;t0){for(const[e]of Array.from(this.scope.undefinedExports)){const t=this.scope.undefinedExports.get(e);this.raise(t,d.ModuleExportUndefined,e)}}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e.expression;const s=this.startNodeAt(t.start,t.loc.start);const r=this.startNodeAt(e.start,e.loc.start);const i=this.input.slice(t.start,t.end);const n=s.value=i.slice(1,-1);this.addExtra(s,"raw",i);this.addExtra(s,"rawValue",n);r.value=this.finishNodeAt(s,"DirectiveLiteral",t.end,t.loc.end);return this.finishNodeAt(r,"Directive",e.end,e.loc.end)}parseInterpreterDirective(){if(!this.match(c.interpreterDirective)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual("let")){return false}return this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart();const s=this.codePointAtPos(t);if(s===92||s===91){return true}if(e)return false;if(s===123)return true;if(isIdentifierStart(s)){at.lastIndex=t;const e=at.exec(this.input);if(e!==null){const s=this.codePointAtPos(t+e[0].length);if(!isIdentifierChar(s)&&s!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(c.at)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let s=this.state.type;const r=this.startNode();let i;if(this.isLet(e)){s=c._var;i="let"}switch(s){case c._break:case c._continue:return this.parseBreakContinueStatement(r,s.keyword);case c._debugger:return this.parseDebuggerStatement(r);case c._do:return this.parseDoStatement(r);case c._for:return this.parseForStatement(r);case c._function:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(this.state.start,d.StrictFunction)}else if(e!=="if"&&e!=="label"){this.raise(this.state.start,d.SloppyFunction)}}return this.parseFunctionStatement(r,false,!e);case c._class:if(e)this.unexpected();return this.parseClass(r,true);case c._if:return this.parseIfStatement(r);case c._return:return this.parseReturnStatement(r);case c._switch:return this.parseSwitchStatement(r);case c._throw:return this.parseThrowStatement(r);case c._try:return this.parseTryStatement(r);case c._const:case c._var:i=i||this.state.value;if(e&&i!=="var"){this.raise(this.state.start,d.UnexpectedLexicalDeclaration)}return this.parseVarStatement(r,i);case c._while:return this.parseWhileStatement(r);case c._with:return this.parseWithStatement(r);case c.braceL:return this.parseBlock();case c.semi:return this.parseEmptyStatement(r);case c._import:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case c._export:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(this.state.start,d.UnexpectedImportExport)}this.next();let e;if(s===c._import){e=this.parseImport(r);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(r);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(r);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(this.state.start,d.AsyncFunctionInSingleStatementContext)}this.next();return this.parseFunctionStatement(r,true,!e)}}}const n=this.state.value;const a=this.parseExpression();if(s===c.name&&a.type==="Identifier"&&this.eat(c.colon)){return this.parseLabeledStatement(r,n,a,e)}else{return this.parseExpressionStatement(r,a)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(e.start,y.ImportOutsideModule)}}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];if(t.length){e.decorators=t;this.resetStartLocationFromNode(e,t[0]);this.state.decoratorStack[this.state.decoratorStack.length-1]=[]}}canHaveLeadingDecorator(){return this.match(c._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(c.at)){const e=this.parseDecorator();t.push(e)}if(this.match(c._export)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,d.DecoratorExportClass)}}else if(!this.canHaveLeadingDecorator()){throw this.raise(this.state.start,d.UnexpectedLeadingDecorator)}}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start;const s=this.state.startLoc;let r;if(this.eat(c.parenL)){r=this.parseExpression();this.expect(c.parenR)}else{r=this.parseIdentifier(false);while(this.eat(c.dot)){const e=this.startNodeAt(t,s);e.object=r;e.property=this.parseIdentifier(true);e.computed=false;r=this.finishNode(e,"MemberExpression")}}e.expression=this.parseMaybeDecoratorArguments(r);this.state.decoratorStack.pop()}else{e.expression=this.parseExprSubscripts()}return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(c.parenL)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(c.parenR,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){const s=t==="break";this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,s?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){const s=t==="break";let r;for(r=0;rthis.parseStatement("do"));this.state.labels.pop();this.expect(c._while);e.test=this.parseHeaderExpression();this.eat(c.semi);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(Ze);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual("await")){t=this.state.lastTokStart}this.scope.enter(j);this.expect(c.parenL);if(this.match(c.semi)){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}const s=this.isContextual("let");const r=s&&this.isLetKeyword();if(this.match(c._var)||this.match(c._const)||r){const s=this.startNode();const i=r?"let":this.state.value;this.next();this.parseVar(s,true,i);this.finishNode(s,"VariableDeclaration");if((this.match(c._in)||this.isContextual("of"))&&s.declarations.length===1){return this.parseForIn(e,s,t)}if(t>-1){this.unexpected(t)}return this.parseFor(e,s)}const i=this.match(c.name)&&!this.state.containsEsc;const n=new ExpressionErrors;const a=this.parseExpression(true,n);const o=this.isContextual("of");if(o){if(s){this.raise(a.start,d.ForOfLet)}else if(t===-1&&i&&a.type==="Identifier"&&a.name==="async"){this.raise(a.start,d.ForOfAsync)}}if(o||this.match(c._in)){this.toAssignable(a,true);const s=o?"for-of statement":"for-in statement";this.checkLVal(a,s);return this.parseForIn(e,a,t)}else{this.checkExpressionErrors(n,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)}parseFunctionStatement(e,t,s){this.next();return this.parseFunction(e,st|(s?0:rt),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(c._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(this.state.start,d.IllegalReturn)}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(c.braceL);this.state.labels.push(et);this.scope.enter(j);let s;for(let e;!this.match(c.braceR);){if(this.match(c._case)||this.match(c._default)){const r=this.match(c._case);if(s)this.finishNode(s,"SwitchCase");t.push(s=this.startNode());s.consequent=[];this.next();if(r){s.test=this.parseExpression()}else{if(e){this.raise(this.state.lastTokStart,d.MultipleDefaultsInSwitch)}e=true;s.test=null}this.expect(c.colon)}else{if(s){s.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(s)this.finishNode(s,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(this.state.lastTokEnd,d.NewlineAfterThrow)}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?R:0);this.checkLVal(e,"catch clause",Q);return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(c._catch)){const t=this.startNode();this.next();if(this.match(c.parenL)){this.expect(c.parenL);t.param=this.parseCatchClauseParam();this.expect(c.parenR)}else{t.param=null;this.scope.enter(j)}t.body=this.withTopicForbiddingContext(()=>this.parseBlock(false,false));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(c._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,d.NoCatchOrFinally)}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(Ze);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("while"));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(this.state.start,d.StrictWith)}this.next();e.object=this.parseHeaderExpression();e.body=this.withTopicForbiddingContext(()=>this.parseStatement("with"));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,s,r){for(const e of this.state.labels){if(e.name===t){this.raise(s.start,d.LabelRedeclaration,t)}}const i=this.state.type.isLoop?"loop":this.match(c._switch)?"switch":null;for(let t=this.state.labels.length-1;t>=0;t--){const s=this.state.labels[t];if(s.statementStart===e.start){s.statementStart=this.state.start;s.kind=i}else{break}}this.state.labels.push({name:t,kind:i,statementStart:this.state.start});e.body=this.parseStatement(r?r.indexOf("label")===-1?r+"label":r:"label");this.state.labels.pop();e.label=s;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,s){const r=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(c.braceL);if(t){this.scope.enter(j)}this.parseBlockBody(r,e,false,c.braceR,s);if(t){this.scope.exit()}return this.finishNode(r,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,s,r,i){const n=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(n,t?a:undefined,s,r,i)}parseBlockOrModuleBlockBody(e,t,s,r,i){const n=this.state.strict;let a=false;let o=false;while(!this.match(r)){const r=this.parseStatement(null,s);if(t&&!o){if(this.isValidDirective(r)){const e=this.stmtToDirective(r);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(r)}if(i){i.call(this,a)}if(!n){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(c.semi)?null:this.parseExpression();this.semicolon(false);e.update=this.match(c.parenR)?null:this.parseExpression();this.expect(c.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,s){const r=this.match(c._in);this.next();if(r){if(s>-1)this.unexpected(s)}else{e.await=s>-1}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,d.ForInOfLoopInitializer,r?"for-in":"for-of")}else if(t.type==="AssignmentPattern"){this.raise(t.start,d.InvalidLhs,"for-loop")}e.left=t;e.right=r?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(c.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,r?"ForInStatement":"ForOfStatement")}parseVar(e,t,s){const r=e.declarations=[];const i=this.hasPlugin("typescript");e.kind=s;for(;;){const e=this.startNode();this.parseVarId(e,s);if(this.eat(c.eq)){e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn()}else{if(s==="const"&&!(this.match(c._in)||this.isContextual("of"))){if(!i){this.raise(this.state.lastTokEnd,d.DeclarationMissingInitializer,"Const declarations")}}else if(e.id.type!=="Identifier"&&!(t&&(this.match(c._in)||this.isContextual("of")))){this.raise(this.state.lastTokEnd,d.DeclarationMissingInitializer,"Complex binding patterns")}e.init=null}r.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(c.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,"variable declaration",t==="var"?Z:Q,undefined,t!=="var")}parseFunction(e,t=tt,s=false){const r=t&st;const i=t&rt;const n=!!r&&!(t&it);this.initFunction(e,s);if(this.match(c.star)&&i){this.raise(this.state.start,d.GeneratorInSingleStatementContext)}e.generator=this.eat(c.star);if(r){e.id=this.parseFunctionId(n)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(S);this.prodParam.enter(functionFlags(s,e.generator));if(!r){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,r?"FunctionDeclaration":"FunctionExpression")});this.prodParam.exit();this.scope.exit();if(r&&!i){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||this.match(c.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(c.parenL);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(c.parenR,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?Z:Q:ee,e.id.start)}parseClass(e,t,s){this.next();this.takeDecorators(e);const r=this.state.strict;this.state.strict=true;this.parseClassId(e,t,s);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,r);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(c.eq)||this.match(c.semi)||this.match(c.braceR)}isClassMethod(){return this.match(c.parenL)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const s={hadConstructor:false,hadSuperClass:e};let r=[];const i=this.startNode();i.body=[];this.expect(c.braceL);this.withTopicForbiddingContext(()=>{while(!this.match(c.braceR)){if(this.eat(c.semi)){if(r.length>0){throw this.raise(this.state.lastTokEnd,d.DecoratorSemicolon)}continue}if(this.match(c.at)){r.push(this.parseDecorator());continue}const e=this.startNode();if(r.length){e.decorators=r;this.resetStartLocationFromNode(e,r[0]);r=[]}this.parseClassMember(i,e,s);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(e.start,d.DecoratorConstructor)}}});this.state.strict=t;this.next();if(r.length){throw this.raise(this.state.start,d.TrailingDecorator)}this.classScope.exit();return this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){const s=this.parseIdentifier(true);if(this.isClassMethod()){const r=t;r.kind="method";r.computed=false;r.key=s;r.static=false;this.pushClassMethod(e,r,false,false,false,false);return true}else if(this.isClassProperty()){const r=t;r.computed=false;r.key=s;r.static=false;e.body.push(this.parseClassProperty(r));return true}return false}parseClassMember(e,t,s){const r=this.isContextual("static");if(r){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(c.braceL)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,s,r)}parseClassMemberWithIsStatic(e,t,s,r){const i=t;const n=t;const a=t;const o=t;const l=i;const p=i;t.static=r;if(this.eat(c.star)){l.kind="method";const t=this.match(c.privateName);this.parseClassElementName(l);if(t){this.pushClassPrivateMethod(e,n,true,false);return}if(this.isNonstaticConstructor(i)){this.raise(i.key.start,d.ConstructorIsGenerator)}this.pushClassMethod(e,i,true,false,false,false);return}const u=this.state.containsEsc;const h=this.match(c.privateName);const f=this.parseClassElementName(t);const y=f.type==="Identifier";const m=this.state.start;this.parsePostMemberNameModifiers(p);if(this.isClassMethod()){l.kind="method";if(h){this.pushClassPrivateMethod(e,n,false,false);return}const r=this.isNonstaticConstructor(i);let a=false;if(r){i.kind="constructor";if(s.hadConstructor&&!this.hasPlugin("typescript")){this.raise(f.start,d.DuplicateConstructor)}if(r&&this.hasPlugin("typescript")&&t.override){this.raise(f.start,d.OverrideOnConstructor)}s.hadConstructor=true;a=s.hadSuperClass}this.pushClassMethod(e,i,false,false,r,a)}else if(this.isClassProperty()){if(h){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(y&&f.name==="async"&&!u&&!this.isLineTerminator()){const t=this.eat(c.star);if(p.optional){this.unexpected(m)}l.kind="method";const s=this.match(c.privateName);this.parseClassElementName(l);this.parsePostMemberNameModifiers(p);if(s){this.pushClassPrivateMethod(e,n,t,true)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,d.ConstructorIsAsync)}this.pushClassMethod(e,i,t,true,false,false)}}else if(y&&(f.name==="get"||f.name==="set")&&!u&&!(this.match(c.star)&&this.isLineTerminator())){l.kind=f.name;const t=this.match(c.privateName);this.parseClassElementName(i);if(t){this.pushClassPrivateMethod(e,n,false,false)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,d.ConstructorIsAccessor)}this.pushClassMethod(e,i,false,false,false,false)}this.checkGetterSetterParams(i)}else if(this.isLineTerminator()){if(h){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:s,start:r}=this.state;if((t===c.name||t===c.string)&&e.static&&s==="prototype"){this.raise(r,d.StaticPrototype)}if(t===c.privateName&&s==="constructor"){this.raise(r,d.ConstructorClassPrivateField)}return this.parsePropertyName(e,true)}parseClassStaticBlock(e,t){var s;this.expectPlugin("classStaticBlock",t.start);this.scope.enter(F|M|D);const r=this.state.labels;this.state.labels=[];this.prodParam.enter(je);const i=t.body=[];this.parseBlockOrModuleBlockBody(i,undefined,false,c.braceR);this.prodParam.exit();this.scope.exit();this.state.labels=r;e.body.push(this.finishNode(t,"StaticBlock"));if((s=t.decorators)!=null&&s.length){this.raise(t.start,d.DecoratorStaticBlock)}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(t.key.start,d.ConstructorClassField)}e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const s=this.parseClassPrivateProperty(t);e.body.push(s);this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),be,s.key.start)}pushClassMethod(e,t,s,r,i,n){e.body.push(this.parseMethod(t,s,r,i,n,"ClassMethod",true))}pushClassPrivateMethod(e,t,s,r){const i=this.parseMethod(t,s,r,false,false,"ClassPrivateMethod",true);e.body.push(i);const n=i.kind==="get"?i.static?de:me:i.kind==="set"?i.static?ye:ge:be;this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),n,i.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(F|D);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(je);e.value=this.eat(c.eq)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,s,r=Y){if(this.match(c.name)){e.id=this.parseIdentifier();if(t){this.checkLVal(e.id,"class name",r)}}else{if(s||!t){e.id=null}else{this.unexpected(null,d.MissingClassName)}}}parseClassSuper(e){e.superClass=this.eat(c._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const s=!t||this.eat(c.comma);const r=s&&this.eatExportStar(e);const i=r&&this.maybeParseExportNamespaceSpecifier(e);const n=s&&(!i||this.eat(c.comma));const a=t||r;if(r&&!i){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&s&&!r&&!o||i&&n&&!o){throw this.unexpected(null,c.braceL)}let l;if(a||o){l=false;this.parseExportFrom(e,a)}else{l=this.maybeParseExportDeclaration(e)}if(a||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(c._default)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,c.braceL)}eatExportStar(e){return this.eat(c.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(c.braceL)){if(!e.specifiers)e.specifiers=[];e.specifiers.push(...this.parseExportSpecifiers());e.source=null;e.declaration=null;return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual("async"))return false;const e=this.nextTokenStart();return!p.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(c._function)||t){this.next();if(t){this.next()}return this.parseFunction(e,st|it,t)}else if(this.match(c._class)){return this.parseClass(e,true,true)}else if(this.match(c.at)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,d.DecoratorBeforeExport)}this.parseDecorators(false);return this.parseClass(e,true,true)}else if(this.match(c._const)||this.match(c._var)||this.isLet()){throw this.raise(this.state.start,d.UnsupportedDefaultExport)}else{const e=this.parseMaybeAssignAllowIn();this.semicolon();return e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(c.name)){const e=this.state.value;if(e==="async"&&!this.state.containsEsc||e==="let"){return false}if((e==="type"||e==="interface")&&!this.state.containsEsc){const e=this.lookahead();if(e.type===c.name&&e.value!=="from"||e.type===c.braceL){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(c._default)){return false}const e=this.nextTokenStart();const t=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||this.match(c.name)&&t){return true}if(this.match(c._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return t===34||t===39}return false}parseExportFrom(e,t){if(this.eatContextual("from")){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else{if(t){this.unexpected()}else{e.source=null}}this.semicolon()}shouldParseExportDeclaration(){if(this.match(c.at)){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){this.unexpected(this.state.start,d.DecoratorBeforeExport)}else{return true}}}return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isLet()||this.isAsyncFunction()}checkExport(e,t,s,r){if(t){if(s){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var i;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((i=t.extra)!=null&&i.parenthesized)){this.raise(t.start,d.ExportDefaultFromAsIdentifier)}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const s=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,s);if(!r&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(t.start,d.ExportBindingIsString,e.value,s)}else{this.checkReservedWord(e.name,e.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}const n=this.state.decoratorStack[this.state.decoratorStack.length-1];if(n.length){throw this.raise(e.start,d.UnsupportedDecoratorExport)}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){this.raise(e.start,t==="default"?d.DuplicateDefaultExport:d.DuplicateExport,t)}this.exportedIdentifiers.add(t)}parseExportSpecifiers(){const e=[];let t=true;this.expect(c.braceL);while(!this.eat(c.braceR)){if(t){t=false}else{this.expect(c.comma);if(this.eat(c.braceR))break}const s=this.startNode();s.local=this.parseModuleExportName();s.exported=this.eatContextual("as")?this.parseModuleExportName():s.local.__clone();e.push(this.finishNode(s,"ExportSpecifier"))}return e}parseModuleExportName(){if(this.match(c.string)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(nt);if(t){this.raise(e.start,d.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16))}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(c.string)){const t=this.maybeParseDefaultImportSpecifier(e);const s=!t||this.eat(c.comma);const r=s&&this.maybeParseStarImportSpecifier(e);if(s&&!r)this.parseNamedImportSpecifiers(e);this.expectContextual("from")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(c.string))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(c.name)}parseImportSpecifierLocal(e,t,s,r){t.local=this.parseIdentifier();this.checkLVal(t.local,r,Q);e.specifiers.push(this.finishNode(t,s))}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(c.braceR)){break}const s=this.startNode();const r=this.state.value;if(t.has(r)){this.raise(this.state.start,d.ModuleAttributesWithDuplicateKeys,r)}t.add(r);if(this.match(c.string)){s.key=this.parseStringLiteral(r)}else{s.key=this.parseIdentifier(true)}this.expect(c.colon);if(!this.match(c.string)){throw this.unexpected(this.state.start,d.ModuleAttributeInvalidValue)}s.value=this.parseStringLiteral(this.state.value);this.finishNode(s,"ImportAttribute");e.push(s)}while(this.eat(c.comma));return e}maybeParseModuleAttributes(){if(this.match(c._with)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const s=this.startNode();s.key=this.parseIdentifier(true);if(s.key.name!=="type"){this.raise(s.key.start,d.ModuleAttributeDifferentFromType,s.key.name)}if(t.has(s.key.name)){this.raise(s.key.start,d.ModuleAttributesWithDuplicateKeys,s.key.name)}t.add(s.key.name);this.expect(c.colon);if(!this.match(c.string)){throw this.unexpected(this.state.start,d.ModuleAttributeInvalidValue)}s.value=this.parseStringLiteral(this.state.value);this.finishNode(s,"ImportAttribute");e.push(s)}while(this.eat(c.comma));return e}maybeParseImportAssertions(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(c.braceL);const e=this.parseAssertEntries();this.eat(c.braceR);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(c.star)){const t=this.startNode();this.next();this.expectContextual("as");this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(c.braceL);while(!this.eat(c.braceR)){if(t){t=false}else{if(this.eat(c.colon)){throw this.raise(this.state.start,d.DestructureNamedImport)}this.expect(c.comma);if(this.eat(c.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();const s=this.match(c.string);t.imported=this.parseModuleExportName();if(this.eatContextual("as")){t.local=this.parseIdentifier()}else{const{imported:e}=t;if(s){throw this.raise(t.start,d.ImportBindingIsString,e.value)}this.checkReservedWord(e.name,t.start,true,true);t.local=e.__clone()}this.checkLVal(t.local,"import specifier",Q);e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const s of e){const[e,r]=Array.isArray(s)?s:[s,{}];if(!t.has(e))t.set(e,r||{})}return t}function parse(e,t){var s;if(((s=t)==null?void 0:s.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const s=getParser(t,e);const r=s.parse();if(s.sawUnambiguousESM){return r}if(s.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{r.program.sourceType="script"}return r}catch(s){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw s}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const s=getParser(t,e);if(s.options.strictMode){s.state.strict=true}return s.getExpression()}function getParser(e,t){let s=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);s=getParserClass(e.plugins)}return new s(e,t)}const ot={};function getParserClass(e){const t=qe.filter(t=>hasPlugin(e,t));const s=t.join("/");let r=ot[s];if(!r){r=Parser;for(const e of t){r=We[e](r)}ot[s]=r}return r}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=c},96659:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=annotateAsPure;var r=s(19761);const i="#__PURE__";const n=({leadingComments:e})=>!!e&&e.some(e=>/[@#]__PURE__/.test(e.value));function annotateAsPure(e){const t=e["node"]||e;if(n(t)){return}r.addComment(t,"leading",i)}},58983:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var r=s(82016);var i=s(19761);function _default(e){const{build:t,operator:s}=e;return{AssignmentExpression(e){const{node:n,scope:a}=e;if(n.operator!==s+"=")return;const o=[];const l=(0,r.default)(n.left,o,this,a);o.push(i.assignmentExpression("=",l.ref,t(l.uid,n.right)));e.replaceWith(i.sequenceExpression(o))},BinaryExpression(e){const{node:r}=e;if(r.operator===s){e.replaceWith(t(r.left,r.right))}}}}},81444:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getInclusionReasons=getInclusionReasons;var r=s(62519);var i=s(33625);var n=s(74048);function getInclusionReasons(e,t,s){const a=s[e]||{};return Object.keys(t).reduce((e,s)=>{const o=(0,n.getLowestImplementedVersion)(a,s);const l=t[s];if(!o){e[s]=(0,i.prettifyVersion)(l)}else{const t=(0,n.isUnreleasedVersion)(o,s);const a=(0,n.isUnreleasedVersion)(l,s);if(!a&&(t||r.lt(l.toString(),(0,n.semverify)(o)))){e[s]=(0,i.prettifyVersion)(l)}}return e},{})}},38616:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.targetsSupported=targetsSupported;t.isRequired=isRequired;t.default=filterItems;var r=s(62519);var i=s(72153);var n=s(74048);function targetsSupported(e,t){const s=Object.keys(e);if(s.length===0){return false}const i=s.filter(s=>{const i=(0,n.getLowestImplementedVersion)(t,s);if(!i){return true}const a=e[s];if((0,n.isUnreleasedVersion)(a,s)){return false}if((0,n.isUnreleasedVersion)(i,s)){return true}if(!r.valid(a.toString())){throw new Error(`Invalid version passed for target "${s}": "${a}". `+"Versions must be in semver format (major.minor.patch)")}return r.gt((0,n.semverify)(i),a.toString())});return i.length===0}function isRequired(e,t,{compatData:s=i,includes:r,excludes:n}={}){if(n!=null&&n.has(e))return false;if(r!=null&&r.has(e))return true;return!targetsSupported(t,s[e])}function filterItems(e,t,s,r,i,n,a){const o=new Set;const l={compatData:e,includes:t,excludes:s};for(const t in e){if(isRequired(t,r,l)){o.add(t)}else if(a){const e=a.get(t);if(e){o.add(e)}}}if(i){i.forEach(e=>!s.has(e)&&o.add(e))}if(n){n.forEach(e=>!t.has(e)&&o.delete(e))}return o}},34487:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isBrowsersQueryValid=isBrowsersQueryValid;t.default=getTargets;Object.defineProperty(t,"unreleasedLabels",{enumerable:true,get:function(){return o.unreleasedLabels}});Object.defineProperty(t,"TargetNames",{enumerable:true,get:function(){return l.TargetNames}});Object.defineProperty(t,"prettifyTargets",{enumerable:true,get:function(){return c.prettifyTargets}});Object.defineProperty(t,"getInclusionReasons",{enumerable:true,get:function(){return p.getInclusionReasons}});Object.defineProperty(t,"filterItems",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"isRequired",{enumerable:true,get:function(){return u.isRequired}});var r=s(3561);var i=s(69562);var n=s(1335);var a=s(74048);var o=s(58601);var l=s(9451);var c=s(33625);var p=s(81444);var u=s(38616);const h=n["es6.module"];const f=new i.OptionValidator("@babel/helper-compilation-targets");function validateTargetNames(e){const t=Object.keys(l.TargetNames);for(const s of Object.keys(e)){if(!(s in l.TargetNames)){throw new Error(f.formatMessage(`'${s}' is not a valid target\n- Did you mean '${(0,i.findSuggestion)(s,t)}'?`))}}return e}function isBrowsersQueryValid(e){return typeof e==="string"||Array.isArray(e)&&e.every(e=>typeof e==="string")}function validateBrowsers(e){f.invariant(e===undefined||isBrowsersQueryValid(e),`'${String(e)}' is not a valid browserslist query`);return e}function getLowestVersions(e){return e.reduce((e,t)=>{const[s,r]=t.split(" ");const i=o.browserNameMap[s];if(!i){return e}try{const t=r.split("-")[0].toLowerCase();const n=(0,a.isUnreleasedVersion)(t,s);if(!e[i]){e[i]=n?t:(0,a.semverify)(t);return e}const o=e[i];const l=(0,a.isUnreleasedVersion)(o,s);if(l&&n){e[i]=(0,a.getLowestUnreleased)(o,t,s)}else if(l){e[i]=(0,a.semverify)(t)}else if(!l&&!n){const s=(0,a.semverify)(t);e[i]=(0,a.semverMin)(o,s)}}catch(e){}return e},{})}function outputDecimalWarning(e){if(!e.length){return}console.warn("Warning, the following targets are using a decimal version:\n");e.forEach(({target:e,value:t})=>console.warn(` ${e}: ${t}`));console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`)}function semverifyTarget(e,t){try{return(0,a.semverify)(t)}catch(s){throw new Error(f.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}const d={__default(e,t){const s=(0,a.isUnreleasedVersion)(t,e)?t.toLowerCase():semverifyTarget(e,t);return[e,s]},node(e,t){const s=t===true||t==="current"?process.versions.node:semverifyTarget(e,t);return[e,s]}};function generateTargets(e){const t=Object.assign({},e);delete t.esmodules;delete t.browsers;return t}function resolveTargets(e){const t=r(e,{mobileToDesktop:true});return getLowestVersions(t)}function getTargets(e={},t={}){var s;let{browsers:i,esmodules:n}=e;const{configPath:o="."}=t;validateBrowsers(i);const l=generateTargets(e);let c=validateTargetNames(l);const p=!!i;const u=p||Object.keys(c).length>0;const f=!t.ignoreBrowserslistConfig&&!u;if(!i&&f){i=r.loadConfig({config:t.configFile,path:o,env:t.browserslistEnv});if(i==null){{i=[]}}}if(n&&(n!=="intersect"||!((s=i)!=null&&s.length))){i=Object.keys(h).map(e=>`${e} >= ${h[e]}`).join(", ");n=false}if(i){const e=resolveTargets(i);if(n==="intersect"){for(const t of Object.keys(e)){const s=e[t];if(h[t]){e[t]=(0,a.getHighestUnreleased)(s,(0,a.semverify)(h[t]),t)}else{delete e[t]}}}c=Object.assign(e,c)}const y={};const m=[];for(const e of Object.keys(c).sort()){var g;const t=c[e];if(typeof t==="number"&&t%1!==0){m.push({target:e,value:t})}const s=(g=d[e])!=null?g:d.__default;const[r,i]=s(e,t);if(i){y[r]=i}}outputDecimalWarning(m);return y}},9451:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TargetNames=void 0;const s={node:"node",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung"};t.TargetNames=s},33625:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.prettifyVersion=prettifyVersion;t.prettifyTargets=prettifyTargets;var r=s(62519);var i=s(58601);function prettifyVersion(e){if(typeof e!=="string"){return e}const t=[r.major(e)];const s=r.minor(e);const i=r.patch(e);if(s||i){t.push(s)}if(i){t.push(i)}return t.join(".")}function prettifyTargets(e){return Object.keys(e).reduce((t,s)=>{let r=e[s];const n=i.unreleasedLabels[s];if(typeof r==="string"&&n!==r){r=prettifyVersion(r)}t[s]=r;return t},{})}},58601:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.browserNameMap=t.unreleasedLabels=void 0;const s={safari:"tp"};t.unreleasedLabels=s;const r={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",op_mob:"opera",opera:"opera",safari:"safari",samsung:"samsung"};t.browserNameMap=r},74048:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.semverMin=semverMin;t.semverify=semverify;t.isUnreleasedVersion=isUnreleasedVersion;t.getLowestUnreleased=getLowestUnreleased;t.getHighestUnreleased=getHighestUnreleased;t.getLowestImplementedVersion=getLowestImplementedVersion;var r=s(62519);var i=s(69562);var n=s(58601);const a=/^(\d+|\d+.\d+)$/;const o=new i.OptionValidator("@babel/helper-compilation-targets");function semverMin(e,t){return e&&r.lt(e,t)?e:t}function semverify(e){if(typeof e==="string"&&r.valid(e)){return e}o.invariant(typeof e==="number"||typeof e==="string"&&a.test(e),`'${e}' is not a valid version`);const t=e.toString().split(".");while(t.length<3){t.push("0")}return t.join(".")}function isUnreleasedVersion(e,t){const s=n.unreleasedLabels[t];return!!s&&s===e.toString().toLowerCase()}function getLowestUnreleased(e,t,s){const r=n.unreleasedLabels[s];const i=[e,t].some(e=>e===r);if(i){return e===i?t:e||t}return semverMin(e,t)}function getHighestUnreleased(e,t,s){return getLowestUnreleased(e,t,s)===e?t:e}function getLowestImplementedVersion(e,t){const s=e[t];if(!s&&t==="android"){return e.chrome}return s}},64158:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasOwnDecorators=hasOwnDecorators;t.hasDecorators=hasDecorators;t.buildDecoratedClass=buildDecoratedClass;var r=s(85850);var i=s(846);var n=s(98733);function hasOwnDecorators(e){return!!(e.decorators&&e.decorators.length)}function hasDecorators(e){return hasOwnDecorators(e)||e.body.body.some(hasOwnDecorators)}function prop(e,t){if(!t)return null;return r.types.objectProperty(r.types.identifier(e),t)}function method(e,t){return r.types.objectMethod("method",r.types.identifier(e),[],r.types.blockStatement(t))}function takeDecorators(e){let t;if(e.decorators&&e.decorators.length>0){t=r.types.arrayExpression(e.decorators.map(e=>e.expression))}e.decorators=undefined;return t}function getKey(e){if(e.computed){return e.key}else if(r.types.isIdentifier(e.key)){return r.types.stringLiteral(e.key.name)}else{return r.types.stringLiteral(String(e.key.value))}}function extractElementDescriptor(e,t,s){const{node:a,scope:o}=s;const l=s.isClassMethod();if(s.isPrivate()){throw s.buildCodeFrameError(`Private ${l?"methods":"fields"} in decorated classes are not supported yet.`)}new i.default({methodPath:s,objectRef:e,superRef:t,file:this,refToPreserve:e}).replace();const c=[prop("kind",r.types.stringLiteral(l?a.kind:"field")),prop("decorators",takeDecorators(a)),prop("static",a.static&&r.types.booleanLiteral(true)),prop("key",getKey(a))].filter(Boolean);if(l){const e=a.computed?null:a.key;r.types.toExpression(a);c.push(prop("value",(0,n.default)({node:a,id:e,scope:o})||a))}else if(a.value){c.push(method("value",r.template.statements.ast`return ${a.value}`))}else{c.push(prop("value",o.buildUndefinedNode()))}s.remove();return r.types.objectExpression(c)}function addDecorateHelper(e){try{return e.addHelper("decorate")}catch(e){if(e.code==="BABEL_HELPER_UNKNOWN"){e.message+="\n '@babel/plugin-transform-decorators' in non-legacy mode"+" requires '@babel/core' version ^7.0.2 and you appear to be using"+" an older version."}throw e}}function buildDecoratedClass(e,t,s,i){const{node:n,scope:a}=t;const o=a.generateUidIdentifier("initialize");const l=n.id&&t.isDeclaration();const c=t.isInStrictMode();const{superClass:p}=n;n.type="ClassDeclaration";if(!n.id)n.id=r.types.cloneNode(e);let u;if(p){u=a.generateUidIdentifierBasedOnNode(n.superClass,"super");n.superClass=u}const h=takeDecorators(n);const f=r.types.arrayExpression(s.filter(e=>!e.node.abstract).map(extractElementDescriptor.bind(i,n.id,u)));const d=r.template.expression.ast` + ${addDecorateHelper(i)}( + ${h||r.types.nullLiteral()}, + function (${o}, ${p?r.types.cloneNode(u):null}) { + ${n} + return { F: ${r.types.cloneNode(n.id)}, d: ${f} }; }, ${p} ) - `;if(!u){y.arguments[1].body.directives.push(n.types.directive(n.types.directiveLiteral("use strict")))}let m=y;let T="arguments.1.body.body.0";if(l){m=n.template.statement.ast`let ${e} = ${y}`;T="declarations.0.init."+T}return{instanceNodes:[n.template.statement.ast`${n.types.cloneNode(o)}(this)`],wrapClass(e){e.replaceWith(m);return e.get(T)}}}},76912:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.enableFeature=enableFeature;t.isLoose=isLoose;t.verifyUsedFeatures=verifyUsedFeatures;t.FEATURES=void 0;var n=r(64158);const s=Object.freeze({fields:1<<1,privateMethods:1<<2,decorators:1<<3,privateIn:1<<4,staticBlocks:1<<5});t.FEATURES=s;const i=new Map([[s.fields,"@babel/plugin-proposal-class-properties"],[s.privateMethods,"@babel/plugin-proposal-private-methods"],[s.privateIn,"@babel/plugin-proposal-private-property-in-object"]]);const a="@babel/plugin-class-features/featuresKey";const o="@babel/plugin-class-features/looseKey";const l="@babel/plugin-class-features/looseLowPriorityKey/#__internal__@babel/preset-env__please-overwrite-loose-instead-of-throwing";function enableFeature(e,t,r){if(!hasFeature(e,t)||canIgnoreLoose(e,t)){e.set(a,e.get(a)|t);if(r==="#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error"){setLoose(e,t,true);e.set(l,e.get(l)|t)}else if(r==="#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"){setLoose(e,t,false);e.set(l,e.get(l)|t)}else{setLoose(e,t,r)}}let n;let s;for(const[t,r]of i){if(!hasFeature(e,t))continue;const i=isLoose(e,t);if(canIgnoreLoose(e,t)){continue}else if(n===!i){throw new Error("'loose' mode configuration must be the same for @babel/plugin-proposal-class-properties, "+"@babel/plugin-proposal-private-methods and "+"@babel/plugin-proposal-private-property-in-object (when they are enabled).")}else{n=i;s=r}}if(n!==undefined){for(const[t,r]of i){if(hasFeature(e,t)&&isLoose(e,t)!==n){setLoose(e,t,n);console.warn(`Though the "loose" option was set to "${!n}" in your @babel/preset-env `+`config, it will not be used for ${r} since the "loose" mode option was set to `+`"${n}" for ${s}.\nThe "loose" option must be the `+`same for @babel/plugin-proposal-class-properties, @babel/plugin-proposal-private-methods `+`and @babel/plugin-proposal-private-property-in-object (when they are enabled): you can `+`silence this warning by explicitly adding\n`+`\t["${r}", { "loose": ${n} }]\n`+`to the "plugins" section of your Babel config.`)}}}}function hasFeature(e,t){return!!(e.get(a)&t)}function isLoose(e,t){return!!(e.get(o)&t)}function setLoose(e,t,r){if(r)e.set(o,e.get(o)|t);else e.set(o,e.get(o)&~t);e.set(l,e.get(l)&~t)}function canIgnoreLoose(e,t){return!!(e.get(l)&t)}function verifyUsedFeatures(e,t){if((0,n.hasOwnDecorators)(e.node)){if(!hasFeature(t,s.decorators)){throw e.buildCodeFrameError("Decorators are not enabled."+"\nIf you are using "+'["@babel/plugin-proposal-decorators", { "legacy": true }], '+'make sure it comes *before* "@babel/plugin-proposal-class-properties" '+"and enable loose mode, like so:\n"+'\t["@babel/plugin-proposal-decorators", { "legacy": true }]\n'+'\t["@babel/plugin-proposal-class-properties", { "loose": true }]')}if(e.isPrivate()){throw e.buildCodeFrameError(`Private ${e.isClassMethod()?"methods":"fields"} in decorated classes are not supported yet.`)}}if(e.isPrivateMethod!=null&&e.isPrivateMethod()){if(!hasFeature(t,s.privateMethods)){throw e.buildCodeFrameError("Class private methods are not enabled.")}}if(e.isPrivateName()&&e.parentPath.isBinaryExpression({operator:"in",left:e.node})){if(!hasFeature(t,s.privateIn)){throw e.buildCodeFrameError("Private property in checks are not enabled.")}}if(e.isProperty()){if(!hasFeature(t,s.fields)){throw e.buildCodeFrameError("Class fields are not enabled.")}}if(e.isStaticBlock!=null&&e.isStaticBlock()){if(!hasFeature(t,s.staticBlocks)){throw e.buildCodeFrameError("Static class blocks are not enabled. "+"Please add `@babel/plugin-proposal-class-static-block` to your configuration.")}}}},11752:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPrivateNamesMap=buildPrivateNamesMap;t.buildPrivateNamesNodes=buildPrivateNamesNodes;t.transformPrivateNamesUsage=transformPrivateNamesUsage;t.buildFieldsInitNodes=buildFieldsInitNodes;var n=r(85850);var s=r(846);var i=r(45318);var a=r(68720);var o=r(96659);var l=r(38389);function buildPrivateNamesMap(e){const t=new Map;for(const r of e){const e=r.isPrivate();const n=!r.isProperty();const s=!r.node.static;if(e){const{name:e}=r.node.key.id;const i=t.has(e)?t.get(e):{id:r.scope.generateUidIdentifier(e),static:!s,method:n};if(r.node.kind==="get"){i.getId=r.scope.generateUidIdentifier(`get_${e}`)}else if(r.node.kind==="set"){i.setId=r.scope.generateUidIdentifier(`set_${e}`)}else if(r.node.kind==="method"){i.methodId=r.scope.generateUidIdentifier(e)}t.set(e,i)}}return t}function buildPrivateNamesNodes(e,t,r){const s=[];for(const[i,a]of e){const{static:e,method:l,getId:u,setId:p}=a;const f=u||p;const c=n.types.cloneNode(a.id);let d;if(t){d=n.types.callExpression(r.addHelper("classPrivateFieldLooseKey"),[n.types.stringLiteral(i)])}else if(!e){d=n.types.newExpression(n.types.identifier(!l||f?"WeakMap":"WeakSet"),[])}if(d){(0,o.default)(d);s.push(n.template.statement.ast`var ${c} = ${d}`)}}return s}function privateNameVisitorFactory(e){const t=Object.assign({},e,{Class(e){const{privateNamesMap:n}=this;const s=e.get("body.body");const i=new Map(n);const a=[];for(const e of s){if(!e.isPrivate())continue;const{name:t}=e.node.key.id;i.delete(t);a.push(t)}if(!a.length){return}e.get("body").traverse(r,Object.assign({},this,{redeclared:a}));e.traverse(t,Object.assign({},this,{privateNamesMap:i}));e.skipKey("body")}});const r=n.traverse.visitors.merge([Object.assign({},e),s.environmentVisitor]);return t}const u=privateNameVisitorFactory({PrivateName(e,{noDocumentAll:t}){const{privateNamesMap:r,redeclared:n}=this;const{node:s,parentPath:i}=e;if(!i.isMemberExpression({property:s})&&!i.isOptionalMemberExpression({property:s})){return}const{name:a}=s.id;if(!r.has(a))return;if(n&&n.includes(a))return;this.handle(i,t)}});const p=privateNameVisitorFactory({BinaryExpression(e){const{operator:t,left:r,right:s}=e.node;if(t!=="in")return;if(!e.get("left").isPrivateName())return;const{privateFieldsAsProperties:i,privateNamesMap:a,redeclared:o}=this;const{name:l}=r.id;if(!a.has(l))return;if(o&&o.includes(l))return;if(i){const{id:t}=a.get(l);e.replaceWith(n.template.expression.ast` - Object.prototype.hasOwnProperty.call(${s}, ${n.types.cloneNode(t)}) - `);return}const{id:u,static:p}=a.get(l);if(p){e.replaceWith(n.template.expression.ast`${s} === ${this.classRef}`);return}e.replaceWith(n.template.expression.ast`${n.types.cloneNode(u)}.has(${s})`)}});const f={memoise(e,t){const{scope:r}=e;const{object:n}=e.node;const s=r.maybeGenerateMemoised(n);if(!s){return}this.memoiser.set(n,s,t)},receiver(e){const{object:t}=e.node;if(this.memoiser.has(t)){return n.types.cloneNode(this.memoiser.get(t))}return n.types.cloneNode(t)},get(e){const{classRef:t,privateNamesMap:r,file:s}=this;const{name:i}=e.node.property.id;const{id:a,static:o,method:l,methodId:u,getId:p,setId:f}=r.get(i);const c=p||f;if(o){const r=l&&!c?"classStaticPrivateMethodGet":"classStaticPrivateFieldSpecGet";return n.types.callExpression(s.addHelper(r),[this.receiver(e),n.types.cloneNode(t),n.types.cloneNode(a)])}if(l){if(c){if(!p&&f){if(s.availableHelper("writeOnlyError")){return n.types.sequenceExpression([this.receiver(e),n.types.callExpression(s.addHelper("writeOnlyError"),[n.types.stringLiteral(`#${i}`)])])}console.warn(`@babel/helpers is outdated, update it to silence this warning.`)}return n.types.callExpression(s.addHelper("classPrivateFieldGet"),[this.receiver(e),n.types.cloneNode(a)])}return n.types.callExpression(s.addHelper("classPrivateMethodGet"),[this.receiver(e),n.types.cloneNode(a),n.types.cloneNode(u)])}return n.types.callExpression(s.addHelper("classPrivateFieldGet"),[this.receiver(e),n.types.cloneNode(a)])},boundGet(e){this.memoise(e,1);return n.types.callExpression(n.types.memberExpression(this.get(e),n.types.identifier("bind")),[this.receiver(e)])},set(e,t){const{classRef:r,privateNamesMap:s,file:i}=this;const{name:a}=e.node.property.id;const{id:o,static:l,method:u,setId:p,getId:f}=s.get(a);const c=f||p;if(l){const s=u&&!c?"classStaticPrivateMethodSet":"classStaticPrivateFieldSpecSet";return n.types.callExpression(i.addHelper(s),[this.receiver(e),n.types.cloneNode(r),n.types.cloneNode(o),t])}if(u){if(p){return n.types.callExpression(i.addHelper("classPrivateFieldSet"),[this.receiver(e),n.types.cloneNode(o),t])}return n.types.sequenceExpression([this.receiver(e),t,n.types.callExpression(i.addHelper("readOnlyError"),[n.types.stringLiteral(`#${a}`)])])}return n.types.callExpression(i.addHelper("classPrivateFieldSet"),[this.receiver(e),n.types.cloneNode(o),t])},destructureSet(e){const{classRef:t,privateNamesMap:r,file:s}=this;const{name:i}=e.node.property.id;const{id:a,static:o}=r.get(i);if(o){try{var l=s.addHelper("classStaticPrivateFieldDestructureSet")}catch(e){throw new Error("Babel can not transpile `[C.#p] = [0]` with @babel/helpers < 7.13.10, \n"+"please update @babel/helpers to the latest version.")}return n.types.memberExpression(n.types.callExpression(l,[this.receiver(e),n.types.cloneNode(t),n.types.cloneNode(a)]),n.types.identifier("value"))}return n.types.memberExpression(n.types.callExpression(s.addHelper("classPrivateFieldDestructureSet"),[this.receiver(e),n.types.cloneNode(a)]),n.types.identifier("value"))},call(e,t){this.memoise(e,1);return(0,a.default)(this.get(e),this.receiver(e),t,false)},optionalCall(e,t){this.memoise(e,1);return(0,a.default)(this.get(e),this.receiver(e),t,true)}};const c={get(e){const{privateNamesMap:t,file:r}=this;const{object:s}=e.node;const{name:i}=e.node.property.id;return n.template.expression`BASE(REF, PROP)[PROP]`({BASE:r.addHelper("classPrivateFieldLooseBase"),REF:n.types.cloneNode(s),PROP:n.types.cloneNode(t.get(i).id)})},boundGet(e){return n.types.callExpression(n.types.memberExpression(this.get(e),n.types.identifier("bind")),[n.types.cloneNode(e.node.object)])},simpleSet(e){return this.get(e)},destructureSet(e){return this.get(e)},call(e,t){return n.types.callExpression(this.get(e),t)},optionalCall(e,t){return n.types.optionalCallExpression(this.get(e),t,true)}};function transformPrivateNamesUsage(e,t,r,{privateFieldsAsProperties:n,noDocumentAll:s},a){if(!r.size)return;const o=t.get("body");const l=n?c:f;(0,i.default)(o,u,Object.assign({privateNamesMap:r,classRef:e,file:a},l,{noDocumentAll:s}));o.traverse(p,{privateNamesMap:r,classRef:e,file:a,privateFieldsAsProperties:n})}function buildPrivateFieldInitLoose(e,t,r){const{id:s}=r.get(t.node.key.id.name);const i=t.node.value||t.scope.buildUndefinedNode();return n.template.statement.ast` - Object.defineProperty(${e}, ${n.types.cloneNode(s)}, { + `;if(!c){d.arguments[1].body.directives.push(r.types.directive(r.types.directiveLiteral("use strict")))}let y=d;let m="arguments.1.body.body.0";if(l){y=r.template.statement.ast`let ${e} = ${d}`;m="declarations.0.init."+m}return{instanceNodes:[r.template.statement.ast`${r.types.cloneNode(o)}(this)`],wrapClass(e){e.replaceWith(y);return e.get(m)}}}},76912:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.enableFeature=enableFeature;t.isLoose=isLoose;t.verifyUsedFeatures=verifyUsedFeatures;t.FEATURES=void 0;var r=s(64158);const i=Object.freeze({fields:1<<1,privateMethods:1<<2,decorators:1<<3,privateIn:1<<4,staticBlocks:1<<5});t.FEATURES=i;const n=new Map([[i.fields,"@babel/plugin-proposal-class-properties"],[i.privateMethods,"@babel/plugin-proposal-private-methods"],[i.privateIn,"@babel/plugin-proposal-private-property-in-object"]]);const a="@babel/plugin-class-features/featuresKey";const o="@babel/plugin-class-features/looseKey";const l="@babel/plugin-class-features/looseLowPriorityKey/#__internal__@babel/preset-env__please-overwrite-loose-instead-of-throwing";function enableFeature(e,t,s){if(!hasFeature(e,t)||canIgnoreLoose(e,t)){e.set(a,e.get(a)|t);if(s==="#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error"){setLoose(e,t,true);e.set(l,e.get(l)|t)}else if(s==="#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"){setLoose(e,t,false);e.set(l,e.get(l)|t)}else{setLoose(e,t,s)}}let r;let i;for(const[t,s]of n){if(!hasFeature(e,t))continue;const n=isLoose(e,t);if(canIgnoreLoose(e,t)){continue}else if(r===!n){throw new Error("'loose' mode configuration must be the same for @babel/plugin-proposal-class-properties, "+"@babel/plugin-proposal-private-methods and "+"@babel/plugin-proposal-private-property-in-object (when they are enabled).")}else{r=n;i=s}}if(r!==undefined){for(const[t,s]of n){if(hasFeature(e,t)&&isLoose(e,t)!==r){setLoose(e,t,r);console.warn(`Though the "loose" option was set to "${!r}" in your @babel/preset-env `+`config, it will not be used for ${s} since the "loose" mode option was set to `+`"${r}" for ${i}.\nThe "loose" option must be the `+`same for @babel/plugin-proposal-class-properties, @babel/plugin-proposal-private-methods `+`and @babel/plugin-proposal-private-property-in-object (when they are enabled): you can `+`silence this warning by explicitly adding\n`+`\t["${s}", { "loose": ${r} }]\n`+`to the "plugins" section of your Babel config.`)}}}}function hasFeature(e,t){return!!(e.get(a)&t)}function isLoose(e,t){return!!(e.get(o)&t)}function setLoose(e,t,s){if(s)e.set(o,e.get(o)|t);else e.set(o,e.get(o)&~t);e.set(l,e.get(l)&~t)}function canIgnoreLoose(e,t){return!!(e.get(l)&t)}function verifyUsedFeatures(e,t){if((0,r.hasOwnDecorators)(e.node)){if(!hasFeature(t,i.decorators)){throw e.buildCodeFrameError("Decorators are not enabled."+"\nIf you are using "+'["@babel/plugin-proposal-decorators", { "legacy": true }], '+'make sure it comes *before* "@babel/plugin-proposal-class-properties" '+"and enable loose mode, like so:\n"+'\t["@babel/plugin-proposal-decorators", { "legacy": true }]\n'+'\t["@babel/plugin-proposal-class-properties", { "loose": true }]')}if(e.isPrivate()){throw e.buildCodeFrameError(`Private ${e.isClassMethod()?"methods":"fields"} in decorated classes are not supported yet.`)}}if(e.isPrivateMethod!=null&&e.isPrivateMethod()){if(!hasFeature(t,i.privateMethods)){throw e.buildCodeFrameError("Class private methods are not enabled.")}}if(e.isPrivateName()&&e.parentPath.isBinaryExpression({operator:"in",left:e.node})){if(!hasFeature(t,i.privateIn)){throw e.buildCodeFrameError("Private property in checks are not enabled.")}}if(e.isProperty()){if(!hasFeature(t,i.fields)){throw e.buildCodeFrameError("Class fields are not enabled.")}}if(e.isStaticBlock!=null&&e.isStaticBlock()){if(!hasFeature(t,i.staticBlocks)){throw e.buildCodeFrameError("Static class blocks are not enabled. "+"Please add `@babel/plugin-proposal-class-static-block` to your configuration.")}}}},11752:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPrivateNamesMap=buildPrivateNamesMap;t.buildPrivateNamesNodes=buildPrivateNamesNodes;t.transformPrivateNamesUsage=transformPrivateNamesUsage;t.buildFieldsInitNodes=buildFieldsInitNodes;var r=s(85850);var i=s(846);var n=s(45318);var a=s(68720);var o=s(96659);var l=s(38389);function buildPrivateNamesMap(e){const t=new Map;for(const s of e){const e=s.isPrivate();const r=!s.isProperty();const i=!s.node.static;if(e){const{name:e}=s.node.key.id;const n=t.has(e)?t.get(e):{id:s.scope.generateUidIdentifier(e),static:!i,method:r};if(s.node.kind==="get"){n.getId=s.scope.generateUidIdentifier(`get_${e}`)}else if(s.node.kind==="set"){n.setId=s.scope.generateUidIdentifier(`set_${e}`)}else if(s.node.kind==="method"){n.methodId=s.scope.generateUidIdentifier(e)}t.set(e,n)}}return t}function buildPrivateNamesNodes(e,t,s){const i=[];for(const[n,a]of e){const{static:e,method:l,getId:c,setId:p}=a;const u=c||p;const h=r.types.cloneNode(a.id);let f;if(t){f=r.types.callExpression(s.addHelper("classPrivateFieldLooseKey"),[r.types.stringLiteral(n)])}else if(!e){f=r.types.newExpression(r.types.identifier(!l||u?"WeakMap":"WeakSet"),[])}if(f){(0,o.default)(f);i.push(r.template.statement.ast`var ${h} = ${f}`)}}return i}function privateNameVisitorFactory(e){const t=Object.assign({},e,{Class(e){const{privateNamesMap:r}=this;const i=e.get("body.body");const n=new Map(r);const a=[];for(const e of i){if(!e.isPrivate())continue;const{name:t}=e.node.key.id;n.delete(t);a.push(t)}if(!a.length){return}e.get("body").traverse(s,Object.assign({},this,{redeclared:a}));e.traverse(t,Object.assign({},this,{privateNamesMap:n}));e.skipKey("body")}});const s=r.traverse.visitors.merge([Object.assign({},e),i.environmentVisitor]);return t}const c=privateNameVisitorFactory({PrivateName(e,{noDocumentAll:t}){const{privateNamesMap:s,redeclared:r}=this;const{node:i,parentPath:n}=e;if(!n.isMemberExpression({property:i})&&!n.isOptionalMemberExpression({property:i})){return}const{name:a}=i.id;if(!s.has(a))return;if(r&&r.includes(a))return;this.handle(n,t)}});const p=privateNameVisitorFactory({BinaryExpression(e){const{operator:t,left:s,right:i}=e.node;if(t!=="in")return;if(!e.get("left").isPrivateName())return;const{privateFieldsAsProperties:n,privateNamesMap:a,redeclared:o}=this;const{name:l}=s.id;if(!a.has(l))return;if(o&&o.includes(l))return;if(n){const{id:t}=a.get(l);e.replaceWith(r.template.expression.ast` + Object.prototype.hasOwnProperty.call(${i}, ${r.types.cloneNode(t)}) + `);return}const{id:c,static:p}=a.get(l);if(p){e.replaceWith(r.template.expression.ast`${i} === ${this.classRef}`);return}e.replaceWith(r.template.expression.ast`${r.types.cloneNode(c)}.has(${i})`)}});const u={memoise(e,t){const{scope:s}=e;const{object:r}=e.node;const i=s.maybeGenerateMemoised(r);if(!i){return}this.memoiser.set(r,i,t)},receiver(e){const{object:t}=e.node;if(this.memoiser.has(t)){return r.types.cloneNode(this.memoiser.get(t))}return r.types.cloneNode(t)},get(e){const{classRef:t,privateNamesMap:s,file:i}=this;const{name:n}=e.node.property.id;const{id:a,static:o,method:l,methodId:c,getId:p,setId:u}=s.get(n);const h=p||u;if(o){const s=l&&!h?"classStaticPrivateMethodGet":"classStaticPrivateFieldSpecGet";return r.types.callExpression(i.addHelper(s),[this.receiver(e),r.types.cloneNode(t),r.types.cloneNode(a)])}if(l){if(h){if(!p&&u){if(i.availableHelper("writeOnlyError")){return r.types.sequenceExpression([this.receiver(e),r.types.callExpression(i.addHelper("writeOnlyError"),[r.types.stringLiteral(`#${n}`)])])}console.warn(`@babel/helpers is outdated, update it to silence this warning.`)}return r.types.callExpression(i.addHelper("classPrivateFieldGet"),[this.receiver(e),r.types.cloneNode(a)])}return r.types.callExpression(i.addHelper("classPrivateMethodGet"),[this.receiver(e),r.types.cloneNode(a),r.types.cloneNode(c)])}return r.types.callExpression(i.addHelper("classPrivateFieldGet"),[this.receiver(e),r.types.cloneNode(a)])},boundGet(e){this.memoise(e,1);return r.types.callExpression(r.types.memberExpression(this.get(e),r.types.identifier("bind")),[this.receiver(e)])},set(e,t){const{classRef:s,privateNamesMap:i,file:n}=this;const{name:a}=e.node.property.id;const{id:o,static:l,method:c,setId:p,getId:u}=i.get(a);const h=u||p;if(l){const i=c&&!h?"classStaticPrivateMethodSet":"classStaticPrivateFieldSpecSet";return r.types.callExpression(n.addHelper(i),[this.receiver(e),r.types.cloneNode(s),r.types.cloneNode(o),t])}if(c){if(p){return r.types.callExpression(n.addHelper("classPrivateFieldSet"),[this.receiver(e),r.types.cloneNode(o),t])}return r.types.sequenceExpression([this.receiver(e),t,r.types.callExpression(n.addHelper("readOnlyError"),[r.types.stringLiteral(`#${a}`)])])}return r.types.callExpression(n.addHelper("classPrivateFieldSet"),[this.receiver(e),r.types.cloneNode(o),t])},destructureSet(e){const{classRef:t,privateNamesMap:s,file:i}=this;const{name:n}=e.node.property.id;const{id:a,static:o}=s.get(n);if(o){try{var l=i.addHelper("classStaticPrivateFieldDestructureSet")}catch(e){throw new Error("Babel can not transpile `[C.#p] = [0]` with @babel/helpers < 7.13.10, \n"+"please update @babel/helpers to the latest version.")}return r.types.memberExpression(r.types.callExpression(l,[this.receiver(e),r.types.cloneNode(t),r.types.cloneNode(a)]),r.types.identifier("value"))}return r.types.memberExpression(r.types.callExpression(i.addHelper("classPrivateFieldDestructureSet"),[this.receiver(e),r.types.cloneNode(a)]),r.types.identifier("value"))},call(e,t){this.memoise(e,1);return(0,a.default)(this.get(e),this.receiver(e),t,false)},optionalCall(e,t){this.memoise(e,1);return(0,a.default)(this.get(e),this.receiver(e),t,true)}};const h={get(e){const{privateNamesMap:t,file:s}=this;const{object:i}=e.node;const{name:n}=e.node.property.id;return r.template.expression`BASE(REF, PROP)[PROP]`({BASE:s.addHelper("classPrivateFieldLooseBase"),REF:r.types.cloneNode(i),PROP:r.types.cloneNode(t.get(n).id)})},boundGet(e){return r.types.callExpression(r.types.memberExpression(this.get(e),r.types.identifier("bind")),[r.types.cloneNode(e.node.object)])},simpleSet(e){return this.get(e)},destructureSet(e){return this.get(e)},call(e,t){return r.types.callExpression(this.get(e),t)},optionalCall(e,t){return r.types.optionalCallExpression(this.get(e),t,true)}};function transformPrivateNamesUsage(e,t,s,{privateFieldsAsProperties:r,noDocumentAll:i},a){if(!s.size)return;const o=t.get("body");const l=r?h:u;(0,n.default)(o,c,Object.assign({privateNamesMap:s,classRef:e,file:a},l,{noDocumentAll:i}));o.traverse(p,{privateNamesMap:s,classRef:e,file:a,privateFieldsAsProperties:r})}function buildPrivateFieldInitLoose(e,t,s){const{id:i}=s.get(t.node.key.id.name);const n=t.node.value||t.scope.buildUndefinedNode();return r.template.statement.ast` + Object.defineProperty(${e}, ${r.types.cloneNode(i)}, { // configurable is false by default // enumerable is false by default writable: true, - value: ${i} + value: ${n} }); - `}function buildPrivateInstanceFieldInitSpec(e,t,r){const{id:s}=r.get(t.node.key.id.name);const i=t.node.value||t.scope.buildUndefinedNode();return n.template.statement.ast`${n.types.cloneNode(s)}.set(${e}, { + `}function buildPrivateInstanceFieldInitSpec(e,t,s){const{id:i}=s.get(t.node.key.id.name);const n=t.node.value||t.scope.buildUndefinedNode();return r.template.statement.ast`${r.types.cloneNode(i)}.set(${e}, { // configurable is always false for private elements // enumerable is always false for private elements writable: true, - value: ${i}, - })`}function buildPrivateStaticFieldInitSpec(e,t){const r=t.get(e.node.key.id.name);const{id:s,getId:i,setId:a,initAdded:o}=r;const l=i||a;if(!e.isProperty()&&(o||!l))return;if(l){t.set(e.node.key.id.name,Object.assign({},r,{initAdded:true}));return n.template.statement.ast` - var ${n.types.cloneNode(s)} = { + value: ${n}, + })`}function buildPrivateStaticFieldInitSpec(e,t){const s=t.get(e.node.key.id.name);const{id:i,getId:n,setId:a,initAdded:o}=s;const l=n||a;if(!e.isProperty()&&(o||!l))return;if(l){t.set(e.node.key.id.name,Object.assign({},s,{initAdded:true}));return r.template.statement.ast` + var ${r.types.cloneNode(i)} = { // configurable is false by default // enumerable is false by default // writable is false by default - get: ${i?i.name:e.scope.buildUndefinedNode()}, + get: ${n?n.name:e.scope.buildUndefinedNode()}, set: ${a?a.name:e.scope.buildUndefinedNode()} } - `}const u=e.node.value||e.scope.buildUndefinedNode();return n.template.statement.ast` - var ${n.types.cloneNode(s)} = { + `}const c=e.node.value||e.scope.buildUndefinedNode();return r.template.statement.ast` + var ${r.types.cloneNode(i)} = { // configurable is false by default // enumerable is false by default writable: true, - value: ${u} + value: ${c} }; - `}function buildPrivateMethodInitLoose(e,t,r){const s=r.get(t.node.key.id.name);const{methodId:i,id:a,getId:o,setId:l,initAdded:u}=s;if(u)return;if(i){return n.template.statement.ast` + `}function buildPrivateMethodInitLoose(e,t,s){const i=s.get(t.node.key.id.name);const{methodId:n,id:a,getId:o,setId:l,initAdded:c}=i;if(c)return;if(n){return r.template.statement.ast` Object.defineProperty(${e}, ${a}, { // configurable is false by default // enumerable is false by default // writable is false by default - value: ${i.name} + value: ${n.name} }); - `}const p=o||l;if(p){r.set(t.node.key.id.name,Object.assign({},s,{initAdded:true}));return n.template.statement.ast` + `}const p=o||l;if(p){s.set(t.node.key.id.name,Object.assign({},i,{initAdded:true}));return r.template.statement.ast` Object.defineProperty(${e}, ${a}, { // configurable is false by default // enumerable is false by default @@ -110,29 +110,29 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m get: ${o?o.name:t.scope.buildUndefinedNode()}, set: ${l?l.name:t.scope.buildUndefinedNode()} }); - `}}function buildPrivateInstanceMethodInitSpec(e,t,r){const s=r.get(t.node.key.id.name);const{id:i,getId:a,setId:o,initAdded:l}=s;if(l)return;const u=a||o;if(u){r.set(t.node.key.id.name,Object.assign({},s,{initAdded:true}));return n.template.statement.ast` - ${i}.set(${e}, { + `}}function buildPrivateInstanceMethodInitSpec(e,t,s){const i=s.get(t.node.key.id.name);const{id:n,getId:a,setId:o,initAdded:l}=i;if(l)return;const c=a||o;if(c){s.set(t.node.key.id.name,Object.assign({},i,{initAdded:true}));return r.template.statement.ast` + ${n}.set(${e}, { get: ${a?a.name:t.scope.buildUndefinedNode()}, set: ${o?o.name:t.scope.buildUndefinedNode()} }); - `}return n.template.statement.ast`${i}.add(${e})`}function buildPublicFieldInitLoose(e,t){const{key:r,computed:s}=t.node;const i=t.node.value||t.scope.buildUndefinedNode();return n.types.expressionStatement(n.types.assignmentExpression("=",n.types.memberExpression(e,r,s||n.types.isLiteral(r)),i))}function buildPublicFieldInitSpec(e,t,r){const{key:s,computed:i}=t.node;const a=t.node.value||t.scope.buildUndefinedNode();return n.types.expressionStatement(n.types.callExpression(r.addHelper("defineProperty"),[e,i||n.types.isLiteral(s)?s:n.types.stringLiteral(s.name),a]))}function buildPrivateStaticMethodInitLoose(e,t,r,s){const i=s.get(t.node.key.id.name);const{id:a,methodId:o,getId:l,setId:u,initAdded:p}=i;if(p)return;const f=l||u;if(f){s.set(t.node.key.id.name,Object.assign({},i,{initAdded:true}));return n.template.statement.ast` + `}return r.template.statement.ast`${n}.add(${e})`}function buildPublicFieldInitLoose(e,t){const{key:s,computed:i}=t.node;const n=t.node.value||t.scope.buildUndefinedNode();return r.types.expressionStatement(r.types.assignmentExpression("=",r.types.memberExpression(e,s,i||r.types.isLiteral(s)),n))}function buildPublicFieldInitSpec(e,t,s){const{key:i,computed:n}=t.node;const a=t.node.value||t.scope.buildUndefinedNode();return r.types.expressionStatement(r.types.callExpression(s.addHelper("defineProperty"),[e,n||r.types.isLiteral(i)?i:r.types.stringLiteral(i.name),a]))}function buildPrivateStaticMethodInitLoose(e,t,s,i){const n=i.get(t.node.key.id.name);const{id:a,methodId:o,getId:l,setId:c,initAdded:p}=n;if(p)return;const u=l||c;if(u){i.set(t.node.key.id.name,Object.assign({},n,{initAdded:true}));return r.template.statement.ast` Object.defineProperty(${e}, ${a}, { // configurable is false by default // enumerable is false by default // writable is false by default get: ${l?l.name:t.scope.buildUndefinedNode()}, - set: ${u?u.name:t.scope.buildUndefinedNode()} + set: ${c?c.name:t.scope.buildUndefinedNode()} }) - `}return n.template.statement.ast` + `}return r.template.statement.ast` Object.defineProperty(${e}, ${a}, { // configurable is false by default // enumerable is false by default // writable is false by default value: ${o.name} }); - `}function buildPrivateMethodDeclaration(e,t,r=false){const s=t.get(e.node.key.id.name);const{id:i,methodId:a,getId:o,setId:l,getterDeclared:u,setterDeclared:p,static:f}=s;const{params:c,body:d,generator:y,async:m}=e.node;const T=o&&!u&&c.length===0;const h=l&&!p&&c.length>0;let S=a;if(T){t.set(e.node.key.id.name,Object.assign({},s,{getterDeclared:true}));S=o}else if(h){t.set(e.node.key.id.name,Object.assign({},s,{setterDeclared:true}));S=l}else if(f&&!r){S=i}return n.types.functionDeclaration(n.types.cloneNode(S),c,d,y,m)}const d=n.traverse.visitors.merge([{ThisExpression(e,t){t.needsClassRef=true;e.replaceWith(n.types.cloneNode(t.classRef))}},s.environmentVisitor]);const y={ReferencedIdentifier(e,t){if(e.scope.bindingIdentifierEquals(e.node.name,t.innerBinding)){t.needsClassRef=true;e.node.name=t.classRef.name}}};function replaceThisContext(e,t,r,i,a,o,l){var u;const p={classRef:t,needsClassRef:false,innerBinding:l};const f=new s.default({methodPath:e,constantSuper:o,file:i,refToPreserve:t,getSuperRef:r,getObjectRef(){p.needsClassRef=true;return a||e.node.static?t:n.types.memberExpression(t,n.types.identifier("prototype"))}});f.replace();if(a||e.isProperty()){e.traverse(d,p)}if((u=p.classRef)!=null&&u.name&&p.classRef.name!==(l==null?void 0:l.name)){e.traverse(y,p)}return p.needsClassRef}function buildFieldsInitNodes(e,t,r,s,i,a,o,u,p){let f=false;let c;const d=[];const y=[];const m=[];const T=n.types.isIdentifier(t)?()=>t:()=>{var e;(e=c)!=null?e:c=r[0].scope.generateUidIdentifierBasedOnNode(t);return c};for(const t of r){l.assertFieldTransformed(t);const r=t.node.static;const c=!r;const h=t.isPrivate();const S=!h;const b=t.isProperty();const E=!b;const g=t.isStaticBlock==null?void 0:t.isStaticBlock();if(r||E&&h||g){const r=replaceThisContext(t,e,T,i,g,u,p);f=f||r}switch(true){case g:d.push(n.template.statement.ast`(() => ${n.types.blockStatement(t.node.body)})()`);break;case r&&h&&b&&o:f=true;d.push(buildPrivateFieldInitLoose(n.types.cloneNode(e),t,s));break;case r&&h&&b&&!o:f=true;d.push(buildPrivateStaticFieldInitSpec(t,s));break;case r&&S&&b&&a:f=true;d.push(buildPublicFieldInitLoose(n.types.cloneNode(e),t));break;case r&&S&&b&&!a:f=true;d.push(buildPublicFieldInitSpec(n.types.cloneNode(e),t,i));break;case c&&h&&b&&o:y.push(buildPrivateFieldInitLoose(n.types.thisExpression(),t,s));break;case c&&h&&b&&!o:y.push(buildPrivateInstanceFieldInitSpec(n.types.thisExpression(),t,s));break;case c&&h&&E&&o:y.unshift(buildPrivateMethodInitLoose(n.types.thisExpression(),t,s));m.push(buildPrivateMethodDeclaration(t,s,o));break;case c&&h&&E&&!o:y.unshift(buildPrivateInstanceMethodInitSpec(n.types.thisExpression(),t,s));m.push(buildPrivateMethodDeclaration(t,s,o));break;case r&&h&&E&&!o:f=true;d.unshift(buildPrivateStaticFieldInitSpec(t,s));m.push(buildPrivateMethodDeclaration(t,s,o));break;case r&&h&&E&&o:f=true;d.unshift(buildPrivateStaticMethodInitLoose(n.types.cloneNode(e),t,i,s));m.push(buildPrivateMethodDeclaration(t,s,o));break;case c&&S&&b&&a:y.push(buildPublicFieldInitLoose(n.types.thisExpression(),t));break;case c&&S&&b&&!a:y.push(buildPublicFieldInitSpec(n.types.thisExpression(),t,i));break;default:throw new Error("Unreachable.")}}return{staticNodes:d.filter(Boolean),instanceNodes:y.filter(Boolean),pureStaticNodes:m.filter(Boolean),wrapClass(t){for(const e of r){e.remove()}if(c){t.scope.push({id:n.types.cloneNode(c)});t.set("superClass",n.types.assignmentExpression("=",c,t.node.superClass))}if(!f)return t;if(t.isClassExpression()){t.scope.push({id:e});t.replaceWith(n.types.assignmentExpression("=",n.types.cloneNode(e),t.node))}else if(!t.node.id){t.node.id=e}return t}}}},34971:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createClassFeaturePlugin=createClassFeaturePlugin;Object.defineProperty(t,"injectInitialization",{enumerable:true,get:function(){return l.injectInitialization}});Object.defineProperty(t,"enableFeature",{enumerable:true,get:function(){return u.enableFeature}});Object.defineProperty(t,"FEATURES",{enumerable:true,get:function(){return u.FEATURES}});var n=r(85850);var s=r(98733);var i=r(76729);var a=r(11752);var o=r(64158);var l=r(93391);var u=r(76912);const p="7.14.6".split(".").reduce((e,t)=>e*1e5+ +t,0);const f="@babel/plugin-class-features/version";function createClassFeaturePlugin({name:e,feature:t,loose:r,manipulateOptions:c,api:d={assumption:()=>{}}}){const y=d.assumption("setPublicClassFields");const m=d.assumption("privateFieldsAsProperties");const T=d.assumption("constantSuper");const h=d.assumption("noDocumentAll");if(r===true){const t=[];if(y!==undefined){t.push(`"setPublicClassFields"`)}if(m!==undefined){t.push(`"privateFieldsAsProperties"`)}if(t.length!==0){console.warn(`[${e}]: You are using the "loose: true" option and you are`+` explicitly setting a value for the ${t.join(" and ")}`+` assumption${t.length>1?"s":""}. The "loose" option`+` can cause incompatibilities with the other class features`+` plugins, so it's recommended that you replace it with the`+` following top-level option:\n`+`\t"assumptions": {\n`+`\t\t"setPublicClassFields": true,\n`+`\t\t"privateFieldsAsProperties": true\n`+`\t}`)}}return{name:e,manipulateOptions:c,pre(){(0,u.enableFeature)(this.file,t,r);if(!this.file.get(f)||this.file.get(f)0){(0,l.injectInitialization)(e,c,j,(e,t)=>{if(d)return;for(const r of S){if(r.node.static)continue;r.traverse(e,t)}})}e=N(e);e.insertBefore([...O,...I]);if(D.length>0){e.insertAfter(D)}if(w.length>0){e.find(e=>e.isStatement()||e.isDeclaration()).insertAfter(w)}},PrivateName(e){if(this.file.get(f)!==p||e.parentPath.isPrivate({key:e.node})){return}throw e.buildCodeFrameError(`Unknown PrivateName "${e}"`)},ExportDefaultDeclaration(e){if(this.file.get(f)!==p)return;const t=e.get("declaration");if(t.isClassDeclaration()&&(0,o.hasDecorators)(t.node)){if(t.node.id){(0,i.default)(e)}else{t.node.type="ClassExpression"}}}}}}},93391:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.injectInitialization=injectInitialization;t.extractComputedKeys=extractComputedKeys;var n=r(85850);var s=r(846);const i=n.traverse.visitors.merge([{Super(e){const{node:t,parentPath:r}=e;if(r.isCallExpression({callee:t})){this.push(r)}}},s.environmentVisitor]);const a={"TSTypeAnnotation|TypeAnnotation"(e){e.skip()},ReferencedIdentifier(e){if(this.scope.hasOwnBinding(e.node.name)){this.scope.rename(e.node.name);e.skip()}}};function handleClassTDZ(e,t){if(t.classBinding&&t.classBinding===e.scope.getBinding(e.node.name)){const r=t.file.addHelper("classNameTDZError");const s=n.types.callExpression(r,[n.types.stringLiteral(e.node.name)]);e.replaceWith(n.types.sequenceExpression([s,e.node]));e.skip()}}const o={ReferencedIdentifier:handleClassTDZ};function injectInitialization(e,t,r,s){if(!r.length)return;const o=!!e.node.superClass;if(!t){const r=n.types.classMethod("constructor",n.types.identifier("constructor"),[],n.types.blockStatement([]));if(o){r.params=[n.types.restElement(n.types.identifier("args"))];r.body.body.push(n.template.statement.ast`super(...args)`)}[t]=e.get("body").unshiftContainer("body",r)}if(s){s(a,{scope:t.scope})}if(o){const e=[];t.traverse(i,e);let s=true;for(const t of e){if(s){t.insertAfter(r);s=false}else{t.insertAfter(r.map(e=>n.types.cloneNode(e)))}}}else{t.get("body").unshiftContainer("body",r)}}function extractComputedKeys(e,t,r,s){const i=[];const a={classBinding:t.node.id&&t.scope.getBinding(t.node.id.name),file:s};for(const e of r){const r=e.get("key");if(r.isReferencedIdentifier()){handleClassTDZ(r,a)}else{r.traverse(o,a)}const s=e.node;if(!r.isConstantExpression()){const e=t.scope.generateUidIdentifierBasedOnNode(s.key);t.scope.push({id:e,kind:"let"});i.push(n.types.expressionStatement(n.types.assignmentExpression("=",n.types.cloneNode(e),s.key)));s.key=n.types.cloneNode(e)}}return i}},38389:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertFieldTransformed=assertFieldTransformed;function assertFieldTransformed(e){if(e.node.declare){throw e.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by `+`@babel/plugin-transform-typescript.\n`+`If you have already enabled that plugin (or '@babel/preset-typescript'), make sure `+`that it runs before any plugin related to additional class features:\n`+` - @babel/plugin-proposal-class-properties\n`+` - @babel/plugin-proposal-private-methods\n`+` - @babel/plugin-proposal-decorators`)}}},45318:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(2707);function _interopNamespace(e){if(e&&e.__esModule)return e;var t=Object.create(null);if(e){Object.keys(e).forEach(function(r){if(r!=="default"){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:true,get:function(){return e[r]}})}})}t["default"]=e;return Object.freeze(t)}var s=_interopNamespace(n);function willPathCastToBoolean(e){const t=e;const{node:r,parentPath:n}=t;if(n.isLogicalExpression()){const{operator:e,right:t}=n.node;if(e==="&&"||e==="||"||e==="??"&&r===t){return willPathCastToBoolean(n)}}if(n.isSequenceExpression()){const{expressions:e}=n.node;if(e[e.length-1]===r){return willPathCastToBoolean(n)}else{return true}}return n.isConditional({test:r})||n.isUnaryExpression({operator:"!"})||n.isLoop({test:r})}class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const t=this._map.get(e);const{value:r}=t;t.count--;if(t.count===0){return s.assignmentExpression("=",r,e)}return r}set(e,t,r){return this._map.set(e,{count:r,value:t})}}function toNonOptional(e,t){const{node:r}=e;if(e.isOptionalMemberExpression()){return s.memberExpression(t,r.property,r.computed)}if(e.isOptionalCallExpression()){const n=e.get("callee");if(e.node.optional&&n.isOptionalMemberExpression()){const{object:i}=n.node;const a=e.scope.maybeGenerateMemoised(i)||i;n.get("object").replaceWith(s.assignmentExpression("=",a,i));return s.callExpression(s.memberExpression(t,s.identifier("call")),[a,...r.arguments])}return s.callExpression(t,r.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:t,container:r,listKey:n}=e;const s=t.node;if(n){if(r!==s[n])return true}else{if(r!==s)return true}e=t}return false}const i={memoise(){},handle(e,t){const{node:r,parent:n,parentPath:i,scope:a}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const o=e.find(({node:t,parent:r,parentPath:n})=>{if(n.isOptionalMemberExpression()){return r.optional||r.object!==t}if(n.isOptionalCallExpression()){return t!==e.node&&r.optional||r.callee!==t}return true});if(a.path.isPattern()){o.replaceWith(s.callExpression(s.arrowFunctionExpression([],o.node),[]));return}const l=willPathCastToBoolean(o);const u=o.parentPath;if(u.isUpdateExpression({argument:r})||u.isAssignmentExpression({left:r})){throw e.buildCodeFrameError(`can't handle assignment`)}const p=u.isUnaryExpression({operator:"delete"});if(p&&o.isOptionalMemberExpression()&&o.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let f=e;for(;;){if(f.isOptionalMemberExpression()){if(f.node.optional)break;f=f.get("object");continue}else if(f.isOptionalCallExpression()){if(f.node.optional)break;f=f.get("callee");continue}throw new Error(`Internal error: unexpected ${f.node.type}`)}const c=f.isOptionalMemberExpression()?"object":"callee";const d=f.node[c];const y=a.maybeGenerateMemoised(d);const m=y!=null?y:d;const T=i.isOptionalCallExpression({callee:r});const h=i.isCallExpression({callee:r});f.replaceWith(toNonOptional(f,m));if(T){if(n.optional){i.replaceWith(this.optionalCall(e,n.arguments))}else{i.replaceWith(this.call(e,n.arguments))}}else if(h){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}let S=e.node;for(let t=e;t!==o;){const{parentPath:e}=t;if(e===o&&T&&n.optional){S=e.node;break}S=toNonOptional(e,S);t=e}let b;const E=o.parentPath;if(s.isMemberExpression(S)&&E.isOptionalCallExpression({callee:o.node,optional:true})){const{object:t}=S;b=e.scope.maybeGenerateMemoised(t);if(b){S.object=s.assignmentExpression("=",b,t)}}let g=o;if(p){g=E;S=E.node}const P=y?s.assignmentExpression("=",s.cloneNode(m),s.cloneNode(d)):s.cloneNode(m);if(l){let e;if(t){e=s.binaryExpression("!=",P,s.nullLiteral())}else{e=s.logicalExpression("&&",s.binaryExpression("!==",P,s.nullLiteral()),s.binaryExpression("!==",s.cloneNode(m),a.buildUndefinedNode()))}g.replaceWith(s.logicalExpression("&&",e,S))}else{let e;if(t){e=s.binaryExpression("==",P,s.nullLiteral())}else{e=s.logicalExpression("||",s.binaryExpression("===",P,s.nullLiteral()),s.binaryExpression("===",s.cloneNode(m),a.buildUndefinedNode()))}g.replaceWith(s.conditionalExpression(e,p?s.booleanLiteral(true):a.buildUndefinedNode(),S))}if(b){const e=E.node;E.replaceWith(s.optionalCallExpression(s.optionalMemberExpression(e.callee,s.identifier("call"),false,true),[s.cloneNode(b),...e.arguments],false))}return}if(i.isUpdateExpression({argument:r})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,prefix:a}=n;this.memoise(e,2);const o=s.binaryExpression(t[0],s.unaryExpression("+",this.get(e)),s.numericLiteral(1));if(a){i.replaceWith(this.set(e,o))}else{const{scope:t}=e;const n=t.generateUidIdentifierBasedOnNode(r);t.push({id:n});o.left=s.assignmentExpression("=",s.cloneNode(n),o.left);i.replaceWith(s.sequenceExpression([this.set(e,o),s.cloneNode(n)]))}return}if(i.isAssignmentExpression({left:r})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,right:r}=n;if(t==="="){i.replaceWith(this.set(e,r))}else{const n=t.slice(0,-1);if(s.LOGICAL_OPERATORS.includes(n)){this.memoise(e,1);i.replaceWith(s.logicalExpression(n,this.get(e),this.set(e,r)))}else{this.memoise(e,2);i.replaceWith(this.set(e,s.binaryExpression(n,this.get(e),r)))}}return}if(i.isCallExpression({callee:r})){i.replaceWith(this.call(e,n.arguments));return}if(i.isOptionalCallExpression({callee:r})){if(a.path.isPattern()){i.replaceWith(s.callExpression(s.arrowFunctionExpression([],i.node),[]));return}i.replaceWith(this.optionalCall(e,n.arguments));return}if(i.isForXStatement({left:r})||i.isObjectProperty({value:r})&&i.parentPath.isObjectPattern()||i.isAssignmentPattern({left:r})&&i.parentPath.isObjectProperty({value:n})&&i.parentPath.parentPath.isObjectPattern()||i.isArrayPattern()||i.isAssignmentPattern({left:r})&&i.parentPath.isArrayPattern()||i.isRestElement()){e.replaceWith(this.destructureSet(e));return}e.replaceWith(this.get(e))}};function memberExpressionToFunctions(e,t,r){e.traverse(t,Object.assign({},i,r,{memoiser:new AssignmentMemoiser}))}t.default=memberExpressionToFunctions},50236:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(50236);var s=r(19576)},19576:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},98297:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(9661);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},89245:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(94069);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},52835:()=>{},93232:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(69704);var s=r(58674);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(62533);var s=r(10129);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},63484:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(62533);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},62533:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(93232);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},81855:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(62533)},26165:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(83336);var s=r(12785);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(62533);var s=r(63349);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},22170:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(91152);function clone(e){return(0,n.default)(e,false)}},20168:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(91152);function cloneDeep(e){return(0,n.default)(e)}},70798:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(91152);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},91152:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(69704);var s=r(83336);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},92186:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(91152);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},86487:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(81302);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},81302:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},93701:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(92860);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},64159:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(92860);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},39965:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(92860);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},64171:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(39965);var s=r(64159);var i=r(93701);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},78410:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(32954);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},91172:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(69704);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},32954:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},77298:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(27268);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},94923:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(61561);var s=r(83336);var i=r(62533);var a=r(91152);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},85693:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(18364);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},27268:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(83336);var s=r(62533);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},41642:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(83336);var s=r(62533);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},35309:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(83336);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},18364:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(36277);var s=r(88465);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},31650:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(83336);var s=r(91152);var i=r(68106);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},92856:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(94923);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},56558:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(83336);var s=r(62533);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},41361:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(36277);var s=r(62533);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},67426:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(94069);var s=r(36277);var i=r(88465);var a=r(32954);var o=r(7120);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},52445:(e,t,r)=>{"use strict";var n=r(7120);var s=r(67426);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},73186:(e,t,r)=>{"use strict";var n=r(7120);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},69704:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(67426);r(73186);r(21910);r(29672);r(52445);r(49192);var s=r(7120);var i=r(70242);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},21910:(e,t,r)=>{"use strict";var n=r(7120);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},29672:(e,t,r)=>{"use strict";var n=r(7120);var s=r(70242);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},70242:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(7120);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},49192:(e,t,r)=>{"use strict";var n=r(7120);var s=r(67426);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},7120:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(94069);var s=r(58674);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},2707:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(28942);var i=r(5598);var a=r(26165);var o=r(98297);var l=r(89245);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(63484);var p=r(86055);var f=r(68296);var c=r(62533);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(81855);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(91152);var m=r(22170);var T=r(20168);var h=r(70798);var S=r(92186);var b=r(86487);var E=r(81302);var g=r(93701);var P=r(64159);var x=r(64171);var v=r(39965);var A=r(78410);var O=r(91172);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(32954);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(77298);var w=r(85693);var j=r(27268);var N=r(41642);var C=r(35309);var L=r(18364);var _=r(31650);var M=r(92856);var F=r(56558);var B=r(41361);var k=r(69704);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(32736);var K=r(35835);var V=r(6771);var X=r(93076);var Y=r(68106);var J=r(10129);var U=r(61561);var W=r(11880);var q=r(42172);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(79494);var G=r(37830);var $=r(94069);var H=r(69515);var Q=r(19764);var Z=r(59822);var ee=r(95829);var te=r(9661);var re=r(64634);var ne=r(68669);var se=r(17429);var ie=r(30823);var ae=r(21708);var oe=r(71155);var le=r(61079);var ue=r(36277);var pe=r(4505);var fe=r(91682);var ce=r(58674);var de=r(20260);var ye=r(83336);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(52835);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},32736:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(62533);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},10129:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(83336);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},35835:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(32954);var s=r(64171);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},6771:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(62533);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},93076:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(32954);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},68106:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(79494);var s=r(93076);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},63349:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(83336);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},61561:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(83336);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(61561);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},42172:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(69704);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(69704);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},92860:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},12785:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(62533);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},20260:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(91682);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},83336:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(37830);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},94069:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(37830);var s=r(71155);var i=r(68669);var a=r(69704);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},69515:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(61561);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},19764:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(83336);var s=r(95829);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},59822:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(71155);var s=r(83336);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},95829:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(83336);var s=r(32954);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},9661:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(69704);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},64634:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(69704);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(69704);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},17429:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},30823:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(83336);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},21708:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(83336);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},71155:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(69704);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},61079:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(36277);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},36277:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(88465);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},4505:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(83336);var s=r(32954);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},91682:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(83336);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},28942:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(20260);const s=(0,n.default)("React.Component");var i=s;t.default=i},58674:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(69704);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},60060:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.enableFeature=enableFeature;t.hasFeature=hasFeature;t.runtimeKey=t.featuresKey=t.FEATURES=void 0;const r=Object.freeze({unicodeFlag:1<<0,dotAllFlag:1<<1,unicodePropertyEscape:1<<2,namedCaptureGroups:1<<3});t.FEATURES=r;const n="@babel/plugin-regexp-features/featuresKey";t.featuresKey=n;const s="@babel/plugin-regexp-features/runtimeKey";t.runtimeKey=s;function enableFeature(e,t){return e|t}function hasFeature(e,t){return!!(e&t)}},36610:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createRegExpFeaturePlugin=createRegExpFeaturePlugin;var n=r(4864);var s=r(60060);var i=r(27185);var a=r(85850);var o=r(96659);function pullFlag(e,t){e.flags=e.flags.replace(t,"")}const l="7.14.5".split(".").reduce((e,t)=>e*1e5+ +t,0);const u="@babel/plugin-regexp-features/version";function createRegExpFeaturePlugin({name:e,feature:t,options:r={}}){return{name:e,pre(){var e;const{file:n}=this;const i=(e=n.get(s.featuresKey))!=null?e:0;let a=(0,s.enableFeature)(i,s.FEATURES[t]);const{useUnicodeFlag:o,runtime:p=true}=r;if(o===false){a=(0,s.enableFeature)(a,s.FEATURES.unicodeFlag)}if(a!==i){n.set(s.featuresKey,a)}if(!p){n.set(s.runtimeKey,false)}if(!n.has(u)||n.get(u){c[e]=t})}r.pattern=n(r.pattern,r.flags,f);if(f.namedGroup&&Object.keys(c).length>0&&p&&!isRegExpTest(e)){const t=a.types.callExpression(this.addHelper("wrapRegExp"),[r,a.types.valueToNode(c)]);(0,o.default)(t);e.replaceWith(t)}if((0,s.hasFeature)(u,s.FEATURES.unicodeFlag)){pullFlag(r,"u")}if((0,s.hasFeature)(u,s.FEATURES.dotAllFlag)){pullFlag(r,"s")}}}}}function isRegExpTest(e){return e.parentPath.isMemberExpression({object:e.node,computed:false})&&e.parentPath.get("property").isIdentifier({name:"test"})}},27185:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.generateRegexpuOptions=generateRegexpuOptions;var n=r(60060);function generateRegexpuOptions(e,t){let r=false,s=false,i=false,a=false;const{flags:o,pattern:l}=e;const u=o.includes("u");if(u){if(!(0,n.hasFeature)(t,n.FEATURES.unicodeFlag)){r=true}if((0,n.hasFeature)(t,n.FEATURES.unicodePropertyEscape)&&/\\[pP]{/.test(l)){i=true}}if((0,n.hasFeature)(t,n.FEATURES.dotAllFlag)&&o.indexOf("s")>=0){s=true}if((0,n.hasFeature)(t,n.FEATURES.namedCaptureGroups)&&/\(\?<(?![=!])/.test(l)){a=true}if(!a&&!i&&!s&&(!u||r)){return null}if(u&&o.indexOf("s")>=0){s=true}return{useUnicodeFlag:r,onNamedGroup:()=>{},namedGroup:a,unicodePropertyEscape:i,dotAllFlag:s,lookbehind:true}}},19178:(e,t,r)=>{"use strict";t.__esModule=true;t.stringifyTargetsMultiline=stringifyTargetsMultiline;t.stringifyTargets=stringifyTargets;t.presetEnvSilentDebugHeader=void 0;var n=r(34487);const s="#__secret_key__@babel/preset-env__don't_log_debug_header_and_resolved_targets";t.presetEnvSilentDebugHeader=s;function stringifyTargetsMultiline(e){return JSON.stringify((0,n.prettifyTargets)(e),null,2)}function stringifyTargets(e){return JSON.stringify(e).replace(/,/g,", ").replace(/^\{"/,'{ "').replace(/"\}$/,'" }')}},72881:(e,t,r)=>{"use strict";t.__esModule=true;t.default=void 0;var n=_interopRequireWildcard(r(85850));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}const{types:s}=n.default||n;class ImportsCache{constructor(e){this._imports=new WeakMap;this._anonymousImports=new WeakMap;this._lastImports=new WeakMap;this._resolver=e}storeAnonymous(e,t,r){const n=this._normalizeKey(e,t);const i=this._ensure(this._anonymousImports,e,Set);if(i.has(n))return;const a=r(e.node.sourceType==="script",s.stringLiteral(this._resolver(t)));i.add(n);this._injectImport(e,a)}storeNamed(e,t,r,n){const i=this._normalizeKey(e,t,r);const a=this._ensure(this._imports,e,Map);if(!a.has(i)){const{node:o,name:l}=n(e.node.sourceType==="script",s.stringLiteral(this._resolver(t)),s.identifier(r));a.set(i,l);this._injectImport(e,o)}return s.identifier(a.get(i))}_injectImport(e,t){let r=this._lastImports.get(e);if(r&&r.node&&r.parent===e.node&&r.container===e.node.body){r=r.insertAfter(t)}else{r=e.unshiftContainer("body",t)}r=r[r.length-1];this._lastImports.set(e,r)}_ensure(e,t,r){let n=e.get(t);if(!n){n=new r;e.set(t,n)}return n}_normalizeKey(e,t,r=""){const{sourceType:n}=e.node;return`${r&&n}::${t}::${r}`}}t.default=ImportsCache},71192:(e,t,r)=>{"use strict";t.__esModule=true;t.default=definePolyfillProvider;var n=r(69624);var s=_interopRequireWildcard(r(34487));var i=r(34887);var a=_interopRequireDefault(r(72881));var o=r(19178);var l=r(16792);var u=_interopRequireWildcard(r(63414));var p=_interopRequireWildcard(r(58752));var f=_interopRequireDefault(r(87209));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var s,i;for(i=0;i=0)continue;r[s]=e[s]}return r}const c=s.default.default||s.default;function resolveOptions(e,t){const{method:r,targets:n,ignoreBrowserslistConfig:s,configPath:i,debug:a,shouldInjectPolyfill:o,absoluteImports:l}=e,u=_objectWithoutPropertiesLoose(e,["method","targets","ignoreBrowserslistConfig","configPath","debug","shouldInjectPolyfill","absoluteImports"]);let p;if(r==="usage-global")p="usageGlobal";else if(r==="entry-global")p="entryGlobal";else if(r==="usage-pure")p="usagePure";else if(typeof r!=="string"){throw new Error(".method must be a string")}else{throw new Error(`.method must be one of "entry-global", "usage-global"`+` or "usage-pure" (received ${JSON.stringify(r)})`)}if(typeof o==="function"){if(e.include||e.exclude){throw new Error(`.include and .exclude are not supported when using the`+` .shouldInjectPolyfill function.`)}}else if(o!=null){throw new Error(`.shouldInjectPolyfill must be a function, or undefined`+` (received ${JSON.stringify(o)})`)}if(l!=null&&typeof l!=="boolean"&&typeof l!=="string"){throw new Error(`.absoluteImports must be a boolean, a string, or undefined`+` (received ${JSON.stringify(l)})`)}let f;if(n||i||s){const e=typeof n==="string"||Array.isArray(n)?{browsers:n}:n;f=c(e,{ignoreBrowserslistConfig:s,configPath:i})}else{f=t.targets()}return{method:r,methodName:p,targets:f,absoluteImports:l!=null?l:false,shouldInjectPolyfill:o,debug:!!a,providerOptions:u}}function instantiateProvider(e,t,r,n,o,u){const{method:c,methodName:d,targets:y,debug:m,shouldInjectPolyfill:T,providerOptions:h,absoluteImports:S}=resolveOptions(t,u);const b=(0,i.createUtilsGetter)(new a.default(e=>p.resolve(n,e,S)));let E,g;let P;let x;let v;const A=new Map;const O={babel:u,getUtils:b,method:t.method,targets:y,createMetaResolver:f.default,shouldInjectPolyfill(t){if(x===undefined){throw new Error(`Internal error in the ${e.name} provider: `+`shouldInjectPolyfill() can't be called during initialization.`)}if(!x.has(t)){console.warn(`Internal error in the ${I.name} provider: `+`unknown polyfill "${t}".`)}if(v&&!v(t))return false;let r=(0,s.isRequired)(t,y,{compatData:P,includes:E,excludes:g});if(T){r=T(t,r);if(typeof r!=="boolean"){throw new Error(`.shouldInjectPolyfill must return a boolean.`)}}return r},debug(e){o().found=true;if(!m||!e)return;if(o().polyfills.has(I.name))return;o().polyfills.set(e,P&&e&&P[e])},assertDependency(e,t="*"){if(r===false)return;if(S){return}const s=t==="*"?e:`${e}@^${t}`;const i=r.all?false:mapGetOr(A,`${e} :: ${n}`,()=>p.has(n,e));if(!i){o().missingDeps.add(s)}}};const I=e(O,h,n);if(typeof I[d]!=="function"){throw new Error(`The "${I.name||e.name}" provider doesn't `+`support the "${c}" polyfilling method.`)}if(Array.isArray(I.polyfills)){x=new Set(I.polyfills);v=I.filterPolyfills}else if(I.polyfills){x=new Set(Object.keys(I.polyfills));P=I.polyfills;v=I.filterPolyfills}else{x=new Set}({include:E,exclude:g}=(0,l.validateIncludeExclude)(I.name||e.name,x,h.include||[],h.exclude||[]));return{debug:m,method:c,targets:y,provider:I,callProvider(e,t){const r=b(t);I[d](e,r,t)}}}function definePolyfillProvider(e){return(0,n.declare)((t,r,n)=>{t.assertVersion(7);const{traverse:i}=t;let a;const f=(0,l.applyMissingDependenciesDefaults)(r,t);const{debug:c,method:d,targets:y,provider:m,callProvider:T}=instantiateProvider(e,r,f,n,()=>a,t);const h=d==="entry-global"?u.entry:u.usage;const S=m.visitor?i.visitors.merge([h(T),m.visitor]):h(T);if(c&&c!==o.presetEnvSilentDebugHeader){console.log(`${m.name}: \`DEBUG\` option`);console.log(`\nUsing targets: ${(0,o.stringifyTargetsMultiline)(y)}`);console.log(`\nUsing polyfills with \`${d}\` method:`)}return{name:"inject-polyfills",visitor:S,pre(){var e;a={polyfills:new Map,found:false,providers:new Set,missingDeps:new Set};(e=m.pre)==null?void 0:e.apply(this,arguments)},post(){var e;(e=m.post)==null?void 0:e.apply(this,arguments);if(f!==false){if(f.log==="per-file"){p.logMissing(a.missingDeps)}else{p.laterLogMissing(a.missingDeps)}}if(!c)return;if(this.filename)console.log(`\n[${this.filename}]`);if(a.polyfills.size===0){console.log(d==="entry-global"?a.found?`Based on your targets, the ${m.name} polyfill did not add any polyfill.`:`The entry point for the ${m.name} polyfill has not been found.`:`Based on your code and targets, the ${m.name} polyfill did not add any polyfill.`);return}if(d==="entry-global"){console.log(`The ${m.name} polyfill entry has been replaced with `+`the following polyfills:`)}else{console.log(`The ${m.name} polyfill added the following polyfills:`)}for(const[e,t]of a.polyfills){if(t){const r=(0,s.getInclusionReasons)(e,y,t);const n=JSON.stringify(r).replace(/,/g,", ").replace(/^\{"/,'{ "').replace(/"\}$/,'" }');console.log(` ${e} ${n}`)}else{console.log(` ${e}`)}}}}})}function mapGetOr(e,t,r){let n=e.get(t);if(n===undefined){n=r();e.set(t,n)}return n}},87209:(e,t,r)=>{"use strict";t.__esModule=true;t.default=createMetaResolver;var n=r(34887);const s=new Set(["global","globalThis","self","window"]);function createMetaResolver(e){const{static:t,instance:r,global:i}=e;return e=>{if(e.kind==="global"&&i&&(0,n.has)(i,e.name)){return{kind:"global",desc:i[e.name],name:e.name}}if(e.kind==="property"||e.kind==="in"){const{placement:a,object:o,key:l}=e;if(o&&a==="static"){if(i&&s.has(o)&&(0,n.has)(i,l)){return{kind:"global",desc:i[l],name:l}}if(t&&(0,n.has)(t,o)&&(0,n.has)(t[o],l)){return{kind:"static",desc:t[o][l],name:`${o}$${l}`}}}if(r&&(0,n.has)(r,l)){return{kind:"instance",desc:r[l],name:`${l}`}}}}}},58752:(e,t,r)=>{"use strict";t.__esModule=true;t.resolve=resolve;t.has=has;t.logMissing=logMissing;t.laterLogMissing=laterLogMissing;var n=_interopRequireDefault(r(85622));var s=_interopRequireDefault(r(66272));var i=_interopRequireDefault(r(20923));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const a=parseFloat(process.versions.node)>=8.9;function resolve(e,t,r){if(r===false)return t;let s=e;if(typeof r==="string"){s=n.default.resolve(s,r)}let o,l;let u=t.indexOf("/");if(t[0]==="@"){u=t.indexOf("/",u+1)}if(u===-1){o=t;l=""}else{o=t.slice(0,u);l=t.slice(u)}try{let r;if(a){r=require.resolve(`${o}/package.json`,{paths:[s]})}else{r=i.default.sync(`${o}/package.json`,{basedir:s})}return n.default.dirname(r)+l}catch(r){if(r.code!=="MODULE_NOT_FOUND")throw r;throw Object.assign(new Error(`Failed to resolve "${t}" relative to "${e}"`),{code:"BABEL_POLYFILL_NOT_FOUND",polyfill:t,dirname:e})}}function has(e,t){try{if(a){require.resolve(t,{paths:[e]})}else{i.default.sync(t,{basedir:e})}return true}catch(e){return false}}function logMissing(e){if(e.size===0)return;const t=Array.from(e).sort().join(" ");console.warn("\nSome polyfills have been added but are not present in your dependencies.\n"+"Please run one of the following commands:\n"+`\tnpm install --save ${t}\n`+`\tyarn add ${t}\n`);process.exitCode=1}let o=new Set;const l=(0,s.default)(()=>{logMissing(o);o=new Set},100);function laterLogMissing(e){if(e.size===0)return;e.forEach(e=>o.add(e));l()}},16792:(e,t,r)=>{"use strict";t.__esModule=true;t.validateIncludeExclude=validateIncludeExclude;t.applyMissingDependenciesDefaults=applyMissingDependenciesDefaults;var n=r(34887);function patternToRegExp(e){if(e instanceof RegExp)return e;try{return new RegExp(`^${e}$`)}catch(e){return null}}function buildUnusedError(e,t){if(!t.length)return"";return` - The following "${e}" patterns didn't match any polyfill:\n`+t.map(e=>` ${String(e)}\n`).join("")}function buldDuplicatesError(e){if(!e.size)return"";return` - The following polyfills were matched both by "include" and "exclude" patterns:\n`+Array.from(e,e=>` ${e}\n`).join("")}function validateIncludeExclude(e,t,r,s){let i;const a=e=>{const r=patternToRegExp(e);if(!r)return false;let n=false;for(const e of t){if(r.test(e)){n=true;i.add(e)}}return!n};const o=i=new Set;const l=Array.from(r).filter(a);const u=i=new Set;const p=Array.from(s).filter(a);const f=(0,n.intersection)(o,u);if(f.size>0||l.length>0||p.length>0){throw new Error(`Error while validating the "${e}" provider options:\n`+buildUnusedError("include",l)+buildUnusedError("exclude",p)+buldDuplicatesError(f))}return{include:o,exclude:u}}function applyMissingDependenciesDefaults(e,t){const{missingDependencies:r={}}=e;if(r===false)return false;const n=t.caller(e=>e==null?void 0:e.name);const{log:s="deferred",inject:i=(n==="rollup-plugin-babel"?"throw":"import"),all:a=false}=r;return{log:s,inject:i,all:a}}},34887:(e,t,r)=>{"use strict";t.__esModule=true;t.intersection=intersection;t.has=has;t.resolveKey=resolveKey;t.resolveSource=resolveSource;t.getImportSource=getImportSource;t.getRequireSource=getRequireSource;t.createUtilsGetter=createUtilsGetter;var n=_interopRequireWildcard(r(85850));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}const{types:s,template:i}=n.default||n;function intersection(e,t){const r=new Set;e.forEach(e=>t.has(e)&&r.add(e));return r}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function getType(e){return Object.prototype.toString.call(e).slice(8,-1)}function resolveId(e){if(e.isIdentifier()&&!e.scope.hasBinding(e.node.name,true)){return e.node.name}const{deopt:t}=e.evaluate();if(t&&t.isIdentifier()){return t.node.name}}function resolveKey(e,t=false){const{node:r,parent:n,scope:s}=e;if(e.isStringLiteral())return r.value;const{name:i}=r;const a=e.isIdentifier();if(a&&!(t||n.computed))return i;if(t&&e.isMemberExpression()&&e.get("object").isIdentifier({name:"Symbol"})&&!s.hasBinding("Symbol",true)){const t=resolveKey(e.get("property"),e.node.computed);if(t)return"Symbol."+t}if(!a||s.hasBinding(i,true)){const{value:t}=e.evaluate();if(typeof t==="string")return t}}function resolveSource(e){if(e.isMemberExpression()&&e.get("property").isIdentifier({name:"prototype"})){const t=resolveId(e.get("object"));if(t){return{id:t,placement:"prototype"}}return{id:null,placement:null}}const t=resolveId(e);if(t){return{id:t,placement:"static"}}const{value:r}=e.evaluate();if(r!==undefined){return{id:getType(r),placement:"prototype"}}else if(e.isRegExpLiteral()){return{id:"RegExp",placement:"prototype"}}else if(e.isFunction()){return{id:"Function",placement:"prototype"}}return{id:null,placement:null}}function getImportSource({node:e}){if(e.specifiers.length===0)return e.source.value}function getRequireSource({node:e}){if(!s.isExpressionStatement(e))return;const{expression:t}=e;const r=s.isCallExpression(t)&&s.isIdentifier(t.callee)&&t.callee.name==="require"&&t.arguments.length===1&&s.isStringLiteral(t.arguments[0]);if(r)return t.arguments[0].value}function hoist(e){e._blockHoist=3;return e}function createUtilsGetter(e){return t=>{const r=t.findParent(e=>e.isProgram());return{injectGlobalImport(t){e.storeAnonymous(r,t,(e,t)=>{return e?i.statement.ast`require(${t})`:s.importDeclaration([],t)})},injectNamedImport(t,n,a=n){return e.storeNamed(r,t,n,(e,t,n)=>{const o=r.scope.generateUidIdentifier(a);return{node:e?hoist(i.statement.ast` - var ${o} = require(${t}).${n} - `):s.importDeclaration([s.importSpecifier(o,n)],t),name:o.name}})},injectDefaultImport(t,n=t){return e.storeNamed(r,t,"default",(e,t)=>{const a=r.scope.generateUidIdentifier(n);return{node:e?hoist(i.statement.ast`var ${a} = require(${t})`):s.importDeclaration([s.importDefaultSpecifier(a)],t),name:a.name}})}}}}},22179:(e,t,r)=>{"use strict";t.__esModule=true;t.default=void 0;var n=r(34887);var s=e=>({ImportDeclaration(t){const r=(0,n.getImportSource)(t);if(!r)return;e({kind:"import",source:r},t)},Program(t){t.get("body").forEach(t=>{const r=(0,n.getRequireSource)(t);if(!r)return;e({kind:"import",source:r},t)})}});t.default=s},63414:(e,t,r)=>{"use strict";t.__esModule=true;t.entry=t.usage=void 0;var n=_interopRequireDefault(r(47768));t.usage=n.default;var s=_interopRequireDefault(r(22179));t.entry=s.default;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},47768:(e,t,r)=>{"use strict";t.__esModule=true;t.default=void 0;var n=r(34887);var s=e=>{function property(t,r,n,s){return e({kind:"property",object:t,key:r,placement:n},s)}return{ReferencedIdentifier(t){const{node:{name:r},scope:n}=t;if(n.getBindingIdentifier(r))return;e({kind:"global",name:r},t)},MemberExpression(e){const t=(0,n.resolveKey)(e.get("property"),e.node.computed);if(!t||t==="prototype")return;const r=e.get("object");const s=r.scope.getBinding(r.node.name);if(s&&s.path.isImportNamespaceSpecifier())return;const i=(0,n.resolveSource)(r);return property(i.id,t,i.placement,e)},ObjectPattern(e){const{parentPath:t,parent:r}=e;let s;if(t.isVariableDeclarator()){s=t.get("init")}else if(t.isAssignmentExpression()){s=t.get("right")}else if(t.isFunction()){const n=t.parentPath;if(n.isCallExpression()||n.isNewExpression()){if(n.node.callee===r){s=n.get("arguments")[e.key]}}}let i=null;let a=null;if(s)({id:i,placement:a}=(0,n.resolveSource)(s));for(const t of e.get("properties")){if(t.isObjectProperty()){const e=(0,n.resolveKey)(t.get("key"));if(e)property(i,e,a,t)}}},BinaryExpression(t){if(t.node.operator!=="in")return;const r=(0,n.resolveSource)(t.get("right"));const s=(0,n.resolveKey)(t.get("left"),true);if(!s)return;e({kind:"in",object:r.id,key:s,placement:r.placement},t)}}};t.default=s},69624:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},20923:(e,t,r)=>{var n=r(29851);n.core=r(74335);n.isCore=r(91634);n.sync=r(56809);e.exports=n},29851:(e,t,r)=>{var n=r(35747);var s=r(85622);var i=r(2117);var a=r(74958);var o=r(17548);var l=r(21176);var u=n.realpath&&typeof n.realpath.native==="function"?n.realpath.native:n.realpath;var p=function isFile(e,t){n.stat(e,function(e,r){if(!e){return t(null,r.isFile()||r.isFIFO())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return t(null,false);return t(e)})};var f=function isDirectory(e,t){n.stat(e,function(e,r){if(!e){return t(null,r.isDirectory())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return t(null,false);return t(e)})};var c=function realpath(e,t){u(e,function(r,n){if(r&&r.code!=="ENOENT")t(r);else t(null,r?e:n)})};var d=function maybeRealpath(e,t,r,n){if(r&&r.preserveSymlinks===false){e(t,n)}else{n(null,t)}};var y=function defaultReadPackage(e,t,r){e(t,function(e,t){if(e)r(e);else{try{var n=JSON.parse(t);r(null,n)}catch(e){r(null)}}})};var m=function getPackageCandidates(e,t,r){var n=a(t,r,e);for(var i=0;i{e.exports=function(){var e=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var t=(new Error).stack;Error.prepareStackTrace=e;return t[2].getFileName()}},74335:(e,t,r)=>{var n=process.versions&&process.versions.node&&process.versions.node.split(".")||[];function specifierIncluded(e){var t=e.split(" ");var r=t.length>1?t[0]:"=";var s=(t.length>1?t[1]:t[0]).split(".");for(var i=0;i<3;++i){var a=parseInt(n[i]||0,10);var o=parseInt(s[i]||0,10);if(a===o){continue}if(r==="<"){return a="){return a>=o}else{return false}}return r===">="}function matchesRange(e){var t=e.split(/ ?&& ?/);if(t.length===0){return false}for(var r=0;r{var n=r(21176);e.exports=function isCore(e){return n(e)}},74958:(e,t,r)=>{var n=r(85622);var s=n.parse||r(50731);var i=function getNodeModulesDirs(e,t){var r="/";if(/^([A-Za-z]:)/.test(e)){r=""}else if(/^\\\\/.test(e)){r="\\\\"}var i=[e];var a=s(e);while(a.dir!==i[i.length-1]){i.push(a.dir);a=s(a.dir)}return i.reduce(function(e,s){return e.concat(t.map(function(e){return n.resolve(r,s,e)}))},[])};e.exports=function nodeModulesPaths(e,t,r){var n=t&&t.moduleDirectory?[].concat(t.moduleDirectory):["node_modules"];if(t&&typeof t.paths==="function"){return t.paths(r,e,function(){return i(e,n)},t)}var s=i(e,n);return t&&t.paths?s.concat(t.paths):s}},17548:e=>{e.exports=function(e,t){return t||{}}},56809:(e,t,r)=>{var n=r(21176);var s=r(35747);var i=r(85622);var a=r(2117);var o=r(74958);var l=r(17548);var u=s.realpathSync&&typeof s.realpathSync.native==="function"?s.realpathSync.native:s.realpathSync;var p=function isFile(e){try{var t=s.statSync(e)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return t.isFile()||t.isFIFO()};var f=function isDirectory(e){try{var t=s.statSync(e)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return t.isDirectory()};var c=function realpathSync(e){try{return u(e)}catch(e){if(e.code!=="ENOENT"){throw e}}return e};var d=function maybeRealpathSync(e,t,r){if(r&&r.preserveSymlinks===false){return e(t)}return t};var y=function defaultReadPackageSync(e,t){var r=e(t);try{var n=JSON.parse(r);return n}catch(e){}};var m=function getPackageCandidates(e,t,r){var n=o(t,r,e);for(var s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(50639);function getObjRef(e,t,r){let s;if(n.isIdentifier(e)){if(r.hasBinding(e.name)){return e}else{s=e}}else if(n.isMemberExpression(e)){s=e.object;if(n.isSuper(s)||n.isIdentifier(s)&&r.hasBinding(s.name)){return s}}else{throw new Error(`We can't explode this node type ${e["type"]}`)}const i=r.generateUidIdentifierBasedOnNode(s);r.push({id:i});t.push(n.assignmentExpression("=",n.cloneNode(i),n.cloneNode(s)));return i}function getPropRef(e,t,r){const s=e.property;if(n.isPrivateName(s)){throw new Error("We can't generate property ref for private name, please install `@babel/plugin-proposal-class-properties`")}const i=n.toComputedKey(e,s);if(n.isLiteral(i)&&n.isPureish(i))return i;const a=r.generateUidIdentifierBasedOnNode(s);r.push({id:a});t.push(n.assignmentExpression("=",n.cloneNode(a),n.cloneNode(s)));return a}function _default(e,t,r,s,i){let a;if(n.isIdentifier(e)&&i){a=e}else{a=getObjRef(e,t,s)}let o,l;if(n.isIdentifier(e)){o=n.cloneNode(e);l=a}else{const r=getPropRef(e,t,s);const i=e.computed||n.isLiteral(r);l=n.memberExpression(n.cloneNode(a),n.cloneNode(r),i);o=n.memberExpression(n.cloneNode(a),n.cloneNode(r),i)}return{uid:l,ref:o}}},43014:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(43014);var s=r(88928)},88928:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},49255:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(22524);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},9066:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(75662);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},27316:()=>{},33939:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(86047);var s=r(94e3);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(11496);var s=r(75563);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},94336:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(11496);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},11496:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(33939);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},23732:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(11496)},8397:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(37046);var s=r(86433);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(11496);var s=r(54758);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},13781:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(50488);function clone(e){return(0,n.default)(e,false)}},8189:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(50488);function cloneDeep(e){return(0,n.default)(e)}},46082:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(50488);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},50488:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(86047);var s=r(37046);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},82527:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(50488);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},92420:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(47678);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},47678:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},42101:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(99381);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},74592:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(99381);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},68550:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(99381);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},87968:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(68550);var s=r(74592);var i=r(42101);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},11543:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(9460);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},86813:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(86047);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},9460:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},26089:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(72053);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},82125:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(73238);var s=r(37046);var i=r(11496);var a=r(50488);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},79925:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(45024);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},72053:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(37046);var s=r(11496);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},58477:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(37046);var s=r(11496);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},37419:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(37046);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},45024:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(83058);var s=r(42926);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},98994:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(37046);var s=r(50488);var i=r(88336);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},58396:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(82125);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},1629:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(37046);var s=r(11496);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},72855:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(83058);var s=r(11496);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},95825:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(75662);var s=r(83058);var i=r(42926);var a=r(9460);var o=r(46565);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},25401:(e,t,r)=>{"use strict";var n=r(46565);var s=r(95825);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},63985:(e,t,r)=>{"use strict";var n=r(46565);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},86047:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(95825);r(63985);r(74939);r(54837);r(25401);r(11614);var s=r(46565);var i=r(88529);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},74939:(e,t,r)=>{"use strict";var n=r(46565);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},54837:(e,t,r)=>{"use strict";var n=r(46565);var s=r(88529);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},88529:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(46565);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},11614:(e,t,r)=>{"use strict";var n=r(46565);var s=r(95825);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},46565:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(75662);var s=r(94e3);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},50639:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(81656);var i=r(147);var a=r(8397);var o=r(49255);var l=r(9066);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(94336);var p=r(49902);var f=r(6928);var c=r(11496);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(23732);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(50488);var m=r(13781);var T=r(8189);var h=r(46082);var S=r(82527);var b=r(92420);var E=r(47678);var g=r(42101);var P=r(74592);var x=r(87968);var v=r(68550);var A=r(11543);var O=r(86813);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(9460);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(26089);var w=r(79925);var j=r(72053);var N=r(58477);var C=r(37419);var L=r(45024);var _=r(98994);var M=r(58396);var F=r(1629);var B=r(72855);var k=r(86047);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(19645);var K=r(16343);var V=r(93647);var X=r(68118);var Y=r(88336);var J=r(75563);var U=r(73238);var W=r(12853);var q=r(75418);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(57353);var G=r(7655);var $=r(75662);var H=r(59990);var Q=r(94005);var Z=r(90711);var ee=r(43364);var te=r(22524);var re=r(42866);var ne=r(88633);var se=r(48351);var ie=r(68941);var ae=r(26974);var oe=r(6435);var le=r(85278);var ue=r(83058);var pe=r(96474);var fe=r(59800);var ce=r(94e3);var de=r(10984);var ye=r(37046);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(27316);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},19645:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(11496);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},75563:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(37046);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},16343:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(9460);var s=r(87968);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},93647:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(11496);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},68118:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(9460);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},88336:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(57353);var s=r(68118);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},54758:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(37046);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},73238:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(37046);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(73238);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},75418:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(86047);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(86047);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},99381:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},86433:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(11496);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},10984:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(59800);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},37046:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(7655);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},75662:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(7655);var s=r(6435);var i=r(88633);var a=r(86047);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},59990:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(73238);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},94005:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(37046);var s=r(43364);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},90711:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(6435);var s=r(37046);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},43364:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(37046);var s=r(9460);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},22524:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(86047);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},42866:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(86047);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(86047);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},48351:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},68941:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(37046);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},26974:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(37046);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},6435:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(86047);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},85278:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(83058);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},83058:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(42926);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},96474:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(37046);var s=r(9460);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},59800:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(37046);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},81656:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(10984);const s=(0,n.default)("React.Component");var i=s;t.default=i},94000:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(86047);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},98733:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(45162);var s=r(36900);var i=r(56538);const a=(0,s.default)(`\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const o=(0,s.default)(`\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const l={"ReferencedIdentifier|BindingIdentifier"(e,t){if(e.node.name!==t.name)return;const r=e.scope.getBindingIdentifier(t.name);if(r!==t.outerDeclar)return;t.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(i.isNullLiteral(e)){return"null"}if(i.isRegExpLiteral(e)){return`_${e.pattern}_${e.flags}`}if(i.isTemplateLiteral(e)){return e.quasis.map(e=>e.value.raw).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,t,r,s){if(e.selfReference){if(s.hasBinding(r.name)&&!s.hasGlobal(r.name)){s.rename(r.name)}else{if(!i.isFunction(t))return;let e=a;if(t.generator){e=o}const l=e({FUNCTION:t,FUNCTION_ID:r,FUNCTION_KEY:s.generateUidIdentifier(r.name)}).expression;const u=l.callee.body.body[0].params;for(let e=0,r=(0,n.default)(t);ee)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(58563);var s=r(59860)},59860:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},87578:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(44538);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},29994:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(66631);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},21583:()=>{},92706:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(50144);var s=r(71329);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(31746);var s=r(32789);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},56035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(31746);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},31746:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(92706);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},5493:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(31746)},13470:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(26197);var s=r(74498);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(31746);var s=r(37786);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},78421:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(67015);function clone(e){return(0,n.default)(e,false)}},92002:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(67015);function cloneDeep(e){return(0,n.default)(e)}},72753:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(67015);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},67015:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(50144);var s=r(26197);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},3167:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(67015);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},36980:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(56026);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},56026:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},95762:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(58638);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},12065:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(58638);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},50215:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(58638);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},47390:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(50215);var s=r(12065);var i=r(95762);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},15399:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(19700);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},32679:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(50144);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},19700:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},67604:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(36973);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},98987:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(64946);var s=r(26197);var i=r(31746);var a=r(67015);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},51912:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(1717);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},36973:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(26197);var s=r(31746);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},72682:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(26197);var s=r(31746);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},14998:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(26197);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},1717:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(28516);var s=r(97567);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},17968:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(26197);var s=r(67015);var i=r(68160);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},56132:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(98987);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},15230:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(26197);var s=r(31746);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},56199:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(28516);var s=r(31746);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},35212:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(66631);var s=r(28516);var i=r(97567);var a=r(19700);var o=r(8536);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},80823:(e,t,r)=>{"use strict";var n=r(8536);var s=r(35212);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},49905:(e,t,r)=>{"use strict";var n=r(8536);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},50144:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(35212);r(49905);r(84693);r(54547);r(80823);r(48030);var s=r(8536);var i=r(77250);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},84693:(e,t,r)=>{"use strict";var n=r(8536);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},54547:(e,t,r)=>{"use strict";var n=r(8536);var s=r(77250);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},77250:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(8536);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},48030:(e,t,r)=>{"use strict";var n=r(8536);var s=r(35212);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},8536:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(66631);var s=r(71329);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},56538:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(37183);var i=r(85465);var a=r(13470);var o=r(87578);var l=r(29994);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(56035);var p=r(46571);var f=r(60340);var c=r(31746);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(5493);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(67015);var m=r(78421);var T=r(92002);var h=r(72753);var S=r(3167);var b=r(36980);var E=r(56026);var g=r(95762);var P=r(12065);var x=r(47390);var v=r(50215);var A=r(15399);var O=r(32679);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(19700);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(67604);var w=r(51912);var j=r(36973);var N=r(72682);var C=r(14998);var L=r(1717);var _=r(17968);var M=r(56132);var F=r(15230);var B=r(56199);var k=r(50144);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(59886);var K=r(56028);var V=r(46020);var X=r(61419);var Y=r(68160);var J=r(32789);var U=r(64946);var W=r(58916);var q=r(99870);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(47278);var G=r(91592);var $=r(66631);var H=r(56865);var Q=r(58564);var Z=r(11566);var ee=r(49042);var te=r(44538);var re=r(65765);var ne=r(54842);var se=r(22399);var ie=r(19054);var ae=r(56357);var oe=r(18742);var le=r(29558);var ue=r(28516);var pe=r(52411);var fe=r(85432);var ce=r(71329);var de=r(20542);var ye=r(26197);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(21583);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},59886:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(31746);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},32789:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(26197);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},56028:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(19700);var s=r(47390);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},46020:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(31746);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},61419:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(19700);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},68160:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(47278);var s=r(61419);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},37786:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(26197);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},64946:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(26197);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(64946);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},99870:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(50144);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(50144);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},58638:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},74498:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(31746);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},20542:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(85432);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},26197:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(91592);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},66631:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(91592);var s=r(18742);var i=r(54842);var a=r(50144);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},56865:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(64946);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},58564:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(26197);var s=r(49042);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},11566:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(18742);var s=r(26197);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},49042:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(26197);var s=r(19700);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},44538:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(50144);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},65765:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(50144);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(50144);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},22399:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},19054:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(26197);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},56357:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(26197);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},18742:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(50144);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},29558:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(28516);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},28516:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(97567);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},52411:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(26197);var s=r(19700);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},85432:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(26197);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},37183:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(20542);const s=(0,n.default)("React.Component");var i=s;t.default=i},71329:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(50144);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},45162:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(7144);function _default(e){const t=e.params;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(90561);var s=r(85637)},85637:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},14848:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(89131);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},33283:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(75256);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},23371:()=>{},20090:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(86087);var s=r(23018);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(39729);var s=r(74951);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},62186:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(39729);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},39729:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(20090);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},41667:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(39729)},84149:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(30098);var s=r(95954);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(39729);var s=r(42373);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},68854:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(56391);function clone(e){return(0,n.default)(e,false)}},44562:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(56391);function cloneDeep(e){return(0,n.default)(e)}},88814:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(56391);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},56391:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(86087);var s=r(30098);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},52450:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(56391);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},28476:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(82038);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},82038:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},45726:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(48336);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},8274:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(48336);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},23950:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(48336);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},54859:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(23950);var s=r(8274);var i=r(45726);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},46464:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(31118);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},77395:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(86087);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},31118:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},67399:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(43693);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},68747:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(17466);var s=r(30098);var i=r(39729);var a=r(56391);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},60577:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(53821);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},43693:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(30098);var s=r(39729);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},10774:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(30098);var s=r(39729);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},31092:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(30098);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},53821:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(58176);var s=r(16446);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},73195:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(30098);var s=r(56391);var i=r(45737);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},84712:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(68747);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},26049:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(30098);var s=r(39729);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},72543:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(58176);var s=r(39729);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},60128:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(75256);var s=r(58176);var i=r(16446);var a=r(31118);var o=r(53100);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},80261:(e,t,r)=>{"use strict";var n=r(53100);var s=r(60128);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},39334:(e,t,r)=>{"use strict";var n=r(53100);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},86087:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(60128);r(39334);r(92827);r(52971);r(80261);r(96486);var s=r(53100);var i=r(11750);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},92827:(e,t,r)=>{"use strict";var n=r(53100);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},52971:(e,t,r)=>{"use strict";var n=r(53100);var s=r(11750);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},11750:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(53100);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},96486:(e,t,r)=>{"use strict";var n=r(53100);var s=r(60128);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},53100:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(75256);var s=r(23018);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},7144:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(72834);var i=r(92145);var a=r(84149);var o=r(14848);var l=r(33283);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(62186);var p=r(72519);var f=r(99644);var c=r(39729);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(41667);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(56391);var m=r(68854);var T=r(44562);var h=r(88814);var S=r(52450);var b=r(28476);var E=r(82038);var g=r(45726);var P=r(8274);var x=r(54859);var v=r(23950);var A=r(46464);var O=r(77395);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(31118);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(67399);var w=r(60577);var j=r(43693);var N=r(10774);var C=r(31092);var L=r(53821);var _=r(73195);var M=r(84712);var F=r(26049);var B=r(72543);var k=r(86087);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(37287);var K=r(29853);var V=r(30061);var X=r(61263);var Y=r(45737);var J=r(74951);var U=r(17466);var W=r(79036);var q=r(64024);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(35874);var G=r(97422);var $=r(75256);var H=r(30850);var Q=r(50005);var Z=r(89033);var ee=r(19987);var te=r(89131);var re=r(34392);var ne=r(35810);var se=r(12810);var ie=r(6285);var ae=r(82178);var oe=r(82814);var le=r(52028);var ue=r(58176);var pe=r(87141);var fe=r(62166);var ce=r(23018);var de=r(1872);var ye=r(30098);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(23371);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},37287:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(39729);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},74951:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(30098);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},29853:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(31118);var s=r(54859);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},30061:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(39729);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},61263:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(31118);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},45737:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(35874);var s=r(61263);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},42373:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(30098);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},17466:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(30098);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(17466);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},64024:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(86087);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(86087);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},48336:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},95954:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(39729);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},1872:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(62166);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},30098:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(97422);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},75256:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(97422);var s=r(82814);var i=r(35810);var a=r(86087);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},30850:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(17466);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},50005:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(30098);var s=r(19987);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},89033:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(82814);var s=r(30098);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},19987:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(30098);var s=r(31118);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},89131:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(86087);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},34392:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(86087);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(86087);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},12810:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},6285:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(30098);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},82178:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(30098);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},82814:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(86087);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},52028:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(58176);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},58176:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(16446);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},87141:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(30098);var s=r(31118);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},62166:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(30098);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},72834:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(1872);const s=(0,n.default)("React.Component");var i=s;t.default=i},23018:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(86087);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},28497:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=hoistVariables;var n=r(52949);const s={Scope(e,t){if(t.kind==="let")e.skip()},FunctionParent(e){e.skip()},VariableDeclaration(e,t){if(t.kind&&e.node.kind!==t.kind)return;const r=[];const s=e.get("declarations");let i;for(const e of s){i=e.node.id;if(e.node.init){r.push(n.expressionStatement(n.assignmentExpression("=",e.node.id,e.node.init)))}for(const r of Object.keys(e.getBindingIdentifiers())){t.emit(n.identifier(r),r,e.node.init!==null)}}if(e.parentPath.isFor({left:e.node})){e.replaceWith(i)}else{e.replaceWithMultiple(r)}}};function hoistVariables(e,t,r="var"){e.traverse(s,{kind:r,emit:t})}},84038:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(84038);var s=r(25766)},25766:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},97890:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(27494);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},50029:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(27052);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},47836:()=>{},49239:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(41630);var s=r(62473);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(32446);var s=r(65375);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},96670:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(32446);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},32446:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(49239);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},45482:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(32446)},37059:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(98338);var s=r(96568);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(32446);var s=r(71408);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},79354:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(69541);function clone(e){return(0,n.default)(e,false)}},78393:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(69541);function cloneDeep(e){return(0,n.default)(e)}},65137:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(69541);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},69541:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(41630);var s=r(98338);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},77149:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(69541);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},53873:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(95e3);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},95000:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},12368:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(80191);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},8389:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(80191);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},95871:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(80191);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},42290:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(95871);var s=r(8389);var i=r(12368);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},56101:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(48427);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},39987:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(41630);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},48427:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},17414:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(38259);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},55574:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(38242);var s=r(98338);var i=r(32446);var a=r(69541);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},67398:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(88986);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},38259:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(98338);var s=r(32446);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},50420:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(98338);var s=r(32446);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},68461:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(98338);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},88986:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(5889);var s=r(43044);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},52985:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(98338);var s=r(69541);var i=r(61423);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},31532:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(55574);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},62292:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(98338);var s=r(32446);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},26831:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(5889);var s=r(32446);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},1601:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(27052);var s=r(5889);var i=r(43044);var a=r(48427);var o=r(71478);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},15030:(e,t,r)=>{"use strict";var n=r(71478);var s=r(1601);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},5158:(e,t,r)=>{"use strict";var n=r(71478);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},41630:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(1601);r(5158);r(86506);r(40749);r(15030);r(26861);var s=r(71478);var i=r(24465);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},86506:(e,t,r)=>{"use strict";var n=r(71478);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},40749:(e,t,r)=>{"use strict";var n=r(71478);var s=r(24465);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},24465:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(71478);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},26861:(e,t,r)=>{"use strict";var n=r(71478);var s=r(1601);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},71478:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(27052);var s=r(62473);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},52949:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(50774);var i=r(25424);var a=r(37059);var o=r(97890);var l=r(50029);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(96670);var p=r(46536);var f=r(30338);var c=r(32446);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(45482);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(69541);var m=r(79354);var T=r(78393);var h=r(65137);var S=r(77149);var b=r(53873);var E=r(95e3);var g=r(12368);var P=r(8389);var x=r(42290);var v=r(95871);var A=r(56101);var O=r(39987);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(48427);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(17414);var w=r(67398);var j=r(38259);var N=r(50420);var C=r(68461);var L=r(88986);var _=r(52985);var M=r(31532);var F=r(62292);var B=r(26831);var k=r(41630);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(55648);var K=r(31396);var V=r(59566);var X=r(52109);var Y=r(61423);var J=r(65375);var U=r(38242);var W=r(75279);var q=r(68611);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(65542);var G=r(24228);var $=r(27052);var H=r(34122);var Q=r(68179);var Z=r(44675);var ee=r(79826);var te=r(27494);var re=r(92251);var ne=r(1748);var se=r(63292);var ie=r(28527);var ae=r(55747);var oe=r(23480);var le=r(91583);var ue=r(5889);var pe=r(85097);var fe=r(27637);var ce=r(62473);var de=r(58503);var ye=r(98338);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(47836);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},55648:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(32446);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},65375:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(98338);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},31396:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(48427);var s=r(42290);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},59566:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(32446);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},52109:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(48427);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},61423:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(65542);var s=r(52109);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},71408:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(98338);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},38242:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(98338);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(38242);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},68611:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(41630);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(41630);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},80191:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},96568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(32446);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},58503:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(27637);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},98338:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(24228);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},27052:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(24228);var s=r(23480);var i=r(1748);var a=r(41630);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},34122:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(38242);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},68179:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(98338);var s=r(79826);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},44675:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(23480);var s=r(98338);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},79826:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(98338);var s=r(48427);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},27494:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(41630);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},92251:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(41630);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(41630);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},63292:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},28527:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(98338);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},55747:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(98338);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},23480:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(41630);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},91583:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(5889);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},5889:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(43044);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},85097:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(98338);var s=r(48427);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},27637:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(98338);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},50774:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(58503);const s=(0,n.default)("React.Component");var i=s;t.default=i},62473:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(41630);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},68720:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=optimiseCallExpression;var n=r(29371);function optimiseCallExpression(e,t,r,s){if(r.length===1&&n.isSpreadElement(r[0])&&n.isIdentifier(r[0].argument,{name:"arguments"})){if(s){return n.optionalCallExpression(n.optionalMemberExpression(e,n.identifier("apply"),false,true),[t,r[0].argument],false)}return n.callExpression(n.memberExpression(e,n.identifier("apply")),[t,r[0].argument])}else{if(s){return n.optionalCallExpression(n.optionalMemberExpression(e,n.identifier("call"),false,true),[t,...r],false)}return n.callExpression(n.memberExpression(e,n.identifier("call")),[t,...r])}}},83452:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(83452);var s=r(74173)},74173:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},30246:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(31805);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},49789:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(91136);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},16622:()=>{},63425:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(58281);var s=r(70595);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(63614);var s=r(26535);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},1598:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(63614);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},63614:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(63425);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},37361:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(63614)},84256:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(11930);var s=r(86522);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(63614);var s=r(52941);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},4186:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(45691);function clone(e){return(0,n.default)(e,false)}},92230:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(45691);function cloneDeep(e){return(0,n.default)(e)}},89335:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(45691);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},45691:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(58281);var s=r(11930);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},44814:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(45691);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},77440:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(56299);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},56299:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},64564:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(90194);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},75198:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(90194);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},42309:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(90194);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},14963:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(42309);var s=r(75198);var i=r(64564);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},1032:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(61784);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},59640:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(58281);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},61784:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},82451:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(90754);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},90519:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(3065);var s=r(11930);var i=r(63614);var a=r(45691);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},41039:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(12047);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},90754:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(11930);var s=r(63614);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},31060:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(11930);var s=r(63614);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},19830:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(11930);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},12047:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(11734);var s=r(49319);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},73074:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(11930);var s=r(45691);var i=r(42271);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},97165:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(90519);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},17946:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(11930);var s=r(63614);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},45818:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(11734);var s=r(63614);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},21721:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(91136);var s=r(11734);var i=r(49319);var a=r(61784);var o=r(89978);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},69016:(e,t,r)=>{"use strict";var n=r(89978);var s=r(21721);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},39371:(e,t,r)=>{"use strict";var n=r(89978);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},58281:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(21721);r(39371);r(97019);r(9587);r(69016);r(89332);var s=r(89978);var i=r(70043);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},97019:(e,t,r)=>{"use strict";var n=r(89978);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},9587:(e,t,r)=>{"use strict";var n=r(89978);var s=r(70043);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},70043:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(89978);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},89332:(e,t,r)=>{"use strict";var n=r(89978);var s=r(21721);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},89978:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(91136);var s=r(70595);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},29371:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(61882);var i=r(73963);var a=r(84256);var o=r(30246);var l=r(49789);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(1598);var p=r(73871);var f=r(30533);var c=r(63614);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(37361);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(45691);var m=r(4186);var T=r(92230);var h=r(89335);var S=r(44814);var b=r(77440);var E=r(56299);var g=r(64564);var P=r(75198);var x=r(14963);var v=r(42309);var A=r(1032);var O=r(59640);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(61784);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(82451);var w=r(41039);var j=r(90754);var N=r(31060);var C=r(19830);var L=r(12047);var _=r(73074);var M=r(97165);var F=r(17946);var B=r(45818);var k=r(58281);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(2412);var K=r(3211);var V=r(30996);var X=r(91395);var Y=r(42271);var J=r(26535);var U=r(3065);var W=r(52745);var q=r(66906);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(22348);var G=r(16113);var $=r(91136);var H=r(82309);var Q=r(77982);var Z=r(49729);var ee=r(45278);var te=r(31805);var re=r(56870);var ne=r(87290);var se=r(94447);var ie=r(71146);var ae=r(61067);var oe=r(857);var le=r(68681);var ue=r(11734);var pe=r(62325);var fe=r(65149);var ce=r(70595);var de=r(49526);var ye=r(11930);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(16622);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},2412:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(63614);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},26535:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(11930);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},3211:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(61784);var s=r(14963);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},30996:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(63614);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},91395:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(61784);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},42271:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(22348);var s=r(91395);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},52941:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(11930);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},3065:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(11930);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(3065);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},66906:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(58281);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(58281);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},90194:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},86522:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(63614);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},49526:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(65149);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},11930:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(16113);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},91136:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(16113);var s=r(857);var i=r(87290);var a=r(58281);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},82309:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(3065);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},77982:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(11930);var s=r(45278);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},49729:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(857);var s=r(11930);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},45278:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(11930);var s=r(61784);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},31805:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(58281);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},56870:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(58281);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(58281);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},94447:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},71146:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(11930);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},61067:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(11930);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},857:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(58281);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},68681:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(11734);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},11734:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(49319);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},62325:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(11930);var s=r(61784);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},65149:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(11930);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},61882:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(49526);const s=(0,n.default)("React.Component");var i=s;t.default=i},70595:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(58281);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},70287:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,n)=>{if(!t.assertVersion){t=Object.assign(copyApiObject(t),{assertVersion(e){throwVersionError(e,t.version)}})}return e(t,r||{},n)}}function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},79763:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(79818);var s=r(96659);var i=r(34873);const a={Function(e){e.skip()},AwaitExpression(e,{wrapAwait:t}){const r=e.get("argument");if(e.parentPath.isYieldExpression()){e.replaceWith(r.node);return}e.replaceWith(i.yieldExpression(t?i.callExpression(i.cloneNode(t),[r.node]):r.node))}};function _default(e,t,r){e.traverse(a,{wrapAwait:t.wrapAwait});const o=checkIsIIFE(e);e.node.async=false;e.node.generator=true;(0,n.default)(e,i.cloneNode(t.wrapAsync),r);const l=e.isObjectMethod()||e.isClassMethod()||e.parentPath.isObjectProperty()||e.parentPath.isClassProperty();if(!l&&!o&&e.isExpression()){(0,s.default)(e)}function checkIsIIFE(e){if(e.parentPath.isCallExpression({callee:e.node})){return true}const{parentPath:t}=e;if(t.isMemberExpression()&&i.isIdentifier(t.node.property,{name:"bind"})){const{parentPath:e}=t;return e.isCallExpression()&&e.node.arguments.length===1&&i.isThisExpression(e.node.arguments[0])&&e.parentPath.isCallExpression({callee:e.node})}return false}}},75753:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(75753);var s=r(34825)},34825:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},57641:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(6980);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},22056:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(15e3);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},30176:()=>{},91498:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(67301);var s=r(26595);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(61776);var s=r(33217);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},64625:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(61776);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},61776:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(91498);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},18134:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(61776)},79996:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(8946);var s=r(4076);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(61776);var s=r(62100);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},53667:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(54777);function clone(e){return(0,n.default)(e,false)}},90041:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(54777);function cloneDeep(e){return(0,n.default)(e)}},55629:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(54777);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},54777:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(67301);var s=r(8946);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},2395:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(54777);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},99375:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(9103);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},9103:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},26116:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(6643);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},20955:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(6643);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},61040:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(6643);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},23463:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(61040);var s=r(20955);var i=r(26116);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},27790:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(22872);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},98226:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(67301);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},22872:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},52789:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(8078);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},6053:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(75569);var s=r(8946);var i=r(61776);var a=r(54777);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},31481:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(67242);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},8078:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(8946);var s=r(61776);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},77194:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(8946);var s=r(61776);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},59015:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(8946);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},67242:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(60035);var s=r(70495);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},63694:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(8946);var s=r(54777);var i=r(82833);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},84453:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(6053);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},23613:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(8946);var s=r(61776);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},26314:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(60035);var s=r(61776);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},50501:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(15e3);var s=r(60035);var i=r(70495);var a=r(22872);var o=r(1813);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},70442:(e,t,r)=>{"use strict";var n=r(1813);var s=r(50501);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},23397:(e,t,r)=>{"use strict";var n=r(1813);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},67301:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(50501);r(23397);r(31613);r(20373);r(70442);r(3004);var s=r(1813);var i=r(99197);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},31613:(e,t,r)=>{"use strict";var n=r(1813);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},20373:(e,t,r)=>{"use strict";var n=r(1813);var s=r(99197);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},99197:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(1813);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},3004:(e,t,r)=>{"use strict";var n=r(1813);var s=r(50501);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},1813:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(15e3);var s=r(26595);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},34873:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(85618);var i=r(25979);var a=r(79996);var o=r(57641);var l=r(22056);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(64625);var p=r(20068);var f=r(96529);var c=r(61776);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(18134);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(54777);var m=r(53667);var T=r(90041);var h=r(55629);var S=r(2395);var b=r(99375);var E=r(9103);var g=r(26116);var P=r(20955);var x=r(23463);var v=r(61040);var A=r(27790);var O=r(98226);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(22872);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(52789);var w=r(31481);var j=r(8078);var N=r(77194);var C=r(59015);var L=r(67242);var _=r(63694);var M=r(84453);var F=r(23613);var B=r(26314);var k=r(67301);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(46009);var K=r(50816);var V=r(40409);var X=r(49275);var Y=r(82833);var J=r(33217);var U=r(75569);var W=r(7228);var q=r(11918);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(46922);var G=r(87688);var $=r(15e3);var H=r(80643);var Q=r(23565);var Z=r(84728);var ee=r(79701);var te=r(6980);var re=r(87436);var ne=r(52356);var se=r(31339);var ie=r(94788);var ae=r(81539);var oe=r(204);var le=r(41719);var ue=r(60035);var pe=r(80736);var fe=r(60844);var ce=r(26595);var de=r(95081);var ye=r(8946);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(30176);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},46009:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(61776);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},33217:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(8946);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},50816:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(22872);var s=r(23463);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},40409:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(61776);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},49275:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(22872);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},82833:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(46922);var s=r(49275);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},62100:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(8946);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},75569:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(8946);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(75569);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},11918:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(67301);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(67301);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},6643:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},4076:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(61776);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},95081:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(60844);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},8946:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(87688);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},15000:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(87688);var s=r(204);var i=r(52356);var a=r(67301);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},80643:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(75569);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},23565:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(8946);var s=r(79701);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},84728:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(204);var s=r(8946);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},79701:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(8946);var s=r(22872);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},6980:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(67301);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},87436:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(67301);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(67301);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},31339:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},94788:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(8946);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},81539:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(8946);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},204:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(67301);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},41719:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(60035);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},60035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(70495);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},80736:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(8946);var s=r(22872);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},60844:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(8946);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},85618:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(95081);const s=(0,n.default)("React.Component");var i=s;t.default=i},26595:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(67301);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},846:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.skipAllButComputedKey=skipAllButComputedKey;t.default=t.environmentVisitor=void 0;var n=r(4267);var s=r(20481);var i=r(68720);var a=r(1422);function getPrototypeOfExpression(e,t,r,n){e=a.cloneNode(e);const s=t||n?e:a.memberExpression(e,a.identifier("prototype"));return a.callExpression(r.addHelper("getPrototypeOf"),[s])}function skipAllButComputedKey(e){if(!e.node.computed){e.skip();return}const t=a.VISITOR_KEYS[e.type];for(const r of t){if(r!=="key")e.skipKey(r)}}const o={[`${a.staticBlock?"StaticBlock|":""}ClassPrivateProperty|TypeAnnotation`](e){e.skip()},Function(e){if(e.isMethod())return;if(e.isArrowFunctionExpression())return;e.skip()},"Method|ClassProperty"(e){skipAllButComputedKey(e)}};t.environmentVisitor=o;const l=n.default.visitors.merge([o,{Super(e,t){const{node:r,parentPath:n}=e;if(!n.isMemberExpression({object:r}))return;t.handle(n)}}]);const u=n.default.visitors.merge([o,{Scopable(e,{refName:t}){const r=e.scope.getOwnBinding(t);if(r&&r.identifier.name===t){e.scope.rename(t)}}}]);const p={memoise(e,t){const{scope:r,node:n}=e;const{computed:s,property:i}=n;if(!s){return}const a=r.maybeGenerateMemoised(i);if(!a){return}this.memoiser.set(i,a,t)},prop(e){const{computed:t,property:r}=e.node;if(this.memoiser.has(r)){return a.cloneNode(this.memoiser.get(r))}if(t){return a.cloneNode(r)}return a.stringLiteral(r.name)},get(e){return this._get(e,this._getThisRefs())},_get(e,t){const r=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return a.callExpression(this.file.addHelper("get"),[t.memo?a.sequenceExpression([t.memo,r]):r,this.prop(e),t.this])},_getThisRefs(){if(!this.isDerivedConstructor){return{this:a.thisExpression()}}const e=this.scope.generateDeclaredUidIdentifier("thisSuper");return{memo:a.assignmentExpression("=",e,a.thisExpression()),this:a.cloneNode(e)}},set(e,t){const r=this._getThisRefs();const n=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return a.callExpression(this.file.addHelper("set"),[r.memo?a.sequenceExpression([r.memo,n]):n,this.prop(e),t,r.this,a.booleanLiteral(e.isInStrictMode())])},destructureSet(e){throw e.buildCodeFrameError(`Destructuring to a super field is not supported yet.`)},call(e,t){const r=this._getThisRefs();return(0,i.default)(this._get(e,r),a.cloneNode(r.this),t,false)},optionalCall(e,t){const r=this._getThisRefs();return(0,i.default)(this._get(e,r),a.cloneNode(r.this),t,true)}};const f=Object.assign({},p,{prop(e){const{property:t}=e.node;if(this.memoiser.has(t)){return a.cloneNode(this.memoiser.get(t))}return a.cloneNode(t)},get(e){const{isStatic:t,getSuperRef:r}=this;const{computed:n}=e.node;const s=this.prop(e);let i;if(t){var o;i=(o=r())!=null?o:a.memberExpression(a.identifier("Function"),a.identifier("prototype"))}else{var l;i=a.memberExpression((l=r())!=null?l:a.identifier("Object"),a.identifier("prototype"))}return a.memberExpression(i,s,n)},set(e,t){const{computed:r}=e.node;const n=this.prop(e);return a.assignmentExpression("=",a.memberExpression(a.thisExpression(),n,r),t)},destructureSet(e){const{computed:t}=e.node;const r=this.prop(e);return a.memberExpression(a.thisExpression(),r,t)},call(e,t){return(0,i.default)(this.get(e),a.thisExpression(),t,false)},optionalCall(e,t){return(0,i.default)(this.get(e),a.thisExpression(),t,true)}});class ReplaceSupers{constructor(e){var t;const r=e.methodPath;this.methodPath=r;this.isDerivedConstructor=r.isClassMethod({kind:"constructor"})&&!!e.superRef;this.isStatic=r.isObjectMethod()||r.node.static||(r.isStaticBlock==null?void 0:r.isStaticBlock());this.isPrivateMethod=r.isPrivate()&&r.isMethod();this.file=e.file;this.constantSuper=(t=e.constantSuper)!=null?t:e.isLoose;this.opts=e}getObjectRef(){return a.cloneNode(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){if(this.opts.superRef)return a.cloneNode(this.opts.superRef);if(this.opts.getSuperRef)return a.cloneNode(this.opts.getSuperRef())}replace(){if(this.opts.refToPreserve){this.methodPath.traverse(u,{refName:this.opts.refToPreserve.name})}const e=this.constantSuper?f:p;(0,s.default)(this.methodPath,l,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this)},e))}}t.default=ReplaceSupers},20481:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(1422);function _interopNamespace(e){if(e&&e.__esModule)return e;var t=Object.create(null);if(e){Object.keys(e).forEach(function(r){if(r!=="default"){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:true,get:function(){return e[r]}})}})}t["default"]=e;return Object.freeze(t)}var s=_interopNamespace(n);function willPathCastToBoolean(e){const t=e;const{node:r,parentPath:n}=t;if(n.isLogicalExpression()){const{operator:e,right:t}=n.node;if(e==="&&"||e==="||"||e==="??"&&r===t){return willPathCastToBoolean(n)}}if(n.isSequenceExpression()){const{expressions:e}=n.node;if(e[e.length-1]===r){return willPathCastToBoolean(n)}else{return true}}return n.isConditional({test:r})||n.isUnaryExpression({operator:"!"})||n.isLoop({test:r})}class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const t=this._map.get(e);const{value:r}=t;t.count--;if(t.count===0){return s.assignmentExpression("=",r,e)}return r}set(e,t,r){return this._map.set(e,{count:r,value:t})}}function toNonOptional(e,t){const{node:r}=e;if(e.isOptionalMemberExpression()){return s.memberExpression(t,r.property,r.computed)}if(e.isOptionalCallExpression()){const n=e.get("callee");if(e.node.optional&&n.isOptionalMemberExpression()){const{object:i}=n.node;const a=e.scope.maybeGenerateMemoised(i)||i;n.get("object").replaceWith(s.assignmentExpression("=",a,i));return s.callExpression(s.memberExpression(t,s.identifier("call")),[a,...r.arguments])}return s.callExpression(t,r.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:t,container:r,listKey:n}=e;const s=t.node;if(n){if(r!==s[n])return true}else{if(r!==s)return true}e=t}return false}const i={memoise(){},handle(e,t){const{node:r,parent:n,parentPath:i,scope:a}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const o=e.find(({node:t,parent:r,parentPath:n})=>{if(n.isOptionalMemberExpression()){return r.optional||r.object!==t}if(n.isOptionalCallExpression()){return t!==e.node&&r.optional||r.callee!==t}return true});if(a.path.isPattern()){o.replaceWith(s.callExpression(s.arrowFunctionExpression([],o.node),[]));return}const l=willPathCastToBoolean(o);const u=o.parentPath;if(u.isUpdateExpression({argument:r})||u.isAssignmentExpression({left:r})){throw e.buildCodeFrameError(`can't handle assignment`)}const p=u.isUnaryExpression({operator:"delete"});if(p&&o.isOptionalMemberExpression()&&o.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let f=e;for(;;){if(f.isOptionalMemberExpression()){if(f.node.optional)break;f=f.get("object");continue}else if(f.isOptionalCallExpression()){if(f.node.optional)break;f=f.get("callee");continue}throw new Error(`Internal error: unexpected ${f.node.type}`)}const c=f.isOptionalMemberExpression()?"object":"callee";const d=f.node[c];const y=a.maybeGenerateMemoised(d);const m=y!=null?y:d;const T=i.isOptionalCallExpression({callee:r});const h=i.isCallExpression({callee:r});f.replaceWith(toNonOptional(f,m));if(T){if(n.optional){i.replaceWith(this.optionalCall(e,n.arguments))}else{i.replaceWith(this.call(e,n.arguments))}}else if(h){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}let S=e.node;for(let t=e;t!==o;){const{parentPath:e}=t;if(e===o&&T&&n.optional){S=e.node;break}S=toNonOptional(e,S);t=e}let b;const E=o.parentPath;if(s.isMemberExpression(S)&&E.isOptionalCallExpression({callee:o.node,optional:true})){const{object:t}=S;b=e.scope.maybeGenerateMemoised(t);if(b){S.object=s.assignmentExpression("=",b,t)}}let g=o;if(p){g=E;S=E.node}const P=y?s.assignmentExpression("=",s.cloneNode(m),s.cloneNode(d)):s.cloneNode(m);if(l){let e;if(t){e=s.binaryExpression("!=",P,s.nullLiteral())}else{e=s.logicalExpression("&&",s.binaryExpression("!==",P,s.nullLiteral()),s.binaryExpression("!==",s.cloneNode(m),a.buildUndefinedNode()))}g.replaceWith(s.logicalExpression("&&",e,S))}else{let e;if(t){e=s.binaryExpression("==",P,s.nullLiteral())}else{e=s.logicalExpression("||",s.binaryExpression("===",P,s.nullLiteral()),s.binaryExpression("===",s.cloneNode(m),a.buildUndefinedNode()))}g.replaceWith(s.conditionalExpression(e,p?s.booleanLiteral(true):a.buildUndefinedNode(),S))}if(b){const e=E.node;E.replaceWith(s.optionalCallExpression(s.optionalMemberExpression(e.callee,s.identifier("call"),false,true),[s.cloneNode(b),...e.arguments],false))}return}if(i.isUpdateExpression({argument:r})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,prefix:a}=n;this.memoise(e,2);const o=s.binaryExpression(t[0],s.unaryExpression("+",this.get(e)),s.numericLiteral(1));if(a){i.replaceWith(this.set(e,o))}else{const{scope:t}=e;const n=t.generateUidIdentifierBasedOnNode(r);t.push({id:n});o.left=s.assignmentExpression("=",s.cloneNode(n),o.left);i.replaceWith(s.sequenceExpression([this.set(e,o),s.cloneNode(n)]))}return}if(i.isAssignmentExpression({left:r})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,right:r}=n;if(t==="="){i.replaceWith(this.set(e,r))}else{const n=t.slice(0,-1);if(s.LOGICAL_OPERATORS.includes(n)){this.memoise(e,1);i.replaceWith(s.logicalExpression(n,this.get(e),this.set(e,r)))}else{this.memoise(e,2);i.replaceWith(this.set(e,s.binaryExpression(n,this.get(e),r)))}}return}if(i.isCallExpression({callee:r})){i.replaceWith(this.call(e,n.arguments));return}if(i.isOptionalCallExpression({callee:r})){if(a.path.isPattern()){i.replaceWith(s.callExpression(s.arrowFunctionExpression([],i.node),[]));return}i.replaceWith(this.optionalCall(e,n.arguments));return}if(i.isForXStatement({left:r})||i.isObjectProperty({value:r})&&i.parentPath.isObjectPattern()||i.isAssignmentPattern({left:r})&&i.parentPath.isObjectProperty({value:n})&&i.parentPath.parentPath.isObjectPattern()||i.isArrayPattern()||i.isAssignmentPattern({left:r})&&i.parentPath.isArrayPattern()||i.isRestElement()){e.replaceWith(this.destructureSet(e));return}e.replaceWith(this.get(e))}};function memberExpressionToFunctions(e,t,r){e.traverse(t,Object.assign({},i,r,{memoiser:new AssignmentMemoiser}))}t.default=memberExpressionToFunctions},58861:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(58861);var s=r(75762)},75762:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},48519:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(82676);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},54568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(14996);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},96535:()=>{},42181:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(79315);var s=r(87412);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(17045);var s=r(66257);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},42578:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(17045);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},17045:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(42181);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},83253:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(17045)},95821:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(59801);var s=r(76034);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(17045);var s=r(35333);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},83129:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(61568);function clone(e){return(0,n.default)(e,false)}},2623:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(61568);function cloneDeep(e){return(0,n.default)(e)}},36372:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(61568);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},61568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(79315);var s=r(59801);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},33208:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(61568);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},17973:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(18469);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},18469:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},99115:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(27127);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},17765:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(27127);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},68298:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(27127);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},86408:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(68298);var s=r(17765);var i=r(99115);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},40941:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(79133);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},87393:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(79315);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},79133:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},6410:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(55677);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},74773:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(8598);var s=r(59801);var i=r(17045);var a=r(61568);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},88797:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(80041);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},55677:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(59801);var s=r(17045);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},46294:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(59801);var s=r(17045);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},90968:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(59801);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},80041:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(21904);var s=r(59033);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},76524:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(59801);var s=r(61568);var i=r(84517);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},3172:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(74773);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},83430:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(59801);var s=r(17045);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},83725:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(21904);var s=r(17045);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},67964:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(14996);var s=r(21904);var i=r(59033);var a=r(79133);var o=r(65021);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},13935:(e,t,r)=>{"use strict";var n=r(65021);var s=r(67964);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},39798:(e,t,r)=>{"use strict";var n=r(65021);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},79315:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(67964);r(39798);r(35430);r(94221);r(13935);r(93616);var s=r(65021);var i=r(91);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},35430:(e,t,r)=>{"use strict";var n=r(65021);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},94221:(e,t,r)=>{"use strict";var n=r(65021);var s=r(91);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},91:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(65021);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},93616:(e,t,r)=>{"use strict";var n=r(65021);var s=r(67964);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},65021:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(14996);var s=r(87412);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},1422:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(83986);var i=r(97537);var a=r(95821);var o=r(48519);var l=r(54568);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(42578);var p=r(9717);var f=r(73928);var c=r(17045);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(83253);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(61568);var m=r(83129);var T=r(2623);var h=r(36372);var S=r(33208);var b=r(17973);var E=r(18469);var g=r(99115);var P=r(17765);var x=r(86408);var v=r(68298);var A=r(40941);var O=r(87393);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(79133);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(6410);var w=r(88797);var j=r(55677);var N=r(46294);var C=r(90968);var L=r(80041);var _=r(76524);var M=r(3172);var F=r(83430);var B=r(83725);var k=r(79315);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(75566);var K=r(38470);var V=r(93725);var X=r(51170);var Y=r(84517);var J=r(66257);var U=r(8598);var W=r(29581);var q=r(65239);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(26341);var G=r(45200);var $=r(14996);var H=r(73522);var Q=r(69213);var Z=r(45931);var ee=r(25425);var te=r(82676);var re=r(45551);var ne=r(58355);var se=r(60272);var ie=r(39823);var ae=r(1155);var oe=r(77748);var le=r(29234);var ue=r(21904);var pe=r(31689);var fe=r(12208);var ce=r(87412);var de=r(39871);var ye=r(59801);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(96535);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},75566:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(17045);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},66257:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(59801);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},38470:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(79133);var s=r(86408);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},93725:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(17045);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},51170:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(79133);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},84517:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(26341);var s=r(51170);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},35333:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(59801);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},8598:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(59801);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(8598);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},65239:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(79315);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(79315);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},27127:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},76034:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(17045);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},39871:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(12208);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},59801:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(45200);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},14996:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(45200);var s=r(77748);var i=r(58355);var a=r(79315);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},73522:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(8598);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},69213:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(59801);var s=r(25425);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},45931:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(77748);var s=r(59801);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},25425:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(59801);var s=r(79133);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},82676:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(79315);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},45551:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(79315);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(79315);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},60272:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},39823:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(59801);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},1155:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(59801);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},77748:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(79315);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},29234:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(21904);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},21904:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(59033);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},31689:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(59801);var s=r(79133);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},12208:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(59801);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},83986:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(39871);const s=(0,n.default)("React.Component");var i=s;t.default=i},87412:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(79315);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},28571:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isTransparentExprWrapper=isTransparentExprWrapper;t.skipTransparentExprWrappers=skipTransparentExprWrappers;var n=r(14901);function isTransparentExprWrapper(e){return n.isTSAsExpression(e)||n.isTSTypeAssertion(e)||n.isTSNonNullExpression(e)||n.isTypeCastExpression(e)||n.isParenthesizedExpression(e)}function skipTransparentExprWrappers(e){while(isTransparentExprWrapper(e.node)){e=e.get("expression")}return e}},45846:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(45846);var s=r(24066)},24066:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},82792:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(13206);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},55244:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(9495);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},67801:()=>{},25333:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(17279);var s=r(87090);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(47930);var s=r(84568);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},17009:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(47930);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},47930:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(25333);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},13576:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(47930)},72340:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(21728);var s=r(656);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(47930);var s=r(85631);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},19694:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(28018);function clone(e){return(0,n.default)(e,false)}},73362:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(28018);function cloneDeep(e){return(0,n.default)(e)}},87493:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(28018);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},28018:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(17279);var s=r(21728);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},93984:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(28018);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},40974:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(93122);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},93122:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},79627:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(24527);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},16987:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(24527);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},37449:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(24527);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},56065:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(37449);var s=r(16987);var i=r(79627);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},46591:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(26311);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},34126:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(17279);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},26311:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},92272:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(81742);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},94727:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(64515);var s=r(21728);var i=r(47930);var a=r(28018);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},13410:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(86410);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},81742:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(21728);var s=r(47930);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},84737:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(21728);var s=r(47930);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},93337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(21728);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},86410:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(21124);var s=r(31867);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},35659:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(21728);var s=r(28018);var i=r(88898);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},93321:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(94727);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},51042:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(21728);var s=r(47930);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},82432:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(21124);var s=r(47930);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},22045:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(9495);var s=r(21124);var i=r(31867);var a=r(26311);var o=r(5917);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},45650:(e,t,r)=>{"use strict";var n=r(5917);var s=r(22045);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},58322:(e,t,r)=>{"use strict";var n=r(5917);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},17279:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(22045);r(58322);r(91033);r(77597);r(45650);r(52573);var s=r(5917);var i=r(90151);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},91033:(e,t,r)=>{"use strict";var n=r(5917);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},77597:(e,t,r)=>{"use strict";var n=r(5917);var s=r(90151);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},90151:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(5917);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},52573:(e,t,r)=>{"use strict";var n=r(5917);var s=r(22045);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},5917:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(9495);var s=r(87090);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},14901:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(6822);var i=r(2879);var a=r(72340);var o=r(82792);var l=r(55244);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(17009);var p=r(21565);var f=r(27937);var c=r(47930);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(13576);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(28018);var m=r(19694);var T=r(73362);var h=r(87493);var S=r(93984);var b=r(40974);var E=r(93122);var g=r(79627);var P=r(16987);var x=r(56065);var v=r(37449);var A=r(46591);var O=r(34126);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(26311);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(92272);var w=r(13410);var j=r(81742);var N=r(84737);var C=r(93337);var L=r(86410);var _=r(35659);var M=r(93321);var F=r(51042);var B=r(82432);var k=r(17279);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(47140);var K=r(22825);var V=r(67160);var X=r(800);var Y=r(88898);var J=r(84568);var U=r(64515);var W=r(77720);var q=r(39981);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(82393);var G=r(52960);var $=r(9495);var H=r(11221);var Q=r(2677);var Z=r(38668);var ee=r(31449);var te=r(13206);var re=r(17798);var ne=r(96350);var se=r(46509);var ie=r(14294);var ae=r(54819);var oe=r(32026);var le=r(18588);var ue=r(21124);var pe=r(11761);var fe=r(63126);var ce=r(87090);var de=r(9126);var ye=r(21728);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(67801);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},47140:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(47930);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},84568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(21728);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},22825:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(26311);var s=r(56065);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},67160:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(47930);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},800:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(26311);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},88898:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(82393);var s=r(800);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},85631:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(21728);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},64515:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(21728);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(64515);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},39981:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(17279);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(17279);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},24527:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},656:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(47930);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},9126:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(63126);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},21728:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(52960);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},9495:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(52960);var s=r(32026);var i=r(96350);var a=r(17279);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},11221:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(64515);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},2677:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(21728);var s=r(31449);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},38668:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(32026);var s=r(21728);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},31449:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(21728);var s=r(26311);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},13206:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(17279);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},17798:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(17279);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(17279);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},46509:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},14294:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(21728);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},54819:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(21728);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},32026:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(17279);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},18588:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(21124);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},21124:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(31867);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},11761:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(21728);var s=r(26311);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},63126:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(21728);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},6822:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(9126);const s=(0,n.default)("React.Component");var i=s;t.default=i},87090:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(17279);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},76729:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=splitExportDeclaration;var n=r(32050);function splitExportDeclaration(e){if(!e.isExportDeclaration()){throw new Error("Only export declarations can be split.")}const t=e.isExportDefaultDeclaration();const r=e.get("declaration");const s=r.isClassDeclaration();if(t){const t=r.isFunctionDeclaration()||s;const i=r.isScope()?r.scope.parent:r.scope;let a=r.node.id;let o=false;if(!a){o=true;a=i.generateUidIdentifier("default");if(t||r.isFunctionExpression()||r.isClassExpression()){r.node.id=n.cloneNode(a)}}const l=t?r:n.variableDeclaration("var",[n.variableDeclarator(n.cloneNode(a),r.node)]);const u=n.exportNamedDeclaration(null,[n.exportSpecifier(n.cloneNode(a),n.identifier("default"))]);e.insertAfter(u);e.replaceWith(l);if(o){i.registerDeclaration(e)}return e}if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const i=r.getOuterBindingIdentifiers();const a=Object.keys(i).map(e=>{return n.exportSpecifier(n.identifier(e),n.identifier(e))});const o=n.exportNamedDeclaration(null,a);e.insertAfter(o);e.replaceWith(r.node);return e}},93063:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(93063);var s=r(3326)},3326:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},71345:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(72826);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},70051:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(88901);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},95722:()=>{},47949:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(19322);var s=r(68114);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(18494);var s=r(56903);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},25156:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(18494);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},18494:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(47949);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},12889:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(18494)},53658:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(22040);var s=r(73219);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(18494);var s=r(91605);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},84406:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(38902);function clone(e){return(0,n.default)(e,false)}},95030:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(38902);function cloneDeep(e){return(0,n.default)(e)}},90070:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(38902);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},38902:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(19322);var s=r(22040);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},95:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(38902);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},36251:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(17111);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},17111:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},95538:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(93182);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},36957:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(93182);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},78001:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(93182);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},21756:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(78001);var s=r(36957);var i=r(95538);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},96613:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(62390);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},1584:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(19322);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},62390:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},47535:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(6711);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},63730:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(3759);var s=r(22040);var i=r(18494);var a=r(38902);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},24551:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(26565);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},6711:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(22040);var s=r(18494);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},79668:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(22040);var s=r(18494);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},30054:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(22040);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},26565:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(19142);var s=r(74468);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},17126:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(22040);var s=r(38902);var i=r(56372);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},87456:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(63730);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},45021:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(22040);var s=r(18494);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},76730:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(19142);var s=r(18494);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},9938:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(88901);var s=r(19142);var i=r(74468);var a=r(62390);var o=r(30554);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},67195:(e,t,r)=>{"use strict";var n=r(30554);var s=r(9938);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},68979:(e,t,r)=>{"use strict";var n=r(30554);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},19322:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(9938);r(68979);r(9908);r(25311);r(67195);r(87181);var s=r(30554);var i=r(36917);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},9908:(e,t,r)=>{"use strict";var n=r(30554);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},25311:(e,t,r)=>{"use strict";var n=r(30554);var s=r(36917);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},36917:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(30554);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},87181:(e,t,r)=>{"use strict";var n=r(30554);var s=r(9938);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},30554:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(88901);var s=r(68114);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},32050:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(78635);var i=r(38029);var a=r(53658);var o=r(71345);var l=r(70051);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(25156);var p=r(54034);var f=r(95215);var c=r(18494);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(12889);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(38902);var m=r(84406);var T=r(95030);var h=r(90070);var S=r(95);var b=r(36251);var E=r(17111);var g=r(95538);var P=r(36957);var x=r(21756);var v=r(78001);var A=r(96613);var O=r(1584);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(62390);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(47535);var w=r(24551);var j=r(6711);var N=r(79668);var C=r(30054);var L=r(26565);var _=r(17126);var M=r(87456);var F=r(45021);var B=r(76730);var k=r(19322);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(46194);var K=r(25181);var V=r(86562);var X=r(53266);var Y=r(56372);var J=r(56903);var U=r(3759);var W=r(9945);var q=r(2023);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(31871);var G=r(65522);var $=r(88901);var H=r(30998);var Q=r(60830);var Z=r(69287);var ee=r(38661);var te=r(72826);var re=r(73);var ne=r(89227);var se=r(70826);var ie=r(52875);var ae=r(96067);var oe=r(40099);var le=r(63826);var ue=r(19142);var pe=r(13513);var fe=r(40898);var ce=r(68114);var de=r(7875);var ye=r(22040);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(95722);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},46194:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(18494);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},56903:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(22040);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},25181:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(62390);var s=r(21756);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},86562:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(18494);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},53266:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(62390);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},56372:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(31871);var s=r(53266);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},91605:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(22040);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},3759:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(22040);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(3759);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},2023:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(19322);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(19322);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},93182:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},73219:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(18494);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},7875:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(40898);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},22040:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(65522);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},88901:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(65522);var s=r(40099);var i=r(89227);var a=r(19322);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},30998:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(3759);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},60830:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(22040);var s=r(38661);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},69287:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(40099);var s=r(22040);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},38661:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(22040);var s=r(62390);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},72826:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(19322);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},73:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(19322);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(19322);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},70826:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},52875:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(22040);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},96067:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(22040);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},40099:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(19322);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},63826:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(19142);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},19142:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(74468);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},13513:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(22040);var s=r(62390);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},40898:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(22040);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},78635:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(7875);const s=(0,n.default)("React.Component");var i=s;t.default=i},68114:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(19322);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},25684:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findSuggestion=findSuggestion;const{min:r}=Math;function levenshtein(e,t){let n=[],s=[],i,a;const o=e.length,l=t.length;if(!o){return l}if(!l){return o}for(a=0;a<=l;a++){n[a]=a}for(i=1;i<=o;i++){for(s=[i],a=1;a<=l;a++){s[a]=e[i-1]===t[a-1]?n[a-1]:r(n[a-1],n[a],s[a-1])+1}n=s}return s[l]}function findSuggestion(e,t){const n=t.map(t=>levenshtein(t,e));return t[n.indexOf(r(...n))]}},69562:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"OptionValidator",{enumerable:true,get:function(){return n.OptionValidator}});Object.defineProperty(t,"findSuggestion",{enumerable:true,get:function(){return s.findSuggestion}});var n=r(17626);var s=r(25684)},17626:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.OptionValidator=void 0;var n=r(25684);class OptionValidator{constructor(e){this.descriptor=e}validateTopLevelOptions(e,t){const r=Object.keys(t);for(const t of Object.keys(e)){if(!r.includes(t)){throw new Error(this.formatMessage(`'${t}' is not a valid top-level option.\n- Did you mean '${(0,n.findSuggestion)(t,r)}'?`))}}}validateBooleanOption(e,t,r){if(t===undefined){return r}else{this.invariant(typeof t==="boolean",`'${e}' option must be a boolean.`)}return t}validateStringOption(e,t,r){if(t===undefined){return r}else{this.invariant(typeof t==="string",`'${e}' option must be a string.`)}return t}invariant(e,t){if(!e){throw new Error(this.formatMessage(t))}}formatMessage(e){return`${this.descriptor}: ${e}`}}t.OptionValidator=OptionValidator},79818:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=wrapFunction;var n=r(98733);var s=r(36900);var i=r(96058);const a=s.default.expression(`\n (function () {\n var REF = FUNCTION;\n return function NAME(PARAMS) {\n return REF.apply(this, arguments);\n };\n })()\n`);const o=s.default.expression(`\n (function () {\n var REF = FUNCTION;\n function NAME(PARAMS) {\n return REF.apply(this, arguments);\n }\n return NAME;\n })()\n`);const l=(0,s.default)(`\n function NAME(PARAMS) { return REF.apply(this, arguments); }\n function REF() {\n REF = FUNCTION;\n return REF.apply(this, arguments);\n }\n`);function classOrObjectMethod(e,t){const r=e.node;const n=r.body;const s=i.functionExpression(null,[],i.blockStatement(n.body),true);n.body=[i.returnStatement(i.callExpression(i.callExpression(t,[s]),[]))];r.async=false;r.generator=false;e.get("body.body.0.argument.callee.arguments.0").unwrapFunctionEnvironment()}function plainFunction(e,t,r){const s=e.node;const u=e.isFunctionDeclaration();const p=s.id;const f=u?l:p?o:a;if(e.isArrowFunctionExpression()){e.arrowFunctionToExpression({noNewArrows:r})}s.id=null;if(u){s.type="FunctionExpression"}const c=i.callExpression(t,[s]);const d=f({NAME:p||null,REF:e.scope.generateUidIdentifier(p?p.name:"ref"),FUNCTION:c,PARAMS:s.params.reduce((t,r)=>{t.done=t.done||i.isAssignmentPattern(r)||i.isRestElement(r);if(!t.done){t.params.push(e.scope.generateUidIdentifier("x"))}return t},{params:[],done:false}).params});if(u){e.replaceWith(d[0]);e.insertAfter(d[1])}else{const t=d.callee.body.body[1].argument;if(!p){(0,n.default)({node:t,parent:e.parent,scope:e.scope})}if(!t||t.id||s.params.length){e.replaceWith(d)}else{e.replaceWith(c)}}}function wrapFunction(e,t,r=true){if(e.isMethod()){classOrObjectMethod(e,t)}else{plainFunction(e,t,r)}}},86436:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(86436);var s=r(21774)},21774:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},62298:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(32898);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},20475:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(43389);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},79075:()=>{},98566:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(92306);var s=r(64794);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(94984);var s=r(70854);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},31021:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(94984);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},94984:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(98566);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},15520:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(94984)},28976:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(51578);var s=r(30300);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(94984);var s=r(79558);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},45804:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(90681);function clone(e){return(0,n.default)(e,false)}},88455:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(90681);function cloneDeep(e){return(0,n.default)(e)}},86729:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(90681);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},90681:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(92306);var s=r(51578);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},20241:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(90681);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},88536:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(96576);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},96576:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},90866:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(60819);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},92628:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(60819);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},54503:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(60819);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},55624:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(54503);var s=r(92628);var i=r(90866);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},3467:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(19790);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},89394:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(92306);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},19790:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},29226:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(79359);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},19079:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(36951);var s=r(51578);var i=r(94984);var a=r(90681);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},31759:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(1654);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},79359:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(51578);var s=r(94984);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},74479:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(51578);var s=r(94984);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},10798:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(51578);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},1654:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(43646);var s=r(8245);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},66018:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(51578);var s=r(90681);var i=r(45677);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},4614:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(19079);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},77535:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(51578);var s=r(94984);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},25494:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(43646);var s=r(94984);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},69529:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(43389);var s=r(43646);var i=r(8245);var a=r(19790);var o=r(57196);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},37674:(e,t,r)=>{"use strict";var n=r(57196);var s=r(69529);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},52886:(e,t,r)=>{"use strict";var n=r(57196);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},92306:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(69529);r(52886);r(91355);r(95837);r(37674);r(78757);var s=r(57196);var i=r(79587);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},91355:(e,t,r)=>{"use strict";var n=r(57196);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},95837:(e,t,r)=>{"use strict";var n=r(57196);var s=r(79587);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},79587:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(57196);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},78757:(e,t,r)=>{"use strict";var n=r(57196);var s=r(69529);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},57196:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(43389);var s=r(64794);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},96058:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(96813);var i=r(24841);var a=r(28976);var o=r(62298);var l=r(20475);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(31021);var p=r(38188);var f=r(25936);var c=r(94984);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(15520);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(90681);var m=r(45804);var T=r(88455);var h=r(86729);var S=r(20241);var b=r(88536);var E=r(96576);var g=r(90866);var P=r(92628);var x=r(55624);var v=r(54503);var A=r(3467);var O=r(89394);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(19790);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(29226);var w=r(31759);var j=r(79359);var N=r(74479);var C=r(10798);var L=r(1654);var _=r(66018);var M=r(4614);var F=r(77535);var B=r(25494);var k=r(92306);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(48632);var K=r(63476);var V=r(9843);var X=r(33844);var Y=r(45677);var J=r(70854);var U=r(36951);var W=r(28425);var q=r(35105);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(90733);var G=r(75579);var $=r(43389);var H=r(44555);var Q=r(80213);var Z=r(49367);var ee=r(43283);var te=r(32898);var re=r(23200);var ne=r(52769);var se=r(60576);var ie=r(50666);var ae=r(23474);var oe=r(37317);var le=r(3517);var ue=r(43646);var pe=r(19740);var fe=r(56763);var ce=r(64794);var de=r(2445);var ye=r(51578);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(79075);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},48632:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(94984);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},70854:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(51578);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},63476:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(19790);var s=r(55624);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},9843:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(94984);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},33844:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(19790);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},45677:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(90733);var s=r(33844);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},79558:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(51578);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},36951:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(51578);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(36951);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},35105:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(92306);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(92306);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},60819:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},30300:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(94984);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},2445:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(56763);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},51578:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(75579);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},43389:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(75579);var s=r(37317);var i=r(52769);var a=r(92306);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},44555:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(36951);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},80213:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(51578);var s=r(43283);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},49367:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(37317);var s=r(51578);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},43283:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(51578);var s=r(19790);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},32898:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(92306);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},23200:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(92306);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(92306);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},60576:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},50666:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(51578);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},23474:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(51578);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},37317:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(92306);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},3517:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(43646);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},43646:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(8245);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},19740:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(51578);var s=r(19790);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},56763:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(51578);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},96813:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(2445);const s=(0,n.default)("React.Component");var i=s;t.default=i},64794:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(92306);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},210:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.wrapRegExp=t.typeof=t.objectSpread2=t.jsx=void 0;var n=r(36900);const s={minVersion:"7.0.0-beta.0",ast:()=>n.default.program.ast('\nvar REACT_ELEMENT_TYPE;\nexport default function _createRawReactElement(type, props, key, children) {\n if (!REACT_ELEMENT_TYPE) {\n REACT_ELEMENT_TYPE =\n (typeof Symbol === "function" &&\n \n Symbol["for"] &&\n Symbol["for"]("react.element")) ||\n 0xeac7;\n }\n var defaultProps = type && type.defaultProps;\n var childrenLength = arguments.length - 3;\n if (!props && childrenLength !== 0) {\n \n \n props = { children: void 0 };\n }\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = new Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 3];\n }\n props.children = childArray;\n }\n if (props && defaultProps) {\n for (var propName in defaultProps) {\n if (props[propName] === void 0) {\n props[propName] = defaultProps[propName];\n }\n }\n } else if (!props) {\n props = defaultProps || {};\n }\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key === undefined ? null : "" + key,\n ref: null,\n props: props,\n _owner: null,\n };\n}\n')};t.jsx=s;const i={minVersion:"7.5.0",ast:()=>n.default.program.ast('\nimport defineProperty from "defineProperty";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(\n target,\n key,\n Object.getOwnPropertyDescriptor(source, key)\n );\n });\n }\n }\n return target;\n}\n')};t.objectSpread2=i;const a={minVersion:"7.0.0-beta.0",ast:()=>n.default.program.ast('\nexport default function _typeof(obj) {\n "@babel/helpers - typeof";\n if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj &&\n typeof Symbol === "function" &&\n obj.constructor === Symbol &&\n obj !== Symbol.prototype\n ? "symbol"\n : typeof obj;\n };\n }\n return _typeof(obj);\n}\n')};t.typeof=a;const o={minVersion:"7.2.6",ast:()=>n.default.program.ast('\nimport setPrototypeOf from "setPrototypeOf";\nimport inherits from "inherits";\nexport default function _wrapRegExp() {\n _wrapRegExp = function (re, groups) {\n return new BabelRegExp(re, undefined, groups);\n };\n var _super = RegExp.prototype;\n var _groups = new WeakMap();\n function BabelRegExp(re, flags, groups) {\n var _this = new RegExp(re, flags);\n \n _groups.set(_this, groups || _groups.get(re));\n return setPrototypeOf(_this, BabelRegExp.prototype);\n }\n inherits(BabelRegExp, RegExp);\n BabelRegExp.prototype.exec = function (str) {\n var result = _super.exec.call(this, str);\n if (result) result.groups = buildGroups(result, this);\n return result;\n };\n BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {\n if (typeof substitution === "string") {\n var groups = _groups.get(this);\n return _super[Symbol.replace].call(\n this,\n str,\n substitution.replace(/\\$<([^>]+)>/g, function (_, name) {\n return "$" + groups[name];\n })\n );\n } else if (typeof substitution === "function") {\n var _this = this;\n return _super[Symbol.replace].call(this, str, function () {\n var args = arguments;\n \n if (typeof args[args.length - 1] !== "object") {\n args = [].slice.call(args);\n args.push(buildGroups(args, _this));\n }\n return substitution.apply(this, args);\n });\n } else {\n return _super[Symbol.replace].call(this, str, substitution);\n }\n };\n function buildGroups(result, re) {\n \n \n var g = _groups.get(re);\n return Object.keys(g).reduce(function (groups, name) {\n groups[name] = result[g[name]];\n return groups;\n }, Object.create(null));\n }\n return _wrapRegExp.apply(this, arguments);\n}\n')};t.wrapRegExp=o},84565:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(36900);var s=r(210);const i=Object.assign({__proto__:null},s);var a=i;t.default=a;const o=e=>t=>({minVersion:e,ast:()=>n.default.program.ast(t)});i.asyncIterator=o("7.0.0-beta.0")` + `}function buildPrivateMethodDeclaration(e,t,s=false){const i=t.get(e.node.key.id.name);const{id:n,methodId:a,getId:o,setId:l,getterDeclared:c,setterDeclared:p,static:u}=i;const{params:h,body:f,generator:d,async:y}=e.node;const m=o&&!c&&h.length===0;const g=l&&!p&&h.length>0;let b=a;if(m){t.set(e.node.key.id.name,Object.assign({},i,{getterDeclared:true}));b=o}else if(g){t.set(e.node.key.id.name,Object.assign({},i,{setterDeclared:true}));b=l}else if(u&&!s){b=n}return r.types.functionDeclaration(r.types.cloneNode(b),h,f,d,y)}const f=r.traverse.visitors.merge([{ThisExpression(e,t){t.needsClassRef=true;e.replaceWith(r.types.cloneNode(t.classRef))}},i.environmentVisitor]);const d={ReferencedIdentifier(e,t){if(e.scope.bindingIdentifierEquals(e.node.name,t.innerBinding)){t.needsClassRef=true;e.node.name=t.classRef.name}}};function replaceThisContext(e,t,s,n,a,o,l){var c;const p={classRef:t,needsClassRef:false,innerBinding:l};const u=new i.default({methodPath:e,constantSuper:o,file:n,refToPreserve:t,getSuperRef:s,getObjectRef(){p.needsClassRef=true;return a||e.node.static?t:r.types.memberExpression(t,r.types.identifier("prototype"))}});u.replace();if(a||e.isProperty()){e.traverse(f,p)}if((c=p.classRef)!=null&&c.name&&p.classRef.name!==(l==null?void 0:l.name)){e.traverse(d,p)}return p.needsClassRef}function buildFieldsInitNodes(e,t,s,i,n,a,o,c,p){let u=false;let h;const f=[];const d=[];const y=[];const m=r.types.isIdentifier(t)?()=>t:()=>{var e;(e=h)!=null?e:h=s[0].scope.generateUidIdentifierBasedOnNode(t);return h};for(const t of s){l.assertFieldTransformed(t);const s=t.node.static;const h=!s;const g=t.isPrivate();const b=!g;const x=t.isProperty();const v=!x;const w=t.isStaticBlock==null?void 0:t.isStaticBlock();if(s||v&&g||w){const s=replaceThisContext(t,e,m,n,w,c,p);u=u||s}switch(true){case w:f.push(r.template.statement.ast`(() => ${r.types.blockStatement(t.node.body)})()`);break;case s&&g&&x&&o:u=true;f.push(buildPrivateFieldInitLoose(r.types.cloneNode(e),t,i));break;case s&&g&&x&&!o:u=true;f.push(buildPrivateStaticFieldInitSpec(t,i));break;case s&&b&&x&&a:u=true;f.push(buildPublicFieldInitLoose(r.types.cloneNode(e),t));break;case s&&b&&x&&!a:u=true;f.push(buildPublicFieldInitSpec(r.types.cloneNode(e),t,n));break;case h&&g&&x&&o:d.push(buildPrivateFieldInitLoose(r.types.thisExpression(),t,i));break;case h&&g&&x&&!o:d.push(buildPrivateInstanceFieldInitSpec(r.types.thisExpression(),t,i));break;case h&&g&&v&&o:d.unshift(buildPrivateMethodInitLoose(r.types.thisExpression(),t,i));y.push(buildPrivateMethodDeclaration(t,i,o));break;case h&&g&&v&&!o:d.unshift(buildPrivateInstanceMethodInitSpec(r.types.thisExpression(),t,i));y.push(buildPrivateMethodDeclaration(t,i,o));break;case s&&g&&v&&!o:u=true;f.unshift(buildPrivateStaticFieldInitSpec(t,i));y.push(buildPrivateMethodDeclaration(t,i,o));break;case s&&g&&v&&o:u=true;f.unshift(buildPrivateStaticMethodInitLoose(r.types.cloneNode(e),t,n,i));y.push(buildPrivateMethodDeclaration(t,i,o));break;case h&&b&&x&&a:d.push(buildPublicFieldInitLoose(r.types.thisExpression(),t));break;case h&&b&&x&&!a:d.push(buildPublicFieldInitSpec(r.types.thisExpression(),t,n));break;default:throw new Error("Unreachable.")}}return{staticNodes:f.filter(Boolean),instanceNodes:d.filter(Boolean),pureStaticNodes:y.filter(Boolean),wrapClass(t){for(const e of s){e.remove()}if(h){t.scope.push({id:r.types.cloneNode(h)});t.set("superClass",r.types.assignmentExpression("=",h,t.node.superClass))}if(!u)return t;if(t.isClassExpression()){t.scope.push({id:e});t.replaceWith(r.types.assignmentExpression("=",r.types.cloneNode(e),t.node))}else if(!t.node.id){t.node.id=e}return t}}}},34971:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createClassFeaturePlugin=createClassFeaturePlugin;Object.defineProperty(t,"injectInitialization",{enumerable:true,get:function(){return l.injectInitialization}});Object.defineProperty(t,"enableFeature",{enumerable:true,get:function(){return c.enableFeature}});Object.defineProperty(t,"FEATURES",{enumerable:true,get:function(){return c.FEATURES}});var r=s(85850);var i=s(98733);var n=s(76729);var a=s(11752);var o=s(64158);var l=s(93391);var c=s(76912);const p="7.14.6".split(".").reduce((e,t)=>e*1e5+ +t,0);const u="@babel/plugin-class-features/version";function createClassFeaturePlugin({name:e,feature:t,loose:s,manipulateOptions:h,api:f={assumption:()=>{}}}){const d=f.assumption("setPublicClassFields");const y=f.assumption("privateFieldsAsProperties");const m=f.assumption("constantSuper");const g=f.assumption("noDocumentAll");if(s===true){const t=[];if(d!==undefined){t.push(`"setPublicClassFields"`)}if(y!==undefined){t.push(`"privateFieldsAsProperties"`)}if(t.length!==0){console.warn(`[${e}]: You are using the "loose: true" option and you are`+` explicitly setting a value for the ${t.join(" and ")}`+` assumption${t.length>1?"s":""}. The "loose" option`+` can cause incompatibilities with the other class features`+` plugins, so it's recommended that you replace it with the`+` following top-level option:\n`+`\t"assumptions": {\n`+`\t\t"setPublicClassFields": true,\n`+`\t\t"privateFieldsAsProperties": true\n`+`\t}`)}}return{name:e,manipulateOptions:h,pre(){(0,c.enableFeature)(this.file,t,s);if(!this.file.get(u)||this.file.get(u)0){(0,l.injectInitialization)(e,h,O,(e,t)=>{if(f)return;for(const s of b){if(s.node.static)continue;s.traverse(e,t)}})}e=S(e);e.insertBefore([...C,...k]);if(I.length>0){e.insertAfter(I)}if(j.length>0){e.find(e=>e.isStatement()||e.isDeclaration()).insertAfter(j)}},PrivateName(e){if(this.file.get(u)!==p||e.parentPath.isPrivate({key:e.node})){return}throw e.buildCodeFrameError(`Unknown PrivateName "${e}"`)},ExportDefaultDeclaration(e){if(this.file.get(u)!==p)return;const t=e.get("declaration");if(t.isClassDeclaration()&&(0,o.hasDecorators)(t.node)){if(t.node.id){(0,n.default)(e)}else{t.node.type="ClassExpression"}}}}}}},93391:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.injectInitialization=injectInitialization;t.extractComputedKeys=extractComputedKeys;var r=s(85850);var i=s(846);const n=r.traverse.visitors.merge([{Super(e){const{node:t,parentPath:s}=e;if(s.isCallExpression({callee:t})){this.push(s)}}},i.environmentVisitor]);const a={"TSTypeAnnotation|TypeAnnotation"(e){e.skip()},ReferencedIdentifier(e){if(this.scope.hasOwnBinding(e.node.name)){this.scope.rename(e.node.name);e.skip()}}};function handleClassTDZ(e,t){if(t.classBinding&&t.classBinding===e.scope.getBinding(e.node.name)){const s=t.file.addHelper("classNameTDZError");const i=r.types.callExpression(s,[r.types.stringLiteral(e.node.name)]);e.replaceWith(r.types.sequenceExpression([i,e.node]));e.skip()}}const o={ReferencedIdentifier:handleClassTDZ};function injectInitialization(e,t,s,i){if(!s.length)return;const o=!!e.node.superClass;if(!t){const s=r.types.classMethod("constructor",r.types.identifier("constructor"),[],r.types.blockStatement([]));if(o){s.params=[r.types.restElement(r.types.identifier("args"))];s.body.body.push(r.template.statement.ast`super(...args)`)}[t]=e.get("body").unshiftContainer("body",s)}if(i){i(a,{scope:t.scope})}if(o){const e=[];t.traverse(n,e);let i=true;for(const t of e){if(i){t.insertAfter(s);i=false}else{t.insertAfter(s.map(e=>r.types.cloneNode(e)))}}}else{t.get("body").unshiftContainer("body",s)}}function extractComputedKeys(e,t,s,i){const n=[];const a={classBinding:t.node.id&&t.scope.getBinding(t.node.id.name),file:i};for(const e of s){const s=e.get("key");if(s.isReferencedIdentifier()){handleClassTDZ(s,a)}else{s.traverse(o,a)}const i=e.node;if(!s.isConstantExpression()){const e=t.scope.generateUidIdentifierBasedOnNode(i.key);t.scope.push({id:e,kind:"let"});n.push(r.types.expressionStatement(r.types.assignmentExpression("=",r.types.cloneNode(e),i.key)));i.key=r.types.cloneNode(e)}}return n}},38389:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertFieldTransformed=assertFieldTransformed;function assertFieldTransformed(e){if(e.node.declare){throw e.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by `+`@babel/plugin-transform-typescript.\n`+`If you have already enabled that plugin (or '@babel/preset-typescript'), make sure `+`that it runs before any plugin related to additional class features:\n`+` - @babel/plugin-proposal-class-properties\n`+` - @babel/plugin-proposal-private-methods\n`+` - @babel/plugin-proposal-decorators`)}}},45318:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=s(19761);function _interopNamespace(e){if(e&&e.__esModule)return e;var t=Object.create(null);if(e){Object.keys(e).forEach(function(s){if(s!=="default"){var r=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(t,s,r.get?r:{enumerable:true,get:function(){return e[s]}})}})}t["default"]=e;return Object.freeze(t)}var i=_interopNamespace(r);function willPathCastToBoolean(e){const t=e;const{node:s,parentPath:r}=t;if(r.isLogicalExpression()){const{operator:e,right:t}=r.node;if(e==="&&"||e==="||"||e==="??"&&s===t){return willPathCastToBoolean(r)}}if(r.isSequenceExpression()){const{expressions:e}=r.node;if(e[e.length-1]===s){return willPathCastToBoolean(r)}else{return true}}return r.isConditional({test:s})||r.isUnaryExpression({operator:"!"})||r.isLoop({test:s})}class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const t=this._map.get(e);const{value:s}=t;t.count--;if(t.count===0){return i.assignmentExpression("=",s,e)}return s}set(e,t,s){return this._map.set(e,{count:s,value:t})}}function toNonOptional(e,t){const{node:s}=e;if(e.isOptionalMemberExpression()){return i.memberExpression(t,s.property,s.computed)}if(e.isOptionalCallExpression()){const r=e.get("callee");if(e.node.optional&&r.isOptionalMemberExpression()){const{object:n}=r.node;const a=e.scope.maybeGenerateMemoised(n)||n;r.get("object").replaceWith(i.assignmentExpression("=",a,n));return i.callExpression(i.memberExpression(t,i.identifier("call")),[a,...s.arguments])}return i.callExpression(t,s.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:t,container:s,listKey:r}=e;const i=t.node;if(r){if(s!==i[r])return true}else{if(s!==i)return true}e=t}return false}const n={memoise(){},handle(e,t){const{node:s,parent:r,parentPath:n,scope:a}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const o=e.find(({node:t,parent:s,parentPath:r})=>{if(r.isOptionalMemberExpression()){return s.optional||s.object!==t}if(r.isOptionalCallExpression()){return t!==e.node&&s.optional||s.callee!==t}return true});if(a.path.isPattern()){o.replaceWith(i.callExpression(i.arrowFunctionExpression([],o.node),[]));return}const l=willPathCastToBoolean(o);const c=o.parentPath;if(c.isUpdateExpression({argument:s})||c.isAssignmentExpression({left:s})){throw e.buildCodeFrameError(`can't handle assignment`)}const p=c.isUnaryExpression({operator:"delete"});if(p&&o.isOptionalMemberExpression()&&o.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let u=e;for(;;){if(u.isOptionalMemberExpression()){if(u.node.optional)break;u=u.get("object");continue}else if(u.isOptionalCallExpression()){if(u.node.optional)break;u=u.get("callee");continue}throw new Error(`Internal error: unexpected ${u.node.type}`)}const h=u.isOptionalMemberExpression()?"object":"callee";const f=u.node[h];const d=a.maybeGenerateMemoised(f);const y=d!=null?d:f;const m=n.isOptionalCallExpression({callee:s});const g=n.isCallExpression({callee:s});u.replaceWith(toNonOptional(u,y));if(m){if(r.optional){n.replaceWith(this.optionalCall(e,r.arguments))}else{n.replaceWith(this.call(e,r.arguments))}}else if(g){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}let b=e.node;for(let t=e;t!==o;){const{parentPath:e}=t;if(e===o&&m&&r.optional){b=e.node;break}b=toNonOptional(e,b);t=e}let x;const v=o.parentPath;if(i.isMemberExpression(b)&&v.isOptionalCallExpression({callee:o.node,optional:true})){const{object:t}=b;x=e.scope.maybeGenerateMemoised(t);if(x){b.object=i.assignmentExpression("=",x,t)}}let w=o;if(p){w=v;b=v.node}const P=d?i.assignmentExpression("=",i.cloneNode(y),i.cloneNode(f)):i.cloneNode(y);if(l){let e;if(t){e=i.binaryExpression("!=",P,i.nullLiteral())}else{e=i.logicalExpression("&&",i.binaryExpression("!==",P,i.nullLiteral()),i.binaryExpression("!==",i.cloneNode(y),a.buildUndefinedNode()))}w.replaceWith(i.logicalExpression("&&",e,b))}else{let e;if(t){e=i.binaryExpression("==",P,i.nullLiteral())}else{e=i.logicalExpression("||",i.binaryExpression("===",P,i.nullLiteral()),i.binaryExpression("===",i.cloneNode(y),a.buildUndefinedNode()))}w.replaceWith(i.conditionalExpression(e,p?i.booleanLiteral(true):a.buildUndefinedNode(),b))}if(x){const e=v.node;v.replaceWith(i.optionalCallExpression(i.optionalMemberExpression(e.callee,i.identifier("call"),false,true),[i.cloneNode(x),...e.arguments],false))}return}if(n.isUpdateExpression({argument:s})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,prefix:a}=r;this.memoise(e,2);const o=i.binaryExpression(t[0],i.unaryExpression("+",this.get(e)),i.numericLiteral(1));if(a){n.replaceWith(this.set(e,o))}else{const{scope:t}=e;const r=t.generateUidIdentifierBasedOnNode(s);t.push({id:r});o.left=i.assignmentExpression("=",i.cloneNode(r),o.left);n.replaceWith(i.sequenceExpression([this.set(e,o),i.cloneNode(r)]))}return}if(n.isAssignmentExpression({left:s})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,right:s}=r;if(t==="="){n.replaceWith(this.set(e,s))}else{const r=t.slice(0,-1);if(i.LOGICAL_OPERATORS.includes(r)){this.memoise(e,1);n.replaceWith(i.logicalExpression(r,this.get(e),this.set(e,s)))}else{this.memoise(e,2);n.replaceWith(this.set(e,i.binaryExpression(r,this.get(e),s)))}}return}if(n.isCallExpression({callee:s})){n.replaceWith(this.call(e,r.arguments));return}if(n.isOptionalCallExpression({callee:s})){if(a.path.isPattern()){n.replaceWith(i.callExpression(i.arrowFunctionExpression([],n.node),[]));return}n.replaceWith(this.optionalCall(e,r.arguments));return}if(n.isForXStatement({left:s})||n.isObjectProperty({value:s})&&n.parentPath.isObjectPattern()||n.isAssignmentPattern({left:s})&&n.parentPath.isObjectProperty({value:r})&&n.parentPath.parentPath.isObjectPattern()||n.isArrayPattern()||n.isAssignmentPattern({left:s})&&n.parentPath.isArrayPattern()||n.isRestElement()){e.replaceWith(this.destructureSet(e));return}e.replaceWith(this.get(e))}};function memberExpressionToFunctions(e,t,s){e.traverse(t,Object.assign({},n,s,{memoiser:new AssignmentMemoiser}))}t.default=memberExpressionToFunctions},60060:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.enableFeature=enableFeature;t.hasFeature=hasFeature;t.runtimeKey=t.featuresKey=t.FEATURES=void 0;const s=Object.freeze({unicodeFlag:1<<0,dotAllFlag:1<<1,unicodePropertyEscape:1<<2,namedCaptureGroups:1<<3});t.FEATURES=s;const r="@babel/plugin-regexp-features/featuresKey";t.featuresKey=r;const i="@babel/plugin-regexp-features/runtimeKey";t.runtimeKey=i;function enableFeature(e,t){return e|t}function hasFeature(e,t){return!!(e&t)}},36610:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createRegExpFeaturePlugin=createRegExpFeaturePlugin;var r=s(4864);var i=s(60060);var n=s(27185);var a=s(85850);var o=s(96659);function pullFlag(e,t){e.flags=e.flags.replace(t,"")}const l="7.14.5".split(".").reduce((e,t)=>e*1e5+ +t,0);const c="@babel/plugin-regexp-features/version";function createRegExpFeaturePlugin({name:e,feature:t,options:s={}}){return{name:e,pre(){var e;const{file:r}=this;const n=(e=r.get(i.featuresKey))!=null?e:0;let a=(0,i.enableFeature)(n,i.FEATURES[t]);const{useUnicodeFlag:o,runtime:p=true}=s;if(o===false){a=(0,i.enableFeature)(a,i.FEATURES.unicodeFlag)}if(a!==n){r.set(i.featuresKey,a)}if(!p){r.set(i.runtimeKey,false)}if(!r.has(c)||r.get(c){h[e]=t})}s.pattern=r(s.pattern,s.flags,u);if(u.namedGroup&&Object.keys(h).length>0&&p&&!isRegExpTest(e)){const t=a.types.callExpression(this.addHelper("wrapRegExp"),[s,a.types.valueToNode(h)]);(0,o.default)(t);e.replaceWith(t)}if((0,i.hasFeature)(c,i.FEATURES.unicodeFlag)){pullFlag(s,"u")}if((0,i.hasFeature)(c,i.FEATURES.dotAllFlag)){pullFlag(s,"s")}}}}}function isRegExpTest(e){return e.parentPath.isMemberExpression({object:e.node,computed:false})&&e.parentPath.get("property").isIdentifier({name:"test"})}},27185:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.generateRegexpuOptions=generateRegexpuOptions;var r=s(60060);function generateRegexpuOptions(e,t){let s=false,i=false,n=false,a=false;const{flags:o,pattern:l}=e;const c=o.includes("u");if(c){if(!(0,r.hasFeature)(t,r.FEATURES.unicodeFlag)){s=true}if((0,r.hasFeature)(t,r.FEATURES.unicodePropertyEscape)&&/\\[pP]{/.test(l)){n=true}}if((0,r.hasFeature)(t,r.FEATURES.dotAllFlag)&&o.indexOf("s")>=0){i=true}if((0,r.hasFeature)(t,r.FEATURES.namedCaptureGroups)&&/\(\?<(?![=!])/.test(l)){a=true}if(!a&&!n&&!i&&(!c||s)){return null}if(c&&o.indexOf("s")>=0){i=true}return{useUnicodeFlag:s,onNamedGroup:()=>{},namedGroup:a,unicodePropertyEscape:n,dotAllFlag:i,lookbehind:true}}},19178:(e,t,s)=>{"use strict";t.__esModule=true;t.stringifyTargetsMultiline=stringifyTargetsMultiline;t.stringifyTargets=stringifyTargets;t.presetEnvSilentDebugHeader=void 0;var r=s(34487);const i="#__secret_key__@babel/preset-env__don't_log_debug_header_and_resolved_targets";t.presetEnvSilentDebugHeader=i;function stringifyTargetsMultiline(e){return JSON.stringify((0,r.prettifyTargets)(e),null,2)}function stringifyTargets(e){return JSON.stringify(e).replace(/,/g,", ").replace(/^\{"/,'{ "').replace(/"\}$/,'" }')}},72881:(e,t,s)=>{"use strict";t.__esModule=true;t.default=void 0;var r=_interopRequireWildcard(s(85850));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var s={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(Object.prototype.hasOwnProperty.call(e,i)){var n=r?Object.getOwnPropertyDescriptor(e,i):null;if(n&&(n.get||n.set)){Object.defineProperty(s,i,n)}else{s[i]=e[i]}}}s.default=e;if(t){t.set(e,s)}return s}const{types:i}=r.default||r;class ImportsCache{constructor(e){this._imports=new WeakMap;this._anonymousImports=new WeakMap;this._lastImports=new WeakMap;this._resolver=e}storeAnonymous(e,t,s){const r=this._normalizeKey(e,t);const n=this._ensure(this._anonymousImports,e,Set);if(n.has(r))return;const a=s(e.node.sourceType==="script",i.stringLiteral(this._resolver(t)));n.add(r);this._injectImport(e,a)}storeNamed(e,t,s,r){const n=this._normalizeKey(e,t,s);const a=this._ensure(this._imports,e,Map);if(!a.has(n)){const{node:o,name:l}=r(e.node.sourceType==="script",i.stringLiteral(this._resolver(t)),i.identifier(s));a.set(n,l);this._injectImport(e,o)}return i.identifier(a.get(n))}_injectImport(e,t){let s=this._lastImports.get(e);if(s&&s.node&&s.parent===e.node&&s.container===e.node.body){s=s.insertAfter(t)}else{s=e.unshiftContainer("body",t)}s=s[s.length-1];this._lastImports.set(e,s)}_ensure(e,t,s){let r=e.get(t);if(!r){r=new s;e.set(t,r)}return r}_normalizeKey(e,t,s=""){const{sourceType:r}=e.node;return`${s&&r}::${t}::${s}`}}t.default=ImportsCache},71192:(e,t,s)=>{"use strict";t.__esModule=true;t.default=definePolyfillProvider;var r=s(69624);var i=_interopRequireWildcard(s(34487));var n=s(34887);var a=_interopRequireDefault(s(72881));var o=s(19178);var l=s(16792);var c=_interopRequireWildcard(s(63414));var p=_interopRequireWildcard(s(58752));var u=_interopRequireDefault(s(87209));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var s={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(Object.prototype.hasOwnProperty.call(e,i)){var n=r?Object.getOwnPropertyDescriptor(e,i):null;if(n&&(n.get||n.set)){Object.defineProperty(s,i,n)}else{s[i]=e[i]}}}s.default=e;if(t){t.set(e,s)}return s}function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var s={};var r=Object.keys(e);var i,n;for(n=0;n=0)continue;s[i]=e[i]}return s}const h=i.default.default||i.default;function resolveOptions(e,t){const{method:s,targets:r,ignoreBrowserslistConfig:i,configPath:n,debug:a,shouldInjectPolyfill:o,absoluteImports:l}=e,c=_objectWithoutPropertiesLoose(e,["method","targets","ignoreBrowserslistConfig","configPath","debug","shouldInjectPolyfill","absoluteImports"]);let p;if(s==="usage-global")p="usageGlobal";else if(s==="entry-global")p="entryGlobal";else if(s==="usage-pure")p="usagePure";else if(typeof s!=="string"){throw new Error(".method must be a string")}else{throw new Error(`.method must be one of "entry-global", "usage-global"`+` or "usage-pure" (received ${JSON.stringify(s)})`)}if(typeof o==="function"){if(e.include||e.exclude){throw new Error(`.include and .exclude are not supported when using the`+` .shouldInjectPolyfill function.`)}}else if(o!=null){throw new Error(`.shouldInjectPolyfill must be a function, or undefined`+` (received ${JSON.stringify(o)})`)}if(l!=null&&typeof l!=="boolean"&&typeof l!=="string"){throw new Error(`.absoluteImports must be a boolean, a string, or undefined`+` (received ${JSON.stringify(l)})`)}let u;if(r||n||i){const e=typeof r==="string"||Array.isArray(r)?{browsers:r}:r;u=h(e,{ignoreBrowserslistConfig:i,configPath:n})}else{u=t.targets()}return{method:s,methodName:p,targets:u,absoluteImports:l!=null?l:false,shouldInjectPolyfill:o,debug:!!a,providerOptions:c}}function instantiateProvider(e,t,s,r,o,c){const{method:h,methodName:f,targets:d,debug:y,shouldInjectPolyfill:m,providerOptions:g,absoluteImports:b}=resolveOptions(t,c);const x=(0,n.createUtilsGetter)(new a.default(e=>p.resolve(r,e,b)));let v,w;let P;let E;let A;const T=new Map;const C={babel:c,getUtils:x,method:t.method,targets:d,createMetaResolver:u.default,shouldInjectPolyfill(t){if(E===undefined){throw new Error(`Internal error in the ${e.name} provider: `+`shouldInjectPolyfill() can't be called during initialization.`)}if(!E.has(t)){console.warn(`Internal error in the ${k.name} provider: `+`unknown polyfill "${t}".`)}if(A&&!A(t))return false;let s=(0,i.isRequired)(t,d,{compatData:P,includes:v,excludes:w});if(m){s=m(t,s);if(typeof s!=="boolean"){throw new Error(`.shouldInjectPolyfill must return a boolean.`)}}return s},debug(e){o().found=true;if(!y||!e)return;if(o().polyfills.has(k.name))return;o().polyfills.set(e,P&&e&&P[e])},assertDependency(e,t="*"){if(s===false)return;if(b){return}const i=t==="*"?e:`${e}@^${t}`;const n=s.all?false:mapGetOr(T,`${e} :: ${r}`,()=>p.has(r,e));if(!n){o().missingDeps.add(i)}}};const k=e(C,g,r);if(typeof k[f]!=="function"){throw new Error(`The "${k.name||e.name}" provider doesn't `+`support the "${h}" polyfilling method.`)}if(Array.isArray(k.polyfills)){E=new Set(k.polyfills);A=k.filterPolyfills}else if(k.polyfills){E=new Set(Object.keys(k.polyfills));P=k.polyfills;A=k.filterPolyfills}else{E=new Set}({include:v,exclude:w}=(0,l.validateIncludeExclude)(k.name||e.name,E,g.include||[],g.exclude||[]));return{debug:y,method:h,targets:d,provider:k,callProvider(e,t){const s=x(t);k[f](e,s,t)}}}function definePolyfillProvider(e){return(0,r.declare)((t,s,r)=>{t.assertVersion(7);const{traverse:n}=t;let a;const u=(0,l.applyMissingDependenciesDefaults)(s,t);const{debug:h,method:f,targets:d,provider:y,callProvider:m}=instantiateProvider(e,s,u,r,()=>a,t);const g=f==="entry-global"?c.entry:c.usage;const b=y.visitor?n.visitors.merge([g(m),y.visitor]):g(m);if(h&&h!==o.presetEnvSilentDebugHeader){console.log(`${y.name}: \`DEBUG\` option`);console.log(`\nUsing targets: ${(0,o.stringifyTargetsMultiline)(d)}`);console.log(`\nUsing polyfills with \`${f}\` method:`)}return{name:"inject-polyfills",visitor:b,pre(){var e;a={polyfills:new Map,found:false,providers:new Set,missingDeps:new Set};(e=y.pre)==null?void 0:e.apply(this,arguments)},post(){var e;(e=y.post)==null?void 0:e.apply(this,arguments);if(u!==false){if(u.log==="per-file"){p.logMissing(a.missingDeps)}else{p.laterLogMissing(a.missingDeps)}}if(!h)return;if(this.filename)console.log(`\n[${this.filename}]`);if(a.polyfills.size===0){console.log(f==="entry-global"?a.found?`Based on your targets, the ${y.name} polyfill did not add any polyfill.`:`The entry point for the ${y.name} polyfill has not been found.`:`Based on your code and targets, the ${y.name} polyfill did not add any polyfill.`);return}if(f==="entry-global"){console.log(`The ${y.name} polyfill entry has been replaced with `+`the following polyfills:`)}else{console.log(`The ${y.name} polyfill added the following polyfills:`)}for(const[e,t]of a.polyfills){if(t){const s=(0,i.getInclusionReasons)(e,d,t);const r=JSON.stringify(s).replace(/,/g,", ").replace(/^\{"/,'{ "').replace(/"\}$/,'" }');console.log(` ${e} ${r}`)}else{console.log(` ${e}`)}}}}})}function mapGetOr(e,t,s){let r=e.get(t);if(r===undefined){r=s();e.set(t,r)}return r}},87209:(e,t,s)=>{"use strict";t.__esModule=true;t.default=createMetaResolver;var r=s(34887);const i=new Set(["global","globalThis","self","window"]);function createMetaResolver(e){const{static:t,instance:s,global:n}=e;return e=>{if(e.kind==="global"&&n&&(0,r.has)(n,e.name)){return{kind:"global",desc:n[e.name],name:e.name}}if(e.kind==="property"||e.kind==="in"){const{placement:a,object:o,key:l}=e;if(o&&a==="static"){if(n&&i.has(o)&&(0,r.has)(n,l)){return{kind:"global",desc:n[l],name:l}}if(t&&(0,r.has)(t,o)&&(0,r.has)(t[o],l)){return{kind:"static",desc:t[o][l],name:`${o}$${l}`}}}if(s&&(0,r.has)(s,l)){return{kind:"instance",desc:s[l],name:`${l}`}}}}}},58752:(e,t,s)=>{"use strict";t.__esModule=true;t.resolve=resolve;t.has=has;t.logMissing=logMissing;t.laterLogMissing=laterLogMissing;var r=_interopRequireDefault(s(85622));var i=_interopRequireDefault(s(66272));var n=_interopRequireDefault(s(20923));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const a=parseFloat(process.versions.node)>=8.9;function resolve(e,t,s){if(s===false)return t;let i=e;if(typeof s==="string"){i=r.default.resolve(i,s)}let o,l;let c=t.indexOf("/");if(t[0]==="@"){c=t.indexOf("/",c+1)}if(c===-1){o=t;l=""}else{o=t.slice(0,c);l=t.slice(c)}try{let s;if(a){s=require.resolve(`${o}/package.json`,{paths:[i]})}else{s=n.default.sync(`${o}/package.json`,{basedir:i})}return r.default.dirname(s)+l}catch(s){if(s.code!=="MODULE_NOT_FOUND")throw s;throw Object.assign(new Error(`Failed to resolve "${t}" relative to "${e}"`),{code:"BABEL_POLYFILL_NOT_FOUND",polyfill:t,dirname:e})}}function has(e,t){try{if(a){require.resolve(t,{paths:[e]})}else{n.default.sync(t,{basedir:e})}return true}catch(e){return false}}function logMissing(e){if(e.size===0)return;const t=Array.from(e).sort().join(" ");console.warn("\nSome polyfills have been added but are not present in your dependencies.\n"+"Please run one of the following commands:\n"+`\tnpm install --save ${t}\n`+`\tyarn add ${t}\n`);process.exitCode=1}let o=new Set;const l=(0,i.default)(()=>{logMissing(o);o=new Set},100);function laterLogMissing(e){if(e.size===0)return;e.forEach(e=>o.add(e));l()}},16792:(e,t,s)=>{"use strict";t.__esModule=true;t.validateIncludeExclude=validateIncludeExclude;t.applyMissingDependenciesDefaults=applyMissingDependenciesDefaults;var r=s(34887);function patternToRegExp(e){if(e instanceof RegExp)return e;try{return new RegExp(`^${e}$`)}catch(e){return null}}function buildUnusedError(e,t){if(!t.length)return"";return` - The following "${e}" patterns didn't match any polyfill:\n`+t.map(e=>` ${String(e)}\n`).join("")}function buldDuplicatesError(e){if(!e.size)return"";return` - The following polyfills were matched both by "include" and "exclude" patterns:\n`+Array.from(e,e=>` ${e}\n`).join("")}function validateIncludeExclude(e,t,s,i){let n;const a=e=>{const s=patternToRegExp(e);if(!s)return false;let r=false;for(const e of t){if(s.test(e)){r=true;n.add(e)}}return!r};const o=n=new Set;const l=Array.from(s).filter(a);const c=n=new Set;const p=Array.from(i).filter(a);const u=(0,r.intersection)(o,c);if(u.size>0||l.length>0||p.length>0){throw new Error(`Error while validating the "${e}" provider options:\n`+buildUnusedError("include",l)+buildUnusedError("exclude",p)+buldDuplicatesError(u))}return{include:o,exclude:c}}function applyMissingDependenciesDefaults(e,t){const{missingDependencies:s={}}=e;if(s===false)return false;const r=t.caller(e=>e==null?void 0:e.name);const{log:i="deferred",inject:n=(r==="rollup-plugin-babel"?"throw":"import"),all:a=false}=s;return{log:i,inject:n,all:a}}},34887:(e,t,s)=>{"use strict";t.__esModule=true;t.intersection=intersection;t.has=has;t.resolveKey=resolveKey;t.resolveSource=resolveSource;t.getImportSource=getImportSource;t.getRequireSource=getRequireSource;t.createUtilsGetter=createUtilsGetter;var r=_interopRequireWildcard(s(85850));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var s={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(Object.prototype.hasOwnProperty.call(e,i)){var n=r?Object.getOwnPropertyDescriptor(e,i):null;if(n&&(n.get||n.set)){Object.defineProperty(s,i,n)}else{s[i]=e[i]}}}s.default=e;if(t){t.set(e,s)}return s}const{types:i,template:n}=r.default||r;function intersection(e,t){const s=new Set;e.forEach(e=>t.has(e)&&s.add(e));return s}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function getType(e){return Object.prototype.toString.call(e).slice(8,-1)}function resolveId(e){if(e.isIdentifier()&&!e.scope.hasBinding(e.node.name,true)){return e.node.name}const{deopt:t}=e.evaluate();if(t&&t.isIdentifier()){return t.node.name}}function resolveKey(e,t=false){const{node:s,parent:r,scope:i}=e;if(e.isStringLiteral())return s.value;const{name:n}=s;const a=e.isIdentifier();if(a&&!(t||r.computed))return n;if(t&&e.isMemberExpression()&&e.get("object").isIdentifier({name:"Symbol"})&&!i.hasBinding("Symbol",true)){const t=resolveKey(e.get("property"),e.node.computed);if(t)return"Symbol."+t}if(!a||i.hasBinding(n,true)){const{value:t}=e.evaluate();if(typeof t==="string")return t}}function resolveSource(e){if(e.isMemberExpression()&&e.get("property").isIdentifier({name:"prototype"})){const t=resolveId(e.get("object"));if(t){return{id:t,placement:"prototype"}}return{id:null,placement:null}}const t=resolveId(e);if(t){return{id:t,placement:"static"}}const{value:s}=e.evaluate();if(s!==undefined){return{id:getType(s),placement:"prototype"}}else if(e.isRegExpLiteral()){return{id:"RegExp",placement:"prototype"}}else if(e.isFunction()){return{id:"Function",placement:"prototype"}}return{id:null,placement:null}}function getImportSource({node:e}){if(e.specifiers.length===0)return e.source.value}function getRequireSource({node:e}){if(!i.isExpressionStatement(e))return;const{expression:t}=e;const s=i.isCallExpression(t)&&i.isIdentifier(t.callee)&&t.callee.name==="require"&&t.arguments.length===1&&i.isStringLiteral(t.arguments[0]);if(s)return t.arguments[0].value}function hoist(e){e._blockHoist=3;return e}function createUtilsGetter(e){return t=>{const s=t.findParent(e=>e.isProgram());return{injectGlobalImport(t){e.storeAnonymous(s,t,(e,t)=>{return e?n.statement.ast`require(${t})`:i.importDeclaration([],t)})},injectNamedImport(t,r,a=r){return e.storeNamed(s,t,r,(e,t,r)=>{const o=s.scope.generateUidIdentifier(a);return{node:e?hoist(n.statement.ast` + var ${o} = require(${t}).${r} + `):i.importDeclaration([i.importSpecifier(o,r)],t),name:o.name}})},injectDefaultImport(t,r=t){return e.storeNamed(s,t,"default",(e,t)=>{const a=s.scope.generateUidIdentifier(r);return{node:e?hoist(n.statement.ast`var ${a} = require(${t})`):i.importDeclaration([i.importDefaultSpecifier(a)],t),name:a.name}})}}}}},22179:(e,t,s)=>{"use strict";t.__esModule=true;t.default=void 0;var r=s(34887);var i=e=>({ImportDeclaration(t){const s=(0,r.getImportSource)(t);if(!s)return;e({kind:"import",source:s},t)},Program(t){t.get("body").forEach(t=>{const s=(0,r.getRequireSource)(t);if(!s)return;e({kind:"import",source:s},t)})}});t.default=i},63414:(e,t,s)=>{"use strict";t.__esModule=true;t.entry=t.usage=void 0;var r=_interopRequireDefault(s(47791));t.usage=r.default;var i=_interopRequireDefault(s(22179));t.entry=i.default;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},47791:(e,t,s)=>{"use strict";t.__esModule=true;t.default=void 0;var r=s(34887);var i=e=>{function property(t,s,r,i){return e({kind:"property",object:t,key:s,placement:r},i)}return{ReferencedIdentifier(t){const{node:{name:s},scope:r}=t;if(r.getBindingIdentifier(s))return;e({kind:"global",name:s},t)},MemberExpression(e){const t=(0,r.resolveKey)(e.get("property"),e.node.computed);if(!t||t==="prototype")return;const s=e.get("object");const i=s.scope.getBinding(s.node.name);if(i&&i.path.isImportNamespaceSpecifier())return;const n=(0,r.resolveSource)(s);return property(n.id,t,n.placement,e)},ObjectPattern(e){const{parentPath:t,parent:s}=e;let i;if(t.isVariableDeclarator()){i=t.get("init")}else if(t.isAssignmentExpression()){i=t.get("right")}else if(t.isFunction()){const r=t.parentPath;if(r.isCallExpression()||r.isNewExpression()){if(r.node.callee===s){i=r.get("arguments")[e.key]}}}let n=null;let a=null;if(i)({id:n,placement:a}=(0,r.resolveSource)(i));for(const t of e.get("properties")){if(t.isObjectProperty()){const e=(0,r.resolveKey)(t.get("key"));if(e)property(n,e,a,t)}}},BinaryExpression(t){if(t.node.operator!=="in")return;const s=(0,r.resolveSource)(t.get("right"));const i=(0,r.resolveKey)(t.get("left"),true);if(!i)return;e({kind:"in",object:s.id,key:i,placement:s.placement},t)}}};t.default=i},69624:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},20923:(e,t,s)=>{var r=s(29851);r.core=s(74335);r.isCore=s(91634);r.sync=s(56809);e.exports=r},29851:(e,t,s)=>{var r=s(35747);var i=s(85622);var n=s(2117);var a=s(74958);var o=s(17548);var l=s(21176);var c=r.realpath&&typeof r.realpath.native==="function"?r.realpath.native:r.realpath;var p=function isFile(e,t){r.stat(e,function(e,s){if(!e){return t(null,s.isFile()||s.isFIFO())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return t(null,false);return t(e)})};var u=function isDirectory(e,t){r.stat(e,function(e,s){if(!e){return t(null,s.isDirectory())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return t(null,false);return t(e)})};var h=function realpath(e,t){c(e,function(s,r){if(s&&s.code!=="ENOENT")t(s);else t(null,s?e:r)})};var f=function maybeRealpath(e,t,s,r){if(s&&s.preserveSymlinks===false){e(t,r)}else{r(null,t)}};var d=function defaultReadPackage(e,t,s){e(t,function(e,t){if(e)s(e);else{try{var r=JSON.parse(t);s(null,r)}catch(e){s(null)}}})};var y=function getPackageCandidates(e,t,s){var r=a(t,s,e);for(var n=0;n{e.exports=function(){var e=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var t=(new Error).stack;Error.prepareStackTrace=e;return t[2].getFileName()}},74335:(e,t,s)=>{var r=process.versions&&process.versions.node&&process.versions.node.split(".")||[];function specifierIncluded(e){var t=e.split(" ");var s=t.length>1?t[0]:"=";var i=(t.length>1?t[1]:t[0]).split(".");for(var n=0;n<3;++n){var a=parseInt(r[n]||0,10);var o=parseInt(i[n]||0,10);if(a===o){continue}if(s==="<"){return a="){return a>=o}else{return false}}return s===">="}function matchesRange(e){var t=e.split(/ ?&& ?/);if(t.length===0){return false}for(var s=0;s{var r=s(21176);e.exports=function isCore(e){return r(e)}},74958:(e,t,s)=>{var r=s(85622);var i=r.parse||s(50731);var n=function getNodeModulesDirs(e,t){var s="/";if(/^([A-Za-z]:)/.test(e)){s=""}else if(/^\\\\/.test(e)){s="\\\\"}var n=[e];var a=i(e);while(a.dir!==n[n.length-1]){n.push(a.dir);a=i(a.dir)}return n.reduce(function(e,i){return e.concat(t.map(function(e){return r.resolve(s,i,e)}))},[])};e.exports=function nodeModulesPaths(e,t,s){var r=t&&t.moduleDirectory?[].concat(t.moduleDirectory):["node_modules"];if(t&&typeof t.paths==="function"){return t.paths(s,e,function(){return n(e,r)},t)}var i=n(e,r);return t&&t.paths?i.concat(t.paths):i}},17548:e=>{e.exports=function(e,t){return t||{}}},56809:(e,t,s)=>{var r=s(21176);var i=s(35747);var n=s(85622);var a=s(2117);var o=s(74958);var l=s(17548);var c=i.realpathSync&&typeof i.realpathSync.native==="function"?i.realpathSync.native:i.realpathSync;var p=function isFile(e){try{var t=i.statSync(e)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return t.isFile()||t.isFIFO()};var u=function isDirectory(e){try{var t=i.statSync(e)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return t.isDirectory()};var h=function realpathSync(e){try{return c(e)}catch(e){if(e.code!=="ENOENT"){throw e}}return e};var f=function maybeRealpathSync(e,t,s){if(s&&s.preserveSymlinks===false){return e(t)}return t};var d=function defaultReadPackageSync(e,t){var s=e(t);try{var r=JSON.parse(s);return r}catch(e){}};var y=function getPackageCandidates(e,t,s){var r=o(t,s,e);for(var i=0;i{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var r=s(19761);function getObjRef(e,t,s){let i;if(r.isIdentifier(e)){if(s.hasBinding(e.name)){return e}else{i=e}}else if(r.isMemberExpression(e)){i=e.object;if(r.isSuper(i)||r.isIdentifier(i)&&s.hasBinding(i.name)){return i}}else{throw new Error(`We can't explode this node type ${e["type"]}`)}const n=s.generateUidIdentifierBasedOnNode(i);s.push({id:n});t.push(r.assignmentExpression("=",r.cloneNode(n),r.cloneNode(i)));return n}function getPropRef(e,t,s){const i=e.property;if(r.isPrivateName(i)){throw new Error("We can't generate property ref for private name, please install `@babel/plugin-proposal-class-properties`")}const n=r.toComputedKey(e,i);if(r.isLiteral(n)&&r.isPureish(n))return n;const a=s.generateUidIdentifierBasedOnNode(i);s.push({id:a});t.push(r.assignmentExpression("=",r.cloneNode(a),r.cloneNode(i)));return a}function _default(e,t,s,i,n){let a;if(r.isIdentifier(e)&&n){a=e}else{a=getObjRef(e,t,i)}let o,l;if(r.isIdentifier(e)){o=r.cloneNode(e);l=a}else{const s=getPropRef(e,t,i);const n=e.computed||r.isLiteral(s);l=r.memberExpression(r.cloneNode(a),r.cloneNode(s),n);o=r.memberExpression(r.cloneNode(a),r.cloneNode(s),n)}return{uid:l,ref:o}}},98733:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var r=s(45162);var i=s(36900);var n=s(19761);const a=(0,i.default)(`\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const o=(0,i.default)(`\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const l={"ReferencedIdentifier|BindingIdentifier"(e,t){if(e.node.name!==t.name)return;const s=e.scope.getBindingIdentifier(t.name);if(s!==t.outerDeclar)return;t.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(n.isNullLiteral(e)){return"null"}if(n.isRegExpLiteral(e)){return`_${e.pattern}_${e.flags}`}if(n.isTemplateLiteral(e)){return e.quasis.map(e=>e.value.raw).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,t,s,i){if(e.selfReference){if(i.hasBinding(s.name)&&!i.hasGlobal(s.name)){i.rename(s.name)}else{if(!n.isFunction(t))return;let e=a;if(t.generator){e=o}const l=e({FUNCTION:t,FUNCTION_ID:s,FUNCTION_KEY:i.generateUidIdentifier(s.name)}).expression;const c=l.callee.body.body[0].params;for(let e=0,s=(0,r.default)(t);e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=hoistVariables;var r=s(19761);const i={Scope(e,t){if(t.kind==="let")e.skip()},FunctionParent(e){e.skip()},VariableDeclaration(e,t){if(t.kind&&e.node.kind!==t.kind)return;const s=[];const i=e.get("declarations");let n;for(const e of i){n=e.node.id;if(e.node.init){s.push(r.expressionStatement(r.assignmentExpression("=",e.node.id,e.node.init)))}for(const s of Object.keys(e.getBindingIdentifiers())){t.emit(r.identifier(s),s,e.node.init!==null)}}if(e.parentPath.isFor({left:e.node})){e.replaceWith(n)}else{e.replaceWithMultiple(s)}}};function hoistVariables(e,t,s="var"){e.traverse(i,{kind:s,emit:t})}},68720:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=optimiseCallExpression;var r=s(19761);function optimiseCallExpression(e,t,s,i){if(s.length===1&&r.isSpreadElement(s[0])&&r.isIdentifier(s[0].argument,{name:"arguments"})){if(i){return r.optionalCallExpression(r.optionalMemberExpression(e,r.identifier("apply"),false,true),[t,s[0].argument],false)}return r.callExpression(r.memberExpression(e,r.identifier("apply")),[t,s[0].argument])}else{if(i){return r.optionalCallExpression(r.optionalMemberExpression(e,r.identifier("call"),false,true),[t,...s],false)}return r.callExpression(r.memberExpression(e,r.identifier("call")),[t,...s])}}},70287:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,s,r)=>{if(!t.assertVersion){t=Object.assign(copyApiObject(t),{assertVersion(e){throwVersionError(e,t.version)}})}return e(t,s||{},r)}}function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},79763:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var r=s(79818);var i=s(96659);var n=s(19761);const a={Function(e){e.skip()},AwaitExpression(e,{wrapAwait:t}){const s=e.get("argument");if(e.parentPath.isYieldExpression()){e.replaceWith(s.node);return}e.replaceWith(n.yieldExpression(t?n.callExpression(n.cloneNode(t),[s.node]):s.node))}};function _default(e,t,s){e.traverse(a,{wrapAwait:t.wrapAwait});const o=checkIsIIFE(e);e.node.async=false;e.node.generator=true;(0,r.default)(e,n.cloneNode(t.wrapAsync),s);const l=e.isObjectMethod()||e.isClassMethod()||e.parentPath.isObjectProperty()||e.parentPath.isClassProperty();if(!l&&!o&&e.isExpression()){(0,i.default)(e)}function checkIsIIFE(e){if(e.parentPath.isCallExpression({callee:e.node})){return true}const{parentPath:t}=e;if(t.isMemberExpression()&&n.isIdentifier(t.node.property,{name:"bind"})){const{parentPath:e}=t;return e.isCallExpression()&&e.node.arguments.length===1&&n.isThisExpression(e.node.arguments[0])&&e.parentPath.isCallExpression({callee:e.node})}return false}}},846:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.skipAllButComputedKey=skipAllButComputedKey;t.default=t.environmentVisitor=void 0;var r=s(4267);var i=s(20481);var n=s(68720);var a=s(19761);function getPrototypeOfExpression(e,t,s,r){e=a.cloneNode(e);const i=t||r?e:a.memberExpression(e,a.identifier("prototype"));return a.callExpression(s.addHelper("getPrototypeOf"),[i])}function skipAllButComputedKey(e){if(!e.node.computed){e.skip();return}const t=a.VISITOR_KEYS[e.type];for(const s of t){if(s!=="key")e.skipKey(s)}}const o={[`${a.staticBlock?"StaticBlock|":""}ClassPrivateProperty|TypeAnnotation`](e){e.skip()},Function(e){if(e.isMethod())return;if(e.isArrowFunctionExpression())return;e.skip()},"Method|ClassProperty"(e){skipAllButComputedKey(e)}};t.environmentVisitor=o;const l=r.default.visitors.merge([o,{Super(e,t){const{node:s,parentPath:r}=e;if(!r.isMemberExpression({object:s}))return;t.handle(r)}}]);const c=r.default.visitors.merge([o,{Scopable(e,{refName:t}){const s=e.scope.getOwnBinding(t);if(s&&s.identifier.name===t){e.scope.rename(t)}}}]);const p={memoise(e,t){const{scope:s,node:r}=e;const{computed:i,property:n}=r;if(!i){return}const a=s.maybeGenerateMemoised(n);if(!a){return}this.memoiser.set(n,a,t)},prop(e){const{computed:t,property:s}=e.node;if(this.memoiser.has(s)){return a.cloneNode(this.memoiser.get(s))}if(t){return a.cloneNode(s)}return a.stringLiteral(s.name)},get(e){return this._get(e,this._getThisRefs())},_get(e,t){const s=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return a.callExpression(this.file.addHelper("get"),[t.memo?a.sequenceExpression([t.memo,s]):s,this.prop(e),t.this])},_getThisRefs(){if(!this.isDerivedConstructor){return{this:a.thisExpression()}}const e=this.scope.generateDeclaredUidIdentifier("thisSuper");return{memo:a.assignmentExpression("=",e,a.thisExpression()),this:a.cloneNode(e)}},set(e,t){const s=this._getThisRefs();const r=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return a.callExpression(this.file.addHelper("set"),[s.memo?a.sequenceExpression([s.memo,r]):r,this.prop(e),t,s.this,a.booleanLiteral(e.isInStrictMode())])},destructureSet(e){throw e.buildCodeFrameError(`Destructuring to a super field is not supported yet.`)},call(e,t){const s=this._getThisRefs();return(0,n.default)(this._get(e,s),a.cloneNode(s.this),t,false)},optionalCall(e,t){const s=this._getThisRefs();return(0,n.default)(this._get(e,s),a.cloneNode(s.this),t,true)}};const u=Object.assign({},p,{prop(e){const{property:t}=e.node;if(this.memoiser.has(t)){return a.cloneNode(this.memoiser.get(t))}return a.cloneNode(t)},get(e){const{isStatic:t,getSuperRef:s}=this;const{computed:r}=e.node;const i=this.prop(e);let n;if(t){var o;n=(o=s())!=null?o:a.memberExpression(a.identifier("Function"),a.identifier("prototype"))}else{var l;n=a.memberExpression((l=s())!=null?l:a.identifier("Object"),a.identifier("prototype"))}return a.memberExpression(n,i,r)},set(e,t){const{computed:s}=e.node;const r=this.prop(e);return a.assignmentExpression("=",a.memberExpression(a.thisExpression(),r,s),t)},destructureSet(e){const{computed:t}=e.node;const s=this.prop(e);return a.memberExpression(a.thisExpression(),s,t)},call(e,t){return(0,n.default)(this.get(e),a.thisExpression(),t,false)},optionalCall(e,t){return(0,n.default)(this.get(e),a.thisExpression(),t,true)}});class ReplaceSupers{constructor(e){var t;const s=e.methodPath;this.methodPath=s;this.isDerivedConstructor=s.isClassMethod({kind:"constructor"})&&!!e.superRef;this.isStatic=s.isObjectMethod()||s.node.static||(s.isStaticBlock==null?void 0:s.isStaticBlock());this.isPrivateMethod=s.isPrivate()&&s.isMethod();this.file=e.file;this.constantSuper=(t=e.constantSuper)!=null?t:e.isLoose;this.opts=e}getObjectRef(){return a.cloneNode(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){if(this.opts.superRef)return a.cloneNode(this.opts.superRef);if(this.opts.getSuperRef)return a.cloneNode(this.opts.getSuperRef())}replace(){if(this.opts.refToPreserve){this.methodPath.traverse(c,{refName:this.opts.refToPreserve.name})}const e=this.constantSuper?u:p;(0,i.default)(this.methodPath,l,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this)},e))}}t.default=ReplaceSupers},20481:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=s(19761);function _interopNamespace(e){if(e&&e.__esModule)return e;var t=Object.create(null);if(e){Object.keys(e).forEach(function(s){if(s!=="default"){var r=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(t,s,r.get?r:{enumerable:true,get:function(){return e[s]}})}})}t["default"]=e;return Object.freeze(t)}var i=_interopNamespace(r);function willPathCastToBoolean(e){const t=e;const{node:s,parentPath:r}=t;if(r.isLogicalExpression()){const{operator:e,right:t}=r.node;if(e==="&&"||e==="||"||e==="??"&&s===t){return willPathCastToBoolean(r)}}if(r.isSequenceExpression()){const{expressions:e}=r.node;if(e[e.length-1]===s){return willPathCastToBoolean(r)}else{return true}}return r.isConditional({test:s})||r.isUnaryExpression({operator:"!"})||r.isLoop({test:s})}class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const t=this._map.get(e);const{value:s}=t;t.count--;if(t.count===0){return i.assignmentExpression("=",s,e)}return s}set(e,t,s){return this._map.set(e,{count:s,value:t})}}function toNonOptional(e,t){const{node:s}=e;if(e.isOptionalMemberExpression()){return i.memberExpression(t,s.property,s.computed)}if(e.isOptionalCallExpression()){const r=e.get("callee");if(e.node.optional&&r.isOptionalMemberExpression()){const{object:n}=r.node;const a=e.scope.maybeGenerateMemoised(n)||n;r.get("object").replaceWith(i.assignmentExpression("=",a,n));return i.callExpression(i.memberExpression(t,i.identifier("call")),[a,...s.arguments])}return i.callExpression(t,s.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:t,container:s,listKey:r}=e;const i=t.node;if(r){if(s!==i[r])return true}else{if(s!==i)return true}e=t}return false}const n={memoise(){},handle(e,t){const{node:s,parent:r,parentPath:n,scope:a}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const o=e.find(({node:t,parent:s,parentPath:r})=>{if(r.isOptionalMemberExpression()){return s.optional||s.object!==t}if(r.isOptionalCallExpression()){return t!==e.node&&s.optional||s.callee!==t}return true});if(a.path.isPattern()){o.replaceWith(i.callExpression(i.arrowFunctionExpression([],o.node),[]));return}const l=willPathCastToBoolean(o);const c=o.parentPath;if(c.isUpdateExpression({argument:s})||c.isAssignmentExpression({left:s})){throw e.buildCodeFrameError(`can't handle assignment`)}const p=c.isUnaryExpression({operator:"delete"});if(p&&o.isOptionalMemberExpression()&&o.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let u=e;for(;;){if(u.isOptionalMemberExpression()){if(u.node.optional)break;u=u.get("object");continue}else if(u.isOptionalCallExpression()){if(u.node.optional)break;u=u.get("callee");continue}throw new Error(`Internal error: unexpected ${u.node.type}`)}const h=u.isOptionalMemberExpression()?"object":"callee";const f=u.node[h];const d=a.maybeGenerateMemoised(f);const y=d!=null?d:f;const m=n.isOptionalCallExpression({callee:s});const g=n.isCallExpression({callee:s});u.replaceWith(toNonOptional(u,y));if(m){if(r.optional){n.replaceWith(this.optionalCall(e,r.arguments))}else{n.replaceWith(this.call(e,r.arguments))}}else if(g){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}let b=e.node;for(let t=e;t!==o;){const{parentPath:e}=t;if(e===o&&m&&r.optional){b=e.node;break}b=toNonOptional(e,b);t=e}let x;const v=o.parentPath;if(i.isMemberExpression(b)&&v.isOptionalCallExpression({callee:o.node,optional:true})){const{object:t}=b;x=e.scope.maybeGenerateMemoised(t);if(x){b.object=i.assignmentExpression("=",x,t)}}let w=o;if(p){w=v;b=v.node}const P=d?i.assignmentExpression("=",i.cloneNode(y),i.cloneNode(f)):i.cloneNode(y);if(l){let e;if(t){e=i.binaryExpression("!=",P,i.nullLiteral())}else{e=i.logicalExpression("&&",i.binaryExpression("!==",P,i.nullLiteral()),i.binaryExpression("!==",i.cloneNode(y),a.buildUndefinedNode()))}w.replaceWith(i.logicalExpression("&&",e,b))}else{let e;if(t){e=i.binaryExpression("==",P,i.nullLiteral())}else{e=i.logicalExpression("||",i.binaryExpression("===",P,i.nullLiteral()),i.binaryExpression("===",i.cloneNode(y),a.buildUndefinedNode()))}w.replaceWith(i.conditionalExpression(e,p?i.booleanLiteral(true):a.buildUndefinedNode(),b))}if(x){const e=v.node;v.replaceWith(i.optionalCallExpression(i.optionalMemberExpression(e.callee,i.identifier("call"),false,true),[i.cloneNode(x),...e.arguments],false))}return}if(n.isUpdateExpression({argument:s})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,prefix:a}=r;this.memoise(e,2);const o=i.binaryExpression(t[0],i.unaryExpression("+",this.get(e)),i.numericLiteral(1));if(a){n.replaceWith(this.set(e,o))}else{const{scope:t}=e;const r=t.generateUidIdentifierBasedOnNode(s);t.push({id:r});o.left=i.assignmentExpression("=",i.cloneNode(r),o.left);n.replaceWith(i.sequenceExpression([this.set(e,o),i.cloneNode(r)]))}return}if(n.isAssignmentExpression({left:s})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,right:s}=r;if(t==="="){n.replaceWith(this.set(e,s))}else{const r=t.slice(0,-1);if(i.LOGICAL_OPERATORS.includes(r)){this.memoise(e,1);n.replaceWith(i.logicalExpression(r,this.get(e),this.set(e,s)))}else{this.memoise(e,2);n.replaceWith(this.set(e,i.binaryExpression(r,this.get(e),s)))}}return}if(n.isCallExpression({callee:s})){n.replaceWith(this.call(e,r.arguments));return}if(n.isOptionalCallExpression({callee:s})){if(a.path.isPattern()){n.replaceWith(i.callExpression(i.arrowFunctionExpression([],n.node),[]));return}n.replaceWith(this.optionalCall(e,r.arguments));return}if(n.isForXStatement({left:s})||n.isObjectProperty({value:s})&&n.parentPath.isObjectPattern()||n.isAssignmentPattern({left:s})&&n.parentPath.isObjectProperty({value:r})&&n.parentPath.parentPath.isObjectPattern()||n.isArrayPattern()||n.isAssignmentPattern({left:s})&&n.parentPath.isArrayPattern()||n.isRestElement()){e.replaceWith(this.destructureSet(e));return}e.replaceWith(this.get(e))}};function memberExpressionToFunctions(e,t,s){e.traverse(t,Object.assign({},n,s,{memoiser:new AssignmentMemoiser}))}t.default=memberExpressionToFunctions},28571:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isTransparentExprWrapper=isTransparentExprWrapper;t.skipTransparentExprWrappers=skipTransparentExprWrappers;var r=s(19761);function isTransparentExprWrapper(e){return r.isTSAsExpression(e)||r.isTSTypeAssertion(e)||r.isTSNonNullExpression(e)||r.isTypeCastExpression(e)||r.isParenthesizedExpression(e)}function skipTransparentExprWrappers(e){while(isTransparentExprWrapper(e.node)){e=e.get("expression")}return e}},76729:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=splitExportDeclaration;var r=s(19761);function splitExportDeclaration(e){if(!e.isExportDeclaration()){throw new Error("Only export declarations can be split.")}const t=e.isExportDefaultDeclaration();const s=e.get("declaration");const i=s.isClassDeclaration();if(t){const t=s.isFunctionDeclaration()||i;const n=s.isScope()?s.scope.parent:s.scope;let a=s.node.id;let o=false;if(!a){o=true;a=n.generateUidIdentifier("default");if(t||s.isFunctionExpression()||s.isClassExpression()){s.node.id=r.cloneNode(a)}}const l=t?s:r.variableDeclaration("var",[r.variableDeclarator(r.cloneNode(a),s.node)]);const c=r.exportNamedDeclaration(null,[r.exportSpecifier(r.cloneNode(a),r.identifier("default"))]);e.insertAfter(c);e.replaceWith(l);if(o){n.registerDeclaration(e)}return e}if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const n=s.getOuterBindingIdentifiers();const a=Object.keys(n).map(e=>{return r.exportSpecifier(r.identifier(e),r.identifier(e))});const o=r.exportNamedDeclaration(null,a);e.insertAfter(o);e.replaceWith(s.node);return e}},25684:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findSuggestion=findSuggestion;const{min:s}=Math;function levenshtein(e,t){let r=[],i=[],n,a;const o=e.length,l=t.length;if(!o){return l}if(!l){return o}for(a=0;a<=l;a++){r[a]=a}for(n=1;n<=o;n++){for(i=[n],a=1;a<=l;a++){i[a]=e[n-1]===t[a-1]?r[a-1]:s(r[a-1],r[a],i[a-1])+1}r=i}return i[l]}function findSuggestion(e,t){const r=t.map(t=>levenshtein(t,e));return t[r.indexOf(s(...r))]}},69562:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"OptionValidator",{enumerable:true,get:function(){return r.OptionValidator}});Object.defineProperty(t,"findSuggestion",{enumerable:true,get:function(){return i.findSuggestion}});var r=s(17626);var i=s(25684)},17626:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.OptionValidator=void 0;var r=s(25684);class OptionValidator{constructor(e){this.descriptor=e}validateTopLevelOptions(e,t){const s=Object.keys(t);for(const t of Object.keys(e)){if(!s.includes(t)){throw new Error(this.formatMessage(`'${t}' is not a valid top-level option.\n- Did you mean '${(0,r.findSuggestion)(t,s)}'?`))}}}validateBooleanOption(e,t,s){if(t===undefined){return s}else{this.invariant(typeof t==="boolean",`'${e}' option must be a boolean.`)}return t}validateStringOption(e,t,s){if(t===undefined){return s}else{this.invariant(typeof t==="string",`'${e}' option must be a string.`)}return t}invariant(e,t){if(!e){throw new Error(this.formatMessage(t))}}formatMessage(e){return`${this.descriptor}: ${e}`}}t.OptionValidator=OptionValidator},79818:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=wrapFunction;var r=s(98733);var i=s(36900);var n=s(19761);const a=i.default.expression(`\n (function () {\n var REF = FUNCTION;\n return function NAME(PARAMS) {\n return REF.apply(this, arguments);\n };\n })()\n`);const o=i.default.expression(`\n (function () {\n var REF = FUNCTION;\n function NAME(PARAMS) {\n return REF.apply(this, arguments);\n }\n return NAME;\n })()\n`);const l=(0,i.default)(`\n function NAME(PARAMS) { return REF.apply(this, arguments); }\n function REF() {\n REF = FUNCTION;\n return REF.apply(this, arguments);\n }\n`);function classOrObjectMethod(e,t){const s=e.node;const r=s.body;const i=n.functionExpression(null,[],n.blockStatement(r.body),true);r.body=[n.returnStatement(n.callExpression(n.callExpression(t,[i]),[]))];s.async=false;s.generator=false;e.get("body.body.0.argument.callee.arguments.0").unwrapFunctionEnvironment()}function plainFunction(e,t,s){const i=e.node;const c=e.isFunctionDeclaration();const p=i.id;const u=c?l:p?o:a;if(e.isArrowFunctionExpression()){e.arrowFunctionToExpression({noNewArrows:s})}i.id=null;if(c){i.type="FunctionExpression"}const h=n.callExpression(t,[i]);const f=u({NAME:p||null,REF:e.scope.generateUidIdentifier(p?p.name:"ref"),FUNCTION:h,PARAMS:i.params.reduce((t,s)=>{t.done=t.done||n.isAssignmentPattern(s)||n.isRestElement(s);if(!t.done){t.params.push(e.scope.generateUidIdentifier("x"))}return t},{params:[],done:false}).params});if(c){e.replaceWith(f[0]);e.insertAfter(f[1])}else{const t=f.callee.body.body[1].argument;if(!p){(0,r.default)({node:t,parent:e.parent,scope:e.scope})}if(!t||t.id||i.params.length){e.replaceWith(f)}else{e.replaceWith(h)}}}function wrapFunction(e,t,s=true){if(e.isMethod()){classOrObjectMethod(e,t)}else{plainFunction(e,t,s)}}},210:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.wrapRegExp=t.typeof=t.objectSpread2=t.jsx=void 0;var r=s(36900);const i={minVersion:"7.0.0-beta.0",ast:()=>r.default.program.ast('\nvar REACT_ELEMENT_TYPE;\nexport default function _createRawReactElement(type, props, key, children) {\n if (!REACT_ELEMENT_TYPE) {\n REACT_ELEMENT_TYPE =\n (typeof Symbol === "function" &&\n \n Symbol["for"] &&\n Symbol["for"]("react.element")) ||\n 0xeac7;\n }\n var defaultProps = type && type.defaultProps;\n var childrenLength = arguments.length - 3;\n if (!props && childrenLength !== 0) {\n \n \n props = { children: void 0 };\n }\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = new Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 3];\n }\n props.children = childArray;\n }\n if (props && defaultProps) {\n for (var propName in defaultProps) {\n if (props[propName] === void 0) {\n props[propName] = defaultProps[propName];\n }\n }\n } else if (!props) {\n props = defaultProps || {};\n }\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key === undefined ? null : "" + key,\n ref: null,\n props: props,\n _owner: null,\n };\n}\n')};t.jsx=i;const n={minVersion:"7.5.0",ast:()=>r.default.program.ast('\nimport defineProperty from "defineProperty";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(\n target,\n key,\n Object.getOwnPropertyDescriptor(source, key)\n );\n });\n }\n }\n return target;\n}\n')};t.objectSpread2=n;const a={minVersion:"7.0.0-beta.0",ast:()=>r.default.program.ast('\nexport default function _typeof(obj) {\n "@babel/helpers - typeof";\n if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj &&\n typeof Symbol === "function" &&\n obj.constructor === Symbol &&\n obj !== Symbol.prototype\n ? "symbol"\n : typeof obj;\n };\n }\n return _typeof(obj);\n}\n')};t.typeof=a;const o={minVersion:"7.2.6",ast:()=>r.default.program.ast('\nimport setPrototypeOf from "setPrototypeOf";\nimport inherits from "inherits";\nexport default function _wrapRegExp() {\n _wrapRegExp = function (re, groups) {\n return new BabelRegExp(re, undefined, groups);\n };\n var _super = RegExp.prototype;\n var _groups = new WeakMap();\n function BabelRegExp(re, flags, groups) {\n var _this = new RegExp(re, flags);\n \n _groups.set(_this, groups || _groups.get(re));\n return setPrototypeOf(_this, BabelRegExp.prototype);\n }\n inherits(BabelRegExp, RegExp);\n BabelRegExp.prototype.exec = function (str) {\n var result = _super.exec.call(this, str);\n if (result) result.groups = buildGroups(result, this);\n return result;\n };\n BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {\n if (typeof substitution === "string") {\n var groups = _groups.get(this);\n return _super[Symbol.replace].call(\n this,\n str,\n substitution.replace(/\\$<([^>]+)>/g, function (_, name) {\n return "$" + groups[name];\n })\n );\n } else if (typeof substitution === "function") {\n var _this = this;\n return _super[Symbol.replace].call(this, str, function () {\n var args = arguments;\n \n if (typeof args[args.length - 1] !== "object") {\n args = [].slice.call(args);\n args.push(buildGroups(args, _this));\n }\n return substitution.apply(this, args);\n });\n } else {\n return _super[Symbol.replace].call(this, str, substitution);\n }\n };\n function buildGroups(result, re) {\n \n \n var g = _groups.get(re);\n return Object.keys(g).reduce(function (groups, name) {\n groups[name] = result[g[name]];\n return groups;\n }, Object.create(null));\n }\n return _wrapRegExp.apply(this, arguments);\n}\n')};t.wrapRegExp=o},84565:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(36900);var i=s(210);const n=Object.assign({__proto__:null},i);var a=n;t.default=a;const o=e=>t=>({minVersion:e,ast:()=>r.default.program.ast(t)});n.asyncIterator=o("7.0.0-beta.0")` export default function _asyncIterator(iterable) { var method; if (typeof Symbol !== "undefined") { @@ -144,11 +144,11 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m if (method == null) throw new TypeError("Object is not async iterable"); return method.call(iterable); } -`;i.AwaitValue=o("7.0.0-beta.0")` +`;n.AwaitValue=o("7.0.0-beta.0")` export default function _AwaitValue(value) { this.wrapped = value; } -`;i.AsyncGenerator=o("7.0.0-beta.0")` +`;n.AsyncGenerator=o("7.0.0-beta.0")` import AwaitValue from "AwaitValue"; export default function AsyncGenerator(gen) { @@ -228,7 +228,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m AsyncGenerator.prototype.next = function (arg) { return this._invoke("next", arg); }; AsyncGenerator.prototype.throw = function (arg) { return this._invoke("throw", arg); }; AsyncGenerator.prototype.return = function (arg) { return this._invoke("return", arg); }; -`;i.wrapAsyncGenerator=o("7.0.0-beta.0")` +`;n.wrapAsyncGenerator=o("7.0.0-beta.0")` import AsyncGenerator from "AsyncGenerator"; export default function _wrapAsyncGenerator(fn) { @@ -236,13 +236,13 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return new AsyncGenerator(fn.apply(this, arguments)); }; } -`;i.awaitAsyncGenerator=o("7.0.0-beta.0")` +`;n.awaitAsyncGenerator=o("7.0.0-beta.0")` import AwaitValue from "AwaitValue"; export default function _awaitAsyncGenerator(value) { return new AwaitValue(value); } -`;i.asyncGeneratorDelegate=o("7.0.0-beta.0")` +`;n.asyncGeneratorDelegate=o("7.0.0-beta.0")` export default function _asyncGeneratorDelegate(inner, awaitWrap) { var iter = {}, waiting = false; @@ -284,7 +284,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return iter; } -`;i.asyncToGenerator=o("7.0.0-beta.0")` +`;n.asyncToGenerator=o("7.0.0-beta.0")` function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); @@ -317,13 +317,13 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }); }; } -`;i.classCallCheck=o("7.0.0-beta.0")` +`;n.classCallCheck=o("7.0.0-beta.0")` export default function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -`;i.createClass=o("7.0.0-beta.0")` +`;n.createClass=o("7.0.0-beta.0")` function _defineProperties(target, props) { for (var i = 0; i < props.length; i ++) { var descriptor = props[i]; @@ -339,7 +339,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } -`;i.defineEnumerableProperties=o("7.0.0-beta.0")` +`;n.defineEnumerableProperties=o("7.0.0-beta.0")` export default function _defineEnumerableProperties(obj, descs) { for (var key in descs) { var desc = descs[key]; @@ -363,7 +363,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return obj; } -`;i.defaults=o("7.0.0-beta.0")` +`;n.defaults=o("7.0.0-beta.0")` export default function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { @@ -375,7 +375,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return obj; } -`;i.defineProperty=o("7.0.0-beta.0")` +`;n.defineProperty=o("7.0.0-beta.0")` export default function _defineProperty(obj, key, value) { // Shortcircuit the slow defineProperty path when possible. // We are trying to avoid issues where setters defined on the @@ -394,7 +394,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return obj; } -`;i.extends=o("7.0.0-beta.0")` +`;n.extends=o("7.0.0-beta.0")` export default function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { @@ -410,7 +410,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return _extends.apply(this, arguments); } -`;i.objectSpread=o("7.0.0-beta.0")` +`;n.objectSpread=o("7.0.0-beta.0")` import defineProperty from "defineProperty"; export default function _objectSpread(target) { @@ -428,7 +428,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return target; } -`;i.inherits=o("7.0.0-beta.0")` +`;n.inherits=o("7.0.0-beta.0")` import setPrototypeOf from "setPrototypeOf"; export default function _inherits(subClass, superClass) { @@ -444,7 +444,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }); if (superClass) setPrototypeOf(subClass, superClass); } -`;i.inheritsLoose=o("7.0.0-beta.0")` +`;n.inheritsLoose=o("7.0.0-beta.0")` import setPrototypeOf from "setPrototypeOf"; export default function _inheritsLoose(subClass, superClass) { @@ -452,7 +452,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m subClass.prototype.constructor = subClass; setPrototypeOf(subClass, superClass); } -`;i.getPrototypeOf=o("7.0.0-beta.0")` +`;n.getPrototypeOf=o("7.0.0-beta.0")` export default function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf @@ -461,7 +461,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }; return _getPrototypeOf(o); } -`;i.setPrototypeOf=o("7.0.0-beta.0")` +`;n.setPrototypeOf=o("7.0.0-beta.0")` export default function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; @@ -469,7 +469,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }; return _setPrototypeOf(o, p); } -`;i.isNativeReflectConstruct=o("7.9.0")` +`;n.isNativeReflectConstruct=o("7.9.0")` export default function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; @@ -495,7 +495,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return false; } } -`;i.construct=o("7.0.0-beta.0")` +`;n.construct=o("7.0.0-beta.0")` import setPrototypeOf from "setPrototypeOf"; import isNativeReflectConstruct from "isNativeReflectConstruct"; @@ -518,12 +518,12 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m // present in the original call. return _construct.apply(null, arguments); } -`;i.isNativeFunction=o("7.0.0-beta.0")` +`;n.isNativeFunction=o("7.0.0-beta.0")` export default function _isNativeFunction(fn) { // Note: This function returns "true" for core-js functions. return Function.toString.call(fn).indexOf("[native code]") !== -1; } -`;i.wrapNativeSuper=o("7.0.0-beta.0")` +`;n.wrapNativeSuper=o("7.0.0-beta.0")` import getPrototypeOf from "getPrototypeOf"; import setPrototypeOf from "setPrototypeOf"; import isNativeFunction from "isNativeFunction"; @@ -558,7 +558,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return _wrapNativeSuper(Class) } -`;i.instanceof=o("7.0.0-beta.0")` +`;n.instanceof=o("7.0.0-beta.0")` export default function _instanceof(left, right) { if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) { return !!right[Symbol.hasInstance](left); @@ -566,11 +566,11 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return left instanceof right; } } -`;i.interopRequireDefault=o("7.0.0-beta.0")` +`;n.interopRequireDefault=o("7.0.0-beta.0")` export default function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -`;i.interopRequireWildcard=o("7.14.0")` +`;n.interopRequireWildcard=o("7.14.0")` function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; @@ -615,17 +615,17 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return newObj; } -`;i.newArrowCheck=o("7.0.0-beta.0")` +`;n.newArrowCheck=o("7.0.0-beta.0")` export default function _newArrowCheck(innerThis, boundThis) { if (innerThis !== boundThis) { throw new TypeError("Cannot instantiate an arrow function"); } } -`;i.objectDestructuringEmpty=o("7.0.0-beta.0")` +`;n.objectDestructuringEmpty=o("7.0.0-beta.0")` export default function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure undefined"); } -`;i.objectWithoutPropertiesLoose=o("7.0.0-beta.0")` +`;n.objectWithoutPropertiesLoose=o("7.0.0-beta.0")` export default function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; @@ -641,7 +641,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return target; } -`;i.objectWithoutProperties=o("7.0.0-beta.0")` +`;n.objectWithoutProperties=o("7.0.0-beta.0")` import objectWithoutPropertiesLoose from "objectWithoutPropertiesLoose"; export default function _objectWithoutProperties(source, excluded) { @@ -662,14 +662,14 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return target; } -`;i.assertThisInitialized=o("7.0.0-beta.0")` +`;n.assertThisInitialized=o("7.0.0-beta.0")` export default function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } -`;i.possibleConstructorReturn=o("7.0.0-beta.0")` +`;n.possibleConstructorReturn=o("7.0.0-beta.0")` import assertThisInitialized from "assertThisInitialized"; export default function _possibleConstructorReturn(self, call) { @@ -678,7 +678,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return assertThisInitialized(self); } -`;i.createSuper=o("7.9.0")` +`;n.createSuper=o("7.9.0")` import getPrototypeOf from "getPrototypeOf"; import isNativeReflectConstruct from "isNativeReflectConstruct"; import possibleConstructorReturn from "possibleConstructorReturn"; @@ -698,7 +698,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return possibleConstructorReturn(this, result); } } - `;i.superPropBase=o("7.0.0-beta.0")` + `;n.superPropBase=o("7.0.0-beta.0")` import getPrototypeOf from "getPrototypeOf"; export default function _superPropBase(object, property) { @@ -709,7 +709,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return object; } -`;i.get=o("7.0.0-beta.0")` +`;n.get=o("7.0.0-beta.0")` import superPropBase from "superPropBase"; export default function _get(target, property, receiver) { @@ -731,7 +731,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return _get(target, property, receiver || target); } -`;i.set=o("7.0.0-beta.0")` +`;n.set=o("7.0.0-beta.0")` import superPropBase from "superPropBase"; import defineProperty from "defineProperty"; @@ -786,47 +786,47 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return value; } -`;i.taggedTemplateLiteral=o("7.0.0-beta.0")` +`;n.taggedTemplateLiteral=o("7.0.0-beta.0")` export default function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } -`;i.taggedTemplateLiteralLoose=o("7.0.0-beta.0")` +`;n.taggedTemplateLiteralLoose=o("7.0.0-beta.0")` export default function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } strings.raw = raw; return strings; } -`;i.readOnlyError=o("7.0.0-beta.0")` +`;n.readOnlyError=o("7.0.0-beta.0")` export default function _readOnlyError(name) { throw new TypeError("\\"" + name + "\\" is read-only"); } -`;i.writeOnlyError=o("7.12.13")` +`;n.writeOnlyError=o("7.12.13")` export default function _writeOnlyError(name) { throw new TypeError("\\"" + name + "\\" is write-only"); } -`;i.classNameTDZError=o("7.0.0-beta.0")` +`;n.classNameTDZError=o("7.0.0-beta.0")` export default function _classNameTDZError(name) { throw new Error("Class \\"" + name + "\\" cannot be referenced in computed property keys."); } -`;i.temporalUndefined=o("7.0.0-beta.0")` +`;n.temporalUndefined=o("7.0.0-beta.0")` // This function isn't mean to be called, but to be used as a reference. // We can't use a normal object because it isn't hoisted. export default function _temporalUndefined() {} -`;i.tdz=o("7.5.5")` +`;n.tdz=o("7.5.5")` export default function _tdzError(name) { throw new ReferenceError(name + " is not defined - temporal dead zone"); } -`;i.temporalRef=o("7.0.0-beta.0")` +`;n.temporalRef=o("7.0.0-beta.0")` import undef from "temporalUndefined"; import err from "tdz"; export default function _temporalRef(val, name) { return val === undef ? err(name) : val; } -`;i.slicedToArray=o("7.0.0-beta.0")` +`;n.slicedToArray=o("7.0.0-beta.0")` import arrayWithHoles from "arrayWithHoles"; import iterableToArrayLimit from "iterableToArrayLimit"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -840,7 +840,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableRest() ); } -`;i.slicedToArrayLoose=o("7.0.0-beta.0")` +`;n.slicedToArrayLoose=o("7.0.0-beta.0")` import arrayWithHoles from "arrayWithHoles"; import iterableToArrayLimitLoose from "iterableToArrayLimitLoose"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -854,7 +854,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableRest() ); } -`;i.toArray=o("7.0.0-beta.0")` +`;n.toArray=o("7.0.0-beta.0")` import arrayWithHoles from "arrayWithHoles"; import iterableToArray from "iterableToArray"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -868,7 +868,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableRest() ); } -`;i.toConsumableArray=o("7.0.0-beta.0")` +`;n.toConsumableArray=o("7.0.0-beta.0")` import arrayWithoutHoles from "arrayWithoutHoles"; import iterableToArray from "iterableToArray"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -882,17 +882,17 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableSpread() ); } -`;i.arrayWithoutHoles=o("7.0.0-beta.0")` +`;n.arrayWithoutHoles=o("7.0.0-beta.0")` import arrayLikeToArray from "arrayLikeToArray"; export default function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return arrayLikeToArray(arr); } -`;i.arrayWithHoles=o("7.0.0-beta.0")` +`;n.arrayWithHoles=o("7.0.0-beta.0")` export default function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } -`;i.maybeArrayLike=o("7.9.0")` +`;n.maybeArrayLike=o("7.9.0")` import arrayLikeToArray from "arrayLikeToArray"; export default function _maybeArrayLike(next, arr, i) { @@ -902,11 +902,11 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return next(arr, i); } -`;i.iterableToArray=o("7.0.0-beta.0")` +`;n.iterableToArray=o("7.0.0-beta.0")` export default function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } -`;i.iterableToArrayLimit=o("7.0.0-beta.0")` +`;n.iterableToArrayLimit=o("7.0.0-beta.0")` export default function _iterableToArrayLimit(arr, i) { // this is an expanded form of \`for...of\` that properly supports abrupt completions of // iterators etc. variable names have been minimised to reduce the size of this massive @@ -942,7 +942,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return _arr; } -`;i.iterableToArrayLimitLoose=o("7.0.0-beta.0")` +`;n.iterableToArrayLimitLoose=o("7.0.0-beta.0")` export default function _iterableToArrayLimitLoose(arr, i) { var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); if (_i == null) return; @@ -954,7 +954,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return _arr; } -`;i.unsupportedIterableToArray=o("7.9.0")` +`;n.unsupportedIterableToArray=o("7.9.0")` import arrayLikeToArray from "arrayLikeToArray"; export default function _unsupportedIterableToArray(o, minLen) { @@ -966,25 +966,25 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); } -`;i.arrayLikeToArray=o("7.9.0")` +`;n.arrayLikeToArray=o("7.9.0")` export default function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } -`;i.nonIterableSpread=o("7.0.0-beta.0")` +`;n.nonIterableSpread=o("7.0.0-beta.0")` export default function _nonIterableSpread() { throw new TypeError( "Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ); } -`;i.nonIterableRest=o("7.0.0-beta.0")` +`;n.nonIterableRest=o("7.0.0-beta.0")` export default function _nonIterableRest() { throw new TypeError( "Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ); } -`;i.createForOfIteratorHelper=o("7.9.0")` +`;n.createForOfIteratorHelper=o("7.9.0")` import unsupportedIterableToArray from "unsupportedIterableToArray"; // s: start (create the iterator) @@ -1043,7 +1043,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } }; } -`;i.createForOfIteratorHelperLoose=o("7.9.0")` +`;n.createForOfIteratorHelperLoose=o("7.9.0")` import unsupportedIterableToArray from "unsupportedIterableToArray"; export default function _createForOfIteratorHelperLoose(o, allowArrayLike) { @@ -1067,7 +1067,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } -`;i.skipFirstGeneratorNext=o("7.0.0-beta.0")` +`;n.skipFirstGeneratorNext=o("7.0.0-beta.0")` export default function _skipFirstGeneratorNext(fn) { return function () { var it = fn.apply(this, arguments); @@ -1075,7 +1075,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return it; } } -`;i.toPrimitive=o("7.1.5")` +`;n.toPrimitive=o("7.1.5")` export default function _toPrimitive( input, hint /*: "default" | "string" | "number" | void */ @@ -1089,21 +1089,21 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return (hint === "string" ? String : Number)(input); } -`;i.toPropertyKey=o("7.1.5")` +`;n.toPropertyKey=o("7.1.5")` import toPrimitive from "toPrimitive"; export default function _toPropertyKey(arg) { var key = toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); } -`;i.initializerWarningHelper=o("7.0.0-beta.0")` +`;n.initializerWarningHelper=o("7.0.0-beta.0")` export default function _initializerWarningHelper(descriptor, context){ throw new Error( 'Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.' ); } -`;i.initializerDefineProperty=o("7.0.0-beta.0")` +`;n.initializerDefineProperty=o("7.0.0-beta.0")` export default function _initializerDefineProperty(target, property, descriptor, context){ if (!descriptor) return; @@ -1114,7 +1114,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m value: descriptor.initializer ? descriptor.initializer.call(context) : void 0, }); } -`;i.applyDecoratedDescriptor=o("7.0.0-beta.0")` +`;n.applyDecoratedDescriptor=o("7.0.0-beta.0")` export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context){ var desc = {}; Object.keys(descriptor).forEach(function(key){ @@ -1142,26 +1142,26 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return desc; } -`;i.classPrivateFieldLooseKey=o("7.0.0-beta.0")` +`;n.classPrivateFieldLooseKey=o("7.0.0-beta.0")` var id = 0; export default function _classPrivateFieldKey(name) { return "__private_" + (id++) + "_" + name; } -`;i.classPrivateFieldLooseBase=o("7.0.0-beta.0")` +`;n.classPrivateFieldLooseBase=o("7.0.0-beta.0")` export default function _classPrivateFieldBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; } -`;i.classPrivateFieldGet=o("7.0.0-beta.0")` +`;n.classPrivateFieldGet=o("7.0.0-beta.0")` import classApplyDescriptorGet from "classApplyDescriptorGet"; import classExtractFieldDescriptor from "classExtractFieldDescriptor"; export default function _classPrivateFieldGet(receiver, privateMap) { var descriptor = classExtractFieldDescriptor(receiver, privateMap, "get"); return classApplyDescriptorGet(receiver, descriptor); } -`;i.classPrivateFieldSet=o("7.0.0-beta.0")` +`;n.classPrivateFieldSet=o("7.0.0-beta.0")` import classApplyDescriptorSet from "classApplyDescriptorSet"; import classExtractFieldDescriptor from "classExtractFieldDescriptor"; export default function _classPrivateFieldSet(receiver, privateMap, value) { @@ -1169,21 +1169,21 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classApplyDescriptorSet(receiver, descriptor, value); return value; } -`;i.classPrivateFieldDestructureSet=o("7.4.4")` +`;n.classPrivateFieldDestructureSet=o("7.4.4")` import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet"; import classExtractFieldDescriptor from "classExtractFieldDescriptor"; export default function _classPrivateFieldDestructureSet(receiver, privateMap) { var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set"); return classApplyDescriptorDestructureSet(receiver, descriptor); } -`;i.classExtractFieldDescriptor=o("7.13.10")` +`;n.classExtractFieldDescriptor=o("7.13.10")` export default function _classExtractFieldDescriptor(receiver, privateMap, action) { if (!privateMap.has(receiver)) { throw new TypeError("attempted to " + action + " private field on non-instance"); } return privateMap.get(receiver); } -`;i.classStaticPrivateFieldSpecGet=o("7.0.2")` +`;n.classStaticPrivateFieldSpecGet=o("7.0.2")` import classApplyDescriptorGet from "classApplyDescriptorGet"; import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; @@ -1192,7 +1192,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classCheckPrivateStaticFieldDescriptor(descriptor, "get"); return classApplyDescriptorGet(receiver, descriptor); } -`;i.classStaticPrivateFieldSpecSet=o("7.0.2")` +`;n.classStaticPrivateFieldSpecSet=o("7.0.2")` import classApplyDescriptorSet from "classApplyDescriptorSet"; import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; @@ -1202,24 +1202,24 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classApplyDescriptorSet(receiver, descriptor, value); return value; } -`;i.classStaticPrivateMethodGet=o("7.3.2")` +`;n.classStaticPrivateMethodGet=o("7.3.2")` import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; export default function _classStaticPrivateMethodGet(receiver, classConstructor, method) { classCheckPrivateStaticAccess(receiver, classConstructor); return method; } -`;i.classStaticPrivateMethodSet=o("7.3.2")` +`;n.classStaticPrivateMethodSet=o("7.3.2")` export default function _classStaticPrivateMethodSet() { throw new TypeError("attempted to set read only static private field"); } -`;i.classApplyDescriptorGet=o("7.13.10")` +`;n.classApplyDescriptorGet=o("7.13.10")` export default function _classApplyDescriptorGet(receiver, descriptor) { if (descriptor.get) { return descriptor.get.call(receiver); } return descriptor.value; } -`;i.classApplyDescriptorSet=o("7.13.10")` +`;n.classApplyDescriptorSet=o("7.13.10")` export default function _classApplyDescriptorSet(receiver, descriptor, value) { if (descriptor.set) { descriptor.set.call(receiver, value); @@ -1233,7 +1233,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m descriptor.value = value; } } -`;i.classApplyDescriptorDestructureSet=o("7.13.10")` +`;n.classApplyDescriptorDestructureSet=o("7.13.10")` export default function _classApplyDescriptorDestructureSet(receiver, descriptor) { if (descriptor.set) { if (!("__destrObj" in descriptor)) { @@ -1255,7 +1255,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return descriptor; } } -`;i.classStaticPrivateFieldDestructureSet=o("7.13.10")` +`;n.classStaticPrivateFieldDestructureSet=o("7.13.10")` import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet"; import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; @@ -1264,19 +1264,19 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classCheckPrivateStaticFieldDescriptor(descriptor, "set"); return classApplyDescriptorDestructureSet(receiver, descriptor); } -`;i.classCheckPrivateStaticAccess=o("7.13.10")` +`;n.classCheckPrivateStaticAccess=o("7.13.10")` export default function _classCheckPrivateStaticAccess(receiver, classConstructor) { if (receiver !== classConstructor) { throw new TypeError("Private static access of wrong provenance"); } } -`;i.classCheckPrivateStaticFieldDescriptor=o("7.13.10")` +`;n.classCheckPrivateStaticFieldDescriptor=o("7.13.10")` export default function _classCheckPrivateStaticFieldDescriptor(descriptor, action) { if (descriptor === undefined) { throw new TypeError("attempted to " + action + " private static field before its declaration"); } } -`;i.decorate=o("7.1.5")` +`;n.decorate=o("7.1.5")` import toArray from "toArray"; import toPropertyKey from "toPropertyKey"; @@ -1948,25 +1948,25 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return value; } -`;i.classPrivateMethodGet=o("7.1.6")` +`;n.classPrivateMethodGet=o("7.1.6")` export default function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; } -`;{i.classPrivateMethodSet=o("7.1.6")` +`;{n.classPrivateMethodSet=o("7.1.6")` export default function _classPrivateMethodSet() { throw new TypeError("attempted to reassign private method"); } - `}},56976:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.get=get;t.minVersion=minVersion;t.getDependencies=getDependencies;t.ensure=ensure;t.default=t.list=void 0;var n=r(4267);var s=r(42428);var i=r(84565);function makePath(e){const t=[];for(;e.parentPath;e=e.parentPath){t.push(e.key);if(e.inList)t.push(e.listKey)}return t.reverse().join(".")}let a=undefined;function getHelperMetadata(e){const t=new Set;const r=new Set;const s=new Map;let a;let o;const l=[];const u=[];const p=[];const f={ImportDeclaration(e){const t=e.node.source.value;if(!i.default[t]){throw e.buildCodeFrameError(`Unknown helper ${t}`)}if(e.get("specifiers").length!==1||!e.get("specifiers.0").isImportDefaultSpecifier()){throw e.buildCodeFrameError("Helpers can only import a default value")}const r=e.node.specifiers[0].local;s.set(r,t);u.push(makePath(e))},ExportDefaultDeclaration(e){const t=e.get("declaration");if(t.isFunctionDeclaration()){if(!t.node.id){throw t.buildCodeFrameError("Helpers should give names to their exported func declaration")}a=t.node.id.name}o=makePath(e)},ExportAllDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},ExportNamedDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},Statement(e){if(e.isModuleDeclaration())return;e.skip()}};const c={Program(e){const t=e.scope.getAllBindings();Object.keys(t).forEach(e=>{if(e===a)return;if(s.has(t[e].identifier))return;r.add(e)})},ReferencedIdentifier(e){const r=e.node.name;const n=e.scope.getBinding(r,true);if(!n){t.add(r)}else if(s.has(n.identifier)){p.push(makePath(e))}},AssignmentExpression(e){const t=e.get("left");if(!(a in t.getBindingIdentifiers()))return;if(!t.isIdentifier()){throw t.buildCodeFrameError("Only simple assignments to exports are allowed in helpers")}const r=e.scope.getBinding(a);if(r!=null&&r.scope.path.isProgram()){l.push(makePath(e))}}};(0,n.default)(e.ast,f,e.scope);(0,n.default)(e.ast,c,e.scope);if(!o)throw new Error("Helpers must default-export something.");l.reverse();return{globals:Array.from(t),localBindingNames:Array.from(r),dependencies:s,exportBindingAssignments:l,exportPath:o,exportName:a,importBindingsReferences:p,importPaths:u}}function permuteHelperAST(e,t,r,i,a){if(i&&!r){throw new Error("Unexpected local bindings for module-based helpers.")}if(!r)return;const{localBindingNames:o,dependencies:l,exportBindingAssignments:u,exportPath:p,exportName:f,importBindingsReferences:c,importPaths:d}=t;const y={};l.forEach((e,t)=>{y[t.name]=typeof a==="function"&&a(e)||t});const m={};const T=new Set(i||[]);o.forEach(e=>{let t=e;while(T.has(t))t="_"+t;if(t!==e)m[e]=t});if(r.type==="Identifier"&&f!==r.name){m[f]=r.name}const h={Program(e){const t=e.get(p);const n=d.map(t=>e.get(t));const i=c.map(t=>e.get(t));const a=t.get("declaration");if(r.type==="Identifier"){if(a.isFunctionDeclaration()){t.replaceWith(a)}else{t.replaceWith(s.variableDeclaration("var",[s.variableDeclarator(r,a.node)]))}}else if(r.type==="MemberExpression"){if(a.isFunctionDeclaration()){u.forEach(t=>{const n=e.get(t);n.replaceWith(s.assignmentExpression("=",r,n.node))});t.replaceWith(a);e.pushContainer("body",s.expressionStatement(s.assignmentExpression("=",r,s.identifier(f))))}else{t.replaceWith(s.expressionStatement(s.assignmentExpression("=",r,a.node)))}}else{throw new Error("Unexpected helper format.")}Object.keys(m).forEach(t=>{e.scope.rename(t,m[t])});for(const e of n)e.remove();for(const e of i){const t=s.cloneNode(y[e.node.name]);e.replaceWith(t)}e.stop()}};(0,n.default)(e.ast,h,e.scope)}const o=Object.create(null);function loadHelper(e){if(!o[e]){const t=i.default[e];if(!t){throw Object.assign(new ReferenceError(`Unknown helper ${e}`),{code:"BABEL_HELPER_UNKNOWN",helper:e})}const r=()=>{const r={ast:s.file(t.ast())};if(a){return new a({filename:`babel-helper://${e}`},r)}return r};const n=getHelperMetadata(r());o[e]={build(e,t,s){const i=r();permuteHelperAST(i,n,t,s,e);return{nodes:i.ast.program.body,globals:n.globals}},minVersion(){return t.minVersion},dependencies:n.dependencies}}return o[e]}function get(e,t,r,n){return loadHelper(e).build(t,r,n)}function minVersion(e){return loadHelper(e).minVersion()}function getDependencies(e){return Array.from(loadHelper(e).dependencies.values())}function ensure(e,t){if(!a){a=t}loadHelper(e)}const l=Object.keys(i.default).map(e=>e.replace(/^_/,"")).filter(e=>e!=="__esModule");t.list=l;var u=get;t.default=u},42863:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(42863);var s=r(91067)},91067:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},75702:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(73410);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},82731:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(27789);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},44361:()=>{},78803:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(44534);var s=r(74304);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(21998);var s=r(6674);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},35770:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(21998);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},21998:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(78803);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},2424:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(21998)},23363:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(45302);var s=r(87887);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(21998);var s=r(96781);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},11595:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(71037);function clone(e){return(0,n.default)(e,false)}},67328:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(71037);function cloneDeep(e){return(0,n.default)(e)}},34731:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(71037);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},71037:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(44534);var s=r(45302);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},81043:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(71037);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},19415:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(35166);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},35166:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},73168:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(97217);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},93694:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(97217);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},60160:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(97217);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},32633:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(60160);var s=r(93694);var i=r(73168);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},48626:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(63923);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},22609:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(44534);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},63923:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},57893:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(85246);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},49509:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(98463);var s=r(45302);var i=r(21998);var a=r(71037);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},19319:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(43612);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},85246:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(45302);var s=r(21998);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},16946:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(45302);var s=r(21998);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},39275:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(45302);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},43612:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(94056);var s=r(6094);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},99623:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(45302);var s=r(71037);var i=r(58692);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},27846:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(49509);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},69246:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(45302);var s=r(21998);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},7503:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(94056);var s=r(21998);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},67819:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(27789);var s=r(94056);var i=r(6094);var a=r(63923);var o=r(48862);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},43463:(e,t,r)=>{"use strict";var n=r(48862);var s=r(67819);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},89322:(e,t,r)=>{"use strict";var n=r(48862);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},44534:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(67819);r(89322);r(19693);r(30282);r(43463);r(40541);var s=r(48862);var i=r(99539);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},19693:(e,t,r)=>{"use strict";var n=r(48862);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},30282:(e,t,r)=>{"use strict";var n=r(48862);var s=r(99539);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},99539:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(48862);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},40541:(e,t,r)=>{"use strict";var n=r(48862);var s=r(67819);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},48862:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(27789);var s=r(74304);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},42428:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(66336);var i=r(72775);var a=r(23363);var o=r(75702);var l=r(82731);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(35770);var p=r(67753);var f=r(41558);var c=r(21998);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(2424);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(71037);var m=r(11595);var T=r(67328);var h=r(34731);var S=r(81043);var b=r(19415);var E=r(35166);var g=r(73168);var P=r(93694);var x=r(32633);var v=r(60160);var A=r(48626);var O=r(22609);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(63923);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(57893);var w=r(19319);var j=r(85246);var N=r(16946);var C=r(39275);var L=r(43612);var _=r(99623);var M=r(27846);var F=r(69246);var B=r(7503);var k=r(44534);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(25698);var K=r(40507);var V=r(41523);var X=r(44233);var Y=r(58692);var J=r(6674);var U=r(98463);var W=r(14332);var q=r(23801);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(67475);var G=r(63226);var $=r(27789);var H=r(84694);var Q=r(12878);var Z=r(73867);var ee=r(87337);var te=r(73410);var re=r(47498);var ne=r(626);var se=r(58522);var ie=r(32673);var ae=r(21278);var oe=r(13605);var le=r(96346);var ue=r(94056);var pe=r(79786);var fe=r(46409);var ce=r(74304);var de=r(690);var ye=r(45302);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(44361);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},25698:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(21998);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},6674:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(45302);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},40507:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(63923);var s=r(32633);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},41523:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(21998);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},44233:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(63923);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},58692:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(67475);var s=r(44233);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},96781:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(45302);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},98463:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(45302);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(98463);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},23801:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(44534);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(44534);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},97217:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},87887:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(21998);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},690:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(46409);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},45302:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(63226);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},27789:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(63226);var s=r(13605);var i=r(626);var a=r(44534);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},84694:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(98463);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},12878:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(45302);var s=r(87337);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},73867:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(13605);var s=r(45302);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},87337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(45302);var s=r(63923);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},73410:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(44534);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},47498:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(44534);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(44534);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},58522:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},32673:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(45302);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},21278:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(45302);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},13605:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(44534);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},96346:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(94056);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},94056:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(6094);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},79786:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(45302);var s=r(63923);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},46409:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(45302);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},66336:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(690);const s=(0,n.default)("React.Component");var i=s;t.default=i},74304:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(44534);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},74690:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70456);var s=r(57640);const i=["commonjs","amd","systemjs"];const a=`@babel/plugin-proposal-dynamic-import depends on a modules\ntransform plugin. Supported plugins are:\n - @babel/plugin-transform-modules-commonjs ^7.4.0\n - @babel/plugin-transform-modules-amd ^7.4.0\n - @babel/plugin-transform-modules-systemjs ^7.4.0\n\nIf you are using Webpack or Rollup and thus don't want\nBabel to transpile your imports and exports, you can use\nthe @babel/plugin-syntax-dynamic-import plugin and let your\nbundler handle dynamic imports.\n`;var o=(0,n.declare)(e=>{e.assertVersion(7);return{name:"proposal-dynamic-import",inherits:s.default,pre(){this.file.set("@babel/plugin-proposal-dynamic-import","7.14.5")},visitor:{Program(){const e=this.file.get("@babel/plugin-transform-modules-*");if(!i.includes(e)){throw new Error(a)}}}}});t.default=o},70456:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},78562:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(54602);var s=r(23817);var i=r(85850);var a=(0,n.declare)(e=>{e.assertVersion(7);return{name:"proposal-export-namespace-from",inherits:s.default,visitor:{ExportNamedDeclaration(e){var t;const{node:r,scope:n}=e;const{specifiers:s}=r;const a=i.types.isExportDefaultSpecifier(s[0])?1:0;if(!i.types.isExportNamespaceSpecifier(s[a]))return;const o=[];if(a===1){o.push(i.types.exportNamedDeclaration(null,[s.shift()],r.source))}const l=s.shift();const{exported:u}=l;const p=n.generateUidIdentifier((t=u.name)!=null?t:u.value);o.push(i.types.importDeclaration([i.types.importNamespaceSpecifier(p)],i.types.cloneNode(r.source)),i.types.exportNamedDeclaration(null,[i.types.exportSpecifier(i.types.cloneNode(p),u)]));if(r.specifiers.length>=1){o.push(r)}const[f]=e.replaceWithMultiple(o);e.scope.registerDeclaration(f)}}}});t.default=a},54602:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},91253:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(72820);var s=r(26456);var i=(0,n.declare)(e=>{e.assertVersion(7);const t=/(\\*)([\u2028\u2029])/g;function replace(e,t,r){const n=t.length%2===1;if(n)return e;return`${t}\\u${r.charCodeAt(0).toString(16)}`}return{name:"proposal-json-strings",inherits:s.default,visitor:{"DirectiveLiteral|StringLiteral"({node:e}){const{extra:r}=e;if(!(r!=null&&r.raw))return;r.raw=r.raw.replace(t,replace)}}}});t.default=i},72820:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},76321:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42521);var s=r(99420);var i=r(85850);var a=(0,n.declare)(e=>{e.assertVersion(7);return{name:"proposal-logical-assignment-operators",inherits:s.default,visitor:{AssignmentExpression(e){const{node:t,scope:r}=e;const{operator:n,left:s,right:a}=t;const o=n.slice(0,-1);if(!i.types.LOGICAL_OPERATORS.includes(o)){return}const l=i.types.cloneNode(s);if(i.types.isMemberExpression(s)){const{object:e,property:t,computed:n}=s;const a=r.maybeGenerateMemoised(e);if(a){s.object=a;l.object=i.types.assignmentExpression("=",i.types.cloneNode(a),e)}if(n){const e=r.maybeGenerateMemoised(t);if(e){s.property=e;l.property=i.types.assignmentExpression("=",i.types.cloneNode(e),t)}}}e.replaceWith(i.types.logicalExpression(o,l,i.types.assignmentExpression("=",s,a)))}}}});t.default=a},42521:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},66841:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(93458);var s=r(61586);var i=r(85850);var a=(0,n.declare)((e,{loose:t=false})=>{var r;e.assertVersion(7);const n=(r=e.assumption("noDocumentAll"))!=null?r:t;return{name:"proposal-nullish-coalescing-operator",inherits:s.default,visitor:{LogicalExpression(e){const{node:t,scope:r}=e;if(t.operator!=="??"){return}let s;let a;if(r.isStatic(t.left)){s=t.left;a=i.types.cloneNode(t.left)}else if(r.path.isPattern()){e.replaceWith(i.template.ast`(() => ${e.node})()`);return}else{s=r.generateUidIdentifierBasedOnNode(t.left);r.push({id:i.types.cloneNode(s)});a=i.types.assignmentExpression("=",s,t.left)}e.replaceWith(i.types.conditionalExpression(n?i.types.binaryExpression("!=",a,i.types.nullLiteral()):i.types.logicalExpression("&&",i.types.binaryExpression("!==",a,i.types.nullLiteral()),i.types.binaryExpression("!==",i.types.cloneNode(s),r.buildUndefinedNode())),i.types.cloneNode(s),t.right))}}}});t.default=a},93458:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},17788:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(91593);var s=r(95619);function remover({node:e}){var t;const{extra:r}=e;if(r!=null&&(t=r.raw)!=null&&t.includes("_")){r.raw=r.raw.replace(/_/g,"")}}var i=(0,n.declare)(e=>{e.assertVersion(7);return{name:"proposal-numeric-separator",inherits:s.default,visitor:{NumericLiteral:remover,BigIntLiteral:remover}}});t.default=i},91593:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},15654:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(85294);var s=r(86343);var i=r(85850);var a=r(26155);var o=r(34487);var l=r(63706);const u=(()=>{const e=i.types.identifier("a");const t=i.types.objectProperty(i.types.identifier("key"),e);const r=i.types.objectPattern([t]);return i.types.isReferenced(e,t,r)?1:0})();var p=(0,n.declare)((e,t)=>{var r,n,p,f;e.assertVersion(7);const c=e.targets();const d=!(0,o.isRequired)("es6.object.assign",c,{compatData:l});const{useBuiltIns:y=d,loose:m=false}=t;if(typeof m!=="boolean"){throw new Error(".loose must be a boolean, or undefined")}const T=(r=e.assumption("ignoreFunctionLength"))!=null?r:m;const h=(n=e.assumption("objectRestNoSymbols"))!=null?n:m;const S=(p=e.assumption("pureGetters"))!=null?p:m;const b=(f=e.assumption("setSpreadProperties"))!=null?f:m;function getExtendsHelper(e){return y?i.types.memberExpression(i.types.identifier("Object"),i.types.identifier("assign")):e.addHelper("extends")}function hasRestElement(e){let t=false;visitRestElements(e,e=>{t=true;e.stop()});return t}function hasObjectPatternRestElement(e){let t=false;visitRestElements(e,e=>{if(e.parentPath.isObjectPattern()){t=true;e.stop()}});return t}function visitRestElements(e,t){e.traverse({Expression(e){const t=e.parent.type;if(t==="AssignmentPattern"&&e.key==="right"||t==="ObjectProperty"&&e.parent.computed&&e.key==="key"){e.skip()}},RestElement:t})}function hasSpread(e){for(const t of e.properties){if(i.types.isSpreadElement(t)){return true}}return false}function extractNormalizedKeys(e){const t=e.node.properties;const r=[];let n=true;let s=false;for(const e of t){if(i.types.isIdentifier(e.key)&&!e.computed){r.push(i.types.stringLiteral(e.key.name))}else if(i.types.isTemplateLiteral(e.key)){r.push(i.types.cloneNode(e.key));s=true}else if(i.types.isLiteral(e.key)){r.push(i.types.stringLiteral(String(e.key.value)))}else{r.push(i.types.cloneNode(e.key));n=false}}return{keys:r,allLiteral:n,hasTemplateLiteral:s}}function replaceImpureComputedKeys(e,t){const r=[];for(const n of e){const e=n.get("key");if(n.node.computed&&!e.isPure()){const n=t.generateUidBasedOnNode(e.node);const s=i.types.variableDeclarator(i.types.identifier(n),e.node);r.push(s);e.replaceWith(i.types.identifier(n))}}return r}function removeUnusedExcludedKeys(e){const t=e.getOuterBindingIdentifierPaths();Object.keys(t).forEach(r=>{const n=t[r].parentPath;if(e.scope.getBinding(r).references>u||!n.isObjectProperty()){return}n.remove()})}function createObjectRest(e,t,r){const n=e.get("properties");const s=n[n.length-1];i.types.assertRestElement(s.node);const a=i.types.cloneNode(s.node);s.remove();const o=replaceImpureComputedKeys(e.get("properties"),e.scope);const{keys:l,allLiteral:u,hasTemplateLiteral:p}=extractNormalizedKeys(e);if(l.length===0){return[o,a.argument,i.types.callExpression(getExtendsHelper(t),[i.types.objectExpression([]),i.types.cloneNode(r)])]}let f;if(!u){f=i.types.callExpression(i.types.memberExpression(i.types.arrayExpression(l),i.types.identifier("map")),[t.addHelper("toPropertyKey")])}else{f=i.types.arrayExpression(l);if(!p&&!i.types.isProgram(e.scope.block)){const t=e.findParent(e=>e.isProgram());const r=e.scope.generateUidIdentifier("excluded");t.scope.push({id:r,init:f,kind:"const"});f=i.types.cloneNode(r)}}return[o,a.argument,i.types.callExpression(t.addHelper(`objectWithoutProperties${h?"Loose":""}`),[i.types.cloneNode(r),f])]}function replaceRestElement(e,t,r){if(t.isAssignmentPattern()){replaceRestElement(e,t.get("left"),r);return}if(t.isArrayPattern()&&hasRestElement(t)){const n=t.get("elements");for(let t=0;te.skip(),"ReferencedIdentifier|BindingIdentifier":i},e.scope)}}}if(!s){for(let e=0;ee>=o-1||r.has(e);(0,a.convertFunctionParams)(e,T,t,replaceRestElement)}},VariableDeclarator(e,t){if(!e.get("id").isObjectPattern()){return}let r=e;const n=e;visitRestElements(e.get("id"),e=>{if(!e.parentPath.isObjectPattern()){return}if(n.node.id.properties.length>1&&!i.types.isIdentifier(n.node.init)){const t=e.scope.generateUidIdentifierBasedOnNode(n.node.init,"ref");n.insertBefore(i.types.variableDeclarator(t,n.node.init));n.replaceWith(i.types.variableDeclarator(n.node.id,i.types.cloneNode(t)));return}let s=n.node.init;const a=[];let o;e.findParent(e=>{if(e.isObjectProperty()){a.unshift(e)}else if(e.isVariableDeclarator()){o=e.parentPath.node.kind;return true}});const l=replaceImpureComputedKeys(a,e.scope);a.forEach(e=>{const{node:t}=e;s=i.types.memberExpression(s,i.types.cloneNode(t.key),t.computed||i.types.isLiteral(t.key))});const u=e.findParent(e=>e.isObjectPattern());const[p,f,c]=createObjectRest(u,t,s);if(S){removeUnusedExcludedKeys(u)}i.types.assertIdentifier(f);r.insertBefore(p);r.insertBefore(l);r.insertAfter(i.types.variableDeclarator(f,c));r=r.getSibling(r.key+1);e.scope.registerBinding(o,r);if(u.node.properties.length===0){u.findParent(e=>e.isObjectProperty()||e.isVariableDeclarator()).remove()}})},ExportNamedDeclaration(e){const t=e.get("declaration");if(!t.isVariableDeclaration())return;const r=t.get("declarations").some(e=>hasObjectPatternRestElement(e.get("id")));if(!r)return;const n=[];for(const t of Object.keys(e.getOuterBindingIdentifiers(e))){n.push(i.types.exportSpecifier(i.types.identifier(t),i.types.identifier(t)))}e.replaceWith(t.node);e.insertAfter(i.types.exportNamedDeclaration(null,n))},CatchClause(e){const t=e.get("param");replaceRestElement(t.parentPath,t)},AssignmentExpression(e,t){const r=e.get("left");if(r.isObjectPattern()&&hasRestElement(r)){const n=[];const s=e.scope.generateUidBasedOnNode(e.node.right,"ref");n.push(i.types.variableDeclaration("var",[i.types.variableDeclarator(i.types.identifier(s),e.node.right)]));const[a,o,l]=createObjectRest(r,t,i.types.identifier(s));if(a.length>0){n.push(i.types.variableDeclaration("var",a))}const u=i.types.cloneNode(e.node);u.right=i.types.identifier(s);n.push(i.types.expressionStatement(u));n.push(i.types.toStatement(i.types.assignmentExpression("=",o,l)));n.push(i.types.expressionStatement(i.types.identifier(s)));e.replaceWithMultiple(n)}},ForXStatement(e){const{node:t,scope:r}=e;const n=e.get("left");const s=t.left;if(!hasObjectPatternRestElement(n)){return}if(!i.types.isVariableDeclaration(s)){const n=r.generateUidIdentifier("ref");t.left=i.types.variableDeclaration("var",[i.types.variableDeclarator(n)]);e.ensureBlock();if(t.body.body.length===0&&e.isCompletionRecord()){t.body.body.unshift(i.types.expressionStatement(r.buildUndefinedNode()))}t.body.body.unshift(i.types.expressionStatement(i.types.assignmentExpression("=",s,i.types.cloneNode(n))))}else{const n=s.declarations[0].id;const a=r.generateUidIdentifier("ref");t.left=i.types.variableDeclaration(s.kind,[i.types.variableDeclarator(a,null)]);e.ensureBlock();t.body.body.unshift(i.types.variableDeclaration(t.left.kind,[i.types.variableDeclarator(n,i.types.cloneNode(a))]))}},ArrayPattern(e){const t=[];visitRestElements(e,e=>{if(!e.parentPath.isObjectPattern()){return}const r=e.parentPath;const n=e.scope.generateUidIdentifier("ref");t.push(i.types.variableDeclarator(r.node,n));r.replaceWith(i.types.cloneNode(n));e.skip()});if(t.length>0){const r=e.getStatementParent();r.insertAfter(i.types.variableDeclaration(r.node.kind||"var",t))}},ObjectExpression(e,t){if(!hasSpread(e.node))return;let r;if(b){r=getExtendsHelper(t)}else{try{r=t.addHelper("objectSpread2")}catch(e){this.file.declarations["objectSpread2"]=null;r=t.addHelper("objectSpread")}}let n=null;let s=[];function make(){const e=s.length>0;const t=i.types.objectExpression(s);s=[];if(!n){n=i.types.callExpression(r,[t]);return}if(S){if(e){n.arguments.push(t)}return}n=i.types.callExpression(i.types.cloneNode(r),[n,...e?[i.types.objectExpression([]),t]:[]])}for(const t of e.node.properties){if(i.types.isSpreadElement(t)){make();n.arguments.push(t.argument)}else{s.push(t)}}if(s.length)make();e.replaceWith(n)}}}});t.default=p},63706:(e,t,r)=>{e.exports=r(10078)},85294:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},82079:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(35588);var s=r(28909);var i=(0,n.declare)(e=>{e.assertVersion(7);return{name:"proposal-optional-catch-binding",inherits:s.default,visitor:{CatchClause(e){if(!e.node.param){const t=e.scope.generateUidIdentifier("unused");const r=e.get("param");r.replaceWith(t)}}}}});t.default=i},35588:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},35078:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(68937);var s=r(39797);var i=r(85850);var a=r(28571);function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var o=_interopDefaultLegacy(s);function willPathCastToBoolean(e){const t=findOutermostTransparentParent(e);const{node:r,parentPath:n}=t;if(n.isLogicalExpression()){const{operator:e,right:t}=n.node;if(e==="&&"||e==="||"||e==="??"&&r===t){return willPathCastToBoolean(n)}}if(n.isSequenceExpression()){const{expressions:e}=n.node;if(e[e.length-1]===r){return willPathCastToBoolean(n)}else{return true}}return n.isConditional({test:r})||n.isUnaryExpression({operator:"!"})||n.isLoop({test:r})}function findOutermostTransparentParent(e){let t=e;e.findParent(e=>{if(!a.isTransparentExprWrapper(e))return true;t=e});return t}const{ast:l}=i.template.expression;function isSimpleMemberExpression(e){e=a.skipTransparentExprWrappers(e);return i.types.isIdentifier(e)||i.types.isSuper(e)||i.types.isMemberExpression(e)&&!e.computed&&isSimpleMemberExpression(e.object)}function needsMemoize(e){let t=e;const{scope:r}=e;while(t.isOptionalMemberExpression()||t.isOptionalCallExpression()){const{node:e}=t;const n=t.isOptionalMemberExpression()?"object":"callee";const s=a.skipTransparentExprWrappers(t.get(n));if(e.optional){return!r.isStatic(s.node)}t=s}}function transform(e,{pureGetters:t,noDocumentAll:r}){const{scope:n}=e;const s=findOutermostTransparentParent(e);const{parentPath:o}=s;const u=willPathCastToBoolean(s);let p=false;const f=o.isCallExpression({callee:s.node})&&e.isOptionalMemberExpression();const c=[];let d=e;if(n.path.isPattern()&&needsMemoize(d)){e.replaceWith(i.template.ast`(() => ${e.node})()`);return}while(d.isOptionalMemberExpression()||d.isOptionalCallExpression()){const{node:e}=d;if(e.optional){c.push(e)}if(d.isOptionalMemberExpression()){d.node.type="MemberExpression";d=a.skipTransparentExprWrappers(d.get("object"))}else if(d.isOptionalCallExpression()){d.node.type="CallExpression";d=a.skipTransparentExprWrappers(d.get("callee"))}}let y=e;if(o.isUnaryExpression({operator:"delete"})){y=o;p=true}for(let e=c.length-1;e>=0;e--){const s=c[e];const o=i.types.isCallExpression(s);const d=o?"callee":"object";const T=s[d];let h=T;while(a.isTransparentExprWrapper(h)){h=h.expression}let S;let b;if(o&&i.types.isIdentifier(h,{name:"eval"})){b=S=h;s[d]=i.types.sequenceExpression([i.types.numericLiteral(0),S])}else if(t&&o&&isSimpleMemberExpression(h)){b=S=T}else{S=n.maybeGenerateMemoised(h);if(S){b=i.types.assignmentExpression("=",i.types.cloneNode(S),T);s[d]=S}else{b=S=T}}if(o&&i.types.isMemberExpression(h)){if(t&&isSimpleMemberExpression(h)){s.callee=T}else{const{object:e}=h;let t=n.maybeGenerateMemoised(e);if(t){h.object=i.types.assignmentExpression("=",t,e)}else if(i.types.isSuper(e)){t=i.types.thisExpression()}else{t=e}s.arguments.unshift(i.types.cloneNode(t));s.callee=i.types.memberExpression(s.callee,i.types.identifier("call"))}}let E=y.node;if(e===0&&f){var m;const e=a.skipTransparentExprWrappers(y.get("object")).node;let r;if(!t||!isSimpleMemberExpression(e)){r=n.maybeGenerateMemoised(e);if(r){E.object=i.types.assignmentExpression("=",r,e)}}E=i.types.callExpression(i.types.memberExpression(E,i.types.identifier("bind")),[i.types.cloneNode((m=r)!=null?m:e)])}if(u){const e=r?l`${i.types.cloneNode(b)} != null`:l` - ${i.types.cloneNode(b)} !== null && ${i.types.cloneNode(S)} !== void 0`;y.replaceWith(i.types.logicalExpression("&&",e,E));y=a.skipTransparentExprWrappers(y.get("right"))}else{const e=r?l`${i.types.cloneNode(b)} == null`:l` - ${i.types.cloneNode(b)} === null || ${i.types.cloneNode(S)} === void 0`;const t=p?l`true`:l`void 0`;y.replaceWith(i.types.conditionalExpression(e,t,E));y=a.skipTransparentExprWrappers(y.get("alternate"))}}}var u=n.declare((e,t)=>{var r,n;e.assertVersion(7);const{loose:s=false}=t;const i=(r=e.assumption("noDocumentAll"))!=null?r:s;const a=(n=e.assumption("pureGetters"))!=null?n:s;return{name:"proposal-optional-chaining",inherits:o["default"].default,visitor:{"OptionalCallExpression|OptionalMemberExpression"(e){transform(e,{noDocumentAll:i,pureGetters:a})}}}});t.default=u;t.transform=transform},68937:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},12077:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(47142);var s=r(34971);var i=(0,n.declare)((e,t)=>{e.assertVersion(7);return(0,s.createClassFeaturePlugin)({name:"proposal-private-methods",api:e,feature:s.FEATURES.privateMethods,loose:t.loose,manipulateOptions(e,t){t.plugins.push("classPrivateMethods")}})});t.default=i},47142:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},57640:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70287);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-dynamic-import",manipulateOptions(e,t){t.plugins.push("dynamicImport")}}});t.default=s},23817:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70287);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-export-namespace-from",manipulateOptions(e,t){t.plugins.push("exportNamespaceFrom")}}});t.default=s},26456:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70287);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-json-strings",manipulateOptions(e,t){t.plugins.push("jsonStrings")}}});t.default=s},99420:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70287);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-logical-assignment-operators",manipulateOptions(e,t){t.plugins.push("logicalAssignment")}}});t.default=s},61586:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70287);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-nullish-coalescing-operator",manipulateOptions(e,t){t.plugins.push("nullishCoalescingOperator")}}});t.default=s},95619:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70287);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-numeric-separator",manipulateOptions(e,t){t.plugins.push("numericSeparator")}}});t.default=s},86343:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70287);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-object-rest-spread",manipulateOptions(e,t){t.plugins.push("objectRestSpread")}}});t.default=s},28909:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70287);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-optional-catch-binding",manipulateOptions(e,t){t.plugins.push("optionalCatchBinding")}}});t.default=s},39797:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70287);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-optional-chaining",manipulateOptions(e,t){t.plugins.push("optionalChaining")}}});t.default=s},56679:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(29714);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-top-level-await",manipulateOptions(e,t){t.plugins.push("topLevelAwait")}}});t.default=s},29714:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},45807:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(55641);var s=(0,n.declare)((e,t)=>{var r;e.assertVersion(7);const n=(r=e.assumption("noNewArrows"))!=null?r:!t.spec;return{name:"transform-arrow-functions",visitor:{ArrowFunctionExpression(e){if(!e.isArrowFunctionExpression())return;e.arrowFunctionToExpression({allowInsertArrow:false,noNewArrows:n,specCompliant:!n})}}}});t.default=s},55641:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},43673:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(61170);var s=r(79763);var i=r(15641);var a=r(85850);var o=(0,n.declare)((e,t)=>{e.assertVersion(7);const{method:r,module:n}=t;const o=e.assumption("noNewArrows");if(r&&n){return{name:"transform-async-to-generator",visitor:{Function(e,t){if(!e.node.async||e.node.generator)return;let l=t.methodWrapper;if(l){l=a.types.cloneNode(l)}else{l=t.methodWrapper=(0,i.addNamed)(e,r,n)}(0,s.default)(e,{wrapAsync:l},o)}}}}return{name:"transform-async-to-generator",visitor:{Function(e,t){if(!e.node.async||e.node.generator)return;(0,s.default)(e,{wrapAsync:t.addHelper("asyncToGenerator")},o)}}}});t.default=o},59469:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var s=r(1403);class ImportBuilder{constructor(e,t,r){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=r;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(s.importDeclaration([],s.stringLiteral(this._importedSource)));return this}require(){this._statements.push(s.expressionStatement(s.callExpression(s.identifier("require"),[s.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[s.importNamespaceSpecifier(t)];this._resultName=s.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];n(t.type==="ImportDeclaration");n(t.specifiers.length===0);t.specifiers=[s.importDefaultSpecifier(e)];this._resultName=s.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[s.importSpecifier(e,s.identifier(t))];this._resultName=s.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){n(this._resultName);t=s.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=s.variableDeclaration("var",[s.variableDeclarator(e,t.expression)]);this._resultName=s.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=s.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=s.callExpression(e,[t.declarations[0].init])}else{n.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=s.memberExpression(t.expression,s.identifier(e))}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=s.memberExpression(t.declarations[0].init,s.identifier(e))}else{n.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=s.memberExpression(this._resultName,s.identifier(e))}}t.default=ImportBuilder},12057:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var s=r(1403);var i=r(59469);var a=r(12373);class ImportInjector{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const n=e.find(e=>e.isProgram());this._programPath=n;this._programScope=n.scope;this._hub=n.hub;this._defaultOpts=this._applyDefaults(t,r,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){n(typeof e==="string");return this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,r=false){const s=[];if(typeof e==="string"){s.push({importedSource:e});s.push(t)}else{n(!t,"Unexpected secondary arguments.");s.push(e)}const i=Object.assign({},this._defaultOpts);for(const e of s){if(!e)continue;Object.keys(i).forEach(t=>{if(e[t]!==undefined)i[t]=e[t]});if(!r){if(e.nameHint!==undefined)i.nameHint=e.nameHint;if(e.blockHoist!==undefined)i.blockHoist=e.blockHoist}}return i}_generateImport(e,t){const r=t==="default";const n=!!t&&!r;const o=t===null;const{importedSource:l,importedType:u,importedInterop:p,importingInterop:f,ensureLiveReference:c,ensureNoContext:d,nameHint:y,importPosition:m,blockHoist:T}=e;let h=y||t;const S=(0,a.default)(this._programPath);const b=S&&f==="node";const E=S&&f==="babel";if(m==="after"&&!S){throw new Error(`"importPosition": "after" is only supported in modules`)}const g=new i.default(l,this._programScope,this._hub);if(u==="es6"){if(!b&&!E){throw new Error("Cannot import an ES6 module from CommonJS")}g.import();if(o){g.namespace(y||l)}else if(r||n){g.named(h,t)}}else if(u!=="commonjs"){throw new Error(`Unexpected interopType "${u}"`)}else if(p==="babel"){if(b){h=h!=="default"?h:l;const e=`${l}$es6Default`;g.import();if(o){g.default(e).var(h||l).wildcardInterop()}else if(r){if(c){g.default(e).var(h||l).defaultInterop().read("default")}else{g.default(e).var(h).defaultInterop().prop(t)}}else if(n){g.default(e).read(t)}}else if(E){g.import();if(o){g.namespace(h||l)}else if(r||n){g.named(h,t)}}else{g.require();if(o){g.var(h||l).wildcardInterop()}else if((r||n)&&c){if(r){h=h!=="default"?h:l;g.var(h).read(t);g.defaultInterop()}else{g.var(l).read(t)}}else if(r){g.var(h).defaultInterop().prop(t)}else if(n){g.var(h).prop(t)}}}else if(p==="compiled"){if(b){g.import();if(o){g.default(h||l)}else if(r||n){g.default(l).read(h)}}else if(E){g.import();if(o){g.namespace(h||l)}else if(r||n){g.named(h,t)}}else{g.require();if(o){g.var(h||l)}else if(r||n){if(c){g.var(l).read(h)}else{g.prop(t).var(h)}}}}else if(p==="uncompiled"){if(r&&c){throw new Error("No live reference for commonjs default")}if(b){g.import();if(o){g.default(h||l)}else if(r){g.default(h)}else if(n){g.default(l).read(h)}}else if(E){g.import();if(o){g.default(h||l)}else if(r){g.default(h)}else if(n){g.named(h,t)}}else{g.require();if(o){g.var(h||l)}else if(r){g.var(h)}else if(n){if(c){g.var(l).read(h)}else{g.var(h).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:P,resultName:x}=g.done();this._insertStatements(P,m,T);if((r||n)&&d&&x.type!=="Identifier"){return s.sequenceExpression([s.numericLiteral(0),x])}return x}_insertStatements(e,t="before",r=3){const n=this._programPath.get("body");if(t==="after"){for(let t=n.length-1;t>=0;t--){if(n[t].isImportDeclaration()){n[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=r});const t=n.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},15641:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return s.default}});var n=r(12057);var s=r(12373);function addDefault(e,t,r){return new n.default(e).addDefault(t,r)}function addNamed(e,t,r,s){return new n.default(e).addNamed(t,r,s)}function addNamespace(e,t,r){return new n.default(e).addNamespace(t,r)}function addSideEffect(e,t,r){return new n.default(e).addSideEffect(t,r)}},12373:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},61170:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},86709:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(86709);var s=r(56003)},56003:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},80628:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(92609);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},90760:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(60849);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},11902:()=>{},9341:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(43347);var s=r(27002);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(17529);var s=r(79841);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},64141:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(17529);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},17529:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(9341);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},36847:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(17529)},42532:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(70210);var s=r(80086);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(17529);var s=r(79021);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},63453:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(17715);function clone(e){return(0,n.default)(e,false)}},56748:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(17715);function cloneDeep(e){return(0,n.default)(e)}},93708:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(17715);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},17715:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(43347);var s=r(70210);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},18404:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(17715);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},20856:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(20433);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},20433:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},85971:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(44909);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},65881:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(44909);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},61180:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(44909);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},54154:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(61180);var s=r(65881);var i=r(85971);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},5858:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(86412);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},44558:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(43347);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},86412:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},49148:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(29782);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},90150:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(54881);var s=r(70210);var i=r(17529);var a=r(17715);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},84893:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(49269);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},29782:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(70210);var s=r(17529);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},45190:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(70210);var s=r(17529);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},69641:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70210);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},49269:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(17468);var s=r(17298);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},5860:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(70210);var s=r(17715);var i=r(75623);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},29496:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(90150);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},37946:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(70210);var s=r(17529);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},61500:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(17468);var s=r(17529);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},70678:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(60849);var s=r(17468);var i=r(17298);var a=r(86412);var o=r(87076);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},50861:(e,t,r)=>{"use strict";var n=r(87076);var s=r(70678);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},7518:(e,t,r)=>{"use strict";var n=r(87076);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},43347:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(70678);r(7518);r(55019);r(3062);r(50861);r(72719);var s=r(87076);var i=r(48568);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},55019:(e,t,r)=>{"use strict";var n=r(87076);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},3062:(e,t,r)=>{"use strict";var n=r(87076);var s=r(48568);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},48568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(87076);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},72719:(e,t,r)=>{"use strict";var n=r(87076);var s=r(70678);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},87076:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(60849);var s=r(27002);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},1403:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(3209);var i=r(23520);var a=r(42532);var o=r(80628);var l=r(90760);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(64141);var p=r(13336);var f=r(93259);var c=r(17529);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(36847);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(17715);var m=r(63453);var T=r(56748);var h=r(93708);var S=r(18404);var b=r(20856);var E=r(20433);var g=r(85971);var P=r(65881);var x=r(54154);var v=r(61180);var A=r(5858);var O=r(44558);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(86412);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(49148);var w=r(84893);var j=r(29782);var N=r(45190);var C=r(69641);var L=r(49269);var _=r(5860);var M=r(29496);var F=r(37946);var B=r(61500);var k=r(43347);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(9768);var K=r(87555);var V=r(55576);var X=r(46787);var Y=r(75623);var J=r(79841);var U=r(54881);var W=r(69831);var q=r(85976);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(63529);var G=r(84275);var $=r(60849);var H=r(30542);var Q=r(90540);var Z=r(61767);var ee=r(31542);var te=r(92609);var re=r(38253);var ne=r(58897);var se=r(45605);var ie=r(90066);var ae=r(81010);var oe=r(79988);var le=r(99680);var ue=r(17468);var pe=r(54359);var fe=r(26267);var ce=r(27002);var de=r(78810);var ye=r(70210);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(11902);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},9768:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(17529);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},79841:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(70210);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},87555:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(86412);var s=r(54154);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},55576:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(17529);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},46787:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(86412);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},75623:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(63529);var s=r(46787);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},79021:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(70210);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},54881:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(70210);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(54881);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},85976:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(43347);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(43347);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},44909:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},80086:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(17529);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},78810:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(26267);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},70210:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(84275);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},60849:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(84275);var s=r(79988);var i=r(58897);var a=r(43347);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},30542:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(54881);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},90540:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(70210);var s=r(31542);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},61767:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(79988);var s=r(70210);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},31542:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(70210);var s=r(86412);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},92609:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(43347);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},38253:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(43347);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(43347);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},45605:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},90066:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(70210);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},81010:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(70210);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},79988:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(43347);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},99680:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(17468);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},17468:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(17298);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},54359:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(70210);var s=r(86412);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},26267:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(70210);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},3209:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(78810);const s=(0,n.default)("React.Component");var i=s;t.default=i},27002:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(43347);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},84419:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(99290);var s=r(85850);var i=(0,n.declare)(e=>{e.assertVersion(7);function statementList(e,t){const r=t.get(e);for(const e of r){const t=e.node;if(!e.isFunctionDeclaration())continue;const r=s.types.variableDeclaration("let",[s.types.variableDeclarator(t.id,s.types.toExpression(t))]);r._blockHoist=2;t.id=null;e.replaceWith(r)}}return{name:"transform-block-scoped-functions",visitor:{BlockStatement(e){const{node:t,parent:r}=e;if(s.types.isFunction(r,{body:t})||s.types.isExportDeclaration(r)){return}statementList("body",e)},SwitchCase(e){statementList("consequent",e)}}}});t.default=i},99290:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},21600:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(31637);var s=r(34911);var i=r(85850);const a=new WeakSet;var o=(0,n.declare)((e,t)=>{e.assertVersion(7);const{throwIfClosureRequired:r=false,tdz:n=false}=t;if(typeof r!=="boolean"){throw new Error(`.throwIfClosureRequired must be a boolean, or undefined`)}if(typeof n!=="boolean"){throw new Error(`.tdz must be a boolean, or undefined`)}return{name:"transform-block-scoping",visitor:{VariableDeclaration(e){const{node:t,parent:r,scope:n}=e;if(!isBlockScoped(t))return;convertBlockScopedToVar(e,null,r,n,true);if(t._tdzThis){const r=[t];for(let e=0;ee.isLoop()||e.isFunction());return t==null?void 0:t.isLoop()}function convertBlockScopedToVar(e,t,r,n,s=false){if(!t){t=e.node}if(isInLoop(e)&&!i.types.isFor(r)){for(let e=0;e0){e.traverse(p,t)}else{e.traverse(s.visitor,t)}return e.skip()}},s.visitor]);const p=i.traverse.visitors.merge([{ReferencedIdentifier(e,t){const r=t.letReferences.get(e.node.name);if(!r)return;const n=e.scope.getBindingIdentifier(e.node.name);if(n&&n!==r)return;t.closurify=true}},s.visitor]);const f={enter(e,t){const{node:r,parent:n}=e;if(e.isForStatement()){if(isVar(r.init,r)){const e=t.pushDeclar(r.init);if(e.length===1){r.init=e[0]}else{r.init=i.types.sequenceExpression(e)}}}else if(e.isFor()){if(isVar(r.left,r)){t.pushDeclar(r.left);r.left=r.left.declarations[0].id}}else if(isVar(r,n)){e.replaceWithMultiple(t.pushDeclar(r).map(e=>i.types.expressionStatement(e)))}else if(e.isFunction()){return e.skip()}}};const c={LabeledStatement({node:e},t){t.innerLabels.push(e.label.name)}};const d={enter(e,t){if(e.isAssignmentExpression()||e.isUpdateExpression()){for(const r of Object.keys(e.getBindingIdentifiers())){if(t.outsideReferences.get(r)!==e.scope.getBindingIdentifier(r)){continue}t.reassignments[r]=true}}else if(e.isReturnStatement()){t.returnStatements.push(e)}}};function loopNodeTo(e){if(i.types.isBreakStatement(e)){return"break"}else if(i.types.isContinueStatement(e)){return"continue"}}const y={Loop(e,t){const r=t.ignoreLabeless;t.ignoreLabeless=true;e.traverse(y,t);t.ignoreLabeless=r;e.skip()},Function(e){e.skip()},SwitchCase(e,t){const r=t.inSwitchCase;t.inSwitchCase=true;e.traverse(y,t);t.inSwitchCase=r;e.skip()},"BreakStatement|ContinueStatement|ReturnStatement"(e,t){const{node:r,scope:n}=e;if(r[this.LOOP_IGNORE])return;let s;let a=loopNodeTo(r);if(a){if(r.label){if(t.innerLabels.indexOf(r.label.name)>=0){return}a=`${a}|${r.label.name}`}else{if(t.ignoreLabeless)return;if(i.types.isBreakStatement(r)&&t.inSwitchCase)return}t.hasBreakContinue=true;t.map[a]=r;s=i.types.stringLiteral(a)}if(e.isReturnStatement()){t.hasReturn=true;s=i.types.objectExpression([i.types.objectProperty(i.types.identifier("v"),r.argument||n.buildUndefinedNode())])}if(s){s=i.types.returnStatement(s);s[this.LOOP_IGNORE]=true;e.skip();e.replaceWith(i.types.inherits(s,r))}}};function isStrict(e){return!!e.find(({node:e})=>{if(i.types.isProgram(e)){if(e.sourceType==="module")return true}else if(!i.types.isBlockStatement(e))return false;return e.directives.some(e=>e.value.value==="use strict")})}class BlockScoping{constructor(e,t,r,n,s,a,o){this.parent=r;this.scope=n;this.state=o;this.throwIfClosureRequired=s;this.tdzEnabled=a;this.blockPath=t;this.block=t.node;this.outsideLetReferences=new Map;this.hasLetReferences=false;this.letReferences=new Map;this.body=[];if(e){this.loopParent=e.parent;this.loopLabel=i.types.isLabeledStatement(this.loopParent)&&this.loopParent.label;this.loopPath=e;this.loop=e.node}}run(){const e=this.block;if(a.has(e))return;a.add(e);const t=this.getLetReferences();this.checkConstants();if(i.types.isFunction(this.parent)||i.types.isProgram(this.block)){this.updateScopeInfo();return}if(!this.hasLetReferences)return;if(t){this.wrapClosure()}else{this.remap()}this.updateScopeInfo(t);if(this.loopLabel&&!i.types.isLabeledStatement(this.loopParent)){return i.types.labeledStatement(this.loopLabel,this.loop)}}checkConstants(){const e=this.scope;const t=this.state;for(const r of Object.keys(e.bindings)){const n=e.bindings[r];if(n.kind!=="const")continue;for(const e of n.constantViolations){const n=t.addHelper("readOnlyError");const s=i.types.callExpression(n,[i.types.stringLiteral(r)]);if(e.isAssignmentExpression()){const{operator:t}=e.node;if(t==="="){e.replaceWith(i.types.sequenceExpression([e.get("right").node,s]))}else if(["&&=","||=","??="].includes(t)){e.replaceWith(i.types.logicalExpression(t.slice(0,-1),e.get("left").node,i.types.sequenceExpression([e.get("right").node,s])))}else{e.replaceWith(i.types.sequenceExpression([i.types.binaryExpression(t.slice(0,-1),e.get("left").node,e.get("right").node),s]))}}else if(e.isUpdateExpression()){e.replaceWith(i.types.sequenceExpression([i.types.unaryExpression("+",e.get("argument").node),s]))}else if(e.isForXStatement()){e.ensureBlock();e.get("left").replaceWith(i.types.variableDeclaration("var",[i.types.variableDeclarator(e.scope.generateUidIdentifier(r))]));e.node.body.body.unshift(i.types.expressionStatement(s))}}}}updateScopeInfo(e){const t=this.blockPath.scope;const r=t.getFunctionParent()||t.getProgramParent();const n=this.letReferences;for(const s of n.keys()){const i=n.get(s);const a=t.getBinding(i.name);if(!a)continue;if(a.kind==="let"||a.kind==="const"){a.kind="var";if(e){if(t.hasOwnBinding(i.name)){t.removeBinding(i.name)}}else{t.moveBindingTo(i.name,r)}}}}remap(){const e=this.letReferences;const t=this.outsideLetReferences;const r=this.scope;const n=this.blockPath.scope;for(const t of e.keys()){const s=e.get(t);if(r.parentHasBinding(t)||r.hasGlobal(t)){const e=r.getOwnBinding(t);if(e){const n=r.parent.getOwnBinding(t);if(e.kind==="hoisted"&&!e.path.node.async&&!e.path.node.generator&&(!n||isVar(n.path.parent))&&!isStrict(e.path.parentPath)){continue}r.rename(s.name)}if(n.hasOwnBinding(t)){n.rename(s.name)}}}for(const r of t.keys()){const t=e.get(r);if(isInLoop(this.blockPath)&&n.hasOwnBinding(r)){n.rename(t.name)}}}wrapClosure(){if(this.throwIfClosureRequired){throw this.blockPath.buildCodeFrameError("Compiling let/const in this block would add a closure "+"(throwIfClosureRequired).")}const e=this.block;const t=this.outsideLetReferences;if(this.loop){for(const e of Array.from(t.keys())){const r=t.get(e);if(this.scope.hasGlobal(r.name)||this.scope.parentHasBinding(r.name)){t.delete(r.name);this.letReferences.delete(r.name);this.scope.rename(r.name);this.letReferences.set(r.name,r);t.set(r.name,r)}}}this.has=this.checkLoop();this.hoistVarDeclarations();const r=Array.from(t.values(),e=>i.types.cloneNode(e));const n=r.map(e=>i.types.cloneNode(e));const s=this.blockPath.isSwitchStatement();const a=i.types.functionExpression(null,n,i.types.blockStatement(s?[e]:e.body));this.addContinuations(a);let o=i.types.callExpression(i.types.nullLiteral(),r);let l=".callee";const u=i.traverse.hasType(a.body,"YieldExpression",i.types.FUNCTION_TYPES);if(u){a.generator=true;o=i.types.yieldExpression(o,true);l=".argument"+l}const p=i.traverse.hasType(a.body,"AwaitExpression",i.types.FUNCTION_TYPES);if(p){a.async=true;o=i.types.awaitExpression(o);l=".argument"+l}let f;let c;if(this.has.hasReturn||this.has.hasBreakContinue){const e=this.scope.generateUid("ret");this.body.push(i.types.variableDeclaration("var",[i.types.variableDeclarator(i.types.identifier(e),o)]));f="declarations.0.init"+l;c=this.body.length-1;this.buildHas(e)}else{this.body.push(i.types.expressionStatement(o));f="expression"+l;c=this.body.length-1}let d;if(s){const{parentPath:e,listKey:t,key:r}=this.blockPath;this.blockPath.replaceWithMultiple(this.body);d=e.get(t)[r+c]}else{e.body=this.body;d=this.blockPath.get("body")[c]}const y=d.get(f);let m;if(this.loop){const e=this.scope.generateUid("loop");const t=this.loopPath.insertBefore(i.types.variableDeclaration("var",[i.types.variableDeclarator(i.types.identifier(e),a)]));y.replaceWith(i.types.identifier(e));m=t[0].get("declarations.0.init")}else{y.replaceWith(a);m=y}m.unwrapFunctionEnvironment()}addContinuations(e){const t={reassignments:{},returnStatements:[],outsideReferences:this.outsideLetReferences};this.scope.traverse(e,d,t);for(let r=0;r{e.insertBefore(i.types.expressionStatement(i.types.assignmentExpression("=",i.types.identifier(s),i.types.identifier(a))))});e.body.body.push(i.types.expressionStatement(i.types.assignmentExpression("=",i.types.identifier(s),i.types.identifier(a))))}}getLetReferences(){const e=this.block;const t=[];if(this.loop){const e=this.loop.left||this.loop.init;if(isBlockScoped(e)){t.push(e);const r=i.types.getBindingIdentifiers(e);for(const e of Object.keys(r)){this.outsideLetReferences.set(e,r[e])}}}const r=(n,s)=>{s=s||n.node;if(i.types.isClassDeclaration(s)||i.types.isFunctionDeclaration(s)||isBlockScoped(s)){if(isBlockScoped(s)){convertBlockScopedToVar(n,s,e,this.scope)}if(s.declarations){for(let e=0;ethis.state.addHelper(e)};if(isInLoop(this.blockPath)){n.loopDepth++}this.blockPath.traverse(u,n);return n.closurify}checkLoop(){const e={hasBreakContinue:false,ignoreLabeless:false,inSwitchCase:false,innerLabels:[],hasReturn:false,isLoop:!!this.loop,map:{},LOOP_IGNORE:Symbol()};this.blockPath.traverse(c,e);this.blockPath.traverse(y,e);return e}hoistVarDeclarations(){this.blockPath.traverse(f,this)}pushDeclar(e){const t=[];const r=i.types.getBindingIdentifiers(e);for(const e of Object.keys(r)){t.push(i.types.variableDeclarator(r[e]))}this.body.push(i.types.variableDeclaration(e.kind,t));const n=[];for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.visitor=void 0;var n=r(85850);function getTDZStatus(e,t){const r=t._guessExecutionStatusRelativeTo(e);if(r==="before"){return"outside"}else if(r==="after"){return"inside"}else{return"maybe"}}function buildTDZAssert(e,t){return n.types.callExpression(t.addHelper("temporalRef"),[e,n.types.stringLiteral(e.name)])}function isReference(e,t,r){const n=r.letReferences.get(e.name);if(!n)return false;return t.getBindingIdentifier(e.name)===n}const s=new WeakSet;const i={ReferencedIdentifier(e,t){if(!t.tdzEnabled)return;const{node:r,parent:i,scope:a}=e;if(e.parentPath.isFor({left:r}))return;if(!isReference(r,a,t))return;const o=a.getBinding(r.name).path;if(o.isFunctionDeclaration())return;const l=getTDZStatus(e,o);if(l==="outside")return;if(l==="maybe"){if(s.has(r)){return}s.add(r);const a=buildTDZAssert(r,t);o.parent._tdzThis=true;if(e.parentPath.isUpdateExpression()){if(i._ignoreBlockScopingTDZ)return;e.parentPath.replaceWith(n.types.sequenceExpression([a,i]))}else{e.replaceWith(a)}}else if(l==="inside"){e.replaceWith(n.template.ast`${t.addHelper("tdz")}("${r.name}")`)}},AssignmentExpression:{exit(e,t){if(!t.tdzEnabled)return;const{node:r}=e;if(r._ignoreBlockScopingTDZ)return;const s=[];const i=e.getBindingIdentifiers();for(const r of Object.keys(i)){const n=i[r];if(isReference(n,e.scope,t)){s.push(n)}}if(s.length){r._ignoreBlockScopingTDZ=true;s.push(r);e.replaceWithMultiple(s.map(e=>n.types.expressionStatement(e)))}}}};t.visitor=i},31637:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},13798:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(136);var s=r(85850);var i=(0,n.declare)((e,t)=>{var r;e.assertVersion(7);const n=(r=e.assumption("setComputedProperties"))!=null?r:t.loose;const i=n?pushComputedPropsLoose:pushComputedPropsSpec;const a=(0,s.template)(`\n MUTATOR_MAP_REF[KEY] = MUTATOR_MAP_REF[KEY] || {};\n MUTATOR_MAP_REF[KEY].KIND = VALUE;\n `);function getValue(e){if(s.types.isObjectProperty(e)){return e.value}else if(s.types.isObjectMethod(e)){return s.types.functionExpression(null,e.params,e.body,e.generator,e.async)}}function pushAssign(e,t,r){if(t.kind==="get"&&t.kind==="set"){pushMutatorDefine(e,t,r)}else{r.push(s.types.expressionStatement(s.types.assignmentExpression("=",s.types.memberExpression(s.types.cloneNode(e),t.key,t.computed||s.types.isLiteral(t.key)),getValue(t))))}}function pushMutatorDefine({body:e,getMutatorId:t,scope:r},n){let i=!n.computed&&s.types.isIdentifier(n.key)?s.types.stringLiteral(n.key.name):n.key;const o=r.maybeGenerateMemoised(i);if(o){e.push(s.types.expressionStatement(s.types.assignmentExpression("=",o,i)));i=o}e.push(...a({MUTATOR_MAP_REF:t(),KEY:s.types.cloneNode(i),VALUE:getValue(n),KIND:s.types.identifier(n.kind)}))}function pushComputedPropsLoose(e){for(const t of e.computedProps){if(t.kind==="get"||t.kind==="set"){pushMutatorDefine(e,t)}else{pushAssign(s.types.cloneNode(e.objId),t,e.body)}}}function pushComputedPropsSpec(e){const{objId:t,body:r,computedProps:n,state:i}=e;for(const a of n){const o=s.types.toComputedKey(a);if(a.kind==="get"||a.kind==="set"){pushMutatorDefine(e,a)}else{if(n.length===1){return s.types.callExpression(i.addHelper("defineProperty"),[e.initPropExpression,o,getValue(a)])}else{r.push(s.types.expressionStatement(s.types.callExpression(i.addHelper("defineProperty"),[s.types.cloneNode(t),o,getValue(a)])))}}}}return{name:"transform-computed-properties",visitor:{ObjectExpression:{exit(e,t){const{node:r,parent:n,scope:a}=e;let o=false;for(const e of r.properties){o=e.computed===true;if(o)break}if(!o)return;const l=[];const u=[];let p=false;for(const e of r.properties){if(e.computed){p=true}if(p){u.push(e)}else{l.push(e)}}const f=a.generateUidIdentifierBasedOnNode(n);const c=s.types.objectExpression(l);const d=[];d.push(s.types.variableDeclaration("var",[s.types.variableDeclarator(f,c)]));let y;const m=function(){if(!y){y=a.generateUidIdentifier("mutatorMap");d.push(s.types.variableDeclaration("var",[s.types.variableDeclarator(y,s.types.objectExpression([]))]))}return s.types.cloneNode(y)};const T=i({scope:a,objId:f,body:d,computedProps:u,initPropExpression:c,getMutatorId:m,state:t});if(y){d.push(s.types.expressionStatement(s.types.callExpression(t.addHelper("defineEnumerableProperties"),[s.types.cloneNode(f),s.types.cloneNode(y)])))}if(T){e.replaceWith(T)}else{d.push(s.types.expressionStatement(s.types.cloneNode(f)));e.replaceWithMultiple(d)}}}}}});t.default=i},136:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},74058:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(69547);var s=r(85850);function getName(e){if(s.types.isIdentifier(e)){return e.name}return e.value.toString()}var i=(0,n.declare)(e=>{e.assertVersion(7);return{name:"transform-duplicate-keys",visitor:{ObjectExpression(e){const{node:t}=e;const r=t.properties.filter(e=>!s.types.isSpreadElement(e)&&!e.computed);const n=Object.create(null);const i=Object.create(null);const a=Object.create(null);for(const e of r){const t=getName(e.key);let r=false;switch(e.kind){case"get":if(n[t]||i[t]){r=true}i[t]=true;break;case"set":if(n[t]||a[t]){r=true}a[t]=true;break;default:if(n[t]||i[t]||a[t]){r=true}n[t]=true}if(r){e.computed=true;e.key=s.types.stringLiteral(t)}}}}}});t.default=i},69547:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},36195:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(45919);var s=r(58983);var i=r(85850);var a=(0,n.declare)(e=>{e.assertVersion(7);return{name:"transform-exponentiation-operator",visitor:(0,s.default)({operator:"**",build(e,t){return i.types.callExpression(i.types.memberExpression(i.types.identifier("Math"),i.types.identifier("pow")),[e,t])}})}});t.default=a},45919:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},59630:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(1255);var s=r(85850);var i=r(33044);var a=(0,n.declare)((e,t)=>{var r,n,a;e.assertVersion(7);{const{assumeArray:r,allowArrayLike:n,loose:s}=t;if(s===true&&r===true){throw new Error(`The loose and assumeArray options cannot be used together in @babel/plugin-transform-for-of`)}if(r===true&&n===true){throw new Error(`The assumeArray and allowArrayLike options cannot be used together in @babel/plugin-transform-for-of`)}if(n&&/^7\.\d\./.test(e.version)){throw new Error(`The allowArrayLike is only supported when using @babel/core@^7.10.0`)}}const o=(r=t.assumeArray)!=null?r:!t.loose&&e.assumption("iterableIsArray");const l=(n=t.allowArrayLike)!=null?n:e.assumption("arrayLikeIsIterable");const u=(a=e.assumption("skipForOfIteratorClosing"))!=null?a:t.loose;if(o&&l){throw new Error(`The "iterableIsArray" and "arrayLikeIsIterable" assumptions are not compatible.`)}if(o){return{name:"transform-for-of",visitor:{ForOfStatement(e){const{scope:t}=e;const{left:r,right:n,await:i}=e.node;if(i){return}const a=t.generateUidIdentifier("i");let o=t.maybeGenerateMemoised(n,true);const l=[s.types.variableDeclarator(a,s.types.numericLiteral(0))];if(o){l.push(s.types.variableDeclarator(o,n))}else{o=n}const u=s.types.memberExpression(s.types.cloneNode(o),s.types.cloneNode(a),true);let p;if(s.types.isVariableDeclaration(r)){p=r;p.declarations[0].init=u}else{p=s.types.expressionStatement(s.types.assignmentExpression("=",r,u))}let f;const c=e.get("body");if(c.isBlockStatement()&&Object.keys(e.getBindingIdentifiers()).some(e=>c.scope.hasOwnBinding(e))){f=s.types.blockStatement([p,c.node])}else{f=s.types.toBlock(c.node);f.body.unshift(p)}e.replaceWith(s.types.forStatement(s.types.variableDeclaration("let",l),s.types.binaryExpression("<",s.types.cloneNode(a),s.types.memberExpression(s.types.cloneNode(o),s.types.identifier("length"))),s.types.updateExpression("++",s.types.cloneNode(a)),f))}}}}const p=(0,s.template)` + `}},56976:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.get=get;t.minVersion=minVersion;t.getDependencies=getDependencies;t.ensure=ensure;t.default=t.list=void 0;var r=s(4267);var i=s(19761);var n=s(84565);function makePath(e){const t=[];for(;e.parentPath;e=e.parentPath){t.push(e.key);if(e.inList)t.push(e.listKey)}return t.reverse().join(".")}let a=undefined;function getHelperMetadata(e){const t=new Set;const s=new Set;const i=new Map;let a;let o;const l=[];const c=[];const p=[];const u={ImportDeclaration(e){const t=e.node.source.value;if(!n.default[t]){throw e.buildCodeFrameError(`Unknown helper ${t}`)}if(e.get("specifiers").length!==1||!e.get("specifiers.0").isImportDefaultSpecifier()){throw e.buildCodeFrameError("Helpers can only import a default value")}const s=e.node.specifiers[0].local;i.set(s,t);c.push(makePath(e))},ExportDefaultDeclaration(e){const t=e.get("declaration");if(t.isFunctionDeclaration()){if(!t.node.id){throw t.buildCodeFrameError("Helpers should give names to their exported func declaration")}a=t.node.id.name}o=makePath(e)},ExportAllDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},ExportNamedDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},Statement(e){if(e.isModuleDeclaration())return;e.skip()}};const h={Program(e){const t=e.scope.getAllBindings();Object.keys(t).forEach(e=>{if(e===a)return;if(i.has(t[e].identifier))return;s.add(e)})},ReferencedIdentifier(e){const s=e.node.name;const r=e.scope.getBinding(s,true);if(!r){t.add(s)}else if(i.has(r.identifier)){p.push(makePath(e))}},AssignmentExpression(e){const t=e.get("left");if(!(a in t.getBindingIdentifiers()))return;if(!t.isIdentifier()){throw t.buildCodeFrameError("Only simple assignments to exports are allowed in helpers")}const s=e.scope.getBinding(a);if(s!=null&&s.scope.path.isProgram()){l.push(makePath(e))}}};(0,r.default)(e.ast,u,e.scope);(0,r.default)(e.ast,h,e.scope);if(!o)throw new Error("Helpers must default-export something.");l.reverse();return{globals:Array.from(t),localBindingNames:Array.from(s),dependencies:i,exportBindingAssignments:l,exportPath:o,exportName:a,importBindingsReferences:p,importPaths:c}}function permuteHelperAST(e,t,s,n,a){if(n&&!s){throw new Error("Unexpected local bindings for module-based helpers.")}if(!s)return;const{localBindingNames:o,dependencies:l,exportBindingAssignments:c,exportPath:p,exportName:u,importBindingsReferences:h,importPaths:f}=t;const d={};l.forEach((e,t)=>{d[t.name]=typeof a==="function"&&a(e)||t});const y={};const m=new Set(n||[]);o.forEach(e=>{let t=e;while(m.has(t))t="_"+t;if(t!==e)y[e]=t});if(s.type==="Identifier"&&u!==s.name){y[u]=s.name}const g={Program(e){const t=e.get(p);const r=f.map(t=>e.get(t));const n=h.map(t=>e.get(t));const a=t.get("declaration");if(s.type==="Identifier"){if(a.isFunctionDeclaration()){t.replaceWith(a)}else{t.replaceWith(i.variableDeclaration("var",[i.variableDeclarator(s,a.node)]))}}else if(s.type==="MemberExpression"){if(a.isFunctionDeclaration()){c.forEach(t=>{const r=e.get(t);r.replaceWith(i.assignmentExpression("=",s,r.node))});t.replaceWith(a);e.pushContainer("body",i.expressionStatement(i.assignmentExpression("=",s,i.identifier(u))))}else{t.replaceWith(i.expressionStatement(i.assignmentExpression("=",s,a.node)))}}else{throw new Error("Unexpected helper format.")}Object.keys(y).forEach(t=>{e.scope.rename(t,y[t])});for(const e of r)e.remove();for(const e of n){const t=i.cloneNode(d[e.node.name]);e.replaceWith(t)}e.stop()}};(0,r.default)(e.ast,g,e.scope)}const o=Object.create(null);function loadHelper(e){if(!o[e]){const t=n.default[e];if(!t){throw Object.assign(new ReferenceError(`Unknown helper ${e}`),{code:"BABEL_HELPER_UNKNOWN",helper:e})}const s=()=>{const s={ast:i.file(t.ast())};if(a){return new a({filename:`babel-helper://${e}`},s)}return s};const r=getHelperMetadata(s());o[e]={build(e,t,i){const n=s();permuteHelperAST(n,r,t,i,e);return{nodes:n.ast.program.body,globals:r.globals}},minVersion(){return t.minVersion},dependencies:r.dependencies}}return o[e]}function get(e,t,s,r){return loadHelper(e).build(t,s,r)}function minVersion(e){return loadHelper(e).minVersion()}function getDependencies(e){return Array.from(loadHelper(e).dependencies.values())}function ensure(e,t){if(!a){a=t}loadHelper(e)}const l=Object.keys(n.default).map(e=>e.replace(/^_/,"")).filter(e=>e!=="__esModule");t.list=l;var c=get;t.default=c},74690:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(70456);var i=s(57640);const n=["commonjs","amd","systemjs"];const a=`@babel/plugin-proposal-dynamic-import depends on a modules\ntransform plugin. Supported plugins are:\n - @babel/plugin-transform-modules-commonjs ^7.4.0\n - @babel/plugin-transform-modules-amd ^7.4.0\n - @babel/plugin-transform-modules-systemjs ^7.4.0\n\nIf you are using Webpack or Rollup and thus don't want\nBabel to transpile your imports and exports, you can use\nthe @babel/plugin-syntax-dynamic-import plugin and let your\nbundler handle dynamic imports.\n`;var o=(0,r.declare)(e=>{e.assertVersion(7);return{name:"proposal-dynamic-import",inherits:i.default,pre(){this.file.set("@babel/plugin-proposal-dynamic-import","7.14.5")},visitor:{Program(){const e=this.file.get("@babel/plugin-transform-modules-*");if(!n.includes(e)){throw new Error(a)}}}}});t.default=o},70456:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},78562:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(54602);var i=s(23817);var n=s(85850);var a=(0,r.declare)(e=>{e.assertVersion(7);return{name:"proposal-export-namespace-from",inherits:i.default,visitor:{ExportNamedDeclaration(e){var t;const{node:s,scope:r}=e;const{specifiers:i}=s;const a=n.types.isExportDefaultSpecifier(i[0])?1:0;if(!n.types.isExportNamespaceSpecifier(i[a]))return;const o=[];if(a===1){o.push(n.types.exportNamedDeclaration(null,[i.shift()],s.source))}const l=i.shift();const{exported:c}=l;const p=r.generateUidIdentifier((t=c.name)!=null?t:c.value);o.push(n.types.importDeclaration([n.types.importNamespaceSpecifier(p)],n.types.cloneNode(s.source)),n.types.exportNamedDeclaration(null,[n.types.exportSpecifier(n.types.cloneNode(p),c)]));if(s.specifiers.length>=1){o.push(s)}const[u]=e.replaceWithMultiple(o);e.scope.registerDeclaration(u)}}}});t.default=a},54602:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},91253:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(72820);var i=s(26456);var n=(0,r.declare)(e=>{e.assertVersion(7);const t=/(\\*)([\u2028\u2029])/g;function replace(e,t,s){const r=t.length%2===1;if(r)return e;return`${t}\\u${s.charCodeAt(0).toString(16)}`}return{name:"proposal-json-strings",inherits:i.default,visitor:{"DirectiveLiteral|StringLiteral"({node:e}){const{extra:s}=e;if(!(s!=null&&s.raw))return;s.raw=s.raw.replace(t,replace)}}}});t.default=n},72820:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},76321:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(42521);var i=s(99420);var n=s(85850);var a=(0,r.declare)(e=>{e.assertVersion(7);return{name:"proposal-logical-assignment-operators",inherits:i.default,visitor:{AssignmentExpression(e){const{node:t,scope:s}=e;const{operator:r,left:i,right:a}=t;const o=r.slice(0,-1);if(!n.types.LOGICAL_OPERATORS.includes(o)){return}const l=n.types.cloneNode(i);if(n.types.isMemberExpression(i)){const{object:e,property:t,computed:r}=i;const a=s.maybeGenerateMemoised(e);if(a){i.object=a;l.object=n.types.assignmentExpression("=",n.types.cloneNode(a),e)}if(r){const e=s.maybeGenerateMemoised(t);if(e){i.property=e;l.property=n.types.assignmentExpression("=",n.types.cloneNode(e),t)}}}e.replaceWith(n.types.logicalExpression(o,l,n.types.assignmentExpression("=",i,a)))}}}});t.default=a},42521:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},66841:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(93458);var i=s(61586);var n=s(85850);var a=(0,r.declare)((e,{loose:t=false})=>{var s;e.assertVersion(7);const r=(s=e.assumption("noDocumentAll"))!=null?s:t;return{name:"proposal-nullish-coalescing-operator",inherits:i.default,visitor:{LogicalExpression(e){const{node:t,scope:s}=e;if(t.operator!=="??"){return}let i;let a;if(s.isStatic(t.left)){i=t.left;a=n.types.cloneNode(t.left)}else if(s.path.isPattern()){e.replaceWith(n.template.ast`(() => ${e.node})()`);return}else{i=s.generateUidIdentifierBasedOnNode(t.left);s.push({id:n.types.cloneNode(i)});a=n.types.assignmentExpression("=",i,t.left)}e.replaceWith(n.types.conditionalExpression(r?n.types.binaryExpression("!=",a,n.types.nullLiteral()):n.types.logicalExpression("&&",n.types.binaryExpression("!==",a,n.types.nullLiteral()),n.types.binaryExpression("!==",n.types.cloneNode(i),s.buildUndefinedNode())),n.types.cloneNode(i),t.right))}}}});t.default=a},93458:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},17788:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(91593);var i=s(95619);function remover({node:e}){var t;const{extra:s}=e;if(s!=null&&(t=s.raw)!=null&&t.includes("_")){s.raw=s.raw.replace(/_/g,"")}}var n=(0,r.declare)(e=>{e.assertVersion(7);return{name:"proposal-numeric-separator",inherits:i.default,visitor:{NumericLiteral:remover,BigIntLiteral:remover}}});t.default=n},91593:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},15654:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(85294);var i=s(86343);var n=s(85850);var a=s(26155);var o=s(34487);var l=s(63706);const c=(()=>{const e=n.types.identifier("a");const t=n.types.objectProperty(n.types.identifier("key"),e);const s=n.types.objectPattern([t]);return n.types.isReferenced(e,t,s)?1:0})();var p=(0,r.declare)((e,t)=>{var s,r,p,u;e.assertVersion(7);const h=e.targets();const f=!(0,o.isRequired)("es6.object.assign",h,{compatData:l});const{useBuiltIns:d=f,loose:y=false}=t;if(typeof y!=="boolean"){throw new Error(".loose must be a boolean, or undefined")}const m=(s=e.assumption("ignoreFunctionLength"))!=null?s:y;const g=(r=e.assumption("objectRestNoSymbols"))!=null?r:y;const b=(p=e.assumption("pureGetters"))!=null?p:y;const x=(u=e.assumption("setSpreadProperties"))!=null?u:y;function getExtendsHelper(e){return d?n.types.memberExpression(n.types.identifier("Object"),n.types.identifier("assign")):e.addHelper("extends")}function hasRestElement(e){let t=false;visitRestElements(e,e=>{t=true;e.stop()});return t}function hasObjectPatternRestElement(e){let t=false;visitRestElements(e,e=>{if(e.parentPath.isObjectPattern()){t=true;e.stop()}});return t}function visitRestElements(e,t){e.traverse({Expression(e){const t=e.parent.type;if(t==="AssignmentPattern"&&e.key==="right"||t==="ObjectProperty"&&e.parent.computed&&e.key==="key"){e.skip()}},RestElement:t})}function hasSpread(e){for(const t of e.properties){if(n.types.isSpreadElement(t)){return true}}return false}function extractNormalizedKeys(e){const t=e.node.properties;const s=[];let r=true;let i=false;for(const e of t){if(n.types.isIdentifier(e.key)&&!e.computed){s.push(n.types.stringLiteral(e.key.name))}else if(n.types.isTemplateLiteral(e.key)){s.push(n.types.cloneNode(e.key));i=true}else if(n.types.isLiteral(e.key)){s.push(n.types.stringLiteral(String(e.key.value)))}else{s.push(n.types.cloneNode(e.key));r=false}}return{keys:s,allLiteral:r,hasTemplateLiteral:i}}function replaceImpureComputedKeys(e,t){const s=[];for(const r of e){const e=r.get("key");if(r.node.computed&&!e.isPure()){const r=t.generateUidBasedOnNode(e.node);const i=n.types.variableDeclarator(n.types.identifier(r),e.node);s.push(i);e.replaceWith(n.types.identifier(r))}}return s}function removeUnusedExcludedKeys(e){const t=e.getOuterBindingIdentifierPaths();Object.keys(t).forEach(s=>{const r=t[s].parentPath;if(e.scope.getBinding(s).references>c||!r.isObjectProperty()){return}r.remove()})}function createObjectRest(e,t,s){const r=e.get("properties");const i=r[r.length-1];n.types.assertRestElement(i.node);const a=n.types.cloneNode(i.node);i.remove();const o=replaceImpureComputedKeys(e.get("properties"),e.scope);const{keys:l,allLiteral:c,hasTemplateLiteral:p}=extractNormalizedKeys(e);if(l.length===0){return[o,a.argument,n.types.callExpression(getExtendsHelper(t),[n.types.objectExpression([]),n.types.cloneNode(s)])]}let u;if(!c){u=n.types.callExpression(n.types.memberExpression(n.types.arrayExpression(l),n.types.identifier("map")),[t.addHelper("toPropertyKey")])}else{u=n.types.arrayExpression(l);if(!p&&!n.types.isProgram(e.scope.block)){const t=e.findParent(e=>e.isProgram());const s=e.scope.generateUidIdentifier("excluded");t.scope.push({id:s,init:u,kind:"const"});u=n.types.cloneNode(s)}}return[o,a.argument,n.types.callExpression(t.addHelper(`objectWithoutProperties${g?"Loose":""}`),[n.types.cloneNode(s),u])]}function replaceRestElement(e,t,s){if(t.isAssignmentPattern()){replaceRestElement(e,t.get("left"),s);return}if(t.isArrayPattern()&&hasRestElement(t)){const r=t.get("elements");for(let t=0;te.skip(),"ReferencedIdentifier|BindingIdentifier":n},e.scope)}}}if(!i){for(let e=0;ee>=o-1||s.has(e);(0,a.convertFunctionParams)(e,m,t,replaceRestElement)}},VariableDeclarator(e,t){if(!e.get("id").isObjectPattern()){return}let s=e;const r=e;visitRestElements(e.get("id"),e=>{if(!e.parentPath.isObjectPattern()){return}if(r.node.id.properties.length>1&&!n.types.isIdentifier(r.node.init)){const t=e.scope.generateUidIdentifierBasedOnNode(r.node.init,"ref");r.insertBefore(n.types.variableDeclarator(t,r.node.init));r.replaceWith(n.types.variableDeclarator(r.node.id,n.types.cloneNode(t)));return}let i=r.node.init;const a=[];let o;e.findParent(e=>{if(e.isObjectProperty()){a.unshift(e)}else if(e.isVariableDeclarator()){o=e.parentPath.node.kind;return true}});const l=replaceImpureComputedKeys(a,e.scope);a.forEach(e=>{const{node:t}=e;i=n.types.memberExpression(i,n.types.cloneNode(t.key),t.computed||n.types.isLiteral(t.key))});const c=e.findParent(e=>e.isObjectPattern());const[p,u,h]=createObjectRest(c,t,i);if(b){removeUnusedExcludedKeys(c)}n.types.assertIdentifier(u);s.insertBefore(p);s.insertBefore(l);s.insertAfter(n.types.variableDeclarator(u,h));s=s.getSibling(s.key+1);e.scope.registerBinding(o,s);if(c.node.properties.length===0){c.findParent(e=>e.isObjectProperty()||e.isVariableDeclarator()).remove()}})},ExportNamedDeclaration(e){const t=e.get("declaration");if(!t.isVariableDeclaration())return;const s=t.get("declarations").some(e=>hasObjectPatternRestElement(e.get("id")));if(!s)return;const r=[];for(const t of Object.keys(e.getOuterBindingIdentifiers(e))){r.push(n.types.exportSpecifier(n.types.identifier(t),n.types.identifier(t)))}e.replaceWith(t.node);e.insertAfter(n.types.exportNamedDeclaration(null,r))},CatchClause(e){const t=e.get("param");replaceRestElement(t.parentPath,t)},AssignmentExpression(e,t){const s=e.get("left");if(s.isObjectPattern()&&hasRestElement(s)){const r=[];const i=e.scope.generateUidBasedOnNode(e.node.right,"ref");r.push(n.types.variableDeclaration("var",[n.types.variableDeclarator(n.types.identifier(i),e.node.right)]));const[a,o,l]=createObjectRest(s,t,n.types.identifier(i));if(a.length>0){r.push(n.types.variableDeclaration("var",a))}const c=n.types.cloneNode(e.node);c.right=n.types.identifier(i);r.push(n.types.expressionStatement(c));r.push(n.types.toStatement(n.types.assignmentExpression("=",o,l)));r.push(n.types.expressionStatement(n.types.identifier(i)));e.replaceWithMultiple(r)}},ForXStatement(e){const{node:t,scope:s}=e;const r=e.get("left");const i=t.left;if(!hasObjectPatternRestElement(r)){return}if(!n.types.isVariableDeclaration(i)){const r=s.generateUidIdentifier("ref");t.left=n.types.variableDeclaration("var",[n.types.variableDeclarator(r)]);e.ensureBlock();if(t.body.body.length===0&&e.isCompletionRecord()){t.body.body.unshift(n.types.expressionStatement(s.buildUndefinedNode()))}t.body.body.unshift(n.types.expressionStatement(n.types.assignmentExpression("=",i,n.types.cloneNode(r))))}else{const r=i.declarations[0].id;const a=s.generateUidIdentifier("ref");t.left=n.types.variableDeclaration(i.kind,[n.types.variableDeclarator(a,null)]);e.ensureBlock();t.body.body.unshift(n.types.variableDeclaration(t.left.kind,[n.types.variableDeclarator(r,n.types.cloneNode(a))]))}},ArrayPattern(e){const t=[];visitRestElements(e,e=>{if(!e.parentPath.isObjectPattern()){return}const s=e.parentPath;const r=e.scope.generateUidIdentifier("ref");t.push(n.types.variableDeclarator(s.node,r));s.replaceWith(n.types.cloneNode(r));e.skip()});if(t.length>0){const s=e.getStatementParent();s.insertAfter(n.types.variableDeclaration(s.node.kind||"var",t))}},ObjectExpression(e,t){if(!hasSpread(e.node))return;let s;if(x){s=getExtendsHelper(t)}else{try{s=t.addHelper("objectSpread2")}catch(e){this.file.declarations["objectSpread2"]=null;s=t.addHelper("objectSpread")}}let r=null;let i=[];function make(){const e=i.length>0;const t=n.types.objectExpression(i);i=[];if(!r){r=n.types.callExpression(s,[t]);return}if(b){if(e){r.arguments.push(t)}return}r=n.types.callExpression(n.types.cloneNode(s),[r,...e?[n.types.objectExpression([]),t]:[]])}for(const t of e.node.properties){if(n.types.isSpreadElement(t)){make();r.arguments.push(t.argument)}else{i.push(t)}}if(i.length)make();e.replaceWith(r)}}}});t.default=p},63706:(e,t,s)=>{e.exports=s(10078)},85294:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},82079:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(35588);var i=s(28909);var n=(0,r.declare)(e=>{e.assertVersion(7);return{name:"proposal-optional-catch-binding",inherits:i.default,visitor:{CatchClause(e){if(!e.node.param){const t=e.scope.generateUidIdentifier("unused");const s=e.get("param");s.replaceWith(t)}}}}});t.default=n},35588:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},35078:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=s(68937);var i=s(39797);var n=s(85850);var a=s(28571);function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var o=_interopDefaultLegacy(i);function willPathCastToBoolean(e){const t=findOutermostTransparentParent(e);const{node:s,parentPath:r}=t;if(r.isLogicalExpression()){const{operator:e,right:t}=r.node;if(e==="&&"||e==="||"||e==="??"&&s===t){return willPathCastToBoolean(r)}}if(r.isSequenceExpression()){const{expressions:e}=r.node;if(e[e.length-1]===s){return willPathCastToBoolean(r)}else{return true}}return r.isConditional({test:s})||r.isUnaryExpression({operator:"!"})||r.isLoop({test:s})}function findOutermostTransparentParent(e){let t=e;e.findParent(e=>{if(!a.isTransparentExprWrapper(e))return true;t=e});return t}const{ast:l}=n.template.expression;function isSimpleMemberExpression(e){e=a.skipTransparentExprWrappers(e);return n.types.isIdentifier(e)||n.types.isSuper(e)||n.types.isMemberExpression(e)&&!e.computed&&isSimpleMemberExpression(e.object)}function needsMemoize(e){let t=e;const{scope:s}=e;while(t.isOptionalMemberExpression()||t.isOptionalCallExpression()){const{node:e}=t;const r=t.isOptionalMemberExpression()?"object":"callee";const i=a.skipTransparentExprWrappers(t.get(r));if(e.optional){return!s.isStatic(i.node)}t=i}}function transform(e,{pureGetters:t,noDocumentAll:s}){const{scope:r}=e;const i=findOutermostTransparentParent(e);const{parentPath:o}=i;const c=willPathCastToBoolean(i);let p=false;const u=o.isCallExpression({callee:i.node})&&e.isOptionalMemberExpression();const h=[];let f=e;if(r.path.isPattern()&&needsMemoize(f)){e.replaceWith(n.template.ast`(() => ${e.node})()`);return}while(f.isOptionalMemberExpression()||f.isOptionalCallExpression()){const{node:e}=f;if(e.optional){h.push(e)}if(f.isOptionalMemberExpression()){f.node.type="MemberExpression";f=a.skipTransparentExprWrappers(f.get("object"))}else if(f.isOptionalCallExpression()){f.node.type="CallExpression";f=a.skipTransparentExprWrappers(f.get("callee"))}}let d=e;if(o.isUnaryExpression({operator:"delete"})){d=o;p=true}for(let e=h.length-1;e>=0;e--){const i=h[e];const o=n.types.isCallExpression(i);const f=o?"callee":"object";const m=i[f];let g=m;while(a.isTransparentExprWrapper(g)){g=g.expression}let b;let x;if(o&&n.types.isIdentifier(g,{name:"eval"})){x=b=g;i[f]=n.types.sequenceExpression([n.types.numericLiteral(0),b])}else if(t&&o&&isSimpleMemberExpression(g)){x=b=m}else{b=r.maybeGenerateMemoised(g);if(b){x=n.types.assignmentExpression("=",n.types.cloneNode(b),m);i[f]=b}else{x=b=m}}if(o&&n.types.isMemberExpression(g)){if(t&&isSimpleMemberExpression(g)){i.callee=m}else{const{object:e}=g;let t=r.maybeGenerateMemoised(e);if(t){g.object=n.types.assignmentExpression("=",t,e)}else if(n.types.isSuper(e)){t=n.types.thisExpression()}else{t=e}i.arguments.unshift(n.types.cloneNode(t));i.callee=n.types.memberExpression(i.callee,n.types.identifier("call"))}}let v=d.node;if(e===0&&u){var y;const e=a.skipTransparentExprWrappers(d.get("object")).node;let s;if(!t||!isSimpleMemberExpression(e)){s=r.maybeGenerateMemoised(e);if(s){v.object=n.types.assignmentExpression("=",s,e)}}v=n.types.callExpression(n.types.memberExpression(v,n.types.identifier("bind")),[n.types.cloneNode((y=s)!=null?y:e)])}if(c){const e=s?l`${n.types.cloneNode(x)} != null`:l` + ${n.types.cloneNode(x)} !== null && ${n.types.cloneNode(b)} !== void 0`;d.replaceWith(n.types.logicalExpression("&&",e,v));d=a.skipTransparentExprWrappers(d.get("right"))}else{const e=s?l`${n.types.cloneNode(x)} == null`:l` + ${n.types.cloneNode(x)} === null || ${n.types.cloneNode(b)} === void 0`;const t=p?l`true`:l`void 0`;d.replaceWith(n.types.conditionalExpression(e,t,v));d=a.skipTransparentExprWrappers(d.get("alternate"))}}}var c=r.declare((e,t)=>{var s,r;e.assertVersion(7);const{loose:i=false}=t;const n=(s=e.assumption("noDocumentAll"))!=null?s:i;const a=(r=e.assumption("pureGetters"))!=null?r:i;return{name:"proposal-optional-chaining",inherits:o["default"].default,visitor:{"OptionalCallExpression|OptionalMemberExpression"(e){transform(e,{noDocumentAll:n,pureGetters:a})}}}});t.default=c;t.transform=transform},68937:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},12077:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(47142);var i=s(34971);var n=(0,r.declare)((e,t)=>{e.assertVersion(7);return(0,i.createClassFeaturePlugin)({name:"proposal-private-methods",api:e,feature:i.FEATURES.privateMethods,loose:t.loose,manipulateOptions(e,t){t.plugins.push("classPrivateMethods")}})});t.default=n},47142:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},57640:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(70287);var i=(0,r.declare)(e=>{e.assertVersion(7);return{name:"syntax-dynamic-import",manipulateOptions(e,t){t.plugins.push("dynamicImport")}}});t.default=i},23817:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(70287);var i=(0,r.declare)(e=>{e.assertVersion(7);return{name:"syntax-export-namespace-from",manipulateOptions(e,t){t.plugins.push("exportNamespaceFrom")}}});t.default=i},26456:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(70287);var i=(0,r.declare)(e=>{e.assertVersion(7);return{name:"syntax-json-strings",manipulateOptions(e,t){t.plugins.push("jsonStrings")}}});t.default=i},99420:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(70287);var i=(0,r.declare)(e=>{e.assertVersion(7);return{name:"syntax-logical-assignment-operators",manipulateOptions(e,t){t.plugins.push("logicalAssignment")}}});t.default=i},61586:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(70287);var i=(0,r.declare)(e=>{e.assertVersion(7);return{name:"syntax-nullish-coalescing-operator",manipulateOptions(e,t){t.plugins.push("nullishCoalescingOperator")}}});t.default=i},95619:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(70287);var i=(0,r.declare)(e=>{e.assertVersion(7);return{name:"syntax-numeric-separator",manipulateOptions(e,t){t.plugins.push("numericSeparator")}}});t.default=i},86343:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(70287);var i=(0,r.declare)(e=>{e.assertVersion(7);return{name:"syntax-object-rest-spread",manipulateOptions(e,t){t.plugins.push("objectRestSpread")}}});t.default=i},28909:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(70287);var i=(0,r.declare)(e=>{e.assertVersion(7);return{name:"syntax-optional-catch-binding",manipulateOptions(e,t){t.plugins.push("optionalCatchBinding")}}});t.default=i},39797:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(70287);var i=(0,r.declare)(e=>{e.assertVersion(7);return{name:"syntax-optional-chaining",manipulateOptions(e,t){t.plugins.push("optionalChaining")}}});t.default=i},56679:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(29714);var i=(0,r.declare)(e=>{e.assertVersion(7);return{name:"syntax-top-level-await",manipulateOptions(e,t){t.plugins.push("topLevelAwait")}}});t.default=i},29714:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},45807:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(55641);var i=(0,r.declare)((e,t)=>{var s;e.assertVersion(7);const r=(s=e.assumption("noNewArrows"))!=null?s:!t.spec;return{name:"transform-arrow-functions",visitor:{ArrowFunctionExpression(e){if(!e.isArrowFunctionExpression())return;e.arrowFunctionToExpression({allowInsertArrow:false,noNewArrows:r,specCompliant:!r})}}}});t.default=i},55641:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},43673:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(61170);var i=s(79763);var n=s(15641);var a=s(85850);var o=(0,r.declare)((e,t)=>{e.assertVersion(7);const{method:s,module:r}=t;const o=e.assumption("noNewArrows");if(s&&r){return{name:"transform-async-to-generator",visitor:{Function(e,t){if(!e.node.async||e.node.generator)return;let l=t.methodWrapper;if(l){l=a.types.cloneNode(l)}else{l=t.methodWrapper=(0,n.addNamed)(e,s,r)}(0,i.default)(e,{wrapAsync:l},o)}}}}return{name:"transform-async-to-generator",visitor:{Function(e,t){if(!e.node.async||e.node.generator)return;(0,i.default)(e,{wrapAsync:t.addHelper("asyncToGenerator")},o)}}}});t.default=o},59469:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(42357);var i=s(19761);class ImportBuilder{constructor(e,t,s){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=s;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(i.importDeclaration([],i.stringLiteral(this._importedSource)));return this}require(){this._statements.push(i.expressionStatement(i.callExpression(i.identifier("require"),[i.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const s=this._statements[this._statements.length-1];r(s.type==="ImportDeclaration");r(s.specifiers.length===0);s.specifiers=[i.importNamespaceSpecifier(t)];this._resultName=i.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];r(t.type==="ImportDeclaration");r(t.specifiers.length===0);t.specifiers=[i.importDefaultSpecifier(e)];this._resultName=i.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const s=this._statements[this._statements.length-1];r(s.type==="ImportDeclaration");r(s.specifiers.length===0);s.specifiers=[i.importSpecifier(e,i.identifier(t))];this._resultName=i.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){r(this._resultName);t=i.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=i.variableDeclaration("var",[i.variableDeclarator(e,t.expression)]);this._resultName=i.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){r(t.declarations.length===1);t.declarations[0].init=i.callExpression(e,[t.declarations[0].init])}else{r.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.memberExpression(t.expression,i.identifier(e))}else if(t.type==="VariableDeclaration"){r(t.declarations.length===1);t.declarations[0].init=i.memberExpression(t.declarations[0].init,i.identifier(e))}else{r.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=i.memberExpression(this._resultName,i.identifier(e))}}t.default=ImportBuilder},12057:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(42357);var i=s(19761);var n=s(59469);var a=s(12373);class ImportInjector{constructor(e,t,s){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const r=e.find(e=>e.isProgram());this._programPath=r;this._programScope=r.scope;this._hub=r.hub;this._defaultOpts=this._applyDefaults(t,s,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,s){r(typeof e==="string");return this._generateImport(this._applyDefaults(t,s),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,s=false){const i=[];if(typeof e==="string"){i.push({importedSource:e});i.push(t)}else{r(!t,"Unexpected secondary arguments.");i.push(e)}const n=Object.assign({},this._defaultOpts);for(const e of i){if(!e)continue;Object.keys(n).forEach(t=>{if(e[t]!==undefined)n[t]=e[t]});if(!s){if(e.nameHint!==undefined)n.nameHint=e.nameHint;if(e.blockHoist!==undefined)n.blockHoist=e.blockHoist}}return n}_generateImport(e,t){const s=t==="default";const r=!!t&&!s;const o=t===null;const{importedSource:l,importedType:c,importedInterop:p,importingInterop:u,ensureLiveReference:h,ensureNoContext:f,nameHint:d,importPosition:y,blockHoist:m}=e;let g=d||t;const b=(0,a.default)(this._programPath);const x=b&&u==="node";const v=b&&u==="babel";if(y==="after"&&!b){throw new Error(`"importPosition": "after" is only supported in modules`)}const w=new n.default(l,this._programScope,this._hub);if(c==="es6"){if(!x&&!v){throw new Error("Cannot import an ES6 module from CommonJS")}w.import();if(o){w.namespace(d||l)}else if(s||r){w.named(g,t)}}else if(c!=="commonjs"){throw new Error(`Unexpected interopType "${c}"`)}else if(p==="babel"){if(x){g=g!=="default"?g:l;const e=`${l}$es6Default`;w.import();if(o){w.default(e).var(g||l).wildcardInterop()}else if(s){if(h){w.default(e).var(g||l).defaultInterop().read("default")}else{w.default(e).var(g).defaultInterop().prop(t)}}else if(r){w.default(e).read(t)}}else if(v){w.import();if(o){w.namespace(g||l)}else if(s||r){w.named(g,t)}}else{w.require();if(o){w.var(g||l).wildcardInterop()}else if((s||r)&&h){if(s){g=g!=="default"?g:l;w.var(g).read(t);w.defaultInterop()}else{w.var(l).read(t)}}else if(s){w.var(g).defaultInterop().prop(t)}else if(r){w.var(g).prop(t)}}}else if(p==="compiled"){if(x){w.import();if(o){w.default(g||l)}else if(s||r){w.default(l).read(g)}}else if(v){w.import();if(o){w.namespace(g||l)}else if(s||r){w.named(g,t)}}else{w.require();if(o){w.var(g||l)}else if(s||r){if(h){w.var(l).read(g)}else{w.prop(t).var(g)}}}}else if(p==="uncompiled"){if(s&&h){throw new Error("No live reference for commonjs default")}if(x){w.import();if(o){w.default(g||l)}else if(s){w.default(g)}else if(r){w.default(l).read(g)}}else if(v){w.import();if(o){w.default(g||l)}else if(s){w.default(g)}else if(r){w.named(g,t)}}else{w.require();if(o){w.var(g||l)}else if(s){w.var(g)}else if(r){if(h){w.var(l).read(g)}else{w.var(g).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:P,resultName:E}=w.done();this._insertStatements(P,y,m);if((s||r)&&f&&E.type!=="Identifier"){return i.sequenceExpression([i.numericLiteral(0),E])}return E}_insertStatements(e,t="before",s=3){const r=this._programPath.get("body");if(t==="after"){for(let t=r.length-1;t>=0;t--){if(r[t].isImportDeclaration()){r[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=s});const t=r.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},15641:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return r.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return i.default}});var r=s(12057);var i=s(12373);function addDefault(e,t,s){return new r.default(e).addDefault(t,s)}function addNamed(e,t,s,i){return new r.default(e).addNamed(t,s,i)}function addNamespace(e,t,s){return new r.default(e).addNamespace(t,s)}function addSideEffect(e,t,s){return new r.default(e).addSideEffect(t,s)}},12373:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},61170:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},84419:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(99290);var i=s(85850);var n=(0,r.declare)(e=>{e.assertVersion(7);function statementList(e,t){const s=t.get(e);for(const e of s){const t=e.node;if(!e.isFunctionDeclaration())continue;const s=i.types.variableDeclaration("let",[i.types.variableDeclarator(t.id,i.types.toExpression(t))]);s._blockHoist=2;t.id=null;e.replaceWith(s)}}return{name:"transform-block-scoped-functions",visitor:{BlockStatement(e){const{node:t,parent:s}=e;if(i.types.isFunction(s,{body:t})||i.types.isExportDeclaration(s)){return}statementList("body",e)},SwitchCase(e){statementList("consequent",e)}}}});t.default=n},99290:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},21600:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(31637);var i=s(34911);var n=s(85850);const a=new WeakSet;var o=(0,r.declare)((e,t)=>{e.assertVersion(7);const{throwIfClosureRequired:s=false,tdz:r=false}=t;if(typeof s!=="boolean"){throw new Error(`.throwIfClosureRequired must be a boolean, or undefined`)}if(typeof r!=="boolean"){throw new Error(`.tdz must be a boolean, or undefined`)}return{name:"transform-block-scoping",visitor:{VariableDeclaration(e){const{node:t,parent:s,scope:r}=e;if(!isBlockScoped(t))return;convertBlockScopedToVar(e,null,s,r,true);if(t._tdzThis){const s=[t];for(let e=0;ee.isLoop()||e.isFunction());return t==null?void 0:t.isLoop()}function convertBlockScopedToVar(e,t,s,r,i=false){if(!t){t=e.node}if(isInLoop(e)&&!n.types.isFor(s)){for(let e=0;e0){e.traverse(p,t)}else{e.traverse(i.visitor,t)}return e.skip()}},i.visitor]);const p=n.traverse.visitors.merge([{ReferencedIdentifier(e,t){const s=t.letReferences.get(e.node.name);if(!s)return;const r=e.scope.getBindingIdentifier(e.node.name);if(r&&r!==s)return;t.closurify=true}},i.visitor]);const u={enter(e,t){const{node:s,parent:r}=e;if(e.isForStatement()){if(isVar(s.init,s)){const e=t.pushDeclar(s.init);if(e.length===1){s.init=e[0]}else{s.init=n.types.sequenceExpression(e)}}}else if(e.isFor()){if(isVar(s.left,s)){t.pushDeclar(s.left);s.left=s.left.declarations[0].id}}else if(isVar(s,r)){e.replaceWithMultiple(t.pushDeclar(s).map(e=>n.types.expressionStatement(e)))}else if(e.isFunction()){return e.skip()}}};const h={LabeledStatement({node:e},t){t.innerLabels.push(e.label.name)}};const f={enter(e,t){if(e.isAssignmentExpression()||e.isUpdateExpression()){for(const s of Object.keys(e.getBindingIdentifiers())){if(t.outsideReferences.get(s)!==e.scope.getBindingIdentifier(s)){continue}t.reassignments[s]=true}}else if(e.isReturnStatement()){t.returnStatements.push(e)}}};function loopNodeTo(e){if(n.types.isBreakStatement(e)){return"break"}else if(n.types.isContinueStatement(e)){return"continue"}}const d={Loop(e,t){const s=t.ignoreLabeless;t.ignoreLabeless=true;e.traverse(d,t);t.ignoreLabeless=s;e.skip()},Function(e){e.skip()},SwitchCase(e,t){const s=t.inSwitchCase;t.inSwitchCase=true;e.traverse(d,t);t.inSwitchCase=s;e.skip()},"BreakStatement|ContinueStatement|ReturnStatement"(e,t){const{node:s,scope:r}=e;if(s[this.LOOP_IGNORE])return;let i;let a=loopNodeTo(s);if(a){if(s.label){if(t.innerLabels.indexOf(s.label.name)>=0){return}a=`${a}|${s.label.name}`}else{if(t.ignoreLabeless)return;if(n.types.isBreakStatement(s)&&t.inSwitchCase)return}t.hasBreakContinue=true;t.map[a]=s;i=n.types.stringLiteral(a)}if(e.isReturnStatement()){t.hasReturn=true;i=n.types.objectExpression([n.types.objectProperty(n.types.identifier("v"),s.argument||r.buildUndefinedNode())])}if(i){i=n.types.returnStatement(i);i[this.LOOP_IGNORE]=true;e.skip();e.replaceWith(n.types.inherits(i,s))}}};function isStrict(e){return!!e.find(({node:e})=>{if(n.types.isProgram(e)){if(e.sourceType==="module")return true}else if(!n.types.isBlockStatement(e))return false;return e.directives.some(e=>e.value.value==="use strict")})}class BlockScoping{constructor(e,t,s,r,i,a,o){this.parent=s;this.scope=r;this.state=o;this.throwIfClosureRequired=i;this.tdzEnabled=a;this.blockPath=t;this.block=t.node;this.outsideLetReferences=new Map;this.hasLetReferences=false;this.letReferences=new Map;this.body=[];if(e){this.loopParent=e.parent;this.loopLabel=n.types.isLabeledStatement(this.loopParent)&&this.loopParent.label;this.loopPath=e;this.loop=e.node}}run(){const e=this.block;if(a.has(e))return;a.add(e);const t=this.getLetReferences();this.checkConstants();if(n.types.isFunction(this.parent)||n.types.isProgram(this.block)){this.updateScopeInfo();return}if(!this.hasLetReferences)return;if(t){this.wrapClosure()}else{this.remap()}this.updateScopeInfo(t);if(this.loopLabel&&!n.types.isLabeledStatement(this.loopParent)){return n.types.labeledStatement(this.loopLabel,this.loop)}}checkConstants(){const e=this.scope;const t=this.state;for(const s of Object.keys(e.bindings)){const r=e.bindings[s];if(r.kind!=="const")continue;for(const e of r.constantViolations){const r=t.addHelper("readOnlyError");const i=n.types.callExpression(r,[n.types.stringLiteral(s)]);if(e.isAssignmentExpression()){const{operator:t}=e.node;if(t==="="){e.replaceWith(n.types.sequenceExpression([e.get("right").node,i]))}else if(["&&=","||=","??="].includes(t)){e.replaceWith(n.types.logicalExpression(t.slice(0,-1),e.get("left").node,n.types.sequenceExpression([e.get("right").node,i])))}else{e.replaceWith(n.types.sequenceExpression([n.types.binaryExpression(t.slice(0,-1),e.get("left").node,e.get("right").node),i]))}}else if(e.isUpdateExpression()){e.replaceWith(n.types.sequenceExpression([n.types.unaryExpression("+",e.get("argument").node),i]))}else if(e.isForXStatement()){e.ensureBlock();e.get("left").replaceWith(n.types.variableDeclaration("var",[n.types.variableDeclarator(e.scope.generateUidIdentifier(s))]));e.node.body.body.unshift(n.types.expressionStatement(i))}}}}updateScopeInfo(e){const t=this.blockPath.scope;const s=t.getFunctionParent()||t.getProgramParent();const r=this.letReferences;for(const i of r.keys()){const n=r.get(i);const a=t.getBinding(n.name);if(!a)continue;if(a.kind==="let"||a.kind==="const"){a.kind="var";if(e){if(t.hasOwnBinding(n.name)){t.removeBinding(n.name)}}else{t.moveBindingTo(n.name,s)}}}}remap(){const e=this.letReferences;const t=this.outsideLetReferences;const s=this.scope;const r=this.blockPath.scope;for(const t of e.keys()){const i=e.get(t);if(s.parentHasBinding(t)||s.hasGlobal(t)){const e=s.getOwnBinding(t);if(e){const r=s.parent.getOwnBinding(t);if(e.kind==="hoisted"&&!e.path.node.async&&!e.path.node.generator&&(!r||isVar(r.path.parent))&&!isStrict(e.path.parentPath)){continue}s.rename(i.name)}if(r.hasOwnBinding(t)){r.rename(i.name)}}}for(const s of t.keys()){const t=e.get(s);if(isInLoop(this.blockPath)&&r.hasOwnBinding(s)){r.rename(t.name)}}}wrapClosure(){if(this.throwIfClosureRequired){throw this.blockPath.buildCodeFrameError("Compiling let/const in this block would add a closure "+"(throwIfClosureRequired).")}const e=this.block;const t=this.outsideLetReferences;if(this.loop){for(const e of Array.from(t.keys())){const s=t.get(e);if(this.scope.hasGlobal(s.name)||this.scope.parentHasBinding(s.name)){t.delete(s.name);this.letReferences.delete(s.name);this.scope.rename(s.name);this.letReferences.set(s.name,s);t.set(s.name,s)}}}this.has=this.checkLoop();this.hoistVarDeclarations();const s=Array.from(t.values(),e=>n.types.cloneNode(e));const r=s.map(e=>n.types.cloneNode(e));const i=this.blockPath.isSwitchStatement();const a=n.types.functionExpression(null,r,n.types.blockStatement(i?[e]:e.body));this.addContinuations(a);let o=n.types.callExpression(n.types.nullLiteral(),s);let l=".callee";const c=n.traverse.hasType(a.body,"YieldExpression",n.types.FUNCTION_TYPES);if(c){a.generator=true;o=n.types.yieldExpression(o,true);l=".argument"+l}const p=n.traverse.hasType(a.body,"AwaitExpression",n.types.FUNCTION_TYPES);if(p){a.async=true;o=n.types.awaitExpression(o);l=".argument"+l}let u;let h;if(this.has.hasReturn||this.has.hasBreakContinue){const e=this.scope.generateUid("ret");this.body.push(n.types.variableDeclaration("var",[n.types.variableDeclarator(n.types.identifier(e),o)]));u="declarations.0.init"+l;h=this.body.length-1;this.buildHas(e)}else{this.body.push(n.types.expressionStatement(o));u="expression"+l;h=this.body.length-1}let f;if(i){const{parentPath:e,listKey:t,key:s}=this.blockPath;this.blockPath.replaceWithMultiple(this.body);f=e.get(t)[s+h]}else{e.body=this.body;f=this.blockPath.get("body")[h]}const d=f.get(u);let y;if(this.loop){const e=this.scope.generateUid("loop");const t=this.loopPath.insertBefore(n.types.variableDeclaration("var",[n.types.variableDeclarator(n.types.identifier(e),a)]));d.replaceWith(n.types.identifier(e));y=t[0].get("declarations.0.init")}else{d.replaceWith(a);y=d}y.unwrapFunctionEnvironment()}addContinuations(e){const t={reassignments:{},returnStatements:[],outsideReferences:this.outsideLetReferences};this.scope.traverse(e,f,t);for(let s=0;s{e.insertBefore(n.types.expressionStatement(n.types.assignmentExpression("=",n.types.identifier(i),n.types.identifier(a))))});e.body.body.push(n.types.expressionStatement(n.types.assignmentExpression("=",n.types.identifier(i),n.types.identifier(a))))}}getLetReferences(){const e=this.block;const t=[];if(this.loop){const e=this.loop.left||this.loop.init;if(isBlockScoped(e)){t.push(e);const s=n.types.getBindingIdentifiers(e);for(const e of Object.keys(s)){this.outsideLetReferences.set(e,s[e])}}}const s=(r,i)=>{i=i||r.node;if(n.types.isClassDeclaration(i)||n.types.isFunctionDeclaration(i)||isBlockScoped(i)){if(isBlockScoped(i)){convertBlockScopedToVar(r,i,e,this.scope)}if(i.declarations){for(let e=0;ethis.state.addHelper(e)};if(isInLoop(this.blockPath)){r.loopDepth++}this.blockPath.traverse(c,r);return r.closurify}checkLoop(){const e={hasBreakContinue:false,ignoreLabeless:false,inSwitchCase:false,innerLabels:[],hasReturn:false,isLoop:!!this.loop,map:{},LOOP_IGNORE:Symbol()};this.blockPath.traverse(h,e);this.blockPath.traverse(d,e);return e}hoistVarDeclarations(){this.blockPath.traverse(u,this)}pushDeclar(e){const t=[];const s=n.types.getBindingIdentifiers(e);for(const e of Object.keys(s)){t.push(n.types.variableDeclarator(s[e]))}this.body.push(n.types.variableDeclaration(e.kind,t));const r=[];for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.visitor=void 0;var r=s(85850);function getTDZStatus(e,t){const s=t._guessExecutionStatusRelativeTo(e);if(s==="before"){return"outside"}else if(s==="after"){return"inside"}else{return"maybe"}}function buildTDZAssert(e,t){return r.types.callExpression(t.addHelper("temporalRef"),[e,r.types.stringLiteral(e.name)])}function isReference(e,t,s){const r=s.letReferences.get(e.name);if(!r)return false;return t.getBindingIdentifier(e.name)===r}const i=new WeakSet;const n={ReferencedIdentifier(e,t){if(!t.tdzEnabled)return;const{node:s,parent:n,scope:a}=e;if(e.parentPath.isFor({left:s}))return;if(!isReference(s,a,t))return;const o=a.getBinding(s.name).path;if(o.isFunctionDeclaration())return;const l=getTDZStatus(e,o);if(l==="outside")return;if(l==="maybe"){if(i.has(s)){return}i.add(s);const a=buildTDZAssert(s,t);o.parent._tdzThis=true;if(e.parentPath.isUpdateExpression()){if(n._ignoreBlockScopingTDZ)return;e.parentPath.replaceWith(r.types.sequenceExpression([a,n]))}else{e.replaceWith(a)}}else if(l==="inside"){e.replaceWith(r.template.ast`${t.addHelper("tdz")}("${s.name}")`)}},AssignmentExpression:{exit(e,t){if(!t.tdzEnabled)return;const{node:s}=e;if(s._ignoreBlockScopingTDZ)return;const i=[];const n=e.getBindingIdentifiers();for(const s of Object.keys(n)){const r=n[s];if(isReference(r,e.scope,t)){i.push(r)}}if(i.length){s._ignoreBlockScopingTDZ=true;i.push(s);e.replaceWithMultiple(i.map(e=>r.types.expressionStatement(e)))}}}};t.visitor=n},31637:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},13798:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(136);var i=s(85850);var n=(0,r.declare)((e,t)=>{var s;e.assertVersion(7);const r=(s=e.assumption("setComputedProperties"))!=null?s:t.loose;const n=r?pushComputedPropsLoose:pushComputedPropsSpec;const a=(0,i.template)(`\n MUTATOR_MAP_REF[KEY] = MUTATOR_MAP_REF[KEY] || {};\n MUTATOR_MAP_REF[KEY].KIND = VALUE;\n `);function getValue(e){if(i.types.isObjectProperty(e)){return e.value}else if(i.types.isObjectMethod(e)){return i.types.functionExpression(null,e.params,e.body,e.generator,e.async)}}function pushAssign(e,t,s){if(t.kind==="get"&&t.kind==="set"){pushMutatorDefine(e,t,s)}else{s.push(i.types.expressionStatement(i.types.assignmentExpression("=",i.types.memberExpression(i.types.cloneNode(e),t.key,t.computed||i.types.isLiteral(t.key)),getValue(t))))}}function pushMutatorDefine({body:e,getMutatorId:t,scope:s},r){let n=!r.computed&&i.types.isIdentifier(r.key)?i.types.stringLiteral(r.key.name):r.key;const o=s.maybeGenerateMemoised(n);if(o){e.push(i.types.expressionStatement(i.types.assignmentExpression("=",o,n)));n=o}e.push(...a({MUTATOR_MAP_REF:t(),KEY:i.types.cloneNode(n),VALUE:getValue(r),KIND:i.types.identifier(r.kind)}))}function pushComputedPropsLoose(e){for(const t of e.computedProps){if(t.kind==="get"||t.kind==="set"){pushMutatorDefine(e,t)}else{pushAssign(i.types.cloneNode(e.objId),t,e.body)}}}function pushComputedPropsSpec(e){const{objId:t,body:s,computedProps:r,state:n}=e;for(const a of r){const o=i.types.toComputedKey(a);if(a.kind==="get"||a.kind==="set"){pushMutatorDefine(e,a)}else{if(r.length===1){return i.types.callExpression(n.addHelper("defineProperty"),[e.initPropExpression,o,getValue(a)])}else{s.push(i.types.expressionStatement(i.types.callExpression(n.addHelper("defineProperty"),[i.types.cloneNode(t),o,getValue(a)])))}}}}return{name:"transform-computed-properties",visitor:{ObjectExpression:{exit(e,t){const{node:s,parent:r,scope:a}=e;let o=false;for(const e of s.properties){o=e.computed===true;if(o)break}if(!o)return;const l=[];const c=[];let p=false;for(const e of s.properties){if(e.computed){p=true}if(p){c.push(e)}else{l.push(e)}}const u=a.generateUidIdentifierBasedOnNode(r);const h=i.types.objectExpression(l);const f=[];f.push(i.types.variableDeclaration("var",[i.types.variableDeclarator(u,h)]));let d;const y=function(){if(!d){d=a.generateUidIdentifier("mutatorMap");f.push(i.types.variableDeclaration("var",[i.types.variableDeclarator(d,i.types.objectExpression([]))]))}return i.types.cloneNode(d)};const m=n({scope:a,objId:u,body:f,computedProps:c,initPropExpression:h,getMutatorId:y,state:t});if(d){f.push(i.types.expressionStatement(i.types.callExpression(t.addHelper("defineEnumerableProperties"),[i.types.cloneNode(u),i.types.cloneNode(d)])))}if(m){e.replaceWith(m)}else{f.push(i.types.expressionStatement(i.types.cloneNode(u)));e.replaceWithMultiple(f)}}}}}});t.default=n},136:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},74058:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(69547);var i=s(85850);function getName(e){if(i.types.isIdentifier(e)){return e.name}return e.value.toString()}var n=(0,r.declare)(e=>{e.assertVersion(7);return{name:"transform-duplicate-keys",visitor:{ObjectExpression(e){const{node:t}=e;const s=t.properties.filter(e=>!i.types.isSpreadElement(e)&&!e.computed);const r=Object.create(null);const n=Object.create(null);const a=Object.create(null);for(const e of s){const t=getName(e.key);let s=false;switch(e.kind){case"get":if(r[t]||n[t]){s=true}n[t]=true;break;case"set":if(r[t]||a[t]){s=true}a[t]=true;break;default:if(r[t]||n[t]||a[t]){s=true}r[t]=true}if(s){e.computed=true;e.key=i.types.stringLiteral(t)}}}}}});t.default=n},69547:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},36195:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(45919);var i=s(58983);var n=s(85850);var a=(0,r.declare)(e=>{e.assertVersion(7);return{name:"transform-exponentiation-operator",visitor:(0,i.default)({operator:"**",build(e,t){return n.types.callExpression(n.types.memberExpression(n.types.identifier("Math"),n.types.identifier("pow")),[e,t])}})}});t.default=a},45919:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},59630:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(1255);var i=s(85850);var n=s(33044);var a=(0,r.declare)((e,t)=>{var s,r,a;e.assertVersion(7);{const{assumeArray:s,allowArrayLike:r,loose:i}=t;if(i===true&&s===true){throw new Error(`The loose and assumeArray options cannot be used together in @babel/plugin-transform-for-of`)}if(s===true&&r===true){throw new Error(`The assumeArray and allowArrayLike options cannot be used together in @babel/plugin-transform-for-of`)}if(r&&/^7\.\d\./.test(e.version)){throw new Error(`The allowArrayLike is only supported when using @babel/core@^7.10.0`)}}const o=(s=t.assumeArray)!=null?s:!t.loose&&e.assumption("iterableIsArray");const l=(r=t.allowArrayLike)!=null?r:e.assumption("arrayLikeIsIterable");const c=(a=e.assumption("skipForOfIteratorClosing"))!=null?a:t.loose;if(o&&l){throw new Error(`The "iterableIsArray" and "arrayLikeIsIterable" assumptions are not compatible.`)}if(o){return{name:"transform-for-of",visitor:{ForOfStatement(e){const{scope:t}=e;const{left:s,right:r,await:n}=e.node;if(n){return}const a=t.generateUidIdentifier("i");let o=t.maybeGenerateMemoised(r,true);const l=[i.types.variableDeclarator(a,i.types.numericLiteral(0))];if(o){l.push(i.types.variableDeclarator(o,r))}else{o=r}const c=i.types.memberExpression(i.types.cloneNode(o),i.types.cloneNode(a),true);let p;if(i.types.isVariableDeclaration(s)){p=s;p.declarations[0].init=c}else{p=i.types.expressionStatement(i.types.assignmentExpression("=",s,c))}let u;const h=e.get("body");if(h.isBlockStatement()&&Object.keys(e.getBindingIdentifiers()).some(e=>h.scope.hasOwnBinding(e))){u=i.types.blockStatement([p,h.node])}else{u=i.types.toBlock(h.node);u.body.unshift(p)}e.replaceWith(i.types.forStatement(i.types.variableDeclaration("let",l),i.types.binaryExpression("<",i.types.cloneNode(a),i.types.memberExpression(i.types.cloneNode(o),i.types.identifier("length"))),i.types.updateExpression("++",i.types.cloneNode(a)),u))}}}}const p=(0,i.template)` for (var KEY = 0, NAME = ARR; KEY < NAME.length; KEY++) BODY; - `;const f=s.template.statements` + `;const u=i.template.statements` for (var ITERATOR_HELPER = CREATE_ITERATOR_HELPER(OBJECT, ARRAY_LIKE_IS_ITERABLE), STEP_KEY; !(STEP_KEY = ITERATOR_HELPER()).done;) BODY; - `;const c=s.template.statements` + `;const h=i.template.statements` var ITERATOR_HELPER = CREATE_ITERATOR_HELPER(OBJECT, ARRAY_LIKE_IS_ITERABLE), STEP_KEY; try { for (ITERATOR_HELPER.s(); !(STEP_KEY = ITERATOR_HELPER.n()).done;) BODY; @@ -1975,34 +1975,34 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } finally { ITERATOR_HELPER.f(); } - `;const d=u?{build:f,helper:"createForOfIteratorHelperLoose",getContainer:e=>e}:{build:c,helper:"createForOfIteratorHelper",getContainer:e=>e[1].block.body};function _ForOfStatementArray(e){const{node:t,scope:r}=e;const n=r.generateUidIdentifierBasedOnNode(t.right,"arr");const i=r.generateUidIdentifier("i");const a=p({BODY:t.body,KEY:i,NAME:n,ARR:t.right});s.types.inherits(a,t);s.types.ensureBlock(a);const o=s.types.memberExpression(s.types.cloneNode(n),s.types.cloneNode(i),true);const l=t.left;if(s.types.isVariableDeclaration(l)){l.declarations[0].init=o;a.body.body.unshift(l)}else{a.body.body.unshift(s.types.expressionStatement(s.types.assignmentExpression("=",l,o)))}return a}return{name:"transform-for-of",visitor:{ForOfStatement(e,t){const r=e.get("right");if(r.isArrayExpression()||r.isGenericType("Array")||s.types.isArrayTypeAnnotation(r.getTypeAnnotation())){e.replaceWith(_ForOfStatementArray(e));return}if(!t.availableHelper(d.helper)){(0,i.default)(u,e,t);return}const{node:n,parent:a,scope:o}=e;const p=n.left;let f;const c=o.generateUid("step");const y=s.types.memberExpression(s.types.identifier(c),s.types.identifier("value"));if(s.types.isVariableDeclaration(p)){f=s.types.variableDeclaration(p.kind,[s.types.variableDeclarator(p.declarations[0].id,y)])}else{f=s.types.expressionStatement(s.types.assignmentExpression("=",p,y))}e.ensureBlock();n.body.body.unshift(f);const m=d.build({CREATE_ITERATOR_HELPER:t.addHelper(d.helper),ITERATOR_HELPER:o.generateUidIdentifier("iterator"),ARRAY_LIKE_IS_ITERABLE:l?s.types.booleanLiteral(true):null,STEP_KEY:s.types.identifier(c),OBJECT:n.right,BODY:n.body});const T=d.getContainer(m);s.types.inherits(T[0],n);s.types.inherits(T[0].body,n.body);if(s.types.isLabeledStatement(a)){T[0]=s.types.labeledStatement(a.label,T[0]);e.parentPath.replaceWithMultiple(m);e.skip()}else{e.replaceWithMultiple(m)}}}}});t.default=a},33044:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=transformWithoutHelper;var n=r(85850);function transformWithoutHelper(e,t,r){const s=e?pushComputedPropsLoose:pushComputedPropsSpec;const{node:i}=t;const a=s(t,r);const o=a.declar;const l=a.loop;const u=l.body;t.ensureBlock();if(o){u.body.push(o)}u.body=u.body.concat(i.body.body);n.types.inherits(l,i);n.types.inherits(l.body,i.body);if(a.replaceParent){t.parentPath.replaceWithMultiple(a.node);t.remove()}else{t.replaceWithMultiple(a.node)}}const s=(0,n.template)(`\n for (var LOOP_OBJECT = OBJECT,\n IS_ARRAY = Array.isArray(LOOP_OBJECT),\n INDEX = 0,\n LOOP_OBJECT = IS_ARRAY ? LOOP_OBJECT : LOOP_OBJECT[Symbol.iterator]();;) {\n INTERMEDIATE;\n if (IS_ARRAY) {\n if (INDEX >= LOOP_OBJECT.length) break;\n ID = LOOP_OBJECT[INDEX++];\n } else {\n INDEX = LOOP_OBJECT.next();\n if (INDEX.done) break;\n ID = INDEX.value;\n }\n }\n`);const i=(0,n.template)(`\n var ITERATOR_COMPLETION = true;\n var ITERATOR_HAD_ERROR_KEY = false;\n var ITERATOR_ERROR_KEY = undefined;\n try {\n for (\n var ITERATOR_KEY = OBJECT[Symbol.iterator](), STEP_KEY;\n !(ITERATOR_COMPLETION = (STEP_KEY = ITERATOR_KEY.next()).done);\n ITERATOR_COMPLETION = true\n ) {}\n } catch (err) {\n ITERATOR_HAD_ERROR_KEY = true;\n ITERATOR_ERROR_KEY = err;\n } finally {\n try {\n if (!ITERATOR_COMPLETION && ITERATOR_KEY.return != null) {\n ITERATOR_KEY.return();\n }\n } finally {\n if (ITERATOR_HAD_ERROR_KEY) {\n throw ITERATOR_ERROR_KEY;\n }\n }\n }\n`);function pushComputedPropsLoose(e,t){const{node:r,scope:i,parent:a}=e;const{left:o}=r;let l,u,p;if(n.types.isIdentifier(o)||n.types.isPattern(o)||n.types.isMemberExpression(o)){u=o;p=null}else if(n.types.isVariableDeclaration(o)){u=i.generateUidIdentifier("ref");l=n.types.variableDeclaration(o.kind,[n.types.variableDeclarator(o.declarations[0].id,n.types.identifier(u.name))]);p=n.types.variableDeclaration("var",[n.types.variableDeclarator(n.types.identifier(u.name))])}else{throw t.buildCodeFrameError(o,`Unknown node type ${o.type} in ForStatement`)}const f=i.generateUidIdentifier("iterator");const c=i.generateUidIdentifier("isArray");const d=s({LOOP_OBJECT:f,IS_ARRAY:c,OBJECT:r.right,INDEX:i.generateUidIdentifier("i"),ID:u,INTERMEDIATE:p});const y=n.types.isLabeledStatement(a);let m;if(y){m=n.types.labeledStatement(a.label,d)}return{replaceParent:y,declar:l,node:m||d,loop:d}}function pushComputedPropsSpec(e,t){const{node:r,scope:s,parent:a}=e;const o=r.left;let l;const u=s.generateUid("step");const p=n.types.memberExpression(n.types.identifier(u),n.types.identifier("value"));if(n.types.isIdentifier(o)||n.types.isPattern(o)||n.types.isMemberExpression(o)){l=n.types.expressionStatement(n.types.assignmentExpression("=",o,p))}else if(n.types.isVariableDeclaration(o)){l=n.types.variableDeclaration(o.kind,[n.types.variableDeclarator(o.declarations[0].id,p)])}else{throw t.buildCodeFrameError(o,`Unknown node type ${o.type} in ForStatement`)}const f=i({ITERATOR_HAD_ERROR_KEY:s.generateUidIdentifier("didIteratorError"),ITERATOR_COMPLETION:s.generateUidIdentifier("iteratorNormalCompletion"),ITERATOR_ERROR_KEY:s.generateUidIdentifier("iteratorError"),ITERATOR_KEY:s.generateUidIdentifier("iterator"),STEP_KEY:n.types.identifier(u),OBJECT:r.right});const c=n.types.isLabeledStatement(a);const d=f[3].block.body;const y=d[0];if(c){d[0]=n.types.labeledStatement(a.label,y)}return{replaceParent:c,declar:l,loop:y,node:f}}},1255:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},46642:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(63995);var s=r(98733);var i=(0,n.declare)(e=>{e.assertVersion(7);return{name:"transform-function-name",visitor:{FunctionExpression:{exit(e){if(e.key!=="value"&&!e.parentPath.isObjectProperty()){const t=(0,s.default)(e);if(t)e.replaceWith(t)}}},ObjectProperty(e){const t=e.get("value");if(t.isFunction()){const e=(0,s.default)(t);if(e)t.replaceWith(e)}}}}});t.default=i},63995:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},5718:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(71202);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"transform-literals",visitor:{NumericLiteral({node:e}){if(e.extra&&/^0[ob]/i.test(e.extra.raw)){e.extra=undefined}},StringLiteral({node:e}){if(e.extra&&/\\[u]/gi.test(e.extra.raw)){e.extra=undefined}}}}});t.default=s},71202:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},59153:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(79673);var s=r(85850);var i=(0,n.declare)(e=>{e.assertVersion(7);return{name:"transform-member-expression-literals",visitor:{MemberExpression:{exit({node:e}){const t=e.property;if(!e.computed&&s.types.isIdentifier(t)&&!s.types.isValidES3Identifier(t.name)){e.property=s.types.stringLiteral(t.name);e.computed=true}}}}}});t.default=i},79673:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},50933:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(22573);var s=r(13574);var i=r(85850);var a=r(42604);const o=(0,i.template)(`\n define(MODULE_NAME, AMD_ARGUMENTS, function(IMPORT_NAMES) {\n })\n`);const l=(0,i.template)(`\n define(["require"], function(REQUIRE) {\n })\n`);function injectWrapper(e,t){const{body:r,directives:n}=e.node;e.node.directives=[];e.node.body=[];const s=e.pushContainer("body",t)[0];const i=s.get("expression.arguments").filter(e=>e.isFunctionExpression())[0].get("body");i.pushContainer("directives",n);i.pushContainer("body",r)}var u=(0,n.declare)((e,t)=>{var r,n;e.assertVersion(7);const{allowTopLevelThis:u,strict:p,strictMode:f,importInterop:c,noInterop:d}=t;const y=(r=e.assumption("constantReexports"))!=null?r:t.loose;const m=(n=e.assumption("enumerableModuleMeta"))!=null?n:t.loose;return{name:"transform-modules-amd",pre(){this.file.set("@babel/plugin-transform-modules-*","amd")},visitor:{CallExpression(e,t){if(!this.file.has("@babel/plugin-proposal-dynamic-import"))return;if(!e.get("callee").isImport())return;let{requireId:r,resolveId:n,rejectId:o}=t;if(!r){r=e.scope.generateUidIdentifier("require");t.requireId=r}if(!n||!o){n=e.scope.generateUidIdentifier("resolve");o=e.scope.generateUidIdentifier("reject");t.resolveId=n;t.rejectId=o}let l=i.types.identifier("imported");if(!d)l=(0,s.wrapInterop)(e,l,"namespace");e.replaceWith(i.template.expression.ast` - new Promise((${n}, ${o}) => - ${r}( - [${(0,a.getImportSource)(i.types,e.node)}], - imported => ${i.types.cloneNode(n)}(${l}), - ${i.types.cloneNode(o)} + `;const f=c?{build:u,helper:"createForOfIteratorHelperLoose",getContainer:e=>e}:{build:h,helper:"createForOfIteratorHelper",getContainer:e=>e[1].block.body};function _ForOfStatementArray(e){const{node:t,scope:s}=e;const r=s.generateUidIdentifierBasedOnNode(t.right,"arr");const n=s.generateUidIdentifier("i");const a=p({BODY:t.body,KEY:n,NAME:r,ARR:t.right});i.types.inherits(a,t);i.types.ensureBlock(a);const o=i.types.memberExpression(i.types.cloneNode(r),i.types.cloneNode(n),true);const l=t.left;if(i.types.isVariableDeclaration(l)){l.declarations[0].init=o;a.body.body.unshift(l)}else{a.body.body.unshift(i.types.expressionStatement(i.types.assignmentExpression("=",l,o)))}return a}return{name:"transform-for-of",visitor:{ForOfStatement(e,t){const s=e.get("right");if(s.isArrayExpression()||s.isGenericType("Array")||i.types.isArrayTypeAnnotation(s.getTypeAnnotation())){e.replaceWith(_ForOfStatementArray(e));return}if(!t.availableHelper(f.helper)){(0,n.default)(c,e,t);return}const{node:r,parent:a,scope:o}=e;const p=r.left;let u;const h=o.generateUid("step");const d=i.types.memberExpression(i.types.identifier(h),i.types.identifier("value"));if(i.types.isVariableDeclaration(p)){u=i.types.variableDeclaration(p.kind,[i.types.variableDeclarator(p.declarations[0].id,d)])}else{u=i.types.expressionStatement(i.types.assignmentExpression("=",p,d))}e.ensureBlock();r.body.body.unshift(u);const y=f.build({CREATE_ITERATOR_HELPER:t.addHelper(f.helper),ITERATOR_HELPER:o.generateUidIdentifier("iterator"),ARRAY_LIKE_IS_ITERABLE:l?i.types.booleanLiteral(true):null,STEP_KEY:i.types.identifier(h),OBJECT:r.right,BODY:r.body});const m=f.getContainer(y);i.types.inherits(m[0],r);i.types.inherits(m[0].body,r.body);if(i.types.isLabeledStatement(a)){m[0]=i.types.labeledStatement(a.label,m[0]);e.parentPath.replaceWithMultiple(y);e.skip()}else{e.replaceWithMultiple(y)}}}}});t.default=a},33044:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=transformWithoutHelper;var r=s(85850);function transformWithoutHelper(e,t,s){const i=e?pushComputedPropsLoose:pushComputedPropsSpec;const{node:n}=t;const a=i(t,s);const o=a.declar;const l=a.loop;const c=l.body;t.ensureBlock();if(o){c.body.push(o)}c.body=c.body.concat(n.body.body);r.types.inherits(l,n);r.types.inherits(l.body,n.body);if(a.replaceParent){t.parentPath.replaceWithMultiple(a.node);t.remove()}else{t.replaceWithMultiple(a.node)}}const i=(0,r.template)(`\n for (var LOOP_OBJECT = OBJECT,\n IS_ARRAY = Array.isArray(LOOP_OBJECT),\n INDEX = 0,\n LOOP_OBJECT = IS_ARRAY ? LOOP_OBJECT : LOOP_OBJECT[Symbol.iterator]();;) {\n INTERMEDIATE;\n if (IS_ARRAY) {\n if (INDEX >= LOOP_OBJECT.length) break;\n ID = LOOP_OBJECT[INDEX++];\n } else {\n INDEX = LOOP_OBJECT.next();\n if (INDEX.done) break;\n ID = INDEX.value;\n }\n }\n`);const n=(0,r.template)(`\n var ITERATOR_COMPLETION = true;\n var ITERATOR_HAD_ERROR_KEY = false;\n var ITERATOR_ERROR_KEY = undefined;\n try {\n for (\n var ITERATOR_KEY = OBJECT[Symbol.iterator](), STEP_KEY;\n !(ITERATOR_COMPLETION = (STEP_KEY = ITERATOR_KEY.next()).done);\n ITERATOR_COMPLETION = true\n ) {}\n } catch (err) {\n ITERATOR_HAD_ERROR_KEY = true;\n ITERATOR_ERROR_KEY = err;\n } finally {\n try {\n if (!ITERATOR_COMPLETION && ITERATOR_KEY.return != null) {\n ITERATOR_KEY.return();\n }\n } finally {\n if (ITERATOR_HAD_ERROR_KEY) {\n throw ITERATOR_ERROR_KEY;\n }\n }\n }\n`);function pushComputedPropsLoose(e,t){const{node:s,scope:n,parent:a}=e;const{left:o}=s;let l,c,p;if(r.types.isIdentifier(o)||r.types.isPattern(o)||r.types.isMemberExpression(o)){c=o;p=null}else if(r.types.isVariableDeclaration(o)){c=n.generateUidIdentifier("ref");l=r.types.variableDeclaration(o.kind,[r.types.variableDeclarator(o.declarations[0].id,r.types.identifier(c.name))]);p=r.types.variableDeclaration("var",[r.types.variableDeclarator(r.types.identifier(c.name))])}else{throw t.buildCodeFrameError(o,`Unknown node type ${o.type} in ForStatement`)}const u=n.generateUidIdentifier("iterator");const h=n.generateUidIdentifier("isArray");const f=i({LOOP_OBJECT:u,IS_ARRAY:h,OBJECT:s.right,INDEX:n.generateUidIdentifier("i"),ID:c,INTERMEDIATE:p});const d=r.types.isLabeledStatement(a);let y;if(d){y=r.types.labeledStatement(a.label,f)}return{replaceParent:d,declar:l,node:y||f,loop:f}}function pushComputedPropsSpec(e,t){const{node:s,scope:i,parent:a}=e;const o=s.left;let l;const c=i.generateUid("step");const p=r.types.memberExpression(r.types.identifier(c),r.types.identifier("value"));if(r.types.isIdentifier(o)||r.types.isPattern(o)||r.types.isMemberExpression(o)){l=r.types.expressionStatement(r.types.assignmentExpression("=",o,p))}else if(r.types.isVariableDeclaration(o)){l=r.types.variableDeclaration(o.kind,[r.types.variableDeclarator(o.declarations[0].id,p)])}else{throw t.buildCodeFrameError(o,`Unknown node type ${o.type} in ForStatement`)}const u=n({ITERATOR_HAD_ERROR_KEY:i.generateUidIdentifier("didIteratorError"),ITERATOR_COMPLETION:i.generateUidIdentifier("iteratorNormalCompletion"),ITERATOR_ERROR_KEY:i.generateUidIdentifier("iteratorError"),ITERATOR_KEY:i.generateUidIdentifier("iterator"),STEP_KEY:r.types.identifier(c),OBJECT:s.right});const h=r.types.isLabeledStatement(a);const f=u[3].block.body;const d=f[0];if(h){f[0]=r.types.labeledStatement(a.label,d)}return{replaceParent:h,declar:l,loop:d,node:u}}},1255:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},46642:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(63995);var i=s(98733);var n=(0,r.declare)(e=>{e.assertVersion(7);return{name:"transform-function-name",visitor:{FunctionExpression:{exit(e){if(e.key!=="value"&&!e.parentPath.isObjectProperty()){const t=(0,i.default)(e);if(t)e.replaceWith(t)}}},ObjectProperty(e){const t=e.get("value");if(t.isFunction()){const e=(0,i.default)(t);if(e)t.replaceWith(e)}}}}});t.default=n},63995:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},5718:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(71202);var i=(0,r.declare)(e=>{e.assertVersion(7);return{name:"transform-literals",visitor:{NumericLiteral({node:e}){if(e.extra&&/^0[ob]/i.test(e.extra.raw)){e.extra=undefined}},StringLiteral({node:e}){if(e.extra&&/\\[u]/gi.test(e.extra.raw)){e.extra=undefined}}}}});t.default=i},71202:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},59153:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(79673);var i=s(85850);var n=(0,r.declare)(e=>{e.assertVersion(7);return{name:"transform-member-expression-literals",visitor:{MemberExpression:{exit({node:e}){const t=e.property;if(!e.computed&&i.types.isIdentifier(t)&&!i.types.isValidES3Identifier(t.name)){e.property=i.types.stringLiteral(t.name);e.computed=true}}}}}});t.default=n},79673:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},50933:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(22573);var i=s(13574);var n=s(85850);var a=s(42604);const o=(0,n.template)(`\n define(MODULE_NAME, AMD_ARGUMENTS, function(IMPORT_NAMES) {\n })\n`);const l=(0,n.template)(`\n define(["require"], function(REQUIRE) {\n })\n`);function injectWrapper(e,t){const{body:s,directives:r}=e.node;e.node.directives=[];e.node.body=[];const i=e.pushContainer("body",t)[0];const n=i.get("expression.arguments").filter(e=>e.isFunctionExpression())[0].get("body");n.pushContainer("directives",r);n.pushContainer("body",s)}var c=(0,r.declare)((e,t)=>{var s,r;e.assertVersion(7);const{allowTopLevelThis:c,strict:p,strictMode:u,importInterop:h,noInterop:f}=t;const d=(s=e.assumption("constantReexports"))!=null?s:t.loose;const y=(r=e.assumption("enumerableModuleMeta"))!=null?r:t.loose;return{name:"transform-modules-amd",pre(){this.file.set("@babel/plugin-transform-modules-*","amd")},visitor:{CallExpression(e,t){if(!this.file.has("@babel/plugin-proposal-dynamic-import"))return;if(!e.get("callee").isImport())return;let{requireId:s,resolveId:r,rejectId:o}=t;if(!s){s=e.scope.generateUidIdentifier("require");t.requireId=s}if(!r||!o){r=e.scope.generateUidIdentifier("resolve");o=e.scope.generateUidIdentifier("reject");t.resolveId=r;t.rejectId=o}let l=n.types.identifier("imported");if(!f)l=(0,i.wrapInterop)(e,l,"namespace");e.replaceWith(n.template.expression.ast` + new Promise((${r}, ${o}) => + ${s}( + [${(0,a.getImportSource)(n.types,e.node)}], + imported => ${n.types.cloneNode(r)}(${l}), + ${n.types.cloneNode(o)} ) - )`)},Program:{exit(e,{requireId:r}){if(!(0,s.isModule)(e)){if(r){injectWrapper(e,l({REQUIRE:i.types.cloneNode(r)}))}return}const n=[];const a=[];if(r){n.push(i.types.stringLiteral("require"));a.push(i.types.cloneNode(r))}let T=(0,s.getModuleName)(this.file.opts,t);if(T)T=i.types.stringLiteral(T);const{meta:h,headers:S}=(0,s.rewriteModuleStatementsAndPrepareHeader)(e,{enumerableModuleMeta:m,constantReexports:y,strict:p,strictMode:f,allowTopLevelThis:u,importInterop:c,noInterop:d});if((0,s.hasExports)(h)){n.push(i.types.stringLiteral("exports"));a.push(i.types.identifier(h.exportName))}for(const[t,r]of h.source){n.push(i.types.stringLiteral(t));a.push(i.types.identifier(r.name));if(!(0,s.isSideEffectImport)(r)){const t=(0,s.wrapInterop)(e,i.types.identifier(r.name),r.interop);if(t){const e=i.types.expressionStatement(i.types.assignmentExpression("=",i.types.identifier(r.name),t));e.loc=r.loc;S.push(e)}}S.push(...(0,s.buildNamespaceInitStatements)(h,r,y))}(0,s.ensureStatementsHoisted)(S);e.unshiftContainer("body",S);injectWrapper(e,o({MODULE_NAME:T,AMD_ARGUMENTS:i.types.arrayExpression(n),IMPORT_NAMES:a}))}}}}});t.default=u},6509:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var s=r(46103);class ImportBuilder{constructor(e,t,r){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=r;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(s.importDeclaration([],s.stringLiteral(this._importedSource)));return this}require(){this._statements.push(s.expressionStatement(s.callExpression(s.identifier("require"),[s.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[s.importNamespaceSpecifier(t)];this._resultName=s.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];n(t.type==="ImportDeclaration");n(t.specifiers.length===0);t.specifiers=[s.importDefaultSpecifier(e)];this._resultName=s.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[s.importSpecifier(e,s.identifier(t))];this._resultName=s.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){n(this._resultName);t=s.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=s.variableDeclaration("var",[s.variableDeclarator(e,t.expression)]);this._resultName=s.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=s.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=s.callExpression(e,[t.declarations[0].init])}else{n.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=s.memberExpression(t.expression,s.identifier(e))}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=s.memberExpression(t.declarations[0].init,s.identifier(e))}else{n.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=s.memberExpression(this._resultName,s.identifier(e))}}t.default=ImportBuilder},54025:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var s=r(46103);var i=r(6509);var a=r(97091);class ImportInjector{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const n=e.find(e=>e.isProgram());this._programPath=n;this._programScope=n.scope;this._hub=n.hub;this._defaultOpts=this._applyDefaults(t,r,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){n(typeof e==="string");return this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,r=false){const s=[];if(typeof e==="string"){s.push({importedSource:e});s.push(t)}else{n(!t,"Unexpected secondary arguments.");s.push(e)}const i=Object.assign({},this._defaultOpts);for(const e of s){if(!e)continue;Object.keys(i).forEach(t=>{if(e[t]!==undefined)i[t]=e[t]});if(!r){if(e.nameHint!==undefined)i.nameHint=e.nameHint;if(e.blockHoist!==undefined)i.blockHoist=e.blockHoist}}return i}_generateImport(e,t){const r=t==="default";const n=!!t&&!r;const o=t===null;const{importedSource:l,importedType:u,importedInterop:p,importingInterop:f,ensureLiveReference:c,ensureNoContext:d,nameHint:y,importPosition:m,blockHoist:T}=e;let h=y||t;const S=(0,a.default)(this._programPath);const b=S&&f==="node";const E=S&&f==="babel";if(m==="after"&&!S){throw new Error(`"importPosition": "after" is only supported in modules`)}const g=new i.default(l,this._programScope,this._hub);if(u==="es6"){if(!b&&!E){throw new Error("Cannot import an ES6 module from CommonJS")}g.import();if(o){g.namespace(y||l)}else if(r||n){g.named(h,t)}}else if(u!=="commonjs"){throw new Error(`Unexpected interopType "${u}"`)}else if(p==="babel"){if(b){h=h!=="default"?h:l;const e=`${l}$es6Default`;g.import();if(o){g.default(e).var(h||l).wildcardInterop()}else if(r){if(c){g.default(e).var(h||l).defaultInterop().read("default")}else{g.default(e).var(h).defaultInterop().prop(t)}}else if(n){g.default(e).read(t)}}else if(E){g.import();if(o){g.namespace(h||l)}else if(r||n){g.named(h,t)}}else{g.require();if(o){g.var(h||l).wildcardInterop()}else if((r||n)&&c){if(r){h=h!=="default"?h:l;g.var(h).read(t);g.defaultInterop()}else{g.var(l).read(t)}}else if(r){g.var(h).defaultInterop().prop(t)}else if(n){g.var(h).prop(t)}}}else if(p==="compiled"){if(b){g.import();if(o){g.default(h||l)}else if(r||n){g.default(l).read(h)}}else if(E){g.import();if(o){g.namespace(h||l)}else if(r||n){g.named(h,t)}}else{g.require();if(o){g.var(h||l)}else if(r||n){if(c){g.var(l).read(h)}else{g.prop(t).var(h)}}}}else if(p==="uncompiled"){if(r&&c){throw new Error("No live reference for commonjs default")}if(b){g.import();if(o){g.default(h||l)}else if(r){g.default(h)}else if(n){g.default(l).read(h)}}else if(E){g.import();if(o){g.default(h||l)}else if(r){g.default(h)}else if(n){g.named(h,t)}}else{g.require();if(o){g.var(h||l)}else if(r){g.var(h)}else if(n){if(c){g.var(l).read(h)}else{g.var(h).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:P,resultName:x}=g.done();this._insertStatements(P,m,T);if((r||n)&&d&&x.type!=="Identifier"){return s.sequenceExpression([s.numericLiteral(0),x])}return x}_insertStatements(e,t="before",r=3){const n=this._programPath.get("body");if(t==="after"){for(let t=n.length-1;t>=0;t--){if(n[t].isImportDeclaration()){n[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=r});const t=n.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},11050:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return s.default}});var n=r(54025);var s=r(97091);function addDefault(e,t,r){return new n.default(e).addDefault(t,r)}function addNamed(e,t,r,s){return new n.default(e).addNamed(t,r,s)}function addNamespace(e,t,r){return new n.default(e).addNamespace(t,r)}function addSideEffect(e,t,r){return new n.default(e).addSideEffect(t,r)}},97091:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},10033:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getModuleName;{const e=getModuleName;t.default=getModuleName=function getModuleName(t,r){var n,s,i,a;return e(t,{moduleId:(n=r.moduleId)!=null?n:t.moduleId,moduleIds:(s=r.moduleIds)!=null?s:t.moduleIds,getModuleId:(i=r.getModuleId)!=null?i:t.getModuleId,moduleRoot:(a=r.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:r,filenameRelative:n=r,sourceRoot:s=t.moduleRoot}=e;const{moduleId:i,moduleIds:a=!!i,getModuleId:o,moduleRoot:l=s}=t;if(!a)return null;if(i!=null&&!o){return i}let u=l!=null?l+"/":"";if(n){const e=s!=null?new RegExp("^"+s+"/?"):"";u+=n.replace(e,"").replace(/\.(\w*?)$/,"")}u=u.replace(/\\/g,"/");if(o){return o(u)||u}else{return u}}},13574:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;t.ensureStatementsHoisted=ensureStatementsHoisted;t.wrapInterop=wrapInterop;t.buildNamespaceInitStatements=buildNamespaceInitStatements;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.isModule}});Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return u.hasExports}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return u.isSideEffectImport}});Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});var n=r(42357);var s=r(46103);var i=r(36900);var a=r(11050);var o=r(10714);var l=r(38945);var u=r(79930);var p=r(10033);function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:r,strict:i,allowTopLevelThis:p,strictMode:f,noInterop:c,importInterop:d=(c?"none":"babel"),lazy:y,esNamespaceOnly:m,constantReexports:T=t,enumerableModuleMeta:h=t}){(0,u.validateImportInteropOption)(d);n((0,a.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const S=(0,u.default)(e,r,{importInterop:d,initializeReexports:T,lazy:y,esNamespaceOnly:m});if(!p){(0,o.default)(e)}(0,l.default)(e,S);if(f!==false){const t=e.node.directives.some(e=>{return e.value.value==="use strict"});if(!t){e.unshiftContainer("directives",s.directive(s.directiveLiteral("use strict")))}}const b=[];if((0,u.hasExports)(S)&&!i){b.push(buildESModuleHeader(S,h))}const E=buildExportNameListDeclaration(e,S);if(E){S.exportNameListName=E.name;b.push(E.statement)}b.push(...buildExportInitializationStatements(e,S,T));return{meta:S,headers:b}}function ensureStatementsHoisted(e){e.forEach(e=>{e._blockHoist=3})}function wrapInterop(e,t,r){if(r==="none"){return null}if(r==="node-namespace"){return s.callExpression(e.hub.addHelper("interopRequireWildcard"),[t,s.booleanLiteral(true)])}else if(r==="node-default"){return null}let n;if(r==="default"){n="interopRequireDefault"}else if(r==="namespace"){n="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${r}`)}return s.callExpression(e.hub.addHelper(n),[t])}function buildNamespaceInitStatements(e,t,r=false){const n=[];let a=s.identifier(t.name);if(t.lazy)a=s.callExpression(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;n.push(i.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:s.cloneNode(a)}))}if(r){n.push(...c(e,t,true))}for(const r of t.reexportNamespace){n.push((t.lazy?i.default.statement` + )`)},Program:{exit(e,{requireId:s}){if(!(0,i.isModule)(e)){if(s){injectWrapper(e,l({REQUIRE:n.types.cloneNode(s)}))}return}const r=[];const a=[];if(s){r.push(n.types.stringLiteral("require"));a.push(n.types.cloneNode(s))}let m=(0,i.getModuleName)(this.file.opts,t);if(m)m=n.types.stringLiteral(m);const{meta:g,headers:b}=(0,i.rewriteModuleStatementsAndPrepareHeader)(e,{enumerableModuleMeta:y,constantReexports:d,strict:p,strictMode:u,allowTopLevelThis:c,importInterop:h,noInterop:f});if((0,i.hasExports)(g)){r.push(n.types.stringLiteral("exports"));a.push(n.types.identifier(g.exportName))}for(const[t,s]of g.source){r.push(n.types.stringLiteral(t));a.push(n.types.identifier(s.name));if(!(0,i.isSideEffectImport)(s)){const t=(0,i.wrapInterop)(e,n.types.identifier(s.name),s.interop);if(t){const e=n.types.expressionStatement(n.types.assignmentExpression("=",n.types.identifier(s.name),t));e.loc=s.loc;b.push(e)}}b.push(...(0,i.buildNamespaceInitStatements)(g,s,d))}(0,i.ensureStatementsHoisted)(b);e.unshiftContainer("body",b);injectWrapper(e,o({MODULE_NAME:m,AMD_ARGUMENTS:n.types.arrayExpression(r),IMPORT_NAMES:a}))}}}}});t.default=c},6509:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(42357);var i=s(19761);class ImportBuilder{constructor(e,t,s){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=s;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(i.importDeclaration([],i.stringLiteral(this._importedSource)));return this}require(){this._statements.push(i.expressionStatement(i.callExpression(i.identifier("require"),[i.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const s=this._statements[this._statements.length-1];r(s.type==="ImportDeclaration");r(s.specifiers.length===0);s.specifiers=[i.importNamespaceSpecifier(t)];this._resultName=i.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];r(t.type==="ImportDeclaration");r(t.specifiers.length===0);t.specifiers=[i.importDefaultSpecifier(e)];this._resultName=i.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const s=this._statements[this._statements.length-1];r(s.type==="ImportDeclaration");r(s.specifiers.length===0);s.specifiers=[i.importSpecifier(e,i.identifier(t))];this._resultName=i.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){r(this._resultName);t=i.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=i.variableDeclaration("var",[i.variableDeclarator(e,t.expression)]);this._resultName=i.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){r(t.declarations.length===1);t.declarations[0].init=i.callExpression(e,[t.declarations[0].init])}else{r.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.memberExpression(t.expression,i.identifier(e))}else if(t.type==="VariableDeclaration"){r(t.declarations.length===1);t.declarations[0].init=i.memberExpression(t.declarations[0].init,i.identifier(e))}else{r.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=i.memberExpression(this._resultName,i.identifier(e))}}t.default=ImportBuilder},54025:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(42357);var i=s(19761);var n=s(6509);var a=s(97091);class ImportInjector{constructor(e,t,s){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const r=e.find(e=>e.isProgram());this._programPath=r;this._programScope=r.scope;this._hub=r.hub;this._defaultOpts=this._applyDefaults(t,s,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,s){r(typeof e==="string");return this._generateImport(this._applyDefaults(t,s),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,s=false){const i=[];if(typeof e==="string"){i.push({importedSource:e});i.push(t)}else{r(!t,"Unexpected secondary arguments.");i.push(e)}const n=Object.assign({},this._defaultOpts);for(const e of i){if(!e)continue;Object.keys(n).forEach(t=>{if(e[t]!==undefined)n[t]=e[t]});if(!s){if(e.nameHint!==undefined)n.nameHint=e.nameHint;if(e.blockHoist!==undefined)n.blockHoist=e.blockHoist}}return n}_generateImport(e,t){const s=t==="default";const r=!!t&&!s;const o=t===null;const{importedSource:l,importedType:c,importedInterop:p,importingInterop:u,ensureLiveReference:h,ensureNoContext:f,nameHint:d,importPosition:y,blockHoist:m}=e;let g=d||t;const b=(0,a.default)(this._programPath);const x=b&&u==="node";const v=b&&u==="babel";if(y==="after"&&!b){throw new Error(`"importPosition": "after" is only supported in modules`)}const w=new n.default(l,this._programScope,this._hub);if(c==="es6"){if(!x&&!v){throw new Error("Cannot import an ES6 module from CommonJS")}w.import();if(o){w.namespace(d||l)}else if(s||r){w.named(g,t)}}else if(c!=="commonjs"){throw new Error(`Unexpected interopType "${c}"`)}else if(p==="babel"){if(x){g=g!=="default"?g:l;const e=`${l}$es6Default`;w.import();if(o){w.default(e).var(g||l).wildcardInterop()}else if(s){if(h){w.default(e).var(g||l).defaultInterop().read("default")}else{w.default(e).var(g).defaultInterop().prop(t)}}else if(r){w.default(e).read(t)}}else if(v){w.import();if(o){w.namespace(g||l)}else if(s||r){w.named(g,t)}}else{w.require();if(o){w.var(g||l).wildcardInterop()}else if((s||r)&&h){if(s){g=g!=="default"?g:l;w.var(g).read(t);w.defaultInterop()}else{w.var(l).read(t)}}else if(s){w.var(g).defaultInterop().prop(t)}else if(r){w.var(g).prop(t)}}}else if(p==="compiled"){if(x){w.import();if(o){w.default(g||l)}else if(s||r){w.default(l).read(g)}}else if(v){w.import();if(o){w.namespace(g||l)}else if(s||r){w.named(g,t)}}else{w.require();if(o){w.var(g||l)}else if(s||r){if(h){w.var(l).read(g)}else{w.prop(t).var(g)}}}}else if(p==="uncompiled"){if(s&&h){throw new Error("No live reference for commonjs default")}if(x){w.import();if(o){w.default(g||l)}else if(s){w.default(g)}else if(r){w.default(l).read(g)}}else if(v){w.import();if(o){w.default(g||l)}else if(s){w.default(g)}else if(r){w.named(g,t)}}else{w.require();if(o){w.var(g||l)}else if(s){w.var(g)}else if(r){if(h){w.var(l).read(g)}else{w.var(g).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:P,resultName:E}=w.done();this._insertStatements(P,y,m);if((s||r)&&f&&E.type!=="Identifier"){return i.sequenceExpression([i.numericLiteral(0),E])}return E}_insertStatements(e,t="before",s=3){const r=this._programPath.get("body");if(t==="after"){for(let t=r.length-1;t>=0;t--){if(r[t].isImportDeclaration()){r[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=s});const t=r.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},11050:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return r.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return i.default}});var r=s(54025);var i=s(97091);function addDefault(e,t,s){return new r.default(e).addDefault(t,s)}function addNamed(e,t,s,i){return new r.default(e).addNamed(t,s,i)}function addNamespace(e,t,s){return new r.default(e).addNamespace(t,s)}function addSideEffect(e,t,s){return new r.default(e).addSideEffect(t,s)}},97091:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},10033:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getModuleName;{const e=getModuleName;t.default=getModuleName=function getModuleName(t,s){var r,i,n,a;return e(t,{moduleId:(r=s.moduleId)!=null?r:t.moduleId,moduleIds:(i=s.moduleIds)!=null?i:t.moduleIds,getModuleId:(n=s.getModuleId)!=null?n:t.getModuleId,moduleRoot:(a=s.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:s,filenameRelative:r=s,sourceRoot:i=t.moduleRoot}=e;const{moduleId:n,moduleIds:a=!!n,getModuleId:o,moduleRoot:l=i}=t;if(!a)return null;if(n!=null&&!o){return n}let c=l!=null?l+"/":"";if(r){const e=i!=null?new RegExp("^"+i+"/?"):"";c+=r.replace(e,"").replace(/\.(\w*?)$/,"")}c=c.replace(/\\/g,"/");if(o){return o(c)||c}else{return c}}},13574:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;t.ensureStatementsHoisted=ensureStatementsHoisted;t.wrapInterop=wrapInterop;t.buildNamespaceInitStatements=buildNamespaceInitStatements;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.isModule}});Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return c.hasExports}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return c.isSideEffectImport}});Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});var r=s(42357);var i=s(19761);var n=s(36900);var a=s(11050);var o=s(10714);var l=s(38945);var c=s(79930);var p=s(10033);function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:s,strict:n,allowTopLevelThis:p,strictMode:u,noInterop:h,importInterop:f=(h?"none":"babel"),lazy:d,esNamespaceOnly:y,constantReexports:m=t,enumerableModuleMeta:g=t}){(0,c.validateImportInteropOption)(f);r((0,a.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const b=(0,c.default)(e,s,{importInterop:f,initializeReexports:m,lazy:d,esNamespaceOnly:y});if(!p){(0,o.default)(e)}(0,l.default)(e,b);if(u!==false){const t=e.node.directives.some(e=>{return e.value.value==="use strict"});if(!t){e.unshiftContainer("directives",i.directive(i.directiveLiteral("use strict")))}}const x=[];if((0,c.hasExports)(b)&&!n){x.push(buildESModuleHeader(b,g))}const v=buildExportNameListDeclaration(e,b);if(v){b.exportNameListName=v.name;x.push(v.statement)}x.push(...buildExportInitializationStatements(e,b,m));return{meta:b,headers:x}}function ensureStatementsHoisted(e){e.forEach(e=>{e._blockHoist=3})}function wrapInterop(e,t,s){if(s==="none"){return null}if(s==="node-namespace"){return i.callExpression(e.hub.addHelper("interopRequireWildcard"),[t,i.booleanLiteral(true)])}else if(s==="node-default"){return null}let r;if(s==="default"){r="interopRequireDefault"}else if(s==="namespace"){r="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${s}`)}return i.callExpression(e.hub.addHelper(r),[t])}function buildNamespaceInitStatements(e,t,s=false){const r=[];let a=i.identifier(t.name);if(t.lazy)a=i.callExpression(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;r.push(n.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:i.cloneNode(a)}))}if(s){r.push(...h(e,t,true))}for(const s of t.reexportNamespace){r.push((t.lazy?n.default.statement` Object.defineProperty(EXPORTS, "NAME", { enumerable: true, get: function() { return NAMESPACE; } }); - `:i.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:r,NAMESPACE:s.cloneNode(a)}))}if(t.reexportAll){const i=buildNamespaceReexport(e,s.cloneNode(a),r);i.loc=t.reexportAll.loc;n.push(i)}return n}const f={constant:i.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:i.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:(0,i.default)` + `:n.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:s,NAMESPACE:i.cloneNode(a)}))}if(t.reexportAll){const n=buildNamespaceReexport(e,i.cloneNode(a),s);n.loc=t.reexportAll.loc;r.push(n)}return r}const u={constant:n.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:n.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:(0,n.default)` Object.defineProperty(EXPORTS, "EXPORT_NAME", { enumerable: true, get: function() { return NAMESPACE_IMPORT; }, }); - `};const c=(e,t,r)=>{const n=t.lazy?s.callExpression(s.identifier(t.name),[]):s.identifier(t.name);const{stringSpecifiers:i}=e;return Array.from(t.reexports,([a,o])=>{let l=s.cloneNode(n);if(o==="default"&&t.interop==="node-default"){}else if(i.has(o)){l=s.memberExpression(l,s.stringLiteral(o),true)}else{l=s.memberExpression(l,s.identifier(o))}const u={EXPORTS:e.exportName,EXPORT_NAME:a,NAMESPACE_IMPORT:l};if(r||s.isIdentifier(l)){if(i.has(a)){return f.constantComputed(u)}else{return f.constant(u)}}else{return f.spec(u)}})};function buildESModuleHeader(e,t=false){return(t?i.default.statement` + `};const h=(e,t,s)=>{const r=t.lazy?i.callExpression(i.identifier(t.name),[]):i.identifier(t.name);const{stringSpecifiers:n}=e;return Array.from(t.reexports,([a,o])=>{let l=i.cloneNode(r);if(o==="default"&&t.interop==="node-default"){}else if(n.has(o)){l=i.memberExpression(l,i.stringLiteral(o),true)}else{l=i.memberExpression(l,i.identifier(o))}const c={EXPORTS:e.exportName,EXPORT_NAME:a,NAMESPACE_IMPORT:l};if(s||i.isIdentifier(l)){if(n.has(a)){return u.constantComputed(c)}else{return u.constant(c)}}else{return u.spec(c)}})};function buildESModuleHeader(e,t=false){return(t?n.default.statement` EXPORTS.__esModule = true; - `:i.default.statement` + `:n.default.statement` Object.defineProperty(EXPORTS, "__esModule", { value: true, }); - `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,r){return(r?i.default.statement` + `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,s){return(s?n.default.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; @@ -2010,7 +2010,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m EXPORTS[key] = NAMESPACE[key]; }); - `:i.default.statement` + `:n.default.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; @@ -2023,28 +2023,28 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }, }); }); - `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,i.default)` + `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,n.default)` if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return; - `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const r=Object.create(null);for(const e of t.local.values()){for(const t of e.names){r[t]=true}}let n=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){r[t]=true}for(const t of e.reexportNamespace){r[t]=true}n=n||!!e.reexportAll}if(!n||Object.keys(r).length===0)return null;const i=e.scope.generateUidIdentifier("exportNames");delete r.default;return{name:i.name,statement:s.variableDeclaration("var",[s.variableDeclarator(i,s.valueToNode(r))])}}function buildExportInitializationStatements(e,t,r=false){const n=[];const i=[];for(const[e,r]of t.local){if(r.kind==="import"){}else if(r.kind==="hoisted"){n.push(buildInitStatement(t,r.names,s.identifier(e)))}else{i.push(...r.names)}}for(const e of t.source.values()){if(!r){n.push(...c(t,e,false))}for(const t of e.reexportNamespace){i.push(t)}}n.push(...chunk(i,100).map(r=>{return buildInitStatement(t,r,e.scope.buildUndefinedNode())}));return n}const d={computed:i.default.expression`EXPORTS["NAME"] = VALUE`,default:i.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,r){const{stringSpecifiers:n,exportName:i}=e;return s.expressionStatement(t.reduce((e,t)=>{const r={EXPORTS:i,NAME:t,VALUE:e};if(n.has(t)){return d.computed(r)}else{return d.default(r)}},r))}function chunk(e,t){const r=[];for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;t.default=normalizeModuleAndLoadMetadata;var n=r(85622);var s=r(34584);var i=r(76729);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t){if(typeof e==="function"){return validateImportInteropOption(e(t))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:r,initializeReexports:n=false,lazy:s=false,esNamespaceOnly:i=false}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const a=new Set;nameAnonymousExports(e);const{local:o,source:l,hasExports:u}=getModuleMetadata(e,{initializeReexports:n,lazy:s},a);removeModuleDeclarations(e);for(const[,e]of l){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(r,e.source);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(i&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:u,local:o,source:l,stringSpecifiers:a}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const r=e.node.value;if(!(0,s.isIdentifierName)(r)){t.add(r)}return r}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:r},s){const i=getLocalExportMetadata(e,r,s);const a=new Map;const o=t=>{const r=t.value;let s=a.get(r);if(!s){s={name:e.scope.generateUidIdentifier((0,n.basename)(r,(0,n.extname)(r))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:r};a.set(r,s)}return s};let l=false;e.get("body").forEach(e=>{if(e.isImportDeclaration()){const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{if(e.isImportDefaultSpecifier()){const r=e.get("local").node.name;t.imports.set(r,"default");const n=i.get(r);if(n){i.delete(r);n.names.forEach(e=>{t.reexports.set(e,"default")})}}else if(e.isImportNamespaceSpecifier()){const r=e.get("local").node.name;t.importsNamespace.add(r);const n=i.get(r);if(n){i.delete(r);n.names.forEach(e=>{t.reexportNamespace.add(e)})}}else if(e.isImportSpecifier()){const r=getExportSpecifierName(e.get("imported"),s);const n=e.get("local").node.name;t.imports.set(n,r);const a=i.get(n);if(a){i.delete(n);a.names.forEach(e=>{t.reexports.set(e,r)})}}})}else if(e.isExportAllDeclaration()){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{assertExportSpecifier(e);const r=getExportSpecifierName(e.get("local"),s);const n=getExportSpecifierName(e.get("exported"),s);t.reexports.set(n,r);if(n==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}})}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}});for(const e of a.values()){let t=false;let r=false;if(e.importsNamespace.size>0){t=true;r=true}if(e.reexportAll){r=true}for(const n of e.imports.values()){if(n==="default")t=true;else r=true}for(const n of e.reexports.values()){if(n==="default")t=true;else r=true}if(t&&r){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,r]of a){if(t!==false&&!(isSideEffectImport(r)||r.reexportAll)){if(t===true){r.lazy=!/\./.test(e)}else if(Array.isArray(t)){r.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){r.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:l,local:i,source:a}}function getLocalExportMetadata(e,t,r){const n=new Map;e.get("body").forEach(e=>{let r;if(e.isImportDeclaration()){r="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach(e=>{assertExportSpecifier(e);n.set(e.get("local").node.name,"block")});return}}if(e.isFunctionDeclaration()){r="hoisted"}else if(e.isClassDeclaration()){r="block"}else if(e.isVariableDeclaration({kind:"var"})){r="var"}else if(e.isVariableDeclaration()){r="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach(e=>{n.set(e,r)})});const s=new Map;const i=e=>{const t=e.node.name;let r=s.get(t);if(!r){const i=n.get(t);if(i===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}r={names:[],kind:i};s.set(t,r)}return r};e.get("body").forEach(e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const r=t.getOuterBindingIdentifierPaths();Object.keys(r).forEach(e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}i(r[e]).names.push(e)})}else{e.get("specifiers").forEach(e=>{const t=e.get("local");const n=e.get("exported");const s=i(t);const a=getExportSpecifierName(n,r);if(a==="__esModule"){throw n.buildCodeFrameError('Illegal export "__esModule".')}s.names.push(a)})}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){i(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}});return s}function nameAnonymousExports(e){e.get("body").forEach(e=>{if(!e.isExportDefaultDeclaration())return;(0,i.default)(e)})}function removeModuleDeclarations(e){e.get("body").forEach(e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}})}},38945:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteLiveReferences;var n=r(42357);var s=r(46103);var i=r(36900);var a=r(94982);function rewriteLiveReferences(e,t){const r=new Map;const n=new Map;const i=t=>{e.requeue(t)};for(const[e,n]of t.source){for(const[t,s]of n.imports){r.set(t,[e,s,null])}for(const t of n.importsNamespace){r.set(t,[e,null,t])}}for(const[e,r]of t.local){let t=n.get(e);if(!t){t=[];n.set(e,t)}t.push(...r.names)}const l={metadata:t,requeueInParent:i,scope:e.scope,exported:n};e.traverse(o,l);(0,a.default)(e,new Set([...Array.from(r.keys()),...Array.from(n.keys())]));const u={seen:new WeakSet,metadata:t,requeueInParent:i,scope:e.scope,imported:r,exported:n,buildImportReference:([e,r,n],i)=>{const a=t.source.get(e);if(n){if(a.lazy)i=s.callExpression(i,[]);return i}let o=s.identifier(a.name);if(a.lazy)o=s.callExpression(o,[]);if(r==="default"&&a.interop==="node-default"){return o}const l=t.stringSpecifiers.has(r);return s.memberExpression(o,l?s.stringLiteral(r):s.identifier(r),l)}};e.traverse(p,u)}const o={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;const{id:i}=e.node;if(!i)throw new Error("Expected class to have a name");const a=i.name;const o=r.get(a)||[];if(o.length>0){const r=s.expressionStatement(l(n,o,s.identifier(a)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(i=>{const a=r.get(i)||[];if(a.length>0){const r=s.expressionStatement(l(n,a,s.identifier(i)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}})}};const l=(e,t,r)=>{return(t||[]).reduce((t,r)=>{const{stringSpecifiers:n}=e;const i=n.has(r);return s.assignmentExpression("=",s.memberExpression(s.identifier(e.exportName),i?s.stringLiteral(r):s.identifier(r),i),t)},r)};const u=e=>{return i.default.expression.ast` + `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const s=Object.create(null);for(const e of t.local.values()){for(const t of e.names){s[t]=true}}let r=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){s[t]=true}for(const t of e.reexportNamespace){s[t]=true}r=r||!!e.reexportAll}if(!r||Object.keys(s).length===0)return null;const n=e.scope.generateUidIdentifier("exportNames");delete s.default;return{name:n.name,statement:i.variableDeclaration("var",[i.variableDeclarator(n,i.valueToNode(s))])}}function buildExportInitializationStatements(e,t,s=false){const r=[];const n=[];for(const[e,s]of t.local){if(s.kind==="import"){}else if(s.kind==="hoisted"){r.push(buildInitStatement(t,s.names,i.identifier(e)))}else{n.push(...s.names)}}for(const e of t.source.values()){if(!s){r.push(...h(t,e,false))}for(const t of e.reexportNamespace){n.push(t)}}r.push(...chunk(n,100).map(s=>{return buildInitStatement(t,s,e.scope.buildUndefinedNode())}));return r}const f={computed:n.default.expression`EXPORTS["NAME"] = VALUE`,default:n.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,s){const{stringSpecifiers:r,exportName:n}=e;return i.expressionStatement(t.reduce((e,t)=>{const s={EXPORTS:n,NAME:t,VALUE:e};if(r.has(t)){return f.computed(s)}else{return f.default(s)}},s))}function chunk(e,t){const s=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;t.default=normalizeModuleAndLoadMetadata;var r=s(85622);var i=s(34584);var n=s(76729);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t){if(typeof e==="function"){return validateImportInteropOption(e(t))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:s,initializeReexports:r=false,lazy:i=false,esNamespaceOnly:n=false}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const a=new Set;nameAnonymousExports(e);const{local:o,source:l,hasExports:c}=getModuleMetadata(e,{initializeReexports:r,lazy:i},a);removeModuleDeclarations(e);for(const[,e]of l){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(s,e.source);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(n&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:c,local:o,source:l,stringSpecifiers:a}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const s=e.node.value;if(!(0,i.isIdentifierName)(s)){t.add(s)}return s}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:s},i){const n=getLocalExportMetadata(e,s,i);const a=new Map;const o=t=>{const s=t.value;let i=a.get(s);if(!i){i={name:e.scope.generateUidIdentifier((0,r.basename)(s,(0,r.extname)(s))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:s};a.set(s,i)}return i};let l=false;e.get("body").forEach(e=>{if(e.isImportDeclaration()){const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{if(e.isImportDefaultSpecifier()){const s=e.get("local").node.name;t.imports.set(s,"default");const r=n.get(s);if(r){n.delete(s);r.names.forEach(e=>{t.reexports.set(e,"default")})}}else if(e.isImportNamespaceSpecifier()){const s=e.get("local").node.name;t.importsNamespace.add(s);const r=n.get(s);if(r){n.delete(s);r.names.forEach(e=>{t.reexportNamespace.add(e)})}}else if(e.isImportSpecifier()){const s=getExportSpecifierName(e.get("imported"),i);const r=e.get("local").node.name;t.imports.set(r,s);const a=n.get(r);if(a){n.delete(r);a.names.forEach(e=>{t.reexports.set(e,s)})}}})}else if(e.isExportAllDeclaration()){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{assertExportSpecifier(e);const s=getExportSpecifierName(e.get("local"),i);const r=getExportSpecifierName(e.get("exported"),i);t.reexports.set(r,s);if(r==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}})}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}});for(const e of a.values()){let t=false;let s=false;if(e.importsNamespace.size>0){t=true;s=true}if(e.reexportAll){s=true}for(const r of e.imports.values()){if(r==="default")t=true;else s=true}for(const r of e.reexports.values()){if(r==="default")t=true;else s=true}if(t&&s){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,s]of a){if(t!==false&&!(isSideEffectImport(s)||s.reexportAll)){if(t===true){s.lazy=!/\./.test(e)}else if(Array.isArray(t)){s.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){s.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:l,local:n,source:a}}function getLocalExportMetadata(e,t,s){const r=new Map;e.get("body").forEach(e=>{let s;if(e.isImportDeclaration()){s="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach(e=>{assertExportSpecifier(e);r.set(e.get("local").node.name,"block")});return}}if(e.isFunctionDeclaration()){s="hoisted"}else if(e.isClassDeclaration()){s="block"}else if(e.isVariableDeclaration({kind:"var"})){s="var"}else if(e.isVariableDeclaration()){s="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach(e=>{r.set(e,s)})});const i=new Map;const n=e=>{const t=e.node.name;let s=i.get(t);if(!s){const n=r.get(t);if(n===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}s={names:[],kind:n};i.set(t,s)}return s};e.get("body").forEach(e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const s=t.getOuterBindingIdentifierPaths();Object.keys(s).forEach(e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}n(s[e]).names.push(e)})}else{e.get("specifiers").forEach(e=>{const t=e.get("local");const r=e.get("exported");const i=n(t);const a=getExportSpecifierName(r,s);if(a==="__esModule"){throw r.buildCodeFrameError('Illegal export "__esModule".')}i.names.push(a)})}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){n(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}});return i}function nameAnonymousExports(e){e.get("body").forEach(e=>{if(!e.isExportDefaultDeclaration())return;(0,n.default)(e)})}function removeModuleDeclarations(e){e.get("body").forEach(e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}})}},38945:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteLiveReferences;var r=s(42357);var i=s(19761);var n=s(36900);var a=s(94982);function rewriteLiveReferences(e,t){const s=new Map;const r=new Map;const n=t=>{e.requeue(t)};for(const[e,r]of t.source){for(const[t,i]of r.imports){s.set(t,[e,i,null])}for(const t of r.importsNamespace){s.set(t,[e,null,t])}}for(const[e,s]of t.local){let t=r.get(e);if(!t){t=[];r.set(e,t)}t.push(...s.names)}const l={metadata:t,requeueInParent:n,scope:e.scope,exported:r};e.traverse(o,l);(0,a.default)(e,new Set([...Array.from(s.keys()),...Array.from(r.keys())]));const c={seen:new WeakSet,metadata:t,requeueInParent:n,scope:e.scope,imported:s,exported:r,buildImportReference:([e,s,r],n)=>{const a=t.source.get(e);if(r){if(a.lazy)n=i.callExpression(n,[]);return n}let o=i.identifier(a.name);if(a.lazy)o=i.callExpression(o,[]);if(s==="default"&&a.interop==="node-default"){return o}const l=t.stringSpecifiers.has(s);return i.memberExpression(o,l?i.stringLiteral(s):i.identifier(s),l)}};e.traverse(p,c)}const o={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:s,metadata:r}=this;const{id:n}=e.node;if(!n)throw new Error("Expected class to have a name");const a=n.name;const o=s.get(a)||[];if(o.length>0){const s=i.expressionStatement(l(r,o,i.identifier(a)));s._blockHoist=e.node._blockHoist;t(e.insertAfter(s)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:s,metadata:r}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(n=>{const a=s.get(n)||[];if(a.length>0){const s=i.expressionStatement(l(r,a,i.identifier(n)));s._blockHoist=e.node._blockHoist;t(e.insertAfter(s)[0])}})}};const l=(e,t,s)=>{return(t||[]).reduce((t,s)=>{const{stringSpecifiers:r}=e;const n=r.has(s);return i.assignmentExpression("=",i.memberExpression(i.identifier(e.exportName),n?i.stringLiteral(s):i.identifier(s),n),t)},s)};const c=e=>{return n.default.expression.ast` (function() { throw new Error('"' + '${e}' + '" is read-only.'); })() - `};const p={ReferencedIdentifier(e){const{seen:t,buildImportReference:r,scope:n,imported:i,requeueInParent:a}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const l=i.get(o);if(l){const t=e.scope.getBinding(o);const i=n.getBinding(o);if(i!==t)return;const u=r(l,e.node);u.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&s.isMemberExpression(u)){e.replaceWith(s.sequenceExpression([s.numericLiteral(0),u]))}else if(e.isJSXIdentifier()&&s.isMemberExpression(u)){const{object:t,property:r}=u;e.replaceWith(s.jsxMemberExpression(s.jsxIdentifier(t.name),s.jsxIdentifier(r.name)))}else{e.replaceWith(u)}a(e);e.skip()}},AssignmentExpression:{exit(e){const{scope:t,seen:r,imported:i,exported:a,requeueInParent:o,buildImportReference:p}=this;if(r.has(e.node))return;r.add(e.node);const f=e.get("left");if(f.isMemberExpression())return;if(f.isIdentifier()){const r=f.node.name;if(t.getBinding(r)!==e.scope.getBinding(r)){return}const c=a.get(r);const d=i.get(r);if((c==null?void 0:c.length)>0||d){n(e.node.operator==="=","Path was not simplified");const t=e.node;if(d){t.left=p(d,t.left);t.right=s.sequenceExpression([t.right,u(r)])}e.replaceWith(l(this.metadata,c,t));o(e)}}else{const r=f.getOuterBindingIdentifiers();const n=Object.keys(r).filter(r=>t.getBinding(r)===e.scope.getBinding(r));const p=n.find(e=>i.has(e));if(p){e.node.right=s.sequenceExpression([e.node.right,u(p)])}const c=[];n.forEach(e=>{const t=a.get(e)||[];if(t.length>0){c.push(l(this.metadata,t,s.identifier(e)))}});if(c.length>0){let t=s.sequenceExpression(c);if(e.parentPath.isExpressionStatement()){t=s.expressionStatement(t);t._blockHoist=e.parentPath.node._blockHoist}const r=e.insertAfter(t)[0];o(r)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:r}=e;const{left:n}=r;const{exported:i,scope:a}=this;if(!s.isVariableDeclaration(n)){let r=false;const o=e.get("body");const l=o.scope;for(const e of Object.keys(s.getOuterBindingIdentifiers(n))){if(i.get(e)&&a.getBinding(e)===t.getBinding(e)){r=true;if(l.hasOwnBinding(e)){l.rename(e)}}}if(!r){return}const u=t.generateUidIdentifierBasedOnNode(n);o.unshiftContainer("body",s.expressionStatement(s.assignmentExpression("=",n,u)));e.get("left").replaceWith(s.variableDeclaration("let",[s.variableDeclarator(s.cloneNode(u))]));t.registerDeclaration(e.get("left"))}}}},10714:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteThis;var n=r(846);var s=r(4267);var i=r(46103);function rewriteThis(e){(0,s.default)(e.node,Object.assign({},a,{noScope:true}))}const a=s.default.visitors.merge([n.environmentVisitor,{ThisExpression(e){e.replaceWith(i.unaryExpression("void",i.numericLiteral(0),true))}}])},22573:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},94982:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=simplifyAccess;var n=r(46103);function simplifyAccess(e,t){e.traverse(s,{scope:e.scope,bindingNames:t,seen:new WeakSet})}const s={UpdateExpression:{exit(e){const{scope:t,bindingNames:r}=this;const s=e.get("argument");if(!s.isIdentifier())return;const i=s.node.name;if(!r.has(i))return;if(t.getBinding(i)!==e.scope.getBinding(i)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(n.assignmentExpression(t,s.node,n.numericLiteral(1)))}else if(e.node.prefix){e.replaceWith(n.assignmentExpression("=",n.identifier(i),n.binaryExpression(e.node.operator[0],n.unaryExpression("+",s.node),n.numericLiteral(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(s.node,"old");const r=t.name;e.scope.push({id:t});const i=n.binaryExpression(e.node.operator[0],n.identifier(r),n.numericLiteral(1));e.replaceWith(n.sequenceExpression([n.assignmentExpression("=",n.identifier(r),n.unaryExpression("+",s.node)),n.assignmentExpression("=",n.cloneNode(s.node),i),n.identifier(r)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:r,bindingNames:s}=this;if(e.node.operator==="=")return;if(r.has(e.node))return;r.add(e.node);const i=e.get("left");if(!i.isIdentifier())return;const a=i.node.name;if(!s.has(a))return;if(t.getBinding(a)!==e.scope.getBinding(a)){return}e.node.right=n.binaryExpression(e.node.operator.slice(0,-1),n.cloneNode(e.node.left),e.node.right);e.node.operator="="}}}},35234:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(35234);var s=r(46458)},46458:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},3320:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(6954);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},61649:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(52246);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},32649:()=>{},23266:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(1375);var s=r(68641);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(70820);var s=r(91477);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},41207:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(70820);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},70820:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(23266);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},92996:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(70820)},48364:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(15924);var s=r(72631);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(70820);var s=r(70353);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},40884:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(85474);function clone(e){return(0,n.default)(e,false)}},63246:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(85474);function cloneDeep(e){return(0,n.default)(e)}},65590:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(85474);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},85474:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(1375);var s=r(15924);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},52009:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(85474);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},73352:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(41286);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},41286:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},83515:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(6733);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},27275:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(6733);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},40482:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(6733);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},20352:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(40482);var s=r(27275);var i=r(83515);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},89775:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(47332);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},40969:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(1375);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},47332:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},94285:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(45439);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},8377:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(59588);var s=r(15924);var i=r(70820);var a=r(85474);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},32250:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(42362);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},45439:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(15924);var s=r(70820);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},10338:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(15924);var s=r(70820);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},30051:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(15924);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},42362:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(20795);var s=r(34584);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},82566:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(15924);var s=r(85474);var i=r(6569);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},32828:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(8377);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},62330:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(15924);var s=r(70820);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},32014:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(20795);var s=r(70820);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},60848:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(52246);var s=r(20795);var i=r(34584);var a=r(47332);var o=r(16837);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},17322:(e,t,r)=>{"use strict";var n=r(16837);var s=r(60848);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},95454:(e,t,r)=>{"use strict";var n=r(16837);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},1375:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(60848);r(95454);r(59359);r(54873);r(17322);r(59599);var s=r(16837);var i=r(55462);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},59359:(e,t,r)=>{"use strict";var n=r(16837);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},54873:(e,t,r)=>{"use strict";var n=r(16837);var s=r(55462);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},55462:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(16837);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},59599:(e,t,r)=>{"use strict";var n=r(16837);var s=r(60848);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},16837:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(52246);var s=r(68641);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},46103:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(99003);var i=r(80495);var a=r(48364);var o=r(3320);var l=r(61649);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(41207);var p=r(67569);var f=r(62183);var c=r(70820);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(92996);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(85474);var m=r(40884);var T=r(63246);var h=r(65590);var S=r(52009);var b=r(73352);var E=r(41286);var g=r(83515);var P=r(27275);var x=r(20352);var v=r(40482);var A=r(89775);var O=r(40969);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(47332);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(94285);var w=r(32250);var j=r(45439);var N=r(10338);var C=r(30051);var L=r(42362);var _=r(82566);var M=r(32828);var F=r(62330);var B=r(32014);var k=r(1375);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(83692);var K=r(16050);var V=r(91486);var X=r(90115);var Y=r(6569);var J=r(91477);var U=r(59588);var W=r(77557);var q=r(74617);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(22099);var G=r(45979);var $=r(52246);var H=r(69926);var Q=r(439);var Z=r(45341);var ee=r(34246);var te=r(6954);var re=r(6724);var ne=r(52592);var se=r(5163);var ie=r(90600);var ae=r(52435);var oe=r(26126);var le=r(90044);var ue=r(20795);var pe=r(91578);var fe=r(41132);var ce=r(68641);var de=r(46042);var ye=r(15924);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(32649);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},83692:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(70820);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},91477:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(15924);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},16050:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(47332);var s=r(20352);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},91486:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(70820);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},90115:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(47332);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},6569:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(22099);var s=r(90115);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},70353:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(15924);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},59588:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(15924);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(59588);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},74617:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(1375);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(1375);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},6733:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},72631:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(70820);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},46042:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(41132);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},15924:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(45979);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},52246:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(45979);var s=r(26126);var i=r(52592);var a=r(1375);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},69926:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(59588);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},439:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(15924);var s=r(34246);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},45341:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(26126);var s=r(15924);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},34246:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(15924);var s=r(47332);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},6954:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(1375);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},6724:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(1375);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(1375);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},5163:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},90600:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(15924);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},52435:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(15924);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},26126:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(1375);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},90044:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(20795);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},20795:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(34584);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},91578:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(15924);var s=r(47332);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},41132:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(15924);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},99003:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(46042);const s=(0,n.default)("React.Component");var i=s;t.default=i},68641:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(1375);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},68749:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(57836);var s=r(18341);var i=r(62248);var a=r(7651);var o=r(42604);var l=(0,n.declare)((e,t)=>{var r,n,l;e.assertVersion(7);const u=(0,o.createDynamicImportTransform)(e);const{strictNamespace:p=false,mjsStrictNamespace:f=true,allowTopLevelThis:c,strict:d,strictMode:y,noInterop:m,importInterop:T,lazy:h=false,allowCommonJSExports:S=true}=t;const b=(r=e.assumption("constantReexports"))!=null?r:t.loose;const E=(n=e.assumption("enumerableModuleMeta"))!=null?n:t.loose;const g=(l=e.assumption("noIncompleteNsImportDetection"))!=null?l:false;if(typeof h!=="boolean"&&typeof h!=="function"&&(!Array.isArray(h)||!h.every(e=>typeof e==="string"))){throw new Error(`.lazy must be a boolean, array of strings, or a function`)}if(typeof p!=="boolean"){throw new Error(`.strictNamespace must be a boolean, or undefined`)}if(typeof f!=="boolean"){throw new Error(`.mjsStrictNamespace must be a boolean, or undefined`)}const P=e=>a.template.expression.ast` + `};const p={ReferencedIdentifier(e){const{seen:t,buildImportReference:s,scope:r,imported:n,requeueInParent:a}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const l=n.get(o);if(l){const t=e.scope.getBinding(o);const n=r.getBinding(o);if(n!==t)return;const c=s(l,e.node);c.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&i.isMemberExpression(c)){e.replaceWith(i.sequenceExpression([i.numericLiteral(0),c]))}else if(e.isJSXIdentifier()&&i.isMemberExpression(c)){const{object:t,property:s}=c;e.replaceWith(i.jsxMemberExpression(i.jsxIdentifier(t.name),i.jsxIdentifier(s.name)))}else{e.replaceWith(c)}a(e);e.skip()}},AssignmentExpression:{exit(e){const{scope:t,seen:s,imported:n,exported:a,requeueInParent:o,buildImportReference:p}=this;if(s.has(e.node))return;s.add(e.node);const u=e.get("left");if(u.isMemberExpression())return;if(u.isIdentifier()){const s=u.node.name;if(t.getBinding(s)!==e.scope.getBinding(s)){return}const h=a.get(s);const f=n.get(s);if((h==null?void 0:h.length)>0||f){r(e.node.operator==="=","Path was not simplified");const t=e.node;if(f){t.left=p(f,t.left);t.right=i.sequenceExpression([t.right,c(s)])}e.replaceWith(l(this.metadata,h,t));o(e)}}else{const s=u.getOuterBindingIdentifiers();const r=Object.keys(s).filter(s=>t.getBinding(s)===e.scope.getBinding(s));const p=r.find(e=>n.has(e));if(p){e.node.right=i.sequenceExpression([e.node.right,c(p)])}const h=[];r.forEach(e=>{const t=a.get(e)||[];if(t.length>0){h.push(l(this.metadata,t,i.identifier(e)))}});if(h.length>0){let t=i.sequenceExpression(h);if(e.parentPath.isExpressionStatement()){t=i.expressionStatement(t);t._blockHoist=e.parentPath.node._blockHoist}const s=e.insertAfter(t)[0];o(s)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:s}=e;const{left:r}=s;const{exported:n,scope:a}=this;if(!i.isVariableDeclaration(r)){let s=false;const o=e.get("body");const l=o.scope;for(const e of Object.keys(i.getOuterBindingIdentifiers(r))){if(n.get(e)&&a.getBinding(e)===t.getBinding(e)){s=true;if(l.hasOwnBinding(e)){l.rename(e)}}}if(!s){return}const c=t.generateUidIdentifierBasedOnNode(r);o.unshiftContainer("body",i.expressionStatement(i.assignmentExpression("=",r,c)));e.get("left").replaceWith(i.variableDeclaration("let",[i.variableDeclarator(i.cloneNode(c))]));t.registerDeclaration(e.get("left"))}}}},10714:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteThis;var r=s(846);var i=s(4267);var n=s(19761);function rewriteThis(e){(0,i.default)(e.node,Object.assign({},a,{noScope:true}))}const a=i.default.visitors.merge([r.environmentVisitor,{ThisExpression(e){e.replaceWith(n.unaryExpression("void",n.numericLiteral(0),true))}}])},22573:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},94982:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=simplifyAccess;var r=s(19761);function simplifyAccess(e,t){e.traverse(i,{scope:e.scope,bindingNames:t,seen:new WeakSet})}const i={UpdateExpression:{exit(e){const{scope:t,bindingNames:s}=this;const i=e.get("argument");if(!i.isIdentifier())return;const n=i.node.name;if(!s.has(n))return;if(t.getBinding(n)!==e.scope.getBinding(n)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(r.assignmentExpression(t,i.node,r.numericLiteral(1)))}else if(e.node.prefix){e.replaceWith(r.assignmentExpression("=",r.identifier(n),r.binaryExpression(e.node.operator[0],r.unaryExpression("+",i.node),r.numericLiteral(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(i.node,"old");const s=t.name;e.scope.push({id:t});const n=r.binaryExpression(e.node.operator[0],r.identifier(s),r.numericLiteral(1));e.replaceWith(r.sequenceExpression([r.assignmentExpression("=",r.identifier(s),r.unaryExpression("+",i.node)),r.assignmentExpression("=",r.cloneNode(i.node),n),r.identifier(s)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:s,bindingNames:i}=this;if(e.node.operator==="=")return;if(s.has(e.node))return;s.add(e.node);const n=e.get("left");if(!n.isIdentifier())return;const a=n.node.name;if(!i.has(a))return;if(t.getBinding(a)!==e.scope.getBinding(a)){return}e.node.right=r.binaryExpression(e.node.operator.slice(0,-1),r.cloneNode(e.node.left),e.node.right);e.node.operator="="}}}},35234:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let r="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+s+"]");const n=new RegExp("["+s+r+"]");s=r=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let s=65536;for(let r=0,i=t.length;re)return false;s+=t[r+1];if(s>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&n.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return r.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return r.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return r.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var r=s(35234);var i=s(46458)},46458:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const s={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const r=new Set(s.keyword);const i=new Set(s.strict);const n=new Set(s.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return n.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return r.has(e)}},68749:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(57836);var i=s(18341);var n=s(62248);var a=s(7651);var o=s(42604);var l=(0,r.declare)((e,t)=>{var s,r,l;e.assertVersion(7);const c=(0,o.createDynamicImportTransform)(e);const{strictNamespace:p=false,mjsStrictNamespace:u=true,allowTopLevelThis:h,strict:f,strictMode:d,noInterop:y,importInterop:m,lazy:g=false,allowCommonJSExports:b=true}=t;const x=(s=e.assumption("constantReexports"))!=null?s:t.loose;const v=(r=e.assumption("enumerableModuleMeta"))!=null?r:t.loose;const w=(l=e.assumption("noIncompleteNsImportDetection"))!=null?l:false;if(typeof g!=="boolean"&&typeof g!=="function"&&(!Array.isArray(g)||!g.every(e=>typeof e==="string"))){throw new Error(`.lazy must be a boolean, array of strings, or a function`)}if(typeof p!=="boolean"){throw new Error(`.strictNamespace must be a boolean, or undefined`)}if(typeof u!=="boolean"){throw new Error(`.mjsStrictNamespace must be a boolean, or undefined`)}const P=e=>a.template.expression.ast` (function(){ throw new Error( "The CommonJS '" + "${e}" + "' variable is not available in ES6 modules." + "Consider setting setting sourceType:script or sourceType:unambiguous in your " + "Babel config for this file."); })() - `;const x={ReferencedIdentifier(e){const t=e.node.name;if(t!=="module"&&t!=="exports")return;const r=e.scope.getBinding(t);const n=this.scope.getBinding(t);if(n!==r||e.parentPath.isObjectProperty({value:e.node})&&e.parentPath.parentPath.isObjectPattern()||e.parentPath.isAssignmentExpression({left:e.node})||e.isAssignmentExpression({left:e.node})){return}e.replaceWith(P(t))},AssignmentExpression(e){const t=e.get("left");if(t.isIdentifier()){const t=e.node.name;if(t!=="module"&&t!=="exports")return;const r=e.scope.getBinding(t);const n=this.scope.getBinding(t);if(n!==r)return;const s=e.get("right");s.replaceWith(a.types.sequenceExpression([s.node,P(t)]))}else if(t.isPattern()){const r=t.getOuterBindingIdentifiers();const n=Object.keys(r).filter(t=>{if(t!=="module"&&t!=="exports")return false;return this.scope.getBinding(t)===e.scope.getBinding(t)})[0];if(n){const t=e.get("right");t.replaceWith(a.types.sequenceExpression([t.node,P(n)]))}}}};return{name:"transform-modules-commonjs",pre(){this.file.set("@babel/plugin-transform-modules-*","commonjs")},visitor:{CallExpression(e){if(!this.file.has("@babel/plugin-proposal-dynamic-import"))return;if(!e.get("callee").isImport())return;let{scope:t}=e;do{t.rename("require")}while(t=t.parent);u(this,e.get("callee"))},Program:{exit(e,r){if(!(0,s.isModule)(e))return;e.scope.rename("exports");e.scope.rename("module");e.scope.rename("require");e.scope.rename("__filename");e.scope.rename("__dirname");if(!S){(0,i.default)(e,new Set(["module","exports"]));e.traverse(x,{scope:e.scope})}let n=(0,s.getModuleName)(this.file.opts,t);if(n)n=a.types.stringLiteral(n);const{meta:o,headers:l}=(0,s.rewriteModuleStatementsAndPrepareHeader)(e,{exportName:"exports",constantReexports:b,enumerableModuleMeta:E,strict:d,strictMode:y,allowTopLevelThis:c,noInterop:m,importInterop:T,lazy:h,esNamespaceOnly:typeof r.filename==="string"&&/\.mjs$/.test(r.filename)?f:p,noIncompleteNsImportDetection:g});for(const[t,r]of o.source){const n=a.types.callExpression(a.types.identifier("require"),[a.types.stringLiteral(t)]);let i;if((0,s.isSideEffectImport)(r)){if(r.lazy)throw new Error("Assertion failure");i=a.types.expressionStatement(n)}else{const t=(0,s.wrapInterop)(e,n,r.interop)||n;if(r.lazy){i=a.template.ast` - function ${r.name}() { + `;const E={ReferencedIdentifier(e){const t=e.node.name;if(t!=="module"&&t!=="exports")return;const s=e.scope.getBinding(t);const r=this.scope.getBinding(t);if(r!==s||e.parentPath.isObjectProperty({value:e.node})&&e.parentPath.parentPath.isObjectPattern()||e.parentPath.isAssignmentExpression({left:e.node})||e.isAssignmentExpression({left:e.node})){return}e.replaceWith(P(t))},AssignmentExpression(e){const t=e.get("left");if(t.isIdentifier()){const t=e.node.name;if(t!=="module"&&t!=="exports")return;const s=e.scope.getBinding(t);const r=this.scope.getBinding(t);if(r!==s)return;const i=e.get("right");i.replaceWith(a.types.sequenceExpression([i.node,P(t)]))}else if(t.isPattern()){const s=t.getOuterBindingIdentifiers();const r=Object.keys(s).filter(t=>{if(t!=="module"&&t!=="exports")return false;return this.scope.getBinding(t)===e.scope.getBinding(t)})[0];if(r){const t=e.get("right");t.replaceWith(a.types.sequenceExpression([t.node,P(r)]))}}}};return{name:"transform-modules-commonjs",pre(){this.file.set("@babel/plugin-transform-modules-*","commonjs")},visitor:{CallExpression(e){if(!this.file.has("@babel/plugin-proposal-dynamic-import"))return;if(!e.get("callee").isImport())return;let{scope:t}=e;do{t.rename("require")}while(t=t.parent);c(this,e.get("callee"))},Program:{exit(e,s){if(!(0,i.isModule)(e))return;e.scope.rename("exports");e.scope.rename("module");e.scope.rename("require");e.scope.rename("__filename");e.scope.rename("__dirname");if(!b){(0,n.default)(e,new Set(["module","exports"]));e.traverse(E,{scope:e.scope})}let r=(0,i.getModuleName)(this.file.opts,t);if(r)r=a.types.stringLiteral(r);const{meta:o,headers:l}=(0,i.rewriteModuleStatementsAndPrepareHeader)(e,{exportName:"exports",constantReexports:x,enumerableModuleMeta:v,strict:f,strictMode:d,allowTopLevelThis:h,noInterop:y,importInterop:m,lazy:g,esNamespaceOnly:typeof s.filename==="string"&&/\.mjs$/.test(s.filename)?u:p,noIncompleteNsImportDetection:w});for(const[t,s]of o.source){const r=a.types.callExpression(a.types.identifier("require"),[a.types.stringLiteral(t)]);let n;if((0,i.isSideEffectImport)(s)){if(s.lazy)throw new Error("Assertion failure");n=a.types.expressionStatement(r)}else{const t=(0,i.wrapInterop)(e,r,s.interop)||r;if(s.lazy){n=a.template.ast` + function ${s.name}() { const data = ${t}; - ${r.name} = function(){ return data; }; + ${s.name} = function(){ return data; }; return data; } - `}else{i=a.template.ast` - var ${r.name} = ${t}; - `}}i.loc=r.loc;l.push(i);l.push(...(0,s.buildNamespaceInitStatements)(o,r,b))}(0,s.ensureStatementsHoisted)(l);e.unshiftContainer("body",l)}}}}});t.default=l},90617:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var n=r(88984);let s=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const i=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const s=Object.assign({},n,e.end);const{linesAbove:i=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const u=s.line;const p=s.column;let f=Math.max(o-(i+1),0);let c=Math.min(t.length,u+a);if(o===-1){f=0}if(u===-1){c=t.length}const d=u-o;const y={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){y[r]=true}else if(e===0){const e=t[r-1].length;y[r]=[l,e-l+1]}else if(e===d){y[r]=[0,p]}else{const n=t[r-e].length;y[r]=[0,n]}}}else{if(l===p){if(l){y[o]=[l,0]}else{y[o]=true}}else{y[o]=[l,p-l]}}return{start:f,end:c,markerLines:y}}function codeFrameColumns(e,t,r={}){const s=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const a=(0,n.getChalk)(r);const o=getDefs(a);const l=(e,t)=>{return s?e(t):t};const u=e.split(i);const{start:p,end:f,markerLines:c}=getMarkerLines(t,u,r);const d=t.start&&typeof t.start.column==="number";const y=String(f).length;const m=s?(0,n.default)(e,r):e;let T=m.split(i).slice(p,f).map((e,t)=>{const n=p+1+t;const s=` ${n}`.slice(-y);const i=` ${s} |`;const a=c[n];const u=!c[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const s=a[1]||1;t=["\n ",l(o.gutter,i.replace(/\d/g," "))," ",n,l(o.marker,"^").repeat(s)].join("");if(u&&r.message){t+=" "+l(o.message,r.message)}}return[l(o.marker,">"),l(o.gutter,i),e.length>0?` ${e}`:"",t].join("")}else{return` ${l(o.gutter,i)}${e.length>0?` ${e}`:""}`}}).join("\n");if(r.message&&!d){T=`${" ".repeat(y+1)}${r.message}\n${T}`}if(s){return a.reset(T)}else{return T}}function _default(e,t,r,n={}){if(!s){s=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const i={start:{column:r,line:t}};return codeFrameColumns(e,i,n)}},79419:(e,t,r)=>{e.exports=r(71604)},48935:(e,t,r)=>{e.exports=r(28640)},93861:()=>{},90258:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeWeakCache=makeWeakCache;t.makeWeakCacheSync=makeWeakCacheSync;t.makeStrongCache=makeStrongCache;t.makeStrongCacheSync=makeStrongCacheSync;t.assertSimpleType=assertSimpleType;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(75581);var s=r(11954);const i=e=>{return _gensync()(e).sync};function*genTrue(){return true}function makeWeakCache(e){return makeCachedFunction(WeakMap,e)}function makeWeakCacheSync(e){return i(makeWeakCache(e))}function makeStrongCache(e){return makeCachedFunction(Map,e)}function makeStrongCacheSync(e){return i(makeStrongCache(e))}function makeCachedFunction(e,t){const r=new e;const i=new e;const a=new e;return function*cachedFunction(e,o){const l=yield*(0,n.isAsync)();const u=l?i:r;const p=yield*getCachedValueOrWait(l,u,a,e,o);if(p.valid)return p.value;const f=new CacheConfigurator(o);const c=t(e,f);let d;let y;if((0,s.isIterableIterator)(c)){const t=c;y=yield*(0,n.onFirstPause)(t,()=>{d=setupAsyncLocks(f,a,e)})}else{y=c}updateFunctionCache(u,f,e,y);if(d){a.delete(e);d.release(y)}return y}}function*getCachedValue(e,t,r){const n=e.get(t);if(n){for(const{value:e,valid:t}of n){if(yield*t(r))return{valid:true,value:e}}}return{valid:false,value:null}}function*getCachedValueOrWait(e,t,r,s,i){const a=yield*getCachedValue(t,s,i);if(a.valid){return a}if(e){const e=yield*getCachedValue(r,s,i);if(e.valid){const t=yield*(0,n.waitFor)(e.value.promise);return{valid:true,value:t}}}return{valid:false,value:null}}function setupAsyncLocks(e,t,r){const n=new Lock;updateFunctionCache(t,e,r,n);return n}function updateFunctionCache(e,t,r,n){if(!t.configured())t.forever();let s=e.get(r);t.deactivate();switch(t.mode()){case"forever":s=[{value:n,valid:genTrue}];e.set(r,s);break;case"invalidate":s=[{value:n,valid:t.validator()}];e.set(r,s);break;case"valid":if(s){s.push({value:n,valid:t.validator()})}else{s=[{value:n,valid:t.validator()}];e.set(r,s)}}}class CacheConfigurator{constructor(e){this._active=true;this._never=false;this._forever=false;this._invalidate=false;this._configured=false;this._pairs=[];this._data=void 0;this._data=e}simple(){return makeSimpleConfigurator(this)}mode(){if(this._never)return"never";if(this._forever)return"forever";if(this._invalidate)return"invalidate";return"valid"}forever(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never){throw new Error("Caching has already been configured with .never()")}this._forever=true;this._configured=true}never(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._forever){throw new Error("Caching has already been configured with .forever()")}this._never=true;this._configured=true}using(e){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never||this._forever){throw new Error("Caching has already been configured with .never or .forever()")}this._configured=true;const t=e(this._data);const r=(0,n.maybeAsync)(e,`You appear to be using an async cache handler, but Babel has been called synchronously`);if((0,n.isThenable)(t)){return t.then(e=>{this._pairs.push([e,r]);return e})}this._pairs.push([t,r]);return t}invalidate(e){this._invalidate=true;return this.using(e)}validator(){const e=this._pairs;return function*(t){for(const[r,n]of e){if(r!==(yield*n(t)))return false}return true}}deactivate(){this._active=false}configured(){return this._configured}}function makeSimpleConfigurator(e){function cacheFn(t){if(typeof t==="boolean"){if(t)e.forever();else e.never();return}return e.using(()=>assertSimpleType(t()))}cacheFn.forever=(()=>e.forever());cacheFn.never=(()=>e.never());cacheFn.using=(t=>e.using(()=>assertSimpleType(t())));cacheFn.invalidate=(t=>e.invalidate(()=>assertSimpleType(t())));return cacheFn}function assertSimpleType(e){if((0,n.isThenable)(e)){throw new Error(`You appear to be using an async cache handler, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously handle your caching logic.`)}if(e!=null&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"){throw new Error("Cache keys must be either string, boolean, number, null, or undefined.")}return e}class Lock{constructor(){this.released=false;this.promise=void 0;this._resolve=void 0;this.promise=new Promise(e=>{this._resolve=e})}release(e){this.released=true;this._resolve(e)}}},92076:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPresetChain=buildPresetChain;t.buildRootChain=buildRootChain;t.buildPresetChainWalker=void 0;function _path(){const e=r(85622);_path=function(){return e};return e}function _debug(){const e=r(31185);_debug=function(){return e};return e}var n=r(90727);var s=r(9175);var i=r(75379);var a=r(71120);var o=r(90258);var l=r(58945);const u=_debug()("babel:config:config-chain");function*buildPresetChain(e,t){const r=yield*p(e,t);if(!r)return null;return{plugins:dedupDescriptors(r.plugins),presets:dedupDescriptors(r.presets),options:r.options.map(e=>normalizeOptions(e)),files:new Set}}const p=makeChainWalker({root:e=>f(e),env:(e,t)=>c(e)(t),overrides:(e,t)=>d(e)(t),overridesEnv:(e,t,r)=>y(e)(t)(r),createLogger:()=>()=>{}});t.buildPresetChainWalker=p;const f=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.alias,l.createUncachedDescriptors));const c=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const d=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const y=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(r=>buildOverrideEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t,r))));function*buildRootChain(e,t){let r,n;const s=new i.ConfigPrinter;const o=yield*S({options:e,dirname:t.cwd},t,undefined,s);if(!o)return null;const l=yield*s.output();let u;if(typeof e.configFile==="string"){u=yield*(0,a.loadConfig)(e.configFile,t.cwd,t.envName,t.caller)}else if(e.configFile!==false){u=yield*(0,a.findRootConfig)(t.root,t.envName,t.caller)}let{babelrc:p,babelrcRoots:f}=e;let c=t.cwd;const d=emptyChain();const y=new i.ConfigPrinter;if(u){const e=m(u);const n=yield*loadFileChain(e,t,undefined,y);if(!n)return null;r=yield*y.output();if(p===undefined){p=e.options.babelrc}if(f===undefined){c=e.dirname;f=e.options.babelrcRoots}mergeChain(d,n)}let h,b;let E=false;const g=emptyChain();if((p===true||p===undefined)&&typeof t.filename==="string"){const e=yield*(0,a.findPackageData)(t.filename);if(e&&babelrcLoadEnabled(t,e,f,c)){({ignore:h,config:b}=yield*(0,a.findRelativeConfig)(e,t.envName,t.caller));if(h){g.files.add(h.filepath)}if(h&&shouldIgnore(t,h.ignore,null,h.dirname)){E=true}if(b&&!E){const e=T(b);const r=new i.ConfigPrinter;const s=yield*loadFileChain(e,t,undefined,r);if(!s){E=true}else{n=yield*r.output();mergeChain(g,s)}}if(b&&E){g.files.add(b.filepath)}}}if(t.showConfig){console.log(`Babel configs on "${t.filename}" (ascending priority):\n`+[r,n,l].filter(e=>!!e).join("\n\n")+"\n-----End Babel configs-----")}const P=mergeChain(mergeChain(mergeChain(emptyChain(),d),g),o);return{plugins:E?[]:dedupDescriptors(P.plugins),presets:E?[]:dedupDescriptors(P.presets),options:E?[]:P.options.map(e=>normalizeOptions(e)),fileHandling:E?"ignored":"transpile",ignore:h||undefined,babelrc:b||undefined,config:u||undefined,files:P.files}}function babelrcLoadEnabled(e,t,r,n){if(typeof r==="boolean")return r;const i=e.root;if(r===undefined){return t.directories.indexOf(i)!==-1}let a=r;if(!Array.isArray(a)){a=[a]}a=a.map(e=>{return typeof e==="string"?_path().resolve(n,e):e});if(a.length===1&&a[0]===i){return t.directories.indexOf(i)!==-1}return a.some(r=>{if(typeof r==="string"){r=(0,s.default)(r,n)}return t.directories.some(t=>{return matchPattern(r,n,t,e)})})}const m=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("configfile",e.options)}));const T=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("babelrcfile",e.options)}));const h=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("extendsfile",e.options)}));const S=makeChainWalker({root:e=>buildRootDescriptors(e,"base",l.createCachedDescriptors),env:(e,t)=>buildEnvDescriptors(e,"base",l.createCachedDescriptors,t),overrides:(e,t)=>buildOverrideDescriptors(e,"base",l.createCachedDescriptors,t),overridesEnv:(e,t,r)=>buildOverrideEnvDescriptors(e,"base",l.createCachedDescriptors,t,r),createLogger:(e,t,r)=>buildProgrammaticLogger(e,t,r)});const b=makeChainWalker({root:e=>E(e),env:(e,t)=>g(e)(t),overrides:(e,t)=>P(e)(t),overridesEnv:(e,t,r)=>x(e)(t)(r),createLogger:(e,t,r)=>buildFileLogger(e.filepath,t,r)});function*loadFileChain(e,t,r,n){const s=yield*b(e,t,r,n);if(s){s.files.add(e.filepath)}return s}const E=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.filepath,l.createUncachedDescriptors));const g=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const P=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const x=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(r=>buildOverrideEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t,r))));function buildFileLogger(e,t,r){if(!r){return()=>{}}return r.configure(t.showConfig,i.ChainFormatter.Config,{filepath:e})}function buildRootDescriptors({dirname:e,options:t},r,n){return n(e,t,r)}function buildProgrammaticLogger(e,t,r){var n;if(!r){return()=>{}}return r.configure(t.showConfig,i.ChainFormatter.Programmatic,{callerName:(n=t.caller)==null?void 0:n.name})}function buildEnvDescriptors({dirname:e,options:t},r,n,s){const i=t.env&&t.env[s];return i?n(e,i,`${r}.env["${s}"]`):null}function buildOverrideDescriptors({dirname:e,options:t},r,n,s){const i=t.overrides&&t.overrides[s];if(!i)throw new Error("Assertion failure - missing override");return n(e,i,`${r}.overrides[${s}]`)}function buildOverrideEnvDescriptors({dirname:e,options:t},r,n,s,i){const a=t.overrides&&t.overrides[s];if(!a)throw new Error("Assertion failure - missing override");const o=a.env&&a.env[i];return o?n(e,o,`${r}.overrides[${s}].env["${i}"]`):null}function makeChainWalker({root:e,env:t,overrides:r,overridesEnv:n,createLogger:s}){return function*(i,a,o=new Set,l){const{dirname:u}=i;const p=[];const f=e(i);if(configIsApplicable(f,u,a)){p.push({config:f,envName:undefined,index:undefined});const e=t(i,a.envName);if(e&&configIsApplicable(e,u,a)){p.push({config:e,envName:a.envName,index:undefined})}(f.options.overrides||[]).forEach((e,t)=>{const s=r(i,t);if(configIsApplicable(s,u,a)){p.push({config:s,index:t,envName:undefined});const e=n(i,t,a.envName);if(e&&configIsApplicable(e,u,a)){p.push({config:e,index:t,envName:a.envName})}}})}if(p.some(({config:{options:{ignore:e,only:t}}})=>shouldIgnore(a,e,t,u))){return null}const c=emptyChain();const d=s(i,a,l);for(const{config:e,index:t,envName:r}of p){if(!(yield*mergeExtendsChain(c,e.options,u,a,o,l))){return null}d(e,t,r);yield*mergeChainOpts(c,e)}return c}}function*mergeExtendsChain(e,t,r,n,s,i){if(t.extends===undefined)return true;const o=yield*(0,a.loadConfig)(t.extends,r,n.envName,n.caller);if(s.has(o)){throw new Error(`Configuration cycle detected loading ${o.filepath}.\n`+`File already loaded following the config chain:\n`+Array.from(s,e=>` - ${e.filepath}`).join("\n"))}s.add(o);const l=yield*loadFileChain(h(o),n,s,i);s.delete(o);if(!l)return false;mergeChain(e,l);return true}function mergeChain(e,t){e.options.push(...t.options);e.plugins.push(...t.plugins);e.presets.push(...t.presets);for(const r of t.files){e.files.add(r)}return e}function*mergeChainOpts(e,{options:t,plugins:r,presets:n}){e.options.push(t);e.plugins.push(...yield*r());e.presets.push(...yield*n());return e}function emptyChain(){return{options:[],presets:[],plugins:[],files:new Set}}function normalizeOptions(e){const t=Object.assign({},e);delete t.extends;delete t.env;delete t.overrides;delete t.plugins;delete t.presets;delete t.passPerPreset;delete t.ignore;delete t.only;delete t.test;delete t.include;delete t.exclude;if(Object.prototype.hasOwnProperty.call(t,"sourceMap")){t.sourceMaps=t.sourceMap;delete t.sourceMap}return t}function dedupDescriptors(e){const t=new Map;const r=[];for(const n of e){if(typeof n.value==="function"){const e=n.value;let s=t.get(e);if(!s){s=new Map;t.set(e,s)}let i=s.get(n.name);if(!i){i={value:n};r.push(i);if(!n.ownPass)s.set(n.name,i)}else{i.value=n}}else{r.push({value:n})}}return r.reduce((e,t)=>{e.push(t.value);return e},[])}function configIsApplicable({options:e},t,r){return(e.test===undefined||configFieldIsApplicable(r,e.test,t))&&(e.include===undefined||configFieldIsApplicable(r,e.include,t))&&(e.exclude===undefined||!configFieldIsApplicable(r,e.exclude,t))}function configFieldIsApplicable(e,t,r){const n=Array.isArray(t)?t:[t];return matchesPatterns(e,n,r)}function shouldIgnore(e,t,r,n){if(t&&matchesPatterns(e,t,n)){var s;const r=`No config is applied to "${(s=e.filename)!=null?s:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(t)}\` from "${n}"`;u(r);if(e.showConfig){console.log(r)}return true}if(r&&!matchesPatterns(e,r,n)){var i;const t=`No config is applied to "${(i=e.filename)!=null?i:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(r)}\` from "${n}"`;u(t);if(e.showConfig){console.log(t)}return true}return false}function matchesPatterns(e,t,r){return t.some(t=>matchPattern(t,r,e.filename,e))}function matchPattern(e,t,r,n){if(typeof e==="function"){return!!e(r,{dirname:t,envName:n.envName,caller:n.caller})}if(typeof r!=="string"){throw new Error(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`)}if(typeof e==="string"){e=(0,s.default)(e,t)}return e.test(r)}},58945:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createCachedDescriptors=createCachedDescriptors;t.createUncachedDescriptors=createUncachedDescriptors;t.createDescriptor=createDescriptor;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(71120);var s=r(75349);var i=r(90258);var a=r(27690);function isEqualDescriptor(e,t){return e.name===t.name&&e.value===t.value&&e.options===t.options&&e.dirname===t.dirname&&e.alias===t.alias&&e.ownPass===t.ownPass&&(e.file&&e.file.request)===(t.file&&t.file.request)&&(e.file&&e.file.resolved)===(t.file&&t.file.resolved)}function*handlerOf(e){return e}function optionsWithResolvedBrowserslistConfigFile(e,t){if(typeof e.browserslistConfigFile==="string"){e.browserslistConfigFile=(0,a.resolveBrowserslistConfigFile)(e.browserslistConfigFile,t)}return e}function createCachedDescriptors(e,t,r){const{plugins:n,presets:s,passPerPreset:i}=t;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),plugins:n?()=>p(n,e)(r):()=>handlerOf([]),presets:s?()=>l(s,e)(r)(!!i):()=>handlerOf([])}}function createUncachedDescriptors(e,t,r){let n;let s;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),*plugins(){if(!n){n=yield*createPluginDescriptors(t.plugins||[],e,r)}return n},*presets(){if(!s){s=yield*createPresetDescriptors(t.presets||[],e,r,!!t.passPerPreset)}return s}}}const o=new WeakMap;const l=(0,i.makeWeakCacheSync)((e,t)=>{const r=t.using(e=>e);return(0,i.makeStrongCacheSync)(t=>(0,i.makeStrongCache)(function*(n){const s=yield*createPresetDescriptors(e,r,t,n);return s.map(e=>loadCachedDescriptor(o,e))}))});const u=new WeakMap;const p=(0,i.makeWeakCacheSync)((e,t)=>{const r=t.using(e=>e);return(0,i.makeStrongCache)(function*(t){const n=yield*createPluginDescriptors(e,r,t);return n.map(e=>loadCachedDescriptor(u,e))})});const f={};function loadCachedDescriptor(e,t){const{value:r,options:n=f}=t;if(n===false)return t;let s=e.get(r);if(!s){s=new WeakMap;e.set(r,s)}let i=s.get(n);if(!i){i=[];s.set(n,i)}if(i.indexOf(t)===-1){const e=i.filter(e=>isEqualDescriptor(e,t));if(e.length>0){return e[0]}i.push(t)}return t}function*createPresetDescriptors(e,t,r,n){return yield*createDescriptors("preset",e,t,r,n)}function*createPluginDescriptors(e,t,r){return yield*createDescriptors("plugin",e,t,r)}function*createDescriptors(e,t,r,n,s){const i=yield*_gensync().all(t.map((t,i)=>createDescriptor(t,r,{type:e,alias:`${n}$${i}`,ownPass:!!s})));assertNoDuplicates(i);return i}function*createDescriptor(e,t,{type:r,alias:i,ownPass:a}){const o=(0,s.getItemDescriptor)(e);if(o){return o}let l;let u;let p=e;if(Array.isArray(p)){if(p.length===3){[p,u,l]=p}else{[p,u]=p}}let f=undefined;let c=null;if(typeof p==="string"){if(typeof r!=="string"){throw new Error("To resolve a string-based item, the type of item must be given")}const e=r==="plugin"?n.loadPlugin:n.loadPreset;const s=p;({filepath:c,value:p}=yield*e(p,t));f={request:s,resolved:c}}if(!p){throw new Error(`Unexpected falsy value: ${String(p)}`)}if(typeof p==="object"&&p.__esModule){if(p.default){p=p.default}else{throw new Error("Must export a default export when using ES6 modules.")}}if(typeof p!=="object"&&typeof p!=="function"){throw new Error(`Unsupported format: ${typeof p}. Expected an object or a function.`)}if(c!==null&&typeof p==="object"&&p){throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${c}`)}return{name:l,alias:c||i,value:p,options:u,dirname:t,ownPass:a,file:f}}function assertNoDuplicates(e){const t=new Map;for(const r of e){if(typeof r.value!=="function")continue;let n=t.get(r.value);if(!n){n=new Set;t.set(r.value,n)}if(n.has(r.name)){const t=e.filter(e=>e.value===r.value);throw new Error([`Duplicate plugin/preset detected.`,`If you'd like to use two separate instances of a plugin,`,`they need separate names, e.g.`,``,` plugins: [`,` ['some-plugin', {}],`,` ['some-plugin', {}, 'some unique name'],`,` ]`,``,`Duplicates detected are:`,`${JSON.stringify(t,null,2)}`].join("\n"))}n.add(r.name)}}},35244:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findConfigUpwards=findConfigUpwards;t.findRelativeConfig=findRelativeConfig;t.findRootConfig=findRootConfig;t.loadConfig=loadConfig;t.resolveShowConfigPath=resolveShowConfigPath;t.ROOT_CONFIG_FILENAMES=void 0;function _debug(){const e=r(31185);_debug=function(){return e};return e}function _fs(){const e=r(35747);_fs=function(){return e};return e}function _path(){const e=r(85622);_path=function(){return e};return e}function _json(){const e=r(33170);_json=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(90258);var s=r(15113);var i=r(81383);var a=r(67365);var o=r(9175);var l=r(30420);function _module(){const e=r(32282);_module=function(){return e};return e}const u=_debug()("babel:config:loading:files:configuration");const p=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json"];t.ROOT_CONFIG_FILENAMES=p;const f=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json"];const c=".babelignore";function findConfigUpwards(e){let t=e;for(;;){for(const e of p){if(_fs().existsSync(_path().join(t,e))){return t}}const e=_path().dirname(t);if(t===e)break;t=e}return null}function*findRelativeConfig(e,t,r){let n=null;let s=null;const i=_path().dirname(e.filepath);for(const o of e.directories){if(!n){var a;n=yield*loadOneConfig(f,o,t,r,((a=e.pkg)==null?void 0:a.dirname)===o?m(e.pkg):null)}if(!s){const e=_path().join(o,c);s=yield*h(e);if(s){u("Found ignore %o from %o.",s.filepath,i)}}}return{config:n,ignore:s}}function findRootConfig(e,t,r){return loadOneConfig(p,e,t,r)}function*loadOneConfig(e,t,r,n,s=null){const i=yield*_gensync().all(e.map(e=>readConfig(_path().join(t,e),r,n)));const a=i.reduce((e,r)=>{if(r&&e){throw new Error(`Multiple configuration files found. Please remove one:\n`+` - ${_path().basename(e.filepath)}\n`+` - ${r.filepath}\n`+`from ${t}`)}return r||e},s);if(a){u("Found configuration %o from %o.",a.filepath,t)}return a}function*loadConfig(e,t,n,s){const i=(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(e,{paths:[t]});const a=yield*readConfig(i,n,s);if(!a){throw new Error(`Config file ${i} contains no configuration data`)}u("Loaded config %o from %o.",e,t);return a}function readConfig(e,t,r){const n=_path().extname(e);return n===".js"||n===".cjs"||n===".mjs"?y(e,{envName:t,caller:r}):T(e)}const d=new Set;const y=(0,n.makeStrongCache)(function*readConfigJS(e,t){if(!_fs().existsSync(e)){t.never();return null}if(d.has(e)){t.never();u("Auto-ignoring usage of config %o.",e);return{filepath:e,dirname:_path().dirname(e),options:{}}}let r;try{d.add(e);r=yield*(0,a.default)(e,"You appear to be using a native ECMAScript module configuration "+"file, which is only supported when running Babel asynchronously.")}catch(t){t.message=`${e}: Error while loading config - ${t.message}`;throw t}finally{d.delete(e)}let n=false;if(typeof r==="function"){yield*[];r=r((0,s.makeConfigAPI)(t));n=true}if(!r||typeof r!=="object"||Array.isArray(r)){throw new Error(`${e}: Configuration should be an exported JavaScript object.`)}if(typeof r.then==="function"){throw new Error(`You appear to be using an async configuration, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously return your config.`)}if(n&&!t.configured())throwConfigError();return{filepath:e,dirname:_path().dirname(e),options:r}});const m=(0,n.makeWeakCacheSync)(e=>{const t=e.options["babel"];if(typeof t==="undefined")return null;if(typeof t!=="object"||Array.isArray(t)||t===null){throw new Error(`${e.filepath}: .babel property must be an object`)}return{filepath:e.filepath,dirname:e.dirname,options:t}});const T=(0,i.makeStaticFileCache)((e,t)=>{let r;try{r=_json().parse(t)}catch(t){t.message=`${e}: Error while parsing config - ${t.message}`;throw t}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new Error(`${e}: Config returned typeof ${typeof r}`)}if(Array.isArray(r)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:r}});const h=(0,i.makeStaticFileCache)((e,t)=>{const r=_path().dirname(e);const n=t.split("\n").map(e=>e.replace(/#(.*?)$/,"").trim()).filter(e=>!!e);for(const e of n){if(e[0]==="!"){throw new Error(`Negation of file paths is not supported.`)}}return{filepath:e,dirname:_path().dirname(e),ignore:n.map(e=>(0,o.default)(e,r))}});function*resolveShowConfigPath(e){const t=process.env.BABEL_SHOW_CONFIG_FOR;if(t!=null){const r=_path().resolve(e,t);const n=yield*l.stat(r);if(!n.isFile()){throw new Error(`${r}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`)}return r}return null}function throwConfigError(){throw new Error(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don't call this function again.\n api.cache(true);\n\n // Don't cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === "production");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};`)}},71450:(e,t,r)=>{"use strict";var n;n={value:true};t.Z=import_;function import_(e){return r(78409)(e)}},71120:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"findPackageData",{enumerable:true,get:function(){return n.findPackageData}});Object.defineProperty(t,"findConfigUpwards",{enumerable:true,get:function(){return s.findConfigUpwards}});Object.defineProperty(t,"findRelativeConfig",{enumerable:true,get:function(){return s.findRelativeConfig}});Object.defineProperty(t,"findRootConfig",{enumerable:true,get:function(){return s.findRootConfig}});Object.defineProperty(t,"loadConfig",{enumerable:true,get:function(){return s.loadConfig}});Object.defineProperty(t,"resolveShowConfigPath",{enumerable:true,get:function(){return s.resolveShowConfigPath}});Object.defineProperty(t,"ROOT_CONFIG_FILENAMES",{enumerable:true,get:function(){return s.ROOT_CONFIG_FILENAMES}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return i.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return i.resolvePreset}});Object.defineProperty(t,"loadPlugin",{enumerable:true,get:function(){return i.loadPlugin}});Object.defineProperty(t,"loadPreset",{enumerable:true,get:function(){return i.loadPreset}});var n=r(31366);var s=r(35244);var i=r(231);({})},67365:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadCjsOrMjsDefault;var n=r(75581);function _path(){const e=r(85622);_path=function(){return e};return e}function _url(){const e=r(78835);_url=function(){return e};return e}function _module(){const e=r(32282);_module=function(){return e};return e}function asyncGeneratorStep(e,t,r,n,s,i,a){try{var o=e[i](a);var l=o.value}catch(e){r(e);return}if(o.done){t(l)}else{Promise.resolve(l).then(n,s)}}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise(function(n,s){var i=e.apply(t,r);function _next(e){asyncGeneratorStep(i,n,s,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(i,n,s,_next,_throw,"throw",e)}_next(undefined)})}}let s;try{s=r(71450).Z}catch(e){}function*loadCjsOrMjsDefault(e,t,r=false){switch(guessJSModuleType(e)){case"cjs":return loadCjsDefault(e,r);case"unknown":try{return loadCjsDefault(e,r)}catch(e){if(e.code!=="ERR_REQUIRE_ESM")throw e}case"mjs":if(yield*(0,n.isAsync)()){return yield*(0,n.waitFor)(loadMjsDefault(e))}throw new Error(t)}}function guessJSModuleType(e){switch(_path().extname(e)){case".cjs":return"cjs";case".mjs":return"mjs";default:return"unknown"}}function loadCjsDefault(e,t){const r=require(e);return r!=null&&r.__esModule?r.default||(t?r:undefined):r}function loadMjsDefault(e){return _loadMjsDefault.apply(this,arguments)}function _loadMjsDefault(){_loadMjsDefault=_asyncToGenerator(function*(e){if(!s){throw new Error("Internal error: Native ECMAScript modules aren't supported"+" by this platform.\n")}const t=yield s((0,_url().pathToFileURL)(e));return t.default});return _loadMjsDefault.apply(this,arguments)}},31366:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findPackageData=findPackageData;function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(81383);const s="package.json";function*findPackageData(e){let t=null;const r=[];let n=true;let a=_path().dirname(e);while(!t&&_path().basename(a)!=="node_modules"){r.push(a);t=yield*i(_path().join(a,s));const e=_path().dirname(a);if(a===e){n=false;break}a=e}return{filepath:e,directories:r,pkg:t,isPackage:n}}const i=(0,n.makeStaticFileCache)((e,t)=>{let r;try{r=JSON.parse(t)}catch(t){t.message=`${e}: Error while parsing JSON - ${t.message}`;throw t}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new Error(`${e}: Config returned typeof ${typeof r}`)}if(Array.isArray(r)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:r}})},231:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolvePlugin=resolvePlugin;t.resolvePreset=resolvePreset;t.loadPlugin=loadPlugin;t.loadPreset=loadPreset;function _debug(){const e=r(31185);_debug=function(){return e};return e}function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(67365);function _module(){const e=r(32282);_module=function(){return e};return e}const s=_debug()("babel:config:loading:files:plugins");const i=/^module:/;const a=/^(?!@|module:|[^/]+\/|babel-plugin-)/;const o=/^(?!@|module:|[^/]+\/|babel-preset-)/;const l=/^(@babel\/)(?!plugin-|[^/]+\/)/;const u=/^(@babel\/)(?!preset-|[^/]+\/)/;const p=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/;const f=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/;const c=/^(@(?!babel$)[^/]+)$/;function resolvePlugin(e,t){return resolveStandardizedName("plugin",e,t)}function resolvePreset(e,t){return resolveStandardizedName("preset",e,t)}function*loadPlugin(e,t){const r=resolvePlugin(e,t);if(!r){throw new Error(`Plugin ${e} not found relative to ${t}`)}const n=yield*requireModule("plugin",r);s("Loaded plugin %o from %o.",e,t);return{filepath:r,value:n}}function*loadPreset(e,t){const r=resolvePreset(e,t);if(!r){throw new Error(`Preset ${e} not found relative to ${t}`)}const n=yield*requireModule("preset",r);s("Loaded preset %o from %o.",e,t);return{filepath:r,value:n}}function standardizeName(e,t){if(_path().isAbsolute(t))return t;const r=e==="preset";return t.replace(r?o:a,`babel-${e}-`).replace(r?u:l,`$1${e}-`).replace(r?f:p,`$1babel-${e}-`).replace(c,`$1/babel-${e}`).replace(i,"")}function resolveStandardizedName(e,t,n=process.cwd()){const s=standardizeName(e,t);try{return(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(s,{paths:[n]})}catch(i){if(i.code!=="MODULE_NOT_FOUND")throw i;if(s!==t){let e=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(t,{paths:[n]});e=true}catch(e){}if(e){i.message+=`\n- If you want to resolve "${t}", use "module:${t}"`}}let a=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(standardizeName(e,"@babel/"+t),{paths:[n]});a=true}catch(e){}if(a){i.message+=`\n- Did you mean "@babel/${t}"?`}let o=false;const l=e==="preset"?"plugin":"preset";try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(standardizeName(l,t),{paths:[n]});o=true}catch(e){}if(o){i.message+=`\n- Did you accidentally pass a ${l} as a ${e}?`}throw i}}const d=new Set;function*requireModule(e,t){if(d.has(t)){throw new Error(`Reentrant ${e} detected trying to load "${t}". This module is not ignored `+"and is trying to load itself while compiling itself, leading to a dependency cycle. "+'We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.')}try{d.add(t);return yield*(0,n.default)(t,`You appear to be using a native ECMAScript module ${e}, `+"which is only supported when running Babel asynchronously.",true)}catch(e){e.message=`[BABEL]: ${e.message} (While processing: ${t})`;throw e}finally{d.delete(t)}}},81383:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeStaticFileCache=makeStaticFileCache;var n=r(90258);var s=r(30420);function _fs2(){const e=r(35747);_fs2=function(){return e};return e}function makeStaticFileCache(e){return(0,n.makeStrongCache)(function*(t,r){const n=r.invalidate(()=>fileMtime(t));if(n===null){return null}return e(t,yield*s.readFile(t,"utf8"))})}function fileMtime(e){if(!_fs2().existsSync(e))return null;try{return+_fs2().statSync(e).mtime}catch(e){if(e.code!=="ENOENT"&&e.code!=="ENOTDIR")throw e}return null}},6504:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(75581);var s=r(11954);var i=r(7651);var a=r(78543);var o=r(75349);var l=r(92076);function _traverse(){const e=r(4267);_traverse=function(){return e};return e}var u=r(90258);var p=r(90727);var f=r(42164);var c=r(15113);var d=r(64566);var y=r(93861);var m=_gensync()(function*loadFullConfig(e){var t;const r=yield*(0,d.default)(e);if(!r){return null}const{options:n,context:i,fileHandling:a}=r;if(a==="ignored"){return null}const l={};const{plugins:u,presets:f}=n;if(!u||!f){throw new Error("Assertion failure - plugins and presets exist")}const c=Object.assign({},i,{targets:n.targets});const y=e=>{const t=(0,o.getItemDescriptor)(e);if(!t){throw new Error("Assertion failure - must be config item")}return t};const m=f.map(y);const T=u.map(y);const h=[[]];const S=[];const b=yield*enhanceError(i,function*recursePresetDescriptors(e,t){const r=[];for(let n=0;n0){h.splice(1,0,...r.map(e=>e.pass).filter(e=>e!==t));for(const{preset:e,pass:t}of r){if(!e)return true;t.push(...e.plugins);const r=yield*recursePresetDescriptors(e.presets,t);if(r)return true;e.options.forEach(e=>{(0,s.mergeOptions)(l,e)})}}})(m,h[0]);if(b)return null;const E=l;(0,s.mergeOptions)(E,n);const g=Object.assign({},c,{assumptions:(t=E.assumptions)!=null?t:{}});yield*enhanceError(i,function*loadPluginDescriptors(){h[0].unshift(...T);for(const e of h){const t=[];S.push(t);for(let r=0;re.length>0).map(e=>({plugins:e}));E.passPerPreset=E.presets.length>0;return{options:E,passes:S}});t.default=m;function enhanceError(e,t){return function*(r,n){try{return yield*t(r,n)}catch(t){if(!/^\[BABEL\]/.test(t.message)){t.message=`[BABEL] ${e.filename||"unknown"}: ${t.message}`}throw t}}}const T=e=>(0,u.makeWeakCache)(function*({value:t,options:r,dirname:s,alias:a},o){if(r===false)throw new Error("Assertion failure");r=r||{};let l=t;if(typeof t==="function"){const u=(0,n.maybeAsync)(t,`You appear to be using an async plugin/preset, but Babel has been called synchronously`);const p=Object.assign({},i,e(o));try{l=yield*u(p,r,s)}catch(e){if(a){e.message+=` (While processing: ${JSON.stringify(a)})`}throw e}}if(!l||typeof l!=="object"){throw new Error("Plugin/Preset did not return an object.")}if((0,n.isThenable)(l)){yield*[];throw new Error(`You appear to be using a promise as a plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version. `+`As an alternative, you can prefix the promise with "await". `+`(While processing: ${JSON.stringify(a)})`)}return{value:l,options:r,dirname:s,alias:a}});const h=T(c.makePluginAPI);const S=T(c.makePresetAPI);function*loadPluginDescriptor(e,t){if(e.value instanceof a.default){if(e.options){throw new Error("Passed options to an existing Plugin instance will not work.")}return e.value}return yield*b(yield*h(e,t),t)}const b=(0,u.makeWeakCache)(function*({value:e,options:t,dirname:r,alias:s},i){const o=(0,f.validatePluginObject)(e);const l=Object.assign({},o);if(l.visitor){l.visitor=_traverse().default.explode(Object.assign({},l.visitor))}if(l.inherits){const e={name:undefined,alias:`${s}$inherits`,value:l.inherits,options:t,dirname:r};const a=yield*(0,n.forwardAsync)(loadPluginDescriptor,t=>{return i.invalidate(r=>t(e,r))});l.pre=chain(a.pre,l.pre);l.post=chain(a.post,l.post);l.manipulateOptions=chain(a.manipulateOptions,l.manipulateOptions);l.visitor=_traverse().default.visitors.merge([a.visitor||{},l.visitor||{}])}return new a.default(l,t,s)});const E=(e,t)=>{if(e.test||e.include||e.exclude){const e=t.name?`"${t.name}"`:"/* your preset */";throw new Error([`Preset ${e} requires a filename to be set when babel is called directly,`,`\`\`\``,`babel.transform(code, { filename: 'file.ts', presets: [${e}] });`,`\`\`\``,`See https://babeljs.io/docs/en/options#filename for more information.`].join("\n"))}};const g=(e,t,r)=>{if(!t.filename){const{options:t}=e;E(t,r);if(t.overrides){t.overrides.forEach(e=>E(e,r))}}};function*loadPresetDescriptor(e,t){const r=P(yield*S(e,t));g(r,t,e);return yield*(0,l.buildPresetChain)(r,t)}const P=(0,u.makeWeakCacheSync)(({value:e,dirname:t,alias:r})=>{return{options:(0,p.validate)("preset",e),alias:r,dirname:t}});function chain(e,t){const r=[e,t].filter(Boolean);if(r.length<=1)return r[0];return function(...e){for(const t of r){t.apply(this,e)}}}},15113:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeConfigAPI=makeConfigAPI;t.makePresetAPI=makePresetAPI;t.makePluginAPI=makePluginAPI;function _semver(){const e=r(62519);_semver=function(){return e};return e}var n=r(7651);var s=r(90258);var i=r(93861);function makeConfigAPI(e){const t=t=>e.using(e=>{if(typeof t==="undefined")return e.envName;if(typeof t==="function"){return(0,s.assertSimpleType)(t(e.envName))}if(!Array.isArray(t))t=[t];return t.some(t=>{if(typeof t!=="string"){throw new Error("Unexpected non-string value")}return t===e.envName})});const r=t=>e.using(e=>(0,s.assertSimpleType)(t(e.caller)));return{version:n.version,cache:e.simple(),env:t,async:()=>false,caller:r,assertVersion:assertVersion}}function makePresetAPI(e){const t=()=>JSON.parse(e.using(e=>JSON.stringify(e.targets)));return Object.assign({},makeConfigAPI(e),{targets:t})}function makePluginAPI(e){const t=t=>e.using(e=>e.assumptions[t]);return Object.assign({},makePresetAPI(e),{assumption:t})}function assertVersion(e){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}if(_semver().satisfies(n.version,e))return;const t=Error.stackTraceLimit;if(typeof t==="number"&&t<25){Error.stackTraceLimit=25}const r=new Error(`Requires Babel "${e}", but was loaded with "${n.version}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`);if(typeof t==="number"){Error.stackTraceLimit=t}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:n.version,range:e})}},86694:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getEnv=getEnv;function getEnv(e="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||e}},40152:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createConfigItem=createConfigItem;Object.defineProperty(t,"default",{enumerable:true,get:function(){return n.default}});t.createConfigItemAsync=t.createConfigItemSync=t.loadOptionsAsync=t.loadOptionsSync=t.loadOptions=t.loadPartialConfigAsync=t.loadPartialConfigSync=t.loadPartialConfig=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(6504);var s=r(64566);var i=r(75349);const a=_gensync()(function*(e){var t;const r=yield*(0,n.default)(e);return(t=r==null?void 0:r.options)!=null?t:null});const o=_gensync()(i.createConfigItem);const l=e=>(t,r)=>{if(r===undefined&&typeof t==="function"){r=t;t=undefined}return r?e.errback(t,r):e.sync(t)};const u=l(s.loadPartialConfig);t.loadPartialConfig=u;const p=s.loadPartialConfig.sync;t.loadPartialConfigSync=p;const f=s.loadPartialConfig.async;t.loadPartialConfigAsync=f;const c=l(a);t.loadOptions=c;const d=a.sync;t.loadOptionsSync=d;const y=a.async;t.loadOptionsAsync=y;const m=o.sync;t.createConfigItemSync=m;const T=o.async;t.createConfigItemAsync=T;function createConfigItem(e,t,r){if(r!==undefined){return o.errback(e,t,r)}else if(typeof t==="function"){return o.errback(e,undefined,r)}else{return o.sync(e,t)}}},75349:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createItemFromDescriptor=createItemFromDescriptor;t.createConfigItem=createConfigItem;t.getItemDescriptor=getItemDescriptor;function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(58945);function createItemFromDescriptor(e){return new ConfigItem(e)}function*createConfigItem(e,{dirname:t=".",type:r}={}){const s=yield*(0,n.createDescriptor)(e,_path().resolve(t),{type:r,alias:"programmatic item"});return createItemFromDescriptor(s)}function getItemDescriptor(e){if(e!=null&&e[s]){return e._descriptor}return undefined}const s=Symbol.for("@babel/core@7 - ConfigItem");class ConfigItem{constructor(e){this._descriptor=void 0;this[s]=true;this.value=void 0;this.options=void 0;this.dirname=void 0;this.name=void 0;this.file=void 0;this._descriptor=e;Object.defineProperty(this,"_descriptor",{enumerable:false});Object.defineProperty(this,s,{enumerable:false});this.value=this._descriptor.value;this.options=this._descriptor.options;this.dirname=this._descriptor.dirname;this.name=this._descriptor.name;this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:undefined;Object.freeze(this)}}Object.freeze(ConfigItem.prototype)},64566:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadPrivatePartialConfig;t.loadPartialConfig=void 0;function _path(){const e=r(85622);_path=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(78543);var s=r(11954);var i=r(75349);var a=r(92076);var o=r(86694);var l=r(90727);var u=r(71120);var p=r(27690);const f=["showIgnoredFiles"];function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var s,i;for(i=0;i=0)continue;r[s]=e[s]}return r}function resolveRootMode(e,t){switch(t){case"root":return e;case"upward-optional":{const t=(0,u.findConfigUpwards)(e);return t===null?e:t}case"upward":{const t=(0,u.findConfigUpwards)(e);if(t!==null)return t;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not `+`be found when searching upward from "${e}".\n`+`One of the following config files must be in the directory tree: `+`"${u.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error(`Assertion failure - unknown rootMode value.`)}}function*loadPrivatePartialConfig(e){if(e!=null&&(typeof e!=="object"||Array.isArray(e))){throw new Error("Babel options must be an object, null, or undefined")}const t=e?(0,l.validate)("arguments",e):{};const{envName:r=(0,o.getEnv)(),cwd:n=".",root:f=".",rootMode:c="root",caller:d,cloneInputAst:y=true}=t;const m=_path().resolve(n);const T=resolveRootMode(_path().resolve(m,f),c);const h=typeof t.filename==="string"?_path().resolve(n,t.filename):undefined;const S=yield*(0,u.resolveShowConfigPath)(m);const b={filename:h,cwd:m,root:T,envName:r,caller:d,showConfig:S===h};const E=yield*(0,a.buildRootChain)(t,b);if(!E)return null;const g={assumptions:{}};E.options.forEach(e=>{(0,s.mergeOptions)(g,e)});const P=Object.assign({},g,{targets:(0,p.resolveTargets)(g,T),cloneInputAst:y,babelrc:false,configFile:false,browserslistConfigFile:false,passPerPreset:false,envName:b.envName,cwd:b.cwd,root:b.root,rootMode:"root",filename:typeof b.filename==="string"?b.filename:undefined,plugins:E.plugins.map(e=>(0,i.createItemFromDescriptor)(e)),presets:E.presets.map(e=>(0,i.createItemFromDescriptor)(e))});return{options:P,context:b,fileHandling:E.fileHandling,ignore:E.ignore,babelrc:E.babelrc,config:E.config,files:E.files}}const c=_gensync()(function*(e){let t=false;if(typeof e==="object"&&e!==null&&!Array.isArray(e)){var r=e;({showIgnoredFiles:t}=r);e=_objectWithoutPropertiesLoose(r,f);r}const s=yield*loadPrivatePartialConfig(e);if(!s)return null;const{options:i,babelrc:a,ignore:o,config:l,fileHandling:u,files:p}=s;if(u==="ignored"&&!t){return null}(i.plugins||[]).forEach(e=>{if(e.value instanceof n.default){throw new Error("Passing cached plugin instances is not supported in "+"babel.loadPartialConfig()")}});return new PartialConfig(i,a?a.filepath:undefined,o?o.filepath:undefined,l?l.filepath:undefined,u,p)});t.loadPartialConfig=c;class PartialConfig{constructor(e,t,r,n,s,i){this.options=void 0;this.babelrc=void 0;this.babelignore=void 0;this.config=void 0;this.fileHandling=void 0;this.files=void 0;this.options=e;this.babelignore=r;this.babelrc=t;this.config=n;this.fileHandling=s;this.files=i;Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==undefined||this.config!==undefined}}Object.freeze(PartialConfig.prototype)},9175:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=pathToPattern;function _path(){const e=r(85622);_path=function(){return e};return e}const n=`\\${_path().sep}`;const s=`(?:${n}|$)`;const i=`[^${n}]+`;const a=`(?:${i}${n})`;const o=`(?:${i}${s})`;const l=`${a}*?`;const u=`${a}*?${o}?`;function escapeRegExp(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}function pathToPattern(e,t){const r=_path().resolve(t,e).split(_path().sep);return new RegExp(["^",...r.map((e,t)=>{const p=t===r.length-1;if(e==="**")return p?u:l;if(e==="*")return p?o:a;if(e.indexOf("*.")===0){return i+escapeRegExp(e.slice(1))+(p?s:n)}return escapeRegExp(e)+(p?s:n)})].join(""))}},78543:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Plugin{constructor(e,t,r){this.key=void 0;this.manipulateOptions=void 0;this.post=void 0;this.pre=void 0;this.visitor=void 0;this.parserOverride=void 0;this.generatorOverride=void 0;this.options=void 0;this.key=e.name||r;this.manipulateOptions=e.manipulateOptions;this.post=e.post;this.pre=e.pre;this.visitor=e.visitor||{};this.parserOverride=e.parserOverride;this.generatorOverride=e.generatorOverride;this.options=t}}t.default=Plugin},75379:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConfigPrinter=t.ChainFormatter=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n={Programmatic:0,Config:1};t.ChainFormatter=n;const s={title(e,t,r){let s="";if(e===n.Programmatic){s="programmatic options";if(t){s+=" from "+t}}else{s="config "+r}return s},loc(e,t){let r="";if(e!=null){r+=`.overrides[${e}]`}if(t!=null){r+=`.env["${t}"]`}return r},*optionsAndDescriptors(e){const t=Object.assign({},e.options);delete t.overrides;delete t.env;const r=[...yield*e.plugins()];if(r.length){t.plugins=r.map(e=>descriptorToConfig(e))}const n=[...yield*e.presets()];if(n.length){t.presets=[...n].map(e=>descriptorToConfig(e))}return JSON.stringify(t,undefined,2)}};function descriptorToConfig(e){var t;let r=(t=e.file)==null?void 0:t.request;if(r==null){if(typeof e.value==="object"){r=e.value}else if(typeof e.value==="function"){r=`[Function: ${e.value.toString().substr(0,50)} ... ]`}}if(r==null){r="[Unknown]"}if(e.options===undefined){return r}else if(e.name==null){return[r,e.options]}else{return[r,e.options,e.name]}}class ConfigPrinter{constructor(){this._stack=[]}configure(e,t,{callerName:r,filepath:n}){if(!e)return()=>{};return(e,s,i)=>{this._stack.push({type:t,callerName:r,filepath:n,content:e,index:s,envName:i})}}static*format(e){let t=s.title(e.type,e.callerName,e.filepath);const r=s.loc(e.index,e.envName);if(r)t+=` ${r}`;const n=yield*s.optionsAndDescriptors(e.content);return`${t}\n${n}`}*output(){if(this._stack.length===0)return"";const e=yield*_gensync().all(this._stack.map(e=>ConfigPrinter.format(e)));return e.join("\n\n")}}t.ConfigPrinter=ConfigPrinter},27690:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveBrowserslistConfigFile=resolveBrowserslistConfigFile;t.resolveTargets=resolveTargets;function _path(){const e=r(85622);_path=function(){return e};return e}function _helperCompilationTargets(){const e=r(396);_helperCompilationTargets=function(){return e};return e}({});function resolveBrowserslistConfigFile(e,t){return _path().resolve(t,e)}function resolveTargets(e,t){let r=e.targets;if(typeof r==="string"||Array.isArray(r)){r={browsers:r}}if(r&&r.esmodules){r=Object.assign({},r,{esmodules:"intersect"})}const{browserslistConfigFile:n}=e;let s;let i=false;if(typeof n==="string"){s=n}else{i=n===false}return(0,_helperCompilationTargets().default)(r,{ignoreBrowserslistConfig:i,configFile:s,configPath:t,browserslistEnv:e.browserslistEnv})}},11954:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.mergeOptions=mergeOptions;t.isIterableIterator=isIterableIterator;function mergeOptions(e,t){for(const r of Object.keys(t)){if((r==="parserOpts"||r==="generatorOpts"||r==="assumptions")&&t[r]){const n=t[r];const s=e[r]||(e[r]={});mergeDefaultFields(s,n)}else{const n=t[r];if(n!==undefined)e[r]=n}}}function mergeDefaultFields(e,t){for(const r of Object.keys(t)){const n=t[r];if(n!==undefined)e[r]=n}}function isIterableIterator(e){return!!e&&typeof e.next==="function"&&typeof e[Symbol.iterator]==="function"}},92124:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.msg=msg;t.access=access;t.assertRootMode=assertRootMode;t.assertSourceMaps=assertSourceMaps;t.assertCompact=assertCompact;t.assertSourceType=assertSourceType;t.assertCallerMetadata=assertCallerMetadata;t.assertInputSourceMap=assertInputSourceMap;t.assertString=assertString;t.assertFunction=assertFunction;t.assertBoolean=assertBoolean;t.assertObject=assertObject;t.assertArray=assertArray;t.assertIgnoreList=assertIgnoreList;t.assertConfigApplicableTest=assertConfigApplicableTest;t.assertConfigFileSearch=assertConfigFileSearch;t.assertBabelrcSearch=assertBabelrcSearch;t.assertPluginList=assertPluginList;t.assertTargets=assertTargets;t.assertAssumptions=assertAssumptions;function _helperCompilationTargets(){const e=r(396);_helperCompilationTargets=function(){return e};return e}var n=r(90727);function msg(e){switch(e.type){case"root":return``;case"env":return`${msg(e.parent)}.env["${e.name}"]`;case"overrides":return`${msg(e.parent)}.overrides[${e.index}]`;case"option":return`${msg(e.parent)}.${e.name}`;case"access":return`${msg(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${e.type}`)}}function access(e,t){return{type:"access",name:t,parent:e}}function assertRootMode(e,t){if(t!==undefined&&t!=="root"&&t!=="upward"&&t!=="upward-optional"){throw new Error(`${msg(e)} must be a "root", "upward", "upward-optional" or undefined`)}return t}function assertSourceMaps(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="inline"&&t!=="both"){throw new Error(`${msg(e)} must be a boolean, "inline", "both", or undefined`)}return t}function assertCompact(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="auto"){throw new Error(`${msg(e)} must be a boolean, "auto", or undefined`)}return t}function assertSourceType(e,t){if(t!==undefined&&t!=="module"&&t!=="script"&&t!=="unambiguous"){throw new Error(`${msg(e)} must be "module", "script", "unambiguous", or undefined`)}return t}function assertCallerMetadata(e,t){const r=assertObject(e,t);if(r){if(typeof r.name!=="string"){throw new Error(`${msg(e)} set but does not contain "name" property string`)}for(const t of Object.keys(r)){const n=access(e,t);const s=r[t];if(s!=null&&typeof s!=="boolean"&&typeof s!=="string"&&typeof s!=="number"){throw new Error(`${msg(n)} must be null, undefined, a boolean, a string, or a number.`)}}}return t}function assertInputSourceMap(e,t){if(t!==undefined&&typeof t!=="boolean"&&(typeof t!=="object"||!t)){throw new Error(`${msg(e)} must be a boolean, object, or undefined`)}return t}function assertString(e,t){if(t!==undefined&&typeof t!=="string"){throw new Error(`${msg(e)} must be a string, or undefined`)}return t}function assertFunction(e,t){if(t!==undefined&&typeof t!=="function"){throw new Error(`${msg(e)} must be a function, or undefined`)}return t}function assertBoolean(e,t){if(t!==undefined&&typeof t!=="boolean"){throw new Error(`${msg(e)} must be a boolean, or undefined`)}return t}function assertObject(e,t){if(t!==undefined&&(typeof t!=="object"||Array.isArray(t)||!t)){throw new Error(`${msg(e)} must be an object, or undefined`)}return t}function assertArray(e,t){if(t!=null&&!Array.isArray(t)){throw new Error(`${msg(e)} must be an array, or undefined`)}return t}function assertIgnoreList(e,t){const r=assertArray(e,t);if(r){r.forEach((t,r)=>assertIgnoreItem(access(e,r),t))}return r}function assertIgnoreItem(e,t){if(typeof t!=="string"&&typeof t!=="function"&&!(t instanceof RegExp)){throw new Error(`${msg(e)} must be an array of string/Function/RegExp values, or undefined`)}return t}function assertConfigApplicableTest(e,t){if(t===undefined)return t;if(Array.isArray(t)){t.forEach((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a string/Function/RegExp, or an array of those`)}return t}function checkValidTest(e){return typeof e==="string"||typeof e==="function"||e instanceof RegExp}function assertConfigFileSearch(e,t){if(t!==undefined&&typeof t!=="boolean"&&typeof t!=="string"){throw new Error(`${msg(e)} must be a undefined, a boolean, a string, `+`got ${JSON.stringify(t)}`)}return t}function assertBabelrcSearch(e,t){if(t===undefined||typeof t==="boolean")return t;if(Array.isArray(t)){t.forEach((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a undefined, a boolean, a string/Function/RegExp `+`or an array of those, got ${JSON.stringify(t)}`)}return t}function assertPluginList(e,t){const r=assertArray(e,t);if(r){r.forEach((t,r)=>assertPluginItem(access(e,r),t))}return r}function assertPluginItem(e,t){if(Array.isArray(t)){if(t.length===0){throw new Error(`${msg(e)} must include an object`)}if(t.length>3){throw new Error(`${msg(e)} may only be a two-tuple or three-tuple`)}assertPluginTarget(access(e,0),t[0]);if(t.length>1){const r=t[1];if(r!==undefined&&r!==false&&(typeof r!=="object"||Array.isArray(r)||r===null)){throw new Error(`${msg(access(e,1))} must be an object, false, or undefined`)}}if(t.length===3){const r=t[2];if(r!==undefined&&typeof r!=="string"){throw new Error(`${msg(access(e,2))} must be a string, or undefined`)}}}else{assertPluginTarget(e,t)}return t}function assertPluginTarget(e,t){if((typeof t!=="object"||!t)&&typeof t!=="string"&&typeof t!=="function"){throw new Error(`${msg(e)} must be a string, object, function`)}return t}function assertTargets(e,t){if((0,_helperCompilationTargets().isBrowsersQueryValid)(t))return t;if(typeof t!=="object"||!t||Array.isArray(t)){throw new Error(`${msg(e)} must be a string, an array of strings or an object`)}const r=access(e,"browsers");const n=access(e,"esmodules");assertBrowsersList(r,t.browsers);assertBoolean(n,t.esmodules);for(const r of Object.keys(t)){const n=t[r];const s=access(e,r);if(r==="esmodules")assertBoolean(s,n);else if(r==="browsers")assertBrowsersList(s,n);else if(!Object.hasOwnProperty.call(_helperCompilationTargets().TargetNames,r)){const e=Object.keys(_helperCompilationTargets().TargetNames).join(", ");throw new Error(`${msg(s)} is not a valid target. Supported targets are ${e}`)}else assertBrowserVersion(s,n)}return t}function assertBrowsersList(e,t){if(t!==undefined&&!(0,_helperCompilationTargets().isBrowsersQueryValid)(t)){throw new Error(`${msg(e)} must be undefined, a string or an array of strings`)}}function assertBrowserVersion(e,t){if(typeof t==="number"&&Math.round(t)===t)return;if(typeof t==="string")return;throw new Error(`${msg(e)} must be a string or an integer number`)}function assertAssumptions(e,t){if(t===undefined)return;if(typeof t!=="object"||t===null){throw new Error(`${msg(e)} must be an object or undefined.`)}let r=e;do{r=r.parent}while(r.type!=="root");const s=r.source==="preset";for(const r of Object.keys(t)){const i=access(e,r);if(!n.assumptionsNames.has(r)){throw new Error(`${msg(i)} is not a supported assumption.`)}if(typeof t[r]!=="boolean"){throw new Error(`${msg(i)} must be a boolean.`)}if(s&&t[r]===false){throw new Error(`${msg(i)} cannot be set to 'false' inside presets.`)}}return t}},90727:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.checkNoUnwrappedItemOptionPairs=checkNoUnwrappedItemOptionPairs;t.assumptionsNames=void 0;var n=r(78543);var s=r(83022);var i=r(92124);const a={cwd:i.assertString,root:i.assertString,rootMode:i.assertRootMode,configFile:i.assertConfigFileSearch,caller:i.assertCallerMetadata,filename:i.assertString,filenameRelative:i.assertString,code:i.assertBoolean,ast:i.assertBoolean,cloneInputAst:i.assertBoolean,envName:i.assertString};const o={babelrc:i.assertBoolean,babelrcRoots:i.assertBabelrcSearch};const l={extends:i.assertString,ignore:i.assertIgnoreList,only:i.assertIgnoreList,targets:i.assertTargets,browserslistConfigFile:i.assertConfigFileSearch,browserslistEnv:i.assertString};const u={inputSourceMap:i.assertInputSourceMap,presets:i.assertPluginList,plugins:i.assertPluginList,passPerPreset:i.assertBoolean,assumptions:i.assertAssumptions,env:assertEnvSet,overrides:assertOverridesList,test:i.assertConfigApplicableTest,include:i.assertConfigApplicableTest,exclude:i.assertConfigApplicableTest,retainLines:i.assertBoolean,comments:i.assertBoolean,shouldPrintComment:i.assertFunction,compact:i.assertCompact,minified:i.assertBoolean,auxiliaryCommentBefore:i.assertString,auxiliaryCommentAfter:i.assertString,sourceType:i.assertSourceType,wrapPluginVisitorMethod:i.assertFunction,highlightCode:i.assertBoolean,sourceMaps:i.assertSourceMaps,sourceMap:i.assertSourceMaps,sourceFileName:i.assertString,sourceRoot:i.assertString,parserOpts:i.assertObject,generatorOpts:i.assertObject};{Object.assign(u,{getModuleId:i.assertFunction,moduleRoot:i.assertString,moduleIds:i.assertBoolean,moduleId:i.assertString})}const p=new Set(["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noIncompleteNsImportDetection","noNewArrows","objectRestNoSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"]);t.assumptionsNames=p;function getSource(e){return e.type==="root"?e.source:getSource(e.parent)}function validate(e,t){return validateNested({type:"root",source:e},t)}function validateNested(e,t){const r=getSource(e);assertNoDuplicateSourcemap(t);Object.keys(t).forEach(n=>{const s={type:"option",name:n,parent:e};if(r==="preset"&&l[n]){throw new Error(`${(0,i.msg)(s)} is not allowed in preset options`)}if(r!=="arguments"&&a[n]){throw new Error(`${(0,i.msg)(s)} is only allowed in root programmatic options`)}if(r!=="arguments"&&r!=="configfile"&&o[n]){if(r==="babelrcfile"||r==="extendsfile"){throw new Error(`${(0,i.msg)(s)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, `+`or babel.config.js/config file options`)}throw new Error(`${(0,i.msg)(s)} is only allowed in root programmatic options, or babel.config.js/config file options`)}const p=u[n]||l[n]||o[n]||a[n]||throwUnknownError;p(s,t[n])});return t}function throwUnknownError(e){const t=e.name;if(s.default[t]){const{message:r,version:n=5}=s.default[t];throw new Error(`Using removed Babel ${n} option: ${(0,i.msg)(e)} - ${r}`)}else{const t=new Error(`Unknown option: ${(0,i.msg)(e)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);t.code="BABEL_UNKNOWN_OPTION";throw t}}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function assertNoDuplicateSourcemap(e){if(has(e,"sourceMap")&&has(e,"sourceMaps")){throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}}function assertEnvSet(e,t){if(e.parent.type==="env"){throw new Error(`${(0,i.msg)(e)} is not allowed inside of another .env block`)}const r=e.parent;const n=(0,i.assertObject)(e,t);if(n){for(const t of Object.keys(n)){const s=(0,i.assertObject)((0,i.access)(e,t),n[t]);if(!s)continue;const a={type:"env",name:t,parent:r};validateNested(a,s)}}return n}function assertOverridesList(e,t){if(e.parent.type==="env"){throw new Error(`${(0,i.msg)(e)} is not allowed inside an .env block`)}if(e.parent.type==="overrides"){throw new Error(`${(0,i.msg)(e)} is not allowed inside an .overrides block`)}const r=e.parent;const n=(0,i.assertArray)(e,t);if(n){for(const[t,s]of n.entries()){const n=(0,i.access)(e,t);const a=(0,i.assertObject)(n,s);if(!a)throw new Error(`${(0,i.msg)(n)} must be an object`);const o={type:"overrides",index:t,parent:r};validateNested(o,a)}}return n}function checkNoUnwrappedItemOptionPairs(e,t,r,n){if(t===0)return;const s=e[t-1];const i=e[t];if(s.file&&s.options===undefined&&typeof i.value==="object"){n.message+=`\n- Maybe you meant to use\n`+`"${r}s": [\n ["${s.file.request}", ${JSON.stringify(i.value,undefined,2)}]\n]\n`+`To be a valid ${r}, its name and options should be wrapped in a pair of brackets`}}},42164:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validatePluginObject=validatePluginObject;var n=r(92124);const s={name:n.assertString,manipulateOptions:n.assertFunction,pre:n.assertFunction,post:n.assertFunction,inherits:n.assertFunction,visitor:assertVisitorMap,parserOverride:n.assertFunction,generatorOverride:n.assertFunction};function assertVisitorMap(e,t){const r=(0,n.assertObject)(e,t);if(r){Object.keys(r).forEach(e=>assertVisitorHandler(e,r[e]));if(r.enter||r.exit){throw new Error(`${(0,n.msg)(e)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`)}}return r}function assertVisitorHandler(e,t){if(t&&typeof t==="object"){Object.keys(t).forEach(t=>{if(t!=="enter"&&t!=="exit"){throw new Error(`.visitor["${e}"] may only have .enter and/or .exit handlers.`)}})}else if(typeof t!=="function"){throw new Error(`.visitor["${e}"] must be a function`)}return t}function validatePluginObject(e){const t={type:"root",source:"plugin"};Object.keys(e).forEach(r=>{const n=s[r];if(n){const s={type:"option",name:r,parent:t};n(s,e[r])}else{const e=new Error(`.${r} is not a valid Plugin property`);e.code="BABEL_UNKNOWN_PLUGIN_PROPERTY";throw e}});return e}},83022:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. "+"Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. "+"Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using "+"or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. "+"Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. "+"Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the "+"tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling "+"that calls Babel to assign `map.file` themselves."}};t.default=r},75581:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.maybeAsync=maybeAsync;t.forwardAsync=forwardAsync;t.isThenable=isThenable;t.waitFor=t.onFirstPause=t.isAsync=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n=e=>e;const s=_gensync()(function*(e){return yield*e});const i=_gensync()({sync:()=>false,errback:e=>e(null,true)});t.isAsync=i;function maybeAsync(e,t){return _gensync()({sync(...r){const n=e.apply(this,r);if(isThenable(n))throw new Error(t);return n},async(...t){return Promise.resolve(e.apply(this,t))}})}const a=_gensync()({sync:e=>e("sync"),async:e=>e("async")});function forwardAsync(e,t){const r=_gensync()(e);return a(e=>{const n=r[e];return t(n)})}const o=_gensync()({name:"onFirstPause",arity:2,sync:function(e){return s.sync(e)},errback:function(e,t,r){let n=false;s.errback(e,(e,t)=>{n=true;r(e,t)});if(!n){t()}}});t.onFirstPause=o;const l=_gensync()({sync:n,async:n});t.waitFor=l;function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},30420:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stat=t.readFile=void 0;function _fs(){const e=r(35747);_fs=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n=_gensync()({sync:_fs().readFileSync,errback:_fs().readFile});t.readFile=n;const s=_gensync()({sync:_fs().statSync,errback:_fs().stat});t.stat=s},7651:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Plugin=Plugin;Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"buildExternalHelpers",{enumerable:true,get:function(){return s.default}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return i.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return i.resolvePreset}});Object.defineProperty(t,"getEnv",{enumerable:true,get:function(){return a.getEnv}});Object.defineProperty(t,"tokTypes",{enumerable:true,get:function(){return _parser().tokTypes}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return _traverse().default}});Object.defineProperty(t,"template",{enumerable:true,get:function(){return _template().default}});Object.defineProperty(t,"createConfigItem",{enumerable:true,get:function(){return o.createConfigItem}});Object.defineProperty(t,"createConfigItemSync",{enumerable:true,get:function(){return o.createConfigItemSync}});Object.defineProperty(t,"createConfigItemAsync",{enumerable:true,get:function(){return o.createConfigItemAsync}});Object.defineProperty(t,"loadPartialConfig",{enumerable:true,get:function(){return o.loadPartialConfig}});Object.defineProperty(t,"loadPartialConfigSync",{enumerable:true,get:function(){return o.loadPartialConfigSync}});Object.defineProperty(t,"loadPartialConfigAsync",{enumerable:true,get:function(){return o.loadPartialConfigAsync}});Object.defineProperty(t,"loadOptions",{enumerable:true,get:function(){return o.loadOptions}});Object.defineProperty(t,"loadOptionsSync",{enumerable:true,get:function(){return o.loadOptionsSync}});Object.defineProperty(t,"loadOptionsAsync",{enumerable:true,get:function(){return o.loadOptionsAsync}});Object.defineProperty(t,"transform",{enumerable:true,get:function(){return l.transform}});Object.defineProperty(t,"transformSync",{enumerable:true,get:function(){return l.transformSync}});Object.defineProperty(t,"transformAsync",{enumerable:true,get:function(){return l.transformAsync}});Object.defineProperty(t,"transformFile",{enumerable:true,get:function(){return u.transformFile}});Object.defineProperty(t,"transformFileSync",{enumerable:true,get:function(){return u.transformFileSync}});Object.defineProperty(t,"transformFileAsync",{enumerable:true,get:function(){return u.transformFileAsync}});Object.defineProperty(t,"transformFromAst",{enumerable:true,get:function(){return p.transformFromAst}});Object.defineProperty(t,"transformFromAstSync",{enumerable:true,get:function(){return p.transformFromAstSync}});Object.defineProperty(t,"transformFromAstAsync",{enumerable:true,get:function(){return p.transformFromAstAsync}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return f.parse}});Object.defineProperty(t,"parseSync",{enumerable:true,get:function(){return f.parseSync}});Object.defineProperty(t,"parseAsync",{enumerable:true,get:function(){return f.parseAsync}});t.types=t.OptionManager=t.DEFAULT_EXTENSIONS=t.version=void 0;var n=r(56407);var s=r(12946);var i=r(71120);var a=r(86694);function _types(){const e=r(30315);_types=function(){return e};return e}Object.defineProperty(t,"types",{enumerable:true,get:function(){return _types()}});function _parser(){const e=r(56852);_parser=function(){return e};return e}function _traverse(){const e=r(4267);_traverse=function(){return e};return e}function _template(){const e=r(36900);_template=function(){return e};return e}var o=r(40152);var l=r(3e4);var u=r(23897);var p=r(2591);var f=r(65521);const c="7.15.0";t.version=c;const d=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);t.DEFAULT_EXTENSIONS=d;class OptionManager{init(e){return(0,o.loadOptions)(e)}}t.OptionManager=OptionManager;function Plugin(e){throw new Error(`The (${e}) Babel 5 plugin is being run with an unsupported Babel version.`)}},65521:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseAsync=t.parseSync=t.parse=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(40152);var s=r(66822);var i=r(30709);const a=_gensync()(function*parse(e,t){const r=yield*(0,n.default)(t);if(r===null){return null}return yield*(0,s.default)(r.passes,(0,i.default)(r),e)});const o=function parse(e,t,r){if(typeof t==="function"){r=t;t=undefined}if(r===undefined)return a.sync(e,t);a.errback(e,t,r)};t.parse=o;const l=a.sync;t.parseSync=l;const u=a.async;t.parseAsync=u},66822:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parser;function _parser(){const e=r(56852);_parser=function(){return e};return e}function _codeFrame(){const e=r(90617);_codeFrame=function(){return e};return e}var n=r(5790);function*parser(e,{parserOpts:t,highlightCode:r=true,filename:s="unknown"},i){try{const a=[];for(const r of e){for(const e of r){const{parserOverride:r}=e;if(r){const e=r(i,t,_parser().parse);if(e!==undefined)a.push(e)}}}if(a.length===0){return(0,_parser().parse)(i,t)}else if(a.length===1){yield*[];if(typeof a[0].then==="function"){throw new Error(`You appear to be using an async parser plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}return a[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(e){if(e.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"){e.message+="\nConsider renaming the file to '.mjs', or setting sourceType:module "+"or sourceType:unambiguous in your Babel config for this file."}const{loc:t,missingPlugin:a}=e;if(t){const o=(0,_codeFrame().codeFrameColumns)(i,{start:{line:t.line,column:t.column+1}},{highlightCode:r});if(a){e.message=`${s}: `+(0,n.default)(a[0],t,o)}else{e.message=`${s}: ${e.message}\n\n`+o}e.code="BABEL_PARSE_ERROR"}throw e}}},5790:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateMissingPluginMessage;const r={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",url:"https://git.io/JYer8"}},classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-private-methods",url:"https://git.io/JvpRG"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://git.io/JTLB6"},transform:{name:"@babel/plugin-proposal-class-static-block",url:"https://git.io/JTLBP"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://git.io/JfKOH"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://git.io/vb4y9"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://git.io/vb4ST"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://git.io/vb4yh"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://git.io/vb4S3"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://git.io/vb4Sv"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://git.io/vb4SO"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://git.io/vb4yH"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://git.io/vb4Sf"},transform:{name:"@babel/plugin-proposal-export-namespace-from",url:"https://git.io/vb4SG"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://git.io/vb4yb"},transform:{name:"@babel/preset-flow",url:"https://git.io/JfeDn"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://git.io/vb4y7"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://git.io/vb4St"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://git.io/vb4yN"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://git.io/vb4SZ"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://git.io/vbKK6"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://git.io/vb4yA"},transform:{name:"@babel/preset-react",url:"https://git.io/JfeDR"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://git.io/JUbkv"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://git.io/JTL8G"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://git.io/vb4Sq"},transform:{name:"@babel/plugin-proposal-numeric-separator",url:"https://git.io/vb4yS"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://git.io/vb4Sc"},transform:{name:"@babel/plugin-proposal-optional-chaining",url:"https://git.io/vb4Sk"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://git.io/vb4yj"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://git.io/vb4SU"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://git.io/JfK3q"},transform:{name:"@babel/plugin-proposal-private-property-in-object",url:"https://git.io/JfK3O"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://git.io/JvKp3"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://git.io/vb4SJ"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://git.io/vb4yF"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://git.io/vb4SC"},transform:{name:"@babel/preset-typescript",url:"https://git.io/JfeDz"}},asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://git.io/vb4SY"},transform:{name:"@babel/plugin-proposal-async-generator-functions",url:"https://git.io/vb4yp"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://git.io/vAlBp"},transform:{name:"@babel/plugin-proposal-logical-assignment-operators",url:"https://git.io/vAlRe"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://git.io/vb4yx"},transform:{name:"@babel/plugin-proposal-nullish-coalescing-operator",url:"https://git.io/vb4Se"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://git.io/vb4y5"},transform:{name:"@babel/plugin-proposal-object-rest-spread",url:"https://git.io/vb4Ss"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://git.io/vb4Sn"},transform:{name:"@babel/plugin-proposal-optional-catch-binding",url:"https://git.io/vb4SI"}}};r.privateIn.syntax=r.privateIn.transform;const n=({name:e,url:t})=>`${e} (${t})`;function generateMissingPluginMessage(e,t,s){let i=`Support for the experimental syntax '${e}' isn't currently enabled `+`(${t.line}:${t.column+1}):\n\n`+s;const a=r[e];if(a){const{syntax:e,transform:t}=a;if(e){const r=n(e);if(t){const e=n(t);const s=t.name.startsWith("@babel/plugin")?"plugins":"presets";i+=`\n\nAdd ${e} to the '${s}' section of your Babel config to enable transformation.\nIf you want to leave it as-is, add ${r} to the 'plugins' section to enable parsing.`}else{i+=`\n\nAdd ${r} to the 'plugins' section of your Babel config `+`to enable parsing.`}}}return i}},12946:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=_default;function helpers(){const e=n(19219);helpers=function(){return e};return e}function _generator(){const e=n(23656);_generator=function(){return e};return e}function _template(){const e=n(36900);_template=function(){return e};return e}function t(){const e=n(30315);t=function(){return e};return e}var s=n(56407);const i=e=>(0,_template().default)` + `}else{n=a.template.ast` + var ${s.name} = ${t}; + `}}n.loc=s.loc;l.push(n);l.push(...(0,i.buildNamespaceInitStatements)(o,s,x))}(0,i.ensureStatementsHoisted)(l);e.unshiftContainer("body",l)}}}}});t.default=l},90617:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var r=s(88984);let i=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const n=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,s){const r=Object.assign({column:0,line:-1},e.start);const i=Object.assign({},r,e.end);const{linesAbove:n=2,linesBelow:a=3}=s||{};const o=r.line;const l=r.column;const c=i.line;const p=i.column;let u=Math.max(o-(n+1),0);let h=Math.min(t.length,c+a);if(o===-1){u=0}if(c===-1){h=t.length}const f=c-o;const d={};if(f){for(let e=0;e<=f;e++){const s=e+o;if(!l){d[s]=true}else if(e===0){const e=t[s-1].length;d[s]=[l,e-l+1]}else if(e===f){d[s]=[0,p]}else{const r=t[s-e].length;d[s]=[0,r]}}}else{if(l===p){if(l){d[o]=[l,0]}else{d[o]=true}}else{d[o]=[l,p-l]}}return{start:u,end:h,markerLines:d}}function codeFrameColumns(e,t,s={}){const i=(s.highlightCode||s.forceColor)&&(0,r.shouldHighlight)(s);const a=(0,r.getChalk)(s);const o=getDefs(a);const l=(e,t)=>{return i?e(t):t};const c=e.split(n);const{start:p,end:u,markerLines:h}=getMarkerLines(t,c,s);const f=t.start&&typeof t.start.column==="number";const d=String(u).length;const y=i?(0,r.default)(e,s):e;let m=y.split(n).slice(p,u).map((e,t)=>{const r=p+1+t;const i=` ${r}`.slice(-d);const n=` ${i} |`;const a=h[r];const c=!h[r+1];if(a){let t="";if(Array.isArray(a)){const r=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const i=a[1]||1;t=["\n ",l(o.gutter,n.replace(/\d/g," "))," ",r,l(o.marker,"^").repeat(i)].join("");if(c&&s.message){t+=" "+l(o.message,s.message)}}return[l(o.marker,">"),l(o.gutter,n),e.length>0?` ${e}`:"",t].join("")}else{return` ${l(o.gutter,n)}${e.length>0?` ${e}`:""}`}}).join("\n");if(s.message&&!f){m=`${" ".repeat(d+1)}${s.message}\n${m}`}if(i){return a.reset(m)}else{return m}}function _default(e,t,s,r={}){if(!i){i=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}s=Math.max(s,0);const n={start:{column:s,line:t}};return codeFrameColumns(e,n,r)}},79419:(e,t,s)=>{e.exports=s(71604)},48935:(e,t,s)=>{e.exports=s(28640)},93861:()=>{},90258:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeWeakCache=makeWeakCache;t.makeWeakCacheSync=makeWeakCacheSync;t.makeStrongCache=makeStrongCache;t.makeStrongCacheSync=makeStrongCacheSync;t.assertSimpleType=assertSimpleType;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(75581);var i=s(11954);const n=e=>{return _gensync()(e).sync};function*genTrue(){return true}function makeWeakCache(e){return makeCachedFunction(WeakMap,e)}function makeWeakCacheSync(e){return n(makeWeakCache(e))}function makeStrongCache(e){return makeCachedFunction(Map,e)}function makeStrongCacheSync(e){return n(makeStrongCache(e))}function makeCachedFunction(e,t){const s=new e;const n=new e;const a=new e;return function*cachedFunction(e,o){const l=yield*(0,r.isAsync)();const c=l?n:s;const p=yield*getCachedValueOrWait(l,c,a,e,o);if(p.valid)return p.value;const u=new CacheConfigurator(o);const h=t(e,u);let f;let d;if((0,i.isIterableIterator)(h)){const t=h;d=yield*(0,r.onFirstPause)(t,()=>{f=setupAsyncLocks(u,a,e)})}else{d=h}updateFunctionCache(c,u,e,d);if(f){a.delete(e);f.release(d)}return d}}function*getCachedValue(e,t,s){const r=e.get(t);if(r){for(const{value:e,valid:t}of r){if(yield*t(s))return{valid:true,value:e}}}return{valid:false,value:null}}function*getCachedValueOrWait(e,t,s,i,n){const a=yield*getCachedValue(t,i,n);if(a.valid){return a}if(e){const e=yield*getCachedValue(s,i,n);if(e.valid){const t=yield*(0,r.waitFor)(e.value.promise);return{valid:true,value:t}}}return{valid:false,value:null}}function setupAsyncLocks(e,t,s){const r=new Lock;updateFunctionCache(t,e,s,r);return r}function updateFunctionCache(e,t,s,r){if(!t.configured())t.forever();let i=e.get(s);t.deactivate();switch(t.mode()){case"forever":i=[{value:r,valid:genTrue}];e.set(s,i);break;case"invalidate":i=[{value:r,valid:t.validator()}];e.set(s,i);break;case"valid":if(i){i.push({value:r,valid:t.validator()})}else{i=[{value:r,valid:t.validator()}];e.set(s,i)}}}class CacheConfigurator{constructor(e){this._active=true;this._never=false;this._forever=false;this._invalidate=false;this._configured=false;this._pairs=[];this._data=void 0;this._data=e}simple(){return makeSimpleConfigurator(this)}mode(){if(this._never)return"never";if(this._forever)return"forever";if(this._invalidate)return"invalidate";return"valid"}forever(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never){throw new Error("Caching has already been configured with .never()")}this._forever=true;this._configured=true}never(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._forever){throw new Error("Caching has already been configured with .forever()")}this._never=true;this._configured=true}using(e){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never||this._forever){throw new Error("Caching has already been configured with .never or .forever()")}this._configured=true;const t=e(this._data);const s=(0,r.maybeAsync)(e,`You appear to be using an async cache handler, but Babel has been called synchronously`);if((0,r.isThenable)(t)){return t.then(e=>{this._pairs.push([e,s]);return e})}this._pairs.push([t,s]);return t}invalidate(e){this._invalidate=true;return this.using(e)}validator(){const e=this._pairs;return function*(t){for(const[s,r]of e){if(s!==(yield*r(t)))return false}return true}}deactivate(){this._active=false}configured(){return this._configured}}function makeSimpleConfigurator(e){function cacheFn(t){if(typeof t==="boolean"){if(t)e.forever();else e.never();return}return e.using(()=>assertSimpleType(t()))}cacheFn.forever=(()=>e.forever());cacheFn.never=(()=>e.never());cacheFn.using=(t=>e.using(()=>assertSimpleType(t())));cacheFn.invalidate=(t=>e.invalidate(()=>assertSimpleType(t())));return cacheFn}function assertSimpleType(e){if((0,r.isThenable)(e)){throw new Error(`You appear to be using an async cache handler, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously handle your caching logic.`)}if(e!=null&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"){throw new Error("Cache keys must be either string, boolean, number, null, or undefined.")}return e}class Lock{constructor(){this.released=false;this.promise=void 0;this._resolve=void 0;this.promise=new Promise(e=>{this._resolve=e})}release(e){this.released=true;this._resolve(e)}}},92076:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPresetChain=buildPresetChain;t.buildRootChain=buildRootChain;t.buildPresetChainWalker=void 0;function _path(){const e=s(85622);_path=function(){return e};return e}function _debug(){const e=s(31185);_debug=function(){return e};return e}var r=s(90727);var i=s(9175);var n=s(75379);var a=s(71120);var o=s(90258);var l=s(58945);const c=_debug()("babel:config:config-chain");function*buildPresetChain(e,t){const s=yield*p(e,t);if(!s)return null;return{plugins:dedupDescriptors(s.plugins),presets:dedupDescriptors(s.presets),options:s.options.map(e=>normalizeOptions(e)),files:new Set}}const p=makeChainWalker({root:e=>u(e),env:(e,t)=>h(e)(t),overrides:(e,t)=>f(e)(t),overridesEnv:(e,t,s)=>d(e)(t)(s),createLogger:()=>()=>{}});t.buildPresetChainWalker=p;const u=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.alias,l.createUncachedDescriptors));const h=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const f=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const d=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(s=>buildOverrideEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t,s))));function*buildRootChain(e,t){let s,r;const i=new n.ConfigPrinter;const o=yield*b({options:e,dirname:t.cwd},t,undefined,i);if(!o)return null;const l=yield*i.output();let c;if(typeof e.configFile==="string"){c=yield*(0,a.loadConfig)(e.configFile,t.cwd,t.envName,t.caller)}else if(e.configFile!==false){c=yield*(0,a.findRootConfig)(t.root,t.envName,t.caller)}let{babelrc:p,babelrcRoots:u}=e;let h=t.cwd;const f=emptyChain();const d=new n.ConfigPrinter;if(c){const e=y(c);const r=yield*loadFileChain(e,t,undefined,d);if(!r)return null;s=yield*d.output();if(p===undefined){p=e.options.babelrc}if(u===undefined){h=e.dirname;u=e.options.babelrcRoots}mergeChain(f,r)}let g,x;let v=false;const w=emptyChain();if((p===true||p===undefined)&&typeof t.filename==="string"){const e=yield*(0,a.findPackageData)(t.filename);if(e&&babelrcLoadEnabled(t,e,u,h)){({ignore:g,config:x}=yield*(0,a.findRelativeConfig)(e,t.envName,t.caller));if(g){w.files.add(g.filepath)}if(g&&shouldIgnore(t,g.ignore,null,g.dirname)){v=true}if(x&&!v){const e=m(x);const s=new n.ConfigPrinter;const i=yield*loadFileChain(e,t,undefined,s);if(!i){v=true}else{r=yield*s.output();mergeChain(w,i)}}if(x&&v){w.files.add(x.filepath)}}}if(t.showConfig){console.log(`Babel configs on "${t.filename}" (ascending priority):\n`+[s,r,l].filter(e=>!!e).join("\n\n")+"\n-----End Babel configs-----")}const P=mergeChain(mergeChain(mergeChain(emptyChain(),f),w),o);return{plugins:v?[]:dedupDescriptors(P.plugins),presets:v?[]:dedupDescriptors(P.presets),options:v?[]:P.options.map(e=>normalizeOptions(e)),fileHandling:v?"ignored":"transpile",ignore:g||undefined,babelrc:x||undefined,config:c||undefined,files:P.files}}function babelrcLoadEnabled(e,t,s,r){if(typeof s==="boolean")return s;const n=e.root;if(s===undefined){return t.directories.indexOf(n)!==-1}let a=s;if(!Array.isArray(a)){a=[a]}a=a.map(e=>{return typeof e==="string"?_path().resolve(r,e):e});if(a.length===1&&a[0]===n){return t.directories.indexOf(n)!==-1}return a.some(s=>{if(typeof s==="string"){s=(0,i.default)(s,r)}return t.directories.some(t=>{return matchPattern(s,r,t,e)})})}const y=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,r.validate)("configfile",e.options)}));const m=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,r.validate)("babelrcfile",e.options)}));const g=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,r.validate)("extendsfile",e.options)}));const b=makeChainWalker({root:e=>buildRootDescriptors(e,"base",l.createCachedDescriptors),env:(e,t)=>buildEnvDescriptors(e,"base",l.createCachedDescriptors,t),overrides:(e,t)=>buildOverrideDescriptors(e,"base",l.createCachedDescriptors,t),overridesEnv:(e,t,s)=>buildOverrideEnvDescriptors(e,"base",l.createCachedDescriptors,t,s),createLogger:(e,t,s)=>buildProgrammaticLogger(e,t,s)});const x=makeChainWalker({root:e=>v(e),env:(e,t)=>w(e)(t),overrides:(e,t)=>P(e)(t),overridesEnv:(e,t,s)=>E(e)(t)(s),createLogger:(e,t,s)=>buildFileLogger(e.filepath,t,s)});function*loadFileChain(e,t,s,r){const i=yield*x(e,t,s,r);if(i){i.files.add(e.filepath)}return i}const v=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.filepath,l.createUncachedDescriptors));const w=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const P=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const E=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(s=>buildOverrideEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t,s))));function buildFileLogger(e,t,s){if(!s){return()=>{}}return s.configure(t.showConfig,n.ChainFormatter.Config,{filepath:e})}function buildRootDescriptors({dirname:e,options:t},s,r){return r(e,t,s)}function buildProgrammaticLogger(e,t,s){var r;if(!s){return()=>{}}return s.configure(t.showConfig,n.ChainFormatter.Programmatic,{callerName:(r=t.caller)==null?void 0:r.name})}function buildEnvDescriptors({dirname:e,options:t},s,r,i){const n=t.env&&t.env[i];return n?r(e,n,`${s}.env["${i}"]`):null}function buildOverrideDescriptors({dirname:e,options:t},s,r,i){const n=t.overrides&&t.overrides[i];if(!n)throw new Error("Assertion failure - missing override");return r(e,n,`${s}.overrides[${i}]`)}function buildOverrideEnvDescriptors({dirname:e,options:t},s,r,i,n){const a=t.overrides&&t.overrides[i];if(!a)throw new Error("Assertion failure - missing override");const o=a.env&&a.env[n];return o?r(e,o,`${s}.overrides[${i}].env["${n}"]`):null}function makeChainWalker({root:e,env:t,overrides:s,overridesEnv:r,createLogger:i}){return function*(n,a,o=new Set,l){const{dirname:c}=n;const p=[];const u=e(n);if(configIsApplicable(u,c,a)){p.push({config:u,envName:undefined,index:undefined});const e=t(n,a.envName);if(e&&configIsApplicable(e,c,a)){p.push({config:e,envName:a.envName,index:undefined})}(u.options.overrides||[]).forEach((e,t)=>{const i=s(n,t);if(configIsApplicable(i,c,a)){p.push({config:i,index:t,envName:undefined});const e=r(n,t,a.envName);if(e&&configIsApplicable(e,c,a)){p.push({config:e,index:t,envName:a.envName})}}})}if(p.some(({config:{options:{ignore:e,only:t}}})=>shouldIgnore(a,e,t,c))){return null}const h=emptyChain();const f=i(n,a,l);for(const{config:e,index:t,envName:s}of p){if(!(yield*mergeExtendsChain(h,e.options,c,a,o,l))){return null}f(e,t,s);yield*mergeChainOpts(h,e)}return h}}function*mergeExtendsChain(e,t,s,r,i,n){if(t.extends===undefined)return true;const o=yield*(0,a.loadConfig)(t.extends,s,r.envName,r.caller);if(i.has(o)){throw new Error(`Configuration cycle detected loading ${o.filepath}.\n`+`File already loaded following the config chain:\n`+Array.from(i,e=>` - ${e.filepath}`).join("\n"))}i.add(o);const l=yield*loadFileChain(g(o),r,i,n);i.delete(o);if(!l)return false;mergeChain(e,l);return true}function mergeChain(e,t){e.options.push(...t.options);e.plugins.push(...t.plugins);e.presets.push(...t.presets);for(const s of t.files){e.files.add(s)}return e}function*mergeChainOpts(e,{options:t,plugins:s,presets:r}){e.options.push(t);e.plugins.push(...yield*s());e.presets.push(...yield*r());return e}function emptyChain(){return{options:[],presets:[],plugins:[],files:new Set}}function normalizeOptions(e){const t=Object.assign({},e);delete t.extends;delete t.env;delete t.overrides;delete t.plugins;delete t.presets;delete t.passPerPreset;delete t.ignore;delete t.only;delete t.test;delete t.include;delete t.exclude;if(Object.prototype.hasOwnProperty.call(t,"sourceMap")){t.sourceMaps=t.sourceMap;delete t.sourceMap}return t}function dedupDescriptors(e){const t=new Map;const s=[];for(const r of e){if(typeof r.value==="function"){const e=r.value;let i=t.get(e);if(!i){i=new Map;t.set(e,i)}let n=i.get(r.name);if(!n){n={value:r};s.push(n);if(!r.ownPass)i.set(r.name,n)}else{n.value=r}}else{s.push({value:r})}}return s.reduce((e,t)=>{e.push(t.value);return e},[])}function configIsApplicable({options:e},t,s){return(e.test===undefined||configFieldIsApplicable(s,e.test,t))&&(e.include===undefined||configFieldIsApplicable(s,e.include,t))&&(e.exclude===undefined||!configFieldIsApplicable(s,e.exclude,t))}function configFieldIsApplicable(e,t,s){const r=Array.isArray(t)?t:[t];return matchesPatterns(e,r,s)}function shouldIgnore(e,t,s,r){if(t&&matchesPatterns(e,t,r)){var i;const s=`No config is applied to "${(i=e.filename)!=null?i:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(t)}\` from "${r}"`;c(s);if(e.showConfig){console.log(s)}return true}if(s&&!matchesPatterns(e,s,r)){var n;const t=`No config is applied to "${(n=e.filename)!=null?n:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(s)}\` from "${r}"`;c(t);if(e.showConfig){console.log(t)}return true}return false}function matchesPatterns(e,t,s){return t.some(t=>matchPattern(t,s,e.filename,e))}function matchPattern(e,t,s,r){if(typeof e==="function"){return!!e(s,{dirname:t,envName:r.envName,caller:r.caller})}if(typeof s!=="string"){throw new Error(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`)}if(typeof e==="string"){e=(0,i.default)(e,t)}return e.test(s)}},58945:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createCachedDescriptors=createCachedDescriptors;t.createUncachedDescriptors=createUncachedDescriptors;t.createDescriptor=createDescriptor;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(71120);var i=s(75349);var n=s(90258);var a=s(27690);function isEqualDescriptor(e,t){return e.name===t.name&&e.value===t.value&&e.options===t.options&&e.dirname===t.dirname&&e.alias===t.alias&&e.ownPass===t.ownPass&&(e.file&&e.file.request)===(t.file&&t.file.request)&&(e.file&&e.file.resolved)===(t.file&&t.file.resolved)}function*handlerOf(e){return e}function optionsWithResolvedBrowserslistConfigFile(e,t){if(typeof e.browserslistConfigFile==="string"){e.browserslistConfigFile=(0,a.resolveBrowserslistConfigFile)(e.browserslistConfigFile,t)}return e}function createCachedDescriptors(e,t,s){const{plugins:r,presets:i,passPerPreset:n}=t;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),plugins:r?()=>p(r,e)(s):()=>handlerOf([]),presets:i?()=>l(i,e)(s)(!!n):()=>handlerOf([])}}function createUncachedDescriptors(e,t,s){let r;let i;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),*plugins(){if(!r){r=yield*createPluginDescriptors(t.plugins||[],e,s)}return r},*presets(){if(!i){i=yield*createPresetDescriptors(t.presets||[],e,s,!!t.passPerPreset)}return i}}}const o=new WeakMap;const l=(0,n.makeWeakCacheSync)((e,t)=>{const s=t.using(e=>e);return(0,n.makeStrongCacheSync)(t=>(0,n.makeStrongCache)(function*(r){const i=yield*createPresetDescriptors(e,s,t,r);return i.map(e=>loadCachedDescriptor(o,e))}))});const c=new WeakMap;const p=(0,n.makeWeakCacheSync)((e,t)=>{const s=t.using(e=>e);return(0,n.makeStrongCache)(function*(t){const r=yield*createPluginDescriptors(e,s,t);return r.map(e=>loadCachedDescriptor(c,e))})});const u={};function loadCachedDescriptor(e,t){const{value:s,options:r=u}=t;if(r===false)return t;let i=e.get(s);if(!i){i=new WeakMap;e.set(s,i)}let n=i.get(r);if(!n){n=[];i.set(r,n)}if(n.indexOf(t)===-1){const e=n.filter(e=>isEqualDescriptor(e,t));if(e.length>0){return e[0]}n.push(t)}return t}function*createPresetDescriptors(e,t,s,r){return yield*createDescriptors("preset",e,t,s,r)}function*createPluginDescriptors(e,t,s){return yield*createDescriptors("plugin",e,t,s)}function*createDescriptors(e,t,s,r,i){const n=yield*_gensync().all(t.map((t,n)=>createDescriptor(t,s,{type:e,alias:`${r}$${n}`,ownPass:!!i})));assertNoDuplicates(n);return n}function*createDescriptor(e,t,{type:s,alias:n,ownPass:a}){const o=(0,i.getItemDescriptor)(e);if(o){return o}let l;let c;let p=e;if(Array.isArray(p)){if(p.length===3){[p,c,l]=p}else{[p,c]=p}}let u=undefined;let h=null;if(typeof p==="string"){if(typeof s!=="string"){throw new Error("To resolve a string-based item, the type of item must be given")}const e=s==="plugin"?r.loadPlugin:r.loadPreset;const i=p;({filepath:h,value:p}=yield*e(p,t));u={request:i,resolved:h}}if(!p){throw new Error(`Unexpected falsy value: ${String(p)}`)}if(typeof p==="object"&&p.__esModule){if(p.default){p=p.default}else{throw new Error("Must export a default export when using ES6 modules.")}}if(typeof p!=="object"&&typeof p!=="function"){throw new Error(`Unsupported format: ${typeof p}. Expected an object or a function.`)}if(h!==null&&typeof p==="object"&&p){throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${h}`)}return{name:l,alias:h||n,value:p,options:c,dirname:t,ownPass:a,file:u}}function assertNoDuplicates(e){const t=new Map;for(const s of e){if(typeof s.value!=="function")continue;let r=t.get(s.value);if(!r){r=new Set;t.set(s.value,r)}if(r.has(s.name)){const t=e.filter(e=>e.value===s.value);throw new Error([`Duplicate plugin/preset detected.`,`If you'd like to use two separate instances of a plugin,`,`they need separate names, e.g.`,``,` plugins: [`,` ['some-plugin', {}],`,` ['some-plugin', {}, 'some unique name'],`,` ]`,``,`Duplicates detected are:`,`${JSON.stringify(t,null,2)}`].join("\n"))}r.add(s.name)}}},35244:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findConfigUpwards=findConfigUpwards;t.findRelativeConfig=findRelativeConfig;t.findRootConfig=findRootConfig;t.loadConfig=loadConfig;t.resolveShowConfigPath=resolveShowConfigPath;t.ROOT_CONFIG_FILENAMES=void 0;function _debug(){const e=s(31185);_debug=function(){return e};return e}function _fs(){const e=s(35747);_fs=function(){return e};return e}function _path(){const e=s(85622);_path=function(){return e};return e}function _json(){const e=s(33170);_json=function(){return e};return e}function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(90258);var i=s(15113);var n=s(81383);var a=s(67365);var o=s(9175);var l=s(30420);function _module(){const e=s(32282);_module=function(){return e};return e}const c=_debug()("babel:config:loading:files:configuration");const p=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json"];t.ROOT_CONFIG_FILENAMES=p;const u=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json"];const h=".babelignore";function findConfigUpwards(e){let t=e;for(;;){for(const e of p){if(_fs().existsSync(_path().join(t,e))){return t}}const e=_path().dirname(t);if(t===e)break;t=e}return null}function*findRelativeConfig(e,t,s){let r=null;let i=null;const n=_path().dirname(e.filepath);for(const o of e.directories){if(!r){var a;r=yield*loadOneConfig(u,o,t,s,((a=e.pkg)==null?void 0:a.dirname)===o?y(e.pkg):null)}if(!i){const e=_path().join(o,h);i=yield*g(e);if(i){c("Found ignore %o from %o.",i.filepath,n)}}}return{config:r,ignore:i}}function findRootConfig(e,t,s){return loadOneConfig(p,e,t,s)}function*loadOneConfig(e,t,s,r,i=null){const n=yield*_gensync().all(e.map(e=>readConfig(_path().join(t,e),s,r)));const a=n.reduce((e,s)=>{if(s&&e){throw new Error(`Multiple configuration files found. Please remove one:\n`+` - ${_path().basename(e.filepath)}\n`+` - ${s.filepath}\n`+`from ${t}`)}return s||e},i);if(a){c("Found configuration %o from %o.",a.filepath,t)}return a}function*loadConfig(e,t,r,i){const n=(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(e,{paths:[t]});const a=yield*readConfig(n,r,i);if(!a){throw new Error(`Config file ${n} contains no configuration data`)}c("Loaded config %o from %o.",e,t);return a}function readConfig(e,t,s){const r=_path().extname(e);return r===".js"||r===".cjs"||r===".mjs"?d(e,{envName:t,caller:s}):m(e)}const f=new Set;const d=(0,r.makeStrongCache)(function*readConfigJS(e,t){if(!_fs().existsSync(e)){t.never();return null}if(f.has(e)){t.never();c("Auto-ignoring usage of config %o.",e);return{filepath:e,dirname:_path().dirname(e),options:{}}}let s;try{f.add(e);s=yield*(0,a.default)(e,"You appear to be using a native ECMAScript module configuration "+"file, which is only supported when running Babel asynchronously.")}catch(t){t.message=`${e}: Error while loading config - ${t.message}`;throw t}finally{f.delete(e)}let r=false;if(typeof s==="function"){yield*[];s=s((0,i.makeConfigAPI)(t));r=true}if(!s||typeof s!=="object"||Array.isArray(s)){throw new Error(`${e}: Configuration should be an exported JavaScript object.`)}if(typeof s.then==="function"){throw new Error(`You appear to be using an async configuration, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously return your config.`)}if(r&&!t.configured())throwConfigError();return{filepath:e,dirname:_path().dirname(e),options:s}});const y=(0,r.makeWeakCacheSync)(e=>{const t=e.options["babel"];if(typeof t==="undefined")return null;if(typeof t!=="object"||Array.isArray(t)||t===null){throw new Error(`${e.filepath}: .babel property must be an object`)}return{filepath:e.filepath,dirname:e.dirname,options:t}});const m=(0,n.makeStaticFileCache)((e,t)=>{let s;try{s=_json().parse(t)}catch(t){t.message=`${e}: Error while parsing config - ${t.message}`;throw t}if(!s)throw new Error(`${e}: No config detected`);if(typeof s!=="object"){throw new Error(`${e}: Config returned typeof ${typeof s}`)}if(Array.isArray(s)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:s}});const g=(0,n.makeStaticFileCache)((e,t)=>{const s=_path().dirname(e);const r=t.split("\n").map(e=>e.replace(/#(.*?)$/,"").trim()).filter(e=>!!e);for(const e of r){if(e[0]==="!"){throw new Error(`Negation of file paths is not supported.`)}}return{filepath:e,dirname:_path().dirname(e),ignore:r.map(e=>(0,o.default)(e,s))}});function*resolveShowConfigPath(e){const t=process.env.BABEL_SHOW_CONFIG_FOR;if(t!=null){const s=_path().resolve(e,t);const r=yield*l.stat(s);if(!r.isFile()){throw new Error(`${s}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`)}return s}return null}function throwConfigError(){throw new Error(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don't call this function again.\n api.cache(true);\n\n // Don't cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === "production");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};`)}},71450:(e,t,s)=>{"use strict";var r;r={value:true};t.Z=import_;function import_(e){return s(78409)(e)}},71120:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"findPackageData",{enumerable:true,get:function(){return r.findPackageData}});Object.defineProperty(t,"findConfigUpwards",{enumerable:true,get:function(){return i.findConfigUpwards}});Object.defineProperty(t,"findRelativeConfig",{enumerable:true,get:function(){return i.findRelativeConfig}});Object.defineProperty(t,"findRootConfig",{enumerable:true,get:function(){return i.findRootConfig}});Object.defineProperty(t,"loadConfig",{enumerable:true,get:function(){return i.loadConfig}});Object.defineProperty(t,"resolveShowConfigPath",{enumerable:true,get:function(){return i.resolveShowConfigPath}});Object.defineProperty(t,"ROOT_CONFIG_FILENAMES",{enumerable:true,get:function(){return i.ROOT_CONFIG_FILENAMES}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return n.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return n.resolvePreset}});Object.defineProperty(t,"loadPlugin",{enumerable:true,get:function(){return n.loadPlugin}});Object.defineProperty(t,"loadPreset",{enumerable:true,get:function(){return n.loadPreset}});var r=s(31366);var i=s(35244);var n=s(231);({})},67365:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadCjsOrMjsDefault;var r=s(75581);function _path(){const e=s(85622);_path=function(){return e};return e}function _url(){const e=s(78835);_url=function(){return e};return e}function _module(){const e=s(32282);_module=function(){return e};return e}function asyncGeneratorStep(e,t,s,r,i,n,a){try{var o=e[n](a);var l=o.value}catch(e){s(e);return}if(o.done){t(l)}else{Promise.resolve(l).then(r,i)}}function _asyncToGenerator(e){return function(){var t=this,s=arguments;return new Promise(function(r,i){var n=e.apply(t,s);function _next(e){asyncGeneratorStep(n,r,i,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(n,r,i,_next,_throw,"throw",e)}_next(undefined)})}}let i;try{i=s(71450).Z}catch(e){}function*loadCjsOrMjsDefault(e,t,s=false){switch(guessJSModuleType(e)){case"cjs":return loadCjsDefault(e,s);case"unknown":try{return loadCjsDefault(e,s)}catch(e){if(e.code!=="ERR_REQUIRE_ESM")throw e}case"mjs":if(yield*(0,r.isAsync)()){return yield*(0,r.waitFor)(loadMjsDefault(e))}throw new Error(t)}}function guessJSModuleType(e){switch(_path().extname(e)){case".cjs":return"cjs";case".mjs":return"mjs";default:return"unknown"}}function loadCjsDefault(e,t){const s=require(e);return s!=null&&s.__esModule?s.default||(t?s:undefined):s}function loadMjsDefault(e){return _loadMjsDefault.apply(this,arguments)}function _loadMjsDefault(){_loadMjsDefault=_asyncToGenerator(function*(e){if(!i){throw new Error("Internal error: Native ECMAScript modules aren't supported"+" by this platform.\n")}const t=yield i((0,_url().pathToFileURL)(e));return t.default});return _loadMjsDefault.apply(this,arguments)}},31366:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findPackageData=findPackageData;function _path(){const e=s(85622);_path=function(){return e};return e}var r=s(81383);const i="package.json";function*findPackageData(e){let t=null;const s=[];let r=true;let a=_path().dirname(e);while(!t&&_path().basename(a)!=="node_modules"){s.push(a);t=yield*n(_path().join(a,i));const e=_path().dirname(a);if(a===e){r=false;break}a=e}return{filepath:e,directories:s,pkg:t,isPackage:r}}const n=(0,r.makeStaticFileCache)((e,t)=>{let s;try{s=JSON.parse(t)}catch(t){t.message=`${e}: Error while parsing JSON - ${t.message}`;throw t}if(!s)throw new Error(`${e}: No config detected`);if(typeof s!=="object"){throw new Error(`${e}: Config returned typeof ${typeof s}`)}if(Array.isArray(s)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:s}})},231:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolvePlugin=resolvePlugin;t.resolvePreset=resolvePreset;t.loadPlugin=loadPlugin;t.loadPreset=loadPreset;function _debug(){const e=s(31185);_debug=function(){return e};return e}function _path(){const e=s(85622);_path=function(){return e};return e}var r=s(67365);function _module(){const e=s(32282);_module=function(){return e};return e}const i=_debug()("babel:config:loading:files:plugins");const n=/^module:/;const a=/^(?!@|module:|[^/]+\/|babel-plugin-)/;const o=/^(?!@|module:|[^/]+\/|babel-preset-)/;const l=/^(@babel\/)(?!plugin-|[^/]+\/)/;const c=/^(@babel\/)(?!preset-|[^/]+\/)/;const p=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/;const u=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/;const h=/^(@(?!babel$)[^/]+)$/;function resolvePlugin(e,t){return resolveStandardizedName("plugin",e,t)}function resolvePreset(e,t){return resolveStandardizedName("preset",e,t)}function*loadPlugin(e,t){const s=resolvePlugin(e,t);if(!s){throw new Error(`Plugin ${e} not found relative to ${t}`)}const r=yield*requireModule("plugin",s);i("Loaded plugin %o from %o.",e,t);return{filepath:s,value:r}}function*loadPreset(e,t){const s=resolvePreset(e,t);if(!s){throw new Error(`Preset ${e} not found relative to ${t}`)}const r=yield*requireModule("preset",s);i("Loaded preset %o from %o.",e,t);return{filepath:s,value:r}}function standardizeName(e,t){if(_path().isAbsolute(t))return t;const s=e==="preset";return t.replace(s?o:a,`babel-${e}-`).replace(s?c:l,`$1${e}-`).replace(s?u:p,`$1babel-${e}-`).replace(h,`$1/babel-${e}`).replace(n,"")}function resolveStandardizedName(e,t,r=process.cwd()){const i=standardizeName(e,t);try{return(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(i,{paths:[r]})}catch(n){if(n.code!=="MODULE_NOT_FOUND")throw n;if(i!==t){let e=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(t,{paths:[r]});e=true}catch(e){}if(e){n.message+=`\n- If you want to resolve "${t}", use "module:${t}"`}}let a=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(standardizeName(e,"@babel/"+t),{paths:[r]});a=true}catch(e){}if(a){n.message+=`\n- Did you mean "@babel/${t}"?`}let o=false;const l=e==="preset"?"plugin":"preset";try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(standardizeName(l,t),{paths:[r]});o=true}catch(e){}if(o){n.message+=`\n- Did you accidentally pass a ${l} as a ${e}?`}throw n}}const f=new Set;function*requireModule(e,t){if(f.has(t)){throw new Error(`Reentrant ${e} detected trying to load "${t}". This module is not ignored `+"and is trying to load itself while compiling itself, leading to a dependency cycle. "+'We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.')}try{f.add(t);return yield*(0,r.default)(t,`You appear to be using a native ECMAScript module ${e}, `+"which is only supported when running Babel asynchronously.",true)}catch(e){e.message=`[BABEL]: ${e.message} (While processing: ${t})`;throw e}finally{f.delete(t)}}},81383:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeStaticFileCache=makeStaticFileCache;var r=s(90258);var i=s(30420);function _fs2(){const e=s(35747);_fs2=function(){return e};return e}function makeStaticFileCache(e){return(0,r.makeStrongCache)(function*(t,s){const r=s.invalidate(()=>fileMtime(t));if(r===null){return null}return e(t,yield*i.readFile(t,"utf8"))})}function fileMtime(e){if(!_fs2().existsSync(e))return null;try{return+_fs2().statSync(e).mtime}catch(e){if(e.code!=="ENOENT"&&e.code!=="ENOTDIR")throw e}return null}},6504:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(75581);var i=s(11954);var n=s(7651);var a=s(78543);var o=s(75349);var l=s(92076);function _traverse(){const e=s(4267);_traverse=function(){return e};return e}var c=s(90258);var p=s(90727);var u=s(42164);var h=s(15113);var f=s(64566);var d=s(93861);var y=_gensync()(function*loadFullConfig(e){var t;const s=yield*(0,f.default)(e);if(!s){return null}const{options:r,context:n,fileHandling:a}=s;if(a==="ignored"){return null}const l={};const{plugins:c,presets:u}=r;if(!c||!u){throw new Error("Assertion failure - plugins and presets exist")}const h=Object.assign({},n,{targets:r.targets});const d=e=>{const t=(0,o.getItemDescriptor)(e);if(!t){throw new Error("Assertion failure - must be config item")}return t};const y=u.map(d);const m=c.map(d);const g=[[]];const b=[];const x=yield*enhanceError(n,function*recursePresetDescriptors(e,t){const s=[];for(let r=0;r0){g.splice(1,0,...s.map(e=>e.pass).filter(e=>e!==t));for(const{preset:e,pass:t}of s){if(!e)return true;t.push(...e.plugins);const s=yield*recursePresetDescriptors(e.presets,t);if(s)return true;e.options.forEach(e=>{(0,i.mergeOptions)(l,e)})}}})(y,g[0]);if(x)return null;const v=l;(0,i.mergeOptions)(v,r);const w=Object.assign({},h,{assumptions:(t=v.assumptions)!=null?t:{}});yield*enhanceError(n,function*loadPluginDescriptors(){g[0].unshift(...m);for(const e of g){const t=[];b.push(t);for(let s=0;se.length>0).map(e=>({plugins:e}));v.passPerPreset=v.presets.length>0;return{options:v,passes:b}});t.default=y;function enhanceError(e,t){return function*(s,r){try{return yield*t(s,r)}catch(t){if(!/^\[BABEL\]/.test(t.message)){t.message=`[BABEL] ${e.filename||"unknown"}: ${t.message}`}throw t}}}const m=e=>(0,c.makeWeakCache)(function*({value:t,options:s,dirname:i,alias:a},o){if(s===false)throw new Error("Assertion failure");s=s||{};let l=t;if(typeof t==="function"){const c=(0,r.maybeAsync)(t,`You appear to be using an async plugin/preset, but Babel has been called synchronously`);const p=Object.assign({},n,e(o));try{l=yield*c(p,s,i)}catch(e){if(a){e.message+=` (While processing: ${JSON.stringify(a)})`}throw e}}if(!l||typeof l!=="object"){throw new Error("Plugin/Preset did not return an object.")}if((0,r.isThenable)(l)){yield*[];throw new Error(`You appear to be using a promise as a plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version. `+`As an alternative, you can prefix the promise with "await". `+`(While processing: ${JSON.stringify(a)})`)}return{value:l,options:s,dirname:i,alias:a}});const g=m(h.makePluginAPI);const b=m(h.makePresetAPI);function*loadPluginDescriptor(e,t){if(e.value instanceof a.default){if(e.options){throw new Error("Passed options to an existing Plugin instance will not work.")}return e.value}return yield*x(yield*g(e,t),t)}const x=(0,c.makeWeakCache)(function*({value:e,options:t,dirname:s,alias:i},n){const o=(0,u.validatePluginObject)(e);const l=Object.assign({},o);if(l.visitor){l.visitor=_traverse().default.explode(Object.assign({},l.visitor))}if(l.inherits){const e={name:undefined,alias:`${i}$inherits`,value:l.inherits,options:t,dirname:s};const a=yield*(0,r.forwardAsync)(loadPluginDescriptor,t=>{return n.invalidate(s=>t(e,s))});l.pre=chain(a.pre,l.pre);l.post=chain(a.post,l.post);l.manipulateOptions=chain(a.manipulateOptions,l.manipulateOptions);l.visitor=_traverse().default.visitors.merge([a.visitor||{},l.visitor||{}])}return new a.default(l,t,i)});const v=(e,t)=>{if(e.test||e.include||e.exclude){const e=t.name?`"${t.name}"`:"/* your preset */";throw new Error([`Preset ${e} requires a filename to be set when babel is called directly,`,`\`\`\``,`babel.transform(code, { filename: 'file.ts', presets: [${e}] });`,`\`\`\``,`See https://babeljs.io/docs/en/options#filename for more information.`].join("\n"))}};const w=(e,t,s)=>{if(!t.filename){const{options:t}=e;v(t,s);if(t.overrides){t.overrides.forEach(e=>v(e,s))}}};function*loadPresetDescriptor(e,t){const s=P(yield*b(e,t));w(s,t,e);return yield*(0,l.buildPresetChain)(s,t)}const P=(0,c.makeWeakCacheSync)(({value:e,dirname:t,alias:s})=>{return{options:(0,p.validate)("preset",e),alias:s,dirname:t}});function chain(e,t){const s=[e,t].filter(Boolean);if(s.length<=1)return s[0];return function(...e){for(const t of s){t.apply(this,e)}}}},15113:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeConfigAPI=makeConfigAPI;t.makePresetAPI=makePresetAPI;t.makePluginAPI=makePluginAPI;function _semver(){const e=s(62519);_semver=function(){return e};return e}var r=s(7651);var i=s(90258);var n=s(93861);function makeConfigAPI(e){const t=t=>e.using(e=>{if(typeof t==="undefined")return e.envName;if(typeof t==="function"){return(0,i.assertSimpleType)(t(e.envName))}if(!Array.isArray(t))t=[t];return t.some(t=>{if(typeof t!=="string"){throw new Error("Unexpected non-string value")}return t===e.envName})});const s=t=>e.using(e=>(0,i.assertSimpleType)(t(e.caller)));return{version:r.version,cache:e.simple(),env:t,async:()=>false,caller:s,assertVersion:assertVersion}}function makePresetAPI(e){const t=()=>JSON.parse(e.using(e=>JSON.stringify(e.targets)));return Object.assign({},makeConfigAPI(e),{targets:t})}function makePluginAPI(e){const t=t=>e.using(e=>e.assumptions[t]);return Object.assign({},makePresetAPI(e),{assumption:t})}function assertVersion(e){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}if(_semver().satisfies(r.version,e))return;const t=Error.stackTraceLimit;if(typeof t==="number"&&t<25){Error.stackTraceLimit=25}const s=new Error(`Requires Babel "${e}", but was loaded with "${r.version}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`);if(typeof t==="number"){Error.stackTraceLimit=t}throw Object.assign(s,{code:"BABEL_VERSION_UNSUPPORTED",version:r.version,range:e})}},86694:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getEnv=getEnv;function getEnv(e="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||e}},40152:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createConfigItem=createConfigItem;Object.defineProperty(t,"default",{enumerable:true,get:function(){return r.default}});t.createConfigItemAsync=t.createConfigItemSync=t.loadOptionsAsync=t.loadOptionsSync=t.loadOptions=t.loadPartialConfigAsync=t.loadPartialConfigSync=t.loadPartialConfig=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(6504);var i=s(64566);var n=s(75349);const a=_gensync()(function*(e){var t;const s=yield*(0,r.default)(e);return(t=s==null?void 0:s.options)!=null?t:null});const o=_gensync()(n.createConfigItem);const l=e=>(t,s)=>{if(s===undefined&&typeof t==="function"){s=t;t=undefined}return s?e.errback(t,s):e.sync(t)};const c=l(i.loadPartialConfig);t.loadPartialConfig=c;const p=i.loadPartialConfig.sync;t.loadPartialConfigSync=p;const u=i.loadPartialConfig.async;t.loadPartialConfigAsync=u;const h=l(a);t.loadOptions=h;const f=a.sync;t.loadOptionsSync=f;const d=a.async;t.loadOptionsAsync=d;const y=o.sync;t.createConfigItemSync=y;const m=o.async;t.createConfigItemAsync=m;function createConfigItem(e,t,s){if(s!==undefined){return o.errback(e,t,s)}else if(typeof t==="function"){return o.errback(e,undefined,s)}else{return o.sync(e,t)}}},75349:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createItemFromDescriptor=createItemFromDescriptor;t.createConfigItem=createConfigItem;t.getItemDescriptor=getItemDescriptor;function _path(){const e=s(85622);_path=function(){return e};return e}var r=s(58945);function createItemFromDescriptor(e){return new ConfigItem(e)}function*createConfigItem(e,{dirname:t=".",type:s}={}){const i=yield*(0,r.createDescriptor)(e,_path().resolve(t),{type:s,alias:"programmatic item"});return createItemFromDescriptor(i)}function getItemDescriptor(e){if(e!=null&&e[i]){return e._descriptor}return undefined}const i=Symbol.for("@babel/core@7 - ConfigItem");class ConfigItem{constructor(e){this._descriptor=void 0;this[i]=true;this.value=void 0;this.options=void 0;this.dirname=void 0;this.name=void 0;this.file=void 0;this._descriptor=e;Object.defineProperty(this,"_descriptor",{enumerable:false});Object.defineProperty(this,i,{enumerable:false});this.value=this._descriptor.value;this.options=this._descriptor.options;this.dirname=this._descriptor.dirname;this.name=this._descriptor.name;this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:undefined;Object.freeze(this)}}Object.freeze(ConfigItem.prototype)},64566:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadPrivatePartialConfig;t.loadPartialConfig=void 0;function _path(){const e=s(85622);_path=function(){return e};return e}function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(78543);var i=s(11954);var n=s(75349);var a=s(92076);var o=s(86694);var l=s(90727);var c=s(71120);var p=s(27690);const u=["showIgnoredFiles"];function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var s={};var r=Object.keys(e);var i,n;for(n=0;n=0)continue;s[i]=e[i]}return s}function resolveRootMode(e,t){switch(t){case"root":return e;case"upward-optional":{const t=(0,c.findConfigUpwards)(e);return t===null?e:t}case"upward":{const t=(0,c.findConfigUpwards)(e);if(t!==null)return t;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not `+`be found when searching upward from "${e}".\n`+`One of the following config files must be in the directory tree: `+`"${c.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error(`Assertion failure - unknown rootMode value.`)}}function*loadPrivatePartialConfig(e){if(e!=null&&(typeof e!=="object"||Array.isArray(e))){throw new Error("Babel options must be an object, null, or undefined")}const t=e?(0,l.validate)("arguments",e):{};const{envName:s=(0,o.getEnv)(),cwd:r=".",root:u=".",rootMode:h="root",caller:f,cloneInputAst:d=true}=t;const y=_path().resolve(r);const m=resolveRootMode(_path().resolve(y,u),h);const g=typeof t.filename==="string"?_path().resolve(r,t.filename):undefined;const b=yield*(0,c.resolveShowConfigPath)(y);const x={filename:g,cwd:y,root:m,envName:s,caller:f,showConfig:b===g};const v=yield*(0,a.buildRootChain)(t,x);if(!v)return null;const w={assumptions:{}};v.options.forEach(e=>{(0,i.mergeOptions)(w,e)});const P=Object.assign({},w,{targets:(0,p.resolveTargets)(w,m),cloneInputAst:d,babelrc:false,configFile:false,browserslistConfigFile:false,passPerPreset:false,envName:x.envName,cwd:x.cwd,root:x.root,rootMode:"root",filename:typeof x.filename==="string"?x.filename:undefined,plugins:v.plugins.map(e=>(0,n.createItemFromDescriptor)(e)),presets:v.presets.map(e=>(0,n.createItemFromDescriptor)(e))});return{options:P,context:x,fileHandling:v.fileHandling,ignore:v.ignore,babelrc:v.babelrc,config:v.config,files:v.files}}const h=_gensync()(function*(e){let t=false;if(typeof e==="object"&&e!==null&&!Array.isArray(e)){var s=e;({showIgnoredFiles:t}=s);e=_objectWithoutPropertiesLoose(s,u);s}const i=yield*loadPrivatePartialConfig(e);if(!i)return null;const{options:n,babelrc:a,ignore:o,config:l,fileHandling:c,files:p}=i;if(c==="ignored"&&!t){return null}(n.plugins||[]).forEach(e=>{if(e.value instanceof r.default){throw new Error("Passing cached plugin instances is not supported in "+"babel.loadPartialConfig()")}});return new PartialConfig(n,a?a.filepath:undefined,o?o.filepath:undefined,l?l.filepath:undefined,c,p)});t.loadPartialConfig=h;class PartialConfig{constructor(e,t,s,r,i,n){this.options=void 0;this.babelrc=void 0;this.babelignore=void 0;this.config=void 0;this.fileHandling=void 0;this.files=void 0;this.options=e;this.babelignore=s;this.babelrc=t;this.config=r;this.fileHandling=i;this.files=n;Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==undefined||this.config!==undefined}}Object.freeze(PartialConfig.prototype)},9175:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=pathToPattern;function _path(){const e=s(85622);_path=function(){return e};return e}const r=`\\${_path().sep}`;const i=`(?:${r}|$)`;const n=`[^${r}]+`;const a=`(?:${n}${r})`;const o=`(?:${n}${i})`;const l=`${a}*?`;const c=`${a}*?${o}?`;function escapeRegExp(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}function pathToPattern(e,t){const s=_path().resolve(t,e).split(_path().sep);return new RegExp(["^",...s.map((e,t)=>{const p=t===s.length-1;if(e==="**")return p?c:l;if(e==="*")return p?o:a;if(e.indexOf("*.")===0){return n+escapeRegExp(e.slice(1))+(p?i:r)}return escapeRegExp(e)+(p?i:r)})].join(""))}},78543:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Plugin{constructor(e,t,s){this.key=void 0;this.manipulateOptions=void 0;this.post=void 0;this.pre=void 0;this.visitor=void 0;this.parserOverride=void 0;this.generatorOverride=void 0;this.options=void 0;this.key=e.name||s;this.manipulateOptions=e.manipulateOptions;this.post=e.post;this.pre=e.pre;this.visitor=e.visitor||{};this.parserOverride=e.parserOverride;this.generatorOverride=e.generatorOverride;this.options=t}}t.default=Plugin},75379:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConfigPrinter=t.ChainFormatter=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}const r={Programmatic:0,Config:1};t.ChainFormatter=r;const i={title(e,t,s){let i="";if(e===r.Programmatic){i="programmatic options";if(t){i+=" from "+t}}else{i="config "+s}return i},loc(e,t){let s="";if(e!=null){s+=`.overrides[${e}]`}if(t!=null){s+=`.env["${t}"]`}return s},*optionsAndDescriptors(e){const t=Object.assign({},e.options);delete t.overrides;delete t.env;const s=[...yield*e.plugins()];if(s.length){t.plugins=s.map(e=>descriptorToConfig(e))}const r=[...yield*e.presets()];if(r.length){t.presets=[...r].map(e=>descriptorToConfig(e))}return JSON.stringify(t,undefined,2)}};function descriptorToConfig(e){var t;let s=(t=e.file)==null?void 0:t.request;if(s==null){if(typeof e.value==="object"){s=e.value}else if(typeof e.value==="function"){s=`[Function: ${e.value.toString().substr(0,50)} ... ]`}}if(s==null){s="[Unknown]"}if(e.options===undefined){return s}else if(e.name==null){return[s,e.options]}else{return[s,e.options,e.name]}}class ConfigPrinter{constructor(){this._stack=[]}configure(e,t,{callerName:s,filepath:r}){if(!e)return()=>{};return(e,i,n)=>{this._stack.push({type:t,callerName:s,filepath:r,content:e,index:i,envName:n})}}static*format(e){let t=i.title(e.type,e.callerName,e.filepath);const s=i.loc(e.index,e.envName);if(s)t+=` ${s}`;const r=yield*i.optionsAndDescriptors(e.content);return`${t}\n${r}`}*output(){if(this._stack.length===0)return"";const e=yield*_gensync().all(this._stack.map(e=>ConfigPrinter.format(e)));return e.join("\n\n")}}t.ConfigPrinter=ConfigPrinter},27690:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveBrowserslistConfigFile=resolveBrowserslistConfigFile;t.resolveTargets=resolveTargets;function _path(){const e=s(85622);_path=function(){return e};return e}function _helperCompilationTargets(){const e=s(396);_helperCompilationTargets=function(){return e};return e}({});function resolveBrowserslistConfigFile(e,t){return _path().resolve(t,e)}function resolveTargets(e,t){let s=e.targets;if(typeof s==="string"||Array.isArray(s)){s={browsers:s}}if(s&&s.esmodules){s=Object.assign({},s,{esmodules:"intersect"})}const{browserslistConfigFile:r}=e;let i;let n=false;if(typeof r==="string"){i=r}else{n=r===false}return(0,_helperCompilationTargets().default)(s,{ignoreBrowserslistConfig:n,configFile:i,configPath:t,browserslistEnv:e.browserslistEnv})}},11954:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.mergeOptions=mergeOptions;t.isIterableIterator=isIterableIterator;function mergeOptions(e,t){for(const s of Object.keys(t)){if((s==="parserOpts"||s==="generatorOpts"||s==="assumptions")&&t[s]){const r=t[s];const i=e[s]||(e[s]={});mergeDefaultFields(i,r)}else{const r=t[s];if(r!==undefined)e[s]=r}}}function mergeDefaultFields(e,t){for(const s of Object.keys(t)){const r=t[s];if(r!==undefined)e[s]=r}}function isIterableIterator(e){return!!e&&typeof e.next==="function"&&typeof e[Symbol.iterator]==="function"}},92124:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.msg=msg;t.access=access;t.assertRootMode=assertRootMode;t.assertSourceMaps=assertSourceMaps;t.assertCompact=assertCompact;t.assertSourceType=assertSourceType;t.assertCallerMetadata=assertCallerMetadata;t.assertInputSourceMap=assertInputSourceMap;t.assertString=assertString;t.assertFunction=assertFunction;t.assertBoolean=assertBoolean;t.assertObject=assertObject;t.assertArray=assertArray;t.assertIgnoreList=assertIgnoreList;t.assertConfigApplicableTest=assertConfigApplicableTest;t.assertConfigFileSearch=assertConfigFileSearch;t.assertBabelrcSearch=assertBabelrcSearch;t.assertPluginList=assertPluginList;t.assertTargets=assertTargets;t.assertAssumptions=assertAssumptions;function _helperCompilationTargets(){const e=s(396);_helperCompilationTargets=function(){return e};return e}var r=s(90727);function msg(e){switch(e.type){case"root":return``;case"env":return`${msg(e.parent)}.env["${e.name}"]`;case"overrides":return`${msg(e.parent)}.overrides[${e.index}]`;case"option":return`${msg(e.parent)}.${e.name}`;case"access":return`${msg(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${e.type}`)}}function access(e,t){return{type:"access",name:t,parent:e}}function assertRootMode(e,t){if(t!==undefined&&t!=="root"&&t!=="upward"&&t!=="upward-optional"){throw new Error(`${msg(e)} must be a "root", "upward", "upward-optional" or undefined`)}return t}function assertSourceMaps(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="inline"&&t!=="both"){throw new Error(`${msg(e)} must be a boolean, "inline", "both", or undefined`)}return t}function assertCompact(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="auto"){throw new Error(`${msg(e)} must be a boolean, "auto", or undefined`)}return t}function assertSourceType(e,t){if(t!==undefined&&t!=="module"&&t!=="script"&&t!=="unambiguous"){throw new Error(`${msg(e)} must be "module", "script", "unambiguous", or undefined`)}return t}function assertCallerMetadata(e,t){const s=assertObject(e,t);if(s){if(typeof s.name!=="string"){throw new Error(`${msg(e)} set but does not contain "name" property string`)}for(const t of Object.keys(s)){const r=access(e,t);const i=s[t];if(i!=null&&typeof i!=="boolean"&&typeof i!=="string"&&typeof i!=="number"){throw new Error(`${msg(r)} must be null, undefined, a boolean, a string, or a number.`)}}}return t}function assertInputSourceMap(e,t){if(t!==undefined&&typeof t!=="boolean"&&(typeof t!=="object"||!t)){throw new Error(`${msg(e)} must be a boolean, object, or undefined`)}return t}function assertString(e,t){if(t!==undefined&&typeof t!=="string"){throw new Error(`${msg(e)} must be a string, or undefined`)}return t}function assertFunction(e,t){if(t!==undefined&&typeof t!=="function"){throw new Error(`${msg(e)} must be a function, or undefined`)}return t}function assertBoolean(e,t){if(t!==undefined&&typeof t!=="boolean"){throw new Error(`${msg(e)} must be a boolean, or undefined`)}return t}function assertObject(e,t){if(t!==undefined&&(typeof t!=="object"||Array.isArray(t)||!t)){throw new Error(`${msg(e)} must be an object, or undefined`)}return t}function assertArray(e,t){if(t!=null&&!Array.isArray(t)){throw new Error(`${msg(e)} must be an array, or undefined`)}return t}function assertIgnoreList(e,t){const s=assertArray(e,t);if(s){s.forEach((t,s)=>assertIgnoreItem(access(e,s),t))}return s}function assertIgnoreItem(e,t){if(typeof t!=="string"&&typeof t!=="function"&&!(t instanceof RegExp)){throw new Error(`${msg(e)} must be an array of string/Function/RegExp values, or undefined`)}return t}function assertConfigApplicableTest(e,t){if(t===undefined)return t;if(Array.isArray(t)){t.forEach((t,s)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,s))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a string/Function/RegExp, or an array of those`)}return t}function checkValidTest(e){return typeof e==="string"||typeof e==="function"||e instanceof RegExp}function assertConfigFileSearch(e,t){if(t!==undefined&&typeof t!=="boolean"&&typeof t!=="string"){throw new Error(`${msg(e)} must be a undefined, a boolean, a string, `+`got ${JSON.stringify(t)}`)}return t}function assertBabelrcSearch(e,t){if(t===undefined||typeof t==="boolean")return t;if(Array.isArray(t)){t.forEach((t,s)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,s))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a undefined, a boolean, a string/Function/RegExp `+`or an array of those, got ${JSON.stringify(t)}`)}return t}function assertPluginList(e,t){const s=assertArray(e,t);if(s){s.forEach((t,s)=>assertPluginItem(access(e,s),t))}return s}function assertPluginItem(e,t){if(Array.isArray(t)){if(t.length===0){throw new Error(`${msg(e)} must include an object`)}if(t.length>3){throw new Error(`${msg(e)} may only be a two-tuple or three-tuple`)}assertPluginTarget(access(e,0),t[0]);if(t.length>1){const s=t[1];if(s!==undefined&&s!==false&&(typeof s!=="object"||Array.isArray(s)||s===null)){throw new Error(`${msg(access(e,1))} must be an object, false, or undefined`)}}if(t.length===3){const s=t[2];if(s!==undefined&&typeof s!=="string"){throw new Error(`${msg(access(e,2))} must be a string, or undefined`)}}}else{assertPluginTarget(e,t)}return t}function assertPluginTarget(e,t){if((typeof t!=="object"||!t)&&typeof t!=="string"&&typeof t!=="function"){throw new Error(`${msg(e)} must be a string, object, function`)}return t}function assertTargets(e,t){if((0,_helperCompilationTargets().isBrowsersQueryValid)(t))return t;if(typeof t!=="object"||!t||Array.isArray(t)){throw new Error(`${msg(e)} must be a string, an array of strings or an object`)}const s=access(e,"browsers");const r=access(e,"esmodules");assertBrowsersList(s,t.browsers);assertBoolean(r,t.esmodules);for(const s of Object.keys(t)){const r=t[s];const i=access(e,s);if(s==="esmodules")assertBoolean(i,r);else if(s==="browsers")assertBrowsersList(i,r);else if(!Object.hasOwnProperty.call(_helperCompilationTargets().TargetNames,s)){const e=Object.keys(_helperCompilationTargets().TargetNames).join(", ");throw new Error(`${msg(i)} is not a valid target. Supported targets are ${e}`)}else assertBrowserVersion(i,r)}return t}function assertBrowsersList(e,t){if(t!==undefined&&!(0,_helperCompilationTargets().isBrowsersQueryValid)(t)){throw new Error(`${msg(e)} must be undefined, a string or an array of strings`)}}function assertBrowserVersion(e,t){if(typeof t==="number"&&Math.round(t)===t)return;if(typeof t==="string")return;throw new Error(`${msg(e)} must be a string or an integer number`)}function assertAssumptions(e,t){if(t===undefined)return;if(typeof t!=="object"||t===null){throw new Error(`${msg(e)} must be an object or undefined.`)}let s=e;do{s=s.parent}while(s.type!=="root");const i=s.source==="preset";for(const s of Object.keys(t)){const n=access(e,s);if(!r.assumptionsNames.has(s)){throw new Error(`${msg(n)} is not a supported assumption.`)}if(typeof t[s]!=="boolean"){throw new Error(`${msg(n)} must be a boolean.`)}if(i&&t[s]===false){throw new Error(`${msg(n)} cannot be set to 'false' inside presets.`)}}return t}},90727:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.checkNoUnwrappedItemOptionPairs=checkNoUnwrappedItemOptionPairs;t.assumptionsNames=void 0;var r=s(78543);var i=s(83022);var n=s(92124);const a={cwd:n.assertString,root:n.assertString,rootMode:n.assertRootMode,configFile:n.assertConfigFileSearch,caller:n.assertCallerMetadata,filename:n.assertString,filenameRelative:n.assertString,code:n.assertBoolean,ast:n.assertBoolean,cloneInputAst:n.assertBoolean,envName:n.assertString};const o={babelrc:n.assertBoolean,babelrcRoots:n.assertBabelrcSearch};const l={extends:n.assertString,ignore:n.assertIgnoreList,only:n.assertIgnoreList,targets:n.assertTargets,browserslistConfigFile:n.assertConfigFileSearch,browserslistEnv:n.assertString};const c={inputSourceMap:n.assertInputSourceMap,presets:n.assertPluginList,plugins:n.assertPluginList,passPerPreset:n.assertBoolean,assumptions:n.assertAssumptions,env:assertEnvSet,overrides:assertOverridesList,test:n.assertConfigApplicableTest,include:n.assertConfigApplicableTest,exclude:n.assertConfigApplicableTest,retainLines:n.assertBoolean,comments:n.assertBoolean,shouldPrintComment:n.assertFunction,compact:n.assertCompact,minified:n.assertBoolean,auxiliaryCommentBefore:n.assertString,auxiliaryCommentAfter:n.assertString,sourceType:n.assertSourceType,wrapPluginVisitorMethod:n.assertFunction,highlightCode:n.assertBoolean,sourceMaps:n.assertSourceMaps,sourceMap:n.assertSourceMaps,sourceFileName:n.assertString,sourceRoot:n.assertString,parserOpts:n.assertObject,generatorOpts:n.assertObject};{Object.assign(c,{getModuleId:n.assertFunction,moduleRoot:n.assertString,moduleIds:n.assertBoolean,moduleId:n.assertString})}const p=new Set(["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noIncompleteNsImportDetection","noNewArrows","objectRestNoSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"]);t.assumptionsNames=p;function getSource(e){return e.type==="root"?e.source:getSource(e.parent)}function validate(e,t){return validateNested({type:"root",source:e},t)}function validateNested(e,t){const s=getSource(e);assertNoDuplicateSourcemap(t);Object.keys(t).forEach(r=>{const i={type:"option",name:r,parent:e};if(s==="preset"&&l[r]){throw new Error(`${(0,n.msg)(i)} is not allowed in preset options`)}if(s!=="arguments"&&a[r]){throw new Error(`${(0,n.msg)(i)} is only allowed in root programmatic options`)}if(s!=="arguments"&&s!=="configfile"&&o[r]){if(s==="babelrcfile"||s==="extendsfile"){throw new Error(`${(0,n.msg)(i)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, `+`or babel.config.js/config file options`)}throw new Error(`${(0,n.msg)(i)} is only allowed in root programmatic options, or babel.config.js/config file options`)}const p=c[r]||l[r]||o[r]||a[r]||throwUnknownError;p(i,t[r])});return t}function throwUnknownError(e){const t=e.name;if(i.default[t]){const{message:s,version:r=5}=i.default[t];throw new Error(`Using removed Babel ${r} option: ${(0,n.msg)(e)} - ${s}`)}else{const t=new Error(`Unknown option: ${(0,n.msg)(e)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);t.code="BABEL_UNKNOWN_OPTION";throw t}}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function assertNoDuplicateSourcemap(e){if(has(e,"sourceMap")&&has(e,"sourceMaps")){throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}}function assertEnvSet(e,t){if(e.parent.type==="env"){throw new Error(`${(0,n.msg)(e)} is not allowed inside of another .env block`)}const s=e.parent;const r=(0,n.assertObject)(e,t);if(r){for(const t of Object.keys(r)){const i=(0,n.assertObject)((0,n.access)(e,t),r[t]);if(!i)continue;const a={type:"env",name:t,parent:s};validateNested(a,i)}}return r}function assertOverridesList(e,t){if(e.parent.type==="env"){throw new Error(`${(0,n.msg)(e)} is not allowed inside an .env block`)}if(e.parent.type==="overrides"){throw new Error(`${(0,n.msg)(e)} is not allowed inside an .overrides block`)}const s=e.parent;const r=(0,n.assertArray)(e,t);if(r){for(const[t,i]of r.entries()){const r=(0,n.access)(e,t);const a=(0,n.assertObject)(r,i);if(!a)throw new Error(`${(0,n.msg)(r)} must be an object`);const o={type:"overrides",index:t,parent:s};validateNested(o,a)}}return r}function checkNoUnwrappedItemOptionPairs(e,t,s,r){if(t===0)return;const i=e[t-1];const n=e[t];if(i.file&&i.options===undefined&&typeof n.value==="object"){r.message+=`\n- Maybe you meant to use\n`+`"${s}s": [\n ["${i.file.request}", ${JSON.stringify(n.value,undefined,2)}]\n]\n`+`To be a valid ${s}, its name and options should be wrapped in a pair of brackets`}}},42164:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validatePluginObject=validatePluginObject;var r=s(92124);const i={name:r.assertString,manipulateOptions:r.assertFunction,pre:r.assertFunction,post:r.assertFunction,inherits:r.assertFunction,visitor:assertVisitorMap,parserOverride:r.assertFunction,generatorOverride:r.assertFunction};function assertVisitorMap(e,t){const s=(0,r.assertObject)(e,t);if(s){Object.keys(s).forEach(e=>assertVisitorHandler(e,s[e]));if(s.enter||s.exit){throw new Error(`${(0,r.msg)(e)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`)}}return s}function assertVisitorHandler(e,t){if(t&&typeof t==="object"){Object.keys(t).forEach(t=>{if(t!=="enter"&&t!=="exit"){throw new Error(`.visitor["${e}"] may only have .enter and/or .exit handlers.`)}})}else if(typeof t!=="function"){throw new Error(`.visitor["${e}"] must be a function`)}return t}function validatePluginObject(e){const t={type:"root",source:"plugin"};Object.keys(e).forEach(s=>{const r=i[s];if(r){const i={type:"option",name:s,parent:t};r(i,e[s])}else{const e=new Error(`.${s} is not a valid Plugin property`);e.code="BABEL_UNKNOWN_PLUGIN_PROPERTY";throw e}});return e}},83022:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var s={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. "+"Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. "+"Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using "+"or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. "+"Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. "+"Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the "+"tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling "+"that calls Babel to assign `map.file` themselves."}};t.default=s},75581:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.maybeAsync=maybeAsync;t.forwardAsync=forwardAsync;t.isThenable=isThenable;t.waitFor=t.onFirstPause=t.isAsync=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}const r=e=>e;const i=_gensync()(function*(e){return yield*e});const n=_gensync()({sync:()=>false,errback:e=>e(null,true)});t.isAsync=n;function maybeAsync(e,t){return _gensync()({sync(...s){const r=e.apply(this,s);if(isThenable(r))throw new Error(t);return r},async(...t){return Promise.resolve(e.apply(this,t))}})}const a=_gensync()({sync:e=>e("sync"),async:e=>e("async")});function forwardAsync(e,t){const s=_gensync()(e);return a(e=>{const r=s[e];return t(r)})}const o=_gensync()({name:"onFirstPause",arity:2,sync:function(e){return i.sync(e)},errback:function(e,t,s){let r=false;i.errback(e,(e,t)=>{r=true;s(e,t)});if(!r){t()}}});t.onFirstPause=o;const l=_gensync()({sync:r,async:r});t.waitFor=l;function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},30420:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stat=t.readFile=void 0;function _fs(){const e=s(35747);_fs=function(){return e};return e}function _gensync(){const e=s(67941);_gensync=function(){return e};return e}const r=_gensync()({sync:_fs().readFileSync,errback:_fs().readFile});t.readFile=r;const i=_gensync()({sync:_fs().statSync,errback:_fs().stat});t.stat=i},7651:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Plugin=Plugin;Object.defineProperty(t,"File",{enumerable:true,get:function(){return r.default}});Object.defineProperty(t,"buildExternalHelpers",{enumerable:true,get:function(){return i.default}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return n.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return n.resolvePreset}});Object.defineProperty(t,"getEnv",{enumerable:true,get:function(){return a.getEnv}});Object.defineProperty(t,"tokTypes",{enumerable:true,get:function(){return _parser().tokTypes}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return _traverse().default}});Object.defineProperty(t,"template",{enumerable:true,get:function(){return _template().default}});Object.defineProperty(t,"createConfigItem",{enumerable:true,get:function(){return o.createConfigItem}});Object.defineProperty(t,"createConfigItemSync",{enumerable:true,get:function(){return o.createConfigItemSync}});Object.defineProperty(t,"createConfigItemAsync",{enumerable:true,get:function(){return o.createConfigItemAsync}});Object.defineProperty(t,"loadPartialConfig",{enumerable:true,get:function(){return o.loadPartialConfig}});Object.defineProperty(t,"loadPartialConfigSync",{enumerable:true,get:function(){return o.loadPartialConfigSync}});Object.defineProperty(t,"loadPartialConfigAsync",{enumerable:true,get:function(){return o.loadPartialConfigAsync}});Object.defineProperty(t,"loadOptions",{enumerable:true,get:function(){return o.loadOptions}});Object.defineProperty(t,"loadOptionsSync",{enumerable:true,get:function(){return o.loadOptionsSync}});Object.defineProperty(t,"loadOptionsAsync",{enumerable:true,get:function(){return o.loadOptionsAsync}});Object.defineProperty(t,"transform",{enumerable:true,get:function(){return l.transform}});Object.defineProperty(t,"transformSync",{enumerable:true,get:function(){return l.transformSync}});Object.defineProperty(t,"transformAsync",{enumerable:true,get:function(){return l.transformAsync}});Object.defineProperty(t,"transformFile",{enumerable:true,get:function(){return c.transformFile}});Object.defineProperty(t,"transformFileSync",{enumerable:true,get:function(){return c.transformFileSync}});Object.defineProperty(t,"transformFileAsync",{enumerable:true,get:function(){return c.transformFileAsync}});Object.defineProperty(t,"transformFromAst",{enumerable:true,get:function(){return p.transformFromAst}});Object.defineProperty(t,"transformFromAstSync",{enumerable:true,get:function(){return p.transformFromAstSync}});Object.defineProperty(t,"transformFromAstAsync",{enumerable:true,get:function(){return p.transformFromAstAsync}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return u.parse}});Object.defineProperty(t,"parseSync",{enumerable:true,get:function(){return u.parseSync}});Object.defineProperty(t,"parseAsync",{enumerable:true,get:function(){return u.parseAsync}});t.types=t.OptionManager=t.DEFAULT_EXTENSIONS=t.version=void 0;var r=s(56407);var i=s(12946);var n=s(71120);var a=s(86694);function _types(){const e=s(19761);_types=function(){return e};return e}Object.defineProperty(t,"types",{enumerable:true,get:function(){return _types()}});function _parser(){const e=s(56852);_parser=function(){return e};return e}function _traverse(){const e=s(4267);_traverse=function(){return e};return e}function _template(){const e=s(36900);_template=function(){return e};return e}var o=s(40152);var l=s(3e4);var c=s(23897);var p=s(2591);var u=s(65521);const h="7.15.0";t.version=h;const f=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);t.DEFAULT_EXTENSIONS=f;class OptionManager{init(e){return(0,o.loadOptions)(e)}}t.OptionManager=OptionManager;function Plugin(e){throw new Error(`The (${e}) Babel 5 plugin is being run with an unsupported Babel version.`)}},65521:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseAsync=t.parseSync=t.parse=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(40152);var i=s(66822);var n=s(30709);const a=_gensync()(function*parse(e,t){const s=yield*(0,r.default)(t);if(s===null){return null}return yield*(0,i.default)(s.passes,(0,n.default)(s),e)});const o=function parse(e,t,s){if(typeof t==="function"){s=t;t=undefined}if(s===undefined)return a.sync(e,t);a.errback(e,t,s)};t.parse=o;const l=a.sync;t.parseSync=l;const c=a.async;t.parseAsync=c},66822:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parser;function _parser(){const e=s(56852);_parser=function(){return e};return e}function _codeFrame(){const e=s(90617);_codeFrame=function(){return e};return e}var r=s(5790);function*parser(e,{parserOpts:t,highlightCode:s=true,filename:i="unknown"},n){try{const a=[];for(const s of e){for(const e of s){const{parserOverride:s}=e;if(s){const e=s(n,t,_parser().parse);if(e!==undefined)a.push(e)}}}if(a.length===0){return(0,_parser().parse)(n,t)}else if(a.length===1){yield*[];if(typeof a[0].then==="function"){throw new Error(`You appear to be using an async parser plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}return a[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(e){if(e.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"){e.message+="\nConsider renaming the file to '.mjs', or setting sourceType:module "+"or sourceType:unambiguous in your Babel config for this file."}const{loc:t,missingPlugin:a}=e;if(t){const o=(0,_codeFrame().codeFrameColumns)(n,{start:{line:t.line,column:t.column+1}},{highlightCode:s});if(a){e.message=`${i}: `+(0,r.default)(a[0],t,o)}else{e.message=`${i}: ${e.message}\n\n`+o}e.code="BABEL_PARSE_ERROR"}throw e}}},5790:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateMissingPluginMessage;const s={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",url:"https://git.io/JYer8"}},classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-private-methods",url:"https://git.io/JvpRG"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://git.io/JTLB6"},transform:{name:"@babel/plugin-proposal-class-static-block",url:"https://git.io/JTLBP"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://git.io/JfKOH"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://git.io/vb4y9"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://git.io/vb4ST"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://git.io/vb4yh"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://git.io/vb4S3"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://git.io/vb4Sv"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://git.io/vb4SO"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://git.io/vb4yH"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://git.io/vb4Sf"},transform:{name:"@babel/plugin-proposal-export-namespace-from",url:"https://git.io/vb4SG"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://git.io/vb4yb"},transform:{name:"@babel/preset-flow",url:"https://git.io/JfeDn"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://git.io/vb4y7"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://git.io/vb4St"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://git.io/vb4yN"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://git.io/vb4SZ"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://git.io/vbKK6"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://git.io/vb4yA"},transform:{name:"@babel/preset-react",url:"https://git.io/JfeDR"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://git.io/JUbkv"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://git.io/JTL8G"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://git.io/vb4Sq"},transform:{name:"@babel/plugin-proposal-numeric-separator",url:"https://git.io/vb4yS"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://git.io/vb4Sc"},transform:{name:"@babel/plugin-proposal-optional-chaining",url:"https://git.io/vb4Sk"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://git.io/vb4yj"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://git.io/vb4SU"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://git.io/JfK3q"},transform:{name:"@babel/plugin-proposal-private-property-in-object",url:"https://git.io/JfK3O"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://git.io/JvKp3"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://git.io/vb4SJ"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://git.io/vb4yF"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://git.io/vb4SC"},transform:{name:"@babel/preset-typescript",url:"https://git.io/JfeDz"}},asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://git.io/vb4SY"},transform:{name:"@babel/plugin-proposal-async-generator-functions",url:"https://git.io/vb4yp"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://git.io/vAlBp"},transform:{name:"@babel/plugin-proposal-logical-assignment-operators",url:"https://git.io/vAlRe"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://git.io/vb4yx"},transform:{name:"@babel/plugin-proposal-nullish-coalescing-operator",url:"https://git.io/vb4Se"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://git.io/vb4y5"},transform:{name:"@babel/plugin-proposal-object-rest-spread",url:"https://git.io/vb4Ss"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://git.io/vb4Sn"},transform:{name:"@babel/plugin-proposal-optional-catch-binding",url:"https://git.io/vb4SI"}}};s.privateIn.syntax=s.privateIn.transform;const r=({name:e,url:t})=>`${e} (${t})`;function generateMissingPluginMessage(e,t,i){let n=`Support for the experimental syntax '${e}' isn't currently enabled `+`(${t.line}:${t.column+1}):\n\n`+i;const a=s[e];if(a){const{syntax:e,transform:t}=a;if(e){const s=r(e);if(t){const e=r(t);const i=t.name.startsWith("@babel/plugin")?"plugins":"presets";n+=`\n\nAdd ${e} to the '${i}' section of your Babel config to enable transformation.\nIf you want to leave it as-is, add ${s} to the 'plugins' section to enable parsing.`}else{n+=`\n\nAdd ${s} to the 'plugins' section of your Babel config `+`to enable parsing.`}}}return n}},12946:(e,s,r)=>{"use strict";Object.defineProperty(s,"__esModule",{value:true});s.default=_default;function helpers(){const e=r(19219);helpers=function(){return e};return e}function _generator(){const e=r(23656);_generator=function(){return e};return e}function _template(){const e=r(36900);_template=function(){return e};return e}function t(){const e=r(19761);t=function(){return e};return e}var i=r(56407);const n=e=>(0,_template().default)` (function (root, factory) { if (typeof define === "function" && define.amd) { define(AMD_ARGUMENTS, factory); @@ -2056,27 +2056,27 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m })(UMD_ROOT, function (FACTORY_PARAMETERS) { FACTORY_BODY }); - `(e);function buildGlobal(e){const r=t().identifier("babelHelpers");const n=[];const s=t().functionExpression(null,[t().identifier("global")],t().blockStatement(n));const i=t().program([t().expressionStatement(t().callExpression(s,[t().conditionalExpression(t().binaryExpression("===",t().unaryExpression("typeof",t().identifier("global")),t().stringLiteral("undefined")),t().identifier("self"),t().identifier("global"))]))]);n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().assignmentExpression("=",t().memberExpression(t().identifier("global"),r),t().objectExpression([])))]));buildHelpers(n,r,e);return i}function buildModule(e){const r=[];const n=buildHelpers(r,null,e);r.unshift(t().exportNamedDeclaration(null,Object.keys(n).map(e=>{return t().exportSpecifier(t().cloneNode(n[e]),t().identifier(e))})));return t().program(r,[],"module")}function buildUmd(e){const r=t().identifier("babelHelpers");const n=[];n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().identifier("global"))]));buildHelpers(n,r,e);return t().program([i({FACTORY_PARAMETERS:t().identifier("global"),BROWSER_ARGUMENTS:t().assignmentExpression("=",t().memberExpression(t().identifier("root"),r),t().objectExpression([])),COMMON_ARGUMENTS:t().identifier("exports"),AMD_ARGUMENTS:t().arrayExpression([t().stringLiteral("exports")]),FACTORY_BODY:n,UMD_ROOT:t().identifier("this")})])}function buildVar(e){const r=t().identifier("babelHelpers");const n=[];n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().objectExpression([]))]));const s=t().program(n);buildHelpers(n,r,e);n.push(t().expressionStatement(r));return s}function buildHelpers(e,r,n){const i=e=>{return r?t().memberExpression(r,t().identifier(e)):t().identifier(`_${e}`)};const a={};helpers().list.forEach(function(t){if(n&&n.indexOf(t)<0)return;const r=a[t]=i(t);helpers().ensure(t,s.default);const{nodes:o}=helpers().get(t,i,r);e.push(...o)});return a}function _default(e,t="global"){let r;const n={global:buildGlobal,module:buildModule,umd:buildUmd,var:buildVar}[t];if(n){r=n(e)}else{throw new Error(`Unsupported output type ${t}`)}return(0,_generator().default)(r).code}},2591:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFromAstAsync=t.transformFromAstSync=t.transformFromAst=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(40152);var s=r(74227);const i=_gensync()(function*(e,t,r){const i=yield*(0,n.default)(r);if(i===null)return null;if(!e)throw new Error("No AST given");return yield*(0,s.run)(i,t,e)});const a=function transformFromAst(e,t,r,n){if(typeof r==="function"){n=r;r=undefined}if(n===undefined){return i.sync(e,t,r)}i.errback(e,t,r,n)};t.transformFromAst=a;const o=i.sync;t.transformFromAstSync=o;const l=i.async;t.transformFromAstAsync=l},23897:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFileAsync=t.transformFileSync=t.transformFile=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(40152);var s=r(74227);var i=r(30420);({});const a=_gensync()(function*(e,t){const r=Object.assign({},t,{filename:e});const a=yield*(0,n.default)(r);if(a===null)return null;const o=yield*i.readFile(e,"utf8");return yield*(0,s.run)(a,o)});const o=a.errback;t.transformFile=o;const l=a.sync;t.transformFileSync=l;const u=a.async;t.transformFileAsync=u},30000:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformAsync=t.transformSync=t.transform=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(40152);var s=r(74227);const i=_gensync()(function*transform(e,t){const r=yield*(0,n.default)(t);if(r===null)return null;return yield*(0,s.run)(r,e)});const a=function transform(e,t,r){if(typeof t==="function"){r=t;t=undefined}if(r===undefined)return i.sync(e,t);i.errback(e,t,r)};t.transform=a;const o=i.sync;t.transformSync=o;const l=i.async;t.transformAsync=l},20054:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadBlockHoistPlugin;function _traverse(){const e=r(4267);_traverse=function(){return e};return e}var n=r(78543);let s;function loadBlockHoistPlugin(){if(!s){s=new n.default(Object.assign({},i,{visitor:_traverse().default.explode(i.visitor)}),{})}return s}function priority(e){const t=e==null?void 0:e._blockHoist;if(t==null)return 1;if(t===true)return 2;return t}function stableSort(e){const t=Object.create(null);for(let r=0;r+e).sort((e,t)=>t-e);let n=0;for(const s of r){const r=t[s];for(const t of r){e[n++]=t}}return e}const i={name:"internal.blockHoist",visitor:{Block:{exit({node:e}){const{body:t}=e;let r=Math.pow(2,30)-1;let n=false;for(let e=0;er){n=true;break}r=i}if(!n)return;e.body=stableSort(t.slice())}}}}},56407:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=void 0;function helpers(){const e=n(19219);helpers=function(){return e};return e}function _traverse(){const e=n(4267);_traverse=function(){return e};return e}function _codeFrame(){const e=n(90617);_codeFrame=function(){return e};return e}function t(){const e=n(30315);t=function(){return e};return e}function _helperModuleTransforms(){const e=n(18341);_helperModuleTransforms=function(){return e};return e}function _semver(){const e=n(62519);_semver=function(){return e};return e}const s={enter(e,t){const r=e.node.loc;if(r){t.loc=r;e.stop()}}};class File{constructor(e,{code:t,ast:r,inputMap:n}){this._map=new Map;this.opts=void 0;this.declarations={};this.path=null;this.ast={};this.scope=void 0;this.metadata={};this.code="";this.inputMap=null;this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)};this.opts=e;this.code=t;this.ast=r;this.inputMap=n;this.path=_traverse().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext();this.scope=this.path.scope}get shebang(){const{interpreter:e}=this.path.node;return e?e.value:""}set shebang(e){if(e){this.path.get("interpreter").replaceWith(t().interpreterDirective(e))}else{this.path.get("interpreter").remove()}}set(e,t){if(e==="helpersNamespace"){throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility."+"If you are using @babel/plugin-external-helpers you will need to use a newer "+"version than the one you currently have installed. "+"If you have your own implementation, you'll want to explore using 'helperGenerator' "+"alongside 'file.availableHelper()'.")}this._map.set(e,t)}get(e){return this._map.get(e)}has(e){return this._map.has(e)}getModuleName(){return(0,_helperModuleTransforms().getModuleName)(this.opts,this.opts)}addImport(){throw new Error("This API has been removed. If you're looking for this "+"functionality in Babel 7, you should import the "+"'@babel/helper-module-imports' module and use the functions exposed "+" from that module, such as 'addNamed' or 'addDefault'.")}availableHelper(e,t){let r;try{r=helpers().minVersion(e)}catch(e){if(e.code!=="BABEL_HELPER_UNKNOWN")throw e;return false}if(typeof t!=="string")return true;if(_semver().valid(t))t=`^${t}`;return!_semver().intersects(`<${r}`,t)&&!_semver().intersects(`>=8.0.0`,t)}addHelper(e){const r=this.declarations[e];if(r)return t().cloneNode(r);const n=this.get("helperGenerator");if(n){const t=n(e);if(t)return t}helpers().ensure(e,File);const s=this.declarations[e]=this.scope.generateUidIdentifier(e);const i={};for(const t of helpers().getDependencies(e)){i[t]=this.addHelper(t)}const{nodes:a,globals:o}=helpers().get(e,e=>i[e],s,Object.keys(this.scope.getAllBindings()));o.forEach(e=>{if(this.path.scope.hasBinding(e,true)){this.path.scope.rename(e)}});a.forEach(e=>{e._compact=true});this.path.unshiftContainer("body",a);this.path.get("body").forEach(e=>{if(a.indexOf(e.node)===-1)return;if(e.isVariableDeclaration())this.scope.registerDeclaration(e)});return s}addTemplateObject(){throw new Error("This function has been moved into the template literal transform itself.")}buildCodeFrameError(e,t,r=SyntaxError){let n=e&&(e.loc||e._loc);if(!n&&e){const r={loc:null};(0,_traverse().default)(e,s,this.scope,r);n=r.loc;let i="This is an error on an internal node. Probably an internal error.";if(n)i+=" Location has been estimated.";t+=` (${i})`}if(n){const{highlightCode:e=true}=this.opts;t+="\n"+(0,_codeFrame().codeFrameColumns)(this.code,{start:{line:n.start.line,column:n.start.column+1},end:n.end&&n.start.line===n.end.line?{line:n.end.line,column:n.end.column+1}:undefined},{highlightCode:e})}return new r(t)}}r.default=File},46579:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateCode;function _convertSourceMap(){const e=r(36301);_convertSourceMap=function(){return e};return e}function _generator(){const e=r(23656);_generator=function(){return e};return e}var n=r(84058);function generateCode(e,t){const{opts:r,ast:s,code:i,inputMap:a}=t;const o=[];for(const t of e){for(const e of t){const{generatorOverride:t}=e;if(t){const e=t(s,r.generatorOpts,i,_generator().default);if(e!==undefined)o.push(e)}}}let l;if(o.length===0){l=(0,_generator().default)(s,r.generatorOpts,i)}else if(o.length===1){l=o[0];if(typeof l.then==="function"){throw new Error(`You appear to be using an async codegen plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version.`)}}else{throw new Error("More than one plugin attempted to override codegen.")}let{code:u,map:p}=l;if(p&&a){p=(0,n.default)(a.toObject(),p)}if(r.sourceMaps==="inline"||r.sourceMaps==="both"){u+="\n"+_convertSourceMap().fromObject(p).toComment()}if(r.sourceMaps==="inline"){p=null}return{outputCode:u,outputMap:p}}},84058:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=mergeSourceMap;function _sourceMap(){const e=r(96241);_sourceMap=function(){return e};return e}function mergeSourceMap(e,t){const r=buildMappingData(e);const n=buildMappingData(t);const s=new(_sourceMap().SourceMapGenerator);for(const{source:e}of r.sources){if(typeof e.content==="string"){s.setSourceContent(e.path,e.content)}}if(n.sources.length===1){const e=n.sources[0];const t=new Map;eachInputGeneratedRange(r,(r,n,i)=>{eachOverlappingGeneratedOutputRange(e,r,e=>{const r=makeMappingKey(e);if(t.has(r))return;t.set(r,e);s.addMapping({source:i.path,original:{line:n.line,column:n.columnStart},generated:{line:e.line,column:e.columnStart},name:n.name})})});for(const e of t.values()){if(e.columnEnd===Infinity){continue}const r={line:e.line,columnStart:e.columnEnd};const n=makeMappingKey(r);if(t.has(n)){continue}s.addMapping({generated:{line:r.line,column:r.columnStart}})}}const i=s.toJSON();if(typeof r.sourceRoot==="string"){i.sourceRoot=r.sourceRoot}return i}function makeMappingKey(e){return`${e.line}/${e.columnStart}`}function eachOverlappingGeneratedOutputRange(e,t,r){const n=filterApplicableOriginalRanges(e,t);for(const{generated:e}of n){for(const t of e){r(t)}}}function filterApplicableOriginalRanges({mappings:e},{line:t,columnStart:r,columnEnd:n}){return filterSortedArray(e,({original:e})=>{if(t>e.line)return-1;if(t=e.columnEnd)return-1;if(n<=e.columnStart)return 1;return 0})}function eachInputGeneratedRange(e,t){for(const{source:r,mappings:n}of e.sources){for(const{original:e,generated:s}of n){for(const n of s){t(n,e,r)}}}}function buildMappingData(e){const t=new(_sourceMap().SourceMapConsumer)(Object.assign({},e,{sourceRoot:null}));const r=new Map;const n=new Map;let s=null;t.computeColumnSpans();t.eachMapping(e=>{if(e.originalLine===null)return;let i=r.get(e.source);if(!i){i={path:e.source,content:t.sourceContentFor(e.source,true)};r.set(e.source,i)}let a=n.get(i);if(!a){a={source:i,mappings:[]};n.set(i,a)}const o={line:e.originalLine,columnStart:e.originalColumn,columnEnd:Infinity,name:e.name};if(s&&s.source===i&&s.mapping.line===e.originalLine){s.mapping.columnEnd=e.originalColumn}s={source:i,mapping:o};a.mappings.push({original:o,generated:t.allGeneratedPositionsFor({source:e.source,line:e.originalLine,column:e.originalColumn}).map(e=>({line:e.line,columnStart:e.column,columnEnd:e.lastColumn+1}))})},null,_sourceMap().SourceMapConsumer.ORIGINAL_ORDER);return{file:e.file,sourceRoot:e.sourceRoot,sources:Array.from(n.values())}}function findInsertionLocation(e,t){let r=0;let n=e.length;while(r=0){n=s}else{r=s+1}}let s=r;if(s=0&&t(e[s])>=0){s--}return s+1}return s}function filterSortedArray(e,t){const r=findInsertionLocation(e,t);const n=[];for(let s=r;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.run=run;function _traverse(){const e=r(4267);_traverse=function(){return e};return e}var n=r(38085);var s=r(20054);var i=r(30709);var a=r(22175);var o=r(46579);function*run(e,t,r){const n=yield*(0,a.default)(e.passes,(0,i.default)(e),t,r);const s=n.opts;try{yield*transformFile(n,e.passes)}catch(e){var l;e.message=`${(l=s.filename)!=null?l:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_TRANSFORM_ERROR"}throw e}let u,p;try{if(s.code!==false){({outputCode:u,outputMap:p}=(0,o.default)(e.passes,n))}}catch(e){var f;e.message=`${(f=s.filename)!=null?f:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_GENERATE_ERROR"}throw e}return{metadata:n.metadata,options:s,ast:s.ast===true?n.ast:null,code:u===undefined?null:u,map:p===undefined?null:p,sourceType:n.ast.program.sourceType}}function*transformFile(e,t){for(const r of t){const t=[];const i=[];const a=[];for(const o of r.concat([(0,s.default)()])){const r=new n.default(e,o.key,o.options);t.push([o,r]);i.push(r);a.push(o.visitor)}for(const[r,n]of t){const t=r.pre;if(t){const r=t.call(n,e);yield*[];if(isThenable(r)){throw new Error(`You appear to be using an plugin with an async .pre, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}const o=_traverse().default.visitors.merge(a,i,e.opts.wrapPluginVisitorMethod);(0,_traverse().default)(e.ast,o,e.scope);for(const[r,n]of t){const t=r.post;if(t){const r=t.call(n,e);yield*[];if(isThenable(r)){throw new Error(`You appear to be using an plugin with an async .post, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}}}function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},22175:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=normalizeFile;function _fs(){const e=n(35747);_fs=function(){return e};return e}function _path(){const e=n(85622);_path=function(){return e};return e}function _debug(){const e=n(31185);_debug=function(){return e};return e}function t(){const e=n(30315);t=function(){return e};return e}function _convertSourceMap(){const e=n(36301);_convertSourceMap=function(){return e};return e}var s=n(56407);var i=n(66822);var a=n(98450);const o=_debug()("babel:transform:file");const l=1e6;function*normalizeFile(e,r,n,f){n=`${n||""}`;if(f){if(f.type==="Program"){f=t().file(f,[],[])}else if(f.type!=="File"){throw new Error("AST root must be a Program or File node")}if(r.cloneInputAst){f=(0,a.default)(f)}}else{f=yield*(0,i.default)(e,r,n)}let c=null;if(r.inputSourceMap!==false){if(typeof r.inputSourceMap==="object"){c=_convertSourceMap().fromObject(r.inputSourceMap)}if(!c){const e=extractComments(u,f);if(e){try{c=_convertSourceMap().fromComment(e)}catch(e){o("discarding unknown inline input sourcemap",e)}}}if(!c){const e=extractComments(p,f);if(typeof r.filename==="string"&&e){try{const t=p.exec(e);const n=_fs().readFileSync(_path().resolve(_path().dirname(r.filename),t[1]));if(n.length>l){o("skip merging input map > 1 MB")}else{c=_convertSourceMap().fromJSON(n)}}catch(e){o("discarding unknown file input sourcemap",e)}}else if(e){o("discarding un-loadable file input sourcemap")}}}return new s.default(r,{code:n,ast:f,inputMap:c})}const u=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/;const p=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function extractCommentsFromList(e,t,r){if(t){t=t.filter(({value:t})=>{if(e.test(t)){r=t;return false}return true})}return[t,r]}function extractComments(e,r){let n=null;t().traverseFast(r,t=>{[t.leadingComments,n]=extractCommentsFromList(e,t.leadingComments,n);[t.innerComments,n]=extractCommentsFromList(e,t.innerComments,n);[t.trailingComments,n]=extractCommentsFromList(e,t.trailingComments,n)});return n}},30709:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=normalizeOptions;function _path(){const e=r(85622);_path=function(){return e};return e}function normalizeOptions(e){const{filename:t,cwd:r,filenameRelative:n=(typeof t==="string"?_path().relative(r,t):"unknown"),sourceType:s="module",inputSourceMap:i,sourceMaps:a=!!i,sourceRoot:o=e.options.moduleRoot,sourceFileName:l=_path().basename(n),comments:u=true,compact:p="auto"}=e.options;const f=e.options;const c=Object.assign({},f,{parserOpts:Object.assign({sourceType:_path().extname(n)===".mjs"?"module":s,sourceFileName:t,plugins:[]},f.parserOpts),generatorOpts:Object.assign({filename:t,auxiliaryCommentBefore:f.auxiliaryCommentBefore,auxiliaryCommentAfter:f.auxiliaryCommentAfter,retainLines:f.retainLines,comments:u,shouldPrintComment:f.shouldPrintComment,compact:p,minified:f.minified,sourceMaps:a,sourceRoot:o,sourceFileName:l},f.generatorOpts)});for(const t of e.passes){for(const e of t){if(e.manipulateOptions){e.manipulateOptions(c,c.parserOpts)}}}return c}},38085:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class PluginPass{constructor(e,t,r){this._map=new Map;this.key=void 0;this.file=void 0;this.opts=void 0;this.cwd=void 0;this.filename=void 0;this.key=t;this.file=e;this.opts=r||{};this.cwd=e.opts.cwd;this.filename=e.opts.filename}set(e,t){this._map.set(e,t)}get(e){return this._map.get(e)}availableHelper(e,t){return this.file.availableHelper(e,t)}addHelper(e){return this.file.addHelper(e)}addImport(){return this.file.addImport()}buildCodeFrameError(e,t,r){return this.file.buildCodeFrameError(e,t,r)}}t.default=PluginPass;{PluginPass.prototype.getModuleName=function getModuleName(){return this.file.getModuleName()}}},77861:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;const r="$$ babel internal serialized type"+Math.random();function serialize(e,t){if(typeof t!=="bigint")return t;return{[r]:"BigInt",value:t.toString()}}function revive(e,t){if(!t||typeof t!=="object")return t;if(t[r]!=="BigInt")return t;return BigInt(t.value)}function _default(e){return JSON.parse(JSON.stringify(e,serialize),revive)}},98450:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;function _v(){const e=r(68987);_v=function(){return e};return e}var n=r(77861);function _default(e){if(_v().deserialize&&_v().serialize){return _v().deserialize(_v().serialize(e))}return(0,n.default)(e)}},81201:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getInclusionReasons=getInclusionReasons;var n=r(62519);var s=r(93741);var i=r(47856);function getInclusionReasons(e,t,r){const a=r[e]||{};return Object.keys(t).reduce((e,r)=>{const o=(0,i.getLowestImplementedVersion)(a,r);const l=t[r];if(!o){e[r]=(0,s.prettifyVersion)(l)}else{const t=(0,i.isUnreleasedVersion)(o,r);const a=(0,i.isUnreleasedVersion)(l,r);if(!a&&(t||n.lt(l.toString(),(0,i.semverify)(o)))){e[r]=(0,s.prettifyVersion)(l)}}return e},{})}},45902:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.targetsSupported=targetsSupported;t.isRequired=isRequired;t.default=filterItems;var n=r(62519);var s=r(48935);var i=r(47856);function targetsSupported(e,t){const r=Object.keys(e);if(r.length===0){return false}const s=r.filter(r=>{const s=(0,i.getLowestImplementedVersion)(t,r);if(!s){return true}const a=e[r];if((0,i.isUnreleasedVersion)(a,r)){return false}if((0,i.isUnreleasedVersion)(s,r)){return true}if(!n.valid(a.toString())){throw new Error(`Invalid version passed for target "${r}": "${a}". `+"Versions must be in semver format (major.minor.patch)")}return n.gt((0,i.semverify)(s),a.toString())});return s.length===0}function isRequired(e,t,{compatData:r=s,includes:n,excludes:i}={}){if(i!=null&&i.has(e))return false;if(n!=null&&n.has(e))return true;return!targetsSupported(t,r[e])}function filterItems(e,t,r,n,s,i,a){const o=new Set;const l={compatData:e,includes:t,excludes:r};for(const t in e){if(isRequired(t,n,l)){o.add(t)}else if(a){const e=a.get(t);if(e){o.add(e)}}}if(s){s.forEach(e=>!r.has(e)&&o.add(e))}if(i){i.forEach(e=>!t.has(e)&&o.delete(e))}return o}},396:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isBrowsersQueryValid=isBrowsersQueryValid;t.default=getTargets;Object.defineProperty(t,"unreleasedLabels",{enumerable:true,get:function(){return o.unreleasedLabels}});Object.defineProperty(t,"TargetNames",{enumerable:true,get:function(){return l.TargetNames}});Object.defineProperty(t,"prettifyTargets",{enumerable:true,get:function(){return u.prettifyTargets}});Object.defineProperty(t,"getInclusionReasons",{enumerable:true,get:function(){return p.getInclusionReasons}});Object.defineProperty(t,"filterItems",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"isRequired",{enumerable:true,get:function(){return f.isRequired}});var n=r(3561);var s=r(69562);var i=r(79419);var a=r(47856);var o=r(7284);var l=r(4631);var u=r(93741);var p=r(81201);var f=r(45902);const c=i["es6.module"];const d=new s.OptionValidator("@babel/helper-compilation-targets");function validateTargetNames(e){const t=Object.keys(l.TargetNames);for(const r of Object.keys(e)){if(!(r in l.TargetNames)){throw new Error(d.formatMessage(`'${r}' is not a valid target\n- Did you mean '${(0,s.findSuggestion)(r,t)}'?`))}}return e}function isBrowsersQueryValid(e){return typeof e==="string"||Array.isArray(e)&&e.every(e=>typeof e==="string")}function validateBrowsers(e){d.invariant(e===undefined||isBrowsersQueryValid(e),`'${String(e)}' is not a valid browserslist query`);return e}function getLowestVersions(e){return e.reduce((e,t)=>{const[r,n]=t.split(" ");const s=o.browserNameMap[r];if(!s){return e}try{const t=n.split("-")[0].toLowerCase();const i=(0,a.isUnreleasedVersion)(t,r);if(!e[s]){e[s]=i?t:(0,a.semverify)(t);return e}const o=e[s];const l=(0,a.isUnreleasedVersion)(o,r);if(l&&i){e[s]=(0,a.getLowestUnreleased)(o,t,r)}else if(l){e[s]=(0,a.semverify)(t)}else if(!l&&!i){const r=(0,a.semverify)(t);e[s]=(0,a.semverMin)(o,r)}}catch(e){}return e},{})}function outputDecimalWarning(e){if(!e.length){return}console.warn("Warning, the following targets are using a decimal version:\n");e.forEach(({target:e,value:t})=>console.warn(` ${e}: ${t}`));console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`)}function semverifyTarget(e,t){try{return(0,a.semverify)(t)}catch(r){throw new Error(d.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}const y={__default(e,t){const r=(0,a.isUnreleasedVersion)(t,e)?t.toLowerCase():semverifyTarget(e,t);return[e,r]},node(e,t){const r=t===true||t==="current"?process.versions.node:semverifyTarget(e,t);return[e,r]}};function generateTargets(e){const t=Object.assign({},e);delete t.esmodules;delete t.browsers;return t}function resolveTargets(e){const t=n(e,{mobileToDesktop:true});return getLowestVersions(t)}function getTargets(e={},t={}){var r;let{browsers:s,esmodules:i}=e;const{configPath:o="."}=t;validateBrowsers(s);const l=generateTargets(e);let u=validateTargetNames(l);const p=!!s;const f=p||Object.keys(u).length>0;const d=!t.ignoreBrowserslistConfig&&!f;if(!s&&d){s=n.loadConfig({config:t.configFile,path:o,env:t.browserslistEnv});if(s==null){{s=[]}}}if(i&&(i!=="intersect"||!((r=s)!=null&&r.length))){s=Object.keys(c).map(e=>`${e} >= ${c[e]}`).join(", ");i=false}if(s){const e=resolveTargets(s);if(i==="intersect"){for(const t of Object.keys(e)){const r=e[t];if(c[t]){e[t]=(0,a.getHighestUnreleased)(r,(0,a.semverify)(c[t]),t)}else{delete e[t]}}}u=Object.assign(e,u)}const m={};const T=[];for(const e of Object.keys(u).sort()){var h;const t=u[e];if(typeof t==="number"&&t%1!==0){T.push({target:e,value:t})}const r=(h=y[e])!=null?h:y.__default;const[n,s]=r(e,t);if(s){m[n]=s}}outputDecimalWarning(T);return m}},4631:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TargetNames=void 0;const r={node:"node",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung",rhino:"rhino"};t.TargetNames=r},93741:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.prettifyVersion=prettifyVersion;t.prettifyTargets=prettifyTargets;var n=r(62519);var s=r(7284);function prettifyVersion(e){if(typeof e!=="string"){return e}const t=[n.major(e)];const r=n.minor(e);const s=n.patch(e);if(r||s){t.push(r)}if(s){t.push(s)}return t.join(".")}function prettifyTargets(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];const i=s.unreleasedLabels[r];if(typeof n==="string"&&i!==n){n=prettifyVersion(n)}t[r]=n;return t},{})}},7284:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.browserNameMap=t.unreleasedLabels=void 0;const r={safari:"tp"};t.unreleasedLabels=r;const n={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",op_mob:"opera",opera:"opera",safari:"safari",samsung:"samsung"};t.browserNameMap=n},47856:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.semverMin=semverMin;t.semverify=semverify;t.isUnreleasedVersion=isUnreleasedVersion;t.getLowestUnreleased=getLowestUnreleased;t.getHighestUnreleased=getHighestUnreleased;t.getLowestImplementedVersion=getLowestImplementedVersion;var n=r(62519);var s=r(69562);var i=r(7284);const a=/^(\d+|\d+.\d+)$/;const o=new s.OptionValidator("@babel/helper-compilation-targets");function semverMin(e,t){return e&&n.lt(e,t)?e:t}function semverify(e){if(typeof e==="string"&&n.valid(e)){return e}o.invariant(typeof e==="number"||typeof e==="string"&&a.test(e),`'${e}' is not a valid version`);const t=e.toString().split(".");while(t.length<3){t.push("0")}return t.join(".")}function isUnreleasedVersion(e,t){const r=i.unreleasedLabels[t];return!!r&&r===e.toString().toLowerCase()}function getLowestUnreleased(e,t,r){const n=i.unreleasedLabels[r];const s=[e,t].some(e=>e===n);if(s){return e===s?t:e||t}return semverMin(e,t)}function getHighestUnreleased(e,t,r){return getLowestUnreleased(e,t,r)===e?t:e}function getLowestImplementedVersion(e,t){const r=e[t];if(!r&&t==="android"){return e.chrome}return r}},68660:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(30315);function _interopNamespace(e){if(e&&e.__esModule)return e;var t=Object.create(null);if(e){Object.keys(e).forEach(function(r){if(r!=="default"){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:true,get:function(){return e[r]}})}})}t["default"]=e;return Object.freeze(t)}var s=_interopNamespace(n);function willPathCastToBoolean(e){const t=e;const{node:r,parentPath:n}=t;if(n.isLogicalExpression()){const{operator:e,right:t}=n.node;if(e==="&&"||e==="||"||e==="??"&&r===t){return willPathCastToBoolean(n)}}if(n.isSequenceExpression()){const{expressions:e}=n.node;if(e[e.length-1]===r){return willPathCastToBoolean(n)}else{return true}}return n.isConditional({test:r})||n.isUnaryExpression({operator:"!"})||n.isLoop({test:r})}class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const t=this._map.get(e);const{value:r}=t;t.count--;if(t.count===0){return s.assignmentExpression("=",r,e)}return r}set(e,t,r){return this._map.set(e,{count:r,value:t})}}function toNonOptional(e,t){const{node:r}=e;if(s.isOptionalMemberExpression(r)){return s.memberExpression(t,r.property,r.computed)}if(e.isOptionalCallExpression()){const r=e.get("callee");if(e.node.optional&&r.isOptionalMemberExpression()){const{object:n}=r.node;const i=e.scope.maybeGenerateMemoised(n)||n;r.get("object").replaceWith(s.assignmentExpression("=",i,n));return s.callExpression(s.memberExpression(t,s.identifier("call")),[i,...e.node.arguments])}return s.callExpression(t,e.node.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:t,container:r,listKey:n}=e;const s=t.node;if(n){if(r!==s[n])return true}else{if(r!==s)return true}e=t}return false}const i={memoise(){},handle(e,t){const{node:r,parent:n,parentPath:i,scope:a}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const o=e.find(({node:t,parent:r})=>{if(s.isOptionalMemberExpression(r)){return r.optional||r.object!==t}if(s.isOptionalCallExpression(r)){return t!==e.node&&r.optional||r.callee!==t}return true});if(a.path.isPattern()){o.replaceWith(s.callExpression(s.arrowFunctionExpression([],o.node),[]));return}const l=willPathCastToBoolean(o);const u=o.parentPath;if(u.isUpdateExpression({argument:r})||u.isAssignmentExpression({left:r})){throw e.buildCodeFrameError(`can't handle assignment`)}const p=u.isUnaryExpression({operator:"delete"});if(p&&o.isOptionalMemberExpression()&&o.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let f=e;for(;;){if(f.isOptionalMemberExpression()){if(f.node.optional)break;f=f.get("object");continue}else if(f.isOptionalCallExpression()){if(f.node.optional)break;f=f.get("callee");continue}throw new Error(`Internal error: unexpected ${f.node.type}`)}const c=f.isOptionalMemberExpression()?"object":"callee";const d=f.node[c];const y=a.maybeGenerateMemoised(d);const m=y!=null?y:d;const T=i.isOptionalCallExpression({callee:r});const h=e=>T;const S=i.isCallExpression({callee:r});f.replaceWith(toNonOptional(f,m));if(h()){if(n.optional){i.replaceWith(this.optionalCall(e,n.arguments))}else{i.replaceWith(this.call(e,n.arguments))}}else if(S){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}let b=e.node;for(let t=e;t!==o;){const e=t.parentPath;if(e===o&&h()&&n.optional){b=e.node;break}b=toNonOptional(e,b);t=e}let E;const g=o.parentPath;if(s.isMemberExpression(b)&&g.isOptionalCallExpression({callee:o.node,optional:true})){const{object:t}=b;E=e.scope.maybeGenerateMemoised(t);if(E){b.object=s.assignmentExpression("=",E,t)}}let P=o;if(p){P=g;b=g.node}const x=y?s.assignmentExpression("=",s.cloneNode(m),s.cloneNode(d)):s.cloneNode(m);if(l){let e;if(t){e=s.binaryExpression("!=",x,s.nullLiteral())}else{e=s.logicalExpression("&&",s.binaryExpression("!==",x,s.nullLiteral()),s.binaryExpression("!==",s.cloneNode(m),a.buildUndefinedNode()))}P.replaceWith(s.logicalExpression("&&",e,b))}else{let e;if(t){e=s.binaryExpression("==",x,s.nullLiteral())}else{e=s.logicalExpression("||",s.binaryExpression("===",x,s.nullLiteral()),s.binaryExpression("===",s.cloneNode(m),a.buildUndefinedNode()))}P.replaceWith(s.conditionalExpression(e,p?s.booleanLiteral(true):a.buildUndefinedNode(),b))}if(E){const e=g.node;g.replaceWith(s.optionalCallExpression(s.optionalMemberExpression(e.callee,s.identifier("call"),false,true),[s.cloneNode(E),...e.arguments],false))}return}if(s.isUpdateExpression(n,{argument:r})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,prefix:a}=n;this.memoise(e,2);const o=s.binaryExpression(t[0],s.unaryExpression("+",this.get(e)),s.numericLiteral(1));if(a){i.replaceWith(this.set(e,o))}else{const{scope:t}=e;const n=t.generateUidIdentifierBasedOnNode(r);t.push({id:n});o.left=s.assignmentExpression("=",s.cloneNode(n),o.left);i.replaceWith(s.sequenceExpression([this.set(e,o),s.cloneNode(n)]))}return}if(i.isAssignmentExpression({left:r})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,right:r}=i.node;if(t==="="){i.replaceWith(this.set(e,r))}else{const n=t.slice(0,-1);if(s.LOGICAL_OPERATORS.includes(n)){this.memoise(e,1);i.replaceWith(s.logicalExpression(n,this.get(e),this.set(e,r)))}else{this.memoise(e,2);i.replaceWith(this.set(e,s.binaryExpression(n,this.get(e),r)))}}return}if(i.isCallExpression({callee:r})){i.replaceWith(this.call(e,i.node.arguments));return}if(i.isOptionalCallExpression({callee:r})){if(a.path.isPattern()){i.replaceWith(s.callExpression(s.arrowFunctionExpression([],i.node),[]));return}i.replaceWith(this.optionalCall(e,i.node.arguments));return}if(i.isForXStatement({left:r})||i.isObjectProperty({value:r})&&i.parentPath.isObjectPattern()||i.isAssignmentPattern({left:r})&&i.parentPath.isObjectProperty({value:n})&&i.parentPath.parentPath.isObjectPattern()||i.isArrayPattern()||i.isAssignmentPattern({left:r})&&i.parentPath.isArrayPattern()||i.isRestElement()){e.replaceWith(this.destructureSet(e));return}if(i.isTaggedTemplateExpression()){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}}};function memberExpressionToFunctions(e,t,r){e.traverse(t,Object.assign({},i,r,{memoiser:new AssignmentMemoiser}))}t.default=memberExpressionToFunctions},2427:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var s=r(24748);class ImportBuilder{constructor(e,t,r){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=r;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(s.importDeclaration([],s.stringLiteral(this._importedSource)));return this}require(){this._statements.push(s.expressionStatement(s.callExpression(s.identifier("require"),[s.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[s.importNamespaceSpecifier(t)];this._resultName=s.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];n(t.type==="ImportDeclaration");n(t.specifiers.length===0);t.specifiers=[s.importDefaultSpecifier(e)];this._resultName=s.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[s.importSpecifier(e,s.identifier(t))];this._resultName=s.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){n(this._resultName);t=s.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=s.variableDeclaration("var",[s.variableDeclarator(e,t.expression)]);this._resultName=s.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=s.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=s.callExpression(e,[t.declarations[0].init])}else{n.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=s.memberExpression(t.expression,s.identifier(e))}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=s.memberExpression(t.declarations[0].init,s.identifier(e))}else{n.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=s.memberExpression(this._resultName,s.identifier(e))}}t.default=ImportBuilder},24946:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var s=r(24748);var i=r(2427);var a=r(3447);class ImportInjector{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const n=e.find(e=>e.isProgram());this._programPath=n;this._programScope=n.scope;this._hub=n.hub;this._defaultOpts=this._applyDefaults(t,r,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){n(typeof e==="string");return this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,r=false){const s=[];if(typeof e==="string"){s.push({importedSource:e});s.push(t)}else{n(!t,"Unexpected secondary arguments.");s.push(e)}const i=Object.assign({},this._defaultOpts);for(const e of s){if(!e)continue;Object.keys(i).forEach(t=>{if(e[t]!==undefined)i[t]=e[t]});if(!r){if(e.nameHint!==undefined)i.nameHint=e.nameHint;if(e.blockHoist!==undefined)i.blockHoist=e.blockHoist}}return i}_generateImport(e,t){const r=t==="default";const n=!!t&&!r;const o=t===null;const{importedSource:l,importedType:u,importedInterop:p,importingInterop:f,ensureLiveReference:c,ensureNoContext:d,nameHint:y,importPosition:m,blockHoist:T}=e;let h=y||t;const S=(0,a.default)(this._programPath);const b=S&&f==="node";const E=S&&f==="babel";if(m==="after"&&!S){throw new Error(`"importPosition": "after" is only supported in modules`)}const g=new i.default(l,this._programScope,this._hub);if(u==="es6"){if(!b&&!E){throw new Error("Cannot import an ES6 module from CommonJS")}g.import();if(o){g.namespace(y||l)}else if(r||n){g.named(h,t)}}else if(u!=="commonjs"){throw new Error(`Unexpected interopType "${u}"`)}else if(p==="babel"){if(b){h=h!=="default"?h:l;const e=`${l}$es6Default`;g.import();if(o){g.default(e).var(h||l).wildcardInterop()}else if(r){if(c){g.default(e).var(h||l).defaultInterop().read("default")}else{g.default(e).var(h).defaultInterop().prop(t)}}else if(n){g.default(e).read(t)}}else if(E){g.import();if(o){g.namespace(h||l)}else if(r||n){g.named(h,t)}}else{g.require();if(o){g.var(h||l).wildcardInterop()}else if((r||n)&&c){if(r){h=h!=="default"?h:l;g.var(h).read(t);g.defaultInterop()}else{g.var(l).read(t)}}else if(r){g.var(h).defaultInterop().prop(t)}else if(n){g.var(h).prop(t)}}}else if(p==="compiled"){if(b){g.import();if(o){g.default(h||l)}else if(r||n){g.default(l).read(h)}}else if(E){g.import();if(o){g.namespace(h||l)}else if(r||n){g.named(h,t)}}else{g.require();if(o){g.var(h||l)}else if(r||n){if(c){g.var(l).read(h)}else{g.prop(t).var(h)}}}}else if(p==="uncompiled"){if(r&&c){throw new Error("No live reference for commonjs default")}if(b){g.import();if(o){g.default(h||l)}else if(r){g.default(h)}else if(n){g.default(l).read(h)}}else if(E){g.import();if(o){g.default(h||l)}else if(r){g.default(h)}else if(n){g.named(h,t)}}else{g.require();if(o){g.var(h||l)}else if(r){g.var(h)}else if(n){if(c){g.var(l).read(h)}else{g.var(h).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:P,resultName:x}=g.done();this._insertStatements(P,m,T);if((r||n)&&d&&x.type!=="Identifier"){return s.sequenceExpression([s.numericLiteral(0),x])}return x}_insertStatements(e,t="before",r=3){const n=this._programPath.get("body");if(t==="after"){for(let t=n.length-1;t>=0;t--){if(n[t].isImportDeclaration()){n[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=r});const t=n.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},68466:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return s.default}});var n=r(24946);var s=r(3447);function addDefault(e,t,r){return new n.default(e).addDefault(t,r)}function addNamed(e,t,r,s){return new n.default(e).addNamed(t,r,s)}function addNamespace(e,t,r){return new n.default(e).addNamespace(t,r)}function addSideEffect(e,t,r){return new n.default(e).addSideEffect(t,r)}},3447:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},23723:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(23723);var s=r(81890)},81890:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},81756:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(10245);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},16308:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(70135);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},36416:()=>{},33849:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(61668);var s=r(3161);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(3817);var s=r(43561);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},82296:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(3817);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},3817:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(33849);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},95179:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(3817)},70298:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(9621);var s=r(74563);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(3817);var s=r(27645);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},13505:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(33704);function clone(e){return(0,n.default)(e,false)}},90952:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(33704);function cloneDeep(e){return(0,n.default)(e)}},36178:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(33704);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},33704:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(61668);var s=r(9621);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},69526:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(33704);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},52185:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(19214);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},19214:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},73175:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(82045);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},91353:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(82045);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},69889:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(82045);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},92819:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(69889);var s=r(91353);var i=r(73175);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},91307:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(14451);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},6540:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(61668);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},14451:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},43679:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(74616);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},2172:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(48228);var s=r(9621);var i=r(3817);var a=r(33704);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},98375:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(48853);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},74616:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(9621);var s=r(3817);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},62148:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(9621);var s=r(3817);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},37768:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(9621);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},48853:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(66248);var s=r(72707);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},16912:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(9621);var s=r(33704);var i=r(81655);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},3545:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(2172);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},16643:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(9621);var s=r(3817);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},82157:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(66248);var s=r(3817);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},57848:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(70135);var s=r(66248);var i=r(72707);var a=r(14451);var o=r(40782);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},98312:(e,t,r)=>{"use strict";var n=r(40782);var s=r(57848);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},44802:(e,t,r)=>{"use strict";var n=r(40782);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},61668:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(57848);r(44802);r(78534);r(76134);r(98312);r(69590);var s=r(40782);var i=r(54714);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},78534:(e,t,r)=>{"use strict";var n=r(40782);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},76134:(e,t,r)=>{"use strict";var n=r(40782);var s=r(54714);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},54714:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(40782);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},69590:(e,t,r)=>{"use strict";var n=r(40782);var s=r(57848);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},40782:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(70135);var s=r(3161);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},24748:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(56213);var i=r(63031);var a=r(70298);var o=r(81756);var l=r(16308);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(82296);var p=r(91074);var f=r(17144);var c=r(3817);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(95179);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(33704);var m=r(13505);var T=r(90952);var h=r(36178);var S=r(69526);var b=r(52185);var E=r(19214);var g=r(73175);var P=r(91353);var x=r(92819);var v=r(69889);var A=r(91307);var O=r(6540);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(14451);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(43679);var w=r(98375);var j=r(74616);var N=r(62148);var C=r(37768);var L=r(48853);var _=r(16912);var M=r(3545);var F=r(16643);var B=r(82157);var k=r(61668);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(93033);var K=r(24786);var V=r(48194);var X=r(51568);var Y=r(81655);var J=r(43561);var U=r(48228);var W=r(42308);var q=r(94814);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(91031);var G=r(570);var $=r(70135);var H=r(88772);var Q=r(1018);var Z=r(74823);var ee=r(19206);var te=r(10245);var re=r(19457);var ne=r(32766);var se=r(28757);var ie=r(72600);var ae=r(98913);var oe=r(30348);var le=r(72892);var ue=r(66248);var pe=r(7832);var fe=r(13745);var ce=r(3161);var de=r(66874);var ye=r(9621);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(36416);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},93033:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(3817);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},43561:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(9621);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},24786:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(14451);var s=r(92819);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},48194:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(3817);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},51568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(14451);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},81655:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(91031);var s=r(51568);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},27645:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(9621);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},48228:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(9621);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(48228);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},94814:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(61668);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(61668);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},82045:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},74563:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(3817);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},66874:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(13745);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},9621:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(570);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},70135:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(570);var s=r(30348);var i=r(32766);var a=r(61668);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},88772:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(48228);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},1018:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(9621);var s=r(19206);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},74823:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(30348);var s=r(9621);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},19206:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(9621);var s=r(14451);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},10245:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(61668);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},19457:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(61668);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(61668);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},28757:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},72600:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(9621);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},98913:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(9621);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},30348:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(61668);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},72892:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(66248);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},66248:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(72707);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},7832:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(9621);var s=r(14451);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},13745:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(9621);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},56213:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(66874);const s=(0,n.default)("React.Component");var i=s;t.default=i},3161:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(61668);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},68753:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getModuleName;{const e=getModuleName;t.default=getModuleName=function getModuleName(t,r){var n,s,i,a;return e(t,{moduleId:(n=r.moduleId)!=null?n:t.moduleId,moduleIds:(s=r.moduleIds)!=null?s:t.moduleIds,getModuleId:(i=r.getModuleId)!=null?i:t.getModuleId,moduleRoot:(a=r.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:r,filenameRelative:n=r,sourceRoot:s=t.moduleRoot}=e;const{moduleId:i,moduleIds:a=!!i,getModuleId:o,moduleRoot:l=s}=t;if(!a)return null;if(i!=null&&!o){return i}let u=l!=null?l+"/":"";if(n){const e=s!=null?new RegExp("^"+s+"/?"):"";u+=n.replace(e,"").replace(/\.(\w*?)$/,"")}u=u.replace(/\\/g,"/");if(o){return o(u)||u}else{return u}}},18341:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;t.ensureStatementsHoisted=ensureStatementsHoisted;t.wrapInterop=wrapInterop;t.buildNamespaceInitStatements=buildNamespaceInitStatements;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.isModule}});Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return u.hasExports}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return u.isSideEffectImport}});Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});var n=r(42357);var s=r(30315);var i=r(36900);var a=r(68466);var o=r(57789);var l=r(50549);var u=r(80935);var p=r(68753);function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:r,strict:i,allowTopLevelThis:p,strictMode:f,noInterop:c,importInterop:d=(c?"none":"babel"),lazy:y,esNamespaceOnly:m,constantReexports:T=t,enumerableModuleMeta:h=t,noIncompleteNsImportDetection:S}){(0,u.validateImportInteropOption)(d);n((0,a.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const b=(0,u.default)(e,r,{importInterop:d,initializeReexports:T,lazy:y,esNamespaceOnly:m});if(!p){(0,o.default)(e)}(0,l.default)(e,b);if(f!==false){const t=e.node.directives.some(e=>{return e.value.value==="use strict"});if(!t){e.unshiftContainer("directives",s.directive(s.directiveLiteral("use strict")))}}const E=[];if((0,u.hasExports)(b)&&!i){E.push(buildESModuleHeader(b,h))}const g=buildExportNameListDeclaration(e,b);if(g){b.exportNameListName=g.name;E.push(g.statement)}E.push(...buildExportInitializationStatements(e,b,T,S));return{meta:b,headers:E}}function ensureStatementsHoisted(e){e.forEach(e=>{e._blockHoist=3})}function wrapInterop(e,t,r){if(r==="none"){return null}if(r==="node-namespace"){return s.callExpression(e.hub.addHelper("interopRequireWildcard"),[t,s.booleanLiteral(true)])}else if(r==="node-default"){return null}let n;if(r==="default"){n="interopRequireDefault"}else if(r==="namespace"){n="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${r}`)}return s.callExpression(e.hub.addHelper(n),[t])}function buildNamespaceInitStatements(e,t,r=false){const n=[];let a=s.identifier(t.name);if(t.lazy)a=s.callExpression(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;n.push(i.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:s.cloneNode(a)}))}if(r){n.push(...c(e,t,true))}for(const r of t.reexportNamespace){n.push((t.lazy?i.default.statement` + `(e);function buildGlobal(e){const s=t().identifier("babelHelpers");const r=[];const i=t().functionExpression(null,[t().identifier("global")],t().blockStatement(r));const n=t().program([t().expressionStatement(t().callExpression(i,[t().conditionalExpression(t().binaryExpression("===",t().unaryExpression("typeof",t().identifier("global")),t().stringLiteral("undefined")),t().identifier("self"),t().identifier("global"))]))]);r.push(t().variableDeclaration("var",[t().variableDeclarator(s,t().assignmentExpression("=",t().memberExpression(t().identifier("global"),s),t().objectExpression([])))]));buildHelpers(r,s,e);return n}function buildModule(e){const s=[];const r=buildHelpers(s,null,e);s.unshift(t().exportNamedDeclaration(null,Object.keys(r).map(e=>{return t().exportSpecifier(t().cloneNode(r[e]),t().identifier(e))})));return t().program(s,[],"module")}function buildUmd(e){const s=t().identifier("babelHelpers");const r=[];r.push(t().variableDeclaration("var",[t().variableDeclarator(s,t().identifier("global"))]));buildHelpers(r,s,e);return t().program([n({FACTORY_PARAMETERS:t().identifier("global"),BROWSER_ARGUMENTS:t().assignmentExpression("=",t().memberExpression(t().identifier("root"),s),t().objectExpression([])),COMMON_ARGUMENTS:t().identifier("exports"),AMD_ARGUMENTS:t().arrayExpression([t().stringLiteral("exports")]),FACTORY_BODY:r,UMD_ROOT:t().identifier("this")})])}function buildVar(e){const s=t().identifier("babelHelpers");const r=[];r.push(t().variableDeclaration("var",[t().variableDeclarator(s,t().objectExpression([]))]));const i=t().program(r);buildHelpers(r,s,e);r.push(t().expressionStatement(s));return i}function buildHelpers(e,s,r){const n=e=>{return s?t().memberExpression(s,t().identifier(e)):t().identifier(`_${e}`)};const a={};helpers().list.forEach(function(t){if(r&&r.indexOf(t)<0)return;const s=a[t]=n(t);helpers().ensure(t,i.default);const{nodes:o}=helpers().get(t,n,s);e.push(...o)});return a}function _default(e,t="global"){let s;const r={global:buildGlobal,module:buildModule,umd:buildUmd,var:buildVar}[t];if(r){s=r(e)}else{throw new Error(`Unsupported output type ${t}`)}return(0,_generator().default)(s).code}},2591:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFromAstAsync=t.transformFromAstSync=t.transformFromAst=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(40152);var i=s(74227);const n=_gensync()(function*(e,t,s){const n=yield*(0,r.default)(s);if(n===null)return null;if(!e)throw new Error("No AST given");return yield*(0,i.run)(n,t,e)});const a=function transformFromAst(e,t,s,r){if(typeof s==="function"){r=s;s=undefined}if(r===undefined){return n.sync(e,t,s)}n.errback(e,t,s,r)};t.transformFromAst=a;const o=n.sync;t.transformFromAstSync=o;const l=n.async;t.transformFromAstAsync=l},23897:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFileAsync=t.transformFileSync=t.transformFile=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(40152);var i=s(74227);var n=s(30420);({});const a=_gensync()(function*(e,t){const s=Object.assign({},t,{filename:e});const a=yield*(0,r.default)(s);if(a===null)return null;const o=yield*n.readFile(e,"utf8");return yield*(0,i.run)(a,o)});const o=a.errback;t.transformFile=o;const l=a.sync;t.transformFileSync=l;const c=a.async;t.transformFileAsync=c},30000:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformAsync=t.transformSync=t.transform=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(40152);var i=s(74227);const n=_gensync()(function*transform(e,t){const s=yield*(0,r.default)(t);if(s===null)return null;return yield*(0,i.run)(s,e)});const a=function transform(e,t,s){if(typeof t==="function"){s=t;t=undefined}if(s===undefined)return n.sync(e,t);n.errback(e,t,s)};t.transform=a;const o=n.sync;t.transformSync=o;const l=n.async;t.transformAsync=l},20054:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadBlockHoistPlugin;function _traverse(){const e=s(4267);_traverse=function(){return e};return e}var r=s(78543);let i;function loadBlockHoistPlugin(){if(!i){i=new r.default(Object.assign({},n,{visitor:_traverse().default.explode(n.visitor)}),{})}return i}function priority(e){const t=e==null?void 0:e._blockHoist;if(t==null)return 1;if(t===true)return 2;return t}function stableSort(e){const t=Object.create(null);for(let s=0;s+e).sort((e,t)=>t-e);let r=0;for(const i of s){const s=t[i];for(const t of s){e[r++]=t}}return e}const n={name:"internal.blockHoist",visitor:{Block:{exit({node:e}){const{body:t}=e;let s=Math.pow(2,30)-1;let r=false;for(let e=0;es){r=true;break}s=n}if(!r)return;e.body=stableSort(t.slice())}}}}},56407:(e,s,r)=>{"use strict";Object.defineProperty(s,"__esModule",{value:true});s.default=void 0;function helpers(){const e=r(19219);helpers=function(){return e};return e}function _traverse(){const e=r(4267);_traverse=function(){return e};return e}function _codeFrame(){const e=r(90617);_codeFrame=function(){return e};return e}function t(){const e=r(19761);t=function(){return e};return e}function _helperModuleTransforms(){const e=r(18341);_helperModuleTransforms=function(){return e};return e}function _semver(){const e=r(62519);_semver=function(){return e};return e}const i={enter(e,t){const s=e.node.loc;if(s){t.loc=s;e.stop()}}};class File{constructor(e,{code:t,ast:s,inputMap:r}){this._map=new Map;this.opts=void 0;this.declarations={};this.path=null;this.ast={};this.scope=void 0;this.metadata={};this.code="";this.inputMap=null;this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)};this.opts=e;this.code=t;this.ast=s;this.inputMap=r;this.path=_traverse().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext();this.scope=this.path.scope}get shebang(){const{interpreter:e}=this.path.node;return e?e.value:""}set shebang(e){if(e){this.path.get("interpreter").replaceWith(t().interpreterDirective(e))}else{this.path.get("interpreter").remove()}}set(e,t){if(e==="helpersNamespace"){throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility."+"If you are using @babel/plugin-external-helpers you will need to use a newer "+"version than the one you currently have installed. "+"If you have your own implementation, you'll want to explore using 'helperGenerator' "+"alongside 'file.availableHelper()'.")}this._map.set(e,t)}get(e){return this._map.get(e)}has(e){return this._map.has(e)}getModuleName(){return(0,_helperModuleTransforms().getModuleName)(this.opts,this.opts)}addImport(){throw new Error("This API has been removed. If you're looking for this "+"functionality in Babel 7, you should import the "+"'@babel/helper-module-imports' module and use the functions exposed "+" from that module, such as 'addNamed' or 'addDefault'.")}availableHelper(e,t){let s;try{s=helpers().minVersion(e)}catch(e){if(e.code!=="BABEL_HELPER_UNKNOWN")throw e;return false}if(typeof t!=="string")return true;if(_semver().valid(t))t=`^${t}`;return!_semver().intersects(`<${s}`,t)&&!_semver().intersects(`>=8.0.0`,t)}addHelper(e){const s=this.declarations[e];if(s)return t().cloneNode(s);const r=this.get("helperGenerator");if(r){const t=r(e);if(t)return t}helpers().ensure(e,File);const i=this.declarations[e]=this.scope.generateUidIdentifier(e);const n={};for(const t of helpers().getDependencies(e)){n[t]=this.addHelper(t)}const{nodes:a,globals:o}=helpers().get(e,e=>n[e],i,Object.keys(this.scope.getAllBindings()));o.forEach(e=>{if(this.path.scope.hasBinding(e,true)){this.path.scope.rename(e)}});a.forEach(e=>{e._compact=true});this.path.unshiftContainer("body",a);this.path.get("body").forEach(e=>{if(a.indexOf(e.node)===-1)return;if(e.isVariableDeclaration())this.scope.registerDeclaration(e)});return i}addTemplateObject(){throw new Error("This function has been moved into the template literal transform itself.")}buildCodeFrameError(e,t,s=SyntaxError){let r=e&&(e.loc||e._loc);if(!r&&e){const s={loc:null};(0,_traverse().default)(e,i,this.scope,s);r=s.loc;let n="This is an error on an internal node. Probably an internal error.";if(r)n+=" Location has been estimated.";t+=` (${n})`}if(r){const{highlightCode:e=true}=this.opts;t+="\n"+(0,_codeFrame().codeFrameColumns)(this.code,{start:{line:r.start.line,column:r.start.column+1},end:r.end&&r.start.line===r.end.line?{line:r.end.line,column:r.end.column+1}:undefined},{highlightCode:e})}return new s(t)}}s.default=File},46579:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateCode;function _convertSourceMap(){const e=s(36301);_convertSourceMap=function(){return e};return e}function _generator(){const e=s(23656);_generator=function(){return e};return e}var r=s(84058);function generateCode(e,t){const{opts:s,ast:i,code:n,inputMap:a}=t;const o=[];for(const t of e){for(const e of t){const{generatorOverride:t}=e;if(t){const e=t(i,s.generatorOpts,n,_generator().default);if(e!==undefined)o.push(e)}}}let l;if(o.length===0){l=(0,_generator().default)(i,s.generatorOpts,n)}else if(o.length===1){l=o[0];if(typeof l.then==="function"){throw new Error(`You appear to be using an async codegen plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version.`)}}else{throw new Error("More than one plugin attempted to override codegen.")}let{code:c,map:p}=l;if(p&&a){p=(0,r.default)(a.toObject(),p)}if(s.sourceMaps==="inline"||s.sourceMaps==="both"){c+="\n"+_convertSourceMap().fromObject(p).toComment()}if(s.sourceMaps==="inline"){p=null}return{outputCode:c,outputMap:p}}},84058:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=mergeSourceMap;function _sourceMap(){const e=s(96241);_sourceMap=function(){return e};return e}function mergeSourceMap(e,t){const s=buildMappingData(e);const r=buildMappingData(t);const i=new(_sourceMap().SourceMapGenerator);for(const{source:e}of s.sources){if(typeof e.content==="string"){i.setSourceContent(e.path,e.content)}}if(r.sources.length===1){const e=r.sources[0];const t=new Map;eachInputGeneratedRange(s,(s,r,n)=>{eachOverlappingGeneratedOutputRange(e,s,e=>{const s=makeMappingKey(e);if(t.has(s))return;t.set(s,e);i.addMapping({source:n.path,original:{line:r.line,column:r.columnStart},generated:{line:e.line,column:e.columnStart},name:r.name})})});for(const e of t.values()){if(e.columnEnd===Infinity){continue}const s={line:e.line,columnStart:e.columnEnd};const r=makeMappingKey(s);if(t.has(r)){continue}i.addMapping({generated:{line:s.line,column:s.columnStart}})}}const n=i.toJSON();if(typeof s.sourceRoot==="string"){n.sourceRoot=s.sourceRoot}return n}function makeMappingKey(e){return`${e.line}/${e.columnStart}`}function eachOverlappingGeneratedOutputRange(e,t,s){const r=filterApplicableOriginalRanges(e,t);for(const{generated:e}of r){for(const t of e){s(t)}}}function filterApplicableOriginalRanges({mappings:e},{line:t,columnStart:s,columnEnd:r}){return filterSortedArray(e,({original:e})=>{if(t>e.line)return-1;if(t=e.columnEnd)return-1;if(r<=e.columnStart)return 1;return 0})}function eachInputGeneratedRange(e,t){for(const{source:s,mappings:r}of e.sources){for(const{original:e,generated:i}of r){for(const r of i){t(r,e,s)}}}}function buildMappingData(e){const t=new(_sourceMap().SourceMapConsumer)(Object.assign({},e,{sourceRoot:null}));const s=new Map;const r=new Map;let i=null;t.computeColumnSpans();t.eachMapping(e=>{if(e.originalLine===null)return;let n=s.get(e.source);if(!n){n={path:e.source,content:t.sourceContentFor(e.source,true)};s.set(e.source,n)}let a=r.get(n);if(!a){a={source:n,mappings:[]};r.set(n,a)}const o={line:e.originalLine,columnStart:e.originalColumn,columnEnd:Infinity,name:e.name};if(i&&i.source===n&&i.mapping.line===e.originalLine){i.mapping.columnEnd=e.originalColumn}i={source:n,mapping:o};a.mappings.push({original:o,generated:t.allGeneratedPositionsFor({source:e.source,line:e.originalLine,column:e.originalColumn}).map(e=>({line:e.line,columnStart:e.column,columnEnd:e.lastColumn+1}))})},null,_sourceMap().SourceMapConsumer.ORIGINAL_ORDER);return{file:e.file,sourceRoot:e.sourceRoot,sources:Array.from(r.values())}}function findInsertionLocation(e,t){let s=0;let r=e.length;while(s=0){r=i}else{s=i+1}}let i=s;if(i=0&&t(e[i])>=0){i--}return i+1}return i}function filterSortedArray(e,t){const s=findInsertionLocation(e,t);const r=[];for(let i=s;i{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.run=run;function _traverse(){const e=s(4267);_traverse=function(){return e};return e}var r=s(38085);var i=s(20054);var n=s(30709);var a=s(22175);var o=s(46579);function*run(e,t,s){const r=yield*(0,a.default)(e.passes,(0,n.default)(e),t,s);const i=r.opts;try{yield*transformFile(r,e.passes)}catch(e){var l;e.message=`${(l=i.filename)!=null?l:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_TRANSFORM_ERROR"}throw e}let c,p;try{if(i.code!==false){({outputCode:c,outputMap:p}=(0,o.default)(e.passes,r))}}catch(e){var u;e.message=`${(u=i.filename)!=null?u:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_GENERATE_ERROR"}throw e}return{metadata:r.metadata,options:i,ast:i.ast===true?r.ast:null,code:c===undefined?null:c,map:p===undefined?null:p,sourceType:r.ast.program.sourceType}}function*transformFile(e,t){for(const s of t){const t=[];const n=[];const a=[];for(const o of s.concat([(0,i.default)()])){const s=new r.default(e,o.key,o.options);t.push([o,s]);n.push(s);a.push(o.visitor)}for(const[s,r]of t){const t=s.pre;if(t){const s=t.call(r,e);yield*[];if(isThenable(s)){throw new Error(`You appear to be using an plugin with an async .pre, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}const o=_traverse().default.visitors.merge(a,n,e.opts.wrapPluginVisitorMethod);(0,_traverse().default)(e.ast,o,e.scope);for(const[s,r]of t){const t=s.post;if(t){const s=t.call(r,e);yield*[];if(isThenable(s)){throw new Error(`You appear to be using an plugin with an async .post, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}}}function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},22175:(e,s,r)=>{"use strict";Object.defineProperty(s,"__esModule",{value:true});s.default=normalizeFile;function _fs(){const e=r(35747);_fs=function(){return e};return e}function _path(){const e=r(85622);_path=function(){return e};return e}function _debug(){const e=r(31185);_debug=function(){return e};return e}function t(){const e=r(19761);t=function(){return e};return e}function _convertSourceMap(){const e=r(36301);_convertSourceMap=function(){return e};return e}var i=r(56407);var n=r(66822);var a=r(98450);const o=_debug()("babel:transform:file");const l=1e6;function*normalizeFile(e,s,r,u){r=`${r||""}`;if(u){if(u.type==="Program"){u=t().file(u,[],[])}else if(u.type!=="File"){throw new Error("AST root must be a Program or File node")}if(s.cloneInputAst){u=(0,a.default)(u)}}else{u=yield*(0,n.default)(e,s,r)}let h=null;if(s.inputSourceMap!==false){if(typeof s.inputSourceMap==="object"){h=_convertSourceMap().fromObject(s.inputSourceMap)}if(!h){const e=extractComments(c,u);if(e){try{h=_convertSourceMap().fromComment(e)}catch(e){o("discarding unknown inline input sourcemap",e)}}}if(!h){const e=extractComments(p,u);if(typeof s.filename==="string"&&e){try{const t=p.exec(e);const r=_fs().readFileSync(_path().resolve(_path().dirname(s.filename),t[1]));if(r.length>l){o("skip merging input map > 1 MB")}else{h=_convertSourceMap().fromJSON(r)}}catch(e){o("discarding unknown file input sourcemap",e)}}else if(e){o("discarding un-loadable file input sourcemap")}}}return new i.default(s,{code:r,ast:u,inputMap:h})}const c=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/;const p=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function extractCommentsFromList(e,t,s){if(t){t=t.filter(({value:t})=>{if(e.test(t)){s=t;return false}return true})}return[t,s]}function extractComments(e,s){let r=null;t().traverseFast(s,t=>{[t.leadingComments,r]=extractCommentsFromList(e,t.leadingComments,r);[t.innerComments,r]=extractCommentsFromList(e,t.innerComments,r);[t.trailingComments,r]=extractCommentsFromList(e,t.trailingComments,r)});return r}},30709:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=normalizeOptions;function _path(){const e=s(85622);_path=function(){return e};return e}function normalizeOptions(e){const{filename:t,cwd:s,filenameRelative:r=(typeof t==="string"?_path().relative(s,t):"unknown"),sourceType:i="module",inputSourceMap:n,sourceMaps:a=!!n,sourceRoot:o=e.options.moduleRoot,sourceFileName:l=_path().basename(r),comments:c=true,compact:p="auto"}=e.options;const u=e.options;const h=Object.assign({},u,{parserOpts:Object.assign({sourceType:_path().extname(r)===".mjs"?"module":i,sourceFileName:t,plugins:[]},u.parserOpts),generatorOpts:Object.assign({filename:t,auxiliaryCommentBefore:u.auxiliaryCommentBefore,auxiliaryCommentAfter:u.auxiliaryCommentAfter,retainLines:u.retainLines,comments:c,shouldPrintComment:u.shouldPrintComment,compact:p,minified:u.minified,sourceMaps:a,sourceRoot:o,sourceFileName:l},u.generatorOpts)});for(const t of e.passes){for(const e of t){if(e.manipulateOptions){e.manipulateOptions(h,h.parserOpts)}}}return h}},38085:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class PluginPass{constructor(e,t,s){this._map=new Map;this.key=void 0;this.file=void 0;this.opts=void 0;this.cwd=void 0;this.filename=void 0;this.key=t;this.file=e;this.opts=s||{};this.cwd=e.opts.cwd;this.filename=e.opts.filename}set(e,t){this._map.set(e,t)}get(e){return this._map.get(e)}availableHelper(e,t){return this.file.availableHelper(e,t)}addHelper(e){return this.file.addHelper(e)}addImport(){return this.file.addImport()}buildCodeFrameError(e,t,s){return this.file.buildCodeFrameError(e,t,s)}}t.default=PluginPass;{PluginPass.prototype.getModuleName=function getModuleName(){return this.file.getModuleName()}}},77861:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;const s="$$ babel internal serialized type"+Math.random();function serialize(e,t){if(typeof t!=="bigint")return t;return{[s]:"BigInt",value:t.toString()}}function revive(e,t){if(!t||typeof t!=="object")return t;if(t[s]!=="BigInt")return t;return BigInt(t.value)}function _default(e){return JSON.parse(JSON.stringify(e,serialize),revive)}},98450:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;function _v(){const e=s(68987);_v=function(){return e};return e}var r=s(77861);function _default(e){if(_v().deserialize&&_v().serialize){return _v().deserialize(_v().serialize(e))}return(0,r.default)(e)}},81201:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getInclusionReasons=getInclusionReasons;var r=s(62519);var i=s(93741);var n=s(47856);function getInclusionReasons(e,t,s){const a=s[e]||{};return Object.keys(t).reduce((e,s)=>{const o=(0,n.getLowestImplementedVersion)(a,s);const l=t[s];if(!o){e[s]=(0,i.prettifyVersion)(l)}else{const t=(0,n.isUnreleasedVersion)(o,s);const a=(0,n.isUnreleasedVersion)(l,s);if(!a&&(t||r.lt(l.toString(),(0,n.semverify)(o)))){e[s]=(0,i.prettifyVersion)(l)}}return e},{})}},45902:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.targetsSupported=targetsSupported;t.isRequired=isRequired;t.default=filterItems;var r=s(62519);var i=s(48935);var n=s(47856);function targetsSupported(e,t){const s=Object.keys(e);if(s.length===0){return false}const i=s.filter(s=>{const i=(0,n.getLowestImplementedVersion)(t,s);if(!i){return true}const a=e[s];if((0,n.isUnreleasedVersion)(a,s)){return false}if((0,n.isUnreleasedVersion)(i,s)){return true}if(!r.valid(a.toString())){throw new Error(`Invalid version passed for target "${s}": "${a}". `+"Versions must be in semver format (major.minor.patch)")}return r.gt((0,n.semverify)(i),a.toString())});return i.length===0}function isRequired(e,t,{compatData:s=i,includes:r,excludes:n}={}){if(n!=null&&n.has(e))return false;if(r!=null&&r.has(e))return true;return!targetsSupported(t,s[e])}function filterItems(e,t,s,r,i,n,a){const o=new Set;const l={compatData:e,includes:t,excludes:s};for(const t in e){if(isRequired(t,r,l)){o.add(t)}else if(a){const e=a.get(t);if(e){o.add(e)}}}if(i){i.forEach(e=>!s.has(e)&&o.add(e))}if(n){n.forEach(e=>!t.has(e)&&o.delete(e))}return o}},396:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isBrowsersQueryValid=isBrowsersQueryValid;t.default=getTargets;Object.defineProperty(t,"unreleasedLabels",{enumerable:true,get:function(){return o.unreleasedLabels}});Object.defineProperty(t,"TargetNames",{enumerable:true,get:function(){return l.TargetNames}});Object.defineProperty(t,"prettifyTargets",{enumerable:true,get:function(){return c.prettifyTargets}});Object.defineProperty(t,"getInclusionReasons",{enumerable:true,get:function(){return p.getInclusionReasons}});Object.defineProperty(t,"filterItems",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"isRequired",{enumerable:true,get:function(){return u.isRequired}});var r=s(3561);var i=s(69562);var n=s(79419);var a=s(47856);var o=s(7284);var l=s(4631);var c=s(93741);var p=s(81201);var u=s(45902);const h=n["es6.module"];const f=new i.OptionValidator("@babel/helper-compilation-targets");function validateTargetNames(e){const t=Object.keys(l.TargetNames);for(const s of Object.keys(e)){if(!(s in l.TargetNames)){throw new Error(f.formatMessage(`'${s}' is not a valid target\n- Did you mean '${(0,i.findSuggestion)(s,t)}'?`))}}return e}function isBrowsersQueryValid(e){return typeof e==="string"||Array.isArray(e)&&e.every(e=>typeof e==="string")}function validateBrowsers(e){f.invariant(e===undefined||isBrowsersQueryValid(e),`'${String(e)}' is not a valid browserslist query`);return e}function getLowestVersions(e){return e.reduce((e,t)=>{const[s,r]=t.split(" ");const i=o.browserNameMap[s];if(!i){return e}try{const t=r.split("-")[0].toLowerCase();const n=(0,a.isUnreleasedVersion)(t,s);if(!e[i]){e[i]=n?t:(0,a.semverify)(t);return e}const o=e[i];const l=(0,a.isUnreleasedVersion)(o,s);if(l&&n){e[i]=(0,a.getLowestUnreleased)(o,t,s)}else if(l){e[i]=(0,a.semverify)(t)}else if(!l&&!n){const s=(0,a.semverify)(t);e[i]=(0,a.semverMin)(o,s)}}catch(e){}return e},{})}function outputDecimalWarning(e){if(!e.length){return}console.warn("Warning, the following targets are using a decimal version:\n");e.forEach(({target:e,value:t})=>console.warn(` ${e}: ${t}`));console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`)}function semverifyTarget(e,t){try{return(0,a.semverify)(t)}catch(s){throw new Error(f.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}const d={__default(e,t){const s=(0,a.isUnreleasedVersion)(t,e)?t.toLowerCase():semverifyTarget(e,t);return[e,s]},node(e,t){const s=t===true||t==="current"?process.versions.node:semverifyTarget(e,t);return[e,s]}};function generateTargets(e){const t=Object.assign({},e);delete t.esmodules;delete t.browsers;return t}function resolveTargets(e){const t=r(e,{mobileToDesktop:true});return getLowestVersions(t)}function getTargets(e={},t={}){var s;let{browsers:i,esmodules:n}=e;const{configPath:o="."}=t;validateBrowsers(i);const l=generateTargets(e);let c=validateTargetNames(l);const p=!!i;const u=p||Object.keys(c).length>0;const f=!t.ignoreBrowserslistConfig&&!u;if(!i&&f){i=r.loadConfig({config:t.configFile,path:o,env:t.browserslistEnv});if(i==null){{i=[]}}}if(n&&(n!=="intersect"||!((s=i)!=null&&s.length))){i=Object.keys(h).map(e=>`${e} >= ${h[e]}`).join(", ");n=false}if(i){const e=resolveTargets(i);if(n==="intersect"){for(const t of Object.keys(e)){const s=e[t];if(h[t]){e[t]=(0,a.getHighestUnreleased)(s,(0,a.semverify)(h[t]),t)}else{delete e[t]}}}c=Object.assign(e,c)}const y={};const m=[];for(const e of Object.keys(c).sort()){var g;const t=c[e];if(typeof t==="number"&&t%1!==0){m.push({target:e,value:t})}const s=(g=d[e])!=null?g:d.__default;const[r,i]=s(e,t);if(i){y[r]=i}}outputDecimalWarning(m);return y}},4631:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TargetNames=void 0;const s={node:"node",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung",rhino:"rhino"};t.TargetNames=s},93741:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.prettifyVersion=prettifyVersion;t.prettifyTargets=prettifyTargets;var r=s(62519);var i=s(7284);function prettifyVersion(e){if(typeof e!=="string"){return e}const t=[r.major(e)];const s=r.minor(e);const i=r.patch(e);if(s||i){t.push(s)}if(i){t.push(i)}return t.join(".")}function prettifyTargets(e){return Object.keys(e).reduce((t,s)=>{let r=e[s];const n=i.unreleasedLabels[s];if(typeof r==="string"&&n!==r){r=prettifyVersion(r)}t[s]=r;return t},{})}},7284:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.browserNameMap=t.unreleasedLabels=void 0;const s={safari:"tp"};t.unreleasedLabels=s;const r={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",op_mob:"opera",opera:"opera",safari:"safari",samsung:"samsung"};t.browserNameMap=r},47856:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.semverMin=semverMin;t.semverify=semverify;t.isUnreleasedVersion=isUnreleasedVersion;t.getLowestUnreleased=getLowestUnreleased;t.getHighestUnreleased=getHighestUnreleased;t.getLowestImplementedVersion=getLowestImplementedVersion;var r=s(62519);var i=s(69562);var n=s(7284);const a=/^(\d+|\d+.\d+)$/;const o=new i.OptionValidator("@babel/helper-compilation-targets");function semverMin(e,t){return e&&r.lt(e,t)?e:t}function semverify(e){if(typeof e==="string"&&r.valid(e)){return e}o.invariant(typeof e==="number"||typeof e==="string"&&a.test(e),`'${e}' is not a valid version`);const t=e.toString().split(".");while(t.length<3){t.push("0")}return t.join(".")}function isUnreleasedVersion(e,t){const s=n.unreleasedLabels[t];return!!s&&s===e.toString().toLowerCase()}function getLowestUnreleased(e,t,s){const r=n.unreleasedLabels[s];const i=[e,t].some(e=>e===r);if(i){return e===i?t:e||t}return semverMin(e,t)}function getHighestUnreleased(e,t,s){return getLowestUnreleased(e,t,s)===e?t:e}function getLowestImplementedVersion(e,t){const s=e[t];if(!s&&t==="android"){return e.chrome}return s}},68660:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=s(19761);function _interopNamespace(e){if(e&&e.__esModule)return e;var t=Object.create(null);if(e){Object.keys(e).forEach(function(s){if(s!=="default"){var r=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(t,s,r.get?r:{enumerable:true,get:function(){return e[s]}})}})}t["default"]=e;return Object.freeze(t)}var i=_interopNamespace(r);function willPathCastToBoolean(e){const t=e;const{node:s,parentPath:r}=t;if(r.isLogicalExpression()){const{operator:e,right:t}=r.node;if(e==="&&"||e==="||"||e==="??"&&s===t){return willPathCastToBoolean(r)}}if(r.isSequenceExpression()){const{expressions:e}=r.node;if(e[e.length-1]===s){return willPathCastToBoolean(r)}else{return true}}return r.isConditional({test:s})||r.isUnaryExpression({operator:"!"})||r.isLoop({test:s})}class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const t=this._map.get(e);const{value:s}=t;t.count--;if(t.count===0){return i.assignmentExpression("=",s,e)}return s}set(e,t,s){return this._map.set(e,{count:s,value:t})}}function toNonOptional(e,t){const{node:s}=e;if(i.isOptionalMemberExpression(s)){return i.memberExpression(t,s.property,s.computed)}if(e.isOptionalCallExpression()){const s=e.get("callee");if(e.node.optional&&s.isOptionalMemberExpression()){const{object:r}=s.node;const n=e.scope.maybeGenerateMemoised(r)||r;s.get("object").replaceWith(i.assignmentExpression("=",n,r));return i.callExpression(i.memberExpression(t,i.identifier("call")),[n,...e.node.arguments])}return i.callExpression(t,e.node.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:t,container:s,listKey:r}=e;const i=t.node;if(r){if(s!==i[r])return true}else{if(s!==i)return true}e=t}return false}const n={memoise(){},handle(e,t){const{node:s,parent:r,parentPath:n,scope:a}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const o=e.find(({node:t,parent:s})=>{if(i.isOptionalMemberExpression(s)){return s.optional||s.object!==t}if(i.isOptionalCallExpression(s)){return t!==e.node&&s.optional||s.callee!==t}return true});if(a.path.isPattern()){o.replaceWith(i.callExpression(i.arrowFunctionExpression([],o.node),[]));return}const l=willPathCastToBoolean(o);const c=o.parentPath;if(c.isUpdateExpression({argument:s})||c.isAssignmentExpression({left:s})){throw e.buildCodeFrameError(`can't handle assignment`)}const p=c.isUnaryExpression({operator:"delete"});if(p&&o.isOptionalMemberExpression()&&o.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let u=e;for(;;){if(u.isOptionalMemberExpression()){if(u.node.optional)break;u=u.get("object");continue}else if(u.isOptionalCallExpression()){if(u.node.optional)break;u=u.get("callee");continue}throw new Error(`Internal error: unexpected ${u.node.type}`)}const h=u.isOptionalMemberExpression()?"object":"callee";const f=u.node[h];const d=a.maybeGenerateMemoised(f);const y=d!=null?d:f;const m=n.isOptionalCallExpression({callee:s});const g=e=>m;const b=n.isCallExpression({callee:s});u.replaceWith(toNonOptional(u,y));if(g()){if(r.optional){n.replaceWith(this.optionalCall(e,r.arguments))}else{n.replaceWith(this.call(e,r.arguments))}}else if(b){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}let x=e.node;for(let t=e;t!==o;){const e=t.parentPath;if(e===o&&g()&&r.optional){x=e.node;break}x=toNonOptional(e,x);t=e}let v;const w=o.parentPath;if(i.isMemberExpression(x)&&w.isOptionalCallExpression({callee:o.node,optional:true})){const{object:t}=x;v=e.scope.maybeGenerateMemoised(t);if(v){x.object=i.assignmentExpression("=",v,t)}}let P=o;if(p){P=w;x=w.node}const E=d?i.assignmentExpression("=",i.cloneNode(y),i.cloneNode(f)):i.cloneNode(y);if(l){let e;if(t){e=i.binaryExpression("!=",E,i.nullLiteral())}else{e=i.logicalExpression("&&",i.binaryExpression("!==",E,i.nullLiteral()),i.binaryExpression("!==",i.cloneNode(y),a.buildUndefinedNode()))}P.replaceWith(i.logicalExpression("&&",e,x))}else{let e;if(t){e=i.binaryExpression("==",E,i.nullLiteral())}else{e=i.logicalExpression("||",i.binaryExpression("===",E,i.nullLiteral()),i.binaryExpression("===",i.cloneNode(y),a.buildUndefinedNode()))}P.replaceWith(i.conditionalExpression(e,p?i.booleanLiteral(true):a.buildUndefinedNode(),x))}if(v){const e=w.node;w.replaceWith(i.optionalCallExpression(i.optionalMemberExpression(e.callee,i.identifier("call"),false,true),[i.cloneNode(v),...e.arguments],false))}return}if(i.isUpdateExpression(r,{argument:s})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,prefix:a}=r;this.memoise(e,2);const o=i.binaryExpression(t[0],i.unaryExpression("+",this.get(e)),i.numericLiteral(1));if(a){n.replaceWith(this.set(e,o))}else{const{scope:t}=e;const r=t.generateUidIdentifierBasedOnNode(s);t.push({id:r});o.left=i.assignmentExpression("=",i.cloneNode(r),o.left);n.replaceWith(i.sequenceExpression([this.set(e,o),i.cloneNode(r)]))}return}if(n.isAssignmentExpression({left:s})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,right:s}=n.node;if(t==="="){n.replaceWith(this.set(e,s))}else{const r=t.slice(0,-1);if(i.LOGICAL_OPERATORS.includes(r)){this.memoise(e,1);n.replaceWith(i.logicalExpression(r,this.get(e),this.set(e,s)))}else{this.memoise(e,2);n.replaceWith(this.set(e,i.binaryExpression(r,this.get(e),s)))}}return}if(n.isCallExpression({callee:s})){n.replaceWith(this.call(e,n.node.arguments));return}if(n.isOptionalCallExpression({callee:s})){if(a.path.isPattern()){n.replaceWith(i.callExpression(i.arrowFunctionExpression([],n.node),[]));return}n.replaceWith(this.optionalCall(e,n.node.arguments));return}if(n.isForXStatement({left:s})||n.isObjectProperty({value:s})&&n.parentPath.isObjectPattern()||n.isAssignmentPattern({left:s})&&n.parentPath.isObjectProperty({value:r})&&n.parentPath.parentPath.isObjectPattern()||n.isArrayPattern()||n.isAssignmentPattern({left:s})&&n.parentPath.isArrayPattern()||n.isRestElement()){e.replaceWith(this.destructureSet(e));return}if(n.isTaggedTemplateExpression()){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}}};function memberExpressionToFunctions(e,t,s){e.traverse(t,Object.assign({},n,s,{memoiser:new AssignmentMemoiser}))}t.default=memberExpressionToFunctions},2427:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(42357);var i=s(19761);class ImportBuilder{constructor(e,t,s){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=s;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(i.importDeclaration([],i.stringLiteral(this._importedSource)));return this}require(){this._statements.push(i.expressionStatement(i.callExpression(i.identifier("require"),[i.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const s=this._statements[this._statements.length-1];r(s.type==="ImportDeclaration");r(s.specifiers.length===0);s.specifiers=[i.importNamespaceSpecifier(t)];this._resultName=i.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];r(t.type==="ImportDeclaration");r(t.specifiers.length===0);t.specifiers=[i.importDefaultSpecifier(e)];this._resultName=i.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const s=this._statements[this._statements.length-1];r(s.type==="ImportDeclaration");r(s.specifiers.length===0);s.specifiers=[i.importSpecifier(e,i.identifier(t))];this._resultName=i.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){r(this._resultName);t=i.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=i.variableDeclaration("var",[i.variableDeclarator(e,t.expression)]);this._resultName=i.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){r(t.declarations.length===1);t.declarations[0].init=i.callExpression(e,[t.declarations[0].init])}else{r.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.memberExpression(t.expression,i.identifier(e))}else if(t.type==="VariableDeclaration"){r(t.declarations.length===1);t.declarations[0].init=i.memberExpression(t.declarations[0].init,i.identifier(e))}else{r.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=i.memberExpression(this._resultName,i.identifier(e))}}t.default=ImportBuilder},24946:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(42357);var i=s(19761);var n=s(2427);var a=s(3447);class ImportInjector{constructor(e,t,s){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const r=e.find(e=>e.isProgram());this._programPath=r;this._programScope=r.scope;this._hub=r.hub;this._defaultOpts=this._applyDefaults(t,s,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,s){r(typeof e==="string");return this._generateImport(this._applyDefaults(t,s),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,s=false){const i=[];if(typeof e==="string"){i.push({importedSource:e});i.push(t)}else{r(!t,"Unexpected secondary arguments.");i.push(e)}const n=Object.assign({},this._defaultOpts);for(const e of i){if(!e)continue;Object.keys(n).forEach(t=>{if(e[t]!==undefined)n[t]=e[t]});if(!s){if(e.nameHint!==undefined)n.nameHint=e.nameHint;if(e.blockHoist!==undefined)n.blockHoist=e.blockHoist}}return n}_generateImport(e,t){const s=t==="default";const r=!!t&&!s;const o=t===null;const{importedSource:l,importedType:c,importedInterop:p,importingInterop:u,ensureLiveReference:h,ensureNoContext:f,nameHint:d,importPosition:y,blockHoist:m}=e;let g=d||t;const b=(0,a.default)(this._programPath);const x=b&&u==="node";const v=b&&u==="babel";if(y==="after"&&!b){throw new Error(`"importPosition": "after" is only supported in modules`)}const w=new n.default(l,this._programScope,this._hub);if(c==="es6"){if(!x&&!v){throw new Error("Cannot import an ES6 module from CommonJS")}w.import();if(o){w.namespace(d||l)}else if(s||r){w.named(g,t)}}else if(c!=="commonjs"){throw new Error(`Unexpected interopType "${c}"`)}else if(p==="babel"){if(x){g=g!=="default"?g:l;const e=`${l}$es6Default`;w.import();if(o){w.default(e).var(g||l).wildcardInterop()}else if(s){if(h){w.default(e).var(g||l).defaultInterop().read("default")}else{w.default(e).var(g).defaultInterop().prop(t)}}else if(r){w.default(e).read(t)}}else if(v){w.import();if(o){w.namespace(g||l)}else if(s||r){w.named(g,t)}}else{w.require();if(o){w.var(g||l).wildcardInterop()}else if((s||r)&&h){if(s){g=g!=="default"?g:l;w.var(g).read(t);w.defaultInterop()}else{w.var(l).read(t)}}else if(s){w.var(g).defaultInterop().prop(t)}else if(r){w.var(g).prop(t)}}}else if(p==="compiled"){if(x){w.import();if(o){w.default(g||l)}else if(s||r){w.default(l).read(g)}}else if(v){w.import();if(o){w.namespace(g||l)}else if(s||r){w.named(g,t)}}else{w.require();if(o){w.var(g||l)}else if(s||r){if(h){w.var(l).read(g)}else{w.prop(t).var(g)}}}}else if(p==="uncompiled"){if(s&&h){throw new Error("No live reference for commonjs default")}if(x){w.import();if(o){w.default(g||l)}else if(s){w.default(g)}else if(r){w.default(l).read(g)}}else if(v){w.import();if(o){w.default(g||l)}else if(s){w.default(g)}else if(r){w.named(g,t)}}else{w.require();if(o){w.var(g||l)}else if(s){w.var(g)}else if(r){if(h){w.var(l).read(g)}else{w.var(g).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:P,resultName:E}=w.done();this._insertStatements(P,y,m);if((s||r)&&f&&E.type!=="Identifier"){return i.sequenceExpression([i.numericLiteral(0),E])}return E}_insertStatements(e,t="before",s=3){const r=this._programPath.get("body");if(t==="after"){for(let t=r.length-1;t>=0;t--){if(r[t].isImportDeclaration()){r[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=s});const t=r.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},68466:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return r.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return i.default}});var r=s(24946);var i=s(3447);function addDefault(e,t,s){return new r.default(e).addDefault(t,s)}function addNamed(e,t,s,i){return new r.default(e).addNamed(t,s,i)}function addNamespace(e,t,s){return new r.default(e).addNamespace(t,s)}function addSideEffect(e,t,s){return new r.default(e).addSideEffect(t,s)}},3447:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},68753:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getModuleName;{const e=getModuleName;t.default=getModuleName=function getModuleName(t,s){var r,i,n,a;return e(t,{moduleId:(r=s.moduleId)!=null?r:t.moduleId,moduleIds:(i=s.moduleIds)!=null?i:t.moduleIds,getModuleId:(n=s.getModuleId)!=null?n:t.getModuleId,moduleRoot:(a=s.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:s,filenameRelative:r=s,sourceRoot:i=t.moduleRoot}=e;const{moduleId:n,moduleIds:a=!!n,getModuleId:o,moduleRoot:l=i}=t;if(!a)return null;if(n!=null&&!o){return n}let c=l!=null?l+"/":"";if(r){const e=i!=null?new RegExp("^"+i+"/?"):"";c+=r.replace(e,"").replace(/\.(\w*?)$/,"")}c=c.replace(/\\/g,"/");if(o){return o(c)||c}else{return c}}},18341:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;t.ensureStatementsHoisted=ensureStatementsHoisted;t.wrapInterop=wrapInterop;t.buildNamespaceInitStatements=buildNamespaceInitStatements;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.isModule}});Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return c.hasExports}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return c.isSideEffectImport}});Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});var r=s(42357);var i=s(19761);var n=s(36900);var a=s(68466);var o=s(57789);var l=s(50549);var c=s(80935);var p=s(68753);function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:s,strict:n,allowTopLevelThis:p,strictMode:u,noInterop:h,importInterop:f=(h?"none":"babel"),lazy:d,esNamespaceOnly:y,constantReexports:m=t,enumerableModuleMeta:g=t,noIncompleteNsImportDetection:b}){(0,c.validateImportInteropOption)(f);r((0,a.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const x=(0,c.default)(e,s,{importInterop:f,initializeReexports:m,lazy:d,esNamespaceOnly:y});if(!p){(0,o.default)(e)}(0,l.default)(e,x);if(u!==false){const t=e.node.directives.some(e=>{return e.value.value==="use strict"});if(!t){e.unshiftContainer("directives",i.directive(i.directiveLiteral("use strict")))}}const v=[];if((0,c.hasExports)(x)&&!n){v.push(buildESModuleHeader(x,g))}const w=buildExportNameListDeclaration(e,x);if(w){x.exportNameListName=w.name;v.push(w.statement)}v.push(...buildExportInitializationStatements(e,x,m,b));return{meta:x,headers:v}}function ensureStatementsHoisted(e){e.forEach(e=>{e._blockHoist=3})}function wrapInterop(e,t,s){if(s==="none"){return null}if(s==="node-namespace"){return i.callExpression(e.hub.addHelper("interopRequireWildcard"),[t,i.booleanLiteral(true)])}else if(s==="node-default"){return null}let r;if(s==="default"){r="interopRequireDefault"}else if(s==="namespace"){r="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${s}`)}return i.callExpression(e.hub.addHelper(r),[t])}function buildNamespaceInitStatements(e,t,s=false){const r=[];let a=i.identifier(t.name);if(t.lazy)a=i.callExpression(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;r.push(n.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:i.cloneNode(a)}))}if(s){r.push(...h(e,t,true))}for(const s of t.reexportNamespace){r.push((t.lazy?n.default.statement` Object.defineProperty(EXPORTS, "NAME", { enumerable: true, get: function() { return NAMESPACE; } }); - `:i.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:r,NAMESPACE:s.cloneNode(a)}))}if(t.reexportAll){const i=buildNamespaceReexport(e,s.cloneNode(a),r);i.loc=t.reexportAll.loc;n.push(i)}return n}const f={constant:i.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:i.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:(0,i.default)` + `:n.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:s,NAMESPACE:i.cloneNode(a)}))}if(t.reexportAll){const n=buildNamespaceReexport(e,i.cloneNode(a),s);n.loc=t.reexportAll.loc;r.push(n)}return r}const u={constant:n.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:n.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:(0,n.default)` Object.defineProperty(EXPORTS, "EXPORT_NAME", { enumerable: true, get: function() { return NAMESPACE_IMPORT; }, }); - `};const c=(e,t,r)=>{const n=t.lazy?s.callExpression(s.identifier(t.name),[]):s.identifier(t.name);const{stringSpecifiers:i}=e;return Array.from(t.reexports,([a,o])=>{let l=s.cloneNode(n);if(o==="default"&&t.interop==="node-default"){}else if(i.has(o)){l=s.memberExpression(l,s.stringLiteral(o),true)}else{l=s.memberExpression(l,s.identifier(o))}const u={EXPORTS:e.exportName,EXPORT_NAME:a,NAMESPACE_IMPORT:l};if(r||s.isIdentifier(l)){if(i.has(a)){return f.constantComputed(u)}else{return f.constant(u)}}else{return f.spec(u)}})};function buildESModuleHeader(e,t=false){return(t?i.default.statement` + `};const h=(e,t,s)=>{const r=t.lazy?i.callExpression(i.identifier(t.name),[]):i.identifier(t.name);const{stringSpecifiers:n}=e;return Array.from(t.reexports,([a,o])=>{let l=i.cloneNode(r);if(o==="default"&&t.interop==="node-default"){}else if(n.has(o)){l=i.memberExpression(l,i.stringLiteral(o),true)}else{l=i.memberExpression(l,i.identifier(o))}const c={EXPORTS:e.exportName,EXPORT_NAME:a,NAMESPACE_IMPORT:l};if(s||i.isIdentifier(l)){if(n.has(a)){return u.constantComputed(c)}else{return u.constant(c)}}else{return u.spec(c)}})};function buildESModuleHeader(e,t=false){return(t?n.default.statement` EXPORTS.__esModule = true; - `:i.default.statement` + `:n.default.statement` Object.defineProperty(EXPORTS, "__esModule", { value: true, }); - `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,r){return(r?i.default.statement` + `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,s){return(s?n.default.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; @@ -2084,7 +2084,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m EXPORTS[key] = NAMESPACE[key]; }); - `:i.default.statement` + `:n.default.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; @@ -2097,13 +2097,13 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }, }); }); - `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,i.default)` + `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,n.default)` if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return; - `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const r=Object.create(null);for(const e of t.local.values()){for(const t of e.names){r[t]=true}}let n=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){r[t]=true}for(const t of e.reexportNamespace){r[t]=true}n=n||!!e.reexportAll}if(!n||Object.keys(r).length===0)return null;const i=e.scope.generateUidIdentifier("exportNames");delete r.default;return{name:i.name,statement:s.variableDeclaration("var",[s.variableDeclarator(i,s.valueToNode(r))])}}function buildExportInitializationStatements(e,t,r=false,n=false){const i=[];const a=[];for(const[e,r]of t.local){if(r.kind==="import"){}else if(r.kind==="hoisted"){i.push(buildInitStatement(t,r.names,s.identifier(e)))}else{a.push(...r.names)}}for(const e of t.source.values()){if(!r){i.push(...c(t,e,false))}for(const t of e.reexportNamespace){a.push(t)}}if(!n){i.push(...chunk(a,100).map(r=>{return buildInitStatement(t,r,e.scope.buildUndefinedNode())}))}return i}const d={computed:i.default.expression`EXPORTS["NAME"] = VALUE`,default:i.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,r){const{stringSpecifiers:n,exportName:i}=e;return s.expressionStatement(t.reduce((e,t)=>{const r={EXPORTS:i,NAME:t,VALUE:e};if(n.has(t)){return d.computed(r)}else{return d.default(r)}},r))}function chunk(e,t){const r=[];for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;t.default=normalizeModuleAndLoadMetadata;var n=r(85622);var s=r(91186);var i=r(76729);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t){if(typeof e==="function"){return validateImportInteropOption(e(t))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:r,initializeReexports:n=false,lazy:s=false,esNamespaceOnly:i=false}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const a=new Set;nameAnonymousExports(e);const{local:o,source:l,hasExports:u}=getModuleMetadata(e,{initializeReexports:n,lazy:s},a);removeModuleDeclarations(e);for(const[,e]of l){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(r,e.source);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(i&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:u,local:o,source:l,stringSpecifiers:a}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const r=e.node.value;if(!(0,s.isIdentifierName)(r)){t.add(r)}return r}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:r},s){const i=getLocalExportMetadata(e,r,s);const a=new Map;const o=t=>{const r=t.value;let s=a.get(r);if(!s){s={name:e.scope.generateUidIdentifier((0,n.basename)(r,(0,n.extname)(r))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:r};a.set(r,s)}return s};let l=false;e.get("body").forEach(e=>{if(e.isImportDeclaration()){const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{if(e.isImportDefaultSpecifier()){const r=e.get("local").node.name;t.imports.set(r,"default");const n=i.get(r);if(n){i.delete(r);n.names.forEach(e=>{t.reexports.set(e,"default")})}}else if(e.isImportNamespaceSpecifier()){const r=e.get("local").node.name;t.importsNamespace.add(r);const n=i.get(r);if(n){i.delete(r);n.names.forEach(e=>{t.reexportNamespace.add(e)})}}else if(e.isImportSpecifier()){const r=getExportSpecifierName(e.get("imported"),s);const n=e.get("local").node.name;t.imports.set(n,r);const a=i.get(n);if(a){i.delete(n);a.names.forEach(e=>{t.reexports.set(e,r)})}}})}else if(e.isExportAllDeclaration()){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{assertExportSpecifier(e);const r=getExportSpecifierName(e.get("local"),s);const n=getExportSpecifierName(e.get("exported"),s);t.reexports.set(n,r);if(n==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}})}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}});for(const e of a.values()){let t=false;let r=false;if(e.importsNamespace.size>0){t=true;r=true}if(e.reexportAll){r=true}for(const n of e.imports.values()){if(n==="default")t=true;else r=true}for(const n of e.reexports.values()){if(n==="default")t=true;else r=true}if(t&&r){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,r]of a){if(t!==false&&!(isSideEffectImport(r)||r.reexportAll)){if(t===true){r.lazy=!/\./.test(e)}else if(Array.isArray(t)){r.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){r.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:l,local:i,source:a}}function getLocalExportMetadata(e,t,r){const n=new Map;e.get("body").forEach(e=>{let r;if(e.isImportDeclaration()){r="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach(e=>{assertExportSpecifier(e);n.set(e.get("local").node.name,"block")});return}}if(e.isFunctionDeclaration()){r="hoisted"}else if(e.isClassDeclaration()){r="block"}else if(e.isVariableDeclaration({kind:"var"})){r="var"}else if(e.isVariableDeclaration()){r="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach(e=>{n.set(e,r)})});const s=new Map;const i=e=>{const t=e.node.name;let r=s.get(t);if(!r){const i=n.get(t);if(i===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}r={names:[],kind:i};s.set(t,r)}return r};e.get("body").forEach(e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const r=t.getOuterBindingIdentifierPaths();Object.keys(r).forEach(e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}i(r[e]).names.push(e)})}else{e.get("specifiers").forEach(e=>{const t=e.get("local");const n=e.get("exported");const s=i(t);const a=getExportSpecifierName(n,r);if(a==="__esModule"){throw n.buildCodeFrameError('Illegal export "__esModule".')}s.names.push(a)})}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){i(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}});return s}function nameAnonymousExports(e){e.get("body").forEach(e=>{if(!e.isExportDefaultDeclaration())return;(0,i.default)(e)})}function removeModuleDeclarations(e){e.get("body").forEach(e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}})}},50549:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteLiveReferences;var n=r(42357);var s=r(30315);var i=r(36900);var a=r(62248);function rewriteLiveReferences(e,t){const r=new Map;const n=new Map;const i=t=>{e.requeue(t)};for(const[e,n]of t.source){for(const[t,s]of n.imports){r.set(t,[e,s,null])}for(const t of n.importsNamespace){r.set(t,[e,null,t])}}for(const[e,r]of t.local){let t=n.get(e);if(!t){t=[];n.set(e,t)}t.push(...r.names)}const l={metadata:t,requeueInParent:i,scope:e.scope,exported:n};e.traverse(o,l);(0,a.default)(e,new Set([...Array.from(r.keys()),...Array.from(n.keys())]));const u={seen:new WeakSet,metadata:t,requeueInParent:i,scope:e.scope,imported:r,exported:n,buildImportReference:([e,r,n],i)=>{const a=t.source.get(e);if(n){if(a.lazy)i=s.callExpression(i,[]);return i}let o=s.identifier(a.name);if(a.lazy)o=s.callExpression(o,[]);if(r==="default"&&a.interop==="node-default"){return o}const l=t.stringSpecifiers.has(r);return s.memberExpression(o,l?s.stringLiteral(r):s.identifier(r),l)}};e.traverse(p,u)}const o={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;const{id:i}=e.node;if(!i)throw new Error("Expected class to have a name");const a=i.name;const o=r.get(a)||[];if(o.length>0){const r=s.expressionStatement(l(n,o,s.identifier(a)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(i=>{const a=r.get(i)||[];if(a.length>0){const r=s.expressionStatement(l(n,a,s.identifier(i)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}})}};const l=(e,t,r)=>{return(t||[]).reduce((t,r)=>{const{stringSpecifiers:n}=e;const i=n.has(r);return s.assignmentExpression("=",s.memberExpression(s.identifier(e.exportName),i?s.stringLiteral(r):s.identifier(r),i),t)},r)};const u=e=>{return i.default.expression.ast` + `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const s=Object.create(null);for(const e of t.local.values()){for(const t of e.names){s[t]=true}}let r=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){s[t]=true}for(const t of e.reexportNamespace){s[t]=true}r=r||!!e.reexportAll}if(!r||Object.keys(s).length===0)return null;const n=e.scope.generateUidIdentifier("exportNames");delete s.default;return{name:n.name,statement:i.variableDeclaration("var",[i.variableDeclarator(n,i.valueToNode(s))])}}function buildExportInitializationStatements(e,t,s=false,r=false){const n=[];const a=[];for(const[e,s]of t.local){if(s.kind==="import"){}else if(s.kind==="hoisted"){n.push(buildInitStatement(t,s.names,i.identifier(e)))}else{a.push(...s.names)}}for(const e of t.source.values()){if(!s){n.push(...h(t,e,false))}for(const t of e.reexportNamespace){a.push(t)}}if(!r){n.push(...chunk(a,100).map(s=>{return buildInitStatement(t,s,e.scope.buildUndefinedNode())}))}return n}const f={computed:n.default.expression`EXPORTS["NAME"] = VALUE`,default:n.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,s){const{stringSpecifiers:r,exportName:n}=e;return i.expressionStatement(t.reduce((e,t)=>{const s={EXPORTS:n,NAME:t,VALUE:e};if(r.has(t)){return f.computed(s)}else{return f.default(s)}},s))}function chunk(e,t){const s=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;t.default=normalizeModuleAndLoadMetadata;var r=s(85622);var i=s(91186);var n=s(76729);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t){if(typeof e==="function"){return validateImportInteropOption(e(t))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:s,initializeReexports:r=false,lazy:i=false,esNamespaceOnly:n=false}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const a=new Set;nameAnonymousExports(e);const{local:o,source:l,hasExports:c}=getModuleMetadata(e,{initializeReexports:r,lazy:i},a);removeModuleDeclarations(e);for(const[,e]of l){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(s,e.source);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(n&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:c,local:o,source:l,stringSpecifiers:a}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const s=e.node.value;if(!(0,i.isIdentifierName)(s)){t.add(s)}return s}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:s},i){const n=getLocalExportMetadata(e,s,i);const a=new Map;const o=t=>{const s=t.value;let i=a.get(s);if(!i){i={name:e.scope.generateUidIdentifier((0,r.basename)(s,(0,r.extname)(s))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:s};a.set(s,i)}return i};let l=false;e.get("body").forEach(e=>{if(e.isImportDeclaration()){const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{if(e.isImportDefaultSpecifier()){const s=e.get("local").node.name;t.imports.set(s,"default");const r=n.get(s);if(r){n.delete(s);r.names.forEach(e=>{t.reexports.set(e,"default")})}}else if(e.isImportNamespaceSpecifier()){const s=e.get("local").node.name;t.importsNamespace.add(s);const r=n.get(s);if(r){n.delete(s);r.names.forEach(e=>{t.reexportNamespace.add(e)})}}else if(e.isImportSpecifier()){const s=getExportSpecifierName(e.get("imported"),i);const r=e.get("local").node.name;t.imports.set(r,s);const a=n.get(r);if(a){n.delete(r);a.names.forEach(e=>{t.reexports.set(e,s)})}}})}else if(e.isExportAllDeclaration()){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{assertExportSpecifier(e);const s=getExportSpecifierName(e.get("local"),i);const r=getExportSpecifierName(e.get("exported"),i);t.reexports.set(r,s);if(r==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}})}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}});for(const e of a.values()){let t=false;let s=false;if(e.importsNamespace.size>0){t=true;s=true}if(e.reexportAll){s=true}for(const r of e.imports.values()){if(r==="default")t=true;else s=true}for(const r of e.reexports.values()){if(r==="default")t=true;else s=true}if(t&&s){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,s]of a){if(t!==false&&!(isSideEffectImport(s)||s.reexportAll)){if(t===true){s.lazy=!/\./.test(e)}else if(Array.isArray(t)){s.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){s.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:l,local:n,source:a}}function getLocalExportMetadata(e,t,s){const r=new Map;e.get("body").forEach(e=>{let s;if(e.isImportDeclaration()){s="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach(e=>{assertExportSpecifier(e);r.set(e.get("local").node.name,"block")});return}}if(e.isFunctionDeclaration()){s="hoisted"}else if(e.isClassDeclaration()){s="block"}else if(e.isVariableDeclaration({kind:"var"})){s="var"}else if(e.isVariableDeclaration()){s="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach(e=>{r.set(e,s)})});const i=new Map;const n=e=>{const t=e.node.name;let s=i.get(t);if(!s){const n=r.get(t);if(n===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}s={names:[],kind:n};i.set(t,s)}return s};e.get("body").forEach(e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const s=t.getOuterBindingIdentifierPaths();Object.keys(s).forEach(e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}n(s[e]).names.push(e)})}else{e.get("specifiers").forEach(e=>{const t=e.get("local");const r=e.get("exported");const i=n(t);const a=getExportSpecifierName(r,s);if(a==="__esModule"){throw r.buildCodeFrameError('Illegal export "__esModule".')}i.names.push(a)})}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){n(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}});return i}function nameAnonymousExports(e){e.get("body").forEach(e=>{if(!e.isExportDefaultDeclaration())return;(0,n.default)(e)})}function removeModuleDeclarations(e){e.get("body").forEach(e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}})}},50549:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteLiveReferences;var r=s(42357);var i=s(19761);var n=s(36900);var a=s(62248);function rewriteLiveReferences(e,t){const s=new Map;const r=new Map;const n=t=>{e.requeue(t)};for(const[e,r]of t.source){for(const[t,i]of r.imports){s.set(t,[e,i,null])}for(const t of r.importsNamespace){s.set(t,[e,null,t])}}for(const[e,s]of t.local){let t=r.get(e);if(!t){t=[];r.set(e,t)}t.push(...s.names)}const l={metadata:t,requeueInParent:n,scope:e.scope,exported:r};e.traverse(o,l);(0,a.default)(e,new Set([...Array.from(s.keys()),...Array.from(r.keys())]));const c={seen:new WeakSet,metadata:t,requeueInParent:n,scope:e.scope,imported:s,exported:r,buildImportReference:([e,s,r],n)=>{const a=t.source.get(e);if(r){if(a.lazy)n=i.callExpression(n,[]);return n}let o=i.identifier(a.name);if(a.lazy)o=i.callExpression(o,[]);if(s==="default"&&a.interop==="node-default"){return o}const l=t.stringSpecifiers.has(s);return i.memberExpression(o,l?i.stringLiteral(s):i.identifier(s),l)}};e.traverse(p,c)}const o={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:s,metadata:r}=this;const{id:n}=e.node;if(!n)throw new Error("Expected class to have a name");const a=n.name;const o=s.get(a)||[];if(o.length>0){const s=i.expressionStatement(l(r,o,i.identifier(a)));s._blockHoist=e.node._blockHoist;t(e.insertAfter(s)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:s,metadata:r}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(n=>{const a=s.get(n)||[];if(a.length>0){const s=i.expressionStatement(l(r,a,i.identifier(n)));s._blockHoist=e.node._blockHoist;t(e.insertAfter(s)[0])}})}};const l=(e,t,s)=>{return(t||[]).reduce((t,s)=>{const{stringSpecifiers:r}=e;const n=r.has(s);return i.assignmentExpression("=",i.memberExpression(i.identifier(e.exportName),n?i.stringLiteral(s):i.identifier(s),n),t)},s)};const c=e=>{return n.default.expression.ast` (function() { throw new Error('"' + '${e}' + '" is read-only.'); })() - `};const p={ReferencedIdentifier(e){const{seen:t,buildImportReference:r,scope:n,imported:i,requeueInParent:a}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const l=i.get(o);if(l){const t=e.scope.getBinding(o);const i=n.getBinding(o);if(i!==t)return;const u=r(l,e.node);u.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&s.isMemberExpression(u)){e.replaceWith(s.sequenceExpression([s.numericLiteral(0),u]))}else if(e.isJSXIdentifier()&&s.isMemberExpression(u)){const{object:t,property:r}=u;e.replaceWith(s.jsxMemberExpression(s.jsxIdentifier(t.name),s.jsxIdentifier(r.name)))}else{e.replaceWith(u)}a(e);e.skip()}},AssignmentExpression:{exit(e){const{scope:t,seen:r,imported:i,exported:a,requeueInParent:o,buildImportReference:p}=this;if(r.has(e.node))return;r.add(e.node);const f=e.get("left");if(f.isMemberExpression())return;if(f.isIdentifier()){const r=f.node.name;if(t.getBinding(r)!==e.scope.getBinding(r)){return}const c=a.get(r);const d=i.get(r);if((c==null?void 0:c.length)>0||d){n(e.node.operator==="=","Path was not simplified");const t=e.node;if(d){t.left=p(d,t.left);t.right=s.sequenceExpression([t.right,u(r)])}e.replaceWith(l(this.metadata,c,t));o(e)}}else{const r=f.getOuterBindingIdentifiers();const n=Object.keys(r).filter(r=>t.getBinding(r)===e.scope.getBinding(r));const p=n.find(e=>i.has(e));if(p){e.node.right=s.sequenceExpression([e.node.right,u(p)])}const c=[];n.forEach(e=>{const t=a.get(e)||[];if(t.length>0){c.push(l(this.metadata,t,s.identifier(e)))}});if(c.length>0){let t=s.sequenceExpression(c);if(e.parentPath.isExpressionStatement()){t=s.expressionStatement(t);t._blockHoist=e.parentPath.node._blockHoist}const r=e.insertAfter(t)[0];o(r)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:r}=e;const{left:n}=r;const{exported:i,imported:a,scope:o}=this;if(!s.isVariableDeclaration(n)){let r=false,l;const p=e.get("body").scope;for(const e of Object.keys(s.getOuterBindingIdentifiers(n))){if(o.getBinding(e)===t.getBinding(e)){if(i.has(e)){r=true;if(p.hasOwnBinding(e)){p.rename(e)}}if(a.has(e)&&!l){l=e}}}if(!r&&!l){return}e.ensureBlock();const f=e.get("body");const c=t.generateUidIdentifierBasedOnNode(n);e.get("left").replaceWith(s.variableDeclaration("let",[s.variableDeclarator(s.cloneNode(c))]));t.registerDeclaration(e.get("left"));if(r){f.unshiftContainer("body",s.expressionStatement(s.assignmentExpression("=",n,c)))}if(l){f.unshiftContainer("body",s.expressionStatement(u(l)))}}}}},57789:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteThis;var n=r(2349);var s=r(4267);var i=r(30315);function rewriteThis(e){(0,s.default)(e.node,Object.assign({},a,{noScope:true}))}const a=s.default.visitors.merge([n.environmentVisitor,{ThisExpression(e){e.replaceWith(i.unaryExpression("void",i.numericLiteral(0),true))}}])},57836:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},2349:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.skipAllButComputedKey=skipAllButComputedKey;t.default=t.environmentVisitor=void 0;var n=r(4267);var s=r(68660);var i=r(68720);var a=r(30315);function getPrototypeOfExpression(e,t,r,n){e=a.cloneNode(e);const s=t||n?e:a.memberExpression(e,a.identifier("prototype"));return a.callExpression(r.addHelper("getPrototypeOf"),[s])}function skipAllButComputedKey(e){if(!e.node.computed){e.skip();return}const t=a.VISITOR_KEYS[e.type];for(const r of t){if(r!=="key")e.skipKey(r)}}const o={[`${a.staticBlock?"StaticBlock|":""}ClassPrivateProperty|TypeAnnotation`](e){e.skip()},Function(e){if(e.isMethod())return;if(e.isArrowFunctionExpression())return;e.skip()},"Method|ClassProperty"(e){skipAllButComputedKey(e)}};t.environmentVisitor=o;const l=n.default.visitors.merge([o,{Super(e,t){const{node:r,parentPath:n}=e;if(!n.isMemberExpression({object:r}))return;t.handle(n)}}]);const u=n.default.visitors.merge([o,{Scopable(e,{refName:t}){const r=e.scope.getOwnBinding(t);if(r&&r.identifier.name===t){e.scope.rename(t)}}}]);const p={memoise(e,t){const{scope:r,node:n}=e;const{computed:s,property:i}=n;if(!s){return}const a=r.maybeGenerateMemoised(i);if(!a){return}this.memoiser.set(i,a,t)},prop(e){const{computed:t,property:r}=e.node;if(this.memoiser.has(r)){return a.cloneNode(this.memoiser.get(r))}if(t){return a.cloneNode(r)}return a.stringLiteral(r.name)},get(e){return this._get(e,this._getThisRefs())},_get(e,t){const r=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return a.callExpression(this.file.addHelper("get"),[t.memo?a.sequenceExpression([t.memo,r]):r,this.prop(e),t.this])},_getThisRefs(){if(!this.isDerivedConstructor){return{this:a.thisExpression()}}const e=this.scope.generateDeclaredUidIdentifier("thisSuper");return{memo:a.assignmentExpression("=",e,a.thisExpression()),this:a.cloneNode(e)}},set(e,t){const r=this._getThisRefs();const n=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return a.callExpression(this.file.addHelper("set"),[r.memo?a.sequenceExpression([r.memo,n]):n,this.prop(e),t,r.this,a.booleanLiteral(e.isInStrictMode())])},destructureSet(e){throw e.buildCodeFrameError(`Destructuring to a super field is not supported yet.`)},call(e,t){const r=this._getThisRefs();return(0,i.default)(this._get(e,r),a.cloneNode(r.this),t,false)},optionalCall(e,t){const r=this._getThisRefs();return(0,i.default)(this._get(e,r),a.cloneNode(r.this),t,true)}};const f=Object.assign({},p,{prop(e){const{property:t}=e.node;if(this.memoiser.has(t)){return a.cloneNode(this.memoiser.get(t))}return a.cloneNode(t)},get(e){const{isStatic:t,getSuperRef:r}=this;const{computed:n}=e.node;const s=this.prop(e);let i;if(t){var o;i=(o=r())!=null?o:a.memberExpression(a.identifier("Function"),a.identifier("prototype"))}else{var l;i=a.memberExpression((l=r())!=null?l:a.identifier("Object"),a.identifier("prototype"))}return a.memberExpression(i,s,n)},set(e,t){const{computed:r}=e.node;const n=this.prop(e);return a.assignmentExpression("=",a.memberExpression(a.thisExpression(),n,r),t)},destructureSet(e){const{computed:t}=e.node;const r=this.prop(e);return a.memberExpression(a.thisExpression(),r,t)},call(e,t){return(0,i.default)(this.get(e),a.thisExpression(),t,false)},optionalCall(e,t){return(0,i.default)(this.get(e),a.thisExpression(),t,true)}});class ReplaceSupers{constructor(e){var t;const r=e.methodPath;this.methodPath=r;this.isDerivedConstructor=r.isClassMethod({kind:"constructor"})&&!!e.superRef;this.isStatic=r.isObjectMethod()||r.node.static||(r.isStaticBlock==null?void 0:r.isStaticBlock());this.isPrivateMethod=r.isPrivate()&&r.isMethod();this.file=e.file;this.constantSuper=(t=e.constantSuper)!=null?t:e.isLoose;this.opts=e}getObjectRef(){return a.cloneNode(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){if(this.opts.superRef)return a.cloneNode(this.opts.superRef);if(this.opts.getSuperRef)return a.cloneNode(this.opts.getSuperRef())}replace(){if(this.opts.refToPreserve){this.methodPath.traverse(u,{refName:this.opts.refToPreserve.name})}const e=this.constantSuper?f:p;(0,s.default)(this.methodPath,l,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this),boundGet:e.get},e))}}t.default=ReplaceSupers},62248:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=simplifyAccess;var n=r(30315);function simplifyAccess(e,t){e.traverse(s,{scope:e.scope,bindingNames:t,seen:new WeakSet})}const s={UpdateExpression:{exit(e){const{scope:t,bindingNames:r}=this;const s=e.get("argument");if(!s.isIdentifier())return;const i=s.node.name;if(!r.has(i))return;if(t.getBinding(i)!==e.scope.getBinding(i)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(n.assignmentExpression(t,s.node,n.numericLiteral(1)))}else if(e.node.prefix){e.replaceWith(n.assignmentExpression("=",n.identifier(i),n.binaryExpression(e.node.operator[0],n.unaryExpression("+",s.node),n.numericLiteral(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(s.node,"old");const r=t.name;e.scope.push({id:t});const i=n.binaryExpression(e.node.operator[0],n.identifier(r),n.numericLiteral(1));e.replaceWith(n.sequenceExpression([n.assignmentExpression("=",n.identifier(r),n.unaryExpression("+",s.node)),n.assignmentExpression("=",n.cloneNode(s.node),i),n.identifier(r)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:r,bindingNames:s}=this;if(e.node.operator==="=")return;if(r.has(e.node))return;r.add(e.node);const i=e.get("left");if(!i.isIdentifier())return;const a=i.node.name;if(!s.has(a))return;if(t.getBinding(a)!==e.scope.getBinding(a)){return}const o=e.node.operator.slice(0,-1);if(n.LOGICAL_OPERATORS.includes(o)){e.replaceWith(n.logicalExpression(o,e.node.left,n.assignmentExpression("=",n.cloneNode(e.node.left),e.node.right)))}else{e.node.right=n.binaryExpression(o,n.cloneNode(e.node.left),e.node.right);e.node.operator="="}}}}},2963:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(2963);var s=r(40862)},40862:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},98319:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.wrapRegExp=t.typeof=t.objectSpread2=t.jsx=void 0;var n=r(36900);const s={minVersion:"7.0.0-beta.0",ast:()=>n.default.program.ast('\nvar REACT_ELEMENT_TYPE;\nexport default function _createRawReactElement(type, props, key, children) {\n if (!REACT_ELEMENT_TYPE) {\n REACT_ELEMENT_TYPE =\n (typeof Symbol === "function" &&\n \n Symbol["for"] &&\n Symbol["for"]("react.element")) ||\n 0xeac7;\n }\n var defaultProps = type && type.defaultProps;\n var childrenLength = arguments.length - 3;\n if (!props && childrenLength !== 0) {\n \n \n props = { children: void 0 };\n }\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = new Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 3];\n }\n props.children = childArray;\n }\n if (props && defaultProps) {\n for (var propName in defaultProps) {\n if (props[propName] === void 0) {\n props[propName] = defaultProps[propName];\n }\n }\n } else if (!props) {\n props = defaultProps || {};\n }\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key === undefined ? null : "" + key,\n ref: null,\n props: props,\n _owner: null,\n };\n}\n')};t.jsx=s;const i={minVersion:"7.5.0",ast:()=>n.default.program.ast('\nimport defineProperty from "defineProperty";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(\n target,\n key,\n Object.getOwnPropertyDescriptor(source, key)\n );\n });\n }\n }\n return target;\n}\n')};t.objectSpread2=i;const a={minVersion:"7.0.0-beta.0",ast:()=>n.default.program.ast('\nexport default function _typeof(obj) {\n "@babel/helpers - typeof";\n if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj &&\n typeof Symbol === "function" &&\n obj.constructor === Symbol &&\n obj !== Symbol.prototype\n ? "symbol"\n : typeof obj;\n };\n }\n return _typeof(obj);\n}\n')};t.typeof=a;const o={minVersion:"7.2.6",ast:()=>n.default.program.ast('\nimport setPrototypeOf from "setPrototypeOf";\nimport inherits from "inherits";\nexport default function _wrapRegExp() {\n _wrapRegExp = function (re, groups) {\n return new BabelRegExp(re, undefined, groups);\n };\n var _super = RegExp.prototype;\n var _groups = new WeakMap();\n function BabelRegExp(re, flags, groups) {\n var _this = new RegExp(re, flags);\n \n _groups.set(_this, groups || _groups.get(re));\n return setPrototypeOf(_this, BabelRegExp.prototype);\n }\n inherits(BabelRegExp, RegExp);\n BabelRegExp.prototype.exec = function (str) {\n var result = _super.exec.call(this, str);\n if (result) result.groups = buildGroups(result, this);\n return result;\n };\n BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {\n if (typeof substitution === "string") {\n var groups = _groups.get(this);\n return _super[Symbol.replace].call(\n this,\n str,\n substitution.replace(/\\$<([^>]+)>/g, function (_, name) {\n return "$" + groups[name];\n })\n );\n } else if (typeof substitution === "function") {\n var _this = this;\n return _super[Symbol.replace].call(this, str, function () {\n var args = arguments;\n \n if (typeof args[args.length - 1] !== "object") {\n args = [].slice.call(args);\n args.push(buildGroups(args, _this));\n }\n return substitution.apply(this, args);\n });\n } else {\n return _super[Symbol.replace].call(this, str, substitution);\n }\n };\n function buildGroups(result, re) {\n \n \n var g = _groups.get(re);\n return Object.keys(g).reduce(function (groups, name) {\n groups[name] = result[g[name]];\n return groups;\n }, Object.create(null));\n }\n return _wrapRegExp.apply(this, arguments);\n}\n')};t.wrapRegExp=o},96224:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(36900);var s=r(98319);const i=Object.assign({__proto__:null},s);var a=i;t.default=a;const o=e=>t=>({minVersion:e,ast:()=>n.default.program.ast(t)});i.asyncIterator=o("7.0.0-beta.0")` + `};const p={ReferencedIdentifier(e){const{seen:t,buildImportReference:s,scope:r,imported:n,requeueInParent:a}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const l=n.get(o);if(l){const t=e.scope.getBinding(o);const n=r.getBinding(o);if(n!==t)return;const c=s(l,e.node);c.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&i.isMemberExpression(c)){e.replaceWith(i.sequenceExpression([i.numericLiteral(0),c]))}else if(e.isJSXIdentifier()&&i.isMemberExpression(c)){const{object:t,property:s}=c;e.replaceWith(i.jsxMemberExpression(i.jsxIdentifier(t.name),i.jsxIdentifier(s.name)))}else{e.replaceWith(c)}a(e);e.skip()}},AssignmentExpression:{exit(e){const{scope:t,seen:s,imported:n,exported:a,requeueInParent:o,buildImportReference:p}=this;if(s.has(e.node))return;s.add(e.node);const u=e.get("left");if(u.isMemberExpression())return;if(u.isIdentifier()){const s=u.node.name;if(t.getBinding(s)!==e.scope.getBinding(s)){return}const h=a.get(s);const f=n.get(s);if((h==null?void 0:h.length)>0||f){r(e.node.operator==="=","Path was not simplified");const t=e.node;if(f){t.left=p(f,t.left);t.right=i.sequenceExpression([t.right,c(s)])}e.replaceWith(l(this.metadata,h,t));o(e)}}else{const s=u.getOuterBindingIdentifiers();const r=Object.keys(s).filter(s=>t.getBinding(s)===e.scope.getBinding(s));const p=r.find(e=>n.has(e));if(p){e.node.right=i.sequenceExpression([e.node.right,c(p)])}const h=[];r.forEach(e=>{const t=a.get(e)||[];if(t.length>0){h.push(l(this.metadata,t,i.identifier(e)))}});if(h.length>0){let t=i.sequenceExpression(h);if(e.parentPath.isExpressionStatement()){t=i.expressionStatement(t);t._blockHoist=e.parentPath.node._blockHoist}const s=e.insertAfter(t)[0];o(s)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:s}=e;const{left:r}=s;const{exported:n,imported:a,scope:o}=this;if(!i.isVariableDeclaration(r)){let s=false,l;const p=e.get("body").scope;for(const e of Object.keys(i.getOuterBindingIdentifiers(r))){if(o.getBinding(e)===t.getBinding(e)){if(n.has(e)){s=true;if(p.hasOwnBinding(e)){p.rename(e)}}if(a.has(e)&&!l){l=e}}}if(!s&&!l){return}e.ensureBlock();const u=e.get("body");const h=t.generateUidIdentifierBasedOnNode(r);e.get("left").replaceWith(i.variableDeclaration("let",[i.variableDeclarator(i.cloneNode(h))]));t.registerDeclaration(e.get("left"));if(s){u.unshiftContainer("body",i.expressionStatement(i.assignmentExpression("=",r,h)))}if(l){u.unshiftContainer("body",i.expressionStatement(c(l)))}}}}},57789:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteThis;var r=s(2349);var i=s(4267);var n=s(19761);function rewriteThis(e){(0,i.default)(e.node,Object.assign({},a,{noScope:true}))}const a=i.default.visitors.merge([r.environmentVisitor,{ThisExpression(e){e.replaceWith(n.unaryExpression("void",n.numericLiteral(0),true))}}])},57836:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},2349:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.skipAllButComputedKey=skipAllButComputedKey;t.default=t.environmentVisitor=void 0;var r=s(4267);var i=s(68660);var n=s(68720);var a=s(19761);function getPrototypeOfExpression(e,t,s,r){e=a.cloneNode(e);const i=t||r?e:a.memberExpression(e,a.identifier("prototype"));return a.callExpression(s.addHelper("getPrototypeOf"),[i])}function skipAllButComputedKey(e){if(!e.node.computed){e.skip();return}const t=a.VISITOR_KEYS[e.type];for(const s of t){if(s!=="key")e.skipKey(s)}}const o={[`${a.staticBlock?"StaticBlock|":""}ClassPrivateProperty|TypeAnnotation`](e){e.skip()},Function(e){if(e.isMethod())return;if(e.isArrowFunctionExpression())return;e.skip()},"Method|ClassProperty"(e){skipAllButComputedKey(e)}};t.environmentVisitor=o;const l=r.default.visitors.merge([o,{Super(e,t){const{node:s,parentPath:r}=e;if(!r.isMemberExpression({object:s}))return;t.handle(r)}}]);const c=r.default.visitors.merge([o,{Scopable(e,{refName:t}){const s=e.scope.getOwnBinding(t);if(s&&s.identifier.name===t){e.scope.rename(t)}}}]);const p={memoise(e,t){const{scope:s,node:r}=e;const{computed:i,property:n}=r;if(!i){return}const a=s.maybeGenerateMemoised(n);if(!a){return}this.memoiser.set(n,a,t)},prop(e){const{computed:t,property:s}=e.node;if(this.memoiser.has(s)){return a.cloneNode(this.memoiser.get(s))}if(t){return a.cloneNode(s)}return a.stringLiteral(s.name)},get(e){return this._get(e,this._getThisRefs())},_get(e,t){const s=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return a.callExpression(this.file.addHelper("get"),[t.memo?a.sequenceExpression([t.memo,s]):s,this.prop(e),t.this])},_getThisRefs(){if(!this.isDerivedConstructor){return{this:a.thisExpression()}}const e=this.scope.generateDeclaredUidIdentifier("thisSuper");return{memo:a.assignmentExpression("=",e,a.thisExpression()),this:a.cloneNode(e)}},set(e,t){const s=this._getThisRefs();const r=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return a.callExpression(this.file.addHelper("set"),[s.memo?a.sequenceExpression([s.memo,r]):r,this.prop(e),t,s.this,a.booleanLiteral(e.isInStrictMode())])},destructureSet(e){throw e.buildCodeFrameError(`Destructuring to a super field is not supported yet.`)},call(e,t){const s=this._getThisRefs();return(0,n.default)(this._get(e,s),a.cloneNode(s.this),t,false)},optionalCall(e,t){const s=this._getThisRefs();return(0,n.default)(this._get(e,s),a.cloneNode(s.this),t,true)}};const u=Object.assign({},p,{prop(e){const{property:t}=e.node;if(this.memoiser.has(t)){return a.cloneNode(this.memoiser.get(t))}return a.cloneNode(t)},get(e){const{isStatic:t,getSuperRef:s}=this;const{computed:r}=e.node;const i=this.prop(e);let n;if(t){var o;n=(o=s())!=null?o:a.memberExpression(a.identifier("Function"),a.identifier("prototype"))}else{var l;n=a.memberExpression((l=s())!=null?l:a.identifier("Object"),a.identifier("prototype"))}return a.memberExpression(n,i,r)},set(e,t){const{computed:s}=e.node;const r=this.prop(e);return a.assignmentExpression("=",a.memberExpression(a.thisExpression(),r,s),t)},destructureSet(e){const{computed:t}=e.node;const s=this.prop(e);return a.memberExpression(a.thisExpression(),s,t)},call(e,t){return(0,n.default)(this.get(e),a.thisExpression(),t,false)},optionalCall(e,t){return(0,n.default)(this.get(e),a.thisExpression(),t,true)}});class ReplaceSupers{constructor(e){var t;const s=e.methodPath;this.methodPath=s;this.isDerivedConstructor=s.isClassMethod({kind:"constructor"})&&!!e.superRef;this.isStatic=s.isObjectMethod()||s.node.static||(s.isStaticBlock==null?void 0:s.isStaticBlock());this.isPrivateMethod=s.isPrivate()&&s.isMethod();this.file=e.file;this.constantSuper=(t=e.constantSuper)!=null?t:e.isLoose;this.opts=e}getObjectRef(){return a.cloneNode(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){if(this.opts.superRef)return a.cloneNode(this.opts.superRef);if(this.opts.getSuperRef)return a.cloneNode(this.opts.getSuperRef())}replace(){if(this.opts.refToPreserve){this.methodPath.traverse(c,{refName:this.opts.refToPreserve.name})}const e=this.constantSuper?u:p;(0,i.default)(this.methodPath,l,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this),boundGet:e.get},e))}}t.default=ReplaceSupers},62248:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=simplifyAccess;var r=s(19761);function simplifyAccess(e,t){e.traverse(i,{scope:e.scope,bindingNames:t,seen:new WeakSet})}const i={UpdateExpression:{exit(e){const{scope:t,bindingNames:s}=this;const i=e.get("argument");if(!i.isIdentifier())return;const n=i.node.name;if(!s.has(n))return;if(t.getBinding(n)!==e.scope.getBinding(n)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(r.assignmentExpression(t,i.node,r.numericLiteral(1)))}else if(e.node.prefix){e.replaceWith(r.assignmentExpression("=",r.identifier(n),r.binaryExpression(e.node.operator[0],r.unaryExpression("+",i.node),r.numericLiteral(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(i.node,"old");const s=t.name;e.scope.push({id:t});const n=r.binaryExpression(e.node.operator[0],r.identifier(s),r.numericLiteral(1));e.replaceWith(r.sequenceExpression([r.assignmentExpression("=",r.identifier(s),r.unaryExpression("+",i.node)),r.assignmentExpression("=",r.cloneNode(i.node),n),r.identifier(s)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:s,bindingNames:i}=this;if(e.node.operator==="=")return;if(s.has(e.node))return;s.add(e.node);const n=e.get("left");if(!n.isIdentifier())return;const a=n.node.name;if(!i.has(a))return;if(t.getBinding(a)!==e.scope.getBinding(a)){return}const o=e.node.operator.slice(0,-1);if(r.LOGICAL_OPERATORS.includes(o)){e.replaceWith(r.logicalExpression(o,e.node.left,r.assignmentExpression("=",r.cloneNode(e.node.left),e.node.right)))}else{e.node.right=r.binaryExpression(o,r.cloneNode(e.node.left),e.node.right);e.node.operator="="}}}}},2963:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let r="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+s+"]");const n=new RegExp("["+s+r+"]");s=r=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let s=65536;for(let r=0,i=t.length;re)return false;s+=t[r+1];if(s>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&n.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return r.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return r.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return r.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var r=s(2963);var i=s(40862)},40862:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const s={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const r=new Set(s.keyword);const i=new Set(s.strict);const n=new Set(s.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return n.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return r.has(e)}},98319:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.wrapRegExp=t.typeof=t.objectSpread2=t.jsx=void 0;var r=s(36900);const i={minVersion:"7.0.0-beta.0",ast:()=>r.default.program.ast('\nvar REACT_ELEMENT_TYPE;\nexport default function _createRawReactElement(type, props, key, children) {\n if (!REACT_ELEMENT_TYPE) {\n REACT_ELEMENT_TYPE =\n (typeof Symbol === "function" &&\n \n Symbol["for"] &&\n Symbol["for"]("react.element")) ||\n 0xeac7;\n }\n var defaultProps = type && type.defaultProps;\n var childrenLength = arguments.length - 3;\n if (!props && childrenLength !== 0) {\n \n \n props = { children: void 0 };\n }\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = new Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 3];\n }\n props.children = childArray;\n }\n if (props && defaultProps) {\n for (var propName in defaultProps) {\n if (props[propName] === void 0) {\n props[propName] = defaultProps[propName];\n }\n }\n } else if (!props) {\n props = defaultProps || {};\n }\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key === undefined ? null : "" + key,\n ref: null,\n props: props,\n _owner: null,\n };\n}\n')};t.jsx=i;const n={minVersion:"7.5.0",ast:()=>r.default.program.ast('\nimport defineProperty from "defineProperty";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(\n target,\n key,\n Object.getOwnPropertyDescriptor(source, key)\n );\n });\n }\n }\n return target;\n}\n')};t.objectSpread2=n;const a={minVersion:"7.0.0-beta.0",ast:()=>r.default.program.ast('\nexport default function _typeof(obj) {\n "@babel/helpers - typeof";\n if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj &&\n typeof Symbol === "function" &&\n obj.constructor === Symbol &&\n obj !== Symbol.prototype\n ? "symbol"\n : typeof obj;\n };\n }\n return _typeof(obj);\n}\n')};t.typeof=a;const o={minVersion:"7.2.6",ast:()=>r.default.program.ast('\nimport setPrototypeOf from "setPrototypeOf";\nimport inherits from "inherits";\nexport default function _wrapRegExp() {\n _wrapRegExp = function (re, groups) {\n return new BabelRegExp(re, undefined, groups);\n };\n var _super = RegExp.prototype;\n var _groups = new WeakMap();\n function BabelRegExp(re, flags, groups) {\n var _this = new RegExp(re, flags);\n \n _groups.set(_this, groups || _groups.get(re));\n return setPrototypeOf(_this, BabelRegExp.prototype);\n }\n inherits(BabelRegExp, RegExp);\n BabelRegExp.prototype.exec = function (str) {\n var result = _super.exec.call(this, str);\n if (result) result.groups = buildGroups(result, this);\n return result;\n };\n BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {\n if (typeof substitution === "string") {\n var groups = _groups.get(this);\n return _super[Symbol.replace].call(\n this,\n str,\n substitution.replace(/\\$<([^>]+)>/g, function (_, name) {\n return "$" + groups[name];\n })\n );\n } else if (typeof substitution === "function") {\n var _this = this;\n return _super[Symbol.replace].call(this, str, function () {\n var args = arguments;\n \n if (typeof args[args.length - 1] !== "object") {\n args = [].slice.call(args);\n args.push(buildGroups(args, _this));\n }\n return substitution.apply(this, args);\n });\n } else {\n return _super[Symbol.replace].call(this, str, substitution);\n }\n };\n function buildGroups(result, re) {\n \n \n var g = _groups.get(re);\n return Object.keys(g).reduce(function (groups, name) {\n groups[name] = result[g[name]];\n return groups;\n }, Object.create(null));\n }\n return _wrapRegExp.apply(this, arguments);\n}\n')};t.wrapRegExp=o},96224:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(36900);var i=s(98319);const n=Object.assign({__proto__:null},i);var a=n;t.default=a;const o=e=>t=>({minVersion:e,ast:()=>r.default.program.ast(t)});n.asyncIterator=o("7.0.0-beta.0")` export default function _asyncIterator(iterable) { var method; if (typeof Symbol !== "undefined") { @@ -2115,11 +2115,11 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m if (method == null) throw new TypeError("Object is not async iterable"); return method.call(iterable); } -`;i.AwaitValue=o("7.0.0-beta.0")` +`;n.AwaitValue=o("7.0.0-beta.0")` export default function _AwaitValue(value) { this.wrapped = value; } -`;i.AsyncGenerator=o("7.0.0-beta.0")` +`;n.AsyncGenerator=o("7.0.0-beta.0")` import AwaitValue from "AwaitValue"; export default function AsyncGenerator(gen) { @@ -2199,7 +2199,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m AsyncGenerator.prototype.next = function (arg) { return this._invoke("next", arg); }; AsyncGenerator.prototype.throw = function (arg) { return this._invoke("throw", arg); }; AsyncGenerator.prototype.return = function (arg) { return this._invoke("return", arg); }; -`;i.wrapAsyncGenerator=o("7.0.0-beta.0")` +`;n.wrapAsyncGenerator=o("7.0.0-beta.0")` import AsyncGenerator from "AsyncGenerator"; export default function _wrapAsyncGenerator(fn) { @@ -2207,13 +2207,13 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return new AsyncGenerator(fn.apply(this, arguments)); }; } -`;i.awaitAsyncGenerator=o("7.0.0-beta.0")` +`;n.awaitAsyncGenerator=o("7.0.0-beta.0")` import AwaitValue from "AwaitValue"; export default function _awaitAsyncGenerator(value) { return new AwaitValue(value); } -`;i.asyncGeneratorDelegate=o("7.0.0-beta.0")` +`;n.asyncGeneratorDelegate=o("7.0.0-beta.0")` export default function _asyncGeneratorDelegate(inner, awaitWrap) { var iter = {}, waiting = false; @@ -2255,7 +2255,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return iter; } -`;i.asyncToGenerator=o("7.0.0-beta.0")` +`;n.asyncToGenerator=o("7.0.0-beta.0")` function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); @@ -2288,13 +2288,13 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }); }; } -`;i.classCallCheck=o("7.0.0-beta.0")` +`;n.classCallCheck=o("7.0.0-beta.0")` export default function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -`;i.createClass=o("7.0.0-beta.0")` +`;n.createClass=o("7.0.0-beta.0")` function _defineProperties(target, props) { for (var i = 0; i < props.length; i ++) { var descriptor = props[i]; @@ -2310,7 +2310,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } -`;i.defineEnumerableProperties=o("7.0.0-beta.0")` +`;n.defineEnumerableProperties=o("7.0.0-beta.0")` export default function _defineEnumerableProperties(obj, descs) { for (var key in descs) { var desc = descs[key]; @@ -2334,7 +2334,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return obj; } -`;i.defaults=o("7.0.0-beta.0")` +`;n.defaults=o("7.0.0-beta.0")` export default function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { @@ -2346,7 +2346,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return obj; } -`;i.defineProperty=o("7.0.0-beta.0")` +`;n.defineProperty=o("7.0.0-beta.0")` export default function _defineProperty(obj, key, value) { // Shortcircuit the slow defineProperty path when possible. // We are trying to avoid issues where setters defined on the @@ -2365,7 +2365,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return obj; } -`;i.extends=o("7.0.0-beta.0")` +`;n.extends=o("7.0.0-beta.0")` export default function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { @@ -2381,7 +2381,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return _extends.apply(this, arguments); } -`;i.objectSpread=o("7.0.0-beta.0")` +`;n.objectSpread=o("7.0.0-beta.0")` import defineProperty from "defineProperty"; export default function _objectSpread(target) { @@ -2399,7 +2399,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return target; } -`;i.inherits=o("7.0.0-beta.0")` +`;n.inherits=o("7.0.0-beta.0")` import setPrototypeOf from "setPrototypeOf"; export default function _inherits(subClass, superClass) { @@ -2415,7 +2415,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }); if (superClass) setPrototypeOf(subClass, superClass); } -`;i.inheritsLoose=o("7.0.0-beta.0")` +`;n.inheritsLoose=o("7.0.0-beta.0")` import setPrototypeOf from "setPrototypeOf"; export default function _inheritsLoose(subClass, superClass) { @@ -2423,7 +2423,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m subClass.prototype.constructor = subClass; setPrototypeOf(subClass, superClass); } -`;i.getPrototypeOf=o("7.0.0-beta.0")` +`;n.getPrototypeOf=o("7.0.0-beta.0")` export default function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf @@ -2432,7 +2432,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }; return _getPrototypeOf(o); } -`;i.setPrototypeOf=o("7.0.0-beta.0")` +`;n.setPrototypeOf=o("7.0.0-beta.0")` export default function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; @@ -2440,7 +2440,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }; return _setPrototypeOf(o, p); } -`;i.isNativeReflectConstruct=o("7.9.0")` +`;n.isNativeReflectConstruct=o("7.9.0")` export default function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; @@ -2466,7 +2466,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return false; } } -`;i.construct=o("7.0.0-beta.0")` +`;n.construct=o("7.0.0-beta.0")` import setPrototypeOf from "setPrototypeOf"; import isNativeReflectConstruct from "isNativeReflectConstruct"; @@ -2489,12 +2489,12 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m // present in the original call. return _construct.apply(null, arguments); } -`;i.isNativeFunction=o("7.0.0-beta.0")` +`;n.isNativeFunction=o("7.0.0-beta.0")` export default function _isNativeFunction(fn) { // Note: This function returns "true" for core-js functions. return Function.toString.call(fn).indexOf("[native code]") !== -1; } -`;i.wrapNativeSuper=o("7.0.0-beta.0")` +`;n.wrapNativeSuper=o("7.0.0-beta.0")` import getPrototypeOf from "getPrototypeOf"; import setPrototypeOf from "setPrototypeOf"; import isNativeFunction from "isNativeFunction"; @@ -2529,7 +2529,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return _wrapNativeSuper(Class) } -`;i.instanceof=o("7.0.0-beta.0")` +`;n.instanceof=o("7.0.0-beta.0")` export default function _instanceof(left, right) { if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) { return !!right[Symbol.hasInstance](left); @@ -2537,11 +2537,11 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return left instanceof right; } } -`;i.interopRequireDefault=o("7.0.0-beta.0")` +`;n.interopRequireDefault=o("7.0.0-beta.0")` export default function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -`;i.interopRequireWildcard=o("7.14.0")` +`;n.interopRequireWildcard=o("7.14.0")` function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; @@ -2586,17 +2586,17 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return newObj; } -`;i.newArrowCheck=o("7.0.0-beta.0")` +`;n.newArrowCheck=o("7.0.0-beta.0")` export default function _newArrowCheck(innerThis, boundThis) { if (innerThis !== boundThis) { throw new TypeError("Cannot instantiate an arrow function"); } } -`;i.objectDestructuringEmpty=o("7.0.0-beta.0")` +`;n.objectDestructuringEmpty=o("7.0.0-beta.0")` export default function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure undefined"); } -`;i.objectWithoutPropertiesLoose=o("7.0.0-beta.0")` +`;n.objectWithoutPropertiesLoose=o("7.0.0-beta.0")` export default function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; @@ -2612,7 +2612,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return target; } -`;i.objectWithoutProperties=o("7.0.0-beta.0")` +`;n.objectWithoutProperties=o("7.0.0-beta.0")` import objectWithoutPropertiesLoose from "objectWithoutPropertiesLoose"; export default function _objectWithoutProperties(source, excluded) { @@ -2633,14 +2633,14 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return target; } -`;i.assertThisInitialized=o("7.0.0-beta.0")` +`;n.assertThisInitialized=o("7.0.0-beta.0")` export default function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } -`;i.possibleConstructorReturn=o("7.0.0-beta.0")` +`;n.possibleConstructorReturn=o("7.0.0-beta.0")` import assertThisInitialized from "assertThisInitialized"; export default function _possibleConstructorReturn(self, call) { @@ -2652,7 +2652,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return assertThisInitialized(self); } -`;i.createSuper=o("7.9.0")` +`;n.createSuper=o("7.9.0")` import getPrototypeOf from "getPrototypeOf"; import isNativeReflectConstruct from "isNativeReflectConstruct"; import possibleConstructorReturn from "possibleConstructorReturn"; @@ -2672,7 +2672,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return possibleConstructorReturn(this, result); } } - `;i.superPropBase=o("7.0.0-beta.0")` + `;n.superPropBase=o("7.0.0-beta.0")` import getPrototypeOf from "getPrototypeOf"; export default function _superPropBase(object, property) { @@ -2683,7 +2683,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return object; } -`;i.get=o("7.0.0-beta.0")` +`;n.get=o("7.0.0-beta.0")` import superPropBase from "superPropBase"; export default function _get(target, property, receiver) { @@ -2705,7 +2705,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return _get(target, property, receiver || target); } -`;i.set=o("7.0.0-beta.0")` +`;n.set=o("7.0.0-beta.0")` import superPropBase from "superPropBase"; import defineProperty from "defineProperty"; @@ -2760,47 +2760,47 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return value; } -`;i.taggedTemplateLiteral=o("7.0.0-beta.0")` +`;n.taggedTemplateLiteral=o("7.0.0-beta.0")` export default function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } -`;i.taggedTemplateLiteralLoose=o("7.0.0-beta.0")` +`;n.taggedTemplateLiteralLoose=o("7.0.0-beta.0")` export default function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } strings.raw = raw; return strings; } -`;i.readOnlyError=o("7.0.0-beta.0")` +`;n.readOnlyError=o("7.0.0-beta.0")` export default function _readOnlyError(name) { throw new TypeError("\\"" + name + "\\" is read-only"); } -`;i.writeOnlyError=o("7.12.13")` +`;n.writeOnlyError=o("7.12.13")` export default function _writeOnlyError(name) { throw new TypeError("\\"" + name + "\\" is write-only"); } -`;i.classNameTDZError=o("7.0.0-beta.0")` +`;n.classNameTDZError=o("7.0.0-beta.0")` export default function _classNameTDZError(name) { throw new Error("Class \\"" + name + "\\" cannot be referenced in computed property keys."); } -`;i.temporalUndefined=o("7.0.0-beta.0")` +`;n.temporalUndefined=o("7.0.0-beta.0")` // This function isn't mean to be called, but to be used as a reference. // We can't use a normal object because it isn't hoisted. export default function _temporalUndefined() {} -`;i.tdz=o("7.5.5")` +`;n.tdz=o("7.5.5")` export default function _tdzError(name) { throw new ReferenceError(name + " is not defined - temporal dead zone"); } -`;i.temporalRef=o("7.0.0-beta.0")` +`;n.temporalRef=o("7.0.0-beta.0")` import undef from "temporalUndefined"; import err from "tdz"; export default function _temporalRef(val, name) { return val === undef ? err(name) : val; } -`;i.slicedToArray=o("7.0.0-beta.0")` +`;n.slicedToArray=o("7.0.0-beta.0")` import arrayWithHoles from "arrayWithHoles"; import iterableToArrayLimit from "iterableToArrayLimit"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -2814,7 +2814,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableRest() ); } -`;i.slicedToArrayLoose=o("7.0.0-beta.0")` +`;n.slicedToArrayLoose=o("7.0.0-beta.0")` import arrayWithHoles from "arrayWithHoles"; import iterableToArrayLimitLoose from "iterableToArrayLimitLoose"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -2828,7 +2828,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableRest() ); } -`;i.toArray=o("7.0.0-beta.0")` +`;n.toArray=o("7.0.0-beta.0")` import arrayWithHoles from "arrayWithHoles"; import iterableToArray from "iterableToArray"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -2842,7 +2842,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableRest() ); } -`;i.toConsumableArray=o("7.0.0-beta.0")` +`;n.toConsumableArray=o("7.0.0-beta.0")` import arrayWithoutHoles from "arrayWithoutHoles"; import iterableToArray from "iterableToArray"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -2856,17 +2856,17 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableSpread() ); } -`;i.arrayWithoutHoles=o("7.0.0-beta.0")` +`;n.arrayWithoutHoles=o("7.0.0-beta.0")` import arrayLikeToArray from "arrayLikeToArray"; export default function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return arrayLikeToArray(arr); } -`;i.arrayWithHoles=o("7.0.0-beta.0")` +`;n.arrayWithHoles=o("7.0.0-beta.0")` export default function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } -`;i.maybeArrayLike=o("7.9.0")` +`;n.maybeArrayLike=o("7.9.0")` import arrayLikeToArray from "arrayLikeToArray"; export default function _maybeArrayLike(next, arr, i) { @@ -2876,11 +2876,11 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return next(arr, i); } -`;i.iterableToArray=o("7.0.0-beta.0")` +`;n.iterableToArray=o("7.0.0-beta.0")` export default function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } -`;i.iterableToArrayLimit=o("7.0.0-beta.0")` +`;n.iterableToArrayLimit=o("7.0.0-beta.0")` export default function _iterableToArrayLimit(arr, i) { // this is an expanded form of \`for...of\` that properly supports abrupt completions of // iterators etc. variable names have been minimised to reduce the size of this massive @@ -2916,7 +2916,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return _arr; } -`;i.iterableToArrayLimitLoose=o("7.0.0-beta.0")` +`;n.iterableToArrayLimitLoose=o("7.0.0-beta.0")` export default function _iterableToArrayLimitLoose(arr, i) { var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); if (_i == null) return; @@ -2928,7 +2928,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return _arr; } -`;i.unsupportedIterableToArray=o("7.9.0")` +`;n.unsupportedIterableToArray=o("7.9.0")` import arrayLikeToArray from "arrayLikeToArray"; export default function _unsupportedIterableToArray(o, minLen) { @@ -2940,25 +2940,25 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); } -`;i.arrayLikeToArray=o("7.9.0")` +`;n.arrayLikeToArray=o("7.9.0")` export default function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } -`;i.nonIterableSpread=o("7.0.0-beta.0")` +`;n.nonIterableSpread=o("7.0.0-beta.0")` export default function _nonIterableSpread() { throw new TypeError( "Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ); } -`;i.nonIterableRest=o("7.0.0-beta.0")` +`;n.nonIterableRest=o("7.0.0-beta.0")` export default function _nonIterableRest() { throw new TypeError( "Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ); } -`;i.createForOfIteratorHelper=o("7.9.0")` +`;n.createForOfIteratorHelper=o("7.9.0")` import unsupportedIterableToArray from "unsupportedIterableToArray"; // s: start (create the iterator) @@ -3017,7 +3017,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } }; } -`;i.createForOfIteratorHelperLoose=o("7.9.0")` +`;n.createForOfIteratorHelperLoose=o("7.9.0")` import unsupportedIterableToArray from "unsupportedIterableToArray"; export default function _createForOfIteratorHelperLoose(o, allowArrayLike) { @@ -3041,7 +3041,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } -`;i.skipFirstGeneratorNext=o("7.0.0-beta.0")` +`;n.skipFirstGeneratorNext=o("7.0.0-beta.0")` export default function _skipFirstGeneratorNext(fn) { return function () { var it = fn.apply(this, arguments); @@ -3049,7 +3049,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return it; } } -`;i.toPrimitive=o("7.1.5")` +`;n.toPrimitive=o("7.1.5")` export default function _toPrimitive( input, hint /*: "default" | "string" | "number" | void */ @@ -3063,21 +3063,21 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return (hint === "string" ? String : Number)(input); } -`;i.toPropertyKey=o("7.1.5")` +`;n.toPropertyKey=o("7.1.5")` import toPrimitive from "toPrimitive"; export default function _toPropertyKey(arg) { var key = toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); } -`;i.initializerWarningHelper=o("7.0.0-beta.0")` +`;n.initializerWarningHelper=o("7.0.0-beta.0")` export default function _initializerWarningHelper(descriptor, context){ throw new Error( 'Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.' ); } -`;i.initializerDefineProperty=o("7.0.0-beta.0")` +`;n.initializerDefineProperty=o("7.0.0-beta.0")` export default function _initializerDefineProperty(target, property, descriptor, context){ if (!descriptor) return; @@ -3088,7 +3088,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m value: descriptor.initializer ? descriptor.initializer.call(context) : void 0, }); } -`;i.applyDecoratedDescriptor=o("7.0.0-beta.0")` +`;n.applyDecoratedDescriptor=o("7.0.0-beta.0")` export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context){ var desc = {}; Object.keys(descriptor).forEach(function(key){ @@ -3116,26 +3116,26 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return desc; } -`;i.classPrivateFieldLooseKey=o("7.0.0-beta.0")` +`;n.classPrivateFieldLooseKey=o("7.0.0-beta.0")` var id = 0; export default function _classPrivateFieldKey(name) { return "__private_" + (id++) + "_" + name; } -`;i.classPrivateFieldLooseBase=o("7.0.0-beta.0")` +`;n.classPrivateFieldLooseBase=o("7.0.0-beta.0")` export default function _classPrivateFieldBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; } -`;i.classPrivateFieldGet=o("7.0.0-beta.0")` +`;n.classPrivateFieldGet=o("7.0.0-beta.0")` import classApplyDescriptorGet from "classApplyDescriptorGet"; import classExtractFieldDescriptor from "classExtractFieldDescriptor"; export default function _classPrivateFieldGet(receiver, privateMap) { var descriptor = classExtractFieldDescriptor(receiver, privateMap, "get"); return classApplyDescriptorGet(receiver, descriptor); } -`;i.classPrivateFieldSet=o("7.0.0-beta.0")` +`;n.classPrivateFieldSet=o("7.0.0-beta.0")` import classApplyDescriptorSet from "classApplyDescriptorSet"; import classExtractFieldDescriptor from "classExtractFieldDescriptor"; export default function _classPrivateFieldSet(receiver, privateMap, value) { @@ -3143,21 +3143,21 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classApplyDescriptorSet(receiver, descriptor, value); return value; } -`;i.classPrivateFieldDestructureSet=o("7.4.4")` +`;n.classPrivateFieldDestructureSet=o("7.4.4")` import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet"; import classExtractFieldDescriptor from "classExtractFieldDescriptor"; export default function _classPrivateFieldDestructureSet(receiver, privateMap) { var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set"); return classApplyDescriptorDestructureSet(receiver, descriptor); } -`;i.classExtractFieldDescriptor=o("7.13.10")` +`;n.classExtractFieldDescriptor=o("7.13.10")` export default function _classExtractFieldDescriptor(receiver, privateMap, action) { if (!privateMap.has(receiver)) { throw new TypeError("attempted to " + action + " private field on non-instance"); } return privateMap.get(receiver); } -`;i.classStaticPrivateFieldSpecGet=o("7.0.2")` +`;n.classStaticPrivateFieldSpecGet=o("7.0.2")` import classApplyDescriptorGet from "classApplyDescriptorGet"; import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; @@ -3166,7 +3166,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classCheckPrivateStaticFieldDescriptor(descriptor, "get"); return classApplyDescriptorGet(receiver, descriptor); } -`;i.classStaticPrivateFieldSpecSet=o("7.0.2")` +`;n.classStaticPrivateFieldSpecSet=o("7.0.2")` import classApplyDescriptorSet from "classApplyDescriptorSet"; import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; @@ -3176,24 +3176,24 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classApplyDescriptorSet(receiver, descriptor, value); return value; } -`;i.classStaticPrivateMethodGet=o("7.3.2")` +`;n.classStaticPrivateMethodGet=o("7.3.2")` import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; export default function _classStaticPrivateMethodGet(receiver, classConstructor, method) { classCheckPrivateStaticAccess(receiver, classConstructor); return method; } -`;i.classStaticPrivateMethodSet=o("7.3.2")` +`;n.classStaticPrivateMethodSet=o("7.3.2")` export default function _classStaticPrivateMethodSet() { throw new TypeError("attempted to set read only static private field"); } -`;i.classApplyDescriptorGet=o("7.13.10")` +`;n.classApplyDescriptorGet=o("7.13.10")` export default function _classApplyDescriptorGet(receiver, descriptor) { if (descriptor.get) { return descriptor.get.call(receiver); } return descriptor.value; } -`;i.classApplyDescriptorSet=o("7.13.10")` +`;n.classApplyDescriptorSet=o("7.13.10")` export default function _classApplyDescriptorSet(receiver, descriptor, value) { if (descriptor.set) { descriptor.set.call(receiver, value); @@ -3207,7 +3207,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m descriptor.value = value; } } -`;i.classApplyDescriptorDestructureSet=o("7.13.10")` +`;n.classApplyDescriptorDestructureSet=o("7.13.10")` export default function _classApplyDescriptorDestructureSet(receiver, descriptor) { if (descriptor.set) { if (!("__destrObj" in descriptor)) { @@ -3229,7 +3229,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return descriptor; } } -`;i.classStaticPrivateFieldDestructureSet=o("7.13.10")` +`;n.classStaticPrivateFieldDestructureSet=o("7.13.10")` import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet"; import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; @@ -3238,19 +3238,19 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classCheckPrivateStaticFieldDescriptor(descriptor, "set"); return classApplyDescriptorDestructureSet(receiver, descriptor); } -`;i.classCheckPrivateStaticAccess=o("7.13.10")` +`;n.classCheckPrivateStaticAccess=o("7.13.10")` export default function _classCheckPrivateStaticAccess(receiver, classConstructor) { if (receiver !== classConstructor) { throw new TypeError("Private static access of wrong provenance"); } } -`;i.classCheckPrivateStaticFieldDescriptor=o("7.13.10")` +`;n.classCheckPrivateStaticFieldDescriptor=o("7.13.10")` export default function _classCheckPrivateStaticFieldDescriptor(descriptor, action) { if (descriptor === undefined) { throw new TypeError("attempted to " + action + " private static field before its declaration"); } } -`;i.decorate=o("7.1.5")` +`;n.decorate=o("7.1.5")` import toArray from "toArray"; import toPropertyKey from "toPropertyKey"; @@ -3922,38 +3922,38 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return value; } -`;i.classPrivateMethodGet=o("7.1.6")` +`;n.classPrivateMethodGet=o("7.1.6")` export default function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; } -`;{i.classPrivateMethodSet=o("7.1.6")` +`;{n.classPrivateMethodSet=o("7.1.6")` export default function _classPrivateMethodSet() { throw new TypeError("attempted to reassign private method"); } - `}},19219:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.get=get;t.minVersion=minVersion;t.getDependencies=getDependencies;t.ensure=ensure;t.default=t.list=void 0;var n=r(4267);var s=r(30315);var i=r(96224);function makePath(e){const t=[];for(;e.parentPath;e=e.parentPath){t.push(e.key);if(e.inList)t.push(e.listKey)}return t.reverse().join(".")}let a=undefined;function getHelperMetadata(e){const t=new Set;const r=new Set;const s=new Map;let a;let o;const l=[];const u=[];const p=[];const f={ImportDeclaration(e){const t=e.node.source.value;if(!i.default[t]){throw e.buildCodeFrameError(`Unknown helper ${t}`)}if(e.get("specifiers").length!==1||!e.get("specifiers.0").isImportDefaultSpecifier()){throw e.buildCodeFrameError("Helpers can only import a default value")}const r=e.node.specifiers[0].local;s.set(r,t);u.push(makePath(e))},ExportDefaultDeclaration(e){const t=e.get("declaration");if(t.isFunctionDeclaration()){if(!t.node.id){throw t.buildCodeFrameError("Helpers should give names to their exported func declaration")}a=t.node.id.name}o=makePath(e)},ExportAllDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},ExportNamedDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},Statement(e){if(e.isModuleDeclaration())return;e.skip()}};const c={Program(e){const t=e.scope.getAllBindings();Object.keys(t).forEach(e=>{if(e===a)return;if(s.has(t[e].identifier))return;r.add(e)})},ReferencedIdentifier(e){const r=e.node.name;const n=e.scope.getBinding(r,true);if(!n){t.add(r)}else if(s.has(n.identifier)){p.push(makePath(e))}},AssignmentExpression(e){const t=e.get("left");if(!(a in t.getBindingIdentifiers()))return;if(!t.isIdentifier()){throw t.buildCodeFrameError("Only simple assignments to exports are allowed in helpers")}const r=e.scope.getBinding(a);if(r!=null&&r.scope.path.isProgram()){l.push(makePath(e))}}};(0,n.default)(e.ast,f,e.scope);(0,n.default)(e.ast,c,e.scope);if(!o)throw new Error("Helpers must default-export something.");l.reverse();return{globals:Array.from(t),localBindingNames:Array.from(r),dependencies:s,exportBindingAssignments:l,exportPath:o,exportName:a,importBindingsReferences:p,importPaths:u}}function permuteHelperAST(e,t,r,i,a){if(i&&!r){throw new Error("Unexpected local bindings for module-based helpers.")}if(!r)return;const{localBindingNames:o,dependencies:l,exportBindingAssignments:u,exportPath:p,exportName:f,importBindingsReferences:c,importPaths:d}=t;const y={};l.forEach((e,t)=>{y[t.name]=typeof a==="function"&&a(e)||t});const m={};const T=new Set(i||[]);o.forEach(e=>{let t=e;while(T.has(t))t="_"+t;if(t!==e)m[e]=t});if(r.type==="Identifier"&&f!==r.name){m[f]=r.name}const h={Program(e){const t=e.get(p);const n=d.map(t=>e.get(t));const i=c.map(t=>e.get(t));const a=t.get("declaration");if(r.type==="Identifier"){if(a.isFunctionDeclaration()){t.replaceWith(a)}else{t.replaceWith(s.variableDeclaration("var",[s.variableDeclarator(r,a.node)]))}}else if(r.type==="MemberExpression"){if(a.isFunctionDeclaration()){u.forEach(t=>{const n=e.get(t);n.replaceWith(s.assignmentExpression("=",r,n.node))});t.replaceWith(a);e.pushContainer("body",s.expressionStatement(s.assignmentExpression("=",r,s.identifier(f))))}else{t.replaceWith(s.expressionStatement(s.assignmentExpression("=",r,a.node)))}}else{throw new Error("Unexpected helper format.")}Object.keys(m).forEach(t=>{e.scope.rename(t,m[t])});for(const e of n)e.remove();for(const e of i){const t=s.cloneNode(y[e.node.name]);e.replaceWith(t)}e.stop()}};(0,n.default)(e.ast,h,e.scope)}const o=Object.create(null);function loadHelper(e){if(!o[e]){const t=i.default[e];if(!t){throw Object.assign(new ReferenceError(`Unknown helper ${e}`),{code:"BABEL_HELPER_UNKNOWN",helper:e})}const r=()=>{const r={ast:s.file(t.ast())};if(a){return new a({filename:`babel-helper://${e}`},r)}return r};const n=getHelperMetadata(r());o[e]={build(e,t,s){const i=r();permuteHelperAST(i,n,t,s,e);return{nodes:i.ast.program.body,globals:n.globals}},minVersion(){return t.minVersion},dependencies:n.dependencies}}return o[e]}function get(e,t,r,n){return loadHelper(e).build(t,r,n)}function minVersion(e){return loadHelper(e).minVersion()}function getDependencies(e){return Array.from(loadHelper(e).dependencies.values())}function ensure(e,t){if(!a){a=t}loadHelper(e)}const l=Object.keys(i.default).map(e=>e.replace(/^_/,"")).filter(e=>e!=="__esModule");t.list=l;var u=get;t.default=u},88984:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldHighlight=shouldHighlight;t.getChalk=getChalk;t.default=highlight;var n=r(52388);var s=r(19509);var i=r(72242);const a=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let u;{const e=/^[a-z][\w-]*$/i;const t=function(t,r,n){if(t.type==="name"){if((0,s.isKeyword)(t.value)||(0,s.isStrictReservedWord)(t.value,true)||a.has(t.value)){return"keyword"}if(e.test(t.value)&&(n[r-1]==="<"||n.substr(r-2,2)=="t(e)).join("\n")}else{r+=s}}return r}function shouldHighlight(e){return!!i.supportsColor||e.forceColor}function getChalk(e){return e.forceColor?new i.constructor({enabled:true,level:1}):i}function highlight(e,t={}){if(shouldHighlight(t)){const r=getChalk(t);const n=getDefs(r);return highlightTokens(n,e)}else{return e}}},94651:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(94651);var s=r(45068)},45068:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},56852:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r=true;const n=true;const s=true;const i=true;const a=true;const o=true;class TokenType{constructor(e,t={}){this.label=void 0;this.keyword=void 0;this.beforeExpr=void 0;this.startsExpr=void 0;this.rightAssociative=void 0;this.isLoop=void 0;this.isAssign=void 0;this.prefix=void 0;this.postfix=void 0;this.binop=void 0;this.updateContext=void 0;this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.rightAssociative=!!t.rightAssociative;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop!=null?t.binop:null;this.updateContext=null}}const l=new Map;function createKeyword(e,t={}){t.keyword=e;const r=new TokenType(e,t);l.set(e,r);return r}function createBinop(e,t){return new TokenType(e,{beforeExpr:r,binop:t})}const u={num:new TokenType("num",{startsExpr:n}),bigint:new TokenType("bigint",{startsExpr:n}),decimal:new TokenType("decimal",{startsExpr:n}),regexp:new TokenType("regexp",{startsExpr:n}),string:new TokenType("string",{startsExpr:n}),name:new TokenType("name",{startsExpr:n}),privateName:new TokenType("#name",{startsExpr:n}),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:r,startsExpr:n}),bracketHashL:new TokenType("#[",{beforeExpr:r,startsExpr:n}),bracketBarL:new TokenType("[|",{beforeExpr:r,startsExpr:n}),bracketR:new TokenType("]"),bracketBarR:new TokenType("|]"),braceL:new TokenType("{",{beforeExpr:r,startsExpr:n}),braceBarL:new TokenType("{|",{beforeExpr:r,startsExpr:n}),braceHashL:new TokenType("#{",{beforeExpr:r,startsExpr:n}),braceR:new TokenType("}",{beforeExpr:r}),braceBarR:new TokenType("|}"),parenL:new TokenType("(",{beforeExpr:r,startsExpr:n}),parenR:new TokenType(")"),comma:new TokenType(",",{beforeExpr:r}),semi:new TokenType(";",{beforeExpr:r}),colon:new TokenType(":",{beforeExpr:r}),doubleColon:new TokenType("::",{beforeExpr:r}),dot:new TokenType("."),question:new TokenType("?",{beforeExpr:r}),questionDot:new TokenType("?."),arrow:new TokenType("=>",{beforeExpr:r}),template:new TokenType("template"),ellipsis:new TokenType("...",{beforeExpr:r}),backQuote:new TokenType("`",{startsExpr:n}),dollarBraceL:new TokenType("${",{beforeExpr:r,startsExpr:n}),at:new TokenType("@"),hash:new TokenType("#",{startsExpr:n}),interpreterDirective:new TokenType("#!..."),eq:new TokenType("=",{beforeExpr:r,isAssign:i}),assign:new TokenType("_=",{beforeExpr:r,isAssign:i}),slashAssign:new TokenType("_=",{beforeExpr:r,isAssign:i}),moduloAssign:new TokenType("_=",{beforeExpr:r,isAssign:i}),incDec:new TokenType("++/--",{prefix:a,postfix:o,startsExpr:n}),bang:new TokenType("!",{beforeExpr:r,prefix:a,startsExpr:n}),tilde:new TokenType("~",{beforeExpr:r,prefix:a,startsExpr:n}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:r,binop:9,prefix:a,startsExpr:n}),modulo:new TokenType("%",{binop:10,startsExpr:n}),star:new TokenType("*",{binop:10}),slash:createBinop("/",10),exponent:new TokenType("**",{beforeExpr:r,binop:11,rightAssociative:true}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:r}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:r}),_do:createKeyword("do",{isLoop:s,beforeExpr:r}),_else:createKeyword("else",{beforeExpr:r}),_finally:createKeyword("finally"),_for:createKeyword("for",{isLoop:s}),_function:createKeyword("function",{startsExpr:n}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:r}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:r,prefix:a,startsExpr:n}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_while:createKeyword("while",{isLoop:s}),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:r,startsExpr:n}),_this:createKeyword("this",{startsExpr:n}),_super:createKeyword("super",{startsExpr:n}),_class:createKeyword("class",{startsExpr:n}),_extends:createKeyword("extends",{beforeExpr:r}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:n}),_null:createKeyword("null",{startsExpr:n}),_true:createKeyword("true",{startsExpr:n}),_false:createKeyword("false",{startsExpr:n}),_in:createKeyword("in",{beforeExpr:r,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:r,binop:7}),_typeof:createKeyword("typeof",{beforeExpr:r,prefix:a,startsExpr:n}),_void:createKeyword("void",{beforeExpr:r,prefix:a,startsExpr:n}),_delete:createKeyword("delete",{beforeExpr:r,prefix:a,startsExpr:n})};const p=/\r\n?|[\n\u2028\u2029]/;const f=new RegExp(p.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const c=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;const d=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y;const y=new RegExp("(?=("+d.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function isWhitespace(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return true;default:return false}}class Position{constructor(e,t){this.line=void 0;this.column=void 0;this.line=e;this.column=t}}class SourceLocation{constructor(e,t){this.start=void 0;this.end=void 0;this.filename=void 0;this.identifierName=void 0;this.start=e;this.end=t}}function getLineInfo(e,t){let r=1;let n=0;let s;f.lastIndex=0;while((s=f.exec(e))&&s.index0){n=t[--s]}if(n===null||n.start>r.start){setInnerComments(e,r.comments)}else{setTrailingComments(n,r.comments)}}class CommentsParser extends BaseParser{addComment(e){if(this.filename)e.loc.filename=this.filename;this.state.comments.push(e)}processComment(e){const{commentStack:t}=this.state;const r=t.length;if(r===0)return;let n=r-1;const s=t[n];if(s.start===e.end){s.leadingNode=e;n--}const{start:i}=e;for(;n>=0;n--){const r=t[n];const s=r.end;if(s>i){r.containingNode=e;this.finalizeComment(r);t.splice(n,1)}else{if(s===i){r.trailingNode=e}break}}}finalizeComment(e){const{comments:t}=e;if(e.leadingNode!==null||e.trailingNode!==null){if(e.leadingNode!==null){setTrailingComments(e.leadingNode,t)}if(e.trailingNode!==null){e.trailingNode.leadingComments=t}}else{const{containingNode:r,start:n}=e;if(this.input.charCodeAt(n-1)===44){switch(r.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":adjustInnerComments(r,r.properties,e);break;case"CallExpression":case"OptionalCallExpression":adjustInnerComments(r,r.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":adjustInnerComments(r,r.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":adjustInnerComments(r,r.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":adjustInnerComments(r,r.specifiers,e);break;default:{setInnerComments(r,t)}}}else{setInnerComments(r,t)}}}finalizeRemainingComments(){const{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--){this.finalizeComment(e[t])}this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){const{commentStack:t}=this.state;const{length:r}=t;if(r===0)return;const n=t[r-1];if(n.leadingNode===e){n.leadingNode=null}}}const m=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const T=makeErrorTemplates({AccessorIsGenerator:"A %0ter cannot be a generator.",ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accesor must not have any formal parameters.",BadSetterArity:"A 'set' accesor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accesor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:"'%0' require an initialization value.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:"`%0` has already been exported. Exported identifiers must be unique.",DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '%0' as '%1' } from 'some-module'`?",ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:"'%0' loop variable declaration may not have an initializer.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:"Unsyntactic %0.",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:'A string literal cannot be used as an imported binding.\n- Did you mean `import { "%0" as foo }`?',ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:"`import()` requires exactly %0.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidDecimal:"Invalid decimal.",InvalidDigit:"Expected number in radix %0.",InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:"Escape sequence in keyword %0.",InvalidIdentifier:"Invalid identifier %0.",InvalidLhs:"Invalid left-hand side in %0.",InvalidLhsBinding:"Binding invalid left-hand side in %0.",InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:"Unexpected character '%0'.",InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:"Private name #%0 is not defined.",InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:"Label '%0' is already declared.",LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:'Duplicate key "%0" is not allowed in module attributes.',ModuleExportNameHasLoneSurrogate:"An export name cannot include a lone surrogate, found '\\u%0'.",ModuleExportUndefined:"Export '%0' is not defined.",MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PipeBodyIsTighter:"Unexpected %0 after pipeline body; any %0 expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:'Invalid topic token %0. In order to use %0 as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "%0" }.',PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PrivateInExpectedIn:"Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`).",PrivateNameRedeclaration:"Duplicate private name #%0.",RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:"Assigning to '%0' in strict mode.",StrictEvalArgumentsBinding:"Binding '%0' in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:"Unexpected keyword '%0'.",UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Private names can only be used as the name of a class element (i.e. class C { #p = 42; #m() {} } )\n or a property of member expression (i.e. this.#p).",UnexpectedReservedWord:"Unexpected reserved word '%0'.",UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:"Unexpected token '%0'.",UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:"The only valid meta property for %0 is %0.%1.",UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",VarRedeclaration:"Identifier '%0' has already been declared.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},m.SyntaxError);const h=makeErrorTemplates({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},m.SourceTypeModuleError);function makeErrorTemplates(e,t){const r={};Object.keys(e).forEach(n=>{r[n]=Object.freeze({code:t,reasonCode:n,template:e[n]})});return Object.freeze(r)}class ParserError extends CommentsParser{getLocationForPosition(e){let t;if(e===this.state.start)t=this.state.startLoc;else if(e===this.state.lastTokStart)t=this.state.lastTokStartLoc;else if(e===this.state.end)t=this.state.endLoc;else if(e===this.state.lastTokEnd)t=this.state.lastTokEndLoc;else t=getLineInfo(this.input,e);return t}raise(e,{code:t,reasonCode:r,template:n},...s){return this.raiseWithData(e,{code:t,reasonCode:r},n,...s)}raiseOverwrite(e,{code:t,template:r},...n){const s=this.getLocationForPosition(e);const i=r.replace(/%(\d+)/g,(e,t)=>n[t])+` (${s.line}:${s.column})`;if(this.options.errorRecovery){const t=this.state.errors;for(let r=t.length-1;r>=0;r--){const n=t[r];if(n.pos===e){return Object.assign(n,{message:i})}else if(n.posn[t])+` (${s.line}:${s.column})`;return this._raise(Object.assign({loc:s,pos:e},t),i)}_raise(e,t){const r=new SyntaxError(t);Object.assign(r,e);if(this.options.errorRecovery){if(!this.isLookahead)this.state.errors.push(r);return r}else{throw r}}}var S=e=>(class extends e{parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const n=this.estreeParseLiteral(r);n.regex={pattern:e,flags:t};return n}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);r.bigint=String(r.value||e);return r}parseDecimalLiteral(e){const t=null;const r=this.estreeParseLiteral(t);r.decimal=String(r.value||e);return r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;const r=this.startNodeAt(e.start,e.loc.start);const n=this.startNodeAt(t.start,t.loc.start);n.value=t.extra.expressionValue;n.raw=t.extra.raw;r.expression=this.finishNodeAt(n,"Literal",t.end,t.loc.end);r.directive=t.extra.raw.slice(1,-1);return this.finishNodeAt(r,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}stmtToDirective(e){const t=e.expression.value;const r=super.stmtToDirective(e);this.addExtra(r.value,"expressionValue",t);return r}parseBlockBody(e,...t){super.parseBlockBody(e,...t);const r=e.directives.map(e=>this.directiveToStmt(e));e.body=r.concat(e.body);delete e.directives}pushClassMethod(e,t,r,n,s,i){this.parseMethod(t,r,n,s,i,"ClassMethod",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parseMaybePrivateName(...e){const t=super.parseMaybePrivateName(...e);if(t.type==="PrivateName"&&this.getPluginOption("estree","classFeatures")){return this.convertPrivateNameToPrivateIdentifier(t)}return t}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}return e.name}parseLiteral(e,t){const r=super.parseLiteral(e,t);r.raw=r.extra.raw;delete r.extra;return r}parseFunctionBody(e,t,r=false){super.parseFunctionBody(e,t,r);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,r,n,s,i,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,r,n,s,i,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(i==="ClassPrivateMethod"){e.computed=false}i="MethodDefinition";return this.finishNode(e,i)}parseClassProperty(...e){const t=super.parseClassProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition"}return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition";t.computed=false}return t}parseObjectMethod(e,t,r,n,s){const i=super.parseObjectMethod(e,t,r,n,s);if(i){i.type="Property";if(i.kind==="method")i.kind="init";i.shorthand=false}return i}parseObjectProperty(e,t,r,n,s){const i=super.parseObjectProperty(e,t,r,n,s);if(i){i.kind="init";i.type="Property"}return i}isAssignable(e,t){if(e!=null&&this.isObjectProperty(e)){return this.isAssignable(e.value,t)}return super.isAssignable(e,t)}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){this.toAssignable(e.value,t);return e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){if(e.kind==="get"||e.kind==="set"){this.raise(e.key.start,T.PatternHasAccessor)}else if(e.method){this.raise(e.key.start,T.PatternHasMethod)}else{super.toAssignableObjectExpressionProp(e,...t)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];if(this.hasPlugin("importAssertions")){var r;e.attributes=(r=e.arguments[1])!=null?r:null}delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,r,n,s){const i=super.parseSubscript(e,t,r,n,s);if(s.optionalChainMember){if(i.type==="OptionalMemberExpression"||i.type==="OptionalCallExpression"){i.type=i.type.substring(8)}if(s.stop){const e=this.startNodeAtNode(i);e.expression=i;return this.finishNode(e,"ChainExpression")}}else if(i.type==="MemberExpression"||i.type==="CallExpression"){i.optional=false}return i}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}});class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const b={brace:new TokContext("{"),template:new TokContext("`",true)};u.braceR.updateContext=(e=>{e.pop()});u.braceL.updateContext=u.braceHashL.updateContext=u.dollarBraceL.updateContext=(e=>{e.push(b.brace)});u.backQuote.updateContext=(e=>{if(e[e.length-1]===b.template){e.pop()}else{e.push(b.template)}});let E="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let g="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const P=new RegExp("["+E+"]");const x=new RegExp("["+E+g+"]");E=g=null;const v=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const A=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&P.test(String.fromCharCode(e))}return isInAstralSet(e,v)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&x.test(String.fromCharCode(e))}return isInAstralSet(e,v)||isInAstralSet(e,A)}const O={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const I=new Set(O.keyword);const D=new Set(O.strict);const w=new Set(O.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||D.has(e)}function isStrictBindOnlyReservedWord(e){return w.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return I.has(e)}function isIteratorStart(e,t){return e===64&&t===64}const j=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function canBeReservedWord(e){return j.has(e)}const N=0,C=1,L=2,_=4,M=8,F=16,B=32,k=64,R=128,K=256,V=C|L|K;const X=1,Y=2,J=4,U=8,W=16,q=64,z=128,G=256,$=512,H=1024,Q=2048;const Z=X|Y|U|z,ee=X|0|U|0,te=X|0|J|0,re=X|0|W|0,ne=0|Y|0|z,se=0|Y|0|0,ie=X|Y|U|G,ae=0|0|0|H,oe=0|0|0|q,le=X|0|0|q,ue=ie|$,pe=0|0|0|H,fe=Q;const ce=4,de=2,ye=1,me=de|ye;const Te=de|ce,he=ye|ce,Se=de,be=ye,Ee=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.scopeStack=[];this.undefinedExports=new Map;this.undefinedPrivateNames=new Map;this.raise=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&L)>0}get allowSuper(){return(this.currentThisScopeFlags()&F)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&B)>0}get inClass(){return(this.currentThisScopeFlags()&k)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&k)>0&&(e&L)===0}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&R){return true}if(t&(V|k)){return false}}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&L)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&L||!this.inModule&&e.flags&C)}declareName(e,t,r){let n=this.currentScope();if(t&U||t&W){this.checkRedeclarationInScope(n,e,t,r);if(t&W){n.functions.add(e)}else{n.lexical.add(e)}if(t&U){this.maybeExportDefined(n,e)}}else if(t&J){for(let s=this.scopeStack.length-1;s>=0;--s){n=this.scopeStack[s];this.checkRedeclarationInScope(n,e,t,r);n.var.add(e);this.maybeExportDefined(n,e);if(n.flags&V)break}}if(this.inModule&&n.flags&C){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.inModule&&e.flags&C){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,r,n){if(this.isRedeclaredInScope(e,t,r)){this.raise(n,T.VarRedeclaration,t)}}isRedeclaredInScope(e,t,r){if(!(r&X))return false;if(r&U){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(r&W){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&M&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const r=this.scopeStack[0];if(!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)){this.undefinedExports.set(t,e.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&V){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(V|k)&&!(t&_)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,r){const n=this.currentScope();if(t&Q){this.checkRedeclarationInScope(n,e,t,r);this.maybeExportDefined(n,e);n.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,r){if(super.isRedeclaredInScope(...arguments))return true;if(r&Q){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}class State{constructor(){this.strict=void 0;this.curLine=void 0;this.startLoc=void 0;this.endLoc=void 0;this.errors=[];this.potentialArrowAt=-1;this.noArrowAt=[];this.noArrowParamsConversionAt=[];this.maybeInArrowParameters=false;this.inType=false;this.noAnonFunctionType=false;this.inPropertyName=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.decoratorStack=[[]];this.comments=[];this.commentStack=[];this.pos=0;this.lineStart=0;this.type=u.eof;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.lastTokEnd=0;this.context=[b.brace];this.exprAllowed=true;this.containsEsc=false;this.strictErrors=new Map;this.tokensLength=0}init(e){this.strict=e.strictMode===false?false:e.strictMode===true?true:e.sourceType==="module";this.curLine=e.startLine;this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new Position(this.curLine,this.pos-this.lineStart)}clone(e){const t=new State;const r=Object.keys(this);for(let n=0,s=r.length;n=48&&e<=57};const Pe=new Set([103,109,115,105,121,117,100]);const xe={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]};const ve={};ve.bin=[48,49];ve.oct=[...ve.bin,50,51,52,53,54,55];ve.dec=[...ve.oct,56,57];ve.hex=[...ve.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends ParserError{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(this.state))}this.state.lastTokEnd=this.state.end;this.state.lastTokStart=this.state.start;this.state.lastTokEndLoc=this.state.endLoc;this.state.lastTokStartLoc=this.state.startLoc;this.nextToken()}eat(e){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){c.lastIndex=e;return c.test(this.input)?c.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(t,e));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(!e.preserveSpace)this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(u.eof);return}if(e===b.template){this.readTmplToken()}else{this.getTokenFromCode(this.codePointAtPos(this.state.pos))}}skipBlockComment(){let e;if(!this.isLookahead)e=this.state.curPosition();const t=this.state.pos;const r=this.input.indexOf("*/",t+2);if(r===-1)throw this.raise(t,T.UnterminatedComment);this.state.pos=r+2;f.lastIndex=t+2;while(f.test(this.input)&&f.lastIndex<=r){++this.state.curLine;this.state.lineStart=f.lastIndex}if(this.isLookahead)return;const n={type:"CommentBlock",value:this.input.slice(t+2,r),start:t,end:r+2,loc:new SourceLocation(e,this.state.curPosition())};if(this.options.tokens)this.pushToken(n);return n}skipLineComment(e){const t=this.state.pos;let r;if(!this.isLookahead)r=this.state.curPosition();let n=this.input.charCodeAt(this.state.pos+=e);if(this.state.pose)){const e=this.skipLineComment(3);if(e!==undefined){this.addComment(e);if(this.options.attachComment)t.push(e)}}else{break e}}else if(r===60&&!this.inModule){const e=this.state.pos;if(this.input.charCodeAt(e+1)===33&&this.input.charCodeAt(e+2)===45&&this.input.charCodeAt(e+3)===45){const e=this.skipLineComment(4);if(e!==undefined){this.addComment(e);if(this.options.attachComment)t.push(e)}}else{break e}}else{break e}}}if(t.length>0){const r=this.state.pos;const n={start:e,end:r,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(n)}}finishToken(e,t){this.state.end=this.state.pos;const r=this.state.type;this.state.type=e;this.state.value=t;if(!this.isLookahead){this.state.endLoc=this.state.curPosition();this.updateContext(r)}}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter()){return}const e=this.state.pos+1;const t=this.codePointAtPos(e);if(t>=48&&t<=57){throw this.raise(this.state.pos,T.UnexpectedDigitAfterHash)}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(this.state.pos,t===123?T.RecordExpressionHashIncorrectStartSyntaxType:T.TupleExpressionHashIncorrectStartSyntaxType)}this.state.pos+=2;if(t===123){this.finishToken(u.braceHashL)}else{this.finishToken(u.bracketHashL)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(u.privateName,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(u.privateName,this.readWord1())}else{this.finishOp(u.hash,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(u.ellipsis)}else{++this.state.pos;this.finishToken(u.dot)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(u.slashAssign,2)}else{this.finishOp(u.slash,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos=48&&t<=57)){this.state.pos+=2;this.finishToken(u.questionDot)}else{++this.state.pos;this.finishToken(u.question)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(u.parenL);return;case 41:++this.state.pos;this.finishToken(u.parenR);return;case 59:++this.state.pos;this.finishToken(u.semi);return;case 44:++this.state.pos;this.finishToken(u.comma);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,T.TupleExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.bracketBarL)}else{++this.state.pos;this.finishToken(u.bracketL)}return;case 93:++this.state.pos;this.finishToken(u.bracketR);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,T.RecordExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.braceBarL)}else{++this.state.pos;this.finishToken(u.braceL)}return;case 125:++this.state.pos;this.finishToken(u.braceR);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(u.doubleColon,2)}else{++this.state.pos;this.finishToken(u.colon)}return;case 63:this.readToken_question();return;case 96:++this.state.pos;this.finishToken(u.backQuote);return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:case 62:this.readToken_lt_gt(e);return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(u.tilde,1);return;case 64:++this.state.pos;this.finishToken(u.at);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(this.state.pos,T.InvalidOrUnexpectedToken,String.fromCodePoint(e))}finishOp(e,t){const r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t;this.finishToken(e,r)}readRegexp(){const e=this.state.start+1;let t,r;let{pos:n}=this.state;for(;;++n){if(n>=this.length){throw this.raise(e,T.UnterminatedRegExp)}const s=this.input.charCodeAt(n);if(isNewLine(s)){throw this.raise(e,T.UnterminatedRegExp)}if(t){t=false}else{if(s===91){r=true}else if(s===93&&r){r=false}else if(s===47&&!r){break}t=s===92}}const s=this.input.slice(e,n);++n;let i="";while(n-1||i.indexOf(t)>-1||Number.isNaN(t)){this.raise(this.state.pos,T.UnexpectedNumericSeparator)}if(!n){this.raise(this.state.pos,T.NumericSeparatorInEscapeSequence)}++this.state.pos;continue}if(t>=97){u=t-97+10}else if(t>=65){u=t-65+10}else if(ge(t)){u=t-48}else{u=Infinity}if(u>=e){if(this.options.errorRecovery&&u<=9){u=0;this.raise(this.state.start+s+2,T.InvalidDigit,e)}else if(r){u=0;o=true}else{break}}++this.state.pos;l=l*e+u}if(this.state.pos===s||t!=null&&this.state.pos-s!==t||o){return null}return l}readRadixNumber(e){const t=this.state.pos;let r=false;this.state.pos+=2;const n=this.readInt(e);if(n==null){this.raise(this.state.start+2,T.InvalidDigit,e)}const s=this.input.charCodeAt(this.state.pos);if(s===110){++this.state.pos;r=true}else if(s===109){throw this.raise(t,T.InvalidDecimal)}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,T.NumberIdentifier)}if(r){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(u.bigint,e);return}this.finishToken(u.num,n)}readNumber(e){const t=this.state.pos;let r=false;let n=false;let s=false;let i=false;let a=false;if(!e&&this.readInt(10)===null){this.raise(t,T.InvalidNumber)}const o=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(o){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(t,T.StrictOctalLiteral);if(!this.state.strict){const r=e.indexOf("_");if(r>0){this.raise(r+t,T.ZeroDigitNumericSeparator)}}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!a){++this.state.pos;this.readInt(10);r=true;l=this.input.charCodeAt(this.state.pos)}if((l===69||l===101)&&!a){l=this.input.charCodeAt(++this.state.pos);if(l===43||l===45){++this.state.pos}if(this.readInt(10)===null){this.raise(t,T.InvalidOrMissingExponent)}r=true;i=true;l=this.input.charCodeAt(this.state.pos)}if(l===110){if(r||o){this.raise(t,T.InvalidBigIntLiteral)}++this.state.pos;n=true}if(l===109){this.expectPlugin("decimal",this.state.pos);if(i||o){this.raise(t,T.InvalidDecimal)}++this.state.pos;s=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,T.NumberIdentifier)}const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n){this.finishToken(u.bigint,p);return}if(s){this.finishToken(u.decimal,p);return}const f=a?parseInt(p,8):parseFloat(p);this.finishToken(u.num,f)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let r;if(t===123){const t=++this.state.pos;r=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(r!==null&&r>1114111){if(e){this.raise(t,T.InvalidCodePoint)}else{return null}}}else{r=this.readHexChar(4,false,e)}return r}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,T.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===92){t+=this.input.slice(r,this.state.pos);t+=this.readEscapedChar(false);r=this.state.pos}else if(n===8232||n===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(n)){throw this.raise(this.state.start,T.UnterminatedString)}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);this.finishToken(u.string,t)}readTmplToken(){let e="",t=this.state.pos,r=false;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,T.UnterminatedTemplate)}const n=this.input.charCodeAt(this.state.pos);if(n===96||n===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(u.template)){if(n===36){this.state.pos+=2;this.finishToken(u.dollarBraceL);return}else{++this.state.pos;this.finishToken(u.backQuote);return}}e+=this.input.slice(t,this.state.pos);this.finishToken(u.template,r?null:e);return}if(n===92){e+=this.input.slice(t,this.state.pos);const n=this.readEscapedChar(true);if(n===null){r=true}else{e+=n}t=this.state.pos}else if(isNewLine(n)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(n){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(n);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,t){if(this.state.strict&&!this.state.strictErrors.has(e)){this.raise(e,t)}else{this.state.strictErrors.set(e,t)}}readEscapedChar(e){const t=!e;const r=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(r){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:this.state.lineStart=this.state.pos;++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(e){return null}else{this.recordStrictModeErrors(this.state.pos-1,T.StrictNumericEscape)}default:if(r>=48&&r<=55){const t=this.state.pos-1;const r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let n=r[0];let s=parseInt(n,8);if(s>255){n=n.slice(0,-1);s=parseInt(n,8)}this.state.pos+=n.length-1;const i=this.input.charCodeAt(this.state.pos);if(n!=="0"||i===56||i===57){if(e){return null}else{this.recordStrictModeErrors(t,T.StrictNumericEscape)}}return String.fromCharCode(s)}return String.fromCharCode(r)}}readHexChar(e,t,r){const n=this.state.pos;const s=this.readInt(16,e,t,false);if(s===null){if(r){this.raise(n,T.InvalidEscapeSequence)}else{this.state.pos=n-1}}return s}readWord1(e){this.state.containsEsc=false;let t="";const r=this.state.pos;let n=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos{this.raise(r,t);let n=e.length-2;let s=e[n];while(s.canBeArrowParameterDeclaration()){s.clearDeclarationError(r);s=e[--n]}})}}function newParameterDeclarationScope(){return new ExpressionScope(De)}function newArrowHeadScope(){return new ArrowHeadParsingScope(Oe)}function newAsyncArrowScope(){return new ArrowHeadParsingScope(Ie)}function newExpressionScope(){return new ExpressionScope}const we=0,je=1,Ne=2,Ce=4,Le=8;class ProductionParameterHandler{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&Ne)>0}get hasYield(){return(this.currentFlags()&je)>0}get hasReturn(){return(this.currentFlags()&Ce)>0}get hasIn(){return(this.currentFlags()&Le)>0}}function functionFlags(e,t){return(e?Ne:0)|(t?je:0)}class UtilParser extends Tokenizer{addExtra(e,t,r){if(!e)return;const n=e.extra=e.extra||{};n[t]=r}isRelational(e){return this.match(u.relational)&&this.state.value===e}expectRelational(e){if(this.isRelational(e)){this.next()}else{this.unexpected(null,u.relational)}}isContextual(e){return this.match(u.name)&&this.state.value===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;if(this.input.slice(e,r)===t){const e=this.input.charCodeAt(r);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)&&this.eat(u.name)}expectContextual(e,t){if(!this.eatContextual(e))this.unexpected(null,t)}canInsertSemicolon(){return this.match(u.eof)||this.match(u.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return p.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){y.lastIndex=this.state.end;return y.test(this.input)}isLineTerminator(){return this.eat(u.semi)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(u.semi))return;this.raise(this.state.lastTokEnd,T.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){if(this.state.start>this.state.lastTokEnd){this.raise(this.state.lastTokEnd,{code:m.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}}unexpected(e,t={code:m.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){if(t instanceof TokenType){t={code:m.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${t.label}"`}}throw this.raise(e!=null?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e)){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`)}return true}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e))){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:e},`This experimental syntax requires enabling one of the following parser plugin(s): '${e.join(", ")}'`)}}tryParse(e,t=this.state.clone()){const r={node:null};try{const n=e((e=null)=>{r.node=e;throw r});if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:n,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:n,error:null,thrown:false,aborted:false,failState:null}}catch(e){const n=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:n}}if(e===r){return{node:r.node,error:null,thrown:false,aborted:true,failState:n}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssign:r,doubleProto:n,optionalParameters:s}=e;if(!t){return r>=0||n>=0||s>=0}if(r>=0){this.unexpected(r)}if(n>=0){this.raise(n,T.DuplicateProto)}if(s>=0){this.unexpected(s)}}isLiteralPropertyName(){return this.match(u.name)||!!this.state.type.keyword||this.match(u.string)||this.match(u.num)||this.match(u.bigint)||this.match(u.decimal)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const n=this.inModule;this.inModule=e;const s=this.scope;const i=this.getScopeHandler();this.scope=new i(this.raise.bind(this),this.inModule);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this.raise.bind(this));const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this.raise.bind(this));return()=>{this.state.labels=t;this.exportedIdentifiers=r;this.inModule=n;this.scope=s;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=we;if(this.inModule){e|=Ne}this.scope.enter(C);this.prodParam.enter(e)}}class ExpressionErrors{constructor(){this.shorthandAssign=-1;this.doubleProto=-1;this.optionalParameters=-1}}class Node{constructor(e,t,r){this.type="";this.start=t;this.end=0;this.loc=new SourceLocation(r);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}}const _e=Node.prototype;{_e.__clone=function(){const e=new Node;const t=Object.keys(this);for(let r=0,n=t.length;r async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:"`declare export %0` is not supported. Use `%1` instead.",UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."},m.SyntaxError);function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return(e.type===u.name||!!e.type.keyword)&&e.value!=="from"}const Be={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const r=[];const n=[];for(let s=0;s(class extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==u.string&&e!==u.semi&&e!==u.interpreterDirective){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=ke.exec(e.value);if(!t) ;else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||u.colon);const r=this.flowParseType();this.state.inType=t;return r}flowParsePredicate(){const e=this.startNode();const t=this.state.start;this.next();this.expectContextual("checks");if(this.state.lastTokStart>t+1){this.raise(t,Fe.UnexpectedSpaceBetweenModuloChecks)}if(this.eat(u.parenL)){e.value=this.parseExpression();this.expect(u.parenR);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(u.colon);let t=null;let r=null;if(this.match(u.modulo)){this.state.inType=e;r=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(u.modulo)){r=this.flowParsePredicate()}}return[t,r]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const r=this.startNode();const n=this.startNode();if(this.isRelational("<")){r.typeParameters=this.flowParseTypeParameterDeclaration()}else{r.typeParameters=null}this.expect(u.parenL);const s=this.flowParseFunctionTypeParams();r.params=s.params;r.rest=s.rest;r.this=s._this;this.expect(u.parenR);[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser();n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation");t.typeAnnotation=this.finishNode(n,"TypeAnnotation");this.resetEndLocation(t);this.semicolon();this.scope.declareName(e.id.name,fe,e.id.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(u._class)){return this.flowParseDeclareClass(e)}else if(this.match(u._function)){return this.flowParseDeclareFunction(e)}else if(this.match(u._var)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual("module")){if(this.match(u.dot)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(this.state.lastTokStart,Fe.NestedDeclareModule)}return this.flowParseDeclareModule(e)}}else if(this.isContextual("type")){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual("opaque")){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual("interface")){return this.flowParseDeclareInterface(e)}else if(this.match(u._export)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,te,e.id.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(N);if(this.match(u.string)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const r=t.body=[];this.expect(u.braceL);while(!this.match(u.braceR)){let e=this.startNode();if(this.match(u._import)){this.next();if(!this.isContextual("type")&&!this.match(u._typeof)){this.raise(this.state.lastTokStart,Fe.InvalidNonTypeImportInDeclareModule)}this.parseImport(e)}else{this.expectContextual("declare",Fe.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}r.push(e)}this.scope.exit();this.expect(u.braceR);this.finishNode(t,"BlockStatement");let n=null;let s=false;r.forEach(e=>{if(isEsModuleType(e)){if(n==="CommonJS"){this.raise(e.start,Fe.AmbiguousDeclareModuleKind)}n="ES"}else if(e.type==="DeclareModuleExports"){if(s){this.raise(e.start,Fe.DuplicateDeclareModuleExports)}if(n==="ES"){this.raise(e.start,Fe.AmbiguousDeclareModuleKind)}n="CommonJS";s=true}});e.kind=n||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(u._export);if(this.eat(u._default)){if(this.match(u._function)||this.match(u._class)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(u._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value;const t=Be[e];throw this.raise(this.state.start,Fe.UnsupportedDeclareExportKind,e,t)}if(this.match(u._var)||this.match(u._function)||this.match(u._class)||this.isContextual("opaque")){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(u.star)||this.match(u.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque")){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual("exports");e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?re:ee,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(u.comma))}if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(this.state.start,Fe.UnexpectedReservedUnderscore)}}checkReservedType(e,t,r){if(!Me.has(e))return;this.raise(t,r?Fe.AssignReservedType:Fe.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.start,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,ee,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(u.eq);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual("type");e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,ee,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(u.colon)){e.supertype=this.flowParseTypeInitialiser(u.colon)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(u.eq)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.start;const r=this.startNode();const n=this.flowParseVariance();const s=this.flowParseTypeAnnotatableIdentifier();r.name=s.name;r.variance=n;r.bound=s.typeAnnotation;if(this.match(u.eq)){this.eat(u.eq);r.default=this.flowParseType()}else{if(e){this.raise(t,Fe.MissingTypeParamDefault)}}return this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}let r=false;do{const e=this.flowParseTypeParameter(r);t.params.push(e);if(e.default){r=true}if(!this.isRelational(">")){this.expect(u.comma)}}while(!this.isRelational(">"));this.expectRelational(">");this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");const r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.isRelational(">")){e.params.push(this.flowParseType());if(!this.isRelational(">")){this.expect(u.comma)}}this.state.noAnonFunctionType=r;this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");while(!this.isRelational(">")){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.isRelational(">")){this.expect(u.comma)}}this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual("interface");e.extends=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(u.num)||this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,r){e.static=t;if(this.lookahead().type===u.colon){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(u.bracketR);e.value=this.flowParseTypeInitialiser();e.variance=r;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(u.bracketR);this.expect(u.bracketR);if(this.isRelational("<")||this.match(u.parenL)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(u.question)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(u.parenL);if(this.match(u._this)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(u.parenR)){this.expect(u.comma)}}while(!this.match(u.parenR)&&!this.match(u.ellipsis)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(u.parenR)){this.expect(u.comma)}}if(this.eat(u.ellipsis)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(u.parenR);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const r=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(r);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:n,allowInexact:s}){const i=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let p=false;if(t&&this.match(u.braceBarL)){this.expect(u.braceBarL);o=u.braceBarR;l=true}else{this.expect(u.braceL);o=u.braceR;l=false}a.exact=l;while(!this.match(o)){let t=false;let i=null;let o=null;const f=this.startNode();if(n&&this.isContextual("proto")){const t=this.lookahead();if(t.type!==u.colon&&t.type!==u.question){this.next();i=this.state.start;e=false}}if(e&&this.isContextual("static")){const e=this.lookahead();if(e.type!==u.colon&&e.type!==u.question){this.next();t=true}}const c=this.flowParseVariance();if(this.eat(u.bracketL)){if(i!=null){this.unexpected(i)}if(this.eat(u.bracketL)){if(c){this.unexpected(c.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(f,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(f,t,c))}}else if(this.match(u.parenL)||this.isRelational("<")){if(i!=null){this.unexpected(i)}if(c){this.unexpected(c.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(f,t))}else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();if(t.type===u.name||t.type===u.string||t.type===u.num){e=this.state.value;this.next()}}const n=this.flowParseObjectTypeProperty(f,t,i,c,e,r,s!=null?s:!l);if(n===null){p=true;o=this.state.lastTokStart}else{a.properties.push(n)}}this.flowObjectTypeSemicolon();if(o&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.raise(o,Fe.UnexpectedExplicitInexactInObject)}}this.expect(o);if(r){a.inexact=p}const f=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=i;return f}flowParseObjectTypeProperty(e,t,r,n,s,i,a){if(this.eat(u.ellipsis)){const t=this.match(u.comma)||this.match(u.semi)||this.match(u.braceR)||this.match(u.braceBarR);if(t){if(!i){this.raise(this.state.lastTokStart,Fe.InexactInsideNonObject)}else if(!a){this.raise(this.state.lastTokStart,Fe.InexactInsideExact)}if(n){this.raise(n.start,Fe.InexactVariance)}return null}if(!i){this.raise(this.state.lastTokStart,Fe.UnexpectedSpreadType)}if(r!=null){this.unexpected(r)}if(n){this.raise(n.start,Fe.SpreadVariance)}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=r!=null;e.kind=s;let a=false;if(this.isRelational("<")||this.match(u.parenL)){e.method=true;if(r!=null){this.unexpected(r)}if(n){this.unexpected(n.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(s==="get"||s==="set"){this.flowCheckGetterSetterParams(e)}if(!i&&e.key.name==="constructor"&&e.value.this){this.raise(e.value.this.start,Fe.ThisParamBannedInConstructor)}}else{if(s!=="init")this.unexpected();e.method=false;if(this.eat(u.question)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=n}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const r=e.start;const n=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.value.this.start,e.kind==="get"?Fe.GetterMayNotHaveThisParam:Fe.SetterMayNotHaveThisParam)}if(n!==t){if(e.kind==="get"){this.raise(r,T.BadGetterArity)}else{this.raise(r,T.BadSetterArity)}}if(e.kind==="set"&&e.value.rest){this.raise(r,T.BadSetterRestParameter)}}flowObjectTypeSemicolon(){if(!this.eat(u.semi)&&!this.eat(u.comma)&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start;t=t||this.state.startLoc;let n=r||this.flowParseRestrictedIdentifier(true);while(this.eat(u.dot)){const r=this.startNodeAt(e,t);r.qualification=n;r.id=this.flowParseRestrictedIdentifier(true);n=this.finishNode(r,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t,r){const n=this.startNodeAt(e,t);n.typeParameters=null;n.id=this.flowParseQualifiedTypeIdentifier(e,t,r);if(this.isRelational("<")){n.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(u._typeof);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(u.bracketL);while(this.state.possuper.parseFunctionBody(e,true,r))}return super.parseFunctionBody(e,false,r)}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(e,t,r)}parseStatement(e,t){if(this.state.strict&&this.match(u.name)&&this.state.value==="interface"){const e=this.lookahead();if(e.type===u.name||isKeyword(e.value)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const r=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(r)){this.flowPragma=null}return r}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(u._class)||this.match(u.name)||this.match(u._function)||this.match(u._var)||this.match(u._export)){return this.flowParseDeclare(e)}}else if(this.match(u.name)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){if(this.match(u.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"||this.shouldParseEnums()&&this.state.value==="enum")){return false}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,n){if(!this.match(u.question))return e;if(this.state.maybeInArrowParameters){const t=this.lookaheadCharCode();if(t===44||t===61||t===58||t===41){this.setOptionalParametersError(n);return e}}this.expect(u.question);const s=this.state.clone();const i=this.state.noArrowAt;const a=this.startNodeAt(t,r);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[p,f]=this.getArrowLikeExpressions(o);if(l||f.length>0){const e=[...i];if(f.length>0){this.state=s;this.state.noArrowAt=e;for(let t=0;t1){this.raise(s.start,Fe.AmbiguousConditionalArrow)}if(l&&p.length===1){this.state=s;this.state.noArrowAt=e.concat(p[0].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=i;this.expect(u.colon);a.test=e;a.consequent=o;a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(undefined,undefined));return this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(u.colon);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e];const n=[];while(r.length!==0){const e=r.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{n.push(e)}r.push(e.body)}else if(e.type==="ConditionalExpression"){r.push(e.consequent);r.push(e.alternate)}}if(t){n.forEach(e=>this.finishArrowValidation(e));return[n,[]]}return partition(n,e=>e.params.every(e=>this.isAssignable(e,true)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingComma,false);this.scope.enter(L|_);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);r=t();this.state.noArrowParamsConversionAt.pop()}else{r=t()}return r}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(n,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();this.next();if(this.match(u.braceL)){e.specifiers=this.parseExportSpecifiers();this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual("enum")){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual("type")&&this.lookahead().type===u.star){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const t=this.state.start;const r=super.maybeParseExportNamespaceSpecifier(e);if(r&&e.exportKind==="type"){this.unexpected(t)}return r}parseClassId(e,t,r){super.parseClassId(e,t,r);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}}parseClassMember(e,t,r){const n=this.state.start;if(this.isContextual("declare")){if(this.parseClassMemberFromModifier(e,t)){return}t.declare=true}super.parseClassMember(e,t,r);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(n,Fe.DeclareClassElement)}else if(t.value){this.raise(t.value.start,Fe.DeclareClassFieldInitializer)}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(this.state.pos,T.InvalidIdentifier,t)}this.finishToken(u.name,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(u.braceBarL,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(u.relational,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(u.questionDot,2)}return this.finishOp(u.question,1)}else if(isIteratorStart(e,t)){this.state.pos+=2;return this.readIterator()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){if(e.type==="TypeCastExpression"){return this.isAssignable(e.expression,t)}else{return super.isAssignable(e,t)}}toAssignable(e,t=false){if(e.type==="TypeCastExpression"){return super.toAssignable(this.typeCastToParameter(e),t)}else{return super.toAssignable(e,t)}}toAssignableList(e,t,r){for(let t=0;t1||!t)){this.raise(s.typeAnnotation.start,Fe.TypeCastInPattern)}}return e}parseArrayLike(e,t,r,n){const s=super.parseArrayLike(e,t,r,n);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(s.elements)}return s}checkLVal(e,...t){if(e.type!=="TypeCastExpression"){return super.checkLVal(e,...t)}}parseClassProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(u.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,s,i){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,r,n,s,i);if(t.params&&s){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Fe.ThisParamBannedInConstructor)}}else if(t.type==="MethodDefinition"&&s&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Fe.ThisParamBannedInConstructor)}}}pushClassPrivateMethod(e,t,r,n){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(u.comma))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const r=t[0];if(this.isThisParam(r)&&e.kind==="get"){this.raise(r.start,Fe.GetterMayNotHaveThisParam)}else if(this.isThisParam(r)){this.raise(r.start,Fe.SetterMayNotHaveThisParam)}}}parsePropertyName(e,t){const r=this.flowParseVariance();const n=super.parsePropertyName(e,t);e.variance=r;return n}parseObjPropValue(e,t,r,n,s,i,a,o){if(e.variance){this.unexpected(e.variance.start)}delete e.variance;let l;if(this.isRelational("<")&&!a){l=this.flowParseTypeParameterDeclaration();if(!this.match(u.parenL))this.unexpected()}super.parseObjPropValue(e,t,r,n,s,i,a,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"){this.raise(e.start,Fe.OptionalBindingPattern)}if(this.isThisParam(e)){this.raise(e.start,Fe.ThisParamMayNotBeOptional)}e.optional=true}if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(e.start,Fe.ThisParamAnnotationRequired)}if(this.match(u.eq)&&this.isThisParam(e)){this.raise(e.start,Fe.ThisParamNoDefault)}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,r){const n=super.parseMaybeDefault(e,t,r);if(n.type==="AssignmentPattern"&&n.typeAnnotation&&n.right.startsuper.parseMaybeAssign(e,t),n);if(!s.error)return s.node;const{context:r}=this.state;const i=r[r.length-1];if(i===b.j_oTag){r.length-=2}else if(i===b.j_expr){r.length-=1}}if((r=s)!=null&&r.error||this.isRelational("<")){var i,a;n=n||this.state.clone();let r;const o=this.tryParse(n=>{var s;r=this.flowParseTypeParameterDeclaration();const i=this.forwardNoArrowParamsConversionAt(r,()=>{const n=super.parseMaybeAssign(e,t);this.resetStartLocationFromNode(n,r);return n});if((s=i.extra)!=null&&s.parenthesized)n();const a=this.maybeUnwrapTypeCastExpression(i);if(a.type!=="ArrowFunctionExpression")n();a.typeParameters=r;this.resetStartLocationFromNode(a,r);return i},n);let l=null;if(o.node&&this.maybeUnwrapTypeCastExpression(o.node).type==="ArrowFunctionExpression"){if(!o.error&&!o.aborted){if(o.node.async){this.raise(r.start,Fe.UnexpectedTypeParameterBeforeAsyncArrowFunction)}return o.node}l=o.node}if((i=s)!=null&&i.node){this.state=s.failState;return s.node}if(l){this.state=o.failState;return l}if((a=s)!=null&&a.thrown)throw s.error;if(o.thrown)throw o.error;throw this.raise(r.start,Fe.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(u.arrow))this.unexpected();return r});if(t.thrown)return null;if(t.error)this.state=t.failState;e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(u.colon)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,r){if(r&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t0){this.raise(e.params[t].start,Fe.ThisParamMustBeFirst)}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,r,n){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const n=this.startNodeAt(t,r);n.callee=e;n.arguments=this.parseCallExpressionArguments(u.parenR,false);e=this.finishNode(n,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.isRelational("<")){const s=this.state.clone();const i=this.tryParse(e=>this.parseAsyncArrowWithTypeParameters(t,r)||e(),s);if(!i.error&&!i.aborted)return i.node;const a=this.tryParse(()=>super.parseSubscripts(e,t,r,n),s);if(a.node&&!a.error)return a.node;if(i.node){this.state=i.failState;return i.node}if(a.node){this.state=a.failState;return a.node}throw i.error||a.error}return super.parseSubscripts(e,t,r,n)}parseSubscript(e,t,r,n,s){if(this.match(u.questionDot)&&this.isLookaheadToken_lt()){s.optionalChainMember=true;if(n){s.stop=true;return e}this.next();const i=this.startNodeAt(t,r);i.callee=e;i.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(u.parenL);i.arguments=this.parseCallExpressionArguments(u.parenR,false);i.optional=true;return this.finishCallExpression(i,true)}else if(!n&&this.shouldParseTypes()&&this.isRelational("<")){const n=this.startNodeAt(t,r);n.callee=e;const i=this.tryParse(()=>{n.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew();this.expect(u.parenL);n.arguments=this.parseCallExpressionArguments(u.parenR,false);if(s.optionalChainMember)n.optional=false;return this.finishCallExpression(n,s.optionalChainMember)});if(i.node){if(i.error)this.state=i.failState;return i.node}}return super.parseSubscript(e,t,r,n,s)}parseNewArguments(e){let t=null;if(this.shouldParseTypes()&&this.isRelational("<")){t=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node}e.typeArguments=t;super.parseNewArguments(e)}parseAsyncArrowWithTypeParameters(e,t){const r=this.startNodeAt(e,t);this.parseFunctionParams(r);if(!this.parseArrow(r))return;return this.parseArrowExpression(r,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(u.braceBarR,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(this.state.pos,Fe.UnterminatedFlowComment)}return r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){this.unexpected(null,Fe.NestedFlowComment)}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1){throw this.raise(this.state.pos-2,T.UnterminatedComment)}this.state.pos=e+3;return}return super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const r=this.input.charCodeAt(t+e);const n=this.input.charCodeAt(t+e+1);if(r===58&&n===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(r===58&&n!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(this.state.pos,T.UnterminatedComment)}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Fe.EnumBooleanMemberNotInitialized,r,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:r}){const n=r[0].toUpperCase()+r.slice(1);this.raise(e,Fe.EnumInvalidMemberName,r,n,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:r}){this.raise(e,Fe.EnumDuplicateMemberName,r,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,Fe.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:r}){return this.raise(e,r===null?Fe.EnumInvalidExplicitTypeUnknownSupplied:Fe.EnumInvalidExplicitType,t,r)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:r,memberName:n}){let s=null;switch(r){case"boolean":case"number":case"string":s=Fe.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":s=Fe.EnumInvalidMemberInitializerSymbolType;break;default:s=Fe.EnumInvalidMemberInitializerUnknownType}return this.raise(e,s,t,n,r)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Fe.EnumNumberMemberNotInitialized,t,r)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,Fe.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start;const t=()=>this.match(u.comma)||this.match(u.braceR);switch(this.state.type){case u.num:{const r=this.parseNumericLiteral(this.state.value);if(t()){return{type:"number",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u.string:{const r=this.parseStringLiteral(this.state.value);if(t()){return{type:"string",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u._true:case u._false:{const r=this.parseBooleanLiteral(this.match(u._true));if(t()){return{type:"boolean",pos:r.start,value:r}}return{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;const t=this.parseIdentifier(true);const r=this.eat(u.eq)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:r}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:n}=t;if(n===null){return}if(n!==r){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set;const n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let s=false;while(!this.match(u.braceR)){if(this.eat(u.ellipsis)){s=true;break}const i=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.flowEnumErrorInvalidMemberName(a.start,{enumName:e,memberName:l})}if(r.has(l)){this.flowEnumErrorDuplicateMemberName(a.start,{enumName:e,memberName:l})}r.add(l);const p={enumName:e,explicitType:t,memberName:l};i.id=a;switch(o.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"boolean");i.init=o.value;n.booleanMembers.push(this.finishNode(i,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"number");i.init=o.value;n.numberMembers.push(this.finishNode(i,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"string");i.init=o.value;n.stringMembers.push(this.finishNode(i,"EnumStringMember"));break}case"invalid":{throw this.flowEnumErrorInvalidMemberInitializer(o.pos,p)}case"none":{switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.pos,p);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.pos,p);break;default:n.defaultedMembers.push(this.finishNode(i,"EnumDefaultedMember"))}}}if(!this.match(u.braceR)){this.expect(u.comma)}}return{members:n,hasUnknownMembers:s}}flowEnumStringMembers(e,t,{enumName:r}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:r})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:r})}return e}}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual("of")){if(!this.match(u.name)){throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t})}return t}return null}flowEnumBody(e,{enumName:t,nameLoc:r}){const n=this.flowEnumParseExplicitType({enumName:t});this.expect(u.braceL);const{members:s,hasUnknownMembers:i}=this.flowEnumMembers({enumName:t,explicitType:n});e.hasUnknownMembers=i;switch(n){case"boolean":e.explicitType=true;e.members=s.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=s.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=s.defaultedMembers;this.expect(u.braceR);return this.finishNode(e,"EnumSymbolBody");default:{const n=()=>{e.members=[];this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const i=s.booleanMembers.length;const a=s.numberMembers.length;const o=s.stringMembers.length;const l=s.defaultedMembers.length;if(!i&&!a&&!o&&!l){return n()}else if(!i&&!a){e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")}else if(!a&&!o&&i>=l){for(const e of s.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=s.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody")}else if(!i&&!o&&a>=l){for(const e of s.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=s.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody")}else{this.flowEnumErrorInconsistentMemberValues(r,{enumName:t});return n()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start});return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}});const Ke={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"};const Ve=/^[\da-fA-F]+$/;const Xe=/^\d+$/;const Ye=makeErrorTemplates({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:"Expected corresponding JSX closing tag for <%0>.",MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"},m.SyntaxError);b.j_oTag=new TokContext("...",true);u.jsxName=new TokenType("jsxName");u.jsxText=new TokenType("jsxText",{beforeExpr:true});u.jsxTagStart=new TokenType("jsxTagStart",{startsExpr:true});u.jsxTagEnd=new TokenType("jsxTagEnd");u.jsxTagStart.updateContext=(e=>{e.push(b.j_expr,b.j_oTag)});function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var Je=e=>(class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,Ye.UnterminatedJsxContent)}const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){if(r===60&&this.state.exprAllowed){++this.state.pos;return this.finishToken(u.jsxTagStart)}return super.getTokenFromCode(r)}e+=this.input.slice(t,this.state.pos);return this.finishToken(u.jsxText,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;r=e?"\n":"\r\n"}else{r=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return r}jsxReadString(e){let t="";let r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,T.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===38){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadEntity();r=this.state.pos}else if(isNewLine(n)){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadNewLine(false);r=this.state.pos}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);return this.finishToken(u.string,t)}jsxReadEntity(){let e="";let t=0;let r;let n=this.input[this.state.pos];const s=++this.state.pos;while(this.state.pos(class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return this.match(u.name)}tsTokenCanFollowModifier(){return(this.match(u.bracketL)||this.match(u.braceL)||this.match(u.star)||this.match(u.ellipsis)||this.match(u.privateName)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e){if(!this.match(u.name)){return undefined}const t=this.state.value;if(e.indexOf(t)!==-1&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return t}return undefined}tsParseModifiers(e,t,r,n){const s=(t,r,n,s)=>{if(r===n&&e[s]){this.raise(t,Ue.InvalidModifiersOrder,n,s)}};const i=(t,r,n,s)=>{if(e[n]&&r===s||e[s]&&r===n){this.raise(t,Ue.IncompatibleModifiers,n,s)}};for(;;){const a=this.state.start;const o=this.tsParseModifier(t.concat(r!=null?r:[]));if(!o)break;if(tsIsAccessModifier(o)){if(e.accessibility){this.raise(a,Ue.DuplicateAccessibilityModifier)}else{s(a,o,o,"override");s(a,o,o,"static");s(a,o,o,"readonly");e.accessibility=o}}else{if(Object.hasOwnProperty.call(e,o)){this.raise(a,Ue.DuplicateModifier,o)}else{s(a,o,"static","readonly");s(a,o,"static","override");s(a,o,"override","readonly");s(a,o,"abstract","override");i(a,o,"declare","override");i(a,o,"static","abstract")}e[o]=true}if(r!=null&&r.includes(o)){this.raise(a,n,o)}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(u.braceR);case"HeritageClauseElement":return this.match(u.braceL);case"TupleElementTypes":return this.match(u.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const r=[];while(!this.tsIsListTerminator(e)){r.push(t())}return r}tsParseDelimitedList(e,t){return nonNull(this.tsParseDelimitedListWorker(e,t,true))}tsParseDelimitedListWorker(e,t,r){const n=[];for(;;){if(this.tsIsListTerminator(e)){break}const s=t();if(s==null){return undefined}n.push(s);if(this.eat(u.comma)){continue}if(this.tsIsListTerminator(e)){break}if(r){this.expect(u.comma)}return undefined}return n}tsParseBracketedList(e,t,r,n){if(!n){if(r){this.expect(u.bracketL)}else{this.expectRelational("<")}}const s=this.tsParseDelimitedList(e,t);if(r){this.expect(u.bracketR)}else{this.expectRelational(">")}return s}tsParseImportType(){const e=this.startNode();this.expect(u._import);this.expect(u.parenL);if(!this.match(u.string)){this.raise(this.state.start,Ue.UnsupportedImportTypeArgument)}e.argument=this.parseExprAtom();this.expect(u.parenR);if(this.eat(u.dot)){e.qualifier=this.tsParseEntityName(true)}if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();while(this.eat(u.dot)){const r=this.startNodeAtNode(t);r.left=t;r.right=this.parseIdentifier(e);t=this.finishNode(r,"TSQualifiedName")}return t}tsParseTypeReference(){const e=this.startNode();e.typeName=this.tsParseEntityName(false);if(!this.hasPrecedingLineBreak()&&this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(u._typeof);if(this.match(u._import)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName(true)}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();e.name=this.tsParseTypeParameterName();e.constraint=this.tsEatThenParseType(u._extends);e.default=this.tsEatThenParseType(u.eq);return this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<")){return this.tsParseTypeParameters()}}tsParseTypeParameters(){const e=this.startNode();if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),false,true);if(e.params.length===0){this.raise(e.start,Ue.EmptyTypeParameters)}return this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type===u._const){this.next();return this.tsParseTypeReference()}return null}tsFillSignature(e,t){const r=e===u.arrow;t.typeParameters=this.tsTryParseTypeParameters();this.expect(u.parenL);t.parameters=this.tsParseBindingListForSignature();if(r){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(u.parenR,41).map(e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(e.start,Ue.UnsupportedSignatureParameterKind,e.type)}return e})}tsParseTypeMemberSemicolon(){if(!this.eat(u.comma)&&!this.isLineTerminator()){this.expect(u.semi)}}tsParseSignatureMember(e,t){this.tsFillSignature(u.colon,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();return this.eat(u.name)&&this.match(u.colon)}tsTryParseIndexSignature(e){if(!(this.match(u.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(u.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(u.bracketR);e.parameters=[t];const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(u.question))e.optional=true;const r=e;if(this.match(u.parenL)||this.isRelational("<")){if(t){this.raise(e.start,Ue.ReadonlyForMethodSignature)}const n=r;if(n.kind&&this.isRelational("<")){this.raise(this.state.pos,Ue.AccesorCannotHaveTypeParameters)}this.tsFillSignature(u.colon,n);this.tsParseTypeMemberSemicolon();if(n.kind==="get"){if(n.parameters.length>0){this.raise(this.state.pos,T.BadGetterArity);if(this.isThisParam(n.parameters[0])){this.raise(this.state.pos,Ue.AccesorCannotDeclareThisParameter)}}}else if(n.kind==="set"){if(n.parameters.length!==1){this.raise(this.state.pos,T.BadSetterArity)}else{const e=n.parameters[0];if(this.isThisParam(e)){this.raise(this.state.pos,Ue.AccesorCannotDeclareThisParameter)}if(e.type==="Identifier"&&e.optional){this.raise(this.state.pos,Ue.SetAccesorCannotHaveOptionalParameter)}if(e.type==="RestElement"){this.raise(this.state.pos,Ue.SetAccesorCannotHaveRestParameter)}}if(n.typeAnnotation){this.raise(n.typeAnnotation.start,Ue.SetAccesorCannotHaveReturnType)}}else{n.kind="method"}return this.finishNode(n,"TSMethodSignature")}else{const e=r;if(t)e.readonly=true;const n=this.tsTryParseTypeAnnotation();if(n)e.typeAnnotation=n;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(u._new)){const t=this.startNode();this.next();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],Ue.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e,false);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;this.parsePropertyName(e,false)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(u.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(u.braceR);return e}tsIsStartOfMappedType(){this.next();if(this.eat(u.plusMin)){return this.isContextual("readonly")}if(this.isContextual("readonly")){this.next()}if(!this.match(u.bracketL)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(u._in)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.tsParseTypeParameterName();e.constraint=this.tsExpectThenParseType(u._in);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(u.braceL);if(this.match(u.plusMin)){e.readonly=this.state.value;this.next();this.expectContextual("readonly")}else if(this.eatContextual("readonly")){e.readonly=true}this.expect(u.bracketL);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual("as")?this.tsParseType():null;this.expect(u.bracketR);if(this.match(u.plusMin)){e.optional=this.state.value;this.next();this.expect(u.question)}else if(this.eat(u.question)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(u.braceR);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let r=null;e.elementTypes.forEach(e=>{var n;let{type:s}=e;if(t&&s!=="TSRestType"&&s!=="TSOptionalType"&&!(s==="TSNamedTupleMember"&&e.optional)){this.raise(e.start,Ue.OptionalTypeBeforeRequired)}t=t||s==="TSNamedTupleMember"&&e.optional||s==="TSOptionalType";if(s==="TSRestType"){e=e.typeAnnotation;s=e.type}const i=s==="TSNamedTupleMember";r=(n=r)!=null?n:i;if(r!==i){this.raise(e.start,Ue.MixedLabeledAndUnlabeledElements)}});return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const r=this.eat(u.ellipsis);let n=this.tsParseType();const s=this.eat(u.question);const i=this.eat(u.colon);if(i){const e=this.startNodeAtNode(n);e.optional=s;if(n.type==="TSTypeReference"&&!n.typeParameters&&n.typeName.type==="Identifier"){e.label=n.typeName}else{this.raise(n.start,Ue.InvalidTupleMemberLabel);e.label=n}e.elementType=this.tsParseType();n=this.finishNode(e,"TSNamedTupleMember")}else if(s){const e=this.startNodeAtNode(n);e.typeAnnotation=n;n=this.finishNode(e,"TSOptionalType")}if(r){const r=this.startNodeAt(e,t);r.typeAnnotation=n;n=this.finishNode(r,"TSRestType")}return n}tsParseParenthesizedType(){const e=this.startNode();this.expect(u.parenL);e.typeAnnotation=this.tsParseType();this.expect(u.parenR);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const r=this.startNode();if(e==="TSConstructorType"){r.abstract=!!t;if(t)this.next();this.next()}this.tsFillSignature(u.arrow,r);return this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case u.num:case u.bigint:case u.string:case u._true:case u._false:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case u.name:case u._void:case u._null:{const e=this.match(u._void)?"TSVoidKeyword":this.match(u._null)?"TSNullKeyword":keywordTypeFromName(this.state.value);if(e!==undefined&&this.lookaheadCharCode()!==46){const t=this.startNode();this.next();return this.finishNode(t,e)}return this.tsParseTypeReference()}case u.string:case u.num:case u.bigint:case u._true:case u._false:return this.tsParseLiteralTypeNode();case u.plusMin:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==u.num&&t.type!==u.bigint){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case u._this:return this.tsParseThisTypeOrThisTypePredicate();case u._typeof:return this.tsParseTypeQuery();case u._import:return this.tsParseImportType();case u.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case u.bracketL:return this.tsParseTupleType();case u.parenL:return this.tsParseParenthesizedType();case u.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(u.bracketL)){if(this.match(u.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(u.bracketR);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(u.bracketR);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(e){const t=this.startNode();this.expectContextual(e);t.operator=e;t.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(e==="readonly"){this.tsCheckTypeAnnotationForReadOnly(t)}return this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,Ue.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();t.name=this.tsParseTypeParameterName();e.typeParameter=this.finishNode(t,"TSTypeParameter");return this.finishNode(e,"TSInferType")}tsParseTypeOperatorOrHigher(){const e=["keyof","unique","readonly"].find(e=>this.isContextual(e));return e?this.tsParseTypeOperator(e):this.isContextual("infer")?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}tsParseUnionOrIntersectionType(e,t,r){const n=this.startNode();const s=this.eat(r);const i=[];do{i.push(t())}while(this.eat(r));if(i.length===1&&!s){return i[0]}n.types=i;return this.finishNode(n,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),u.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),u.bitwiseOR)}tsIsStartOfFunctionType(){if(this.isRelational("<")){return true}return this.match(u.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(u.name)||this.match(u._this)){this.next();return true}if(this.match(u.braceL)){let e=1;this.next();while(e>0){if(this.match(u.braceL)){++e}else if(this.match(u.braceR)){--e}this.next()}return true}if(this.match(u.bracketL)){let e=1;this.next();while(e>0){if(this.match(u.bracketL)){++e}else if(this.match(u.bracketR)){--e}this.next()}return true}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(u.parenR)||this.match(u.ellipsis)){return true}if(this.tsSkipParameterStart()){if(this.match(u.colon)||this.match(u.comma)||this.match(u.question)||this.match(u.eq)){return true}if(this.match(u.parenR)){this.next();if(this.match(u.arrow)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const r=this.startNode();const n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(u._this)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){r.parameterName=e;r.asserts=true;r.typeAnnotation=null;e=this.finishNode(r,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,r);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const s=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!s){if(!n){return this.tsParseTypeAnnotation(false,t)}r.parameterName=this.parseIdentifier();r.asserts=n;r.typeAnnotation=null;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsParseTypeAnnotation(false);r.parameterName=s;r.typeAnnotation=i;r.asserts=n;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(u.colon)?this.tsParseTypeOrTypePredicateAnnotation(u.colon):undefined}tsTryParseTypeAnnotation(){return this.match(u.colon)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(u.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(!this.match(u.name)||this.state.value!=="asserts"||this.hasPrecedingLineBreak()){return false}const e=this.state.containsEsc;this.next();if(!this.match(u.name)&&!this.match(u._this)){return false}if(e){this.raise(this.state.lastTokStart,T.InvalidEscapedReservedWord,"asserts")}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType(()=>{if(e)this.expect(u.colon);t.typeAnnotation=this.tsParseType()});return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(u._extends)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsParseNonConditionalType();this.expect(u.question);t.trueType=this.tsParseType();this.expect(u.colon);t.falseType=this.tsParseType();return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual("abstract")&&this.lookahead().type===u._new}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(u._new)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expectRelational(">");e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start;const r=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));if(!r.length){this.raise(t,Ue.EmptyHeritageClauseType,e)}return r}tsParseExpressionWithTypeArguments(){const e=this.startNode();e.expression=this.tsParseEntityName(false);if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){if(this.match(u.name)){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript interface declaration",ne)}else{e.id=null;this.raise(this.state.start,Ue.MissingInterfaceName)}e.typeParameters=this.tsTryParseTypeParameters();if(this.eat(u._extends)){e.extends=this.tsParseHeritageClause("extends")}const t=this.startNode();t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(t,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript type alias",se);e.typeParameters=this.tsTryParseTypeParameters();e.typeAnnotation=this.tsInType(()=>{this.expect(u.eq);if(this.isContextual("intrinsic")&&this.lookahead().type!==u.dot){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()});this.semicolon();return this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){const t=this.state.inType;this.state.inType=true;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>{e();return this.tsParseType()})}tsParseEnumMember(){const e=this.startNode();e.id=this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(u.eq)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){if(t)e.const=true;e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript enum declaration",t?ue:ie);this.expect(u.braceL);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(u.braceR);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(N);this.expect(u.braceL);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,u.braceR);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkLVal(e.id,"module or namespace declaration",pe)}if(this.eat(u.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(K);this.prodParam.enter(we);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual("global")){e.global=true;e.id=this.parseIdentifier()}else if(this.match(u.string)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(u.braceL)){this.scope.enter(K);this.prodParam.enter(we);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkLVal(e.id,"import equals declaration",ee);this.expect(u.eq);const r=this.tsParseModuleReference();if(e.importKind==="type"&&r.type!=="TSExternalModuleReference"){this.raise(r.start,Ue.ImportAliasHasImportType)}e.moduleReference=r;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual("require");this.expect(u.parenL);if(!this.match(u.string)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(u.parenR);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const r=e();this.state=t;return r}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const r=e();if(r!==undefined&&r!==false){return r}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let r;if(this.isContextual("let")){t=u._var;r="let"}return this.tsInAmbientContext(()=>{switch(t){case u._function:e.declare=true;return this.parseFunctionStatement(e,false,true);case u._class:e.declare=true;return this.parseClass(e,true,false);case u._const:if(this.match(u._const)&&this.isLookaheadContextual("enum")){this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}case u._var:r=r||this.state.value;return this.parseVarStatement(e,r);case u.name:{const t=this.state.value;if(t==="global"){return this.tsParseAmbientExternalModuleDeclaration(e)}else{return this.tsParseDeclaration(e,t,true)}}}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(u.braceL)){this.scope.enter(K);this.prodParam.enter(we);const r=e;r.global=true;r.id=t;r.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(u._class)||this.match(u.name))){return this.tsParseAbstractDeclaration(e)}break;case"enum":if(r||this.match(u.name)){if(r)this.next();return this.tsParseEnumDeclaration(e,false)}break;case"interface":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseInterfaceDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(u.string)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<")){return undefined}const r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const n=this.tsTryParseAndCatch(()=>{const r=this.startNodeAt(e,t);r.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(r);r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(u.arrow);return r});this.state.maybeInArrowParameters=r;if(!n){return undefined}return this.parseArrowExpression(n,null,true)}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType(()=>this.tsInNoContext(()=>{this.expectRelational("<");return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}));if(e.params.length===0){this.raise(e.start,Ue.EmptyTypeArguments)}this.expectRelational(">");return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(u.name)){switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return true}}return false}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.start;const n=this.state.startLoc;let s;let i=false;let a=false;if(e!==undefined){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]);s=t.accessibility;a=t.override;i=t.readonly;if(e===false&&(s||i||a)){this.raise(r,Ue.UnexpectedParameterModifier)}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(s||i||a){const e=this.startNodeAt(r,n);if(t.length){e.decorators=t}if(s)e.accessibility=s;if(i)e.readonly=i;if(a)e.override=a;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(e.start,Ue.UnsupportedParameterPropertyKind)}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(u.colon)}const n=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"?"TSDeclareMethod":undefined;if(n&&!this.match(u.braceL)&&this.isLineTerminator()){this.finishNode(e,n);return}if(n==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(e.start,Ue.DeclareFunctionHasImplementation);if(e.declare){super.parseFunctionBodyAndFinish(e,n,r);return}}super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkLVal(e.id,"function name",ae)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(e.typeAnnotation.start,Ue.UnexpectedTypeAnnotation)}})}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,r,n,s){if(!this.hasPrecedingLineBreak()&&this.match(u.bang)){this.state.exprAllowed=false;this.next();const n=this.startNodeAt(t,r);n.expression=e;return this.finishNode(n,"TSNonNullExpression")}let i=false;if(this.match(u.questionDot)&&this.lookaheadCharCode()===60){if(n){s.stop=true;return e}s.optionalChainMember=i=true;this.next()}if(this.isRelational("<")){let a;const o=this.tsTryParseAndCatch(()=>{if(!n&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,r);if(e){return e}}const o=this.startNodeAt(t,r);o.callee=e;const l=this.tsParseTypeArguments();if(l){if(i&&!this.match(u.parenL)){a=this.state.pos;this.unexpected()}if(!n&&this.eat(u.parenL)){o.arguments=this.parseCallExpressionArguments(u.parenR,false);this.tsCheckForInvalidTypeCasts(o.arguments);o.typeParameters=l;if(s.optionalChainMember){o.optional=i}return this.finishCallExpression(o,s.optionalChainMember)}else if(this.match(u.backQuote)){const n=this.parseTaggedTemplateExpression(e,t,r,s);n.typeParameters=l;return n}}this.unexpected()});if(a){this.unexpected(a,u.parenL)}if(o)return o}return super.parseSubscript(e,t,r,n,s)}parseNewArguments(e){if(this.isRelational("<")){const t=this.tsTryParseAndCatch(()=>{const e=this.tsParseTypeArguments();if(!this.match(u.parenL))this.unexpected();return e});if(t){e.typeParameters=t}}super.parseNewArguments(e)}parseExprOp(e,t,r,n){if(nonNull(u._in.binop)>n&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const s=this.startNodeAt(t,r);s.expression=e;const i=this.tsTryNextParseConstantContext();if(i){s.typeAnnotation=i}else{s.typeAnnotation=this.tsNextThenParseType()}this.finishNode(s,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(s,t,r,n)}return super.parseExprOp(e,t,r,n)}checkReservedWord(e,t,r,n){}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(this.match(u.name)||this.match(u.star)||this.match(u.braceL)){let t=this.lookahead();if(this.isContextual("type")&&t.type!==u.comma&&!(t.type===u.name&&t.value==="from")&&t.type!==u.eq){e.importKind="type";this.next();t=this.lookahead()}if(this.match(u.name)&&t.type===u.eq){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(t.start,Ue.TypeImportCannotSpecifyDefaultAndNamed)}return t}parseExport(e){if(this.match(u._import)){this.next();if(this.isContextual("type")&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(u.eq)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual("as")){const t=e;this.expectContextual("namespace");t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual("type")&&this.lookahead().type===u.braceL){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===u._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.state.value==="interface"){const e=this.startNode();this.next();const t=this.tsParseInterfaceDeclaration(e);if(t)return t}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===u._const){const e=this.lookahead();if(e.type===u.name&&e.value==="enum"){const e=this.startNode();this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!e[t]})}parseClassMember(e,t,r){const n=["declare","private","public","protected","override","abstract","readonly"];this.tsParseModifiers(t,n.concat(["static"]));const s=()=>{const s=!!t.static;if(s&&this.eat(u.braceL)){if(this.tsHasSomeModifiers(t,n)){this.raise(this.state.pos,Ue.StaticBlockCannotHaveModifier)}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,r,s)}};if(t.declare){this.tsInAmbientContext(s)}else{s()}}parseClassMemberWithIsStatic(e,t,r,n){const s=this.tsTryParseIndexSignature(t);if(s){e.body.push(s);if(t.abstract){this.raise(t.start,Ue.IndexSignatureHasAbstract)}if(t.accessibility){this.raise(t.start,Ue.IndexSignatureHasAccessibility,t.accessibility)}if(t.declare){this.raise(t.start,Ue.IndexSignatureHasDeclare)}if(t.override){this.raise(t.start,Ue.IndexSignatureHasOverride)}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(t.start,Ue.NonAbstractClassHasAbstractMethod)}if(t.override){if(!r.hadSuperClass){this.raise(t.start,Ue.OverrideNotInSubClass)}}super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){const t=this.eat(u.question);if(t)e.optional=true;if(e.readonly&&this.match(u.parenL)){this.raise(e.start,Ue.ClassMethodHasReadonly)}if(e.declare&&this.match(u.parenL)){this.raise(e.start,Ue.ClassMethodHasDeclare)}}parseExpressionStatement(e,t){const r=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return r||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,r,n){if(!this.state.maybeInArrowParameters||!this.match(u.question)){return super.parseConditional(e,t,r,n)}const s=this.tryParse(()=>super.parseConditional(e,t,r));if(!s.node){if(s.error){super.setOptionalParametersError(n,s.error)}return e}if(s.error)this.state=s.failState;return s.node}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start;const r=this.state.startLoc;const n=this.eatContextual("declare");if(n&&(this.isContextual("declare")||!this.shouldParseExportDeclaration())){throw this.raise(this.state.start,Ue.ExpectedAmbientAfterExportDeclare)}let s;if(this.match(u.name)){s=this.tsTryParseExportDeclaration()}if(!s){s=super.parseExportDeclaration(e)}if(s&&(s.type==="TSInterfaceDeclaration"||s.type==="TSTypeAliasDeclaration"||n)){e.exportKind="type"}if(s&&n){this.resetStartLocation(s,t,r);s.declare=true}return s}parseClassId(e,t,r){if((!t||r)&&this.isContextual("implements")){return}super.parseClassId(e,t,r,e.declare?ae:Z);const n=this.tsTryParseTypeParameters();if(n)e.typeParameters=n}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(u.bang)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(u.eq)){this.raise(this.state.start,Ue.DeclareClassFieldHasInitializer)}if(e.abstract&&this.match(u.eq)){const{key:t}=e;this.raise(this.state.start,Ue.AbstractPropertyHasInitializer,t.type==="Identifier"&&!e.computed?t.name:`[${this.input.slice(t.start,t.end)}]`)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(e.start,Ue.PrivateElementHasAbstract)}if(e.accessibility){this.raise(e.start,Ue.PrivateElementHasAccessibility,e.accessibility)}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,n,s,i){const a=this.tsTryParseTypeParameters();if(a&&s){this.raise(a.start,Ue.ConstructorHasTypeParameters)}if(t.declare&&(t.kind==="get"||t.kind==="set")){this.raise(t.start,Ue.DeclareAccessor,t.kind)}if(a)t.typeParameters=a;super.pushClassMethod(e,t,r,n,s,i)}pushClassPrivateMethod(e,t,r,n){const s=this.tsTryParseTypeParameters();if(s)t.typeParameters=s;super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.tsParseTypeArguments()}if(this.eatContextual("implements")){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&this.eat(u.bang)){e.definite=true}const r=this.tsTryParseTypeAnnotation();if(r){e.id.typeAnnotation=r;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(u.colon)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,r,n,s,i,a,o;let l;let p;let f;if(this.hasPlugin("jsx")&&(this.match(u.jsxTagStart)||this.isRelational("<"))){l=this.state.clone();p=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!p.error)return p.node;const{context:t}=this.state;if(t[t.length-1]===b.j_oTag){t.length-=2}else if(t[t.length-1]===b.j_expr){t.length-=1}}if(!((t=p)!=null&&t.error)&&!this.isRelational("<")){return super.parseMaybeAssign(...e)}let c;l=l||this.state.clone();const d=this.tryParse(t=>{var r,n;c=this.tsParseTypeParameters();const s=super.parseMaybeAssign(...e);if(s.type!=="ArrowFunctionExpression"||(r=s.extra)!=null&&r.parenthesized){t()}if(((n=c)==null?void 0:n.params.length)!==0){this.resetStartLocationFromNode(s,c)}s.typeParameters=c;return s},l);if(!d.error&&!d.aborted)return d.node;if(!p){assert(!this.hasPlugin("jsx"));f=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!f.error)return f.node}if((r=p)!=null&&r.node){this.state=p.failState;return p.node}if(d.node){this.state=d.failState;return d.node}if((n=f)!=null&&n.node){this.state=f.failState;return f.node}if((s=p)!=null&&s.thrown)throw p.error;if(d.thrown)throw d.error;if((i=f)!=null&&i.thrown)throw f.error;throw((a=p)==null?void 0:a.error)||d.error||((o=f)==null?void 0:o.error)}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.isRelational("<")){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(u.colon);if(this.canInsertSemicolon()||!this.match(u.arrow))e();return t});if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(e.start,Ue.PatternIsOptional)}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}isAssignable(e,t){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,t);case"TSParameterProperty":return true;default:return super.isAssignable(e,t)}}toAssignable(e,t=false){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...r){var n;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...r);return;case"TSAsExpression":case"TSTypeAssertion":if(!r[0]&&t!=="parenthesized expression"&&!((n=e.extra)!=null&&n.parenthesized)){this.raise(e.start,T.InvalidLhs,t);break}this.checkLVal(e.expression,"parenthesized expression",...r);return;case"TSNonNullExpression":this.checkLVal(e.expression,t,...r);return;default:super.checkLVal(e,t,...r);return}}parseBindingAtom(){switch(this.state.type){case u._this:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(u.parenL)){const r=super.parseMaybeDecoratorArguments(e);r.typeParameters=t;return r}this.unexpected(this.state.start,u.parenL)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(u.comma)&&this.lookaheadCharCode()===e){this.next()}else{super.checkCommaAfterRest(e)}}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.bang)||this.match(u.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.startthis.isAssignable(e,true))}return super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(u.colon)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.isRelational("<")){const t=this.tsTryParseAndCatch(()=>this.tsParseTypeArguments());if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const n=r[0];const s=n&&this.isThisParam(n);return s?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,...t){const r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,...t)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e){if(this.match(u._class)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual("interface")){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(e.start,Ue.NonClassMethodPropertyHasAbstractModifer);this.next();return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,u._class)}}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(t.start,Ue.AbstractMethodHasImplementation,e.type==="Identifier"&&!t.computed?e.name:`[${this.input.slice(e.start,e.end)}]`)}}return t}tsParseTypeParameterName(){const e=this.parseIdentifier();return e.name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}});u.placeholder=new TokenType("%%",{startsExpr:true});const qe=makeErrorTemplates({ClassNameIsRequired:"A class name is required."},m.SyntaxError);var ze=e=>(class extends e{parsePlaceholder(e){if(this.match(u.placeholder)){const t=this.startNode();this.next();this.assertNoSpace("Unexpected space in placeholder.");t.name=super.parseIdentifier(true);this.assertNoSpace("Unexpected space in placeholder.");this.expect(u.placeholder);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(u.placeholder,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){if(e.type!=="Placeholder")super.checkLVal(...arguments)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern";return e}return super.toAssignable(...arguments)}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual("let")){return false}if(e)return false;const t=this.lookahead();if(t.type===u.placeholder){return true}return false}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(u.colon)){const r=e;r.label=this.finishPlaceholder(t,"Identifier");this.next();r.body=this.parseStatement("label");return this.finishNode(r,"LabeledStatement")}this.semicolon();e.name=t.name;return this.finishPlaceholder(e,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(e,t,r){const n=t?"ClassDeclaration":"ClassExpression";this.next();this.takeDecorators(e);const s=this.state.strict;const i=this.parsePlaceholder("Identifier");if(i){if(this.match(u._extends)||this.match(u.placeholder)||this.match(u.braceL)){e.id=i}else if(r||!t){e.id=null;e.body=this.finishPlaceholder(i,"ClassBody");return this.finishNode(e,n)}else{this.unexpected(null,qe.ClassNameIsRequired)}}else{this.parseClassId(e,t,r)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,s);return this.finishNode(e,n)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(u.comma)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const r=this.startNode();r.exported=t;e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(u._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(u.placeholder.label,this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter(e=>e.exported.type==="Placeholder")}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual("from")&&!this.match(u.comma)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const r=this.startNodeAtNode(t);r.local=t;this.finishNode(r,"ImportDefaultSpecifier");e.specifiers.push(r);if(this.eat(u.comma)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual("from");e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}});var Ge=e=>(class extends e{parseV8Intrinsic(){if(this.match(u.modulo)){const e=this.state.start;const t=this.startNode();this.eat(u.modulo);if(this.match(u.name)){const e=this.parseIdentifierName(this.state.start);const r=this.createIdentifier(t,e);r.type="V8IntrinsicIdentifier";if(this.match(u.parenL)){return r}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}});function hasPlugin(e,t){return e.some(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}})}function getPluginOption(e,t,r){const n=e.find(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}});if(n&&Array.isArray(n)){return n[1][r]}return null}const $e=["minimal","fsharp","hack","smart"];const He=["%","#"];const Qe=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option,"+" whose value must be a boolean. If you are migrating from"+" Babylon/Babel 6 or want to use the old decorators proposal, you"+" should use the 'decorators-legacy' plugin instead of 'decorators'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")){const t=getPluginOption(e,"pipelineOperator","proposal");if(!$e.includes(t)){const e=$e.map(e=>`"${e}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}const r=hasPlugin(e,"recordAndTuple")&&getPluginOption(e,"recordAndTuple","syntaxType")==="hash";if(t==="hack"){if(hasPlugin(e,"placeholders")){throw new Error("Cannot combine placeholders plugin and Hack-style pipes.")}if(hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.")}const t=getPluginOption(e,"pipelineOperator","topicToken");if(!He.includes(t)){const e=He.map(e=>`"${e}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${e}.`)}if(t==="#"&&r){throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}}else if(t==="smart"&&r){throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}}if(hasPlugin(e,"recordAndTuple")&&!Qe.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Qe.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const Ze={estree:S,jsx:Je,flow:Re,typescript:We,v8intrinsic:Ge,placeholders:ze};const et=Object.keys(Ze);const tt={sourceType:"script",sourceFilename:undefined,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false,attachComment:true};function getOptions(e){const t={};for(const r of Object.keys(tt)){t[r]=e&&e[r]!=null?e[r]:tt[r]}return t}const rt=e=>{return e.type==="ParenthesizedExpression"?rt(e.expression):e};class LValParser extends NodeUtils{toAssignable(e,t=false){var r,n;let s=undefined;if(e.type==="ParenthesizedExpression"||(r=e.extra)!=null&&r.parenthesized){s=rt(e);if(t){if(s.type==="Identifier"){this.expressionScope.recordParenthesizedIdentifierError(e.start,T.InvalidParenthesizedAssignment)}else if(s.type!=="MemberExpression"){this.raise(e.start,T.InvalidParenthesizedAssignment)}}else{this.raise(e.start,T.InvalidParenthesizedAssignment)}}switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(let r=0,n=e.properties.length,s=n-1;r{return e.type!=="ObjectMethod"&&(r===t||e.type!=="SpreadElement")&&this.isAssignable(e)})}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every(e=>e===null||this.isAssignable(e));case"AssignmentExpression":return e.operator==="=";case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return false}}toReferencedList(e,t){return e}toReferencedListDeep(e,t){this.toReferencedList(e,t);for(const t of e){if((t==null?void 0:t.type)==="ArrayExpression"){this.toReferencedListDeep(t.elements)}}}parseSpread(e,t){const r=this.startNode();this.next();r.argument=this.parseMaybeAssignAllowIn(e,undefined,t);return this.finishNode(r,"SpreadElement")}parseRestBinding(){const e=this.startNode();this.next();e.argument=this.parseBindingAtom();return this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case u.bracketL:{const e=this.startNode();this.next();e.elements=this.parseBindingList(u.bracketR,93,true);return this.finishNode(e,"ArrayPattern")}case u.braceL:return this.parseObjectLike(u.braceR,true)}return this.parseIdentifier()}parseBindingList(e,t,r,n){const s=[];let i=true;while(!this.eat(e)){if(i){i=false}else{this.expect(u.comma)}if(r&&this.match(u.comma)){s.push(null)}else if(this.eat(e)){break}else if(this.match(u.ellipsis)){s.push(this.parseAssignableListItemTypes(this.parseRestBinding()));this.checkCommaAfterRest(t);this.expect(e);break}else{const e=[];if(this.match(u.at)&&this.hasPlugin("decorators")){this.raise(this.state.start,T.UnsupportedParameterDecorator)}while(this.match(u.at)){e.push(this.parseDecorator())}s.push(this.parseAssignableListItem(n,e))}}return s}parseAssignableListItem(e,t){const r=this.parseMaybeDefault();this.parseAssignableListItemTypes(r);const n=this.parseMaybeDefault(r.start,r.loc.start,r);if(t.length){r.decorators=t}return n}parseAssignableListItemTypes(e){return e}parseMaybeDefault(e,t,r){var n,s,i;t=(n=t)!=null?n:this.state.startLoc;e=(s=e)!=null?s:this.state.start;r=(i=r)!=null?i:this.parseBindingAtom();if(!this.eat(u.eq))return r;const a=this.startNodeAt(e,t);a.left=r;a.right=this.parseMaybeAssignAllowIn();return this.finishNode(a,"AssignmentPattern")}checkLVal(e,t,r=oe,n,s,i=false){switch(e.type){case"Identifier":{const{name:t}=e;if(this.state.strict&&(i?isStrictBindReservedWord(t,this.inModule):isStrictBindOnlyReservedWord(t))){this.raise(e.start,r===oe?T.StrictEvalArguments:T.StrictEvalArgumentsBinding,t)}if(n){if(n.has(t)){this.raise(e.start,T.ParamDupe)}else{n.add(t)}}if(s&&t==="let"){this.raise(e.start,T.LetInLexicalBinding)}if(!(r&oe)){this.scope.declareName(t,r,e.start)}break}case"MemberExpression":if(r!==oe){this.raise(e.start,T.InvalidPropertyBindingPattern)}break;case"ObjectPattern":for(let t of e.properties){if(this.isObjectProperty(t))t=t.value;else if(this.isObjectMethod(t))continue;this.checkLVal(t,"object destructuring pattern",r,n,s)}break;case"ArrayPattern":for(const t of e.elements){if(t){this.checkLVal(t,"array destructuring pattern",r,n,s)}}break;case"AssignmentPattern":this.checkLVal(e.left,"assignment pattern",r,n);break;case"RestElement":this.checkLVal(e.argument,"rest element",r,n);break;case"ParenthesizedExpression":this.checkLVal(e.expression,"parenthesized expression",r,n);break;default:{this.raise(e.start,r===oe?T.InvalidLhs:T.InvalidLhsBinding,t)}}}checkToRestConversion(e){if(e.argument.type!=="Identifier"&&e.argument.type!=="MemberExpression"){this.raise(e.argument.start,T.InvalidRestAssignmentPattern)}}checkCommaAfterRest(e){if(this.match(u.comma)){if(this.lookaheadCharCode()===e){this.raiseTrailingCommaAfterRest(this.state.start)}else{this.raiseRestNotLast(this.state.start)}}}raiseRestNotLast(e){throw this.raise(e,T.ElementAfterRest)}raiseTrailingCommaAfterRest(e){this.raise(e,T.RestTrailingComma)}}class ExpressionParser extends LValParser{checkProto(e,t,r,n){if(e.type==="SpreadElement"||this.isObjectMethod(e)||e.computed||e.shorthand){return}const s=e.key;const i=s.type==="Identifier"?s.name:s.value;if(i==="__proto__"){if(t){this.raise(s.start,T.RecordNoProto);return}if(r.used){if(n){if(n.doubleProto===-1){n.doubleProto=s.start}}else{this.raise(s.start,T.DuplicateProto)}}r.used=true}}shouldExitDescending(e,t){return e.type==="ArrowFunctionExpression"&&e.start===t}getExpression(){this.enterInitialScopes();this.nextToken();const e=this.parseExpression();if(!this.match(u.eof)){this.unexpected()}this.finalizeRemainingComments();e.comments=this.state.comments;e.errors=this.state.errors;if(this.options.tokens){e.tokens=this.tokens}return e}parseExpression(e,t){if(e){return this.disallowInAnd(()=>this.parseExpressionBase(t))}return this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start;const r=this.state.startLoc;const n=this.parseMaybeAssign(e);if(this.match(u.comma)){const s=this.startNodeAt(t,r);s.expressions=[n];while(this.eat(u.comma)){s.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(s.expressions);return this.finishNode(s,"SequenceExpression")}return n}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd(()=>this.parseMaybeAssign(e,t))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd(()=>this.parseMaybeAssign(e,t))}setOptionalParametersError(e,t){var r;e.optionalParameters=(r=t==null?void 0:t.pos)!=null?r:this.state.start}parseMaybeAssign(e,t){const r=this.state.start;const n=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,r,n)}return e}}let s;if(e){s=false}else{e=new ExpressionErrors;s=true}if(this.match(u.parenL)||this.match(u.name)){this.state.potentialArrowAt=this.state.start}let i=this.parseMaybeConditional(e);if(t){i=t.call(this,i,r,n)}if(this.state.type.isAssign){const t=this.startNodeAt(r,n);const s=this.state.value;t.operator=s;const a=i.type==="BinaryExpression"&&i.operator==="|>"&&this.getPluginOption("pipelineOperator","proposal")==="hack";if(a){throw this.raise(this.state.start,T.PipeBodyIsTighter,s)}if(this.match(u.eq)){t.left=this.toAssignable(i,true);e.doubleProto=-1}else{t.left=i}if(e.shorthandAssign>=t.left.start){e.shorthandAssign=-1}this.checkLVal(i,"assignment expression");this.next();t.right=this.parseMaybeAssign();return this.finishNode(t,"AssignmentExpression")}else if(s){this.checkExpressionErrors(e,true)}return i}parseMaybeConditional(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const s=this.parseExprOps(e);if(this.shouldExitDescending(s,n)){return s}return this.parseConditional(s,t,r,e)}parseConditional(e,t,r,n){if(this.eat(u.question)){const n=this.startNodeAt(t,r);n.test=e;n.consequent=this.parseMaybeAssignAllowIn();this.expect(u.colon);n.alternate=this.parseMaybeAssign();return this.finishNode(n,"ConditionalExpression")}return e}parseExprOps(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const s=this.parseMaybeUnary(e);if(this.shouldExitDescending(s,n)){return s}return this.parseExprOp(s,t,r,-1)}parseExprOp(e,t,r,n){let s=this.state.type.binop;if(s!=null&&(this.prodParam.hasIn||!this.match(u._in))){if(s>n){const i=this.state.type;if(i===u.pipeline){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,r);a.left=e;a.operator=this.state.value;const o=i===u.logicalOR||i===u.logicalAND;const l=i===u.nullishCoalescing;if(l){s=u.logicalAND.binop}this.next();if(i===u.pipeline&&this.getPluginOption("pipelineOperator","proposal")==="minimal"){if(this.match(u.name)&&this.state.value==="await"&&this.prodParam.hasAwait){throw this.raise(this.state.start,T.UnexpectedAwaitAfterPipelineBody)}}a.right=this.parseExprOpRightExpr(i,s);this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");const p=this.state.type;if(l&&(p===u.logicalOR||p===u.logicalAND)||o&&p===u.nullishCoalescing){throw this.raise(this.state.start,T.MixingCoalesceWithLogical)}return this.parseExprOp(a,t,r,n)}}return e}parseExprOpRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;switch(e){case u.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>{const n=this.parseHackPipeBody(e,t);this.checkHackPipeBodyEarlyErrors(r);return n});case"smart":return this.withTopicBindingContext(()=>{const s=this.parseHackPipeBody(e,t);return this.parseSmartPipelineBodyInStyle(s,r,n)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(t)})}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),r,n,e.rightAssociative?t-1:t)}parseHackPipeBody(e,t){const r=this.prodParam.hasYield;const n=r&&this.isContextual("yield");if(n){throw this.raise(this.state.start,T.PipeBodyIsTighter,this.state.value)}else{return this.parseExprOpBaseRightExpr(e,t)}}checkExponentialAfterUnary(e){if(this.match(u.exponent)){this.raise(e.argument.start,T.UnexpectedTokenUnaryExponentiation)}}parseMaybeUnary(e,t){const r=this.state.start;const n=this.state.startLoc;const s=this.isContextual("await");if(s&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r,n);if(!t)this.checkExponentialAfterUnary(e);return e}const i=this.match(u.incDec);const a=this.startNode();if(this.state.type.prefix){a.operator=this.state.value;a.prefix=true;if(this.match(u._throw)){this.expectPlugin("throwExpressions")}const r=this.match(u._delete);this.next();a.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&r){const e=a.argument;if(e.type==="Identifier"){this.raise(a.start,T.StrictDelete)}else if(this.hasPropertyAsPrivateName(e)){this.raise(a.start,T.DeletePrivateField)}}if(!i){if(!t)this.checkExponentialAfterUnary(a);return this.finishNode(a,"UnaryExpression")}}const o=this.parseUpdate(a,i,e);if(s){const e=this.hasPlugin("v8intrinsic")?this.state.type.startsExpr:this.state.type.startsExpr&&!this.match(u.modulo);if(e&&!this.isAmbiguousAwait()){this.raiseOverwrite(r,T.AwaitNotInAsyncContext);return this.parseAwait(r,n)}}return o}parseUpdate(e,t,r){if(t){this.checkLVal(e.argument,"prefix operation");return this.finishNode(e,"UpdateExpression")}const n=this.state.start;const s=this.state.startLoc;let i=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,false))return i;while(this.state.type.postfix&&!this.canInsertSemicolon()){const e=this.startNodeAt(n,s);e.operator=this.state.value;e.prefix=false;e.argument=i;this.checkLVal(i,"postfix operation");this.next();i=this.finishNode(e,"UpdateExpression")}return i}parseExprSubscripts(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const s=this.parseExprAtom(e);if(this.shouldExitDescending(s,n)){return s}return this.parseSubscripts(s,t,r)}parseSubscripts(e,t,r,n){const s={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,r,n,s);s.maybeAsyncArrow=false}while(!s.stop);return e}parseSubscript(e,t,r,n,s){if(!n&&this.eat(u.doubleColon)){return this.parseBind(e,t,r,n,s)}else if(this.match(u.backQuote)){return this.parseTaggedTemplateExpression(e,t,r,s)}let i=false;if(this.match(u.questionDot)){if(n&&this.lookaheadCharCode()===40){s.stop=true;return e}s.optionalChainMember=i=true;this.next()}if(!n&&this.match(u.parenL)){return this.parseCoverCallAndAsyncArrowHead(e,t,r,s,i)}else if(i||this.match(u.bracketL)||this.eat(u.dot)){return this.parseMember(e,t,r,s,i)}else{s.stop=true;return e}}parseMember(e,t,r,n,s){const i=this.startNodeAt(t,r);const a=this.eat(u.bracketL);i.object=e;i.computed=a;const o=!a&&this.match(u.privateName)&&this.state.value;const l=a?this.parseExpression():o?this.parsePrivateName():this.parseIdentifier(true);if(o!==false){if(i.object.type==="Super"){this.raise(t,T.SuperPrivateField)}this.classScope.usePrivateName(o,l.start)}i.property=l;if(a){this.expect(u.bracketR)}if(n.optionalChainMember){i.optional=s;return this.finishNode(i,"OptionalMemberExpression")}else{return this.finishNode(i,"MemberExpression")}}parseBind(e,t,r,n,s){const i=this.startNodeAt(t,r);i.object=e;i.callee=this.parseNoCallExpr();s.stop=true;return this.parseSubscripts(this.finishNode(i,"BindExpression"),t,r,n)}parseCoverCallAndAsyncArrowHead(e,t,r,n,s){const i=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,r);o.callee=e;if(n.maybeAsyncArrow){this.expressionScope.enter(newAsyncArrowScope());a=new ExpressionErrors}if(n.optionalChainMember){o.optional=s}if(s){o.arguments=this.parseCallExpressionArguments(u.parenR)}else{o.arguments=this.parseCallExpressionArguments(u.parenR,e.type==="Import",e.type!=="Super",o,a)}this.finishCallExpression(o,n.optionalChainMember);if(n.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!s){n.stop=true;this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),o)}else{if(n.maybeAsyncArrow){this.checkExpressionErrors(a,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=i;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,n){const s=this.startNodeAt(t,r);s.tag=e;s.quasi=this.parseTemplate(true);if(n.optionalChainMember){this.raise(t,T.OptionalChainingNoTemplate)}return this.finishNode(s,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(e.start,T.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument")}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(t.start,T.ImportCallSpreadArgument)}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,s){const i=[];let a=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(this.state.lastTokStart,T.ImportCallArgumentTrailingComma)}if(n){this.addExtra(n,"trailingComma",this.state.lastTokStart)}this.next();break}}i.push(this.parseExprListItem(false,s,r))}this.state.inFSharpPipelineDirectBody=o;return i}shouldParseAsyncArrow(){return this.match(u.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;this.resetPreviousNodeTrailingComments(t);this.expect(u.arrow);this.parseArrowExpression(e,t.arguments,true,(r=t.extra)==null?void 0:r.trailingComma);setInnerComments(e,t.innerComments);setInnerComments(e,t.callee.trailingComments);return e}parseNoCallExpr(){const e=this.state.start;const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,true)}parseExprAtom(e){let t;switch(this.state.type){case u._super:return this.parseSuper();case u._import:t=this.startNode();this.next();if(this.match(u.dot)){return this.parseImportMetaProperty(t)}if(!this.match(u.parenL)){this.raise(this.state.lastTokStart,T.UnsupportedImport)}return this.finishNode(t,"Import");case u._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case u.name:{if(this.isContextual("module")&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak()){return this.parseModuleExpression()}const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const r=this.parseIdentifier();if(!t&&r.name==="async"&&!this.canInsertSemicolon()){if(this.match(u._function)){this.resetPreviousNodeTrailingComments(r);this.next();return this.parseFunction(this.startNodeAtNode(r),undefined,true)}else if(this.match(u.name)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(r))}else{return r}}else if(this.match(u._do)){this.resetPreviousNodeTrailingComments(r);return this.parseDo(this.startNodeAtNode(r),true)}}if(e&&this.match(u.arrow)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(r),[r],false)}return r}case u._do:{return this.parseDo(this.startNode(),false)}case u.slash:case u.slashAssign:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case u.num:return this.parseNumericLiteral(this.state.value);case u.bigint:return this.parseBigIntLiteral(this.state.value);case u.decimal:return this.parseDecimalLiteral(this.state.value);case u.string:return this.parseStringLiteral(this.state.value);case u._null:return this.parseNullLiteral();case u._true:return this.parseBooleanLiteral(true);case u._false:return this.parseBooleanLiteral(false);case u.parenL:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case u.bracketBarL:case u.bracketHashL:{return this.parseArrayLike(this.state.type===u.bracketBarL?u.bracketBarR:u.bracketR,false,true,e)}case u.bracketL:{return this.parseArrayLike(u.bracketR,true,false,e)}case u.braceBarL:case u.braceHashL:{return this.parseObjectLike(this.state.type===u.braceBarL?u.braceBarR:u.braceR,false,true,e)}case u.braceL:{return this.parseObjectLike(u.braceR,false,false,e)}case u._function:return this.parseFunctionOrFunctionSent();case u.at:this.parseDecorators();case u._class:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case u._new:return this.parseNewOrNewTarget();case u.backQuote:return this.parseTemplate(false);case u.doubleColon:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(e.start,T.UnsupportedBind)}}case u.privateName:{const{value:e,start:r}=this.state;t=this.parsePrivateName();if(this.match(u._in)){this.classScope.usePrivateName(e,r)}else{this.raise(r,T.PrivateInExpectedIn,e)}return t}case u.moduloAssign:if(this.getPluginOption("pipelineOperator","proposal")==="hack"&&this.getPluginOption("pipelineOperator","topicToken")==="%"){this.state.value="%";this.state.type=u.modulo;this.state.pos--;this.state.end--;this.state.endLoc.column--}else{throw this.unexpected()}case u.modulo:case u.hash:{const e=this.getPluginOption("pipelineOperator","proposal");if(e){t=this.startNode();const r=this.state.start;const n=this.state.type;this.next();return this.finishTopicReference(t,r,e,n)}}case u.relational:{if(this.state.value==="<"){const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}}}default:throw this.unexpected()}}finishTopicReference(e,t,r,n){if(this.testTopicReferenceConfiguration(r,t,n)){let n;if(r==="smart"){n="PipelinePrimaryTopicReference"}else{n="TopicReference"}if(!this.topicReferenceIsAllowedInCurrentContext()){if(r==="smart"){this.raise(t,T.PrimaryTopicNotAllowed)}else{this.raise(t,T.PipeTopicUnbound)}}this.registerTopicReference();return this.finishNode(e,n)}else{throw this.raise(t,T.PipeTopicUnconfiguredToken,n.label)}}testTopicReferenceConfiguration(e,t,r){switch(e){case"hack":{const e=this.getPluginOption("pipelineOperator","topicToken");return r.label===e}case"smart":return r===u.hash;default:throw this.raise(t,T.PipeTopicRequiresHackPipes)}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const t=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(this.state.pos,T.LineTerminatorBeforeArrow)}this.expect(u.arrow);this.parseArrowExpression(e,t,true);return e}parseDo(e,t){this.expectPlugin("doExpressions");if(t){this.expectPlugin("asyncDoExpressions")}e.async=t;this.next();const r=this.state.labels;this.state.labels=[];if(t){this.prodParam.enter(Ne);e.body=this.parseBlock();this.prodParam.exit()}else{e.body=this.parseBlock()}this.state.labels=r;return this.finishNode(e,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(u.parenL)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,T.SuperNotAllowed)}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,T.UnexpectedSuper)}if(!this.match(u.parenL)&&!this.match(u.bracketL)&&!this.match(u.dot)){this.raise(e.start,T.UnsupportedSuper)}return this.finishNode(e,"Super")}parseMaybePrivateName(e){const t=this.match(u.privateName);if(t){if(!e){this.raise(this.state.start+1,T.UnexpectedPrivateField)}return this.parsePrivateName()}else{return this.parseIdentifier(true)}}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(this.state.start+1,new Position(this.state.curLine,this.state.start+1-this.state.lineStart));const r=this.state.value;this.next();e.id=this.createIdentifier(t,r);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;if(t.name==="function"&&r==="sent"){if(this.isContextual(r)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}}const n=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==r||n){this.raise(e.property.start,T.UnsupportedMetaProperty,t.name,r)}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual("meta")){if(!this.inModule){this.raise(t.start,h.ImportMetaOutsideModule)}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){this.addExtra(r,"rawValue",e);this.addExtra(r,"raw",this.input.slice(r.start,this.state.end));r.value=e;this.next();return this.finishNode(r,t)}parseLiteral(e,t){const r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start;const r=this.state.startLoc;let n;this.next();this.expressionScope.enter(newArrowHeadScope());const s=this.state.maybeInArrowParameters;const i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const a=this.state.start;const o=this.state.startLoc;const l=[];const p=new ExpressionErrors;let f=true;let c;let d;while(!this.match(u.parenR)){if(f){f=false}else{this.expect(u.comma,p.optionalParameters===-1?null:p.optionalParameters);if(this.match(u.parenR)){d=this.state.start;break}}if(this.match(u.ellipsis)){const e=this.state.start;const t=this.state.startLoc;c=this.state.start;l.push(this.parseParenItem(this.parseRestBinding(),e,t));this.checkCommaAfterRest(41);break}else{l.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem))}}const y=this.state.lastTokEnd;const m=this.state.lastTokEndLoc;this.expect(u.parenR);this.state.maybeInArrowParameters=s;this.state.inFSharpPipelineDirectBody=i;let T=this.startNodeAt(t,r);if(e&&this.shouldParseArrow(l)&&(T=this.parseArrow(T))){this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(T,l,false);return T}this.expressionScope.exit();if(!l.length){this.unexpected(this.state.lastTokStart)}if(d)this.unexpected(d);if(c)this.unexpected(c);this.checkExpressionErrors(p,true);this.toReferencedListDeep(l,true);if(l.length>1){n=this.startNodeAt(a,o);n.expressions=l;this.finishNode(n,"SequenceExpression");n.end=y;n.loc.end=m}else{n=l[0]}if(!this.options.createParenthesizedExpressions){this.addExtra(n,"parenthesized",true);this.addExtra(n,"parenStart",t);return n}const h=this.startNodeAt(t,r);h.expression=n;this.finishNode(h,"ParenthesizedExpression");return h}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(u.arrow)){return e}}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){this.raise(r.start,T.UnexpectedNewTarget)}return r}return this.parseNew(e)}parseNew(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(e.callee.start,T.ImportCallNotNewExpression)}else if(this.isOptionalChain(e.callee)){this.raise(this.state.lastTokEnd,T.OptionalChainingNoNew)}else if(this.eat(u.questionDot)){this.raise(this.state.start,T.OptionalChainingNoNew)}this.parseNewArguments(e);return this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(u.parenL)){const t=this.parseExprList(u.parenR);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}}parseTemplateElement(e){const t=this.startNode();if(this.state.value===null){if(!e){this.raise(this.state.start+1,T.InvalidEscapeSequenceTemplate)}}t.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,"\n"),cooked:this.state.value};this.next();t.tail=this.match(u.backQuote);return this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next();t.expressions=[];let r=this.parseTemplateElement(e);t.quasis=[r];while(!r.tail){this.expect(u.dollarBraceL);t.expressions.push(this.parseTemplateSubstitution());this.expect(u.braceR);t.quasis.push(r=this.parseTemplateElement(e))}this.next();return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const i=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}}const s=this.parsePropertyDefinition(t,n);if(!t){this.checkProto(s,r,i,n)}if(r&&!this.isObjectProperty(s)&&s.type!=="SpreadElement"){this.raise(s.start,T.InvalidRecordProperty)}if(s.shorthand){this.addExtra(s,"shorthand",true)}o.properties.push(s)}this.next();this.state.inFSharpPipelineDirectBody=s;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(r){l="RecordExpression"}return this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(u.bracketL)||this.match(u.star))}parsePropertyDefinition(e,t){let r=[];if(this.match(u.at)){if(this.hasPlugin("decorators")){this.raise(this.state.start,T.UnsupportedPropertyDecorator)}while(this.match(u.at)){r.push(this.parseDecorator())}}const n=this.startNode();let s=false;let i=false;let a=false;let o;let l;if(this.match(u.ellipsis)){if(r.length)this.unexpected();if(e){this.next();n.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(n,"RestElement")}return this.parseSpread()}if(r.length){n.decorators=r;r=[]}n.method=false;if(e||t){o=this.state.start;l=this.state.startLoc}if(!e){s=this.eat(u.star)}const p=this.state.containsEsc;const f=this.parsePropertyName(n,false);if(!e&&!s&&!p&&this.maybeAsyncOrAccessorProp(n)){const e=f.name;if(e==="async"&&!this.hasPrecedingLineBreak()){i=true;this.resetPreviousNodeTrailingComments(f);s=this.eat(u.star);this.parsePropertyName(n,false)}if(e==="get"||e==="set"){a=true;this.resetPreviousNodeTrailingComments(f);n.kind=e;if(this.match(u.star)){s=true;this.raise(this.state.pos,T.AccessorIsGenerator,e);this.next()}this.parsePropertyName(n,false)}}this.parseObjPropValue(n,o,l,s,i,e,a,t);return n}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e);const n=this.getObjectOrClassMethodParams(e);const s=e.start;if(n.length!==r){if(e.kind==="get"){this.raise(s,T.BadGetterArity)}else{this.raise(s,T.BadSetterArity)}}if(e.kind==="set"&&((t=n[n.length-1])==null?void 0:t.type)==="RestElement"){this.raise(s,T.BadSetterRestParameter)}}parseObjectMethod(e,t,r,n,s){if(s){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(r||t||this.match(u.parenL)){if(n)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,r,false,false,"ObjectMethod")}}parseObjectProperty(e,t,r,n,s){e.shorthand=false;if(this.eat(u.colon)){e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(s);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.start,true,false);if(n){e.value=this.parseMaybeDefault(t,r,cloneIdentifier(e.key))}else if(this.match(u.eq)&&s){if(s.shorthandAssign===-1){s.shorthandAssign=this.state.start}e.value=this.parseMaybeDefault(t,r,cloneIdentifier(e.key))}else{e.value=cloneIdentifier(e.key)}e.shorthand=true;return this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,r,n,s,i,a,o){const l=this.parseObjectMethod(e,n,s,i,a)||this.parseObjectProperty(e,t,r,i,o);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(u.bracketL)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(u.bracketR)}else{const r=this.state.inPropertyName;this.state.inPropertyName=true;const n=this.state.type;e.key=n===u.num||n===u.string||n===u.bigint||n===u.decimal?this.parseExprAtom():this.parseMaybePrivateName(t);if(n!==u.privateName){e.computed=false}this.state.inPropertyName=r}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,r,n,s,i,a=false){this.initFunction(e,r);e.generator=!!t;const o=n;this.scope.enter(L|F|(a?k:0)|(s?B:0));this.prodParam.enter(functionFlags(r,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,i,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const i=this.startNode();this.next();i.elements=this.parseExprList(e,!r,n,i);this.state.inFSharpPipelineDirectBody=s;return this.finishNode(i,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(L|_);let s=functionFlags(r,false);if(!this.match(u.bracketL)&&this.prodParam.hasIn){s|=Le}this.prodParam.enter(s);this.initFunction(e,r);const i=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,n)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=i;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){e.params=this.toAssignableList(t,r,false)}parseFunctionBodyAndFinish(e,t,r=false){this.parseFunctionBody(e,false,r);this.finishNode(e,t)}parseFunctionBody(e,t,r=false){const n=t&&!this.match(u.braceL);this.expressionScope.enter(newExpressionScope());if(n){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const n=this.state.strict;const s=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|Ce);e.body=this.parseBlock(true,false,s=>{const i=!this.isSimpleParamList(e.params);if(s&&i){const t=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(t,T.IllegalLanguageModeDirective)}const a=!n&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!r&&!i,t,a);if(this.state.strict&&e.id){this.checkLVal(e.id,"function name",le,undefined,undefined,a)}});this.prodParam.exit();this.expressionScope.exit();this.state.labels=s}}isSimpleParamList(e){for(let t=0,r=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(t,T.YieldBindingIdentifier);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(t,T.AwaitBindingIdentifier);return}else if(this.scope.inStaticBlock){this.raise(t,T.AwaitBindingIdentifierInStaticBlock);return}else{this.expressionScope.recordAsyncArrowParametersError(t,T.AwaitBindingIdentifier)}}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(t,T.ArgumentsInClass);return}}if(r&&isKeyword(e)){this.raise(t,T.UnexpectedKeyword,e);return}const s=!this.state.strict?isReservedWord:n?isStrictBindReservedWord:isStrictReservedWord;if(s(e,this.inModule)){this.raise(t,T.UnexpectedReservedWord,e)}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e,t){const r=this.startNodeAt(e,t);this.expressionScope.recordParameterInitializerError(r.start,T.AwaitExpressionFormalParameter);if(this.eat(u.star)){this.raise(r.start,T.ObsoleteAwaitStar)}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){r.argument=this.parseMaybeUnary(null,true)}return this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(u.plusMin)||this.match(u.parenL)||this.match(u.bracketL)||this.match(u.backQuote)||this.match(u.regexp)||this.match(u.slash)||this.hasPlugin("v8intrinsic")&&this.match(u.modulo)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,T.YieldInParameter);this.next();let t=false;let r=null;if(!this.hasPrecedingLineBreak()){t=this.eat(u.star);switch(this.state.type){case u.semi:case u.eof:case u.braceR:case u.parenR:case u.bracketR:case u.braceBarR:case u.colon:case u.comma:if(!t)break;default:r=this.parseMaybeAssign()}}e.delegate=t;e.argument=r;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.getPluginOption("pipelineOperator","proposal")==="smart"){if(e.type==="SequenceExpression"){this.raise(t,T.PipelineHeadSequenceExpression)}}}checkHackPipeBodyEarlyErrors(e){if(this.match(u.arrow)){throw this.raise(this.state.start,T.PipeBodyIsTighter,u.arrow.label)}else if(!this.topicReferenceWasUsedInCurrentContext()){this.raise(e,T.PipeTopicUnused)}}parseSmartPipelineBodyInStyle(e,t,r){const n=this.startNodeAt(t,r);if(this.isSimpleReference(e)){n.callee=e;return this.finishNode(n,"PipelineBareFunction")}else{this.checkSmartPipeTopicBodyEarlyErrors(t);n.expression=e;return this.finishNode(n,"PipelineTopicExpression")}}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(u.arrow)){throw this.raise(this.state.start,T.PipelineBodyNoArrow)}else if(!this.topicReferenceWasUsedInCurrentContext()){this.raise(e,T.PipelineTopicUnused)}}withTopicBindingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(e){const t=this.getPluginOption("pipelineOperator","proposal");if(t==="smart"){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}else{return e()}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const r=Le&~t;if(r){this.prodParam.enter(t|Le);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const r=Le&t;if(r){this.prodParam.enter(t&~Le);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const s=this.parseExprOp(this.parseMaybeUnary(),t,r,e);this.state.inFSharpPipelineDirectBody=n;return s}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(u.braceL);const t=this.initializeScopes(true);this.enterInitialScopes();const r=this.startNode();try{e.body=this.parseProgram(r,u.braceR,"module")}finally{t()}this.eat(u.braceR);return this.finishNode(e,"ModuleExpression")}}const nt={kind:"loop"},st={kind:"switch"};const it=0,at=1,ot=2,lt=4;const ut=/[\uD800-\uDFFF]/u;const pt=/in(?:stanceof)?/y;function babel7CompatTokens(e){{for(let t=0;t0){for(const[e]of Array.from(this.scope.undefinedExports)){const t=this.scope.undefinedExports.get(e);this.raise(t,T.ModuleExportUndefined,e)}}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e;t.type="Directive";t.value=t.expression;delete t.expression;const r=t.value;const n=this.input.slice(r.start,r.end);const s=r.value=n.slice(1,-1);this.addExtra(r,"raw",n);this.addExtra(r,"rawValue",s);r.type="DirectiveLiteral";return t}parseInterpreterDirective(){if(!this.match(u.interpreterDirective)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual("let")){return false}return this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart();const r=this.codePointAtPos(t);if(r===92||r===91){return true}if(e)return false;if(r===123)return true;if(isIdentifierStart(r)){pt.lastIndex=t;if(pt.test(this.input)){const e=this.codePointAtPos(pt.lastIndex);if(!isIdentifierChar(e)&&e!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(u.at)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type;const n=this.startNode();let s;if(this.isLet(e)){r=u._var;s="let"}switch(r){case u._break:case u._continue:return this.parseBreakContinueStatement(n,r.keyword);case u._debugger:return this.parseDebuggerStatement(n);case u._do:return this.parseDoStatement(n);case u._for:return this.parseForStatement(n);case u._function:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(this.state.start,T.StrictFunction)}else if(e!=="if"&&e!=="label"){this.raise(this.state.start,T.SloppyFunction)}}return this.parseFunctionStatement(n,false,!e);case u._class:if(e)this.unexpected();return this.parseClass(n,true);case u._if:return this.parseIfStatement(n);case u._return:return this.parseReturnStatement(n);case u._switch:return this.parseSwitchStatement(n);case u._throw:return this.parseThrowStatement(n);case u._try:return this.parseTryStatement(n);case u._const:case u._var:s=s||this.state.value;if(e&&s!=="var"){this.raise(this.state.start,T.UnexpectedLexicalDeclaration)}return this.parseVarStatement(n,s);case u._while:return this.parseWhileStatement(n);case u._with:return this.parseWithStatement(n);case u.braceL:return this.parseBlock();case u.semi:return this.parseEmptyStatement(n);case u._import:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case u._export:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(this.state.start,T.UnexpectedImportExport)}this.next();let e;if(r===u._import){e=this.parseImport(n);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(n);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(n);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(this.state.start,T.AsyncFunctionInSingleStatementContext)}this.next();return this.parseFunctionStatement(n,true,!e)}}}const i=this.state.value;const a=this.parseExpression();if(r===u.name&&a.type==="Identifier"&&this.eat(u.colon)){return this.parseLabeledStatement(n,i,a,e)}else{return this.parseExpressionStatement(n,a)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(e.start,h.ImportOutsideModule)}}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];if(t.length){e.decorators=t;this.resetStartLocationFromNode(e,t[0]);this.state.decoratorStack[this.state.decoratorStack.length-1]=[]}}canHaveLeadingDecorator(){return this.match(u._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(u.at)){const e=this.parseDecorator();t.push(e)}if(this.match(u._export)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,T.DecoratorExportClass)}}else if(!this.canHaveLeadingDecorator()){throw this.raise(this.state.start,T.UnexpectedLeadingDecorator)}}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start;const r=this.state.startLoc;let n;if(this.eat(u.parenL)){n=this.parseExpression();this.expect(u.parenR)}else{n=this.parseIdentifier(false);while(this.eat(u.dot)){const e=this.startNodeAt(t,r);e.object=n;e.property=this.parseIdentifier(true);e.computed=false;n=this.finishNode(e,"MemberExpression")}}e.expression=this.parseMaybeDecoratorArguments(n);this.state.decoratorStack.pop()}else{e.expression=this.parseExprSubscripts()}return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(u.parenL)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(u.parenR,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){const r=t==="break";this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,r?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){const r=t==="break";let n;for(n=0;nthis.parseStatement("do"));this.state.labels.pop();this.expect(u._while);e.test=this.parseHeaderExpression();this.eat(u.semi);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(nt);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual("await")){t=this.state.lastTokStart}this.scope.enter(N);this.expect(u.parenL);if(this.match(u.semi)){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}const r=this.isContextual("let");const n=r&&this.isLetKeyword();if(this.match(u._var)||this.match(u._const)||n){const r=this.startNode();const s=n?"let":this.state.value;this.next();this.parseVar(r,true,s);this.finishNode(r,"VariableDeclaration");if((this.match(u._in)||this.isContextual("of"))&&r.declarations.length===1){return this.parseForIn(e,r,t)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)}const s=this.match(u.name)&&!this.state.containsEsc;const i=new ExpressionErrors;const a=this.parseExpression(true,i);const o=this.isContextual("of");if(o){if(r){this.raise(a.start,T.ForOfLet)}else if(t===-1&&s&&a.type==="Identifier"&&a.name==="async"){this.raise(a.start,T.ForOfAsync)}}if(o||this.match(u._in)){this.toAssignable(a,true);const r=o?"for-of statement":"for-in statement";this.checkLVal(a,r);return this.parseForIn(e,a,t)}else{this.checkExpressionErrors(i,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)}parseFunctionStatement(e,t,r){this.next();return this.parseFunction(e,at|(r?0:ot),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(u._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(this.state.start,T.IllegalReturn)}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(u.braceL);this.state.labels.push(st);this.scope.enter(N);let r;for(let e;!this.match(u.braceR);){if(this.match(u._case)||this.match(u._default)){const n=this.match(u._case);if(r)this.finishNode(r,"SwitchCase");t.push(r=this.startNode());r.consequent=[];this.next();if(n){r.test=this.parseExpression()}else{if(e){this.raise(this.state.lastTokStart,T.MultipleDefaultsInSwitch)}e=true;r.test=null}this.expect(u.colon)}else{if(r){r.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(r)this.finishNode(r,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(this.state.lastTokEnd,T.NewlineAfterThrow)}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?M:0);this.checkLVal(e,"catch clause",ee);return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(u._catch)){const t=this.startNode();this.next();if(this.match(u.parenL)){this.expect(u.parenL);t.param=this.parseCatchClauseParam();this.expect(u.parenR)}else{t.param=null;this.scope.enter(N)}t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(false,false));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(u._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,T.NoCatchOrFinally)}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(nt);e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("while"));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(this.state.start,T.StrictWith)}this.next();e.object=this.parseHeaderExpression();e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("with"));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(const e of this.state.labels){if(e.name===t){this.raise(r.start,T.LabelRedeclaration,t)}}const s=this.state.type.isLoop?"loop":this.match(u._switch)?"switch":null;for(let t=this.state.labels.length-1;t>=0;t--){const r=this.state.labels[t];if(r.statementStart===e.start){r.statementStart=this.state.start;r.kind=s}else{break}}this.state.labels.push({name:t,kind:s,statementStart:this.state.start});e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label");this.state.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,r){const n=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(u.braceL);if(t){this.scope.enter(N)}this.parseBlockBody(n,e,false,u.braceR,r);if(t){this.scope.exit()}return this.finishNode(n,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,s){const i=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(i,t?a:undefined,r,n,s)}parseBlockOrModuleBlockBody(e,t,r,n,s){const i=this.state.strict;let a=false;let o=false;while(!this.match(n)){const n=this.parseStatement(null,r);if(t&&!o){if(this.isValidDirective(n)){const e=this.stmtToDirective(n);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(n)}if(s){s.call(this,a)}if(!i){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(u.semi)?null:this.parseExpression();this.semicolon(false);e.update=this.match(u.parenR)?null:this.parseExpression();this.expect(u.parenR);e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const n=this.match(u._in);this.next();if(n){if(r>-1)this.unexpected(r)}else{e.await=r>-1}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,T.ForInOfLoopInitializer,n?"for-in":"for-of")}else if(t.type==="AssignmentPattern"){this.raise(t.start,T.InvalidLhs,"for-loop")}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(u.parenR);e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){const n=e.declarations=[];const s=this.hasPlugin("typescript");e.kind=r;for(;;){const e=this.startNode();this.parseVarId(e,r);if(this.eat(u.eq)){e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn()}else{if(r==="const"&&!(this.match(u._in)||this.isContextual("of"))){if(!s){this.raise(this.state.lastTokEnd,T.DeclarationMissingInitializer,"Const declarations")}}else if(e.id.type!=="Identifier"&&!(t&&(this.match(u._in)||this.isContextual("of")))){this.raise(this.state.lastTokEnd,T.DeclarationMissingInitializer,"Complex binding patterns")}e.init=null}n.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(u.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,"variable declaration",t==="var"?te:ee,undefined,t!=="var")}parseFunction(e,t=it,r=false){const n=t&at;const s=t&ot;const i=!!n&&!(t<);this.initFunction(e,r);if(this.match(u.star)&&s){this.raise(this.state.start,T.GeneratorInSingleStatementContext)}e.generator=this.eat(u.star);if(n){e.id=this.parseFunctionId(i)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(L);this.prodParam.enter(functionFlags(r,e.generator));if(!n){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")});this.prodParam.exit();this.scope.exit();if(n&&!s){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||this.match(u.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(u.parenL);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(u.parenR,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?te:ee:re,e.id.start)}parseClass(e,t,r){this.next();this.takeDecorators(e);const n=this.state.strict;this.state.strict=true;this.parseClassId(e,t,r);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,n);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(u.eq)||this.match(u.semi)||this.match(u.braceR)}isClassMethod(){return this.match(u.parenL)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const r={hadConstructor:false,hadSuperClass:e};let n=[];const s=this.startNode();s.body=[];this.expect(u.braceL);this.withSmartMixTopicForbiddingContext(()=>{while(!this.match(u.braceR)){if(this.eat(u.semi)){if(n.length>0){throw this.raise(this.state.lastTokEnd,T.DecoratorSemicolon)}continue}if(this.match(u.at)){n.push(this.parseDecorator());continue}const e=this.startNode();if(n.length){e.decorators=n;this.resetStartLocationFromNode(e,n[0]);n=[]}this.parseClassMember(s,e,r);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(e.start,T.DecoratorConstructor)}}});this.state.strict=t;this.next();if(n.length){throw this.raise(this.state.start,T.TrailingDecorator)}this.classScope.exit();return this.finishNode(s,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(true);if(this.isClassMethod()){const n=t;n.kind="method";n.computed=false;n.key=r;n.static=false;this.pushClassMethod(e,n,false,false,false,false);return true}else if(this.isClassProperty()){const n=t;n.computed=false;n.key=r;n.static=false;e.body.push(this.parseClassProperty(n));return true}this.resetPreviousNodeTrailingComments(r);return false}parseClassMember(e,t,r){const n=this.isContextual("static");if(n){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(u.braceL)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){const s=t;const i=t;const a=t;const o=t;const l=s;const p=s;t.static=n;if(this.eat(u.star)){l.kind="method";const t=this.match(u.privateName);this.parseClassElementName(l);if(t){this.pushClassPrivateMethod(e,i,true,false);return}if(this.isNonstaticConstructor(s)){this.raise(s.key.start,T.ConstructorIsGenerator)}this.pushClassMethod(e,s,true,false,false,false);return}const f=this.match(u.name)&&!this.state.containsEsc;const c=this.match(u.privateName);const d=this.parseClassElementName(t);const y=this.state.start;this.parsePostMemberNameModifiers(p);if(this.isClassMethod()){l.kind="method";if(c){this.pushClassPrivateMethod(e,i,false,false);return}const n=this.isNonstaticConstructor(s);let a=false;if(n){s.kind="constructor";if(r.hadConstructor&&!this.hasPlugin("typescript")){this.raise(d.start,T.DuplicateConstructor)}if(n&&this.hasPlugin("typescript")&&t.override){this.raise(d.start,T.OverrideOnConstructor)}r.hadConstructor=true;a=r.hadSuperClass}this.pushClassMethod(e,s,false,false,n,a)}else if(this.isClassProperty()){if(c){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(f&&d.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(d);const t=this.eat(u.star);if(p.optional){this.unexpected(y)}l.kind="method";const r=this.match(u.privateName);this.parseClassElementName(l);this.parsePostMemberNameModifiers(p);if(r){this.pushClassPrivateMethod(e,i,t,true)}else{if(this.isNonstaticConstructor(s)){this.raise(s.key.start,T.ConstructorIsAsync)}this.pushClassMethod(e,s,t,true,false,false)}}else if(f&&(d.name==="get"||d.name==="set")&&!(this.match(u.star)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(d);l.kind=d.name;const t=this.match(u.privateName);this.parseClassElementName(s);if(t){this.pushClassPrivateMethod(e,i,false,false)}else{if(this.isNonstaticConstructor(s)){this.raise(s.key.start,T.ConstructorIsAccessor)}this.pushClassMethod(e,s,false,false,false,false)}this.checkGetterSetterParams(s)}else if(this.isLineTerminator()){if(c){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:r,start:n}=this.state;if((t===u.name||t===u.string)&&e.static&&r==="prototype"){this.raise(n,T.StaticPrototype)}if(t===u.privateName&&r==="constructor"){this.raise(n,T.ConstructorClassPrivateField)}return this.parsePropertyName(e,true)}parseClassStaticBlock(e,t){var r;this.expectPlugin("classStaticBlock",t.start);this.scope.enter(k|R|F);const n=this.state.labels;this.state.labels=[];this.prodParam.enter(we);const s=t.body=[];this.parseBlockOrModuleBlockBody(s,undefined,false,u.braceR);this.prodParam.exit();this.scope.exit();this.state.labels=n;e.body.push(this.finishNode(t,"StaticBlock"));if((r=t.decorators)!=null&&r.length){this.raise(t.start,T.DecoratorStaticBlock)}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(t.key.start,T.ConstructorClassField)}e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const r=this.parseClassPrivateProperty(t);e.body.push(r);this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),Ee,r.key.start)}pushClassMethod(e,t,r,n,s,i){e.body.push(this.parseMethod(t,r,n,s,i,"ClassMethod",true))}pushClassPrivateMethod(e,t,r,n){const s=this.parseMethod(t,r,n,false,false,"ClassPrivateMethod",true);e.body.push(s);const i=s.kind==="get"?s.static?Te:Se:s.kind==="set"?s.static?he:be:Ee;this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),i,s.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(k|F);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(we);e.value=this.eat(u.eq)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,r,n=Z){if(this.match(u.name)){e.id=this.parseIdentifier();if(t){this.checkLVal(e.id,"class name",n)}}else{if(r||!t){e.id=null}else{this.unexpected(null,T.MissingClassName)}}}parseClassSuper(e){e.superClass=this.eat(u._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.eatExportStar(e);const s=n&&this.maybeParseExportNamespaceSpecifier(e);const i=r&&(!s||this.eat(u.comma));const a=t||n;if(n&&!s){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!n&&!o||s&&i&&!o){throw this.unexpected(null,u.braceL)}let l;if(a||o){l=false;this.parseExportFrom(e,a)}else{l=this.maybeParseExportDeclaration(e)}if(a||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(u._default)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,u.braceL)}eatExportStar(e){return this.eat(u.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(u.braceL)){if(!e.specifiers)e.specifiers=[];e.specifiers.push(...this.parseExportSpecifiers());e.source=null;e.declaration=null;return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual("async"))return false;const e=this.nextTokenStart();return!p.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(u._function)||t){this.next();if(t){this.next()}return this.parseFunction(e,at|lt,t)}else if(this.match(u._class)){return this.parseClass(e,true,true)}else if(this.match(u.at)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,T.DecoratorBeforeExport)}this.parseDecorators(false);return this.parseClass(e,true,true)}else if(this.match(u._const)||this.match(u._var)||this.isLet()){throw this.raise(this.state.start,T.UnsupportedDefaultExport)}else{const e=this.parseMaybeAssignAllowIn();this.semicolon();return e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(u.name)){const e=this.state.value;if(e==="async"&&!this.state.containsEsc||e==="let"){return false}if((e==="type"||e==="interface")&&!this.state.containsEsc){const e=this.lookahead();if(e.type===u.name&&e.value!=="from"||e.type===u.braceL){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(u._default)){return false}const e=this.nextTokenStart();const t=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||this.match(u.name)&&t){return true}if(this.match(u._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return t===34||t===39}return false}parseExportFrom(e,t){if(this.eatContextual("from")){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else{if(t){this.unexpected()}else{e.source=null}}this.semicolon()}shouldParseExportDeclaration(){if(this.match(u.at)){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){this.unexpected(this.state.start,T.DecoratorBeforeExport)}else{return true}}}return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t){if(r){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var s;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((s=t.extra)!=null&&s.parenthesized)){this.raise(t.start,T.ExportDefaultFromAsIdentifier)}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const r=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,r);if(!n&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(t.start,T.ExportBindingIsString,e.value,r)}else{this.checkReservedWord(e.name,e.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}const i=this.state.decoratorStack[this.state.decoratorStack.length-1];if(i.length){throw this.raise(e.start,T.UnsupportedDecoratorExport)}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){this.raise(e.start,t==="default"?T.DuplicateDefaultExport:T.DuplicateExport,t)}this.exportedIdentifiers.add(t)}parseExportSpecifiers(){const e=[];let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{this.expect(u.comma);if(this.eat(u.braceR))break}const r=this.startNode();const n=this.match(u.string);const s=this.parseModuleExportName();r.local=s;if(this.eatContextual("as")){r.exported=this.parseModuleExportName()}else if(n){r.exported=cloneStringLiteral(s)}else{r.exported=cloneIdentifier(s)}e.push(this.finishNode(r,"ExportSpecifier"))}return e}parseModuleExportName(){if(this.match(u.string)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(ut);if(t){this.raise(e.start,T.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16))}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(u.string)){const t=this.maybeParseDefaultImportSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.maybeParseStarImportSpecifier(e);if(r&&!n)this.parseNamedImportSpecifiers(e);this.expectContextual("from")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(u.string))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(u.name)}parseImportSpecifierLocal(e,t,r,n){t.local=this.parseIdentifier();this.checkLVal(t.local,n,ee);e.specifiers.push(this.finishNode(t,r))}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(u.braceR)){break}const r=this.startNode();const n=this.state.value;if(t.has(n)){this.raise(this.state.start,T.ModuleAttributesWithDuplicateKeys,n)}t.add(n);if(this.match(u.string)){r.key=this.parseStringLiteral(n)}else{r.key=this.parseIdentifier(true)}this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,T.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseModuleAttributes(){if(this.match(u._with)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const r=this.startNode();r.key=this.parseIdentifier(true);if(r.key.name!=="type"){this.raise(r.key.start,T.ModuleAttributeDifferentFromType,r.key.name)}if(t.has(r.key.name)){this.raise(r.key.start,T.ModuleAttributesWithDuplicateKeys,r.key.name)}t.add(r.key.name);this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,T.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseImportAssertions(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(u.braceL);const e=this.parseAssertEntries();this.eat(u.braceR);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(u.star)){const t=this.startNode();this.next();this.expectContextual("as");this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{if(this.eat(u.colon)){throw this.raise(this.state.start,T.DestructureNamedImport)}this.expect(u.comma);if(this.eat(u.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();const r=this.match(u.string);t.imported=this.parseModuleExportName();if(this.eatContextual("as")){t.local=this.parseIdentifier()}else{const{imported:e}=t;if(r){throw this.raise(t.start,T.ImportBindingIsString,e.value)}this.checkReservedWord(e.name,t.start,true,true);t.local=cloneIdentifier(e)}this.checkLVal(t.local,"import specifier",ee);e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const r of e){const[e,n]=Array.isArray(r)?r:[r,{}];if(!t.has(e))t.set(e,n||{})}return t}function parse(e,t){var r;if(((r=t)==null?void 0:r.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const r=getParser(t,e);const n=r.parse();if(r.sawUnambiguousESM){return n}if(r.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{n.program.sourceType="script"}return n}catch(r){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw r}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const r=getParser(t,e);if(r.options.strictMode){r.state.strict=true}return r.getExpression()}function getParser(e,t){let r=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);r=getParserClass(e.plugins)}return new r(e,t)}const ft={};function getParserClass(e){const t=et.filter(t=>hasPlugin(e,t));const r=t.join("/");let n=ft[r];if(!n){n=Parser;for(const e of t){n=Ze[e](n)}ft[r]=n}return n}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=u},66932:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(49339);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},84210:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertClassProperty=assertClassProperty;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertPrivateName=assertPrivateName;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTopicReference=assertTopicReference;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertPrivate=assertPrivate;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(20761);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTopicReference(e,t){assert("TopicReference",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},84734:()=>{},59013:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(21309);var s=r(81261);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(97392);var s=r(75083);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},6239:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(97392);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},97392:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.classProperty=classProperty;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.privateName=privateName;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.topicReference=topicReference;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(59013);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function topicReference(){return(0,n.default)("TopicReference",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},75975:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TopicReference",{enumerable:true,get:function(){return n.topicReference}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(97392)},7964:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(97307);var s=r(96768);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(97392);var s=r(75387);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},6753:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(75320);function clone(e){return(0,n.default)(e,false)}},37775:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(75320);function cloneDeep(e){return(0,n.default)(e)}},58735:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(75320);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},75320:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(21309);var s=r(97307);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},90200:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(75320);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},12385:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(5350);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},5350:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},5428:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(58149);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},76125:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(58149);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},64431:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(58149);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},34359:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(64431);var s=r(76125);var i=r(5428);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},60049:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(2925);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},75237:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.PRIVATE_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(21309);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},2925:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},72149:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(78249);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},38541:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(63316);var s=r(97307);var i=r(97392);var a=r(75320);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},16148:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(24729);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},78249:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(97307);var s=r(97392);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},59771:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(97307);var s=r(97392);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},19733:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(97307);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},24729:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(69040);var s=r(91186);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},72019:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(97307);var s=r(75320);var i=r(66035);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},16754:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(38541);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},77625:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(97307);var s=r(97392);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},49945:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(69040);var s=r(97392);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},98710:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(20761);var s=r(69040);var i=r(91186);var a=r(2925);var o=r(25201);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("value"))}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi","typeParameters"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},c,{value:{validate:(0,o.assertNodeType)("Expression"),optional:true},definite:{validate:(0,o.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,o.assertValueType)("boolean"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},variance:{validate:(0,o.assertNodeType)("Variance"),optional:true}})});(0,o.default)("ClassPrivateProperty",{visitor:["key","value","decorators","typeAnnotation"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,o.assertNodeType)("PrivateName")},value:{validate:(0,o.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,o.assertValueType)("boolean"),optional:true},definite:{validate:(0,o.assertValueType)("boolean"),optional:true},variance:{validate:(0,o.assertNodeType)("Variance"),optional:true}}});(0,o.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},d,u,{key:{validate:(0,o.assertNodeType)("PrivateName")},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")}}})},47387:(e,t,r)=>{"use strict";var n=r(25201);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]});(0,n.default)("TopicReference",{aliases:["Expression"]});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]})},54254:(e,t,r)=>{"use strict";var n=r(25201);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},21309:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(98710);r(54254);r(86411);r(89586);r(47387);r(45238);var s=r(25201);var i=r(31162);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},86411:(e,t,r)=>{"use strict";var n=r(25201);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},89586:(e,t,r)=>{"use strict";var n=r(25201);var s=r(31162);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},31162:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(25201);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},45238:(e,t,r)=>{"use strict";var n=r(25201);var s=r(98710);var i=r(20761);const a=(0,n.assertValueType)("boolean");const o={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,n.assertValueType)("boolean"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,o)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,o)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const l={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const u={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:l};(0,n.default)("TSCallSignatureDeclaration",u);(0,n.default)("TSConstructSignatureDeclaration",u);const p={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(a),optional:(0,n.validateOptional)(a)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},p,{readonly:(0,n.validateOptional)(a),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression"),kind:{validate:(0,n.assertOneOf)("get","set")}})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},l,p,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(a),static:(0,n.validateOptional)(a),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const f=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of f){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const c={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},c,{fields:l}));(0,n.default)("TSConstructorType",Object.assign({},c,{fields:Object.assign({},l,{abstract:(0,n.validateOptional)(a)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(a)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:a,default:false},elementType:(0,n.validateType)("TSType")}});const d={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",d);(0,n.default)("TSIntersectionType",d);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(a),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(a),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){const e=(0,n.assertNodeType)("NumericLiteral","BigIntLiteral");const t=(0,n.assertOneOf)("-");const r=(0,n.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral");function validator(n,s,a){if((0,i.default)("UnaryExpression",a)){t(a,"operator",a.operator);e(a,"argument",a.argument)}else{r(n,s,a)}}validator.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","UnaryExpression"];return validator}()}}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(a),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(a),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(a),const:(0,n.validateOptional)(a),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(a),global:(0,n.validateOptional)(a),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(a),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"]),importKind:{validate:(0,n.assertOneOf)("type","value"),optional:true}}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},25201:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(20761);var s=r(81261);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},30315:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(36394);var i=r(22930);var a=r(7964);var o=r(66932);var l=r(84210);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(6239);var p=r(94194);var f=r(4511);var c=r(97392);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(75975);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(75320);var m=r(6753);var T=r(37775);var h=r(58735);var S=r(90200);var b=r(12385);var E=r(5350);var g=r(5428);var P=r(76125);var x=r(34359);var v=r(64431);var A=r(60049);var O=r(75237);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(2925);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(72149);var w=r(16148);var j=r(78249);var N=r(59771);var C=r(19733);var L=r(24729);var _=r(72019);var M=r(16754);var F=r(77625);var B=r(49945);var k=r(21309);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(26254);var K=r(24316);var V=r(48462);var X=r(82695);var Y=r(66035);var J=r(75083);var U=r(63316);var W=r(23174);var q=r(31582);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(44935);var G=r(95028);var $=r(20761);var H=r(74579);var Q=r(87306);var Z=r(86706);var ee=r(82811);var te=r(49339);var re=r(51114);var ne=r(17067);var se=r(20578);var ie=r(75119);var ae=r(35609);var oe=r(7095);var le=r(62894);var ue=r(69040);var pe=r(55063);var fe=r(63897);var ce=r(81261);var de=r(55730);var ye=r(97307);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(84734);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},26254:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(97392);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},75083:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(97307);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},24316:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(2925);var s=r(34359);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},48462:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(97392);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},82695:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(2925);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},66035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(44935);var s=r(82695);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},75387:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(97307);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},63316:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(97307);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(63316);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},31582:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(21309);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(21309);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},58149:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},96768:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(97392);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},55730:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(63897);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},97307:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isClassProperty=isClassProperty;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isPrivateName=isPrivateName;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTopicReference=isTopicReference;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isPrivate=isPrivate;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(95028);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="TopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TopicReference"===r||"PipelineTopicExpression"===r||"PipelineBareFunction"===r||"PipelinePrimaryTopicReference"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},20761:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(95028);var s=r(7095);var i=r(17067);var a=r(21309);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},74579:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(63316);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},87306:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(97307);var s=r(82811);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},86706:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(7095);var s=r(97307);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},82811:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(97307);var s=r(2925);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},49339:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(21309);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},51114:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(21309);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(21309);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},20578:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},75119:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(97307);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},35609:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(97307);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},7095:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(21309);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},62894:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(69040);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},69040:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(91186);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},55063:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(97307);var s=r(2925);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},63897:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(97307);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},36394:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(55730);const s=(0,n.default)("React.Component");var i=s;t.default=i},81261:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(21309);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},82565:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getExportSpecifierName=getExportSpecifierName;t.default=void 0;var n=r(32092);var s=r(28497);var i=r(85850);var a=r(42604);var o=r(29444);var l=r(8978);const u=(0,i.template)(`\n SYSTEM_REGISTER(MODULE_NAME, SOURCES, function (EXPORT_IDENTIFIER, CONTEXT_IDENTIFIER) {\n "use strict";\n BEFORE_BODY;\n return {\n setters: SETTERS,\n execute: EXECUTE,\n };\n });\n`);const p=(0,i.template)(`\n for (var KEY in TARGET) {\n if (KEY !== "default" && KEY !== "__esModule") EXPORT_OBJ[KEY] = TARGET[KEY];\n }\n`);const f=`WARNING: Dynamic import() transformation must be enabled using the\n @babel/plugin-proposal-dynamic-import plugin. Babel 8 will\n no longer transform import() without using that plugin.\n`;const c=null&&`ERROR: Dynamic import() transformation must be enabled using the\n @babel/plugin-proposal-dynamic-import plugin. Babel 8\n no longer transforms import() without using that plugin.\n`;function getExportSpecifierName(e,t){if(e.type==="Identifier"){return e.name}else if(e.type==="StringLiteral"){const r=e.value;if(!(0,l.isIdentifierName)(r)){t.add(r)}return r}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.type}`)}}function constructExportCall(e,t,r,n,s,a){const o=[];if(!s){if(r.length===1){o.push(i.types.expressionStatement(i.types.callExpression(t,[i.types.stringLiteral(r[0]),n[0]])))}else{const e=[];for(let t=0;t{e.assertVersion(7);const{systemGlobal:r="System",allowTopLevelThis:n=false}=t;const l=Symbol();const p={"AssignmentExpression|UpdateExpression"(e){if(e.node[l])return;e.node[l]=true;const t=e.get(e.isAssignmentExpression()?"left":"argument");if(t.isObjectPattern()||t.isArrayPattern()){const r=[e.node];for(const n of Object.keys(t.getBindingIdentifiers())){if(this.scope.getBinding(n)!==e.scope.getBinding(n)){return}const t=this.exports[n];if(!t)return;for(const e of t){r.push(this.buildCall(e,i.types.identifier(n)).expression)}}e.replaceWith(i.types.sequenceExpression(r));return}if(!t.isIdentifier())return;const r=t.node.name;if(this.scope.getBinding(r)!==e.scope.getBinding(r))return;const n=this.exports[r];if(!n)return;let s=e.node;const a=e.isUpdateExpression({prefix:false});if(a){s=i.types.binaryExpression(s.operator[0],i.types.unaryExpression("+",i.types.cloneNode(s.argument)),i.types.numericLiteral(1))}for(const e of n){s=this.buildCall(e,s).expression}if(a){s=i.types.sequenceExpression([s,e.node])}e.replaceWith(s)}};return{name:"transform-modules-systemjs",pre(){this.file.set("@babel/plugin-transform-modules-*","systemjs")},visitor:{CallExpression(e,t){if(i.types.isImport(e.node.callee)){if(!this.file.has("@babel/plugin-proposal-dynamic-import")){{console.warn(f)}}e.replaceWith(i.types.callExpression(i.types.memberExpression(i.types.identifier(t.contextIdent),i.types.identifier("import")),[(0,a.getImportSource)(i.types,e.node)]))}},MetaProperty(e,t){if(e.node.meta.name==="import"&&e.node.property.name==="meta"){e.replaceWith(i.types.memberExpression(i.types.identifier(t.contextIdent),i.types.identifier("meta")))}},ReferencedIdentifier(e,t){if(e.node.name==="__moduleName"&&!e.scope.hasBinding("__moduleName")){e.replaceWith(i.types.memberExpression(i.types.identifier(t.contextIdent),i.types.identifier("id")))}},Program:{enter(e,t){t.contextIdent=e.scope.generateUid("context");t.stringSpecifiers=new Set;if(!n){(0,o.rewriteThis)(e)}},exit(e,n){const a=e.scope;const l=a.generateUid("export");const{contextIdent:f,stringSpecifiers:c}=n;const d=Object.create(null);const y=[];let m=[];const T=[];const h=[];const S=[];const b=[];function addExportName(e,t){d[e]=d[e]||[];d[e].push(t)}function pushModule(e,t,r){let n;y.forEach(function(t){if(t.key===e){n=t}});if(!n){y.push(n={key:e,imports:[],exports:[]})}n[t]=n[t].concat(r)}function buildExportCall(e,t){return i.types.expressionStatement(i.types.callExpression(i.types.identifier(l),[i.types.stringLiteral(e),t]))}const E=[];const g=[];const P=e.get("body");for(const e of P){if(e.isFunctionDeclaration()){m.push(e.node);b.push(e)}else if(e.isClassDeclaration()){S.push(i.types.cloneNode(e.node.id));e.replaceWith(i.types.expressionStatement(i.types.assignmentExpression("=",i.types.cloneNode(e.node.id),i.types.toExpression(e.node))))}else if(e.isImportDeclaration()){const t=e.node.source.value;pushModule(t,"imports",e.node.specifiers);for(const t of Object.keys(e.getBindingIdentifiers())){a.removeBinding(t);S.push(i.types.identifier(t))}e.remove()}else if(e.isExportAllDeclaration()){pushModule(e.node.source.value,"exports",e.node);e.remove()}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");const r=t.node.id;if(t.isClassDeclaration()){if(r){E.push("default");g.push(a.buildUndefinedNode());S.push(i.types.cloneNode(r));addExportName(r.name,"default");e.replaceWith(i.types.expressionStatement(i.types.assignmentExpression("=",i.types.cloneNode(r),i.types.toExpression(t.node))))}else{E.push("default");g.push(i.types.toExpression(t.node));b.push(e)}}else if(t.isFunctionDeclaration()){if(r){m.push(t.node);E.push("default");g.push(i.types.cloneNode(r));addExportName(r.name,"default")}else{E.push("default");g.push(i.types.toExpression(t.node))}b.push(e)}else{e.replaceWith(buildExportCall("default",t.node))}}else if(e.isExportNamedDeclaration()){const t=e.get("declaration");if(t.node){e.replaceWith(t);if(e.isFunction()){const r=t.node;const n=r.id.name;addExportName(n,n);m.push(r);E.push(n);g.push(i.types.cloneNode(r.id));b.push(e)}else if(e.isClass()){const r=t.node.id.name;E.push(r);g.push(a.buildUndefinedNode());S.push(i.types.cloneNode(t.node.id));e.replaceWith(i.types.expressionStatement(i.types.assignmentExpression("=",i.types.cloneNode(t.node.id),i.types.toExpression(t.node))));addExportName(r,r)}else{for(const e of Object.keys(t.getBindingIdentifiers())){addExportName(e,e)}}}else{const t=e.node.specifiers;if(t!=null&&t.length){if(e.node.source){pushModule(e.node.source.value,"exports",t);e.remove()}else{const r=[];for(const e of t){const{local:t,exported:n}=e;const s=a.getBinding(t.name);const o=getExportSpecifierName(n,c);if(s&&i.types.isFunctionDeclaration(s.path.node)){E.push(o);g.push(i.types.cloneNode(t))}else if(!s){r.push(buildExportCall(o,t))}addExportName(t.name,o)}e.replaceWithMultiple(r)}}else{e.remove()}}}}y.forEach(function(t){let r=[];const n=a.generateUid(t.key);for(let e of t.imports){if(i.types.isImportNamespaceSpecifier(e)){r.push(i.types.expressionStatement(i.types.assignmentExpression("=",e.local,i.types.identifier(n))))}else if(i.types.isImportDefaultSpecifier(e)){e=i.types.importSpecifier(e.local,i.types.identifier("default"))}if(i.types.isImportSpecifier(e)){const{imported:t}=e;r.push(i.types.expressionStatement(i.types.assignmentExpression("=",e.local,i.types.memberExpression(i.types.identifier(n),e.imported,t.type==="StringLiteral"))))}}if(t.exports.length){const s=[];const a=[];let o=false;for(const e of t.exports){if(i.types.isExportAllDeclaration(e)){o=true}else if(i.types.isExportSpecifier(e)){const t=getExportSpecifierName(e.exported,c);s.push(t);a.push(i.types.memberExpression(i.types.identifier(n),e.local,i.types.isStringLiteral(e.local)))}else{}}r=r.concat(constructExportCall(e,i.types.identifier(l),s,a,o?i.types.identifier(n):null,c))}h.push(i.types.stringLiteral(t.key));T.push(i.types.functionExpression(null,[i.types.identifier(n)],i.types.blockStatement(r)))});let x=(0,o.getModuleName)(this.file.opts,t);if(x)x=i.types.stringLiteral(x);(0,s.default)(e,(e,t,r)=>{S.push(e);if(!r&&t in d){for(const e of d[t]){E.push(e);g.push(a.buildUndefinedNode())}}},null);if(S.length){m.unshift(i.types.variableDeclaration("var",S.map(e=>i.types.variableDeclarator(e))))}if(E.length){m=m.concat(constructExportCall(e,i.types.identifier(l),E,g,null,c))}e.traverse(p,{exports:d,buildCall:buildExportCall,scope:a});for(const e of b){e.remove()}let v=false;e.traverse({AwaitExpression(e){v=true;e.stop()},Function(e){e.skip()},noScope:true});e.node.body=[u({SYSTEM_REGISTER:i.types.memberExpression(i.types.identifier(r),i.types.identifier("register")),BEFORE_BODY:m,MODULE_NAME:x,SETTERS:i.types.arrayExpression(T),EXECUTE:i.types.functionExpression(null,[],i.types.blockStatement(e.node.body),false,v),SOURCES:i.types.arrayExpression(h),EXPORT_IDENTIFIER:i.types.identifier(l),CONTEXT_IDENTIFIER:i.types.identifier(f)})]}}}}});t.default=d},86996:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var s=r(61127);class ImportBuilder{constructor(e,t,r){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=r;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(s.importDeclaration([],s.stringLiteral(this._importedSource)));return this}require(){this._statements.push(s.expressionStatement(s.callExpression(s.identifier("require"),[s.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[s.importNamespaceSpecifier(t)];this._resultName=s.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];n(t.type==="ImportDeclaration");n(t.specifiers.length===0);t.specifiers=[s.importDefaultSpecifier(e)];this._resultName=s.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[s.importSpecifier(e,s.identifier(t))];this._resultName=s.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){n(this._resultName);t=s.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=s.variableDeclaration("var",[s.variableDeclarator(e,t.expression)]);this._resultName=s.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=s.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=s.callExpression(e,[t.declarations[0].init])}else{n.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=s.memberExpression(t.expression,s.identifier(e))}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=s.memberExpression(t.declarations[0].init,s.identifier(e))}else{n.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=s.memberExpression(this._resultName,s.identifier(e))}}t.default=ImportBuilder},3620:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var s=r(61127);var i=r(86996);var a=r(91997);class ImportInjector{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const n=e.find(e=>e.isProgram());this._programPath=n;this._programScope=n.scope;this._hub=n.hub;this._defaultOpts=this._applyDefaults(t,r,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){n(typeof e==="string");return this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,r=false){const s=[];if(typeof e==="string"){s.push({importedSource:e});s.push(t)}else{n(!t,"Unexpected secondary arguments.");s.push(e)}const i=Object.assign({},this._defaultOpts);for(const e of s){if(!e)continue;Object.keys(i).forEach(t=>{if(e[t]!==undefined)i[t]=e[t]});if(!r){if(e.nameHint!==undefined)i.nameHint=e.nameHint;if(e.blockHoist!==undefined)i.blockHoist=e.blockHoist}}return i}_generateImport(e,t){const r=t==="default";const n=!!t&&!r;const o=t===null;const{importedSource:l,importedType:u,importedInterop:p,importingInterop:f,ensureLiveReference:c,ensureNoContext:d,nameHint:y,importPosition:m,blockHoist:T}=e;let h=y||t;const S=(0,a.default)(this._programPath);const b=S&&f==="node";const E=S&&f==="babel";if(m==="after"&&!S){throw new Error(`"importPosition": "after" is only supported in modules`)}const g=new i.default(l,this._programScope,this._hub);if(u==="es6"){if(!b&&!E){throw new Error("Cannot import an ES6 module from CommonJS")}g.import();if(o){g.namespace(y||l)}else if(r||n){g.named(h,t)}}else if(u!=="commonjs"){throw new Error(`Unexpected interopType "${u}"`)}else if(p==="babel"){if(b){h=h!=="default"?h:l;const e=`${l}$es6Default`;g.import();if(o){g.default(e).var(h||l).wildcardInterop()}else if(r){if(c){g.default(e).var(h||l).defaultInterop().read("default")}else{g.default(e).var(h).defaultInterop().prop(t)}}else if(n){g.default(e).read(t)}}else if(E){g.import();if(o){g.namespace(h||l)}else if(r||n){g.named(h,t)}}else{g.require();if(o){g.var(h||l).wildcardInterop()}else if((r||n)&&c){if(r){h=h!=="default"?h:l;g.var(h).read(t);g.defaultInterop()}else{g.var(l).read(t)}}else if(r){g.var(h).defaultInterop().prop(t)}else if(n){g.var(h).prop(t)}}}else if(p==="compiled"){if(b){g.import();if(o){g.default(h||l)}else if(r||n){g.default(l).read(h)}}else if(E){g.import();if(o){g.namespace(h||l)}else if(r||n){g.named(h,t)}}else{g.require();if(o){g.var(h||l)}else if(r||n){if(c){g.var(l).read(h)}else{g.prop(t).var(h)}}}}else if(p==="uncompiled"){if(r&&c){throw new Error("No live reference for commonjs default")}if(b){g.import();if(o){g.default(h||l)}else if(r){g.default(h)}else if(n){g.default(l).read(h)}}else if(E){g.import();if(o){g.default(h||l)}else if(r){g.default(h)}else if(n){g.named(h,t)}}else{g.require();if(o){g.var(h||l)}else if(r){g.var(h)}else if(n){if(c){g.var(l).read(h)}else{g.var(h).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:P,resultName:x}=g.done();this._insertStatements(P,m,T);if((r||n)&&d&&x.type!=="Identifier"){return s.sequenceExpression([s.numericLiteral(0),x])}return x}_insertStatements(e,t="before",r=3){const n=this._programPath.get("body");if(t==="after"){for(let t=n.length-1;t>=0;t--){if(n[t].isImportDeclaration()){n[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=r});const t=n.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},68346:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return s.default}});var n=r(3620);var s=r(91997);function addDefault(e,t,r){return new n.default(e).addDefault(t,r)}function addNamed(e,t,r,s){return new n.default(e).addNamed(t,r,s)}function addNamespace(e,t,r){return new n.default(e).addNamespace(t,r)}function addSideEffect(e,t,r){return new n.default(e).addSideEffect(t,r)}},91997:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},12500:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getModuleName;{const e=getModuleName;t.default=getModuleName=function getModuleName(t,r){var n,s,i,a;return e(t,{moduleId:(n=r.moduleId)!=null?n:t.moduleId,moduleIds:(s=r.moduleIds)!=null?s:t.moduleIds,getModuleId:(i=r.getModuleId)!=null?i:t.getModuleId,moduleRoot:(a=r.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:r,filenameRelative:n=r,sourceRoot:s=t.moduleRoot}=e;const{moduleId:i,moduleIds:a=!!i,getModuleId:o,moduleRoot:l=s}=t;if(!a)return null;if(i!=null&&!o){return i}let u=l!=null?l+"/":"";if(n){const e=s!=null?new RegExp("^"+s+"/?"):"";u+=n.replace(e,"").replace(/\.(\w*?)$/,"")}u=u.replace(/\\/g,"/");if(o){return o(u)||u}else{return u}}},29444:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;t.ensureStatementsHoisted=ensureStatementsHoisted;t.wrapInterop=wrapInterop;t.buildNamespaceInitStatements=buildNamespaceInitStatements;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.isModule}});Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return u.hasExports}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return u.isSideEffectImport}});Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});var n=r(42357);var s=r(61127);var i=r(36900);var a=r(68346);var o=r(30567);var l=r(65316);var u=r(5706);var p=r(12500);function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:r,strict:i,allowTopLevelThis:p,strictMode:f,noInterop:c,importInterop:d=(c?"none":"babel"),lazy:y,esNamespaceOnly:m,constantReexports:T=t,enumerableModuleMeta:h=t}){(0,u.validateImportInteropOption)(d);n((0,a.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const S=(0,u.default)(e,r,{importInterop:d,initializeReexports:T,lazy:y,esNamespaceOnly:m});if(!p){(0,o.default)(e)}(0,l.default)(e,S);if(f!==false){const t=e.node.directives.some(e=>{return e.value.value==="use strict"});if(!t){e.unshiftContainer("directives",s.directive(s.directiveLiteral("use strict")))}}const b=[];if((0,u.hasExports)(S)&&!i){b.push(buildESModuleHeader(S,h))}const E=buildExportNameListDeclaration(e,S);if(E){S.exportNameListName=E.name;b.push(E.statement)}b.push(...buildExportInitializationStatements(e,S,T));return{meta:S,headers:b}}function ensureStatementsHoisted(e){e.forEach(e=>{e._blockHoist=3})}function wrapInterop(e,t,r){if(r==="none"){return null}if(r==="node-namespace"){return s.callExpression(e.hub.addHelper("interopRequireWildcard"),[t,s.booleanLiteral(true)])}else if(r==="node-default"){return null}let n;if(r==="default"){n="interopRequireDefault"}else if(r==="namespace"){n="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${r}`)}return s.callExpression(e.hub.addHelper(n),[t])}function buildNamespaceInitStatements(e,t,r=false){const n=[];let a=s.identifier(t.name);if(t.lazy)a=s.callExpression(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;n.push(i.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:s.cloneNode(a)}))}if(r){n.push(...c(e,t,true))}for(const r of t.reexportNamespace){n.push((t.lazy?i.default.statement` + `}},19219:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.get=get;t.minVersion=minVersion;t.getDependencies=getDependencies;t.ensure=ensure;t.default=t.list=void 0;var r=s(4267);var i=s(19761);var n=s(96224);function makePath(e){const t=[];for(;e.parentPath;e=e.parentPath){t.push(e.key);if(e.inList)t.push(e.listKey)}return t.reverse().join(".")}let a=undefined;function getHelperMetadata(e){const t=new Set;const s=new Set;const i=new Map;let a;let o;const l=[];const c=[];const p=[];const u={ImportDeclaration(e){const t=e.node.source.value;if(!n.default[t]){throw e.buildCodeFrameError(`Unknown helper ${t}`)}if(e.get("specifiers").length!==1||!e.get("specifiers.0").isImportDefaultSpecifier()){throw e.buildCodeFrameError("Helpers can only import a default value")}const s=e.node.specifiers[0].local;i.set(s,t);c.push(makePath(e))},ExportDefaultDeclaration(e){const t=e.get("declaration");if(t.isFunctionDeclaration()){if(!t.node.id){throw t.buildCodeFrameError("Helpers should give names to their exported func declaration")}a=t.node.id.name}o=makePath(e)},ExportAllDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},ExportNamedDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},Statement(e){if(e.isModuleDeclaration())return;e.skip()}};const h={Program(e){const t=e.scope.getAllBindings();Object.keys(t).forEach(e=>{if(e===a)return;if(i.has(t[e].identifier))return;s.add(e)})},ReferencedIdentifier(e){const s=e.node.name;const r=e.scope.getBinding(s,true);if(!r){t.add(s)}else if(i.has(r.identifier)){p.push(makePath(e))}},AssignmentExpression(e){const t=e.get("left");if(!(a in t.getBindingIdentifiers()))return;if(!t.isIdentifier()){throw t.buildCodeFrameError("Only simple assignments to exports are allowed in helpers")}const s=e.scope.getBinding(a);if(s!=null&&s.scope.path.isProgram()){l.push(makePath(e))}}};(0,r.default)(e.ast,u,e.scope);(0,r.default)(e.ast,h,e.scope);if(!o)throw new Error("Helpers must default-export something.");l.reverse();return{globals:Array.from(t),localBindingNames:Array.from(s),dependencies:i,exportBindingAssignments:l,exportPath:o,exportName:a,importBindingsReferences:p,importPaths:c}}function permuteHelperAST(e,t,s,n,a){if(n&&!s){throw new Error("Unexpected local bindings for module-based helpers.")}if(!s)return;const{localBindingNames:o,dependencies:l,exportBindingAssignments:c,exportPath:p,exportName:u,importBindingsReferences:h,importPaths:f}=t;const d={};l.forEach((e,t)=>{d[t.name]=typeof a==="function"&&a(e)||t});const y={};const m=new Set(n||[]);o.forEach(e=>{let t=e;while(m.has(t))t="_"+t;if(t!==e)y[e]=t});if(s.type==="Identifier"&&u!==s.name){y[u]=s.name}const g={Program(e){const t=e.get(p);const r=f.map(t=>e.get(t));const n=h.map(t=>e.get(t));const a=t.get("declaration");if(s.type==="Identifier"){if(a.isFunctionDeclaration()){t.replaceWith(a)}else{t.replaceWith(i.variableDeclaration("var",[i.variableDeclarator(s,a.node)]))}}else if(s.type==="MemberExpression"){if(a.isFunctionDeclaration()){c.forEach(t=>{const r=e.get(t);r.replaceWith(i.assignmentExpression("=",s,r.node))});t.replaceWith(a);e.pushContainer("body",i.expressionStatement(i.assignmentExpression("=",s,i.identifier(u))))}else{t.replaceWith(i.expressionStatement(i.assignmentExpression("=",s,a.node)))}}else{throw new Error("Unexpected helper format.")}Object.keys(y).forEach(t=>{e.scope.rename(t,y[t])});for(const e of r)e.remove();for(const e of n){const t=i.cloneNode(d[e.node.name]);e.replaceWith(t)}e.stop()}};(0,r.default)(e.ast,g,e.scope)}const o=Object.create(null);function loadHelper(e){if(!o[e]){const t=n.default[e];if(!t){throw Object.assign(new ReferenceError(`Unknown helper ${e}`),{code:"BABEL_HELPER_UNKNOWN",helper:e})}const s=()=>{const s={ast:i.file(t.ast())};if(a){return new a({filename:`babel-helper://${e}`},s)}return s};const r=getHelperMetadata(s());o[e]={build(e,t,i){const n=s();permuteHelperAST(n,r,t,i,e);return{nodes:n.ast.program.body,globals:r.globals}},minVersion(){return t.minVersion},dependencies:r.dependencies}}return o[e]}function get(e,t,s,r){return loadHelper(e).build(t,s,r)}function minVersion(e){return loadHelper(e).minVersion()}function getDependencies(e){return Array.from(loadHelper(e).dependencies.values())}function ensure(e,t){if(!a){a=t}loadHelper(e)}const l=Object.keys(n.default).map(e=>e.replace(/^_/,"")).filter(e=>e!=="__esModule");t.list=l;var c=get;t.default=c},88984:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldHighlight=shouldHighlight;t.getChalk=getChalk;t.default=highlight;var r=s(52388);var i=s(19509);var n=s(72242);const a=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let c;{const e=/^[a-z][\w-]*$/i;const t=function(t,s,r){if(t.type==="name"){if((0,i.isKeyword)(t.value)||(0,i.isStrictReservedWord)(t.value,true)||a.has(t.value)){return"keyword"}if(e.test(t.value)&&(r[s-1]==="<"||r.substr(s-2,2)=="t(e)).join("\n")}else{s+=i}}return s}function shouldHighlight(e){return!!n.supportsColor||e.forceColor}function getChalk(e){return e.forceColor?new n.constructor({enabled:true,level:1}):n}function highlight(e,t={}){if(shouldHighlight(t)){const s=getChalk(t);const r=getDefs(s);return highlightTokens(r,e)}else{return e}}},94651:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let r="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+s+"]");const n=new RegExp("["+s+r+"]");s=r=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let s=65536;for(let r=0,i=t.length;re)return false;s+=t[r+1];if(s>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&n.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return r.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return r.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return r.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var r=s(94651);var i=s(45068)},45068:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const s={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const r=new Set(s.keyword);const i=new Set(s.strict);const n=new Set(s.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return n.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return r.has(e)}},56852:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const s=true;const r=true;const i=true;const n=true;const a=true;const o=true;class TokenType{constructor(e,t={}){this.label=void 0;this.keyword=void 0;this.beforeExpr=void 0;this.startsExpr=void 0;this.rightAssociative=void 0;this.isLoop=void 0;this.isAssign=void 0;this.prefix=void 0;this.postfix=void 0;this.binop=void 0;this.updateContext=void 0;this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.rightAssociative=!!t.rightAssociative;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop!=null?t.binop:null;this.updateContext=null}}const l=new Map;function createKeyword(e,t={}){t.keyword=e;const s=new TokenType(e,t);l.set(e,s);return s}function createBinop(e,t){return new TokenType(e,{beforeExpr:s,binop:t})}const c={num:new TokenType("num",{startsExpr:r}),bigint:new TokenType("bigint",{startsExpr:r}),decimal:new TokenType("decimal",{startsExpr:r}),regexp:new TokenType("regexp",{startsExpr:r}),string:new TokenType("string",{startsExpr:r}),name:new TokenType("name",{startsExpr:r}),privateName:new TokenType("#name",{startsExpr:r}),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:s,startsExpr:r}),bracketHashL:new TokenType("#[",{beforeExpr:s,startsExpr:r}),bracketBarL:new TokenType("[|",{beforeExpr:s,startsExpr:r}),bracketR:new TokenType("]"),bracketBarR:new TokenType("|]"),braceL:new TokenType("{",{beforeExpr:s,startsExpr:r}),braceBarL:new TokenType("{|",{beforeExpr:s,startsExpr:r}),braceHashL:new TokenType("#{",{beforeExpr:s,startsExpr:r}),braceR:new TokenType("}",{beforeExpr:s}),braceBarR:new TokenType("|}"),parenL:new TokenType("(",{beforeExpr:s,startsExpr:r}),parenR:new TokenType(")"),comma:new TokenType(",",{beforeExpr:s}),semi:new TokenType(";",{beforeExpr:s}),colon:new TokenType(":",{beforeExpr:s}),doubleColon:new TokenType("::",{beforeExpr:s}),dot:new TokenType("."),question:new TokenType("?",{beforeExpr:s}),questionDot:new TokenType("?."),arrow:new TokenType("=>",{beforeExpr:s}),template:new TokenType("template"),ellipsis:new TokenType("...",{beforeExpr:s}),backQuote:new TokenType("`",{startsExpr:r}),dollarBraceL:new TokenType("${",{beforeExpr:s,startsExpr:r}),at:new TokenType("@"),hash:new TokenType("#",{startsExpr:r}),interpreterDirective:new TokenType("#!..."),eq:new TokenType("=",{beforeExpr:s,isAssign:n}),assign:new TokenType("_=",{beforeExpr:s,isAssign:n}),slashAssign:new TokenType("_=",{beforeExpr:s,isAssign:n}),moduloAssign:new TokenType("_=",{beforeExpr:s,isAssign:n}),incDec:new TokenType("++/--",{prefix:a,postfix:o,startsExpr:r}),bang:new TokenType("!",{beforeExpr:s,prefix:a,startsExpr:r}),tilde:new TokenType("~",{beforeExpr:s,prefix:a,startsExpr:r}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:s,binop:9,prefix:a,startsExpr:r}),modulo:new TokenType("%",{binop:10,startsExpr:r}),star:new TokenType("*",{binop:10}),slash:createBinop("/",10),exponent:new TokenType("**",{beforeExpr:s,binop:11,rightAssociative:true}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:s}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:s}),_do:createKeyword("do",{isLoop:i,beforeExpr:s}),_else:createKeyword("else",{beforeExpr:s}),_finally:createKeyword("finally"),_for:createKeyword("for",{isLoop:i}),_function:createKeyword("function",{startsExpr:r}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:s}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:s,prefix:a,startsExpr:r}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_while:createKeyword("while",{isLoop:i}),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:s,startsExpr:r}),_this:createKeyword("this",{startsExpr:r}),_super:createKeyword("super",{startsExpr:r}),_class:createKeyword("class",{startsExpr:r}),_extends:createKeyword("extends",{beforeExpr:s}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:r}),_null:createKeyword("null",{startsExpr:r}),_true:createKeyword("true",{startsExpr:r}),_false:createKeyword("false",{startsExpr:r}),_in:createKeyword("in",{beforeExpr:s,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:s,binop:7}),_typeof:createKeyword("typeof",{beforeExpr:s,prefix:a,startsExpr:r}),_void:createKeyword("void",{beforeExpr:s,prefix:a,startsExpr:r}),_delete:createKeyword("delete",{beforeExpr:s,prefix:a,startsExpr:r})};const p=/\r\n?|[\n\u2028\u2029]/;const u=new RegExp(p.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const h=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;const f=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y;const d=new RegExp("(?=("+f.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function isWhitespace(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return true;default:return false}}class Position{constructor(e,t){this.line=void 0;this.column=void 0;this.line=e;this.column=t}}class SourceLocation{constructor(e,t){this.start=void 0;this.end=void 0;this.filename=void 0;this.identifierName=void 0;this.start=e;this.end=t}}function getLineInfo(e,t){let s=1;let r=0;let i;u.lastIndex=0;while((i=u.exec(e))&&i.index0){r=t[--i]}if(r===null||r.start>s.start){setInnerComments(e,s.comments)}else{setTrailingComments(r,s.comments)}}class CommentsParser extends BaseParser{addComment(e){if(this.filename)e.loc.filename=this.filename;this.state.comments.push(e)}processComment(e){const{commentStack:t}=this.state;const s=t.length;if(s===0)return;let r=s-1;const i=t[r];if(i.start===e.end){i.leadingNode=e;r--}const{start:n}=e;for(;r>=0;r--){const s=t[r];const i=s.end;if(i>n){s.containingNode=e;this.finalizeComment(s);t.splice(r,1)}else{if(i===n){s.trailingNode=e}break}}}finalizeComment(e){const{comments:t}=e;if(e.leadingNode!==null||e.trailingNode!==null){if(e.leadingNode!==null){setTrailingComments(e.leadingNode,t)}if(e.trailingNode!==null){e.trailingNode.leadingComments=t}}else{const{containingNode:s,start:r}=e;if(this.input.charCodeAt(r-1)===44){switch(s.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":adjustInnerComments(s,s.properties,e);break;case"CallExpression":case"OptionalCallExpression":adjustInnerComments(s,s.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":adjustInnerComments(s,s.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":adjustInnerComments(s,s.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":adjustInnerComments(s,s.specifiers,e);break;default:{setInnerComments(s,t)}}}else{setInnerComments(s,t)}}}finalizeRemainingComments(){const{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--){this.finalizeComment(e[t])}this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){const{commentStack:t}=this.state;const{length:s}=t;if(s===0)return;const r=t[s-1];if(r.leadingNode===e){r.leadingNode=null}}}const y=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const m=makeErrorTemplates({AccessorIsGenerator:"A %0ter cannot be a generator.",ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accesor must not have any formal parameters.",BadSetterArity:"A 'set' accesor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accesor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:"'%0' require an initialization value.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:"`%0` has already been exported. Exported identifiers must be unique.",DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '%0' as '%1' } from 'some-module'`?",ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:"'%0' loop variable declaration may not have an initializer.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:"Unsyntactic %0.",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:'A string literal cannot be used as an imported binding.\n- Did you mean `import { "%0" as foo }`?',ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:"`import()` requires exactly %0.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidDecimal:"Invalid decimal.",InvalidDigit:"Expected number in radix %0.",InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:"Escape sequence in keyword %0.",InvalidIdentifier:"Invalid identifier %0.",InvalidLhs:"Invalid left-hand side in %0.",InvalidLhsBinding:"Binding invalid left-hand side in %0.",InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:"Unexpected character '%0'.",InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:"Private name #%0 is not defined.",InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:"Label '%0' is already declared.",LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:'Duplicate key "%0" is not allowed in module attributes.',ModuleExportNameHasLoneSurrogate:"An export name cannot include a lone surrogate, found '\\u%0'.",ModuleExportUndefined:"Export '%0' is not defined.",MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PipeBodyIsTighter:"Unexpected %0 after pipeline body; any %0 expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:'Invalid topic token %0. In order to use %0 as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "%0" }.',PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PrivateInExpectedIn:"Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`).",PrivateNameRedeclaration:"Duplicate private name #%0.",RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:"Assigning to '%0' in strict mode.",StrictEvalArgumentsBinding:"Binding '%0' in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:"Unexpected keyword '%0'.",UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Private names can only be used as the name of a class element (i.e. class C { #p = 42; #m() {} } )\n or a property of member expression (i.e. this.#p).",UnexpectedReservedWord:"Unexpected reserved word '%0'.",UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:"Unexpected token '%0'.",UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:"The only valid meta property for %0 is %0.%1.",UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",VarRedeclaration:"Identifier '%0' has already been declared.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},y.SyntaxError);const g=makeErrorTemplates({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},y.SourceTypeModuleError);function makeErrorTemplates(e,t){const s={};Object.keys(e).forEach(r=>{s[r]=Object.freeze({code:t,reasonCode:r,template:e[r]})});return Object.freeze(s)}class ParserError extends CommentsParser{getLocationForPosition(e){let t;if(e===this.state.start)t=this.state.startLoc;else if(e===this.state.lastTokStart)t=this.state.lastTokStartLoc;else if(e===this.state.end)t=this.state.endLoc;else if(e===this.state.lastTokEnd)t=this.state.lastTokEndLoc;else t=getLineInfo(this.input,e);return t}raise(e,{code:t,reasonCode:s,template:r},...i){return this.raiseWithData(e,{code:t,reasonCode:s},r,...i)}raiseOverwrite(e,{code:t,template:s},...r){const i=this.getLocationForPosition(e);const n=s.replace(/%(\d+)/g,(e,t)=>r[t])+` (${i.line}:${i.column})`;if(this.options.errorRecovery){const t=this.state.errors;for(let s=t.length-1;s>=0;s--){const r=t[s];if(r.pos===e){return Object.assign(r,{message:n})}else if(r.posr[t])+` (${i.line}:${i.column})`;return this._raise(Object.assign({loc:i,pos:e},t),n)}_raise(e,t){const s=new SyntaxError(t);Object.assign(s,e);if(this.options.errorRecovery){if(!this.isLookahead)this.state.errors.push(s);return s}else{throw s}}}var b=e=>(class extends e{parseRegExpLiteral({pattern:e,flags:t}){let s=null;try{s=new RegExp(e,t)}catch(e){}const r=this.estreeParseLiteral(s);r.regex={pattern:e,flags:t};return r}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const s=this.estreeParseLiteral(t);s.bigint=String(s.value||e);return s}parseDecimalLiteral(e){const t=null;const s=this.estreeParseLiteral(t);s.decimal=String(s.value||e);return s}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;const s=this.startNodeAt(e.start,e.loc.start);const r=this.startNodeAt(t.start,t.loc.start);r.value=t.extra.expressionValue;r.raw=t.extra.raw;s.expression=this.finishNodeAt(r,"Literal",t.end,t.loc.end);s.directive=t.extra.raw.slice(1,-1);return this.finishNodeAt(s,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}stmtToDirective(e){const t=e.expression.value;const s=super.stmtToDirective(e);this.addExtra(s.value,"expressionValue",t);return s}parseBlockBody(e,...t){super.parseBlockBody(e,...t);const s=e.directives.map(e=>this.directiveToStmt(e));e.body=s.concat(e.body);delete e.directives}pushClassMethod(e,t,s,r,i,n){this.parseMethod(t,s,r,i,n,"ClassMethod",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parseMaybePrivateName(...e){const t=super.parseMaybePrivateName(...e);if(t.type==="PrivateName"&&this.getPluginOption("estree","classFeatures")){return this.convertPrivateNameToPrivateIdentifier(t)}return t}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}return e.name}parseLiteral(e,t){const s=super.parseLiteral(e,t);s.raw=s.extra.raw;delete s.extra;return s}parseFunctionBody(e,t,s=false){super.parseFunctionBody(e,t,s);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,s,r,i,n,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,s,r,i,n,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(n==="ClassPrivateMethod"){e.computed=false}n="MethodDefinition";return this.finishNode(e,n)}parseClassProperty(...e){const t=super.parseClassProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition"}return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition";t.computed=false}return t}parseObjectMethod(e,t,s,r,i){const n=super.parseObjectMethod(e,t,s,r,i);if(n){n.type="Property";if(n.kind==="method")n.kind="init";n.shorthand=false}return n}parseObjectProperty(e,t,s,r,i){const n=super.parseObjectProperty(e,t,s,r,i);if(n){n.kind="init";n.type="Property"}return n}isAssignable(e,t){if(e!=null&&this.isObjectProperty(e)){return this.isAssignable(e.value,t)}return super.isAssignable(e,t)}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){this.toAssignable(e.value,t);return e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){if(e.kind==="get"||e.kind==="set"){this.raise(e.key.start,m.PatternHasAccessor)}else if(e.method){this.raise(e.key.start,m.PatternHasMethod)}else{super.toAssignableObjectExpressionProp(e,...t)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];if(this.hasPlugin("importAssertions")){var s;e.attributes=(s=e.arguments[1])!=null?s:null}delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,s,r,i){const n=super.parseSubscript(e,t,s,r,i);if(i.optionalChainMember){if(n.type==="OptionalMemberExpression"||n.type==="OptionalCallExpression"){n.type=n.type.substring(8)}if(i.stop){const e=this.startNodeAtNode(n);e.expression=n;return this.finishNode(e,"ChainExpression")}}else if(n.type==="MemberExpression"||n.type==="CallExpression"){n.optional=false}return n}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}});class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const x={brace:new TokContext("{"),template:new TokContext("`",true)};c.braceR.updateContext=(e=>{e.pop()});c.braceL.updateContext=c.braceHashL.updateContext=c.dollarBraceL.updateContext=(e=>{e.push(x.brace)});c.backQuote.updateContext=(e=>{if(e[e.length-1]===x.template){e.pop()}else{e.push(x.template)}});let v="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let w="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const P=new RegExp("["+v+"]");const E=new RegExp("["+v+w+"]");v=w=null;const A=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const T=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let s=65536;for(let r=0,i=t.length;re)return false;s+=t[r+1];if(s>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&P.test(String.fromCharCode(e))}return isInAstralSet(e,A)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&E.test(String.fromCharCode(e))}return isInAstralSet(e,A)||isInAstralSet(e,T)}const C={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const k=new Set(C.keyword);const I=new Set(C.strict);const j=new Set(C.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||I.has(e)}function isStrictBindOnlyReservedWord(e){return j.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return k.has(e)}function isIteratorStart(e,t){return e===64&&t===64}const O=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function canBeReservedWord(e){return O.has(e)}const S=0,_=1,R=2,D=4,N=8,F=16,M=32,L=64,B=128,U=256,W=_|R|U;const q=1,H=2,z=4,V=8,K=16,$=64,G=128,J=256,X=512,Y=1024,Q=2048;const Z=q|H|V|G,ee=q|0|V|0,te=q|0|z|0,se=q|0|K|0,re=0|H|0|G,ie=0|H|0|0,ne=q|H|V|J,ae=0|0|0|Y,oe=0|0|0|$,le=q|0|0|$,ce=ne|X,pe=0|0|0|Y,ue=Q;const he=4,fe=2,de=1,ye=fe|de;const me=fe|he,ge=de|he,be=fe,xe=de,ve=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.scopeStack=[];this.undefinedExports=new Map;this.undefinedPrivateNames=new Map;this.raise=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&R)>0}get allowSuper(){return(this.currentThisScopeFlags()&F)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&M)>0}get inClass(){return(this.currentThisScopeFlags()&L)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&L)>0&&(e&R)===0}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&B){return true}if(t&(W|L)){return false}}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&R)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&R||!this.inModule&&e.flags&_)}declareName(e,t,s){let r=this.currentScope();if(t&V||t&K){this.checkRedeclarationInScope(r,e,t,s);if(t&K){r.functions.add(e)}else{r.lexical.add(e)}if(t&V){this.maybeExportDefined(r,e)}}else if(t&z){for(let i=this.scopeStack.length-1;i>=0;--i){r=this.scopeStack[i];this.checkRedeclarationInScope(r,e,t,s);r.var.add(e);this.maybeExportDefined(r,e);if(r.flags&W)break}}if(this.inModule&&r.flags&_){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.inModule&&e.flags&_){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,s,r){if(this.isRedeclaredInScope(e,t,s)){this.raise(r,m.VarRedeclaration,t)}}isRedeclaredInScope(e,t,s){if(!(s&q))return false;if(s&V){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(s&K){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&N&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const s=this.scopeStack[0];if(!s.lexical.has(t)&&!s.var.has(t)&&!s.functions.has(t)){this.undefinedExports.set(t,e.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&W){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(W|L)&&!(t&D)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,s){const r=this.currentScope();if(t&Q){this.checkRedeclarationInScope(r,e,t,s);this.maybeExportDefined(r,e);r.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,s){if(super.isRedeclaredInScope(...arguments))return true;if(s&Q){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}class State{constructor(){this.strict=void 0;this.curLine=void 0;this.startLoc=void 0;this.endLoc=void 0;this.errors=[];this.potentialArrowAt=-1;this.noArrowAt=[];this.noArrowParamsConversionAt=[];this.maybeInArrowParameters=false;this.inType=false;this.noAnonFunctionType=false;this.inPropertyName=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.decoratorStack=[[]];this.comments=[];this.commentStack=[];this.pos=0;this.lineStart=0;this.type=c.eof;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.lastTokEnd=0;this.context=[x.brace];this.exprAllowed=true;this.containsEsc=false;this.strictErrors=new Map;this.tokensLength=0}init(e){this.strict=e.strictMode===false?false:e.strictMode===true?true:e.sourceType==="module";this.curLine=e.startLine;this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new Position(this.curLine,this.pos-this.lineStart)}clone(e){const t=new State;const s=Object.keys(this);for(let r=0,i=s.length;r=48&&e<=57};const Pe=new Set([103,109,115,105,121,117,100]);const Ee={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]};const Ae={};Ae.bin=[48,49];Ae.oct=[...Ae.bin,50,51,52,53,54,55];Ae.dec=[...Ae.oct,56,57];Ae.hex=[...Ae.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends ParserError{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(this.state))}this.state.lastTokEnd=this.state.end;this.state.lastTokStart=this.state.start;this.state.lastTokEndLoc=this.state.endLoc;this.state.lastTokStartLoc=this.state.startLoc;this.nextToken()}eat(e){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){h.lastIndex=e;return h.test(this.input)?h.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(t,e));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(!e.preserveSpace)this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(c.eof);return}if(e===x.template){this.readTmplToken()}else{this.getTokenFromCode(this.codePointAtPos(this.state.pos))}}skipBlockComment(){let e;if(!this.isLookahead)e=this.state.curPosition();const t=this.state.pos;const s=this.input.indexOf("*/",t+2);if(s===-1)throw this.raise(t,m.UnterminatedComment);this.state.pos=s+2;u.lastIndex=t+2;while(u.test(this.input)&&u.lastIndex<=s){++this.state.curLine;this.state.lineStart=u.lastIndex}if(this.isLookahead)return;const r={type:"CommentBlock",value:this.input.slice(t+2,s),start:t,end:s+2,loc:new SourceLocation(e,this.state.curPosition())};if(this.options.tokens)this.pushToken(r);return r}skipLineComment(e){const t=this.state.pos;let s;if(!this.isLookahead)s=this.state.curPosition();let r=this.input.charCodeAt(this.state.pos+=e);if(this.state.pose)){const e=this.skipLineComment(3);if(e!==undefined){this.addComment(e);if(this.options.attachComment)t.push(e)}}else{break e}}else if(s===60&&!this.inModule){const e=this.state.pos;if(this.input.charCodeAt(e+1)===33&&this.input.charCodeAt(e+2)===45&&this.input.charCodeAt(e+3)===45){const e=this.skipLineComment(4);if(e!==undefined){this.addComment(e);if(this.options.attachComment)t.push(e)}}else{break e}}else{break e}}}if(t.length>0){const s=this.state.pos;const r={start:e,end:s,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(r)}}finishToken(e,t){this.state.end=this.state.pos;const s=this.state.type;this.state.type=e;this.state.value=t;if(!this.isLookahead){this.state.endLoc=this.state.curPosition();this.updateContext(s)}}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter()){return}const e=this.state.pos+1;const t=this.codePointAtPos(e);if(t>=48&&t<=57){throw this.raise(this.state.pos,m.UnexpectedDigitAfterHash)}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(this.state.pos,t===123?m.RecordExpressionHashIncorrectStartSyntaxType:m.TupleExpressionHashIncorrectStartSyntaxType)}this.state.pos+=2;if(t===123){this.finishToken(c.braceHashL)}else{this.finishToken(c.bracketHashL)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(c.privateName,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(c.privateName,this.readWord1())}else{this.finishOp(c.hash,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(c.ellipsis)}else{++this.state.pos;this.finishToken(c.dot)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(c.slashAssign,2)}else{this.finishOp(c.slash,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos=48&&t<=57)){this.state.pos+=2;this.finishToken(c.questionDot)}else{++this.state.pos;this.finishToken(c.question)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(c.parenL);return;case 41:++this.state.pos;this.finishToken(c.parenR);return;case 59:++this.state.pos;this.finishToken(c.semi);return;case 44:++this.state.pos;this.finishToken(c.comma);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,m.TupleExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(c.bracketBarL)}else{++this.state.pos;this.finishToken(c.bracketL)}return;case 93:++this.state.pos;this.finishToken(c.bracketR);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,m.RecordExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(c.braceBarL)}else{++this.state.pos;this.finishToken(c.braceL)}return;case 125:++this.state.pos;this.finishToken(c.braceR);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(c.doubleColon,2)}else{++this.state.pos;this.finishToken(c.colon)}return;case 63:this.readToken_question();return;case 96:++this.state.pos;this.finishToken(c.backQuote);return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:case 62:this.readToken_lt_gt(e);return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(c.tilde,1);return;case 64:++this.state.pos;this.finishToken(c.at);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(this.state.pos,m.InvalidOrUnexpectedToken,String.fromCodePoint(e))}finishOp(e,t){const s=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t;this.finishToken(e,s)}readRegexp(){const e=this.state.start+1;let t,s;let{pos:r}=this.state;for(;;++r){if(r>=this.length){throw this.raise(e,m.UnterminatedRegExp)}const i=this.input.charCodeAt(r);if(isNewLine(i)){throw this.raise(e,m.UnterminatedRegExp)}if(t){t=false}else{if(i===91){s=true}else if(i===93&&s){s=false}else if(i===47&&!s){break}t=i===92}}const i=this.input.slice(e,r);++r;let n="";while(r-1||n.indexOf(t)>-1||Number.isNaN(t)){this.raise(this.state.pos,m.UnexpectedNumericSeparator)}if(!r){this.raise(this.state.pos,m.NumericSeparatorInEscapeSequence)}++this.state.pos;continue}if(t>=97){c=t-97+10}else if(t>=65){c=t-65+10}else if(we(t)){c=t-48}else{c=Infinity}if(c>=e){if(this.options.errorRecovery&&c<=9){c=0;this.raise(this.state.start+i+2,m.InvalidDigit,e)}else if(s){c=0;o=true}else{break}}++this.state.pos;l=l*e+c}if(this.state.pos===i||t!=null&&this.state.pos-i!==t||o){return null}return l}readRadixNumber(e){const t=this.state.pos;let s=false;this.state.pos+=2;const r=this.readInt(e);if(r==null){this.raise(this.state.start+2,m.InvalidDigit,e)}const i=this.input.charCodeAt(this.state.pos);if(i===110){++this.state.pos;s=true}else if(i===109){throw this.raise(t,m.InvalidDecimal)}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,m.NumberIdentifier)}if(s){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(c.bigint,e);return}this.finishToken(c.num,r)}readNumber(e){const t=this.state.pos;let s=false;let r=false;let i=false;let n=false;let a=false;if(!e&&this.readInt(10)===null){this.raise(t,m.InvalidNumber)}const o=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(o){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(t,m.StrictOctalLiteral);if(!this.state.strict){const s=e.indexOf("_");if(s>0){this.raise(s+t,m.ZeroDigitNumericSeparator)}}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!a){++this.state.pos;this.readInt(10);s=true;l=this.input.charCodeAt(this.state.pos)}if((l===69||l===101)&&!a){l=this.input.charCodeAt(++this.state.pos);if(l===43||l===45){++this.state.pos}if(this.readInt(10)===null){this.raise(t,m.InvalidOrMissingExponent)}s=true;n=true;l=this.input.charCodeAt(this.state.pos)}if(l===110){if(s||o){this.raise(t,m.InvalidBigIntLiteral)}++this.state.pos;r=true}if(l===109){this.expectPlugin("decimal",this.state.pos);if(n||o){this.raise(t,m.InvalidDecimal)}++this.state.pos;i=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,m.NumberIdentifier)}const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(r){this.finishToken(c.bigint,p);return}if(i){this.finishToken(c.decimal,p);return}const u=a?parseInt(p,8):parseFloat(p);this.finishToken(c.num,u)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let s;if(t===123){const t=++this.state.pos;s=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(s!==null&&s>1114111){if(e){this.raise(t,m.InvalidCodePoint)}else{return null}}}else{s=this.readHexChar(4,false,e)}return s}readString(e){let t="",s=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,m.UnterminatedString)}const r=this.input.charCodeAt(this.state.pos);if(r===e)break;if(r===92){t+=this.input.slice(s,this.state.pos);t+=this.readEscapedChar(false);s=this.state.pos}else if(r===8232||r===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(r)){throw this.raise(this.state.start,m.UnterminatedString)}else{++this.state.pos}}t+=this.input.slice(s,this.state.pos++);this.finishToken(c.string,t)}readTmplToken(){let e="",t=this.state.pos,s=false;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,m.UnterminatedTemplate)}const r=this.input.charCodeAt(this.state.pos);if(r===96||r===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(c.template)){if(r===36){this.state.pos+=2;this.finishToken(c.dollarBraceL);return}else{++this.state.pos;this.finishToken(c.backQuote);return}}e+=this.input.slice(t,this.state.pos);this.finishToken(c.template,s?null:e);return}if(r===92){e+=this.input.slice(t,this.state.pos);const r=this.readEscapedChar(true);if(r===null){s=true}else{e+=r}t=this.state.pos}else if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(r){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(r);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,t){if(this.state.strict&&!this.state.strictErrors.has(e)){this.raise(e,t)}else{this.state.strictErrors.set(e,t)}}readEscapedChar(e){const t=!e;const s=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(s){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:this.state.lineStart=this.state.pos;++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(e){return null}else{this.recordStrictModeErrors(this.state.pos-1,m.StrictNumericEscape)}default:if(s>=48&&s<=55){const t=this.state.pos-1;const s=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let r=s[0];let i=parseInt(r,8);if(i>255){r=r.slice(0,-1);i=parseInt(r,8)}this.state.pos+=r.length-1;const n=this.input.charCodeAt(this.state.pos);if(r!=="0"||n===56||n===57){if(e){return null}else{this.recordStrictModeErrors(t,m.StrictNumericEscape)}}return String.fromCharCode(i)}return String.fromCharCode(s)}}readHexChar(e,t,s){const r=this.state.pos;const i=this.readInt(16,e,t,false);if(i===null){if(s){this.raise(r,m.InvalidEscapeSequence)}else{this.state.pos=r-1}}return i}readWord1(e){this.state.containsEsc=false;let t="";const s=this.state.pos;let r=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos{this.raise(s,t);let r=e.length-2;let i=e[r];while(i.canBeArrowParameterDeclaration()){i.clearDeclarationError(s);i=e[--r]}})}}function newParameterDeclarationScope(){return new ExpressionScope(Ie)}function newArrowHeadScope(){return new ArrowHeadParsingScope(Ce)}function newAsyncArrowScope(){return new ArrowHeadParsingScope(ke)}function newExpressionScope(){return new ExpressionScope}const je=0,Oe=1,Se=2,_e=4,Re=8;class ProductionParameterHandler{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&Se)>0}get hasYield(){return(this.currentFlags()&Oe)>0}get hasReturn(){return(this.currentFlags()&_e)>0}get hasIn(){return(this.currentFlags()&Re)>0}}function functionFlags(e,t){return(e?Se:0)|(t?Oe:0)}class UtilParser extends Tokenizer{addExtra(e,t,s){if(!e)return;const r=e.extra=e.extra||{};r[t]=s}isRelational(e){return this.match(c.relational)&&this.state.value===e}expectRelational(e){if(this.isRelational(e)){this.next()}else{this.unexpected(null,c.relational)}}isContextual(e){return this.match(c.name)&&this.state.value===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const s=e+t.length;if(this.input.slice(e,s)===t){const e=this.input.charCodeAt(s);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)&&this.eat(c.name)}expectContextual(e,t){if(!this.eatContextual(e))this.unexpected(null,t)}canInsertSemicolon(){return this.match(c.eof)||this.match(c.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return p.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){d.lastIndex=this.state.end;return d.test(this.input)}isLineTerminator(){return this.eat(c.semi)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(c.semi))return;this.raise(this.state.lastTokEnd,m.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){if(this.state.start>this.state.lastTokEnd){this.raise(this.state.lastTokEnd,{code:y.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}}unexpected(e,t={code:y.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){if(t instanceof TokenType){t={code:y.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${t.label}"`}}throw this.raise(e!=null?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e)){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`)}return true}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e))){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:e},`This experimental syntax requires enabling one of the following parser plugin(s): '${e.join(", ")}'`)}}tryParse(e,t=this.state.clone()){const s={node:null};try{const r=e((e=null)=>{s.node=e;throw s});if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:r,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:r,error:null,thrown:false,aborted:false,failState:null}}catch(e){const r=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:r}}if(e===s){return{node:s.node,error:null,thrown:false,aborted:true,failState:r}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssign:s,doubleProto:r,optionalParameters:i}=e;if(!t){return s>=0||r>=0||i>=0}if(s>=0){this.unexpected(s)}if(r>=0){this.raise(r,m.DuplicateProto)}if(i>=0){this.unexpected(i)}}isLiteralPropertyName(){return this.match(c.name)||!!this.state.type.keyword||this.match(c.string)||this.match(c.num)||this.match(c.bigint)||this.match(c.decimal)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const s=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const r=this.inModule;this.inModule=e;const i=this.scope;const n=this.getScopeHandler();this.scope=new n(this.raise.bind(this),this.inModule);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this.raise.bind(this));const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this.raise.bind(this));return()=>{this.state.labels=t;this.exportedIdentifiers=s;this.inModule=r;this.scope=i;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=je;if(this.inModule){e|=Se}this.scope.enter(_);this.prodParam.enter(e)}}class ExpressionErrors{constructor(){this.shorthandAssign=-1;this.doubleProto=-1;this.optionalParameters=-1}}class Node{constructor(e,t,s){this.type="";this.start=t;this.end=0;this.loc=new SourceLocation(s);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}}const De=Node.prototype;{De.__clone=function(){const e=new Node;const t=Object.keys(this);for(let s=0,r=t.length;s async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:"`declare export %0` is not supported. Use `%1` instead.",UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."},y.SyntaxError);function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return(e.type===c.name||!!e.type.keyword)&&e.value!=="from"}const Me={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const s=[];const r=[];for(let i=0;i(class extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==c.string&&e!==c.semi&&e!==c.interpreterDirective){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=Le.exec(e.value);if(!t) ;else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||c.colon);const s=this.flowParseType();this.state.inType=t;return s}flowParsePredicate(){const e=this.startNode();const t=this.state.start;this.next();this.expectContextual("checks");if(this.state.lastTokStart>t+1){this.raise(t,Fe.UnexpectedSpaceBetweenModuloChecks)}if(this.eat(c.parenL)){e.value=this.parseExpression();this.expect(c.parenR);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(c.colon);let t=null;let s=null;if(this.match(c.modulo)){this.state.inType=e;s=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(c.modulo)){s=this.flowParsePredicate()}}return[t,s]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const s=this.startNode();const r=this.startNode();if(this.isRelational("<")){s.typeParameters=this.flowParseTypeParameterDeclaration()}else{s.typeParameters=null}this.expect(c.parenL);const i=this.flowParseFunctionTypeParams();s.params=i.params;s.rest=i.rest;s.this=i._this;this.expect(c.parenR);[s.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser();r.typeAnnotation=this.finishNode(s,"FunctionTypeAnnotation");t.typeAnnotation=this.finishNode(r,"TypeAnnotation");this.resetEndLocation(t);this.semicolon();this.scope.declareName(e.id.name,ue,e.id.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(c._class)){return this.flowParseDeclareClass(e)}else if(this.match(c._function)){return this.flowParseDeclareFunction(e)}else if(this.match(c._var)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual("module")){if(this.match(c.dot)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(this.state.lastTokStart,Fe.NestedDeclareModule)}return this.flowParseDeclareModule(e)}}else if(this.isContextual("type")){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual("opaque")){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual("interface")){return this.flowParseDeclareInterface(e)}else if(this.match(c._export)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,te,e.id.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(S);if(this.match(c.string)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const s=t.body=[];this.expect(c.braceL);while(!this.match(c.braceR)){let e=this.startNode();if(this.match(c._import)){this.next();if(!this.isContextual("type")&&!this.match(c._typeof)){this.raise(this.state.lastTokStart,Fe.InvalidNonTypeImportInDeclareModule)}this.parseImport(e)}else{this.expectContextual("declare",Fe.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}s.push(e)}this.scope.exit();this.expect(c.braceR);this.finishNode(t,"BlockStatement");let r=null;let i=false;s.forEach(e=>{if(isEsModuleType(e)){if(r==="CommonJS"){this.raise(e.start,Fe.AmbiguousDeclareModuleKind)}r="ES"}else if(e.type==="DeclareModuleExports"){if(i){this.raise(e.start,Fe.DuplicateDeclareModuleExports)}if(r==="ES"){this.raise(e.start,Fe.AmbiguousDeclareModuleKind)}r="CommonJS";i=true}});e.kind=r||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(c._export);if(this.eat(c._default)){if(this.match(c._function)||this.match(c._class)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(c._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value;const t=Me[e];throw this.raise(this.state.start,Fe.UnsupportedDeclareExportKind,e,t)}if(this.match(c._var)||this.match(c._function)||this.match(c._class)||this.isContextual("opaque")){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(c.star)||this.match(c.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque")){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual("exports");e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?se:ee,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(c._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(c.comma))}if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(c.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(c.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(this.state.start,Fe.UnexpectedReservedUnderscore)}}checkReservedType(e,t,s){if(!Ne.has(e))return;this.raise(t,s?Fe.AssignReservedType:Fe.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.start,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,ee,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(c.eq);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual("type");e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,ee,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(c.colon)){e.supertype=this.flowParseTypeInitialiser(c.colon)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(c.eq)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.start;const s=this.startNode();const r=this.flowParseVariance();const i=this.flowParseTypeAnnotatableIdentifier();s.name=i.name;s.variance=r;s.bound=i.typeAnnotation;if(this.match(c.eq)){this.eat(c.eq);s.default=this.flowParseType()}else{if(e){this.raise(t,Fe.MissingTypeParamDefault)}}return this.finishNode(s,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.isRelational("<")||this.match(c.jsxTagStart)){this.next()}else{this.unexpected()}let s=false;do{const e=this.flowParseTypeParameter(s);t.params.push(e);if(e.default){s=true}if(!this.isRelational(">")){this.expect(c.comma)}}while(!this.isRelational(">"));this.expectRelational(">");this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");const s=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.isRelational(">")){e.params.push(this.flowParseType());if(!this.isRelational(">")){this.expect(c.comma)}}this.state.noAnonFunctionType=s;this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");while(!this.isRelational(">")){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.isRelational(">")){this.expect(c.comma)}}this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual("interface");e.extends=[];if(this.eat(c._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(c.comma))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(c.num)||this.match(c.string)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,s){e.static=t;if(this.lookahead().type===c.colon){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(c.bracketR);e.value=this.flowParseTypeInitialiser();e.variance=s;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(c.bracketR);this.expect(c.bracketR);if(this.isRelational("<")||this.match(c.parenL)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(c.question)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(c.parenL);if(this.match(c._this)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(c.parenR)){this.expect(c.comma)}}while(!this.match(c.parenR)&&!this.match(c.ellipsis)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(c.parenR)){this.expect(c.comma)}}if(this.eat(c.ellipsis)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(c.parenR);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const s=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(s);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:s,allowProto:r,allowInexact:i}){const n=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let p=false;if(t&&this.match(c.braceBarL)){this.expect(c.braceBarL);o=c.braceBarR;l=true}else{this.expect(c.braceL);o=c.braceR;l=false}a.exact=l;while(!this.match(o)){let t=false;let n=null;let o=null;const u=this.startNode();if(r&&this.isContextual("proto")){const t=this.lookahead();if(t.type!==c.colon&&t.type!==c.question){this.next();n=this.state.start;e=false}}if(e&&this.isContextual("static")){const e=this.lookahead();if(e.type!==c.colon&&e.type!==c.question){this.next();t=true}}const h=this.flowParseVariance();if(this.eat(c.bracketL)){if(n!=null){this.unexpected(n)}if(this.eat(c.bracketL)){if(h){this.unexpected(h.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(u,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(u,t,h))}}else if(this.match(c.parenL)||this.isRelational("<")){if(n!=null){this.unexpected(n)}if(h){this.unexpected(h.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(u,t))}else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();if(t.type===c.name||t.type===c.string||t.type===c.num){e=this.state.value;this.next()}}const r=this.flowParseObjectTypeProperty(u,t,n,h,e,s,i!=null?i:!l);if(r===null){p=true;o=this.state.lastTokStart}else{a.properties.push(r)}}this.flowObjectTypeSemicolon();if(o&&!this.match(c.braceR)&&!this.match(c.braceBarR)){this.raise(o,Fe.UnexpectedExplicitInexactInObject)}}this.expect(o);if(s){a.inexact=p}const u=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=n;return u}flowParseObjectTypeProperty(e,t,s,r,i,n,a){if(this.eat(c.ellipsis)){const t=this.match(c.comma)||this.match(c.semi)||this.match(c.braceR)||this.match(c.braceBarR);if(t){if(!n){this.raise(this.state.lastTokStart,Fe.InexactInsideNonObject)}else if(!a){this.raise(this.state.lastTokStart,Fe.InexactInsideExact)}if(r){this.raise(r.start,Fe.InexactVariance)}return null}if(!n){this.raise(this.state.lastTokStart,Fe.UnexpectedSpreadType)}if(s!=null){this.unexpected(s)}if(r){this.raise(r.start,Fe.SpreadVariance)}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=s!=null;e.kind=i;let a=false;if(this.isRelational("<")||this.match(c.parenL)){e.method=true;if(s!=null){this.unexpected(s)}if(r){this.unexpected(r.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(i==="get"||i==="set"){this.flowCheckGetterSetterParams(e)}if(!n&&e.key.name==="constructor"&&e.value.this){this.raise(e.value.this.start,Fe.ThisParamBannedInConstructor)}}else{if(i!=="init")this.unexpected();e.method=false;if(this.eat(c.question)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=r}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const s=e.start;const r=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.value.this.start,e.kind==="get"?Fe.GetterMayNotHaveThisParam:Fe.SetterMayNotHaveThisParam)}if(r!==t){if(e.kind==="get"){this.raise(s,m.BadGetterArity)}else{this.raise(s,m.BadSetterArity)}}if(e.kind==="set"&&e.value.rest){this.raise(s,m.BadSetterRestParameter)}}flowObjectTypeSemicolon(){if(!this.eat(c.semi)&&!this.eat(c.comma)&&!this.match(c.braceR)&&!this.match(c.braceBarR)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,s){e=e||this.state.start;t=t||this.state.startLoc;let r=s||this.flowParseRestrictedIdentifier(true);while(this.eat(c.dot)){const s=this.startNodeAt(e,t);s.qualification=r;s.id=this.flowParseRestrictedIdentifier(true);r=this.finishNode(s,"QualifiedTypeIdentifier")}return r}flowParseGenericType(e,t,s){const r=this.startNodeAt(e,t);r.typeParameters=null;r.id=this.flowParseQualifiedTypeIdentifier(e,t,s);if(this.isRelational("<")){r.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(r,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(c._typeof);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(c.bracketL);while(this.state.possuper.parseFunctionBody(e,true,s))}return super.parseFunctionBody(e,false,s)}parseFunctionBodyAndFinish(e,t,s=false){if(this.match(c.colon)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(e,t,s)}parseStatement(e,t){if(this.state.strict&&this.match(c.name)&&this.state.value==="interface"){const e=this.lookahead();if(e.type===c.name||isKeyword(e.value)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const s=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(s)){this.flowPragma=null}return s}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(c._class)||this.match(c.name)||this.match(c._function)||this.match(c._var)||this.match(c._export)){return this.flowParseDeclare(e)}}else if(this.match(c.name)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){if(this.match(c.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"||this.shouldParseEnums()&&this.state.value==="enum")){return false}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,s,r){if(!this.match(c.question))return e;if(this.state.maybeInArrowParameters){const t=this.lookaheadCharCode();if(t===44||t===61||t===58||t===41){this.setOptionalParametersError(r);return e}}this.expect(c.question);const i=this.state.clone();const n=this.state.noArrowAt;const a=this.startNodeAt(t,s);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[p,u]=this.getArrowLikeExpressions(o);if(l||u.length>0){const e=[...n];if(u.length>0){this.state=i;this.state.noArrowAt=e;for(let t=0;t1){this.raise(i.start,Fe.AmbiguousConditionalArrow)}if(l&&p.length===1){this.state=i;this.state.noArrowAt=e.concat(p[0].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=n;this.expect(c.colon);a.test=e;a.consequent=o;a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(undefined,undefined));return this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(c.colon);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const s=[e];const r=[];while(s.length!==0){const e=s.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{r.push(e)}s.push(e.body)}else if(e.type==="ConditionalExpression"){s.push(e.consequent);s.push(e.alternate)}}if(t){r.forEach(e=>this.finishArrowValidation(e));return[r,[]]}return partition(r,e=>e.params.every(e=>this.isAssignable(e,true)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingComma,false);this.scope.enter(R|D);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let s;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);s=t();this.state.noArrowParamsConversionAt.pop()}else{s=t()}return s}parseParenItem(e,t,s){e=super.parseParenItem(e,t,s);if(this.eat(c.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(c.colon)){const r=this.startNodeAt(t,s);r.expression=e;r.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(r,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();this.next();if(this.match(c.braceL)){e.specifiers=this.parseExportSpecifiers();this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual("enum")){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual("type")&&this.lookahead().type===c.star){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const t=this.state.start;const s=super.maybeParseExportNamespaceSpecifier(e);if(s&&e.exportKind==="type"){this.unexpected(t)}return s}parseClassId(e,t,s){super.parseClassId(e,t,s);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}}parseClassMember(e,t,s){const r=this.state.start;if(this.isContextual("declare")){if(this.parseClassMemberFromModifier(e,t)){return}t.declare=true}super.parseClassMember(e,t,s);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(r,Fe.DeclareClassElement)}else if(t.value){this.raise(t.value.start,Fe.DeclareClassFieldInitializer)}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(this.state.pos,m.InvalidIdentifier,t)}this.finishToken(c.name,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(c.braceBarL,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(c.relational,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(c.questionDot,2)}return this.finishOp(c.question,1)}else if(isIteratorStart(e,t)){this.state.pos+=2;return this.readIterator()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){if(e.type==="TypeCastExpression"){return this.isAssignable(e.expression,t)}else{return super.isAssignable(e,t)}}toAssignable(e,t=false){if(e.type==="TypeCastExpression"){return super.toAssignable(this.typeCastToParameter(e),t)}else{return super.toAssignable(e,t)}}toAssignableList(e,t,s){for(let t=0;t1||!t)){this.raise(i.typeAnnotation.start,Fe.TypeCastInPattern)}}return e}parseArrayLike(e,t,s,r){const i=super.parseArrayLike(e,t,s,r);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(i.elements)}return i}checkLVal(e,...t){if(e.type!=="TypeCastExpression"){return super.checkLVal(e,...t)}}parseClassProperty(e){if(this.match(c.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(c.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(c.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(c.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,s,r,i,n){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,s,r,i,n);if(t.params&&i){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Fe.ThisParamBannedInConstructor)}}else if(t.type==="MethodDefinition"&&i&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Fe.ThisParamBannedInConstructor)}}}pushClassPrivateMethod(e,t,s,r){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,s,r)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(c.comma))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const s=t[0];if(this.isThisParam(s)&&e.kind==="get"){this.raise(s.start,Fe.GetterMayNotHaveThisParam)}else if(this.isThisParam(s)){this.raise(s.start,Fe.SetterMayNotHaveThisParam)}}}parsePropertyName(e,t){const s=this.flowParseVariance();const r=super.parsePropertyName(e,t);e.variance=s;return r}parseObjPropValue(e,t,s,r,i,n,a,o){if(e.variance){this.unexpected(e.variance.start)}delete e.variance;let l;if(this.isRelational("<")&&!a){l=this.flowParseTypeParameterDeclaration();if(!this.match(c.parenL))this.unexpected()}super.parseObjPropValue(e,t,s,r,i,n,a,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(c.question)){if(e.type!=="Identifier"){this.raise(e.start,Fe.OptionalBindingPattern)}if(this.isThisParam(e)){this.raise(e.start,Fe.ThisParamMayNotBeOptional)}e.optional=true}if(this.match(c.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(e.start,Fe.ThisParamAnnotationRequired)}if(this.match(c.eq)&&this.isThisParam(e)){this.raise(e.start,Fe.ThisParamNoDefault)}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,s){const r=super.parseMaybeDefault(e,t,s);if(r.type==="AssignmentPattern"&&r.typeAnnotation&&r.right.startsuper.parseMaybeAssign(e,t),r);if(!i.error)return i.node;const{context:s}=this.state;const n=s[s.length-1];if(n===x.j_oTag){s.length-=2}else if(n===x.j_expr){s.length-=1}}if((s=i)!=null&&s.error||this.isRelational("<")){var n,a;r=r||this.state.clone();let s;const o=this.tryParse(r=>{var i;s=this.flowParseTypeParameterDeclaration();const n=this.forwardNoArrowParamsConversionAt(s,()=>{const r=super.parseMaybeAssign(e,t);this.resetStartLocationFromNode(r,s);return r});if((i=n.extra)!=null&&i.parenthesized)r();const a=this.maybeUnwrapTypeCastExpression(n);if(a.type!=="ArrowFunctionExpression")r();a.typeParameters=s;this.resetStartLocationFromNode(a,s);return n},r);let l=null;if(o.node&&this.maybeUnwrapTypeCastExpression(o.node).type==="ArrowFunctionExpression"){if(!o.error&&!o.aborted){if(o.node.async){this.raise(s.start,Fe.UnexpectedTypeParameterBeforeAsyncArrowFunction)}return o.node}l=o.node}if((n=i)!=null&&n.node){this.state=i.failState;return i.node}if(l){this.state=o.failState;return l}if((a=i)!=null&&a.thrown)throw i.error;if(o.thrown)throw o.error;throw this.raise(s.start,Fe.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(c.colon)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const s=this.startNode();[s.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(c.arrow))this.unexpected();return s});if(t.thrown)return null;if(t.error)this.state=t.failState;e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(c.colon)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,s){if(s&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t0){this.raise(e.params[t].start,Fe.ThisParamMustBeFirst)}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,s,r){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const r=this.startNodeAt(t,s);r.callee=e;r.arguments=this.parseCallExpressionArguments(c.parenR,false);e=this.finishNode(r,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.isRelational("<")){const i=this.state.clone();const n=this.tryParse(e=>this.parseAsyncArrowWithTypeParameters(t,s)||e(),i);if(!n.error&&!n.aborted)return n.node;const a=this.tryParse(()=>super.parseSubscripts(e,t,s,r),i);if(a.node&&!a.error)return a.node;if(n.node){this.state=n.failState;return n.node}if(a.node){this.state=a.failState;return a.node}throw n.error||a.error}return super.parseSubscripts(e,t,s,r)}parseSubscript(e,t,s,r,i){if(this.match(c.questionDot)&&this.isLookaheadToken_lt()){i.optionalChainMember=true;if(r){i.stop=true;return e}this.next();const n=this.startNodeAt(t,s);n.callee=e;n.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(c.parenL);n.arguments=this.parseCallExpressionArguments(c.parenR,false);n.optional=true;return this.finishCallExpression(n,true)}else if(!r&&this.shouldParseTypes()&&this.isRelational("<")){const r=this.startNodeAt(t,s);r.callee=e;const n=this.tryParse(()=>{r.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew();this.expect(c.parenL);r.arguments=this.parseCallExpressionArguments(c.parenR,false);if(i.optionalChainMember)r.optional=false;return this.finishCallExpression(r,i.optionalChainMember)});if(n.node){if(n.error)this.state=n.failState;return n.node}}return super.parseSubscript(e,t,s,r,i)}parseNewArguments(e){let t=null;if(this.shouldParseTypes()&&this.isRelational("<")){t=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node}e.typeArguments=t;super.parseNewArguments(e)}parseAsyncArrowWithTypeParameters(e,t){const s=this.startNodeAt(e,t);this.parseFunctionParams(s);if(!this.parseArrow(s))return;return this.parseArrowExpression(s,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(c.braceBarR,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const s=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(this.state.pos,Fe.UnterminatedFlowComment)}return s}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){this.unexpected(null,Fe.NestedFlowComment)}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1){throw this.raise(this.state.pos-2,m.UnterminatedComment)}this.state.pos=e+3;return}return super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const s=this.input.charCodeAt(t+e);const r=this.input.charCodeAt(t+e+1);if(s===58&&r===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(s===58&&r!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(this.state.pos,m.UnterminatedComment)}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:s}){this.raise(e,Fe.EnumBooleanMemberNotInitialized,s,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:s}){const r=s[0].toUpperCase()+s.slice(1);this.raise(e,Fe.EnumInvalidMemberName,s,r,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:s}){this.raise(e,Fe.EnumDuplicateMemberName,s,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,Fe.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:s}){return this.raise(e,s===null?Fe.EnumInvalidExplicitTypeUnknownSupplied:Fe.EnumInvalidExplicitType,t,s)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:s,memberName:r}){let i=null;switch(s){case"boolean":case"number":case"string":i=Fe.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":i=Fe.EnumInvalidMemberInitializerSymbolType;break;default:i=Fe.EnumInvalidMemberInitializerUnknownType}return this.raise(e,i,t,r,s)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:s}){this.raise(e,Fe.EnumNumberMemberNotInitialized,t,s)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,Fe.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start;const t=()=>this.match(c.comma)||this.match(c.braceR);switch(this.state.type){case c.num:{const s=this.parseNumericLiteral(this.state.value);if(t()){return{type:"number",pos:s.start,value:s}}return{type:"invalid",pos:e}}case c.string:{const s=this.parseStringLiteral(this.state.value);if(t()){return{type:"string",pos:s.start,value:s}}return{type:"invalid",pos:e}}case c._true:case c._false:{const s=this.parseBooleanLiteral(this.match(c._true));if(t()){return{type:"boolean",pos:s.start,value:s}}return{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;const t=this.parseIdentifier(true);const s=this.eat(c.eq)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:s}}flowEnumCheckExplicitTypeMismatch(e,t,s){const{explicitType:r}=t;if(r===null){return}if(r!==s){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const s=new Set;const r={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let i=false;while(!this.match(c.braceR)){if(this.eat(c.ellipsis)){i=true;break}const n=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.flowEnumErrorInvalidMemberName(a.start,{enumName:e,memberName:l})}if(s.has(l)){this.flowEnumErrorDuplicateMemberName(a.start,{enumName:e,memberName:l})}s.add(l);const p={enumName:e,explicitType:t,memberName:l};n.id=a;switch(o.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"boolean");n.init=o.value;r.booleanMembers.push(this.finishNode(n,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"number");n.init=o.value;r.numberMembers.push(this.finishNode(n,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"string");n.init=o.value;r.stringMembers.push(this.finishNode(n,"EnumStringMember"));break}case"invalid":{throw this.flowEnumErrorInvalidMemberInitializer(o.pos,p)}case"none":{switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.pos,p);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.pos,p);break;default:r.defaultedMembers.push(this.finishNode(n,"EnumDefaultedMember"))}}}if(!this.match(c.braceR)){this.expect(c.comma)}}return{members:r,hasUnknownMembers:i}}flowEnumStringMembers(e,t,{enumName:s}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:s})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:s})}return e}}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual("of")){if(!this.match(c.name)){throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t})}return t}return null}flowEnumBody(e,{enumName:t,nameLoc:s}){const r=this.flowEnumParseExplicitType({enumName:t});this.expect(c.braceL);const{members:i,hasUnknownMembers:n}=this.flowEnumMembers({enumName:t,explicitType:r});e.hasUnknownMembers=n;switch(r){case"boolean":e.explicitType=true;e.members=i.booleanMembers;this.expect(c.braceR);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=i.numberMembers;this.expect(c.braceR);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(c.braceR);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=i.defaultedMembers;this.expect(c.braceR);return this.finishNode(e,"EnumSymbolBody");default:{const r=()=>{e.members=[];this.expect(c.braceR);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const n=i.booleanMembers.length;const a=i.numberMembers.length;const o=i.stringMembers.length;const l=i.defaultedMembers.length;if(!n&&!a&&!o&&!l){return r()}else if(!n&&!a){e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(c.braceR);return this.finishNode(e,"EnumStringBody")}else if(!a&&!o&&n>=l){for(const e of i.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.booleanMembers;this.expect(c.braceR);return this.finishNode(e,"EnumBooleanBody")}else if(!n&&!o&&a>=l){for(const e of i.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.numberMembers;this.expect(c.braceR);return this.finishNode(e,"EnumNumberBody")}else{this.flowEnumErrorInconsistentMemberValues(s,{enumName:t});return r()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start});return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}});const Ue={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"};const We=/^[\da-fA-F]+$/;const qe=/^\d+$/;const He=makeErrorTemplates({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:"Expected corresponding JSX closing tag for <%0>.",MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"},y.SyntaxError);x.j_oTag=new TokContext("...",true);c.jsxName=new TokenType("jsxName");c.jsxText=new TokenType("jsxText",{beforeExpr:true});c.jsxTagStart=new TokenType("jsxTagStart",{startsExpr:true});c.jsxTagEnd=new TokenType("jsxTagEnd");c.jsxTagStart.updateContext=(e=>{e.push(x.j_expr,x.j_oTag)});function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var ze=e=>(class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,He.UnterminatedJsxContent)}const s=this.input.charCodeAt(this.state.pos);switch(s){case 60:case 123:if(this.state.pos===this.state.start){if(s===60&&this.state.exprAllowed){++this.state.pos;return this.finishToken(c.jsxTagStart)}return super.getTokenFromCode(s)}e+=this.input.slice(t,this.state.pos);return this.finishToken(c.jsxText,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(s)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let s;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;s=e?"\n":"\r\n"}else{s=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return s}jsxReadString(e){let t="";let s=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,m.UnterminatedString)}const r=this.input.charCodeAt(this.state.pos);if(r===e)break;if(r===38){t+=this.input.slice(s,this.state.pos);t+=this.jsxReadEntity();s=this.state.pos}else if(isNewLine(r)){t+=this.input.slice(s,this.state.pos);t+=this.jsxReadNewLine(false);s=this.state.pos}else{++this.state.pos}}t+=this.input.slice(s,this.state.pos++);return this.finishToken(c.string,t)}jsxReadEntity(){let e="";let t=0;let s;let r=this.input[this.state.pos];const i=++this.state.pos;while(this.state.pos(class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return this.match(c.name)}tsTokenCanFollowModifier(){return(this.match(c.bracketL)||this.match(c.braceL)||this.match(c.star)||this.match(c.ellipsis)||this.match(c.privateName)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e){if(!this.match(c.name)){return undefined}const t=this.state.value;if(e.indexOf(t)!==-1&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return t}return undefined}tsParseModifiers(e,t,s,r){const i=(t,s,r,i)=>{if(s===r&&e[i]){this.raise(t,Ve.InvalidModifiersOrder,r,i)}};const n=(t,s,r,i)=>{if(e[r]&&s===i||e[i]&&s===r){this.raise(t,Ve.IncompatibleModifiers,r,i)}};for(;;){const a=this.state.start;const o=this.tsParseModifier(t.concat(s!=null?s:[]));if(!o)break;if(tsIsAccessModifier(o)){if(e.accessibility){this.raise(a,Ve.DuplicateAccessibilityModifier)}else{i(a,o,o,"override");i(a,o,o,"static");i(a,o,o,"readonly");e.accessibility=o}}else{if(Object.hasOwnProperty.call(e,o)){this.raise(a,Ve.DuplicateModifier,o)}else{i(a,o,"static","readonly");i(a,o,"static","override");i(a,o,"override","readonly");i(a,o,"abstract","override");n(a,o,"declare","override");n(a,o,"static","abstract")}e[o]=true}if(s!=null&&s.includes(o)){this.raise(a,r,o)}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(c.braceR);case"HeritageClauseElement":return this.match(c.braceL);case"TupleElementTypes":return this.match(c.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const s=[];while(!this.tsIsListTerminator(e)){s.push(t())}return s}tsParseDelimitedList(e,t){return nonNull(this.tsParseDelimitedListWorker(e,t,true))}tsParseDelimitedListWorker(e,t,s){const r=[];for(;;){if(this.tsIsListTerminator(e)){break}const i=t();if(i==null){return undefined}r.push(i);if(this.eat(c.comma)){continue}if(this.tsIsListTerminator(e)){break}if(s){this.expect(c.comma)}return undefined}return r}tsParseBracketedList(e,t,s,r){if(!r){if(s){this.expect(c.bracketL)}else{this.expectRelational("<")}}const i=this.tsParseDelimitedList(e,t);if(s){this.expect(c.bracketR)}else{this.expectRelational(">")}return i}tsParseImportType(){const e=this.startNode();this.expect(c._import);this.expect(c.parenL);if(!this.match(c.string)){this.raise(this.state.start,Ve.UnsupportedImportTypeArgument)}e.argument=this.parseExprAtom();this.expect(c.parenR);if(this.eat(c.dot)){e.qualifier=this.tsParseEntityName(true)}if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();while(this.eat(c.dot)){const s=this.startNodeAtNode(t);s.left=t;s.right=this.parseIdentifier(e);t=this.finishNode(s,"TSQualifiedName")}return t}tsParseTypeReference(){const e=this.startNode();e.typeName=this.tsParseEntityName(false);if(!this.hasPrecedingLineBreak()&&this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(c._typeof);if(this.match(c._import)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName(true)}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();e.name=this.tsParseTypeParameterName();e.constraint=this.tsEatThenParseType(c._extends);e.default=this.tsEatThenParseType(c.eq);return this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<")){return this.tsParseTypeParameters()}}tsParseTypeParameters(){const e=this.startNode();if(this.isRelational("<")||this.match(c.jsxTagStart)){this.next()}else{this.unexpected()}e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),false,true);if(e.params.length===0){this.raise(e.start,Ve.EmptyTypeParameters)}return this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type===c._const){this.next();return this.tsParseTypeReference()}return null}tsFillSignature(e,t){const s=e===c.arrow;t.typeParameters=this.tsTryParseTypeParameters();this.expect(c.parenL);t.parameters=this.tsParseBindingListForSignature();if(s){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(c.parenR,41).map(e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(e.start,Ve.UnsupportedSignatureParameterKind,e.type)}return e})}tsParseTypeMemberSemicolon(){if(!this.eat(c.comma)&&!this.isLineTerminator()){this.expect(c.semi)}}tsParseSignatureMember(e,t){this.tsFillSignature(c.colon,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();return this.eat(c.name)&&this.match(c.colon)}tsTryParseIndexSignature(e){if(!(this.match(c.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(c.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(c.bracketR);e.parameters=[t];const s=this.tsTryParseTypeAnnotation();if(s)e.typeAnnotation=s;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(c.question))e.optional=true;const s=e;if(this.match(c.parenL)||this.isRelational("<")){if(t){this.raise(e.start,Ve.ReadonlyForMethodSignature)}const r=s;if(r.kind&&this.isRelational("<")){this.raise(this.state.pos,Ve.AccesorCannotHaveTypeParameters)}this.tsFillSignature(c.colon,r);this.tsParseTypeMemberSemicolon();if(r.kind==="get"){if(r.parameters.length>0){this.raise(this.state.pos,m.BadGetterArity);if(this.isThisParam(r.parameters[0])){this.raise(this.state.pos,Ve.AccesorCannotDeclareThisParameter)}}}else if(r.kind==="set"){if(r.parameters.length!==1){this.raise(this.state.pos,m.BadSetterArity)}else{const e=r.parameters[0];if(this.isThisParam(e)){this.raise(this.state.pos,Ve.AccesorCannotDeclareThisParameter)}if(e.type==="Identifier"&&e.optional){this.raise(this.state.pos,Ve.SetAccesorCannotHaveOptionalParameter)}if(e.type==="RestElement"){this.raise(this.state.pos,Ve.SetAccesorCannotHaveRestParameter)}}if(r.typeAnnotation){this.raise(r.typeAnnotation.start,Ve.SetAccesorCannotHaveReturnType)}}else{r.kind="method"}return this.finishNode(r,"TSMethodSignature")}else{const e=s;if(t)e.readonly=true;const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(c.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(c._new)){const t=this.startNode();this.next();if(this.match(c.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],Ve.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e,false);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;this.parsePropertyName(e,false)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(c.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(c.braceR);return e}tsIsStartOfMappedType(){this.next();if(this.eat(c.plusMin)){return this.isContextual("readonly")}if(this.isContextual("readonly")){this.next()}if(!this.match(c.bracketL)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(c._in)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.tsParseTypeParameterName();e.constraint=this.tsExpectThenParseType(c._in);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(c.braceL);if(this.match(c.plusMin)){e.readonly=this.state.value;this.next();this.expectContextual("readonly")}else if(this.eatContextual("readonly")){e.readonly=true}this.expect(c.bracketL);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual("as")?this.tsParseType():null;this.expect(c.bracketR);if(this.match(c.plusMin)){e.optional=this.state.value;this.next();this.expect(c.question)}else if(this.eat(c.question)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(c.braceR);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let s=null;e.elementTypes.forEach(e=>{var r;let{type:i}=e;if(t&&i!=="TSRestType"&&i!=="TSOptionalType"&&!(i==="TSNamedTupleMember"&&e.optional)){this.raise(e.start,Ve.OptionalTypeBeforeRequired)}t=t||i==="TSNamedTupleMember"&&e.optional||i==="TSOptionalType";if(i==="TSRestType"){e=e.typeAnnotation;i=e.type}const n=i==="TSNamedTupleMember";s=(r=s)!=null?r:n;if(s!==n){this.raise(e.start,Ve.MixedLabeledAndUnlabeledElements)}});return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const s=this.eat(c.ellipsis);let r=this.tsParseType();const i=this.eat(c.question);const n=this.eat(c.colon);if(n){const e=this.startNodeAtNode(r);e.optional=i;if(r.type==="TSTypeReference"&&!r.typeParameters&&r.typeName.type==="Identifier"){e.label=r.typeName}else{this.raise(r.start,Ve.InvalidTupleMemberLabel);e.label=r}e.elementType=this.tsParseType();r=this.finishNode(e,"TSNamedTupleMember")}else if(i){const e=this.startNodeAtNode(r);e.typeAnnotation=r;r=this.finishNode(e,"TSOptionalType")}if(s){const s=this.startNodeAt(e,t);s.typeAnnotation=r;r=this.finishNode(s,"TSRestType")}return r}tsParseParenthesizedType(){const e=this.startNode();this.expect(c.parenL);e.typeAnnotation=this.tsParseType();this.expect(c.parenR);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const s=this.startNode();if(e==="TSConstructorType"){s.abstract=!!t;if(t)this.next();this.next()}this.tsFillSignature(c.arrow,s);return this.finishNode(s,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case c.num:case c.bigint:case c.string:case c._true:case c._false:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case c.name:case c._void:case c._null:{const e=this.match(c._void)?"TSVoidKeyword":this.match(c._null)?"TSNullKeyword":keywordTypeFromName(this.state.value);if(e!==undefined&&this.lookaheadCharCode()!==46){const t=this.startNode();this.next();return this.finishNode(t,e)}return this.tsParseTypeReference()}case c.string:case c.num:case c.bigint:case c._true:case c._false:return this.tsParseLiteralTypeNode();case c.plusMin:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==c.num&&t.type!==c.bigint){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case c._this:return this.tsParseThisTypeOrThisTypePredicate();case c._typeof:return this.tsParseTypeQuery();case c._import:return this.tsParseImportType();case c.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case c.bracketL:return this.tsParseTupleType();case c.parenL:return this.tsParseParenthesizedType();case c.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(c.bracketL)){if(this.match(c.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(c.bracketR);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(c.bracketR);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(e){const t=this.startNode();this.expectContextual(e);t.operator=e;t.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(e==="readonly"){this.tsCheckTypeAnnotationForReadOnly(t)}return this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,Ve.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();t.name=this.tsParseTypeParameterName();e.typeParameter=this.finishNode(t,"TSTypeParameter");return this.finishNode(e,"TSInferType")}tsParseTypeOperatorOrHigher(){const e=["keyof","unique","readonly"].find(e=>this.isContextual(e));return e?this.tsParseTypeOperator(e):this.isContextual("infer")?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}tsParseUnionOrIntersectionType(e,t,s){const r=this.startNode();const i=this.eat(s);const n=[];do{n.push(t())}while(this.eat(s));if(n.length===1&&!i){return n[0]}r.types=n;return this.finishNode(r,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),c.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),c.bitwiseOR)}tsIsStartOfFunctionType(){if(this.isRelational("<")){return true}return this.match(c.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(c.name)||this.match(c._this)){this.next();return true}if(this.match(c.braceL)){let e=1;this.next();while(e>0){if(this.match(c.braceL)){++e}else if(this.match(c.braceR)){--e}this.next()}return true}if(this.match(c.bracketL)){let e=1;this.next();while(e>0){if(this.match(c.bracketL)){++e}else if(this.match(c.bracketR)){--e}this.next()}return true}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(c.parenR)||this.match(c.ellipsis)){return true}if(this.tsSkipParameterStart()){if(this.match(c.colon)||this.match(c.comma)||this.match(c.question)||this.match(c.eq)){return true}if(this.match(c.parenR)){this.next();if(this.match(c.arrow)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const s=this.startNode();const r=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(r&&this.match(c._this)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){s.parameterName=e;s.asserts=true;s.typeAnnotation=null;e=this.finishNode(s,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,s);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i){if(!r){return this.tsParseTypeAnnotation(false,t)}s.parameterName=this.parseIdentifier();s.asserts=r;s.typeAnnotation=null;t.typeAnnotation=this.finishNode(s,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const n=this.tsParseTypeAnnotation(false);s.parameterName=i;s.typeAnnotation=n;s.asserts=r;t.typeAnnotation=this.finishNode(s,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(c.colon)?this.tsParseTypeOrTypePredicateAnnotation(c.colon):undefined}tsTryParseTypeAnnotation(){return this.match(c.colon)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(c.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(!this.match(c.name)||this.state.value!=="asserts"||this.hasPrecedingLineBreak()){return false}const e=this.state.containsEsc;this.next();if(!this.match(c.name)&&!this.match(c._this)){return false}if(e){this.raise(this.state.lastTokStart,m.InvalidEscapedReservedWord,"asserts")}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType(()=>{if(e)this.expect(c.colon);t.typeAnnotation=this.tsParseType()});return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(c._extends)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsParseNonConditionalType();this.expect(c.question);t.trueType=this.tsParseType();this.expect(c.colon);t.falseType=this.tsParseType();return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual("abstract")&&this.lookahead().type===c._new}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(c._new)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expectRelational(">");e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start;const s=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));if(!s.length){this.raise(t,Ve.EmptyHeritageClauseType,e)}return s}tsParseExpressionWithTypeArguments(){const e=this.startNode();e.expression=this.tsParseEntityName(false);if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){if(this.match(c.name)){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript interface declaration",re)}else{e.id=null;this.raise(this.state.start,Ve.MissingInterfaceName)}e.typeParameters=this.tsTryParseTypeParameters();if(this.eat(c._extends)){e.extends=this.tsParseHeritageClause("extends")}const t=this.startNode();t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(t,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript type alias",ie);e.typeParameters=this.tsTryParseTypeParameters();e.typeAnnotation=this.tsInType(()=>{this.expect(c.eq);if(this.isContextual("intrinsic")&&this.lookahead().type!==c.dot){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()});this.semicolon();return this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){const t=this.state.inType;this.state.inType=true;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>{e();return this.tsParseType()})}tsParseEnumMember(){const e=this.startNode();e.id=this.match(c.string)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(c.eq)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){if(t)e.const=true;e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript enum declaration",t?ce:ne);this.expect(c.braceL);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(c.braceR);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(S);this.expect(c.braceL);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,c.braceR);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkLVal(e.id,"module or namespace declaration",pe)}if(this.eat(c.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(U);this.prodParam.enter(je);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual("global")){e.global=true;e.id=this.parseIdentifier()}else if(this.match(c.string)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(c.braceL)){this.scope.enter(U);this.prodParam.enter(je);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkLVal(e.id,"import equals declaration",ee);this.expect(c.eq);const s=this.tsParseModuleReference();if(e.importKind==="type"&&s.type!=="TSExternalModuleReference"){this.raise(s.start,Ve.ImportAliasHasImportType)}e.moduleReference=s;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual("require");this.expect(c.parenL);if(!this.match(c.string)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(c.parenR);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const s=e();this.state=t;return s}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const s=e();if(s!==undefined&&s!==false){return s}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let s;if(this.isContextual("let")){t=c._var;s="let"}return this.tsInAmbientContext(()=>{switch(t){case c._function:e.declare=true;return this.parseFunctionStatement(e,false,true);case c._class:e.declare=true;return this.parseClass(e,true,false);case c._const:if(this.match(c._const)&&this.isLookaheadContextual("enum")){this.expect(c._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}case c._var:s=s||this.state.value;return this.parseVarStatement(e,s);case c.name:{const t=this.state.value;if(t==="global"){return this.tsParseAmbientExternalModuleDeclaration(e)}else{return this.tsParseDeclaration(e,t,true)}}}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(c.braceL)){this.scope.enter(U);this.prodParam.enter(je);const s=e;s.global=true;s.id=t;s.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(s,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,s){switch(t){case"abstract":if(this.tsCheckLineTerminator(s)&&(this.match(c._class)||this.match(c.name))){return this.tsParseAbstractDeclaration(e)}break;case"enum":if(s||this.match(c.name)){if(s)this.next();return this.tsParseEnumDeclaration(e,false)}break;case"interface":if(this.tsCheckLineTerminator(s)&&this.match(c.name)){return this.tsParseInterfaceDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(s)){if(this.match(c.string)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(this.match(c.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(s)&&this.match(c.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(s)&&this.match(c.name)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<")){return undefined}const s=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const r=this.tsTryParseAndCatch(()=>{const s=this.startNodeAt(e,t);s.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(s);s.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(c.arrow);return s});this.state.maybeInArrowParameters=s;if(!r){return undefined}return this.parseArrowExpression(r,null,true)}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType(()=>this.tsInNoContext(()=>{this.expectRelational("<");return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}));if(e.params.length===0){this.raise(e.start,Ve.EmptyTypeArguments)}this.expectRelational(">");return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(c.name)){switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return true}}return false}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const s=this.state.start;const r=this.state.startLoc;let i;let n=false;let a=false;if(e!==undefined){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]);i=t.accessibility;a=t.override;n=t.readonly;if(e===false&&(i||n||a)){this.raise(s,Ve.UnexpectedParameterModifier)}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(i||n||a){const e=this.startNodeAt(s,r);if(t.length){e.decorators=t}if(i)e.accessibility=i;if(n)e.readonly=n;if(a)e.override=a;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(e.start,Ve.UnsupportedParameterPropertyKind)}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}parseFunctionBodyAndFinish(e,t,s=false){if(this.match(c.colon)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(c.colon)}const r=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"?"TSDeclareMethod":undefined;if(r&&!this.match(c.braceL)&&this.isLineTerminator()){this.finishNode(e,r);return}if(r==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(e.start,Ve.DeclareFunctionHasImplementation);if(e.declare){super.parseFunctionBodyAndFinish(e,r,s);return}}super.parseFunctionBodyAndFinish(e,t,s)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkLVal(e.id,"function name",ae)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(e.typeAnnotation.start,Ve.UnexpectedTypeAnnotation)}})}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,s,r,i){if(!this.hasPrecedingLineBreak()&&this.match(c.bang)){this.state.exprAllowed=false;this.next();const r=this.startNodeAt(t,s);r.expression=e;return this.finishNode(r,"TSNonNullExpression")}let n=false;if(this.match(c.questionDot)&&this.lookaheadCharCode()===60){if(r){i.stop=true;return e}i.optionalChainMember=n=true;this.next()}if(this.isRelational("<")){let a;const o=this.tsTryParseAndCatch(()=>{if(!r&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,s);if(e){return e}}const o=this.startNodeAt(t,s);o.callee=e;const l=this.tsParseTypeArguments();if(l){if(n&&!this.match(c.parenL)){a=this.state.pos;this.unexpected()}if(!r&&this.eat(c.parenL)){o.arguments=this.parseCallExpressionArguments(c.parenR,false);this.tsCheckForInvalidTypeCasts(o.arguments);o.typeParameters=l;if(i.optionalChainMember){o.optional=n}return this.finishCallExpression(o,i.optionalChainMember)}else if(this.match(c.backQuote)){const r=this.parseTaggedTemplateExpression(e,t,s,i);r.typeParameters=l;return r}}this.unexpected()});if(a){this.unexpected(a,c.parenL)}if(o)return o}return super.parseSubscript(e,t,s,r,i)}parseNewArguments(e){if(this.isRelational("<")){const t=this.tsTryParseAndCatch(()=>{const e=this.tsParseTypeArguments();if(!this.match(c.parenL))this.unexpected();return e});if(t){e.typeParameters=t}}super.parseNewArguments(e)}parseExprOp(e,t,s,r){if(nonNull(c._in.binop)>r&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const i=this.startNodeAt(t,s);i.expression=e;const n=this.tsTryNextParseConstantContext();if(n){i.typeAnnotation=n}else{i.typeAnnotation=this.tsNextThenParseType()}this.finishNode(i,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(i,t,s,r)}return super.parseExprOp(e,t,s,r)}checkReservedWord(e,t,s,r){}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(this.match(c.name)||this.match(c.star)||this.match(c.braceL)){let t=this.lookahead();if(this.isContextual("type")&&t.type!==c.comma&&!(t.type===c.name&&t.value==="from")&&t.type!==c.eq){e.importKind="type";this.next();t=this.lookahead()}if(this.match(c.name)&&t.type===c.eq){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(t.start,Ve.TypeImportCannotSpecifyDefaultAndNamed)}return t}parseExport(e){if(this.match(c._import)){this.next();if(this.isContextual("type")&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(c.eq)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual("as")){const t=e;this.expectContextual("namespace");t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual("type")&&this.lookahead().type===c.braceL){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===c._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.state.value==="interface"){const e=this.startNode();this.next();const t=this.tsParseInterfaceDeclaration(e);if(t)return t}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===c._const){const e=this.lookahead();if(e.type===c.name&&e.value==="enum"){const e=this.startNode();this.expect(c._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!e[t]})}parseClassMember(e,t,s){const r=["declare","private","public","protected","override","abstract","readonly"];this.tsParseModifiers(t,r.concat(["static"]));const i=()=>{const i=!!t.static;if(i&&this.eat(c.braceL)){if(this.tsHasSomeModifiers(t,r)){this.raise(this.state.pos,Ve.StaticBlockCannotHaveModifier)}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,s,i)}};if(t.declare){this.tsInAmbientContext(i)}else{i()}}parseClassMemberWithIsStatic(e,t,s,r){const i=this.tsTryParseIndexSignature(t);if(i){e.body.push(i);if(t.abstract){this.raise(t.start,Ve.IndexSignatureHasAbstract)}if(t.accessibility){this.raise(t.start,Ve.IndexSignatureHasAccessibility,t.accessibility)}if(t.declare){this.raise(t.start,Ve.IndexSignatureHasDeclare)}if(t.override){this.raise(t.start,Ve.IndexSignatureHasOverride)}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(t.start,Ve.NonAbstractClassHasAbstractMethod)}if(t.override){if(!s.hadSuperClass){this.raise(t.start,Ve.OverrideNotInSubClass)}}super.parseClassMemberWithIsStatic(e,t,s,r)}parsePostMemberNameModifiers(e){const t=this.eat(c.question);if(t)e.optional=true;if(e.readonly&&this.match(c.parenL)){this.raise(e.start,Ve.ClassMethodHasReadonly)}if(e.declare&&this.match(c.parenL)){this.raise(e.start,Ve.ClassMethodHasDeclare)}}parseExpressionStatement(e,t){const s=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return s||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,s,r){if(!this.state.maybeInArrowParameters||!this.match(c.question)){return super.parseConditional(e,t,s,r)}const i=this.tryParse(()=>super.parseConditional(e,t,s));if(!i.node){if(i.error){super.setOptionalParametersError(r,i.error)}return e}if(i.error)this.state=i.failState;return i.node}parseParenItem(e,t,s){e=super.parseParenItem(e,t,s);if(this.eat(c.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(c.colon)){const r=this.startNodeAt(t,s);r.expression=e;r.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(r,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start;const s=this.state.startLoc;const r=this.eatContextual("declare");if(r&&(this.isContextual("declare")||!this.shouldParseExportDeclaration())){throw this.raise(this.state.start,Ve.ExpectedAmbientAfterExportDeclare)}let i;if(this.match(c.name)){i=this.tsTryParseExportDeclaration()}if(!i){i=super.parseExportDeclaration(e)}if(i&&(i.type==="TSInterfaceDeclaration"||i.type==="TSTypeAliasDeclaration"||r)){e.exportKind="type"}if(i&&r){this.resetStartLocation(i,t,s);i.declare=true}return i}parseClassId(e,t,s){if((!t||s)&&this.isContextual("implements")){return}super.parseClassId(e,t,s,e.declare?ae:Z);const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(c.bang)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(c.eq)){this.raise(this.state.start,Ve.DeclareClassFieldHasInitializer)}if(e.abstract&&this.match(c.eq)){const{key:t}=e;this.raise(this.state.start,Ve.AbstractPropertyHasInitializer,t.type==="Identifier"&&!e.computed?t.name:`[${this.input.slice(t.start,t.end)}]`)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(e.start,Ve.PrivateElementHasAbstract)}if(e.accessibility){this.raise(e.start,Ve.PrivateElementHasAccessibility,e.accessibility)}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,s,r,i,n){const a=this.tsTryParseTypeParameters();if(a&&i){this.raise(a.start,Ve.ConstructorHasTypeParameters)}if(t.declare&&(t.kind==="get"||t.kind==="set")){this.raise(t.start,Ve.DeclareAccessor,t.kind)}if(a)t.typeParameters=a;super.pushClassMethod(e,t,s,r,i,n)}pushClassPrivateMethod(e,t,s,r){const i=this.tsTryParseTypeParameters();if(i)t.typeParameters=i;super.pushClassPrivateMethod(e,t,s,r)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.tsParseTypeArguments()}if(this.eatContextual("implements")){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const s=this.tsTryParseTypeParameters();if(s)e.typeParameters=s;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const s=this.tsTryParseTypeParameters();if(s)e.typeParameters=s;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&this.eat(c.bang)){e.definite=true}const s=this.tsTryParseTypeAnnotation();if(s){e.id.typeAnnotation=s;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(c.colon)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,s,r,i,n,a,o;let l;let p;let u;if(this.hasPlugin("jsx")&&(this.match(c.jsxTagStart)||this.isRelational("<"))){l=this.state.clone();p=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!p.error)return p.node;const{context:t}=this.state;if(t[t.length-1]===x.j_oTag){t.length-=2}else if(t[t.length-1]===x.j_expr){t.length-=1}}if(!((t=p)!=null&&t.error)&&!this.isRelational("<")){return super.parseMaybeAssign(...e)}let h;l=l||this.state.clone();const f=this.tryParse(t=>{var s,r;h=this.tsParseTypeParameters();const i=super.parseMaybeAssign(...e);if(i.type!=="ArrowFunctionExpression"||(s=i.extra)!=null&&s.parenthesized){t()}if(((r=h)==null?void 0:r.params.length)!==0){this.resetStartLocationFromNode(i,h)}i.typeParameters=h;return i},l);if(!f.error&&!f.aborted)return f.node;if(!p){assert(!this.hasPlugin("jsx"));u=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!u.error)return u.node}if((s=p)!=null&&s.node){this.state=p.failState;return p.node}if(f.node){this.state=f.failState;return f.node}if((r=u)!=null&&r.node){this.state=u.failState;return u.node}if((i=p)!=null&&i.thrown)throw p.error;if(f.thrown)throw f.error;if((n=u)!=null&&n.thrown)throw u.error;throw((a=p)==null?void 0:a.error)||f.error||((o=u)==null?void 0:o.error)}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.isRelational("<")){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(c.colon)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(c.colon);if(this.canInsertSemicolon()||!this.match(c.arrow))e();return t});if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(c.question)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(e.start,Ve.PatternIsOptional)}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}isAssignable(e,t){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,t);case"TSParameterProperty":return true;default:return super.isAssignable(e,t)}}toAssignable(e,t=false){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...s){var r;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...s);return;case"TSAsExpression":case"TSTypeAssertion":if(!s[0]&&t!=="parenthesized expression"&&!((r=e.extra)!=null&&r.parenthesized)){this.raise(e.start,m.InvalidLhs,t);break}this.checkLVal(e.expression,"parenthesized expression",...s);return;case"TSNonNullExpression":this.checkLVal(e.expression,t,...s);return;default:super.checkLVal(e,t,...s);return}}parseBindingAtom(){switch(this.state.type){case c._this:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(c.parenL)){const s=super.parseMaybeDecoratorArguments(e);s.typeParameters=t;return s}this.unexpected(this.state.start,c.parenL)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(c.comma)&&this.lookaheadCharCode()===e){this.next()}else{super.checkCommaAfterRest(e)}}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(c.bang)||this.match(c.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.startthis.isAssignable(e,true))}return super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(c.colon)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.isRelational("<")){const t=this.tsTryParseAndCatch(()=>this.tsParseTypeArguments());if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const s=this.getObjectOrClassMethodParams(e);const r=s[0];const i=r&&this.isThisParam(r);return i?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,...t){const s=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,...t)}finally{this.state.inAbstractClass=s}}tsParseAbstractDeclaration(e){if(this.match(c._class)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual("interface")){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(e.start,Ve.NonClassMethodPropertyHasAbstractModifer);this.next();return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,c._class)}}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(t.start,Ve.AbstractMethodHasImplementation,e.type==="Identifier"&&!t.computed?e.name:`[${this.input.slice(e.start,e.end)}]`)}}return t}tsParseTypeParameterName(){const e=this.parseIdentifier();return e.name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}});c.placeholder=new TokenType("%%",{startsExpr:true});const $e=makeErrorTemplates({ClassNameIsRequired:"A class name is required."},y.SyntaxError);var Ge=e=>(class extends e{parsePlaceholder(e){if(this.match(c.placeholder)){const t=this.startNode();this.next();this.assertNoSpace("Unexpected space in placeholder.");t.name=super.parseIdentifier(true);this.assertNoSpace("Unexpected space in placeholder.");this.expect(c.placeholder);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const s=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return s?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(c.placeholder,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){if(e.type!=="Placeholder")super.checkLVal(...arguments)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern";return e}return super.toAssignable(...arguments)}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual("let")){return false}if(e)return false;const t=this.lookahead();if(t.type===c.placeholder){return true}return false}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(c.colon)){const s=e;s.label=this.finishPlaceholder(t,"Identifier");this.next();s.body=this.parseStatement("label");return this.finishNode(s,"LabeledStatement")}this.semicolon();e.name=t.name;return this.finishPlaceholder(e,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(e,t,s){const r=t?"ClassDeclaration":"ClassExpression";this.next();this.takeDecorators(e);const i=this.state.strict;const n=this.parsePlaceholder("Identifier");if(n){if(this.match(c._extends)||this.match(c.placeholder)||this.match(c.braceL)){e.id=n}else if(s||!t){e.id=null;e.body=this.finishPlaceholder(n,"ClassBody");return this.finishNode(e,r)}else{this.unexpected(null,$e.ClassNameIsRequired)}}else{this.parseClassId(e,t,s)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,i);return this.finishNode(e,r)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(c.comma)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const s=this.startNode();s.exported=t;e.specifiers=[this.finishNode(s,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(c._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(c.placeholder.label,this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter(e=>e.exported.type==="Placeholder")}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual("from")&&!this.match(c.comma)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const s=this.startNodeAtNode(t);s.local=t;this.finishNode(s,"ImportDefaultSpecifier");e.specifiers.push(s);if(this.eat(c.comma)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual("from");e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}});var Je=e=>(class extends e{parseV8Intrinsic(){if(this.match(c.modulo)){const e=this.state.start;const t=this.startNode();this.eat(c.modulo);if(this.match(c.name)){const e=this.parseIdentifierName(this.state.start);const s=this.createIdentifier(t,e);s.type="V8IntrinsicIdentifier";if(this.match(c.parenL)){return s}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}});function hasPlugin(e,t){return e.some(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}})}function getPluginOption(e,t,s){const r=e.find(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}});if(r&&Array.isArray(r)){return r[1][s]}return null}const Xe=["minimal","fsharp","hack","smart"];const Ye=["%","#"];const Qe=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option,"+" whose value must be a boolean. If you are migrating from"+" Babylon/Babel 6 or want to use the old decorators proposal, you"+" should use the 'decorators-legacy' plugin instead of 'decorators'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")){const t=getPluginOption(e,"pipelineOperator","proposal");if(!Xe.includes(t)){const e=Xe.map(e=>`"${e}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}const s=hasPlugin(e,"recordAndTuple")&&getPluginOption(e,"recordAndTuple","syntaxType")==="hash";if(t==="hack"){if(hasPlugin(e,"placeholders")){throw new Error("Cannot combine placeholders plugin and Hack-style pipes.")}if(hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.")}const t=getPluginOption(e,"pipelineOperator","topicToken");if(!Ye.includes(t)){const e=Ye.map(e=>`"${e}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${e}.`)}if(t==="#"&&s){throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}}else if(t==="smart"&&s){throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}}if(hasPlugin(e,"recordAndTuple")&&!Qe.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Qe.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const Ze={estree:b,jsx:ze,flow:Be,typescript:Ke,v8intrinsic:Je,placeholders:Ge};const et=Object.keys(Ze);const tt={sourceType:"script",sourceFilename:undefined,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false,attachComment:true};function getOptions(e){const t={};for(const s of Object.keys(tt)){t[s]=e&&e[s]!=null?e[s]:tt[s]}return t}const st=e=>{return e.type==="ParenthesizedExpression"?st(e.expression):e};class LValParser extends NodeUtils{toAssignable(e,t=false){var s,r;let i=undefined;if(e.type==="ParenthesizedExpression"||(s=e.extra)!=null&&s.parenthesized){i=st(e);if(t){if(i.type==="Identifier"){this.expressionScope.recordParenthesizedIdentifierError(e.start,m.InvalidParenthesizedAssignment)}else if(i.type!=="MemberExpression"){this.raise(e.start,m.InvalidParenthesizedAssignment)}}else{this.raise(e.start,m.InvalidParenthesizedAssignment)}}switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(let s=0,r=e.properties.length,i=r-1;s{return e.type!=="ObjectMethod"&&(s===t||e.type!=="SpreadElement")&&this.isAssignable(e)})}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every(e=>e===null||this.isAssignable(e));case"AssignmentExpression":return e.operator==="=";case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return false}}toReferencedList(e,t){return e}toReferencedListDeep(e,t){this.toReferencedList(e,t);for(const t of e){if((t==null?void 0:t.type)==="ArrayExpression"){this.toReferencedListDeep(t.elements)}}}parseSpread(e,t){const s=this.startNode();this.next();s.argument=this.parseMaybeAssignAllowIn(e,undefined,t);return this.finishNode(s,"SpreadElement")}parseRestBinding(){const e=this.startNode();this.next();e.argument=this.parseBindingAtom();return this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case c.bracketL:{const e=this.startNode();this.next();e.elements=this.parseBindingList(c.bracketR,93,true);return this.finishNode(e,"ArrayPattern")}case c.braceL:return this.parseObjectLike(c.braceR,true)}return this.parseIdentifier()}parseBindingList(e,t,s,r){const i=[];let n=true;while(!this.eat(e)){if(n){n=false}else{this.expect(c.comma)}if(s&&this.match(c.comma)){i.push(null)}else if(this.eat(e)){break}else if(this.match(c.ellipsis)){i.push(this.parseAssignableListItemTypes(this.parseRestBinding()));this.checkCommaAfterRest(t);this.expect(e);break}else{const e=[];if(this.match(c.at)&&this.hasPlugin("decorators")){this.raise(this.state.start,m.UnsupportedParameterDecorator)}while(this.match(c.at)){e.push(this.parseDecorator())}i.push(this.parseAssignableListItem(r,e))}}return i}parseAssignableListItem(e,t){const s=this.parseMaybeDefault();this.parseAssignableListItemTypes(s);const r=this.parseMaybeDefault(s.start,s.loc.start,s);if(t.length){s.decorators=t}return r}parseAssignableListItemTypes(e){return e}parseMaybeDefault(e,t,s){var r,i,n;t=(r=t)!=null?r:this.state.startLoc;e=(i=e)!=null?i:this.state.start;s=(n=s)!=null?n:this.parseBindingAtom();if(!this.eat(c.eq))return s;const a=this.startNodeAt(e,t);a.left=s;a.right=this.parseMaybeAssignAllowIn();return this.finishNode(a,"AssignmentPattern")}checkLVal(e,t,s=oe,r,i,n=false){switch(e.type){case"Identifier":{const{name:t}=e;if(this.state.strict&&(n?isStrictBindReservedWord(t,this.inModule):isStrictBindOnlyReservedWord(t))){this.raise(e.start,s===oe?m.StrictEvalArguments:m.StrictEvalArgumentsBinding,t)}if(r){if(r.has(t)){this.raise(e.start,m.ParamDupe)}else{r.add(t)}}if(i&&t==="let"){this.raise(e.start,m.LetInLexicalBinding)}if(!(s&oe)){this.scope.declareName(t,s,e.start)}break}case"MemberExpression":if(s!==oe){this.raise(e.start,m.InvalidPropertyBindingPattern)}break;case"ObjectPattern":for(let t of e.properties){if(this.isObjectProperty(t))t=t.value;else if(this.isObjectMethod(t))continue;this.checkLVal(t,"object destructuring pattern",s,r,i)}break;case"ArrayPattern":for(const t of e.elements){if(t){this.checkLVal(t,"array destructuring pattern",s,r,i)}}break;case"AssignmentPattern":this.checkLVal(e.left,"assignment pattern",s,r);break;case"RestElement":this.checkLVal(e.argument,"rest element",s,r);break;case"ParenthesizedExpression":this.checkLVal(e.expression,"parenthesized expression",s,r);break;default:{this.raise(e.start,s===oe?m.InvalidLhs:m.InvalidLhsBinding,t)}}}checkToRestConversion(e){if(e.argument.type!=="Identifier"&&e.argument.type!=="MemberExpression"){this.raise(e.argument.start,m.InvalidRestAssignmentPattern)}}checkCommaAfterRest(e){if(this.match(c.comma)){if(this.lookaheadCharCode()===e){this.raiseTrailingCommaAfterRest(this.state.start)}else{this.raiseRestNotLast(this.state.start)}}}raiseRestNotLast(e){throw this.raise(e,m.ElementAfterRest)}raiseTrailingCommaAfterRest(e){this.raise(e,m.RestTrailingComma)}}class ExpressionParser extends LValParser{checkProto(e,t,s,r){if(e.type==="SpreadElement"||this.isObjectMethod(e)||e.computed||e.shorthand){return}const i=e.key;const n=i.type==="Identifier"?i.name:i.value;if(n==="__proto__"){if(t){this.raise(i.start,m.RecordNoProto);return}if(s.used){if(r){if(r.doubleProto===-1){r.doubleProto=i.start}}else{this.raise(i.start,m.DuplicateProto)}}s.used=true}}shouldExitDescending(e,t){return e.type==="ArrowFunctionExpression"&&e.start===t}getExpression(){this.enterInitialScopes();this.nextToken();const e=this.parseExpression();if(!this.match(c.eof)){this.unexpected()}this.finalizeRemainingComments();e.comments=this.state.comments;e.errors=this.state.errors;if(this.options.tokens){e.tokens=this.tokens}return e}parseExpression(e,t){if(e){return this.disallowInAnd(()=>this.parseExpressionBase(t))}return this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start;const s=this.state.startLoc;const r=this.parseMaybeAssign(e);if(this.match(c.comma)){const i=this.startNodeAt(t,s);i.expressions=[r];while(this.eat(c.comma)){i.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(i.expressions);return this.finishNode(i,"SequenceExpression")}return r}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd(()=>this.parseMaybeAssign(e,t))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd(()=>this.parseMaybeAssign(e,t))}setOptionalParametersError(e,t){var s;e.optionalParameters=(s=t==null?void 0:t.pos)!=null?s:this.state.start}parseMaybeAssign(e,t){const s=this.state.start;const r=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,s,r)}return e}}let i;if(e){i=false}else{e=new ExpressionErrors;i=true}if(this.match(c.parenL)||this.match(c.name)){this.state.potentialArrowAt=this.state.start}let n=this.parseMaybeConditional(e);if(t){n=t.call(this,n,s,r)}if(this.state.type.isAssign){const t=this.startNodeAt(s,r);const i=this.state.value;t.operator=i;const a=n.type==="BinaryExpression"&&n.operator==="|>"&&this.getPluginOption("pipelineOperator","proposal")==="hack";if(a){throw this.raise(this.state.start,m.PipeBodyIsTighter,i)}if(this.match(c.eq)){t.left=this.toAssignable(n,true);e.doubleProto=-1}else{t.left=n}if(e.shorthandAssign>=t.left.start){e.shorthandAssign=-1}this.checkLVal(n,"assignment expression");this.next();t.right=this.parseMaybeAssign();return this.finishNode(t,"AssignmentExpression")}else if(i){this.checkExpressionErrors(e,true)}return n}parseMaybeConditional(e){const t=this.state.start;const s=this.state.startLoc;const r=this.state.potentialArrowAt;const i=this.parseExprOps(e);if(this.shouldExitDescending(i,r)){return i}return this.parseConditional(i,t,s,e)}parseConditional(e,t,s,r){if(this.eat(c.question)){const r=this.startNodeAt(t,s);r.test=e;r.consequent=this.parseMaybeAssignAllowIn();this.expect(c.colon);r.alternate=this.parseMaybeAssign();return this.finishNode(r,"ConditionalExpression")}return e}parseExprOps(e){const t=this.state.start;const s=this.state.startLoc;const r=this.state.potentialArrowAt;const i=this.parseMaybeUnary(e);if(this.shouldExitDescending(i,r)){return i}return this.parseExprOp(i,t,s,-1)}parseExprOp(e,t,s,r){let i=this.state.type.binop;if(i!=null&&(this.prodParam.hasIn||!this.match(c._in))){if(i>r){const n=this.state.type;if(n===c.pipeline){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,s);a.left=e;a.operator=this.state.value;const o=n===c.logicalOR||n===c.logicalAND;const l=n===c.nullishCoalescing;if(l){i=c.logicalAND.binop}this.next();if(n===c.pipeline&&this.getPluginOption("pipelineOperator","proposal")==="minimal"){if(this.match(c.name)&&this.state.value==="await"&&this.prodParam.hasAwait){throw this.raise(this.state.start,m.UnexpectedAwaitAfterPipelineBody)}}a.right=this.parseExprOpRightExpr(n,i);this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");const p=this.state.type;if(l&&(p===c.logicalOR||p===c.logicalAND)||o&&p===c.nullishCoalescing){throw this.raise(this.state.start,m.MixingCoalesceWithLogical)}return this.parseExprOp(a,t,s,r)}}return e}parseExprOpRightExpr(e,t){const s=this.state.start;const r=this.state.startLoc;switch(e){case c.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>{const r=this.parseHackPipeBody(e,t);this.checkHackPipeBodyEarlyErrors(s);return r});case"smart":return this.withTopicBindingContext(()=>{const i=this.parseHackPipeBody(e,t);return this.parseSmartPipelineBodyInStyle(i,s,r)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(t)})}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const s=this.state.start;const r=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),s,r,e.rightAssociative?t-1:t)}parseHackPipeBody(e,t){const s=this.prodParam.hasYield;const r=s&&this.isContextual("yield");if(r){throw this.raise(this.state.start,m.PipeBodyIsTighter,this.state.value)}else{return this.parseExprOpBaseRightExpr(e,t)}}checkExponentialAfterUnary(e){if(this.match(c.exponent)){this.raise(e.argument.start,m.UnexpectedTokenUnaryExponentiation)}}parseMaybeUnary(e,t){const s=this.state.start;const r=this.state.startLoc;const i=this.isContextual("await");if(i&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(s,r);if(!t)this.checkExponentialAfterUnary(e);return e}const n=this.match(c.incDec);const a=this.startNode();if(this.state.type.prefix){a.operator=this.state.value;a.prefix=true;if(this.match(c._throw)){this.expectPlugin("throwExpressions")}const s=this.match(c._delete);this.next();a.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&s){const e=a.argument;if(e.type==="Identifier"){this.raise(a.start,m.StrictDelete)}else if(this.hasPropertyAsPrivateName(e)){this.raise(a.start,m.DeletePrivateField)}}if(!n){if(!t)this.checkExponentialAfterUnary(a);return this.finishNode(a,"UnaryExpression")}}const o=this.parseUpdate(a,n,e);if(i){const e=this.hasPlugin("v8intrinsic")?this.state.type.startsExpr:this.state.type.startsExpr&&!this.match(c.modulo);if(e&&!this.isAmbiguousAwait()){this.raiseOverwrite(s,m.AwaitNotInAsyncContext);return this.parseAwait(s,r)}}return o}parseUpdate(e,t,s){if(t){this.checkLVal(e.argument,"prefix operation");return this.finishNode(e,"UpdateExpression")}const r=this.state.start;const i=this.state.startLoc;let n=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,false))return n;while(this.state.type.postfix&&!this.canInsertSemicolon()){const e=this.startNodeAt(r,i);e.operator=this.state.value;e.prefix=false;e.argument=n;this.checkLVal(n,"postfix operation");this.next();n=this.finishNode(e,"UpdateExpression")}return n}parseExprSubscripts(e){const t=this.state.start;const s=this.state.startLoc;const r=this.state.potentialArrowAt;const i=this.parseExprAtom(e);if(this.shouldExitDescending(i,r)){return i}return this.parseSubscripts(i,t,s)}parseSubscripts(e,t,s,r){const i={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,s,r,i);i.maybeAsyncArrow=false}while(!i.stop);return e}parseSubscript(e,t,s,r,i){if(!r&&this.eat(c.doubleColon)){return this.parseBind(e,t,s,r,i)}else if(this.match(c.backQuote)){return this.parseTaggedTemplateExpression(e,t,s,i)}let n=false;if(this.match(c.questionDot)){if(r&&this.lookaheadCharCode()===40){i.stop=true;return e}i.optionalChainMember=n=true;this.next()}if(!r&&this.match(c.parenL)){return this.parseCoverCallAndAsyncArrowHead(e,t,s,i,n)}else if(n||this.match(c.bracketL)||this.eat(c.dot)){return this.parseMember(e,t,s,i,n)}else{i.stop=true;return e}}parseMember(e,t,s,r,i){const n=this.startNodeAt(t,s);const a=this.eat(c.bracketL);n.object=e;n.computed=a;const o=!a&&this.match(c.privateName)&&this.state.value;const l=a?this.parseExpression():o?this.parsePrivateName():this.parseIdentifier(true);if(o!==false){if(n.object.type==="Super"){this.raise(t,m.SuperPrivateField)}this.classScope.usePrivateName(o,l.start)}n.property=l;if(a){this.expect(c.bracketR)}if(r.optionalChainMember){n.optional=i;return this.finishNode(n,"OptionalMemberExpression")}else{return this.finishNode(n,"MemberExpression")}}parseBind(e,t,s,r,i){const n=this.startNodeAt(t,s);n.object=e;n.callee=this.parseNoCallExpr();i.stop=true;return this.parseSubscripts(this.finishNode(n,"BindExpression"),t,s,r)}parseCoverCallAndAsyncArrowHead(e,t,s,r,i){const n=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,s);o.callee=e;if(r.maybeAsyncArrow){this.expressionScope.enter(newAsyncArrowScope());a=new ExpressionErrors}if(r.optionalChainMember){o.optional=i}if(i){o.arguments=this.parseCallExpressionArguments(c.parenR)}else{o.arguments=this.parseCallExpressionArguments(c.parenR,e.type==="Import",e.type!=="Super",o,a)}this.finishCallExpression(o,r.optionalChainMember);if(r.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!i){r.stop=true;this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,s),o)}else{if(r.maybeAsyncArrow){this.checkExpressionErrors(a,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=n;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,s,r){const i=this.startNodeAt(t,s);i.tag=e;i.quasi=this.parseTemplate(true);if(r.optionalChainMember){this.raise(t,m.OptionalChainingNoTemplate)}return this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(e.start,m.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument")}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(t.start,m.ImportCallSpreadArgument)}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,s,r,i){const n=[];let a=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(a){a=false}else{this.expect(c.comma);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(this.state.lastTokStart,m.ImportCallArgumentTrailingComma)}if(r){this.addExtra(r,"trailingComma",this.state.lastTokStart)}this.next();break}}n.push(this.parseExprListItem(false,i,s))}this.state.inFSharpPipelineDirectBody=o;return n}shouldParseAsyncArrow(){return this.match(c.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var s;this.resetPreviousNodeTrailingComments(t);this.expect(c.arrow);this.parseArrowExpression(e,t.arguments,true,(s=t.extra)==null?void 0:s.trailingComma);setInnerComments(e,t.innerComments);setInnerComments(e,t.callee.trailingComments);return e}parseNoCallExpr(){const e=this.state.start;const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,true)}parseExprAtom(e){let t;switch(this.state.type){case c._super:return this.parseSuper();case c._import:t=this.startNode();this.next();if(this.match(c.dot)){return this.parseImportMetaProperty(t)}if(!this.match(c.parenL)){this.raise(this.state.lastTokStart,m.UnsupportedImport)}return this.finishNode(t,"Import");case c._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case c.name:{if(this.isContextual("module")&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak()){return this.parseModuleExpression()}const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const s=this.parseIdentifier();if(!t&&s.name==="async"&&!this.canInsertSemicolon()){if(this.match(c._function)){this.resetPreviousNodeTrailingComments(s);this.next();return this.parseFunction(this.startNodeAtNode(s),undefined,true)}else if(this.match(c.name)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(s))}else{return s}}else if(this.match(c._do)){this.resetPreviousNodeTrailingComments(s);return this.parseDo(this.startNodeAtNode(s),true)}}if(e&&this.match(c.arrow)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(s),[s],false)}return s}case c._do:{return this.parseDo(this.startNode(),false)}case c.slash:case c.slashAssign:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case c.num:return this.parseNumericLiteral(this.state.value);case c.bigint:return this.parseBigIntLiteral(this.state.value);case c.decimal:return this.parseDecimalLiteral(this.state.value);case c.string:return this.parseStringLiteral(this.state.value);case c._null:return this.parseNullLiteral();case c._true:return this.parseBooleanLiteral(true);case c._false:return this.parseBooleanLiteral(false);case c.parenL:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case c.bracketBarL:case c.bracketHashL:{return this.parseArrayLike(this.state.type===c.bracketBarL?c.bracketBarR:c.bracketR,false,true,e)}case c.bracketL:{return this.parseArrayLike(c.bracketR,true,false,e)}case c.braceBarL:case c.braceHashL:{return this.parseObjectLike(this.state.type===c.braceBarL?c.braceBarR:c.braceR,false,true,e)}case c.braceL:{return this.parseObjectLike(c.braceR,false,false,e)}case c._function:return this.parseFunctionOrFunctionSent();case c.at:this.parseDecorators();case c._class:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case c._new:return this.parseNewOrNewTarget();case c.backQuote:return this.parseTemplate(false);case c.doubleColon:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(e.start,m.UnsupportedBind)}}case c.privateName:{const{value:e,start:s}=this.state;t=this.parsePrivateName();if(this.match(c._in)){this.classScope.usePrivateName(e,s)}else{this.raise(s,m.PrivateInExpectedIn,e)}return t}case c.moduloAssign:if(this.getPluginOption("pipelineOperator","proposal")==="hack"&&this.getPluginOption("pipelineOperator","topicToken")==="%"){this.state.value="%";this.state.type=c.modulo;this.state.pos--;this.state.end--;this.state.endLoc.column--}else{throw this.unexpected()}case c.modulo:case c.hash:{const e=this.getPluginOption("pipelineOperator","proposal");if(e){t=this.startNode();const s=this.state.start;const r=this.state.type;this.next();return this.finishTopicReference(t,s,e,r)}}case c.relational:{if(this.state.value==="<"){const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}}}default:throw this.unexpected()}}finishTopicReference(e,t,s,r){if(this.testTopicReferenceConfiguration(s,t,r)){let r;if(s==="smart"){r="PipelinePrimaryTopicReference"}else{r="TopicReference"}if(!this.topicReferenceIsAllowedInCurrentContext()){if(s==="smart"){this.raise(t,m.PrimaryTopicNotAllowed)}else{this.raise(t,m.PipeTopicUnbound)}}this.registerTopicReference();return this.finishNode(e,r)}else{throw this.raise(t,m.PipeTopicUnconfiguredToken,r.label)}}testTopicReferenceConfiguration(e,t,s){switch(e){case"hack":{const e=this.getPluginOption("pipelineOperator","topicToken");return s.label===e}case"smart":return s===c.hash;default:throw this.raise(t,m.PipeTopicRequiresHackPipes)}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const t=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(this.state.pos,m.LineTerminatorBeforeArrow)}this.expect(c.arrow);this.parseArrowExpression(e,t,true);return e}parseDo(e,t){this.expectPlugin("doExpressions");if(t){this.expectPlugin("asyncDoExpressions")}e.async=t;this.next();const s=this.state.labels;this.state.labels=[];if(t){this.prodParam.enter(Se);e.body=this.parseBlock();this.prodParam.exit()}else{e.body=this.parseBlock()}this.state.labels=s;return this.finishNode(e,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(c.parenL)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,m.SuperNotAllowed)}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,m.UnexpectedSuper)}if(!this.match(c.parenL)&&!this.match(c.bracketL)&&!this.match(c.dot)){this.raise(e.start,m.UnsupportedSuper)}return this.finishNode(e,"Super")}parseMaybePrivateName(e){const t=this.match(c.privateName);if(t){if(!e){this.raise(this.state.start+1,m.UnexpectedPrivateField)}return this.parsePrivateName()}else{return this.parseIdentifier(true)}}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(this.state.start+1,new Position(this.state.curLine,this.state.start+1-this.state.lineStart));const s=this.state.value;this.next();e.id=this.createIdentifier(t,s);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(c.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,s){e.meta=t;if(t.name==="function"&&s==="sent"){if(this.isContextual(s)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}}const r=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==s||r){this.raise(e.property.start,m.UnsupportedMetaProperty,t.name,s)}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual("meta")){if(!this.inModule){this.raise(t.start,g.ImportMetaOutsideModule)}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,s){this.addExtra(s,"rawValue",e);this.addExtra(s,"raw",this.input.slice(s.start,this.state.end));s.value=e;this.next();return this.finishNode(s,t)}parseLiteral(e,t){const s=this.startNode();return this.parseLiteralAtNode(e,t,s)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start;const s=this.state.startLoc;let r;this.next();this.expressionScope.enter(newArrowHeadScope());const i=this.state.maybeInArrowParameters;const n=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const a=this.state.start;const o=this.state.startLoc;const l=[];const p=new ExpressionErrors;let u=true;let h;let f;while(!this.match(c.parenR)){if(u){u=false}else{this.expect(c.comma,p.optionalParameters===-1?null:p.optionalParameters);if(this.match(c.parenR)){f=this.state.start;break}}if(this.match(c.ellipsis)){const e=this.state.start;const t=this.state.startLoc;h=this.state.start;l.push(this.parseParenItem(this.parseRestBinding(),e,t));this.checkCommaAfterRest(41);break}else{l.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem))}}const d=this.state.lastTokEnd;const y=this.state.lastTokEndLoc;this.expect(c.parenR);this.state.maybeInArrowParameters=i;this.state.inFSharpPipelineDirectBody=n;let m=this.startNodeAt(t,s);if(e&&this.shouldParseArrow(l)&&(m=this.parseArrow(m))){this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(m,l,false);return m}this.expressionScope.exit();if(!l.length){this.unexpected(this.state.lastTokStart)}if(f)this.unexpected(f);if(h)this.unexpected(h);this.checkExpressionErrors(p,true);this.toReferencedListDeep(l,true);if(l.length>1){r=this.startNodeAt(a,o);r.expressions=l;this.finishNode(r,"SequenceExpression");r.end=d;r.loc.end=y}else{r=l[0]}if(!this.options.createParenthesizedExpressions){this.addExtra(r,"parenthesized",true);this.addExtra(r,"parenStart",t);return r}const g=this.startNodeAt(t,s);g.expression=r;this.finishNode(g,"ParenthesizedExpression");return g}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(c.arrow)){return e}}parseParenItem(e,t,s){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(c.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const s=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){this.raise(s.start,m.UnexpectedNewTarget)}return s}return this.parseNew(e)}parseNew(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(e.callee.start,m.ImportCallNotNewExpression)}else if(this.isOptionalChain(e.callee)){this.raise(this.state.lastTokEnd,m.OptionalChainingNoNew)}else if(this.eat(c.questionDot)){this.raise(this.state.start,m.OptionalChainingNoNew)}this.parseNewArguments(e);return this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(c.parenL)){const t=this.parseExprList(c.parenR);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}}parseTemplateElement(e){const t=this.startNode();if(this.state.value===null){if(!e){this.raise(this.state.start+1,m.InvalidEscapeSequenceTemplate)}}t.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,"\n"),cooked:this.state.value};this.next();t.tail=this.match(c.backQuote);return this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next();t.expressions=[];let s=this.parseTemplateElement(e);t.quasis=[s];while(!s.tail){this.expect(c.dollarBraceL);t.expressions.push(this.parseTemplateSubstitution());this.expect(c.braceR);t.quasis.push(s=this.parseTemplateElement(e))}this.next();return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,s,r){if(s){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const n=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(c.comma);if(this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}}const i=this.parsePropertyDefinition(t,r);if(!t){this.checkProto(i,s,n,r)}if(s&&!this.isObjectProperty(i)&&i.type!=="SpreadElement"){this.raise(i.start,m.InvalidRecordProperty)}if(i.shorthand){this.addExtra(i,"shorthand",true)}o.properties.push(i)}this.next();this.state.inFSharpPipelineDirectBody=i;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(s){l="RecordExpression"}return this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(c.bracketL)||this.match(c.star))}parsePropertyDefinition(e,t){let s=[];if(this.match(c.at)){if(this.hasPlugin("decorators")){this.raise(this.state.start,m.UnsupportedPropertyDecorator)}while(this.match(c.at)){s.push(this.parseDecorator())}}const r=this.startNode();let i=false;let n=false;let a=false;let o;let l;if(this.match(c.ellipsis)){if(s.length)this.unexpected();if(e){this.next();r.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(r,"RestElement")}return this.parseSpread()}if(s.length){r.decorators=s;s=[]}r.method=false;if(e||t){o=this.state.start;l=this.state.startLoc}if(!e){i=this.eat(c.star)}const p=this.state.containsEsc;const u=this.parsePropertyName(r,false);if(!e&&!i&&!p&&this.maybeAsyncOrAccessorProp(r)){const e=u.name;if(e==="async"&&!this.hasPrecedingLineBreak()){n=true;this.resetPreviousNodeTrailingComments(u);i=this.eat(c.star);this.parsePropertyName(r,false)}if(e==="get"||e==="set"){a=true;this.resetPreviousNodeTrailingComments(u);r.kind=e;if(this.match(c.star)){i=true;this.raise(this.state.pos,m.AccessorIsGenerator,e);this.next()}this.parsePropertyName(r,false)}}this.parseObjPropValue(r,o,l,i,n,e,a,t);return r}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const s=this.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const i=e.start;if(r.length!==s){if(e.kind==="get"){this.raise(i,m.BadGetterArity)}else{this.raise(i,m.BadSetterArity)}}if(e.kind==="set"&&((t=r[r.length-1])==null?void 0:t.type)==="RestElement"){this.raise(i,m.BadSetterRestParameter)}}parseObjectMethod(e,t,s,r,i){if(i){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(s||t||this.match(c.parenL)){if(r)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,s,false,false,"ObjectMethod")}}parseObjectProperty(e,t,s,r,i){e.shorthand=false;if(this.eat(c.colon)){e.value=r?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(i);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.start,true,false);if(r){e.value=this.parseMaybeDefault(t,s,cloneIdentifier(e.key))}else if(this.match(c.eq)&&i){if(i.shorthandAssign===-1){i.shorthandAssign=this.state.start}e.value=this.parseMaybeDefault(t,s,cloneIdentifier(e.key))}else{e.value=cloneIdentifier(e.key)}e.shorthand=true;return this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,s,r,i,n,a,o){const l=this.parseObjectMethod(e,r,i,n,a)||this.parseObjectProperty(e,t,s,n,o);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(c.bracketL)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(c.bracketR)}else{const s=this.state.inPropertyName;this.state.inPropertyName=true;const r=this.state.type;e.key=r===c.num||r===c.string||r===c.bigint||r===c.decimal?this.parseExprAtom():this.parseMaybePrivateName(t);if(r!==c.privateName){e.computed=false}this.state.inPropertyName=s}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,s,r,i,n,a=false){this.initFunction(e,s);e.generator=!!t;const o=r;this.scope.enter(R|F|(a?L:0)|(i?M:0));this.prodParam.enter(functionFlags(s,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,n,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,s,r){if(s){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const n=this.startNode();this.next();n.elements=this.parseExprList(e,!s,r,n);this.state.inFSharpPipelineDirectBody=i;return this.finishNode(n,s?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,s,r){this.scope.enter(R|D);let i=functionFlags(s,false);if(!this.match(c.bracketL)&&this.prodParam.hasIn){i|=Re}this.prodParam.enter(i);this.initFunction(e,s);const n=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,r)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=n;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,s){e.params=this.toAssignableList(t,s,false)}parseFunctionBodyAndFinish(e,t,s=false){this.parseFunctionBody(e,false,s);this.finishNode(e,t)}parseFunctionBody(e,t,s=false){const r=t&&!this.match(c.braceL);this.expressionScope.enter(newExpressionScope());if(r){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const r=this.state.strict;const i=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|_e);e.body=this.parseBlock(true,false,i=>{const n=!this.isSimpleParamList(e.params);if(i&&n){const t=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(t,m.IllegalLanguageModeDirective)}const a=!r&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!s&&!n,t,a);if(this.state.strict&&e.id){this.checkLVal(e.id,"function name",le,undefined,undefined,a)}});this.prodParam.exit();this.expressionScope.exit();this.state.labels=i}}isSimpleParamList(e){for(let t=0,s=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(t,m.YieldBindingIdentifier);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(t,m.AwaitBindingIdentifier);return}else if(this.scope.inStaticBlock){this.raise(t,m.AwaitBindingIdentifierInStaticBlock);return}else{this.expressionScope.recordAsyncArrowParametersError(t,m.AwaitBindingIdentifier)}}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(t,m.ArgumentsInClass);return}}if(s&&isKeyword(e)){this.raise(t,m.UnexpectedKeyword,e);return}const i=!this.state.strict?isReservedWord:r?isStrictBindReservedWord:isStrictReservedWord;if(i(e,this.inModule)){this.raise(t,m.UnexpectedReservedWord,e)}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e,t){const s=this.startNodeAt(e,t);this.expressionScope.recordParameterInitializerError(s.start,m.AwaitExpressionFormalParameter);if(this.eat(c.star)){this.raise(s.start,m.ObsoleteAwaitStar)}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){s.argument=this.parseMaybeUnary(null,true)}return this.finishNode(s,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(c.plusMin)||this.match(c.parenL)||this.match(c.bracketL)||this.match(c.backQuote)||this.match(c.regexp)||this.match(c.slash)||this.hasPlugin("v8intrinsic")&&this.match(c.modulo)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,m.YieldInParameter);this.next();let t=false;let s=null;if(!this.hasPrecedingLineBreak()){t=this.eat(c.star);switch(this.state.type){case c.semi:case c.eof:case c.braceR:case c.parenR:case c.bracketR:case c.braceBarR:case c.colon:case c.comma:if(!t)break;default:s=this.parseMaybeAssign()}}e.delegate=t;e.argument=s;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.getPluginOption("pipelineOperator","proposal")==="smart"){if(e.type==="SequenceExpression"){this.raise(t,m.PipelineHeadSequenceExpression)}}}checkHackPipeBodyEarlyErrors(e){if(this.match(c.arrow)){throw this.raise(this.state.start,m.PipeBodyIsTighter,c.arrow.label)}else if(!this.topicReferenceWasUsedInCurrentContext()){this.raise(e,m.PipeTopicUnused)}}parseSmartPipelineBodyInStyle(e,t,s){const r=this.startNodeAt(t,s);if(this.isSimpleReference(e)){r.callee=e;return this.finishNode(r,"PipelineBareFunction")}else{this.checkSmartPipeTopicBodyEarlyErrors(t);r.expression=e;return this.finishNode(r,"PipelineTopicExpression")}}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(c.arrow)){throw this.raise(this.state.start,m.PipelineBodyNoArrow)}else if(!this.topicReferenceWasUsedInCurrentContext()){this.raise(e,m.PipelineTopicUnused)}}withTopicBindingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(e){const t=this.getPluginOption("pipelineOperator","proposal");if(t==="smart"){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}else{return e()}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const s=Re&~t;if(s){this.prodParam.enter(t|Re);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const s=Re&t;if(s){this.prodParam.enter(t&~Re);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const s=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const i=this.parseExprOp(this.parseMaybeUnary(),t,s,e);this.state.inFSharpPipelineDirectBody=r;return i}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(c.braceL);const t=this.initializeScopes(true);this.enterInitialScopes();const s=this.startNode();try{e.body=this.parseProgram(s,c.braceR,"module")}finally{t()}this.eat(c.braceR);return this.finishNode(e,"ModuleExpression")}}const rt={kind:"loop"},it={kind:"switch"};const nt=0,at=1,ot=2,lt=4;const ct=/[\uD800-\uDFFF]/u;const pt=/in(?:stanceof)?/y;function babel7CompatTokens(e){{for(let t=0;t0){for(const[e]of Array.from(this.scope.undefinedExports)){const t=this.scope.undefinedExports.get(e);this.raise(t,m.ModuleExportUndefined,e)}}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e;t.type="Directive";t.value=t.expression;delete t.expression;const s=t.value;const r=this.input.slice(s.start,s.end);const i=s.value=r.slice(1,-1);this.addExtra(s,"raw",r);this.addExtra(s,"rawValue",i);s.type="DirectiveLiteral";return t}parseInterpreterDirective(){if(!this.match(c.interpreterDirective)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual("let")){return false}return this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart();const s=this.codePointAtPos(t);if(s===92||s===91){return true}if(e)return false;if(s===123)return true;if(isIdentifierStart(s)){pt.lastIndex=t;if(pt.test(this.input)){const e=this.codePointAtPos(pt.lastIndex);if(!isIdentifierChar(e)&&e!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(c.at)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let s=this.state.type;const r=this.startNode();let i;if(this.isLet(e)){s=c._var;i="let"}switch(s){case c._break:case c._continue:return this.parseBreakContinueStatement(r,s.keyword);case c._debugger:return this.parseDebuggerStatement(r);case c._do:return this.parseDoStatement(r);case c._for:return this.parseForStatement(r);case c._function:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(this.state.start,m.StrictFunction)}else if(e!=="if"&&e!=="label"){this.raise(this.state.start,m.SloppyFunction)}}return this.parseFunctionStatement(r,false,!e);case c._class:if(e)this.unexpected();return this.parseClass(r,true);case c._if:return this.parseIfStatement(r);case c._return:return this.parseReturnStatement(r);case c._switch:return this.parseSwitchStatement(r);case c._throw:return this.parseThrowStatement(r);case c._try:return this.parseTryStatement(r);case c._const:case c._var:i=i||this.state.value;if(e&&i!=="var"){this.raise(this.state.start,m.UnexpectedLexicalDeclaration)}return this.parseVarStatement(r,i);case c._while:return this.parseWhileStatement(r);case c._with:return this.parseWithStatement(r);case c.braceL:return this.parseBlock();case c.semi:return this.parseEmptyStatement(r);case c._import:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case c._export:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(this.state.start,m.UnexpectedImportExport)}this.next();let e;if(s===c._import){e=this.parseImport(r);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(r);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(r);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(this.state.start,m.AsyncFunctionInSingleStatementContext)}this.next();return this.parseFunctionStatement(r,true,!e)}}}const n=this.state.value;const a=this.parseExpression();if(s===c.name&&a.type==="Identifier"&&this.eat(c.colon)){return this.parseLabeledStatement(r,n,a,e)}else{return this.parseExpressionStatement(r,a)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(e.start,g.ImportOutsideModule)}}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];if(t.length){e.decorators=t;this.resetStartLocationFromNode(e,t[0]);this.state.decoratorStack[this.state.decoratorStack.length-1]=[]}}canHaveLeadingDecorator(){return this.match(c._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(c.at)){const e=this.parseDecorator();t.push(e)}if(this.match(c._export)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,m.DecoratorExportClass)}}else if(!this.canHaveLeadingDecorator()){throw this.raise(this.state.start,m.UnexpectedLeadingDecorator)}}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start;const s=this.state.startLoc;let r;if(this.eat(c.parenL)){r=this.parseExpression();this.expect(c.parenR)}else{r=this.parseIdentifier(false);while(this.eat(c.dot)){const e=this.startNodeAt(t,s);e.object=r;e.property=this.parseIdentifier(true);e.computed=false;r=this.finishNode(e,"MemberExpression")}}e.expression=this.parseMaybeDecoratorArguments(r);this.state.decoratorStack.pop()}else{e.expression=this.parseExprSubscripts()}return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(c.parenL)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(c.parenR,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){const s=t==="break";this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,s?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){const s=t==="break";let r;for(r=0;rthis.parseStatement("do"));this.state.labels.pop();this.expect(c._while);e.test=this.parseHeaderExpression();this.eat(c.semi);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(rt);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual("await")){t=this.state.lastTokStart}this.scope.enter(S);this.expect(c.parenL);if(this.match(c.semi)){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}const s=this.isContextual("let");const r=s&&this.isLetKeyword();if(this.match(c._var)||this.match(c._const)||r){const s=this.startNode();const i=r?"let":this.state.value;this.next();this.parseVar(s,true,i);this.finishNode(s,"VariableDeclaration");if((this.match(c._in)||this.isContextual("of"))&&s.declarations.length===1){return this.parseForIn(e,s,t)}if(t>-1){this.unexpected(t)}return this.parseFor(e,s)}const i=this.match(c.name)&&!this.state.containsEsc;const n=new ExpressionErrors;const a=this.parseExpression(true,n);const o=this.isContextual("of");if(o){if(s){this.raise(a.start,m.ForOfLet)}else if(t===-1&&i&&a.type==="Identifier"&&a.name==="async"){this.raise(a.start,m.ForOfAsync)}}if(o||this.match(c._in)){this.toAssignable(a,true);const s=o?"for-of statement":"for-in statement";this.checkLVal(a,s);return this.parseForIn(e,a,t)}else{this.checkExpressionErrors(n,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)}parseFunctionStatement(e,t,s){this.next();return this.parseFunction(e,at|(s?0:ot),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(c._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(this.state.start,m.IllegalReturn)}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(c.braceL);this.state.labels.push(it);this.scope.enter(S);let s;for(let e;!this.match(c.braceR);){if(this.match(c._case)||this.match(c._default)){const r=this.match(c._case);if(s)this.finishNode(s,"SwitchCase");t.push(s=this.startNode());s.consequent=[];this.next();if(r){s.test=this.parseExpression()}else{if(e){this.raise(this.state.lastTokStart,m.MultipleDefaultsInSwitch)}e=true;s.test=null}this.expect(c.colon)}else{if(s){s.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(s)this.finishNode(s,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(this.state.lastTokEnd,m.NewlineAfterThrow)}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?N:0);this.checkLVal(e,"catch clause",ee);return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(c._catch)){const t=this.startNode();this.next();if(this.match(c.parenL)){this.expect(c.parenL);t.param=this.parseCatchClauseParam();this.expect(c.parenR)}else{t.param=null;this.scope.enter(S)}t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(false,false));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(c._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,m.NoCatchOrFinally)}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(rt);e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("while"));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(this.state.start,m.StrictWith)}this.next();e.object=this.parseHeaderExpression();e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("with"));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,s,r){for(const e of this.state.labels){if(e.name===t){this.raise(s.start,m.LabelRedeclaration,t)}}const i=this.state.type.isLoop?"loop":this.match(c._switch)?"switch":null;for(let t=this.state.labels.length-1;t>=0;t--){const s=this.state.labels[t];if(s.statementStart===e.start){s.statementStart=this.state.start;s.kind=i}else{break}}this.state.labels.push({name:t,kind:i,statementStart:this.state.start});e.body=this.parseStatement(r?r.indexOf("label")===-1?r+"label":r:"label");this.state.labels.pop();e.label=s;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,s){const r=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(c.braceL);if(t){this.scope.enter(S)}this.parseBlockBody(r,e,false,c.braceR,s);if(t){this.scope.exit()}return this.finishNode(r,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,s,r,i){const n=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(n,t?a:undefined,s,r,i)}parseBlockOrModuleBlockBody(e,t,s,r,i){const n=this.state.strict;let a=false;let o=false;while(!this.match(r)){const r=this.parseStatement(null,s);if(t&&!o){if(this.isValidDirective(r)){const e=this.stmtToDirective(r);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(r)}if(i){i.call(this,a)}if(!n){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(c.semi)?null:this.parseExpression();this.semicolon(false);e.update=this.match(c.parenR)?null:this.parseExpression();this.expect(c.parenR);e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,s){const r=this.match(c._in);this.next();if(r){if(s>-1)this.unexpected(s)}else{e.await=s>-1}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,m.ForInOfLoopInitializer,r?"for-in":"for-of")}else if(t.type==="AssignmentPattern"){this.raise(t.start,m.InvalidLhs,"for-loop")}e.left=t;e.right=r?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(c.parenR);e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,r?"ForInStatement":"ForOfStatement")}parseVar(e,t,s){const r=e.declarations=[];const i=this.hasPlugin("typescript");e.kind=s;for(;;){const e=this.startNode();this.parseVarId(e,s);if(this.eat(c.eq)){e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn()}else{if(s==="const"&&!(this.match(c._in)||this.isContextual("of"))){if(!i){this.raise(this.state.lastTokEnd,m.DeclarationMissingInitializer,"Const declarations")}}else if(e.id.type!=="Identifier"&&!(t&&(this.match(c._in)||this.isContextual("of")))){this.raise(this.state.lastTokEnd,m.DeclarationMissingInitializer,"Complex binding patterns")}e.init=null}r.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(c.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,"variable declaration",t==="var"?te:ee,undefined,t!=="var")}parseFunction(e,t=nt,s=false){const r=t&at;const i=t&ot;const n=!!r&&!(t<);this.initFunction(e,s);if(this.match(c.star)&&i){this.raise(this.state.start,m.GeneratorInSingleStatementContext)}e.generator=this.eat(c.star);if(r){e.id=this.parseFunctionId(n)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(R);this.prodParam.enter(functionFlags(s,e.generator));if(!r){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,r?"FunctionDeclaration":"FunctionExpression")});this.prodParam.exit();this.scope.exit();if(r&&!i){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||this.match(c.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(c.parenL);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(c.parenR,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?te:ee:se,e.id.start)}parseClass(e,t,s){this.next();this.takeDecorators(e);const r=this.state.strict;this.state.strict=true;this.parseClassId(e,t,s);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,r);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(c.eq)||this.match(c.semi)||this.match(c.braceR)}isClassMethod(){return this.match(c.parenL)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const s={hadConstructor:false,hadSuperClass:e};let r=[];const i=this.startNode();i.body=[];this.expect(c.braceL);this.withSmartMixTopicForbiddingContext(()=>{while(!this.match(c.braceR)){if(this.eat(c.semi)){if(r.length>0){throw this.raise(this.state.lastTokEnd,m.DecoratorSemicolon)}continue}if(this.match(c.at)){r.push(this.parseDecorator());continue}const e=this.startNode();if(r.length){e.decorators=r;this.resetStartLocationFromNode(e,r[0]);r=[]}this.parseClassMember(i,e,s);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(e.start,m.DecoratorConstructor)}}});this.state.strict=t;this.next();if(r.length){throw this.raise(this.state.start,m.TrailingDecorator)}this.classScope.exit();return this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){const s=this.parseIdentifier(true);if(this.isClassMethod()){const r=t;r.kind="method";r.computed=false;r.key=s;r.static=false;this.pushClassMethod(e,r,false,false,false,false);return true}else if(this.isClassProperty()){const r=t;r.computed=false;r.key=s;r.static=false;e.body.push(this.parseClassProperty(r));return true}this.resetPreviousNodeTrailingComments(s);return false}parseClassMember(e,t,s){const r=this.isContextual("static");if(r){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(c.braceL)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,s,r)}parseClassMemberWithIsStatic(e,t,s,r){const i=t;const n=t;const a=t;const o=t;const l=i;const p=i;t.static=r;if(this.eat(c.star)){l.kind="method";const t=this.match(c.privateName);this.parseClassElementName(l);if(t){this.pushClassPrivateMethod(e,n,true,false);return}if(this.isNonstaticConstructor(i)){this.raise(i.key.start,m.ConstructorIsGenerator)}this.pushClassMethod(e,i,true,false,false,false);return}const u=this.match(c.name)&&!this.state.containsEsc;const h=this.match(c.privateName);const f=this.parseClassElementName(t);const d=this.state.start;this.parsePostMemberNameModifiers(p);if(this.isClassMethod()){l.kind="method";if(h){this.pushClassPrivateMethod(e,n,false,false);return}const r=this.isNonstaticConstructor(i);let a=false;if(r){i.kind="constructor";if(s.hadConstructor&&!this.hasPlugin("typescript")){this.raise(f.start,m.DuplicateConstructor)}if(r&&this.hasPlugin("typescript")&&t.override){this.raise(f.start,m.OverrideOnConstructor)}s.hadConstructor=true;a=s.hadSuperClass}this.pushClassMethod(e,i,false,false,r,a)}else if(this.isClassProperty()){if(h){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(u&&f.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(f);const t=this.eat(c.star);if(p.optional){this.unexpected(d)}l.kind="method";const s=this.match(c.privateName);this.parseClassElementName(l);this.parsePostMemberNameModifiers(p);if(s){this.pushClassPrivateMethod(e,n,t,true)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,m.ConstructorIsAsync)}this.pushClassMethod(e,i,t,true,false,false)}}else if(u&&(f.name==="get"||f.name==="set")&&!(this.match(c.star)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(f);l.kind=f.name;const t=this.match(c.privateName);this.parseClassElementName(i);if(t){this.pushClassPrivateMethod(e,n,false,false)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,m.ConstructorIsAccessor)}this.pushClassMethod(e,i,false,false,false,false)}this.checkGetterSetterParams(i)}else if(this.isLineTerminator()){if(h){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:s,start:r}=this.state;if((t===c.name||t===c.string)&&e.static&&s==="prototype"){this.raise(r,m.StaticPrototype)}if(t===c.privateName&&s==="constructor"){this.raise(r,m.ConstructorClassPrivateField)}return this.parsePropertyName(e,true)}parseClassStaticBlock(e,t){var s;this.expectPlugin("classStaticBlock",t.start);this.scope.enter(L|B|F);const r=this.state.labels;this.state.labels=[];this.prodParam.enter(je);const i=t.body=[];this.parseBlockOrModuleBlockBody(i,undefined,false,c.braceR);this.prodParam.exit();this.scope.exit();this.state.labels=r;e.body.push(this.finishNode(t,"StaticBlock"));if((s=t.decorators)!=null&&s.length){this.raise(t.start,m.DecoratorStaticBlock)}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(t.key.start,m.ConstructorClassField)}e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const s=this.parseClassPrivateProperty(t);e.body.push(s);this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),ve,s.key.start)}pushClassMethod(e,t,s,r,i,n){e.body.push(this.parseMethod(t,s,r,i,n,"ClassMethod",true))}pushClassPrivateMethod(e,t,s,r){const i=this.parseMethod(t,s,r,false,false,"ClassPrivateMethod",true);e.body.push(i);const n=i.kind==="get"?i.static?me:be:i.kind==="set"?i.static?ge:xe:ve;this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),n,i.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(L|F);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(je);e.value=this.eat(c.eq)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,s,r=Z){if(this.match(c.name)){e.id=this.parseIdentifier();if(t){this.checkLVal(e.id,"class name",r)}}else{if(s||!t){e.id=null}else{this.unexpected(null,m.MissingClassName)}}}parseClassSuper(e){e.superClass=this.eat(c._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const s=!t||this.eat(c.comma);const r=s&&this.eatExportStar(e);const i=r&&this.maybeParseExportNamespaceSpecifier(e);const n=s&&(!i||this.eat(c.comma));const a=t||r;if(r&&!i){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&s&&!r&&!o||i&&n&&!o){throw this.unexpected(null,c.braceL)}let l;if(a||o){l=false;this.parseExportFrom(e,a)}else{l=this.maybeParseExportDeclaration(e)}if(a||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(c._default)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,c.braceL)}eatExportStar(e){return this.eat(c.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(c.braceL)){if(!e.specifiers)e.specifiers=[];e.specifiers.push(...this.parseExportSpecifiers());e.source=null;e.declaration=null;return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual("async"))return false;const e=this.nextTokenStart();return!p.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(c._function)||t){this.next();if(t){this.next()}return this.parseFunction(e,at|lt,t)}else if(this.match(c._class)){return this.parseClass(e,true,true)}else if(this.match(c.at)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,m.DecoratorBeforeExport)}this.parseDecorators(false);return this.parseClass(e,true,true)}else if(this.match(c._const)||this.match(c._var)||this.isLet()){throw this.raise(this.state.start,m.UnsupportedDefaultExport)}else{const e=this.parseMaybeAssignAllowIn();this.semicolon();return e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(c.name)){const e=this.state.value;if(e==="async"&&!this.state.containsEsc||e==="let"){return false}if((e==="type"||e==="interface")&&!this.state.containsEsc){const e=this.lookahead();if(e.type===c.name&&e.value!=="from"||e.type===c.braceL){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(c._default)){return false}const e=this.nextTokenStart();const t=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||this.match(c.name)&&t){return true}if(this.match(c._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return t===34||t===39}return false}parseExportFrom(e,t){if(this.eatContextual("from")){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else{if(t){this.unexpected()}else{e.source=null}}this.semicolon()}shouldParseExportDeclaration(){if(this.match(c.at)){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){this.unexpected(this.state.start,m.DecoratorBeforeExport)}else{return true}}}return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isLet()||this.isAsyncFunction()}checkExport(e,t,s,r){if(t){if(s){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var i;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((i=t.extra)!=null&&i.parenthesized)){this.raise(t.start,m.ExportDefaultFromAsIdentifier)}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const s=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,s);if(!r&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(t.start,m.ExportBindingIsString,e.value,s)}else{this.checkReservedWord(e.name,e.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}const n=this.state.decoratorStack[this.state.decoratorStack.length-1];if(n.length){throw this.raise(e.start,m.UnsupportedDecoratorExport)}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){this.raise(e.start,t==="default"?m.DuplicateDefaultExport:m.DuplicateExport,t)}this.exportedIdentifiers.add(t)}parseExportSpecifiers(){const e=[];let t=true;this.expect(c.braceL);while(!this.eat(c.braceR)){if(t){t=false}else{this.expect(c.comma);if(this.eat(c.braceR))break}const s=this.startNode();const r=this.match(c.string);const i=this.parseModuleExportName();s.local=i;if(this.eatContextual("as")){s.exported=this.parseModuleExportName()}else if(r){s.exported=cloneStringLiteral(i)}else{s.exported=cloneIdentifier(i)}e.push(this.finishNode(s,"ExportSpecifier"))}return e}parseModuleExportName(){if(this.match(c.string)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(ct);if(t){this.raise(e.start,m.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16))}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(c.string)){const t=this.maybeParseDefaultImportSpecifier(e);const s=!t||this.eat(c.comma);const r=s&&this.maybeParseStarImportSpecifier(e);if(s&&!r)this.parseNamedImportSpecifiers(e);this.expectContextual("from")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(c.string))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(c.name)}parseImportSpecifierLocal(e,t,s,r){t.local=this.parseIdentifier();this.checkLVal(t.local,r,ee);e.specifiers.push(this.finishNode(t,s))}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(c.braceR)){break}const s=this.startNode();const r=this.state.value;if(t.has(r)){this.raise(this.state.start,m.ModuleAttributesWithDuplicateKeys,r)}t.add(r);if(this.match(c.string)){s.key=this.parseStringLiteral(r)}else{s.key=this.parseIdentifier(true)}this.expect(c.colon);if(!this.match(c.string)){throw this.unexpected(this.state.start,m.ModuleAttributeInvalidValue)}s.value=this.parseStringLiteral(this.state.value);this.finishNode(s,"ImportAttribute");e.push(s)}while(this.eat(c.comma));return e}maybeParseModuleAttributes(){if(this.match(c._with)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const s=this.startNode();s.key=this.parseIdentifier(true);if(s.key.name!=="type"){this.raise(s.key.start,m.ModuleAttributeDifferentFromType,s.key.name)}if(t.has(s.key.name)){this.raise(s.key.start,m.ModuleAttributesWithDuplicateKeys,s.key.name)}t.add(s.key.name);this.expect(c.colon);if(!this.match(c.string)){throw this.unexpected(this.state.start,m.ModuleAttributeInvalidValue)}s.value=this.parseStringLiteral(this.state.value);this.finishNode(s,"ImportAttribute");e.push(s)}while(this.eat(c.comma));return e}maybeParseImportAssertions(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(c.braceL);const e=this.parseAssertEntries();this.eat(c.braceR);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(c.star)){const t=this.startNode();this.next();this.expectContextual("as");this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(c.braceL);while(!this.eat(c.braceR)){if(t){t=false}else{if(this.eat(c.colon)){throw this.raise(this.state.start,m.DestructureNamedImport)}this.expect(c.comma);if(this.eat(c.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();const s=this.match(c.string);t.imported=this.parseModuleExportName();if(this.eatContextual("as")){t.local=this.parseIdentifier()}else{const{imported:e}=t;if(s){throw this.raise(t.start,m.ImportBindingIsString,e.value)}this.checkReservedWord(e.name,t.start,true,true);t.local=cloneIdentifier(e)}this.checkLVal(t.local,"import specifier",ee);e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const s of e){const[e,r]=Array.isArray(s)?s:[s,{}];if(!t.has(e))t.set(e,r||{})}return t}function parse(e,t){var s;if(((s=t)==null?void 0:s.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const s=getParser(t,e);const r=s.parse();if(s.sawUnambiguousESM){return r}if(s.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{r.program.sourceType="script"}return r}catch(s){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw s}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const s=getParser(t,e);if(s.options.strictMode){s.state.strict=true}return s.getExpression()}function getParser(e,t){let s=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);s=getParserClass(e.plugins)}return new s(e,t)}const ut={};function getParserClass(e){const t=et.filter(t=>hasPlugin(e,t));const s=t.join("/");let r=ut[s];if(!r){r=Parser;for(const e of t){r=Ze[e](r)}ut[s]=r}return r}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=c},82565:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getExportSpecifierName=getExportSpecifierName;t.default=void 0;var r=s(32092);var i=s(28497);var n=s(85850);var a=s(42604);var o=s(29444);var l=s(8978);const c=(0,n.template)(`\n SYSTEM_REGISTER(MODULE_NAME, SOURCES, function (EXPORT_IDENTIFIER, CONTEXT_IDENTIFIER) {\n "use strict";\n BEFORE_BODY;\n return {\n setters: SETTERS,\n execute: EXECUTE,\n };\n });\n`);const p=(0,n.template)(`\n for (var KEY in TARGET) {\n if (KEY !== "default" && KEY !== "__esModule") EXPORT_OBJ[KEY] = TARGET[KEY];\n }\n`);const u=`WARNING: Dynamic import() transformation must be enabled using the\n @babel/plugin-proposal-dynamic-import plugin. Babel 8 will\n no longer transform import() without using that plugin.\n`;const h=null&&`ERROR: Dynamic import() transformation must be enabled using the\n @babel/plugin-proposal-dynamic-import plugin. Babel 8\n no longer transforms import() without using that plugin.\n`;function getExportSpecifierName(e,t){if(e.type==="Identifier"){return e.name}else if(e.type==="StringLiteral"){const s=e.value;if(!(0,l.isIdentifierName)(s)){t.add(s)}return s}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.type}`)}}function constructExportCall(e,t,s,r,i,a){const o=[];if(!i){if(s.length===1){o.push(n.types.expressionStatement(n.types.callExpression(t,[n.types.stringLiteral(s[0]),r[0]])))}else{const e=[];for(let t=0;t{e.assertVersion(7);const{systemGlobal:s="System",allowTopLevelThis:r=false}=t;const l=Symbol();const p={"AssignmentExpression|UpdateExpression"(e){if(e.node[l])return;e.node[l]=true;const t=e.get(e.isAssignmentExpression()?"left":"argument");if(t.isObjectPattern()||t.isArrayPattern()){const s=[e.node];for(const r of Object.keys(t.getBindingIdentifiers())){if(this.scope.getBinding(r)!==e.scope.getBinding(r)){return}const t=this.exports[r];if(!t)return;for(const e of t){s.push(this.buildCall(e,n.types.identifier(r)).expression)}}e.replaceWith(n.types.sequenceExpression(s));return}if(!t.isIdentifier())return;const s=t.node.name;if(this.scope.getBinding(s)!==e.scope.getBinding(s))return;const r=this.exports[s];if(!r)return;let i=e.node;const a=e.isUpdateExpression({prefix:false});if(a){i=n.types.binaryExpression(i.operator[0],n.types.unaryExpression("+",n.types.cloneNode(i.argument)),n.types.numericLiteral(1))}for(const e of r){i=this.buildCall(e,i).expression}if(a){i=n.types.sequenceExpression([i,e.node])}e.replaceWith(i)}};return{name:"transform-modules-systemjs",pre(){this.file.set("@babel/plugin-transform-modules-*","systemjs")},visitor:{CallExpression(e,t){if(n.types.isImport(e.node.callee)){if(!this.file.has("@babel/plugin-proposal-dynamic-import")){{console.warn(u)}}e.replaceWith(n.types.callExpression(n.types.memberExpression(n.types.identifier(t.contextIdent),n.types.identifier("import")),[(0,a.getImportSource)(n.types,e.node)]))}},MetaProperty(e,t){if(e.node.meta.name==="import"&&e.node.property.name==="meta"){e.replaceWith(n.types.memberExpression(n.types.identifier(t.contextIdent),n.types.identifier("meta")))}},ReferencedIdentifier(e,t){if(e.node.name==="__moduleName"&&!e.scope.hasBinding("__moduleName")){e.replaceWith(n.types.memberExpression(n.types.identifier(t.contextIdent),n.types.identifier("id")))}},Program:{enter(e,t){t.contextIdent=e.scope.generateUid("context");t.stringSpecifiers=new Set;if(!r){(0,o.rewriteThis)(e)}},exit(e,r){const a=e.scope;const l=a.generateUid("export");const{contextIdent:u,stringSpecifiers:h}=r;const f=Object.create(null);const d=[];let y=[];const m=[];const g=[];const b=[];const x=[];function addExportName(e,t){f[e]=f[e]||[];f[e].push(t)}function pushModule(e,t,s){let r;d.forEach(function(t){if(t.key===e){r=t}});if(!r){d.push(r={key:e,imports:[],exports:[]})}r[t]=r[t].concat(s)}function buildExportCall(e,t){return n.types.expressionStatement(n.types.callExpression(n.types.identifier(l),[n.types.stringLiteral(e),t]))}const v=[];const w=[];const P=e.get("body");for(const e of P){if(e.isFunctionDeclaration()){y.push(e.node);x.push(e)}else if(e.isClassDeclaration()){b.push(n.types.cloneNode(e.node.id));e.replaceWith(n.types.expressionStatement(n.types.assignmentExpression("=",n.types.cloneNode(e.node.id),n.types.toExpression(e.node))))}else if(e.isImportDeclaration()){const t=e.node.source.value;pushModule(t,"imports",e.node.specifiers);for(const t of Object.keys(e.getBindingIdentifiers())){a.removeBinding(t);b.push(n.types.identifier(t))}e.remove()}else if(e.isExportAllDeclaration()){pushModule(e.node.source.value,"exports",e.node);e.remove()}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");const s=t.node.id;if(t.isClassDeclaration()){if(s){v.push("default");w.push(a.buildUndefinedNode());b.push(n.types.cloneNode(s));addExportName(s.name,"default");e.replaceWith(n.types.expressionStatement(n.types.assignmentExpression("=",n.types.cloneNode(s),n.types.toExpression(t.node))))}else{v.push("default");w.push(n.types.toExpression(t.node));x.push(e)}}else if(t.isFunctionDeclaration()){if(s){y.push(t.node);v.push("default");w.push(n.types.cloneNode(s));addExportName(s.name,"default")}else{v.push("default");w.push(n.types.toExpression(t.node))}x.push(e)}else{e.replaceWith(buildExportCall("default",t.node))}}else if(e.isExportNamedDeclaration()){const t=e.get("declaration");if(t.node){e.replaceWith(t);if(e.isFunction()){const s=t.node;const r=s.id.name;addExportName(r,r);y.push(s);v.push(r);w.push(n.types.cloneNode(s.id));x.push(e)}else if(e.isClass()){const s=t.node.id.name;v.push(s);w.push(a.buildUndefinedNode());b.push(n.types.cloneNode(t.node.id));e.replaceWith(n.types.expressionStatement(n.types.assignmentExpression("=",n.types.cloneNode(t.node.id),n.types.toExpression(t.node))));addExportName(s,s)}else{for(const e of Object.keys(t.getBindingIdentifiers())){addExportName(e,e)}}}else{const t=e.node.specifiers;if(t!=null&&t.length){if(e.node.source){pushModule(e.node.source.value,"exports",t);e.remove()}else{const s=[];for(const e of t){const{local:t,exported:r}=e;const i=a.getBinding(t.name);const o=getExportSpecifierName(r,h);if(i&&n.types.isFunctionDeclaration(i.path.node)){v.push(o);w.push(n.types.cloneNode(t))}else if(!i){s.push(buildExportCall(o,t))}addExportName(t.name,o)}e.replaceWithMultiple(s)}}else{e.remove()}}}}d.forEach(function(t){let s=[];const r=a.generateUid(t.key);for(let e of t.imports){if(n.types.isImportNamespaceSpecifier(e)){s.push(n.types.expressionStatement(n.types.assignmentExpression("=",e.local,n.types.identifier(r))))}else if(n.types.isImportDefaultSpecifier(e)){e=n.types.importSpecifier(e.local,n.types.identifier("default"))}if(n.types.isImportSpecifier(e)){const{imported:t}=e;s.push(n.types.expressionStatement(n.types.assignmentExpression("=",e.local,n.types.memberExpression(n.types.identifier(r),e.imported,t.type==="StringLiteral"))))}}if(t.exports.length){const i=[];const a=[];let o=false;for(const e of t.exports){if(n.types.isExportAllDeclaration(e)){o=true}else if(n.types.isExportSpecifier(e)){const t=getExportSpecifierName(e.exported,h);i.push(t);a.push(n.types.memberExpression(n.types.identifier(r),e.local,n.types.isStringLiteral(e.local)))}else{}}s=s.concat(constructExportCall(e,n.types.identifier(l),i,a,o?n.types.identifier(r):null,h))}g.push(n.types.stringLiteral(t.key));m.push(n.types.functionExpression(null,[n.types.identifier(r)],n.types.blockStatement(s)))});let E=(0,o.getModuleName)(this.file.opts,t);if(E)E=n.types.stringLiteral(E);(0,i.default)(e,(e,t,s)=>{b.push(e);if(!s&&t in f){for(const e of f[t]){v.push(e);w.push(a.buildUndefinedNode())}}},null);if(b.length){y.unshift(n.types.variableDeclaration("var",b.map(e=>n.types.variableDeclarator(e))))}if(v.length){y=y.concat(constructExportCall(e,n.types.identifier(l),v,w,null,h))}e.traverse(p,{exports:f,buildCall:buildExportCall,scope:a});for(const e of x){e.remove()}let A=false;e.traverse({AwaitExpression(e){A=true;e.stop()},Function(e){e.skip()},noScope:true});e.node.body=[c({SYSTEM_REGISTER:n.types.memberExpression(n.types.identifier(s),n.types.identifier("register")),BEFORE_BODY:y,MODULE_NAME:E,SETTERS:n.types.arrayExpression(m),EXECUTE:n.types.functionExpression(null,[],n.types.blockStatement(e.node.body),false,A),SOURCES:n.types.arrayExpression(g),EXPORT_IDENTIFIER:n.types.identifier(l),CONTEXT_IDENTIFIER:n.types.identifier(u)})]}}}}});t.default=f},86996:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(42357);var i=s(19761);class ImportBuilder{constructor(e,t,s){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=s;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(i.importDeclaration([],i.stringLiteral(this._importedSource)));return this}require(){this._statements.push(i.expressionStatement(i.callExpression(i.identifier("require"),[i.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const s=this._statements[this._statements.length-1];r(s.type==="ImportDeclaration");r(s.specifiers.length===0);s.specifiers=[i.importNamespaceSpecifier(t)];this._resultName=i.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];r(t.type==="ImportDeclaration");r(t.specifiers.length===0);t.specifiers=[i.importDefaultSpecifier(e)];this._resultName=i.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const s=this._statements[this._statements.length-1];r(s.type==="ImportDeclaration");r(s.specifiers.length===0);s.specifiers=[i.importSpecifier(e,i.identifier(t))];this._resultName=i.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){r(this._resultName);t=i.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=i.variableDeclaration("var",[i.variableDeclarator(e,t.expression)]);this._resultName=i.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){r(t.declarations.length===1);t.declarations[0].init=i.callExpression(e,[t.declarations[0].init])}else{r.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.memberExpression(t.expression,i.identifier(e))}else if(t.type==="VariableDeclaration"){r(t.declarations.length===1);t.declarations[0].init=i.memberExpression(t.declarations[0].init,i.identifier(e))}else{r.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=i.memberExpression(this._resultName,i.identifier(e))}}t.default=ImportBuilder},3620:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(42357);var i=s(19761);var n=s(86996);var a=s(91997);class ImportInjector{constructor(e,t,s){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const r=e.find(e=>e.isProgram());this._programPath=r;this._programScope=r.scope;this._hub=r.hub;this._defaultOpts=this._applyDefaults(t,s,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,s){r(typeof e==="string");return this._generateImport(this._applyDefaults(t,s),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,s=false){const i=[];if(typeof e==="string"){i.push({importedSource:e});i.push(t)}else{r(!t,"Unexpected secondary arguments.");i.push(e)}const n=Object.assign({},this._defaultOpts);for(const e of i){if(!e)continue;Object.keys(n).forEach(t=>{if(e[t]!==undefined)n[t]=e[t]});if(!s){if(e.nameHint!==undefined)n.nameHint=e.nameHint;if(e.blockHoist!==undefined)n.blockHoist=e.blockHoist}}return n}_generateImport(e,t){const s=t==="default";const r=!!t&&!s;const o=t===null;const{importedSource:l,importedType:c,importedInterop:p,importingInterop:u,ensureLiveReference:h,ensureNoContext:f,nameHint:d,importPosition:y,blockHoist:m}=e;let g=d||t;const b=(0,a.default)(this._programPath);const x=b&&u==="node";const v=b&&u==="babel";if(y==="after"&&!b){throw new Error(`"importPosition": "after" is only supported in modules`)}const w=new n.default(l,this._programScope,this._hub);if(c==="es6"){if(!x&&!v){throw new Error("Cannot import an ES6 module from CommonJS")}w.import();if(o){w.namespace(d||l)}else if(s||r){w.named(g,t)}}else if(c!=="commonjs"){throw new Error(`Unexpected interopType "${c}"`)}else if(p==="babel"){if(x){g=g!=="default"?g:l;const e=`${l}$es6Default`;w.import();if(o){w.default(e).var(g||l).wildcardInterop()}else if(s){if(h){w.default(e).var(g||l).defaultInterop().read("default")}else{w.default(e).var(g).defaultInterop().prop(t)}}else if(r){w.default(e).read(t)}}else if(v){w.import();if(o){w.namespace(g||l)}else if(s||r){w.named(g,t)}}else{w.require();if(o){w.var(g||l).wildcardInterop()}else if((s||r)&&h){if(s){g=g!=="default"?g:l;w.var(g).read(t);w.defaultInterop()}else{w.var(l).read(t)}}else if(s){w.var(g).defaultInterop().prop(t)}else if(r){w.var(g).prop(t)}}}else if(p==="compiled"){if(x){w.import();if(o){w.default(g||l)}else if(s||r){w.default(l).read(g)}}else if(v){w.import();if(o){w.namespace(g||l)}else if(s||r){w.named(g,t)}}else{w.require();if(o){w.var(g||l)}else if(s||r){if(h){w.var(l).read(g)}else{w.prop(t).var(g)}}}}else if(p==="uncompiled"){if(s&&h){throw new Error("No live reference for commonjs default")}if(x){w.import();if(o){w.default(g||l)}else if(s){w.default(g)}else if(r){w.default(l).read(g)}}else if(v){w.import();if(o){w.default(g||l)}else if(s){w.default(g)}else if(r){w.named(g,t)}}else{w.require();if(o){w.var(g||l)}else if(s){w.var(g)}else if(r){if(h){w.var(l).read(g)}else{w.var(g).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:P,resultName:E}=w.done();this._insertStatements(P,y,m);if((s||r)&&f&&E.type!=="Identifier"){return i.sequenceExpression([i.numericLiteral(0),E])}return E}_insertStatements(e,t="before",s=3){const r=this._programPath.get("body");if(t==="after"){for(let t=r.length-1;t>=0;t--){if(r[t].isImportDeclaration()){r[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=s});const t=r.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},68346:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return r.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return i.default}});var r=s(3620);var i=s(91997);function addDefault(e,t,s){return new r.default(e).addDefault(t,s)}function addNamed(e,t,s,i){return new r.default(e).addNamed(t,s,i)}function addNamespace(e,t,s){return new r.default(e).addNamespace(t,s)}function addSideEffect(e,t,s){return new r.default(e).addSideEffect(t,s)}},91997:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},12500:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getModuleName;{const e=getModuleName;t.default=getModuleName=function getModuleName(t,s){var r,i,n,a;return e(t,{moduleId:(r=s.moduleId)!=null?r:t.moduleId,moduleIds:(i=s.moduleIds)!=null?i:t.moduleIds,getModuleId:(n=s.getModuleId)!=null?n:t.getModuleId,moduleRoot:(a=s.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:s,filenameRelative:r=s,sourceRoot:i=t.moduleRoot}=e;const{moduleId:n,moduleIds:a=!!n,getModuleId:o,moduleRoot:l=i}=t;if(!a)return null;if(n!=null&&!o){return n}let c=l!=null?l+"/":"";if(r){const e=i!=null?new RegExp("^"+i+"/?"):"";c+=r.replace(e,"").replace(/\.(\w*?)$/,"")}c=c.replace(/\\/g,"/");if(o){return o(c)||c}else{return c}}},29444:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;t.ensureStatementsHoisted=ensureStatementsHoisted;t.wrapInterop=wrapInterop;t.buildNamespaceInitStatements=buildNamespaceInitStatements;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.isModule}});Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return c.hasExports}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return c.isSideEffectImport}});Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});var r=s(42357);var i=s(19761);var n=s(36900);var a=s(68346);var o=s(30567);var l=s(65316);var c=s(5706);var p=s(12500);function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:s,strict:n,allowTopLevelThis:p,strictMode:u,noInterop:h,importInterop:f=(h?"none":"babel"),lazy:d,esNamespaceOnly:y,constantReexports:m=t,enumerableModuleMeta:g=t}){(0,c.validateImportInteropOption)(f);r((0,a.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const b=(0,c.default)(e,s,{importInterop:f,initializeReexports:m,lazy:d,esNamespaceOnly:y});if(!p){(0,o.default)(e)}(0,l.default)(e,b);if(u!==false){const t=e.node.directives.some(e=>{return e.value.value==="use strict"});if(!t){e.unshiftContainer("directives",i.directive(i.directiveLiteral("use strict")))}}const x=[];if((0,c.hasExports)(b)&&!n){x.push(buildESModuleHeader(b,g))}const v=buildExportNameListDeclaration(e,b);if(v){b.exportNameListName=v.name;x.push(v.statement)}x.push(...buildExportInitializationStatements(e,b,m));return{meta:b,headers:x}}function ensureStatementsHoisted(e){e.forEach(e=>{e._blockHoist=3})}function wrapInterop(e,t,s){if(s==="none"){return null}if(s==="node-namespace"){return i.callExpression(e.hub.addHelper("interopRequireWildcard"),[t,i.booleanLiteral(true)])}else if(s==="node-default"){return null}let r;if(s==="default"){r="interopRequireDefault"}else if(s==="namespace"){r="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${s}`)}return i.callExpression(e.hub.addHelper(r),[t])}function buildNamespaceInitStatements(e,t,s=false){const r=[];let a=i.identifier(t.name);if(t.lazy)a=i.callExpression(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;r.push(n.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:i.cloneNode(a)}))}if(s){r.push(...h(e,t,true))}for(const s of t.reexportNamespace){r.push((t.lazy?n.default.statement` Object.defineProperty(EXPORTS, "NAME", { enumerable: true, get: function() { return NAMESPACE; } }); - `:i.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:r,NAMESPACE:s.cloneNode(a)}))}if(t.reexportAll){const i=buildNamespaceReexport(e,s.cloneNode(a),r);i.loc=t.reexportAll.loc;n.push(i)}return n}const f={constant:i.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:i.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:(0,i.default)` + `:n.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:s,NAMESPACE:i.cloneNode(a)}))}if(t.reexportAll){const n=buildNamespaceReexport(e,i.cloneNode(a),s);n.loc=t.reexportAll.loc;r.push(n)}return r}const u={constant:n.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:n.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:(0,n.default)` Object.defineProperty(EXPORTS, "EXPORT_NAME", { enumerable: true, get: function() { return NAMESPACE_IMPORT; }, }); - `};const c=(e,t,r)=>{const n=t.lazy?s.callExpression(s.identifier(t.name),[]):s.identifier(t.name);const{stringSpecifiers:i}=e;return Array.from(t.reexports,([a,o])=>{let l=s.cloneNode(n);if(o==="default"&&t.interop==="node-default"){}else if(i.has(o)){l=s.memberExpression(l,s.stringLiteral(o),true)}else{l=s.memberExpression(l,s.identifier(o))}const u={EXPORTS:e.exportName,EXPORT_NAME:a,NAMESPACE_IMPORT:l};if(r||s.isIdentifier(l)){if(i.has(a)){return f.constantComputed(u)}else{return f.constant(u)}}else{return f.spec(u)}})};function buildESModuleHeader(e,t=false){return(t?i.default.statement` + `};const h=(e,t,s)=>{const r=t.lazy?i.callExpression(i.identifier(t.name),[]):i.identifier(t.name);const{stringSpecifiers:n}=e;return Array.from(t.reexports,([a,o])=>{let l=i.cloneNode(r);if(o==="default"&&t.interop==="node-default"){}else if(n.has(o)){l=i.memberExpression(l,i.stringLiteral(o),true)}else{l=i.memberExpression(l,i.identifier(o))}const c={EXPORTS:e.exportName,EXPORT_NAME:a,NAMESPACE_IMPORT:l};if(s||i.isIdentifier(l)){if(n.has(a)){return u.constantComputed(c)}else{return u.constant(c)}}else{return u.spec(c)}})};function buildESModuleHeader(e,t=false){return(t?n.default.statement` EXPORTS.__esModule = true; - `:i.default.statement` + `:n.default.statement` Object.defineProperty(EXPORTS, "__esModule", { value: true, }); - `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,r){return(r?i.default.statement` + `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,s){return(s?n.default.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; @@ -3961,7 +3961,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m EXPORTS[key] = NAMESPACE[key]; }); - `:i.default.statement` + `:n.default.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; @@ -3974,33 +3974,33 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }, }); }); - `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,i.default)` + `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,n.default)` if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return; - `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const r=Object.create(null);for(const e of t.local.values()){for(const t of e.names){r[t]=true}}let n=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){r[t]=true}for(const t of e.reexportNamespace){r[t]=true}n=n||!!e.reexportAll}if(!n||Object.keys(r).length===0)return null;const i=e.scope.generateUidIdentifier("exportNames");delete r.default;return{name:i.name,statement:s.variableDeclaration("var",[s.variableDeclarator(i,s.valueToNode(r))])}}function buildExportInitializationStatements(e,t,r=false){const n=[];const i=[];for(const[e,r]of t.local){if(r.kind==="import"){}else if(r.kind==="hoisted"){n.push(buildInitStatement(t,r.names,s.identifier(e)))}else{i.push(...r.names)}}for(const e of t.source.values()){if(!r){n.push(...c(t,e,false))}for(const t of e.reexportNamespace){i.push(t)}}n.push(...chunk(i,100).map(r=>{return buildInitStatement(t,r,e.scope.buildUndefinedNode())}));return n}const d={computed:i.default.expression`EXPORTS["NAME"] = VALUE`,default:i.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,r){const{stringSpecifiers:n,exportName:i}=e;return s.expressionStatement(t.reduce((e,t)=>{const r={EXPORTS:i,NAME:t,VALUE:e};if(n.has(t)){return d.computed(r)}else{return d.default(r)}},r))}function chunk(e,t){const r=[];for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;t.default=normalizeModuleAndLoadMetadata;var n=r(85622);var s=r(8978);var i=r(76729);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t){if(typeof e==="function"){return validateImportInteropOption(e(t))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:r,initializeReexports:n=false,lazy:s=false,esNamespaceOnly:i=false}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const a=new Set;nameAnonymousExports(e);const{local:o,source:l,hasExports:u}=getModuleMetadata(e,{initializeReexports:n,lazy:s},a);removeModuleDeclarations(e);for(const[,e]of l){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(r,e.source);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(i&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:u,local:o,source:l,stringSpecifiers:a}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const r=e.node.value;if(!(0,s.isIdentifierName)(r)){t.add(r)}return r}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:r},s){const i=getLocalExportMetadata(e,r,s);const a=new Map;const o=t=>{const r=t.value;let s=a.get(r);if(!s){s={name:e.scope.generateUidIdentifier((0,n.basename)(r,(0,n.extname)(r))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:r};a.set(r,s)}return s};let l=false;e.get("body").forEach(e=>{if(e.isImportDeclaration()){const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{if(e.isImportDefaultSpecifier()){const r=e.get("local").node.name;t.imports.set(r,"default");const n=i.get(r);if(n){i.delete(r);n.names.forEach(e=>{t.reexports.set(e,"default")})}}else if(e.isImportNamespaceSpecifier()){const r=e.get("local").node.name;t.importsNamespace.add(r);const n=i.get(r);if(n){i.delete(r);n.names.forEach(e=>{t.reexportNamespace.add(e)})}}else if(e.isImportSpecifier()){const r=getExportSpecifierName(e.get("imported"),s);const n=e.get("local").node.name;t.imports.set(n,r);const a=i.get(n);if(a){i.delete(n);a.names.forEach(e=>{t.reexports.set(e,r)})}}})}else if(e.isExportAllDeclaration()){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{assertExportSpecifier(e);const r=getExportSpecifierName(e.get("local"),s);const n=getExportSpecifierName(e.get("exported"),s);t.reexports.set(n,r);if(n==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}})}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}});for(const e of a.values()){let t=false;let r=false;if(e.importsNamespace.size>0){t=true;r=true}if(e.reexportAll){r=true}for(const n of e.imports.values()){if(n==="default")t=true;else r=true}for(const n of e.reexports.values()){if(n==="default")t=true;else r=true}if(t&&r){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,r]of a){if(t!==false&&!(isSideEffectImport(r)||r.reexportAll)){if(t===true){r.lazy=!/\./.test(e)}else if(Array.isArray(t)){r.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){r.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:l,local:i,source:a}}function getLocalExportMetadata(e,t,r){const n=new Map;e.get("body").forEach(e=>{let r;if(e.isImportDeclaration()){r="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach(e=>{assertExportSpecifier(e);n.set(e.get("local").node.name,"block")});return}}if(e.isFunctionDeclaration()){r="hoisted"}else if(e.isClassDeclaration()){r="block"}else if(e.isVariableDeclaration({kind:"var"})){r="var"}else if(e.isVariableDeclaration()){r="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach(e=>{n.set(e,r)})});const s=new Map;const i=e=>{const t=e.node.name;let r=s.get(t);if(!r){const i=n.get(t);if(i===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}r={names:[],kind:i};s.set(t,r)}return r};e.get("body").forEach(e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const r=t.getOuterBindingIdentifierPaths();Object.keys(r).forEach(e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}i(r[e]).names.push(e)})}else{e.get("specifiers").forEach(e=>{const t=e.get("local");const n=e.get("exported");const s=i(t);const a=getExportSpecifierName(n,r);if(a==="__esModule"){throw n.buildCodeFrameError('Illegal export "__esModule".')}s.names.push(a)})}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){i(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}});return s}function nameAnonymousExports(e){e.get("body").forEach(e=>{if(!e.isExportDefaultDeclaration())return;(0,i.default)(e)})}function removeModuleDeclarations(e){e.get("body").forEach(e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}})}},65316:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteLiveReferences;var n=r(42357);var s=r(61127);var i=r(36900);var a=r(67050);function rewriteLiveReferences(e,t){const r=new Map;const n=new Map;const i=t=>{e.requeue(t)};for(const[e,n]of t.source){for(const[t,s]of n.imports){r.set(t,[e,s,null])}for(const t of n.importsNamespace){r.set(t,[e,null,t])}}for(const[e,r]of t.local){let t=n.get(e);if(!t){t=[];n.set(e,t)}t.push(...r.names)}const l={metadata:t,requeueInParent:i,scope:e.scope,exported:n};e.traverse(o,l);(0,a.default)(e,new Set([...Array.from(r.keys()),...Array.from(n.keys())]));const u={seen:new WeakSet,metadata:t,requeueInParent:i,scope:e.scope,imported:r,exported:n,buildImportReference:([e,r,n],i)=>{const a=t.source.get(e);if(n){if(a.lazy)i=s.callExpression(i,[]);return i}let o=s.identifier(a.name);if(a.lazy)o=s.callExpression(o,[]);if(r==="default"&&a.interop==="node-default"){return o}const l=t.stringSpecifiers.has(r);return s.memberExpression(o,l?s.stringLiteral(r):s.identifier(r),l)}};e.traverse(p,u)}const o={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;const{id:i}=e.node;if(!i)throw new Error("Expected class to have a name");const a=i.name;const o=r.get(a)||[];if(o.length>0){const r=s.expressionStatement(l(n,o,s.identifier(a)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(i=>{const a=r.get(i)||[];if(a.length>0){const r=s.expressionStatement(l(n,a,s.identifier(i)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}})}};const l=(e,t,r)=>{return(t||[]).reduce((t,r)=>{const{stringSpecifiers:n}=e;const i=n.has(r);return s.assignmentExpression("=",s.memberExpression(s.identifier(e.exportName),i?s.stringLiteral(r):s.identifier(r),i),t)},r)};const u=e=>{return i.default.expression.ast` + `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const s=Object.create(null);for(const e of t.local.values()){for(const t of e.names){s[t]=true}}let r=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){s[t]=true}for(const t of e.reexportNamespace){s[t]=true}r=r||!!e.reexportAll}if(!r||Object.keys(s).length===0)return null;const n=e.scope.generateUidIdentifier("exportNames");delete s.default;return{name:n.name,statement:i.variableDeclaration("var",[i.variableDeclarator(n,i.valueToNode(s))])}}function buildExportInitializationStatements(e,t,s=false){const r=[];const n=[];for(const[e,s]of t.local){if(s.kind==="import"){}else if(s.kind==="hoisted"){r.push(buildInitStatement(t,s.names,i.identifier(e)))}else{n.push(...s.names)}}for(const e of t.source.values()){if(!s){r.push(...h(t,e,false))}for(const t of e.reexportNamespace){n.push(t)}}r.push(...chunk(n,100).map(s=>{return buildInitStatement(t,s,e.scope.buildUndefinedNode())}));return r}const f={computed:n.default.expression`EXPORTS["NAME"] = VALUE`,default:n.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,s){const{stringSpecifiers:r,exportName:n}=e;return i.expressionStatement(t.reduce((e,t)=>{const s={EXPORTS:n,NAME:t,VALUE:e};if(r.has(t)){return f.computed(s)}else{return f.default(s)}},s))}function chunk(e,t){const s=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;t.default=normalizeModuleAndLoadMetadata;var r=s(85622);var i=s(8978);var n=s(76729);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t){if(typeof e==="function"){return validateImportInteropOption(e(t))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:s,initializeReexports:r=false,lazy:i=false,esNamespaceOnly:n=false}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const a=new Set;nameAnonymousExports(e);const{local:o,source:l,hasExports:c}=getModuleMetadata(e,{initializeReexports:r,lazy:i},a);removeModuleDeclarations(e);for(const[,e]of l){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(s,e.source);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(n&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:c,local:o,source:l,stringSpecifiers:a}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const s=e.node.value;if(!(0,i.isIdentifierName)(s)){t.add(s)}return s}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:s},i){const n=getLocalExportMetadata(e,s,i);const a=new Map;const o=t=>{const s=t.value;let i=a.get(s);if(!i){i={name:e.scope.generateUidIdentifier((0,r.basename)(s,(0,r.extname)(s))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:s};a.set(s,i)}return i};let l=false;e.get("body").forEach(e=>{if(e.isImportDeclaration()){const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{if(e.isImportDefaultSpecifier()){const s=e.get("local").node.name;t.imports.set(s,"default");const r=n.get(s);if(r){n.delete(s);r.names.forEach(e=>{t.reexports.set(e,"default")})}}else if(e.isImportNamespaceSpecifier()){const s=e.get("local").node.name;t.importsNamespace.add(s);const r=n.get(s);if(r){n.delete(s);r.names.forEach(e=>{t.reexportNamespace.add(e)})}}else if(e.isImportSpecifier()){const s=getExportSpecifierName(e.get("imported"),i);const r=e.get("local").node.name;t.imports.set(r,s);const a=n.get(r);if(a){n.delete(r);a.names.forEach(e=>{t.reexports.set(e,s)})}}})}else if(e.isExportAllDeclaration()){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{assertExportSpecifier(e);const s=getExportSpecifierName(e.get("local"),i);const r=getExportSpecifierName(e.get("exported"),i);t.reexports.set(r,s);if(r==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}})}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}});for(const e of a.values()){let t=false;let s=false;if(e.importsNamespace.size>0){t=true;s=true}if(e.reexportAll){s=true}for(const r of e.imports.values()){if(r==="default")t=true;else s=true}for(const r of e.reexports.values()){if(r==="default")t=true;else s=true}if(t&&s){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,s]of a){if(t!==false&&!(isSideEffectImport(s)||s.reexportAll)){if(t===true){s.lazy=!/\./.test(e)}else if(Array.isArray(t)){s.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){s.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:l,local:n,source:a}}function getLocalExportMetadata(e,t,s){const r=new Map;e.get("body").forEach(e=>{let s;if(e.isImportDeclaration()){s="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach(e=>{assertExportSpecifier(e);r.set(e.get("local").node.name,"block")});return}}if(e.isFunctionDeclaration()){s="hoisted"}else if(e.isClassDeclaration()){s="block"}else if(e.isVariableDeclaration({kind:"var"})){s="var"}else if(e.isVariableDeclaration()){s="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach(e=>{r.set(e,s)})});const i=new Map;const n=e=>{const t=e.node.name;let s=i.get(t);if(!s){const n=r.get(t);if(n===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}s={names:[],kind:n};i.set(t,s)}return s};e.get("body").forEach(e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const s=t.getOuterBindingIdentifierPaths();Object.keys(s).forEach(e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}n(s[e]).names.push(e)})}else{e.get("specifiers").forEach(e=>{const t=e.get("local");const r=e.get("exported");const i=n(t);const a=getExportSpecifierName(r,s);if(a==="__esModule"){throw r.buildCodeFrameError('Illegal export "__esModule".')}i.names.push(a)})}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){n(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}});return i}function nameAnonymousExports(e){e.get("body").forEach(e=>{if(!e.isExportDefaultDeclaration())return;(0,n.default)(e)})}function removeModuleDeclarations(e){e.get("body").forEach(e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}})}},65316:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteLiveReferences;var r=s(42357);var i=s(19761);var n=s(36900);var a=s(67050);function rewriteLiveReferences(e,t){const s=new Map;const r=new Map;const n=t=>{e.requeue(t)};for(const[e,r]of t.source){for(const[t,i]of r.imports){s.set(t,[e,i,null])}for(const t of r.importsNamespace){s.set(t,[e,null,t])}}for(const[e,s]of t.local){let t=r.get(e);if(!t){t=[];r.set(e,t)}t.push(...s.names)}const l={metadata:t,requeueInParent:n,scope:e.scope,exported:r};e.traverse(o,l);(0,a.default)(e,new Set([...Array.from(s.keys()),...Array.from(r.keys())]));const c={seen:new WeakSet,metadata:t,requeueInParent:n,scope:e.scope,imported:s,exported:r,buildImportReference:([e,s,r],n)=>{const a=t.source.get(e);if(r){if(a.lazy)n=i.callExpression(n,[]);return n}let o=i.identifier(a.name);if(a.lazy)o=i.callExpression(o,[]);if(s==="default"&&a.interop==="node-default"){return o}const l=t.stringSpecifiers.has(s);return i.memberExpression(o,l?i.stringLiteral(s):i.identifier(s),l)}};e.traverse(p,c)}const o={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:s,metadata:r}=this;const{id:n}=e.node;if(!n)throw new Error("Expected class to have a name");const a=n.name;const o=s.get(a)||[];if(o.length>0){const s=i.expressionStatement(l(r,o,i.identifier(a)));s._blockHoist=e.node._blockHoist;t(e.insertAfter(s)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:s,metadata:r}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(n=>{const a=s.get(n)||[];if(a.length>0){const s=i.expressionStatement(l(r,a,i.identifier(n)));s._blockHoist=e.node._blockHoist;t(e.insertAfter(s)[0])}})}};const l=(e,t,s)=>{return(t||[]).reduce((t,s)=>{const{stringSpecifiers:r}=e;const n=r.has(s);return i.assignmentExpression("=",i.memberExpression(i.identifier(e.exportName),n?i.stringLiteral(s):i.identifier(s),n),t)},s)};const c=e=>{return n.default.expression.ast` (function() { throw new Error('"' + '${e}' + '" is read-only.'); })() - `};const p={ReferencedIdentifier(e){const{seen:t,buildImportReference:r,scope:n,imported:i,requeueInParent:a}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const l=i.get(o);if(l){const t=e.scope.getBinding(o);const i=n.getBinding(o);if(i!==t)return;const u=r(l,e.node);u.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&s.isMemberExpression(u)){e.replaceWith(s.sequenceExpression([s.numericLiteral(0),u]))}else if(e.isJSXIdentifier()&&s.isMemberExpression(u)){const{object:t,property:r}=u;e.replaceWith(s.jsxMemberExpression(s.jsxIdentifier(t.name),s.jsxIdentifier(r.name)))}else{e.replaceWith(u)}a(e);e.skip()}},AssignmentExpression:{exit(e){const{scope:t,seen:r,imported:i,exported:a,requeueInParent:o,buildImportReference:p}=this;if(r.has(e.node))return;r.add(e.node);const f=e.get("left");if(f.isMemberExpression())return;if(f.isIdentifier()){const r=f.node.name;if(t.getBinding(r)!==e.scope.getBinding(r)){return}const c=a.get(r);const d=i.get(r);if((c==null?void 0:c.length)>0||d){n(e.node.operator==="=","Path was not simplified");const t=e.node;if(d){t.left=p(d,t.left);t.right=s.sequenceExpression([t.right,u(r)])}e.replaceWith(l(this.metadata,c,t));o(e)}}else{const r=f.getOuterBindingIdentifiers();const n=Object.keys(r).filter(r=>t.getBinding(r)===e.scope.getBinding(r));const p=n.find(e=>i.has(e));if(p){e.node.right=s.sequenceExpression([e.node.right,u(p)])}const c=[];n.forEach(e=>{const t=a.get(e)||[];if(t.length>0){c.push(l(this.metadata,t,s.identifier(e)))}});if(c.length>0){let t=s.sequenceExpression(c);if(e.parentPath.isExpressionStatement()){t=s.expressionStatement(t);t._blockHoist=e.parentPath.node._blockHoist}const r=e.insertAfter(t)[0];o(r)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:r}=e;const{left:n}=r;const{exported:i,scope:a}=this;if(!s.isVariableDeclaration(n)){let r=false;const o=e.get("body");const l=o.scope;for(const e of Object.keys(s.getOuterBindingIdentifiers(n))){if(i.get(e)&&a.getBinding(e)===t.getBinding(e)){r=true;if(l.hasOwnBinding(e)){l.rename(e)}}}if(!r){return}const u=t.generateUidIdentifierBasedOnNode(n);o.unshiftContainer("body",s.expressionStatement(s.assignmentExpression("=",n,u)));e.get("left").replaceWith(s.variableDeclaration("let",[s.variableDeclarator(s.cloneNode(u))]));t.registerDeclaration(e.get("left"))}}}},30567:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteThis;var n=r(846);var s=r(4267);var i=r(61127);function rewriteThis(e){(0,s.default)(e.node,Object.assign({},a,{noScope:true}))}const a=s.default.visitors.merge([n.environmentVisitor,{ThisExpression(e){e.replaceWith(i.unaryExpression("void",i.numericLiteral(0),true))}}])},32092:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},67050:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=simplifyAccess;var n=r(61127);function simplifyAccess(e,t){e.traverse(s,{scope:e.scope,bindingNames:t,seen:new WeakSet})}const s={UpdateExpression:{exit(e){const{scope:t,bindingNames:r}=this;const s=e.get("argument");if(!s.isIdentifier())return;const i=s.node.name;if(!r.has(i))return;if(t.getBinding(i)!==e.scope.getBinding(i)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(n.assignmentExpression(t,s.node,n.numericLiteral(1)))}else if(e.node.prefix){e.replaceWith(n.assignmentExpression("=",n.identifier(i),n.binaryExpression(e.node.operator[0],n.unaryExpression("+",s.node),n.numericLiteral(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(s.node,"old");const r=t.name;e.scope.push({id:t});const i=n.binaryExpression(e.node.operator[0],n.identifier(r),n.numericLiteral(1));e.replaceWith(n.sequenceExpression([n.assignmentExpression("=",n.identifier(r),n.unaryExpression("+",s.node)),n.assignmentExpression("=",n.cloneNode(s.node),i),n.identifier(r)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:r,bindingNames:s}=this;if(e.node.operator==="=")return;if(r.has(e.node))return;r.add(e.node);const i=e.get("left");if(!i.isIdentifier())return;const a=i.node.name;if(!s.has(a))return;if(t.getBinding(a)!==e.scope.getBinding(a)){return}e.node.right=n.binaryExpression(e.node.operator.slice(0,-1),n.cloneNode(e.node.left),e.node.right);e.node.operator="="}}}},84928:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(84928);var s=r(53324)},53324:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},5945:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(92744);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},15793:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(34785);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},7005:()=>{},33344:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(93761);var s=r(47531);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(35722);var s=r(16574);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},12291:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(35722);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},35722:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(33344);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},6717:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(35722)},95349:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(64190);var s=r(3878);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(35722);var s=r(45210);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},99568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(84269);function clone(e){return(0,n.default)(e,false)}},70265:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(84269);function cloneDeep(e){return(0,n.default)(e)}},75080:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(84269);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},84269:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(93761);var s=r(64190);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},61545:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(84269);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},66628:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(98933);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},98933:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},99582:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(67082);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},81178:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(67082);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},94805:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(67082);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},54112:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(94805);var s=r(81178);var i=r(99582);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},16919:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(64596);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},88210:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(93761);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},64596:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},73363:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(83691);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},43508:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(8004);var s=r(64190);var i=r(35722);var a=r(84269);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},51779:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(84004);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},83691:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(64190);var s=r(35722);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},15521:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(64190);var s=r(35722);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},41661:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(64190);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},84004:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(774);var s=r(8978);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},57675:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(64190);var s=r(84269);var i=r(1712);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},80589:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(43508);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},43643:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(64190);var s=r(35722);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},74284:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(774);var s=r(35722);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},22485:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(34785);var s=r(774);var i=r(8978);var a=r(64596);var o=r(29081);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},18885:(e,t,r)=>{"use strict";var n=r(29081);var s=r(22485);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},95006:(e,t,r)=>{"use strict";var n=r(29081);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},93761:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(22485);r(95006);r(7710);r(16026);r(18885);r(2484);var s=r(29081);var i=r(96091);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},7710:(e,t,r)=>{"use strict";var n=r(29081);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},16026:(e,t,r)=>{"use strict";var n=r(29081);var s=r(96091);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},96091:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(29081);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},2484:(e,t,r)=>{"use strict";var n=r(29081);var s=r(22485);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},29081:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(34785);var s=r(47531);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},61127:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(90560);var i=r(42323);var a=r(95349);var o=r(5945);var l=r(15793);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(12291);var p=r(82542);var f=r(98090);var c=r(35722);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(6717);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(84269);var m=r(99568);var T=r(70265);var h=r(75080);var S=r(61545);var b=r(66628);var E=r(98933);var g=r(99582);var P=r(81178);var x=r(54112);var v=r(94805);var A=r(16919);var O=r(88210);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(64596);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(73363);var w=r(51779);var j=r(83691);var N=r(15521);var C=r(41661);var L=r(84004);var _=r(57675);var M=r(80589);var F=r(43643);var B=r(74284);var k=r(93761);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(27338);var K=r(87073);var V=r(4451);var X=r(52584);var Y=r(1712);var J=r(16574);var U=r(8004);var W=r(65725);var q=r(60404);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(2843);var G=r(44260);var $=r(34785);var H=r(23021);var Q=r(44332);var Z=r(64348);var ee=r(66944);var te=r(92744);var re=r(72263);var ne=r(33674);var se=r(94482);var ie=r(30733);var ae=r(36064);var oe=r(61977);var le=r(57111);var ue=r(774);var pe=r(97128);var fe=r(31724);var ce=r(47531);var de=r(43248);var ye=r(64190);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(7005);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},27338:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(35722);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},16574:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(64190);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},87073:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(64596);var s=r(54112);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},4451:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(35722);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},52584:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(64596);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},1712:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(2843);var s=r(52584);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},45210:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(64190);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},8004:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(64190);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(8004);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},60404:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(93761);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(93761);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},67082:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},3878:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(35722);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},43248:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(31724);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},64190:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(44260);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},34785:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(44260);var s=r(61977);var i=r(33674);var a=r(93761);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},23021:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(8004);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},44332:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(64190);var s=r(66944);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},64348:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(61977);var s=r(64190);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},66944:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(64190);var s=r(64596);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},92744:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(93761);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},72263:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(93761);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(93761);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},94482:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},30733:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(64190);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},36064:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(64190);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},61977:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(93761);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},57111:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(774);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},774:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(8978);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},97128:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(64190);var s=r(64596);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},31724:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(64190);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},90560:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(43248);const s=(0,n.default)("React.Component");var i=s;t.default=i},47531:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(93761);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},79874:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(53284);var s=r(85622);var i=r(83431);var a=r(85850);const o=(0,a.template)(`\n GLOBAL_REFERENCE = GLOBAL_REFERENCE || {}\n`);const l=(0,a.template)(`\n (function (global, factory) {\n if (typeof define === "function" && define.amd) {\n define(MODULE_NAME, AMD_ARGUMENTS, factory);\n } else if (typeof exports !== "undefined") {\n factory(COMMONJS_ARGUMENTS);\n } else {\n var mod = { exports: {} };\n factory(BROWSER_ARGUMENTS);\n\n GLOBAL_TO_ASSIGN;\n }\n })(\n typeof globalThis !== "undefined" ? globalThis\n : typeof self !== "undefined" ? self\n : this,\n function(IMPORT_NAMES) {\n })\n`);var u=(0,n.declare)((e,t)=>{var r,n;e.assertVersion(7);const{globals:u,exactGlobals:p,allowTopLevelThis:f,strict:c,strictMode:d,noInterop:y,importInterop:m}=t;const T=(r=e.assumption("constantReexports"))!=null?r:t.loose;const h=(n=e.assumption("enumerableModuleMeta"))!=null?n:t.loose;function buildBrowserInit(e,t,r,n){const i=n?n.value:(0,s.basename)(r,(0,s.extname)(r));let l=a.types.memberExpression(a.types.identifier("global"),a.types.identifier(a.types.toIdentifier(i)));let u=[];if(t){const t=e[i];if(t){u=[];const e=t.split(".");l=e.slice(1).reduce((e,t)=>{u.push(o({GLOBAL_REFERENCE:a.types.cloneNode(e)}));return a.types.memberExpression(e,a.types.identifier(t))},a.types.memberExpression(a.types.identifier("global"),a.types.identifier(e[0])))}}u.push(a.types.expressionStatement(a.types.assignmentExpression("=",l,a.types.memberExpression(a.types.identifier("mod"),a.types.identifier("exports")))));return u}function buildBrowserArg(e,t,r){let n;if(t){const t=e[r];if(t){n=t.split(".").reduce((e,t)=>a.types.memberExpression(e,a.types.identifier(t)),a.types.identifier("global"))}else{n=a.types.memberExpression(a.types.identifier("global"),a.types.identifier(a.types.toIdentifier(r)))}}else{const t=(0,s.basename)(r,(0,s.extname)(r));const i=e[t]||t;n=a.types.memberExpression(a.types.identifier("global"),a.types.identifier(a.types.toIdentifier(i)))}return n}return{name:"transform-modules-umd",visitor:{Program:{exit(e){if(!(0,i.isModule)(e))return;const r=u||{};let n=(0,i.getModuleName)(this.file.opts,t);if(n)n=a.types.stringLiteral(n);const{meta:s,headers:o}=(0,i.rewriteModuleStatementsAndPrepareHeader)(e,{constantReexports:T,enumerableModuleMeta:h,strict:c,strictMode:d,allowTopLevelThis:f,noInterop:y,importInterop:m});const S=[];const b=[];const E=[];const g=[];if((0,i.hasExports)(s)){S.push(a.types.stringLiteral("exports"));b.push(a.types.identifier("exports"));E.push(a.types.memberExpression(a.types.identifier("mod"),a.types.identifier("exports")));g.push(a.types.identifier(s.exportName))}for(const[t,n]of s.source){S.push(a.types.stringLiteral(t));b.push(a.types.callExpression(a.types.identifier("require"),[a.types.stringLiteral(t)]));E.push(buildBrowserArg(r,p,t));g.push(a.types.identifier(n.name));if(!(0,i.isSideEffectImport)(n)){const t=(0,i.wrapInterop)(e,a.types.identifier(n.name),n.interop);if(t){const e=a.types.expressionStatement(a.types.assignmentExpression("=",a.types.identifier(n.name),t));e.loc=s.loc;o.push(e)}}o.push(...(0,i.buildNamespaceInitStatements)(s,n,T))}(0,i.ensureStatementsHoisted)(o);e.unshiftContainer("body",o);const{body:P,directives:x}=e.node;e.node.directives=[];e.node.body=[];const v=e.pushContainer("body",[l({MODULE_NAME:n,AMD_ARGUMENTS:a.types.arrayExpression(S),COMMONJS_ARGUMENTS:b,BROWSER_ARGUMENTS:E,IMPORT_NAMES:g,GLOBAL_TO_ASSIGN:buildBrowserInit(r,p,this.filename||"unknown",n)})])[0];const A=v.get("expression.arguments")[1].get("body");A.pushContainer("directives",x);A.pushContainer("body",P)}}}}});t.default=u},14002:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var s=r(5022);class ImportBuilder{constructor(e,t,r){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=r;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(s.importDeclaration([],s.stringLiteral(this._importedSource)));return this}require(){this._statements.push(s.expressionStatement(s.callExpression(s.identifier("require"),[s.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[s.importNamespaceSpecifier(t)];this._resultName=s.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];n(t.type==="ImportDeclaration");n(t.specifiers.length===0);t.specifiers=[s.importDefaultSpecifier(e)];this._resultName=s.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[s.importSpecifier(e,s.identifier(t))];this._resultName=s.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){n(this._resultName);t=s.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=s.variableDeclaration("var",[s.variableDeclarator(e,t.expression)]);this._resultName=s.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=s.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=s.callExpression(e,[t.declarations[0].init])}else{n.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=s.memberExpression(t.expression,s.identifier(e))}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=s.memberExpression(t.declarations[0].init,s.identifier(e))}else{n.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=s.memberExpression(this._resultName,s.identifier(e))}}t.default=ImportBuilder},25549:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var s=r(5022);var i=r(14002);var a=r(50537);class ImportInjector{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const n=e.find(e=>e.isProgram());this._programPath=n;this._programScope=n.scope;this._hub=n.hub;this._defaultOpts=this._applyDefaults(t,r,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){n(typeof e==="string");return this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,r=false){const s=[];if(typeof e==="string"){s.push({importedSource:e});s.push(t)}else{n(!t,"Unexpected secondary arguments.");s.push(e)}const i=Object.assign({},this._defaultOpts);for(const e of s){if(!e)continue;Object.keys(i).forEach(t=>{if(e[t]!==undefined)i[t]=e[t]});if(!r){if(e.nameHint!==undefined)i.nameHint=e.nameHint;if(e.blockHoist!==undefined)i.blockHoist=e.blockHoist}}return i}_generateImport(e,t){const r=t==="default";const n=!!t&&!r;const o=t===null;const{importedSource:l,importedType:u,importedInterop:p,importingInterop:f,ensureLiveReference:c,ensureNoContext:d,nameHint:y,importPosition:m,blockHoist:T}=e;let h=y||t;const S=(0,a.default)(this._programPath);const b=S&&f==="node";const E=S&&f==="babel";if(m==="after"&&!S){throw new Error(`"importPosition": "after" is only supported in modules`)}const g=new i.default(l,this._programScope,this._hub);if(u==="es6"){if(!b&&!E){throw new Error("Cannot import an ES6 module from CommonJS")}g.import();if(o){g.namespace(y||l)}else if(r||n){g.named(h,t)}}else if(u!=="commonjs"){throw new Error(`Unexpected interopType "${u}"`)}else if(p==="babel"){if(b){h=h!=="default"?h:l;const e=`${l}$es6Default`;g.import();if(o){g.default(e).var(h||l).wildcardInterop()}else if(r){if(c){g.default(e).var(h||l).defaultInterop().read("default")}else{g.default(e).var(h).defaultInterop().prop(t)}}else if(n){g.default(e).read(t)}}else if(E){g.import();if(o){g.namespace(h||l)}else if(r||n){g.named(h,t)}}else{g.require();if(o){g.var(h||l).wildcardInterop()}else if((r||n)&&c){if(r){h=h!=="default"?h:l;g.var(h).read(t);g.defaultInterop()}else{g.var(l).read(t)}}else if(r){g.var(h).defaultInterop().prop(t)}else if(n){g.var(h).prop(t)}}}else if(p==="compiled"){if(b){g.import();if(o){g.default(h||l)}else if(r||n){g.default(l).read(h)}}else if(E){g.import();if(o){g.namespace(h||l)}else if(r||n){g.named(h,t)}}else{g.require();if(o){g.var(h||l)}else if(r||n){if(c){g.var(l).read(h)}else{g.prop(t).var(h)}}}}else if(p==="uncompiled"){if(r&&c){throw new Error("No live reference for commonjs default")}if(b){g.import();if(o){g.default(h||l)}else if(r){g.default(h)}else if(n){g.default(l).read(h)}}else if(E){g.import();if(o){g.default(h||l)}else if(r){g.default(h)}else if(n){g.named(h,t)}}else{g.require();if(o){g.var(h||l)}else if(r){g.var(h)}else if(n){if(c){g.var(l).read(h)}else{g.var(h).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:P,resultName:x}=g.done();this._insertStatements(P,m,T);if((r||n)&&d&&x.type!=="Identifier"){return s.sequenceExpression([s.numericLiteral(0),x])}return x}_insertStatements(e,t="before",r=3){const n=this._programPath.get("body");if(t==="after"){for(let t=n.length-1;t>=0;t--){if(n[t].isImportDeclaration()){n[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=r});const t=n.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},30489:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return s.default}});var n=r(25549);var s=r(50537);function addDefault(e,t,r){return new n.default(e).addDefault(t,r)}function addNamed(e,t,r,s){return new n.default(e).addNamed(t,r,s)}function addNamespace(e,t,r){return new n.default(e).addNamespace(t,r)}function addSideEffect(e,t,r){return new n.default(e).addSideEffect(t,r)}},50537:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},8167:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getModuleName;{const e=getModuleName;t.default=getModuleName=function getModuleName(t,r){var n,s,i,a;return e(t,{moduleId:(n=r.moduleId)!=null?n:t.moduleId,moduleIds:(s=r.moduleIds)!=null?s:t.moduleIds,getModuleId:(i=r.getModuleId)!=null?i:t.getModuleId,moduleRoot:(a=r.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:r,filenameRelative:n=r,sourceRoot:s=t.moduleRoot}=e;const{moduleId:i,moduleIds:a=!!i,getModuleId:o,moduleRoot:l=s}=t;if(!a)return null;if(i!=null&&!o){return i}let u=l!=null?l+"/":"";if(n){const e=s!=null?new RegExp("^"+s+"/?"):"";u+=n.replace(e,"").replace(/\.(\w*?)$/,"")}u=u.replace(/\\/g,"/");if(o){return o(u)||u}else{return u}}},83431:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;t.ensureStatementsHoisted=ensureStatementsHoisted;t.wrapInterop=wrapInterop;t.buildNamespaceInitStatements=buildNamespaceInitStatements;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.isModule}});Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return u.hasExports}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return u.isSideEffectImport}});Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});var n=r(42357);var s=r(5022);var i=r(36900);var a=r(30489);var o=r(77119);var l=r(65497);var u=r(3367);var p=r(8167);function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:r,strict:i,allowTopLevelThis:p,strictMode:f,noInterop:c,importInterop:d=(c?"none":"babel"),lazy:y,esNamespaceOnly:m,constantReexports:T=t,enumerableModuleMeta:h=t}){(0,u.validateImportInteropOption)(d);n((0,a.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const S=(0,u.default)(e,r,{importInterop:d,initializeReexports:T,lazy:y,esNamespaceOnly:m});if(!p){(0,o.default)(e)}(0,l.default)(e,S);if(f!==false){const t=e.node.directives.some(e=>{return e.value.value==="use strict"});if(!t){e.unshiftContainer("directives",s.directive(s.directiveLiteral("use strict")))}}const b=[];if((0,u.hasExports)(S)&&!i){b.push(buildESModuleHeader(S,h))}const E=buildExportNameListDeclaration(e,S);if(E){S.exportNameListName=E.name;b.push(E.statement)}b.push(...buildExportInitializationStatements(e,S,T));return{meta:S,headers:b}}function ensureStatementsHoisted(e){e.forEach(e=>{e._blockHoist=3})}function wrapInterop(e,t,r){if(r==="none"){return null}if(r==="node-namespace"){return s.callExpression(e.hub.addHelper("interopRequireWildcard"),[t,s.booleanLiteral(true)])}else if(r==="node-default"){return null}let n;if(r==="default"){n="interopRequireDefault"}else if(r==="namespace"){n="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${r}`)}return s.callExpression(e.hub.addHelper(n),[t])}function buildNamespaceInitStatements(e,t,r=false){const n=[];let a=s.identifier(t.name);if(t.lazy)a=s.callExpression(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;n.push(i.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:s.cloneNode(a)}))}if(r){n.push(...c(e,t,true))}for(const r of t.reexportNamespace){n.push((t.lazy?i.default.statement` + `};const p={ReferencedIdentifier(e){const{seen:t,buildImportReference:s,scope:r,imported:n,requeueInParent:a}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const l=n.get(o);if(l){const t=e.scope.getBinding(o);const n=r.getBinding(o);if(n!==t)return;const c=s(l,e.node);c.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&i.isMemberExpression(c)){e.replaceWith(i.sequenceExpression([i.numericLiteral(0),c]))}else if(e.isJSXIdentifier()&&i.isMemberExpression(c)){const{object:t,property:s}=c;e.replaceWith(i.jsxMemberExpression(i.jsxIdentifier(t.name),i.jsxIdentifier(s.name)))}else{e.replaceWith(c)}a(e);e.skip()}},AssignmentExpression:{exit(e){const{scope:t,seen:s,imported:n,exported:a,requeueInParent:o,buildImportReference:p}=this;if(s.has(e.node))return;s.add(e.node);const u=e.get("left");if(u.isMemberExpression())return;if(u.isIdentifier()){const s=u.node.name;if(t.getBinding(s)!==e.scope.getBinding(s)){return}const h=a.get(s);const f=n.get(s);if((h==null?void 0:h.length)>0||f){r(e.node.operator==="=","Path was not simplified");const t=e.node;if(f){t.left=p(f,t.left);t.right=i.sequenceExpression([t.right,c(s)])}e.replaceWith(l(this.metadata,h,t));o(e)}}else{const s=u.getOuterBindingIdentifiers();const r=Object.keys(s).filter(s=>t.getBinding(s)===e.scope.getBinding(s));const p=r.find(e=>n.has(e));if(p){e.node.right=i.sequenceExpression([e.node.right,c(p)])}const h=[];r.forEach(e=>{const t=a.get(e)||[];if(t.length>0){h.push(l(this.metadata,t,i.identifier(e)))}});if(h.length>0){let t=i.sequenceExpression(h);if(e.parentPath.isExpressionStatement()){t=i.expressionStatement(t);t._blockHoist=e.parentPath.node._blockHoist}const s=e.insertAfter(t)[0];o(s)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:s}=e;const{left:r}=s;const{exported:n,scope:a}=this;if(!i.isVariableDeclaration(r)){let s=false;const o=e.get("body");const l=o.scope;for(const e of Object.keys(i.getOuterBindingIdentifiers(r))){if(n.get(e)&&a.getBinding(e)===t.getBinding(e)){s=true;if(l.hasOwnBinding(e)){l.rename(e)}}}if(!s){return}const c=t.generateUidIdentifierBasedOnNode(r);o.unshiftContainer("body",i.expressionStatement(i.assignmentExpression("=",r,c)));e.get("left").replaceWith(i.variableDeclaration("let",[i.variableDeclarator(i.cloneNode(c))]));t.registerDeclaration(e.get("left"))}}}},30567:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteThis;var r=s(846);var i=s(4267);var n=s(19761);function rewriteThis(e){(0,i.default)(e.node,Object.assign({},a,{noScope:true}))}const a=i.default.visitors.merge([r.environmentVisitor,{ThisExpression(e){e.replaceWith(n.unaryExpression("void",n.numericLiteral(0),true))}}])},32092:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},67050:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=simplifyAccess;var r=s(19761);function simplifyAccess(e,t){e.traverse(i,{scope:e.scope,bindingNames:t,seen:new WeakSet})}const i={UpdateExpression:{exit(e){const{scope:t,bindingNames:s}=this;const i=e.get("argument");if(!i.isIdentifier())return;const n=i.node.name;if(!s.has(n))return;if(t.getBinding(n)!==e.scope.getBinding(n)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(r.assignmentExpression(t,i.node,r.numericLiteral(1)))}else if(e.node.prefix){e.replaceWith(r.assignmentExpression("=",r.identifier(n),r.binaryExpression(e.node.operator[0],r.unaryExpression("+",i.node),r.numericLiteral(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(i.node,"old");const s=t.name;e.scope.push({id:t});const n=r.binaryExpression(e.node.operator[0],r.identifier(s),r.numericLiteral(1));e.replaceWith(r.sequenceExpression([r.assignmentExpression("=",r.identifier(s),r.unaryExpression("+",i.node)),r.assignmentExpression("=",r.cloneNode(i.node),n),r.identifier(s)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:s,bindingNames:i}=this;if(e.node.operator==="=")return;if(s.has(e.node))return;s.add(e.node);const n=e.get("left");if(!n.isIdentifier())return;const a=n.node.name;if(!i.has(a))return;if(t.getBinding(a)!==e.scope.getBinding(a)){return}e.node.right=r.binaryExpression(e.node.operator.slice(0,-1),r.cloneNode(e.node.left),e.node.right);e.node.operator="="}}}},84928:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let r="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+s+"]");const n=new RegExp("["+s+r+"]");s=r=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let s=65536;for(let r=0,i=t.length;re)return false;s+=t[r+1];if(s>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&n.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return r.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return r.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return r.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var r=s(84928);var i=s(53324)},53324:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const s={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const r=new Set(s.keyword);const i=new Set(s.strict);const n=new Set(s.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return n.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return r.has(e)}},79874:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(53284);var i=s(85622);var n=s(83431);var a=s(85850);const o=(0,a.template)(`\n GLOBAL_REFERENCE = GLOBAL_REFERENCE || {}\n`);const l=(0,a.template)(`\n (function (global, factory) {\n if (typeof define === "function" && define.amd) {\n define(MODULE_NAME, AMD_ARGUMENTS, factory);\n } else if (typeof exports !== "undefined") {\n factory(COMMONJS_ARGUMENTS);\n } else {\n var mod = { exports: {} };\n factory(BROWSER_ARGUMENTS);\n\n GLOBAL_TO_ASSIGN;\n }\n })(\n typeof globalThis !== "undefined" ? globalThis\n : typeof self !== "undefined" ? self\n : this,\n function(IMPORT_NAMES) {\n })\n`);var c=(0,r.declare)((e,t)=>{var s,r;e.assertVersion(7);const{globals:c,exactGlobals:p,allowTopLevelThis:u,strict:h,strictMode:f,noInterop:d,importInterop:y}=t;const m=(s=e.assumption("constantReexports"))!=null?s:t.loose;const g=(r=e.assumption("enumerableModuleMeta"))!=null?r:t.loose;function buildBrowserInit(e,t,s,r){const n=r?r.value:(0,i.basename)(s,(0,i.extname)(s));let l=a.types.memberExpression(a.types.identifier("global"),a.types.identifier(a.types.toIdentifier(n)));let c=[];if(t){const t=e[n];if(t){c=[];const e=t.split(".");l=e.slice(1).reduce((e,t)=>{c.push(o({GLOBAL_REFERENCE:a.types.cloneNode(e)}));return a.types.memberExpression(e,a.types.identifier(t))},a.types.memberExpression(a.types.identifier("global"),a.types.identifier(e[0])))}}c.push(a.types.expressionStatement(a.types.assignmentExpression("=",l,a.types.memberExpression(a.types.identifier("mod"),a.types.identifier("exports")))));return c}function buildBrowserArg(e,t,s){let r;if(t){const t=e[s];if(t){r=t.split(".").reduce((e,t)=>a.types.memberExpression(e,a.types.identifier(t)),a.types.identifier("global"))}else{r=a.types.memberExpression(a.types.identifier("global"),a.types.identifier(a.types.toIdentifier(s)))}}else{const t=(0,i.basename)(s,(0,i.extname)(s));const n=e[t]||t;r=a.types.memberExpression(a.types.identifier("global"),a.types.identifier(a.types.toIdentifier(n)))}return r}return{name:"transform-modules-umd",visitor:{Program:{exit(e){if(!(0,n.isModule)(e))return;const s=c||{};let r=(0,n.getModuleName)(this.file.opts,t);if(r)r=a.types.stringLiteral(r);const{meta:i,headers:o}=(0,n.rewriteModuleStatementsAndPrepareHeader)(e,{constantReexports:m,enumerableModuleMeta:g,strict:h,strictMode:f,allowTopLevelThis:u,noInterop:d,importInterop:y});const b=[];const x=[];const v=[];const w=[];if((0,n.hasExports)(i)){b.push(a.types.stringLiteral("exports"));x.push(a.types.identifier("exports"));v.push(a.types.memberExpression(a.types.identifier("mod"),a.types.identifier("exports")));w.push(a.types.identifier(i.exportName))}for(const[t,r]of i.source){b.push(a.types.stringLiteral(t));x.push(a.types.callExpression(a.types.identifier("require"),[a.types.stringLiteral(t)]));v.push(buildBrowserArg(s,p,t));w.push(a.types.identifier(r.name));if(!(0,n.isSideEffectImport)(r)){const t=(0,n.wrapInterop)(e,a.types.identifier(r.name),r.interop);if(t){const e=a.types.expressionStatement(a.types.assignmentExpression("=",a.types.identifier(r.name),t));e.loc=i.loc;o.push(e)}}o.push(...(0,n.buildNamespaceInitStatements)(i,r,m))}(0,n.ensureStatementsHoisted)(o);e.unshiftContainer("body",o);const{body:P,directives:E}=e.node;e.node.directives=[];e.node.body=[];const A=e.pushContainer("body",[l({MODULE_NAME:r,AMD_ARGUMENTS:a.types.arrayExpression(b),COMMONJS_ARGUMENTS:x,BROWSER_ARGUMENTS:v,IMPORT_NAMES:w,GLOBAL_TO_ASSIGN:buildBrowserInit(s,p,this.filename||"unknown",r)})])[0];const T=A.get("expression.arguments")[1].get("body");T.pushContainer("directives",E);T.pushContainer("body",P)}}}}});t.default=c},14002:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(42357);var i=s(19761);class ImportBuilder{constructor(e,t,s){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=s;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(i.importDeclaration([],i.stringLiteral(this._importedSource)));return this}require(){this._statements.push(i.expressionStatement(i.callExpression(i.identifier("require"),[i.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const s=this._statements[this._statements.length-1];r(s.type==="ImportDeclaration");r(s.specifiers.length===0);s.specifiers=[i.importNamespaceSpecifier(t)];this._resultName=i.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];r(t.type==="ImportDeclaration");r(t.specifiers.length===0);t.specifiers=[i.importDefaultSpecifier(e)];this._resultName=i.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const s=this._statements[this._statements.length-1];r(s.type==="ImportDeclaration");r(s.specifiers.length===0);s.specifiers=[i.importSpecifier(e,i.identifier(t))];this._resultName=i.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){r(this._resultName);t=i.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=i.variableDeclaration("var",[i.variableDeclarator(e,t.expression)]);this._resultName=i.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){r(t.declarations.length===1);t.declarations[0].init=i.callExpression(e,[t.declarations[0].init])}else{r.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.memberExpression(t.expression,i.identifier(e))}else if(t.type==="VariableDeclaration"){r(t.declarations.length===1);t.declarations[0].init=i.memberExpression(t.declarations[0].init,i.identifier(e))}else{r.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=i.memberExpression(this._resultName,i.identifier(e))}}t.default=ImportBuilder},25549:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(42357);var i=s(19761);var n=s(14002);var a=s(50537);class ImportInjector{constructor(e,t,s){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const r=e.find(e=>e.isProgram());this._programPath=r;this._programScope=r.scope;this._hub=r.hub;this._defaultOpts=this._applyDefaults(t,s,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,s){r(typeof e==="string");return this._generateImport(this._applyDefaults(t,s),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,s=false){const i=[];if(typeof e==="string"){i.push({importedSource:e});i.push(t)}else{r(!t,"Unexpected secondary arguments.");i.push(e)}const n=Object.assign({},this._defaultOpts);for(const e of i){if(!e)continue;Object.keys(n).forEach(t=>{if(e[t]!==undefined)n[t]=e[t]});if(!s){if(e.nameHint!==undefined)n.nameHint=e.nameHint;if(e.blockHoist!==undefined)n.blockHoist=e.blockHoist}}return n}_generateImport(e,t){const s=t==="default";const r=!!t&&!s;const o=t===null;const{importedSource:l,importedType:c,importedInterop:p,importingInterop:u,ensureLiveReference:h,ensureNoContext:f,nameHint:d,importPosition:y,blockHoist:m}=e;let g=d||t;const b=(0,a.default)(this._programPath);const x=b&&u==="node";const v=b&&u==="babel";if(y==="after"&&!b){throw new Error(`"importPosition": "after" is only supported in modules`)}const w=new n.default(l,this._programScope,this._hub);if(c==="es6"){if(!x&&!v){throw new Error("Cannot import an ES6 module from CommonJS")}w.import();if(o){w.namespace(d||l)}else if(s||r){w.named(g,t)}}else if(c!=="commonjs"){throw new Error(`Unexpected interopType "${c}"`)}else if(p==="babel"){if(x){g=g!=="default"?g:l;const e=`${l}$es6Default`;w.import();if(o){w.default(e).var(g||l).wildcardInterop()}else if(s){if(h){w.default(e).var(g||l).defaultInterop().read("default")}else{w.default(e).var(g).defaultInterop().prop(t)}}else if(r){w.default(e).read(t)}}else if(v){w.import();if(o){w.namespace(g||l)}else if(s||r){w.named(g,t)}}else{w.require();if(o){w.var(g||l).wildcardInterop()}else if((s||r)&&h){if(s){g=g!=="default"?g:l;w.var(g).read(t);w.defaultInterop()}else{w.var(l).read(t)}}else if(s){w.var(g).defaultInterop().prop(t)}else if(r){w.var(g).prop(t)}}}else if(p==="compiled"){if(x){w.import();if(o){w.default(g||l)}else if(s||r){w.default(l).read(g)}}else if(v){w.import();if(o){w.namespace(g||l)}else if(s||r){w.named(g,t)}}else{w.require();if(o){w.var(g||l)}else if(s||r){if(h){w.var(l).read(g)}else{w.prop(t).var(g)}}}}else if(p==="uncompiled"){if(s&&h){throw new Error("No live reference for commonjs default")}if(x){w.import();if(o){w.default(g||l)}else if(s){w.default(g)}else if(r){w.default(l).read(g)}}else if(v){w.import();if(o){w.default(g||l)}else if(s){w.default(g)}else if(r){w.named(g,t)}}else{w.require();if(o){w.var(g||l)}else if(s){w.var(g)}else if(r){if(h){w.var(l).read(g)}else{w.var(g).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:P,resultName:E}=w.done();this._insertStatements(P,y,m);if((s||r)&&f&&E.type!=="Identifier"){return i.sequenceExpression([i.numericLiteral(0),E])}return E}_insertStatements(e,t="before",s=3){const r=this._programPath.get("body");if(t==="after"){for(let t=r.length-1;t>=0;t--){if(r[t].isImportDeclaration()){r[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=s});const t=r.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},30489:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return r.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return i.default}});var r=s(25549);var i=s(50537);function addDefault(e,t,s){return new r.default(e).addDefault(t,s)}function addNamed(e,t,s,i){return new r.default(e).addNamed(t,s,i)}function addNamespace(e,t,s){return new r.default(e).addNamespace(t,s)}function addSideEffect(e,t,s){return new r.default(e).addSideEffect(t,s)}},50537:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},8167:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getModuleName;{const e=getModuleName;t.default=getModuleName=function getModuleName(t,s){var r,i,n,a;return e(t,{moduleId:(r=s.moduleId)!=null?r:t.moduleId,moduleIds:(i=s.moduleIds)!=null?i:t.moduleIds,getModuleId:(n=s.getModuleId)!=null?n:t.getModuleId,moduleRoot:(a=s.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:s,filenameRelative:r=s,sourceRoot:i=t.moduleRoot}=e;const{moduleId:n,moduleIds:a=!!n,getModuleId:o,moduleRoot:l=i}=t;if(!a)return null;if(n!=null&&!o){return n}let c=l!=null?l+"/":"";if(r){const e=i!=null?new RegExp("^"+i+"/?"):"";c+=r.replace(e,"").replace(/\.(\w*?)$/,"")}c=c.replace(/\\/g,"/");if(o){return o(c)||c}else{return c}}},83431:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;t.ensureStatementsHoisted=ensureStatementsHoisted;t.wrapInterop=wrapInterop;t.buildNamespaceInitStatements=buildNamespaceInitStatements;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.isModule}});Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return c.hasExports}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return c.isSideEffectImport}});Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});var r=s(42357);var i=s(19761);var n=s(36900);var a=s(30489);var o=s(77119);var l=s(65497);var c=s(3367);var p=s(8167);function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:s,strict:n,allowTopLevelThis:p,strictMode:u,noInterop:h,importInterop:f=(h?"none":"babel"),lazy:d,esNamespaceOnly:y,constantReexports:m=t,enumerableModuleMeta:g=t}){(0,c.validateImportInteropOption)(f);r((0,a.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const b=(0,c.default)(e,s,{importInterop:f,initializeReexports:m,lazy:d,esNamespaceOnly:y});if(!p){(0,o.default)(e)}(0,l.default)(e,b);if(u!==false){const t=e.node.directives.some(e=>{return e.value.value==="use strict"});if(!t){e.unshiftContainer("directives",i.directive(i.directiveLiteral("use strict")))}}const x=[];if((0,c.hasExports)(b)&&!n){x.push(buildESModuleHeader(b,g))}const v=buildExportNameListDeclaration(e,b);if(v){b.exportNameListName=v.name;x.push(v.statement)}x.push(...buildExportInitializationStatements(e,b,m));return{meta:b,headers:x}}function ensureStatementsHoisted(e){e.forEach(e=>{e._blockHoist=3})}function wrapInterop(e,t,s){if(s==="none"){return null}if(s==="node-namespace"){return i.callExpression(e.hub.addHelper("interopRequireWildcard"),[t,i.booleanLiteral(true)])}else if(s==="node-default"){return null}let r;if(s==="default"){r="interopRequireDefault"}else if(s==="namespace"){r="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${s}`)}return i.callExpression(e.hub.addHelper(r),[t])}function buildNamespaceInitStatements(e,t,s=false){const r=[];let a=i.identifier(t.name);if(t.lazy)a=i.callExpression(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;r.push(n.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:i.cloneNode(a)}))}if(s){r.push(...h(e,t,true))}for(const s of t.reexportNamespace){r.push((t.lazy?n.default.statement` Object.defineProperty(EXPORTS, "NAME", { enumerable: true, get: function() { return NAMESPACE; } }); - `:i.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:r,NAMESPACE:s.cloneNode(a)}))}if(t.reexportAll){const i=buildNamespaceReexport(e,s.cloneNode(a),r);i.loc=t.reexportAll.loc;n.push(i)}return n}const f={constant:i.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:i.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:(0,i.default)` + `:n.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:s,NAMESPACE:i.cloneNode(a)}))}if(t.reexportAll){const n=buildNamespaceReexport(e,i.cloneNode(a),s);n.loc=t.reexportAll.loc;r.push(n)}return r}const u={constant:n.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:n.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:(0,n.default)` Object.defineProperty(EXPORTS, "EXPORT_NAME", { enumerable: true, get: function() { return NAMESPACE_IMPORT; }, }); - `};const c=(e,t,r)=>{const n=t.lazy?s.callExpression(s.identifier(t.name),[]):s.identifier(t.name);const{stringSpecifiers:i}=e;return Array.from(t.reexports,([a,o])=>{let l=s.cloneNode(n);if(o==="default"&&t.interop==="node-default"){}else if(i.has(o)){l=s.memberExpression(l,s.stringLiteral(o),true)}else{l=s.memberExpression(l,s.identifier(o))}const u={EXPORTS:e.exportName,EXPORT_NAME:a,NAMESPACE_IMPORT:l};if(r||s.isIdentifier(l)){if(i.has(a)){return f.constantComputed(u)}else{return f.constant(u)}}else{return f.spec(u)}})};function buildESModuleHeader(e,t=false){return(t?i.default.statement` + `};const h=(e,t,s)=>{const r=t.lazy?i.callExpression(i.identifier(t.name),[]):i.identifier(t.name);const{stringSpecifiers:n}=e;return Array.from(t.reexports,([a,o])=>{let l=i.cloneNode(r);if(o==="default"&&t.interop==="node-default"){}else if(n.has(o)){l=i.memberExpression(l,i.stringLiteral(o),true)}else{l=i.memberExpression(l,i.identifier(o))}const c={EXPORTS:e.exportName,EXPORT_NAME:a,NAMESPACE_IMPORT:l};if(s||i.isIdentifier(l)){if(n.has(a)){return u.constantComputed(c)}else{return u.constant(c)}}else{return u.spec(c)}})};function buildESModuleHeader(e,t=false){return(t?n.default.statement` EXPORTS.__esModule = true; - `:i.default.statement` + `:n.default.statement` Object.defineProperty(EXPORTS, "__esModule", { value: true, }); - `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,r){return(r?i.default.statement` + `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,s){return(s?n.default.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; @@ -4008,7 +4008,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m EXPORTS[key] = NAMESPACE[key]; }); - `:i.default.statement` + `:n.default.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; @@ -4021,17 +4021,17 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }, }); }); - `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,i.default)` + `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,n.default)` if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return; - `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const r=Object.create(null);for(const e of t.local.values()){for(const t of e.names){r[t]=true}}let n=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){r[t]=true}for(const t of e.reexportNamespace){r[t]=true}n=n||!!e.reexportAll}if(!n||Object.keys(r).length===0)return null;const i=e.scope.generateUidIdentifier("exportNames");delete r.default;return{name:i.name,statement:s.variableDeclaration("var",[s.variableDeclarator(i,s.valueToNode(r))])}}function buildExportInitializationStatements(e,t,r=false){const n=[];const i=[];for(const[e,r]of t.local){if(r.kind==="import"){}else if(r.kind==="hoisted"){n.push(buildInitStatement(t,r.names,s.identifier(e)))}else{i.push(...r.names)}}for(const e of t.source.values()){if(!r){n.push(...c(t,e,false))}for(const t of e.reexportNamespace){i.push(t)}}n.push(...chunk(i,100).map(r=>{return buildInitStatement(t,r,e.scope.buildUndefinedNode())}));return n}const d={computed:i.default.expression`EXPORTS["NAME"] = VALUE`,default:i.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,r){const{stringSpecifiers:n,exportName:i}=e;return s.expressionStatement(t.reduce((e,t)=>{const r={EXPORTS:i,NAME:t,VALUE:e};if(n.has(t)){return d.computed(r)}else{return d.default(r)}},r))}function chunk(e,t){const r=[];for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;t.default=normalizeModuleAndLoadMetadata;var n=r(85622);var s=r(34917);var i=r(76729);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t){if(typeof e==="function"){return validateImportInteropOption(e(t))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:r,initializeReexports:n=false,lazy:s=false,esNamespaceOnly:i=false}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const a=new Set;nameAnonymousExports(e);const{local:o,source:l,hasExports:u}=getModuleMetadata(e,{initializeReexports:n,lazy:s},a);removeModuleDeclarations(e);for(const[,e]of l){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(r,e.source);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(i&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:u,local:o,source:l,stringSpecifiers:a}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const r=e.node.value;if(!(0,s.isIdentifierName)(r)){t.add(r)}return r}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:r},s){const i=getLocalExportMetadata(e,r,s);const a=new Map;const o=t=>{const r=t.value;let s=a.get(r);if(!s){s={name:e.scope.generateUidIdentifier((0,n.basename)(r,(0,n.extname)(r))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:r};a.set(r,s)}return s};let l=false;e.get("body").forEach(e=>{if(e.isImportDeclaration()){const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{if(e.isImportDefaultSpecifier()){const r=e.get("local").node.name;t.imports.set(r,"default");const n=i.get(r);if(n){i.delete(r);n.names.forEach(e=>{t.reexports.set(e,"default")})}}else if(e.isImportNamespaceSpecifier()){const r=e.get("local").node.name;t.importsNamespace.add(r);const n=i.get(r);if(n){i.delete(r);n.names.forEach(e=>{t.reexportNamespace.add(e)})}}else if(e.isImportSpecifier()){const r=getExportSpecifierName(e.get("imported"),s);const n=e.get("local").node.name;t.imports.set(n,r);const a=i.get(n);if(a){i.delete(n);a.names.forEach(e=>{t.reexports.set(e,r)})}}})}else if(e.isExportAllDeclaration()){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{assertExportSpecifier(e);const r=getExportSpecifierName(e.get("local"),s);const n=getExportSpecifierName(e.get("exported"),s);t.reexports.set(n,r);if(n==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}})}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}});for(const e of a.values()){let t=false;let r=false;if(e.importsNamespace.size>0){t=true;r=true}if(e.reexportAll){r=true}for(const n of e.imports.values()){if(n==="default")t=true;else r=true}for(const n of e.reexports.values()){if(n==="default")t=true;else r=true}if(t&&r){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,r]of a){if(t!==false&&!(isSideEffectImport(r)||r.reexportAll)){if(t===true){r.lazy=!/\./.test(e)}else if(Array.isArray(t)){r.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){r.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:l,local:i,source:a}}function getLocalExportMetadata(e,t,r){const n=new Map;e.get("body").forEach(e=>{let r;if(e.isImportDeclaration()){r="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach(e=>{assertExportSpecifier(e);n.set(e.get("local").node.name,"block")});return}}if(e.isFunctionDeclaration()){r="hoisted"}else if(e.isClassDeclaration()){r="block"}else if(e.isVariableDeclaration({kind:"var"})){r="var"}else if(e.isVariableDeclaration()){r="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach(e=>{n.set(e,r)})});const s=new Map;const i=e=>{const t=e.node.name;let r=s.get(t);if(!r){const i=n.get(t);if(i===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}r={names:[],kind:i};s.set(t,r)}return r};e.get("body").forEach(e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const r=t.getOuterBindingIdentifierPaths();Object.keys(r).forEach(e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}i(r[e]).names.push(e)})}else{e.get("specifiers").forEach(e=>{const t=e.get("local");const n=e.get("exported");const s=i(t);const a=getExportSpecifierName(n,r);if(a==="__esModule"){throw n.buildCodeFrameError('Illegal export "__esModule".')}s.names.push(a)})}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){i(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}});return s}function nameAnonymousExports(e){e.get("body").forEach(e=>{if(!e.isExportDefaultDeclaration())return;(0,i.default)(e)})}function removeModuleDeclarations(e){e.get("body").forEach(e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}})}},65497:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteLiveReferences;var n=r(42357);var s=r(5022);var i=r(36900);var a=r(71142);function rewriteLiveReferences(e,t){const r=new Map;const n=new Map;const i=t=>{e.requeue(t)};for(const[e,n]of t.source){for(const[t,s]of n.imports){r.set(t,[e,s,null])}for(const t of n.importsNamespace){r.set(t,[e,null,t])}}for(const[e,r]of t.local){let t=n.get(e);if(!t){t=[];n.set(e,t)}t.push(...r.names)}const l={metadata:t,requeueInParent:i,scope:e.scope,exported:n};e.traverse(o,l);(0,a.default)(e,new Set([...Array.from(r.keys()),...Array.from(n.keys())]));const u={seen:new WeakSet,metadata:t,requeueInParent:i,scope:e.scope,imported:r,exported:n,buildImportReference:([e,r,n],i)=>{const a=t.source.get(e);if(n){if(a.lazy)i=s.callExpression(i,[]);return i}let o=s.identifier(a.name);if(a.lazy)o=s.callExpression(o,[]);if(r==="default"&&a.interop==="node-default"){return o}const l=t.stringSpecifiers.has(r);return s.memberExpression(o,l?s.stringLiteral(r):s.identifier(r),l)}};e.traverse(p,u)}const o={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;const{id:i}=e.node;if(!i)throw new Error("Expected class to have a name");const a=i.name;const o=r.get(a)||[];if(o.length>0){const r=s.expressionStatement(l(n,o,s.identifier(a)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(i=>{const a=r.get(i)||[];if(a.length>0){const r=s.expressionStatement(l(n,a,s.identifier(i)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}})}};const l=(e,t,r)=>{return(t||[]).reduce((t,r)=>{const{stringSpecifiers:n}=e;const i=n.has(r);return s.assignmentExpression("=",s.memberExpression(s.identifier(e.exportName),i?s.stringLiteral(r):s.identifier(r),i),t)},r)};const u=e=>{return i.default.expression.ast` + `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const s=Object.create(null);for(const e of t.local.values()){for(const t of e.names){s[t]=true}}let r=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){s[t]=true}for(const t of e.reexportNamespace){s[t]=true}r=r||!!e.reexportAll}if(!r||Object.keys(s).length===0)return null;const n=e.scope.generateUidIdentifier("exportNames");delete s.default;return{name:n.name,statement:i.variableDeclaration("var",[i.variableDeclarator(n,i.valueToNode(s))])}}function buildExportInitializationStatements(e,t,s=false){const r=[];const n=[];for(const[e,s]of t.local){if(s.kind==="import"){}else if(s.kind==="hoisted"){r.push(buildInitStatement(t,s.names,i.identifier(e)))}else{n.push(...s.names)}}for(const e of t.source.values()){if(!s){r.push(...h(t,e,false))}for(const t of e.reexportNamespace){n.push(t)}}r.push(...chunk(n,100).map(s=>{return buildInitStatement(t,s,e.scope.buildUndefinedNode())}));return r}const f={computed:n.default.expression`EXPORTS["NAME"] = VALUE`,default:n.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,s){const{stringSpecifiers:r,exportName:n}=e;return i.expressionStatement(t.reduce((e,t)=>{const s={EXPORTS:n,NAME:t,VALUE:e};if(r.has(t)){return f.computed(s)}else{return f.default(s)}},s))}function chunk(e,t){const s=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;t.default=normalizeModuleAndLoadMetadata;var r=s(85622);var i=s(34917);var n=s(76729);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t){if(typeof e==="function"){return validateImportInteropOption(e(t))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:s,initializeReexports:r=false,lazy:i=false,esNamespaceOnly:n=false}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const a=new Set;nameAnonymousExports(e);const{local:o,source:l,hasExports:c}=getModuleMetadata(e,{initializeReexports:r,lazy:i},a);removeModuleDeclarations(e);for(const[,e]of l){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(s,e.source);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(n&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:c,local:o,source:l,stringSpecifiers:a}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const s=e.node.value;if(!(0,i.isIdentifierName)(s)){t.add(s)}return s}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:s},i){const n=getLocalExportMetadata(e,s,i);const a=new Map;const o=t=>{const s=t.value;let i=a.get(s);if(!i){i={name:e.scope.generateUidIdentifier((0,r.basename)(s,(0,r.extname)(s))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:s};a.set(s,i)}return i};let l=false;e.get("body").forEach(e=>{if(e.isImportDeclaration()){const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{if(e.isImportDefaultSpecifier()){const s=e.get("local").node.name;t.imports.set(s,"default");const r=n.get(s);if(r){n.delete(s);r.names.forEach(e=>{t.reexports.set(e,"default")})}}else if(e.isImportNamespaceSpecifier()){const s=e.get("local").node.name;t.importsNamespace.add(s);const r=n.get(s);if(r){n.delete(s);r.names.forEach(e=>{t.reexportNamespace.add(e)})}}else if(e.isImportSpecifier()){const s=getExportSpecifierName(e.get("imported"),i);const r=e.get("local").node.name;t.imports.set(r,s);const a=n.get(r);if(a){n.delete(r);a.names.forEach(e=>{t.reexports.set(e,s)})}}})}else if(e.isExportAllDeclaration()){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{assertExportSpecifier(e);const s=getExportSpecifierName(e.get("local"),i);const r=getExportSpecifierName(e.get("exported"),i);t.reexports.set(r,s);if(r==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}})}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}});for(const e of a.values()){let t=false;let s=false;if(e.importsNamespace.size>0){t=true;s=true}if(e.reexportAll){s=true}for(const r of e.imports.values()){if(r==="default")t=true;else s=true}for(const r of e.reexports.values()){if(r==="default")t=true;else s=true}if(t&&s){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,s]of a){if(t!==false&&!(isSideEffectImport(s)||s.reexportAll)){if(t===true){s.lazy=!/\./.test(e)}else if(Array.isArray(t)){s.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){s.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:l,local:n,source:a}}function getLocalExportMetadata(e,t,s){const r=new Map;e.get("body").forEach(e=>{let s;if(e.isImportDeclaration()){s="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach(e=>{assertExportSpecifier(e);r.set(e.get("local").node.name,"block")});return}}if(e.isFunctionDeclaration()){s="hoisted"}else if(e.isClassDeclaration()){s="block"}else if(e.isVariableDeclaration({kind:"var"})){s="var"}else if(e.isVariableDeclaration()){s="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach(e=>{r.set(e,s)})});const i=new Map;const n=e=>{const t=e.node.name;let s=i.get(t);if(!s){const n=r.get(t);if(n===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}s={names:[],kind:n};i.set(t,s)}return s};e.get("body").forEach(e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const s=t.getOuterBindingIdentifierPaths();Object.keys(s).forEach(e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}n(s[e]).names.push(e)})}else{e.get("specifiers").forEach(e=>{const t=e.get("local");const r=e.get("exported");const i=n(t);const a=getExportSpecifierName(r,s);if(a==="__esModule"){throw r.buildCodeFrameError('Illegal export "__esModule".')}i.names.push(a)})}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){n(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}});return i}function nameAnonymousExports(e){e.get("body").forEach(e=>{if(!e.isExportDefaultDeclaration())return;(0,n.default)(e)})}function removeModuleDeclarations(e){e.get("body").forEach(e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}})}},65497:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteLiveReferences;var r=s(42357);var i=s(19761);var n=s(36900);var a=s(71142);function rewriteLiveReferences(e,t){const s=new Map;const r=new Map;const n=t=>{e.requeue(t)};for(const[e,r]of t.source){for(const[t,i]of r.imports){s.set(t,[e,i,null])}for(const t of r.importsNamespace){s.set(t,[e,null,t])}}for(const[e,s]of t.local){let t=r.get(e);if(!t){t=[];r.set(e,t)}t.push(...s.names)}const l={metadata:t,requeueInParent:n,scope:e.scope,exported:r};e.traverse(o,l);(0,a.default)(e,new Set([...Array.from(s.keys()),...Array.from(r.keys())]));const c={seen:new WeakSet,metadata:t,requeueInParent:n,scope:e.scope,imported:s,exported:r,buildImportReference:([e,s,r],n)=>{const a=t.source.get(e);if(r){if(a.lazy)n=i.callExpression(n,[]);return n}let o=i.identifier(a.name);if(a.lazy)o=i.callExpression(o,[]);if(s==="default"&&a.interop==="node-default"){return o}const l=t.stringSpecifiers.has(s);return i.memberExpression(o,l?i.stringLiteral(s):i.identifier(s),l)}};e.traverse(p,c)}const o={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:s,metadata:r}=this;const{id:n}=e.node;if(!n)throw new Error("Expected class to have a name");const a=n.name;const o=s.get(a)||[];if(o.length>0){const s=i.expressionStatement(l(r,o,i.identifier(a)));s._blockHoist=e.node._blockHoist;t(e.insertAfter(s)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:s,metadata:r}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(n=>{const a=s.get(n)||[];if(a.length>0){const s=i.expressionStatement(l(r,a,i.identifier(n)));s._blockHoist=e.node._blockHoist;t(e.insertAfter(s)[0])}})}};const l=(e,t,s)=>{return(t||[]).reduce((t,s)=>{const{stringSpecifiers:r}=e;const n=r.has(s);return i.assignmentExpression("=",i.memberExpression(i.identifier(e.exportName),n?i.stringLiteral(s):i.identifier(s),n),t)},s)};const c=e=>{return n.default.expression.ast` (function() { throw new Error('"' + '${e}' + '" is read-only.'); })() - `};const p={ReferencedIdentifier(e){const{seen:t,buildImportReference:r,scope:n,imported:i,requeueInParent:a}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const l=i.get(o);if(l){const t=e.scope.getBinding(o);const i=n.getBinding(o);if(i!==t)return;const u=r(l,e.node);u.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&s.isMemberExpression(u)){e.replaceWith(s.sequenceExpression([s.numericLiteral(0),u]))}else if(e.isJSXIdentifier()&&s.isMemberExpression(u)){const{object:t,property:r}=u;e.replaceWith(s.jsxMemberExpression(s.jsxIdentifier(t.name),s.jsxIdentifier(r.name)))}else{e.replaceWith(u)}a(e);e.skip()}},AssignmentExpression:{exit(e){const{scope:t,seen:r,imported:i,exported:a,requeueInParent:o,buildImportReference:p}=this;if(r.has(e.node))return;r.add(e.node);const f=e.get("left");if(f.isMemberExpression())return;if(f.isIdentifier()){const r=f.node.name;if(t.getBinding(r)!==e.scope.getBinding(r)){return}const c=a.get(r);const d=i.get(r);if((c==null?void 0:c.length)>0||d){n(e.node.operator==="=","Path was not simplified");const t=e.node;if(d){t.left=p(d,t.left);t.right=s.sequenceExpression([t.right,u(r)])}e.replaceWith(l(this.metadata,c,t));o(e)}}else{const r=f.getOuterBindingIdentifiers();const n=Object.keys(r).filter(r=>t.getBinding(r)===e.scope.getBinding(r));const p=n.find(e=>i.has(e));if(p){e.node.right=s.sequenceExpression([e.node.right,u(p)])}const c=[];n.forEach(e=>{const t=a.get(e)||[];if(t.length>0){c.push(l(this.metadata,t,s.identifier(e)))}});if(c.length>0){let t=s.sequenceExpression(c);if(e.parentPath.isExpressionStatement()){t=s.expressionStatement(t);t._blockHoist=e.parentPath.node._blockHoist}const r=e.insertAfter(t)[0];o(r)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:r}=e;const{left:n}=r;const{exported:i,scope:a}=this;if(!s.isVariableDeclaration(n)){let r=false;const o=e.get("body");const l=o.scope;for(const e of Object.keys(s.getOuterBindingIdentifiers(n))){if(i.get(e)&&a.getBinding(e)===t.getBinding(e)){r=true;if(l.hasOwnBinding(e)){l.rename(e)}}}if(!r){return}const u=t.generateUidIdentifierBasedOnNode(n);o.unshiftContainer("body",s.expressionStatement(s.assignmentExpression("=",n,u)));e.get("left").replaceWith(s.variableDeclaration("let",[s.variableDeclarator(s.cloneNode(u))]));t.registerDeclaration(e.get("left"))}}}},77119:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteThis;var n=r(846);var s=r(4267);var i=r(5022);function rewriteThis(e){(0,s.default)(e.node,Object.assign({},a,{noScope:true}))}const a=s.default.visitors.merge([n.environmentVisitor,{ThisExpression(e){e.replaceWith(i.unaryExpression("void",i.numericLiteral(0),true))}}])},53284:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},71142:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=simplifyAccess;var n=r(5022);function simplifyAccess(e,t){e.traverse(s,{scope:e.scope,bindingNames:t,seen:new WeakSet})}const s={UpdateExpression:{exit(e){const{scope:t,bindingNames:r}=this;const s=e.get("argument");if(!s.isIdentifier())return;const i=s.node.name;if(!r.has(i))return;if(t.getBinding(i)!==e.scope.getBinding(i)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(n.assignmentExpression(t,s.node,n.numericLiteral(1)))}else if(e.node.prefix){e.replaceWith(n.assignmentExpression("=",n.identifier(i),n.binaryExpression(e.node.operator[0],n.unaryExpression("+",s.node),n.numericLiteral(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(s.node,"old");const r=t.name;e.scope.push({id:t});const i=n.binaryExpression(e.node.operator[0],n.identifier(r),n.numericLiteral(1));e.replaceWith(n.sequenceExpression([n.assignmentExpression("=",n.identifier(r),n.unaryExpression("+",s.node)),n.assignmentExpression("=",n.cloneNode(s.node),i),n.identifier(r)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:r,bindingNames:s}=this;if(e.node.operator==="=")return;if(r.has(e.node))return;r.add(e.node);const i=e.get("left");if(!i.isIdentifier())return;const a=i.node.name;if(!s.has(a))return;if(t.getBinding(a)!==e.scope.getBinding(a)){return}e.node.right=n.binaryExpression(e.node.operator.slice(0,-1),n.cloneNode(e.node.left),e.node.right);e.node.operator="="}}}},47787:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(47787);var s=r(67610)},67610:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},19689:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(20211);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},33503:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(30082);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},91984:()=>{},49906:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(99634);var s=r(50458);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(58348);var s=r(59595);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},43399:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(58348);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},58348:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(49906);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},39226:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(58348)},79127:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(75044);var s=r(67323);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(58348);var s=r(35893);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},78997:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(65036);function clone(e){return(0,n.default)(e,false)}},55523:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(65036);function cloneDeep(e){return(0,n.default)(e)}},12554:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(65036);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},65036:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(99634);var s=r(75044);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},44892:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(65036);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},28694:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(31138);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},31138:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},40046:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(50132);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},41348:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(50132);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},74583:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(50132);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},48455:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(74583);var s=r(41348);var i=r(40046);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},99123:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(70231);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},36646:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(99634);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},70231:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},1626:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(66878);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},91831:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(64106);var s=r(75044);var i=r(58348);var a=r(65036);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},45072:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(31602);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},66878:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(75044);var s=r(58348);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},85770:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(75044);var s=r(58348);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},33802:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(75044);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},31602:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(85565);var s=r(34917);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},2281:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(75044);var s=r(65036);var i=r(46802);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},19567:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(91831);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},7342:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(75044);var s=r(58348);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},25753:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(85565);var s=r(58348);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},96953:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(30082);var s=r(85565);var i=r(34917);var a=r(70231);var o=r(10031);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},91527:(e,t,r)=>{"use strict";var n=r(10031);var s=r(96953);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},36089:(e,t,r)=>{"use strict";var n=r(10031);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},99634:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(96953);r(36089);r(98811);r(75241);r(91527);r(56136);var s=r(10031);var i=r(71384);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},98811:(e,t,r)=>{"use strict";var n=r(10031);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},75241:(e,t,r)=>{"use strict";var n=r(10031);var s=r(71384);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},71384:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(10031);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},56136:(e,t,r)=>{"use strict";var n=r(10031);var s=r(96953);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},10031:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(30082);var s=r(50458);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},5022:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(41461);var i=r(68081);var a=r(79127);var o=r(19689);var l=r(33503);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(43399);var p=r(69310);var f=r(34764);var c=r(58348);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(39226);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(65036);var m=r(78997);var T=r(55523);var h=r(12554);var S=r(44892);var b=r(28694);var E=r(31138);var g=r(40046);var P=r(41348);var x=r(48455);var v=r(74583);var A=r(99123);var O=r(36646);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(70231);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(1626);var w=r(45072);var j=r(66878);var N=r(85770);var C=r(33802);var L=r(31602);var _=r(2281);var M=r(19567);var F=r(7342);var B=r(25753);var k=r(99634);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(59236);var K=r(23787);var V=r(47655);var X=r(17734);var Y=r(46802);var J=r(59595);var U=r(64106);var W=r(74206);var q=r(20426);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(24956);var G=r(11413);var $=r(30082);var H=r(61704);var Q=r(2161);var Z=r(67267);var ee=r(43319);var te=r(20211);var re=r(35337);var ne=r(13434);var se=r(75848);var ie=r(9358);var ae=r(56666);var oe=r(88074);var le=r(64473);var ue=r(85565);var pe=r(74797);var fe=r(95967);var ce=r(50458);var de=r(8102);var ye=r(75044);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(91984);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},59236:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(58348);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},59595:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(75044);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},23787:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(70231);var s=r(48455);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},47655:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(58348);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},17734:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(70231);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},46802:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(24956);var s=r(17734);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},35893:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(75044);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},64106:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(75044);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(64106);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},20426:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(99634);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(99634);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},50132:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},67323:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(58348);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},8102:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(95967);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},75044:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(11413);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},30082:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(11413);var s=r(88074);var i=r(13434);var a=r(99634);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},61704:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(64106);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},2161:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(75044);var s=r(43319);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},67267:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(88074);var s=r(75044);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},43319:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(75044);var s=r(70231);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},20211:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(99634);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},35337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(99634);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(99634);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},75848:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},9358:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(75044);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},56666:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(75044);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},88074:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(99634);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},64473:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(85565);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},85565:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(34917);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},74797:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(75044);var s=r(70231);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},95967:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(75044);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},41461:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(8102);const s=(0,n.default)("React.Component");var i=s;t.default=i},50458:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(99634);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},79418:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(1680);var s=r(85850);var i=(0,n.declare)(e=>{e.assertVersion(7);return{name:"transform-new-target",visitor:{MetaProperty(e){const t=e.get("meta");const r=e.get("property");const{scope:n}=e;if(t.isIdentifier({name:"new"})&&r.isIdentifier({name:"target"})){const t=e.findParent(e=>{if(e.isClass())return true;if(e.isFunction()&&!e.isArrowFunctionExpression()){if(e.isClassMethod({kind:"constructor"})){return false}return true}return false});if(!t){throw e.buildCodeFrameError("new.target must be under a (non-arrow) function or a class.")}const{node:r}=t;if(!r.id){if(t.isMethod()){e.replaceWith(n.buildUndefinedNode());return}r.id=n.generateUidIdentifier("target")}const i=s.types.memberExpression(s.types.thisExpression(),s.types.identifier("constructor"));if(t.isClass()){e.replaceWith(i);return}e.replaceWith(s.types.conditionalExpression(s.types.binaryExpression("instanceof",s.types.thisExpression(),s.types.cloneNode(r.id)),i,n.buildUndefinedNode()))}}}}});t.default=i},1680:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},19562:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(17608);var s=r(846);var i=r(85850);function replacePropertySuper(e,t,r){const n=new s.default({getObjectRef:t,methodPath:e,file:r});n.replace()}var a=(0,n.declare)(e=>{e.assertVersion(7);return{name:"transform-object-super",visitor:{ObjectExpression(e,t){let r;const n=()=>r=r||e.scope.generateUidIdentifier("obj");e.get("properties").forEach(e=>{if(!e.isMethod())return;replacePropertySuper(e,n,t)});if(r){e.scope.push({id:i.types.cloneNode(r)});e.replaceWith(i.types.assignmentExpression("=",i.types.cloneNode(r),e.node))}}}}});t.default=a},17608:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},26155:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"convertFunctionParams",{enumerable:true,get:function(){return s.default}});t.default=void 0;var n=r(35836);var s=r(11630);var i=r(87080);var a=(0,n.declare)((e,t)=>{var r;e.assertVersion(7);const n=(r=e.assumption("ignoreFunctionLength"))!=null?r:t.loose;const a=e.assumption("noNewArrows");return{name:"transform-parameters",visitor:{Function(e){if(e.isArrowFunctionExpression()&&e.get("params").some(e=>e.isRestElement()||e.isAssignmentPattern())){e.arrowFunctionToExpression({noNewArrows:a})}const t=(0,i.default)(e);const r=(0,s.default)(e,n);if(t||r){e.scope.crawl()}}}}});t.default=a},11630:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=convertFunctionParams;var n=r(85850);const s=(0,n.template)(`\n let VARIABLE_NAME =\n arguments.length > ARGUMENT_KEY && arguments[ARGUMENT_KEY] !== undefined ?\n arguments[ARGUMENT_KEY]\n :\n DEFAULT_VALUE;\n`);const i=(0,n.template)(`\n if (ASSIGNMENT_IDENTIFIER === UNDEFINED) {\n ASSIGNMENT_IDENTIFIER = DEFAULT_VALUE;\n }\n`);const a=(0,n.template)(`\n let ASSIGNMENT_IDENTIFIER = PARAMETER_NAME === UNDEFINED ? DEFAULT_VALUE : PARAMETER_NAME ;\n`);const o=(0,n.template)(`\n let $0 = arguments.length > $1 ? arguments[$1] : undefined;\n`);const l={"ReferencedIdentifier|BindingIdentifier"(e,t){const{scope:r,node:n}=e;const{name:s}=n;if(s==="eval"||r.getBinding(s)===t.scope.parent.getBinding(s)&&t.scope.hasOwnBinding(s)){t.needsOuterBinding=true;e.stop()}},"TypeAnnotation|TSTypeAnnotation|TypeParameterDeclaration|TSTypeParameterDeclaration":e=>e.skip()};function convertFunctionParams(e,t,r,u){const p=e.get("params");const f=p.every(e=>e.isIdentifier());if(f)return false;const{node:c,scope:d}=e;const y={stop:false,needsOuterBinding:false,scope:d};const m=[];const T=new Set;for(const e of p){for(const t of Object.keys(e.getBindingIdentifiers())){var h;const e=(h=d.bindings[t])==null?void 0:h.constantViolations;if(e){for(const r of e){const e=r.node;switch(e.type){case"VariableDeclarator":{if(e.init===null){const e=r.parentPath;if(!e.parentPath.isFor()||e.parentPath.get("body")===e){r.remove();break}}T.add(t);break}case"FunctionDeclaration":T.add(t);break}}}}}if(T.size===0){for(const e of p){if(!e.isIdentifier())e.traverse(l,y);if(y.needsOuterBinding)break}}let S=null;for(let l=0;l0){m.push(buildScopeIIFE(T,e.get("body").node));e.set("body",n.types.blockStatement(m));const t=e.get("body.body");const r=t[t.length-1].get("argument.callee");r.arrowFunctionToExpression();r.node.generator=e.node.generator;r.node.async=e.node.async;e.node.generator=false}else{e.get("body").unshiftContainer("body",m)}return true}function buildScopeIIFE(e,t){const r=[];const s=[];for(const t of e){r.push(n.types.identifier(t));s.push(n.types.identifier(t))}return n.types.returnStatement(n.types.callExpression(n.types.arrowFunctionExpression(s,t),r))}},87080:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=convertFunctionRest;var n=r(85850);const s=(0,n.template)(`\n for (var LEN = ARGUMENTS.length,\n ARRAY = new Array(ARRAY_LEN),\n KEY = START;\n KEY < LEN;\n KEY++) {\n ARRAY[ARRAY_KEY] = ARGUMENTS[KEY];\n }\n`);const i=(0,n.template)(`\n (INDEX < OFFSET || ARGUMENTS.length <= INDEX) ? undefined : ARGUMENTS[INDEX]\n`);const a=(0,n.template)(`\n REF = INDEX, (REF < OFFSET || ARGUMENTS.length <= REF) ? undefined : ARGUMENTS[REF]\n`);const o=(0,n.template)(`\n ARGUMENTS.length <= OFFSET ? 0 : ARGUMENTS.length - OFFSET\n`);function referencesRest(e,t){if(e.node.name===t.name){return e.scope.bindingIdentifierEquals(t.name,t.outerBinding)}return false}const l={Scope(e,t){if(!e.scope.bindingIdentifierEquals(t.name,t.outerBinding)){e.skip()}},Flow(e){if(e.isTypeCastExpression())return;e.skip()},Function(e,t){const r=t.noOptimise;t.noOptimise=true;e.traverse(l,t);t.noOptimise=r;e.skip()},ReferencedIdentifier(e,t){const{node:r}=e;if(r.name==="arguments"){t.deopted=true}if(!referencesRest(e,t))return;if(t.noOptimise){t.deopted=true}else{const{parentPath:n}=e;if(n.listKey==="params"&&n.key0&&n.types.isIdentifier(e.params[0],{name:"this"})){t-=1}return t}function hasRest(e){const t=e.params.length;return t>0&&n.types.isRestElement(e.params[t-1])}function optimiseIndexGetter(e,t,r){const s=n.types.numericLiteral(r);let o;if(n.types.isNumericLiteral(e.parent.property)){o=n.types.numericLiteral(e.parent.property.value+r)}else if(r===0){o=e.parent.property}else{o=n.types.binaryExpression("+",e.parent.property,n.types.cloneNode(s))}const{scope:l}=e;if(!l.isPure(o)){const r=l.generateUidIdentifierBasedOnNode(o);l.push({id:r,kind:"var"});e.parentPath.replaceWith(a({ARGUMENTS:t,OFFSET:s,INDEX:o,REF:n.types.cloneNode(r)}))}else{const r=e.parentPath;r.replaceWith(i({ARGUMENTS:t,OFFSET:s,INDEX:o}));const n=r.get("test").get("left");const a=n.evaluate();if(a.confident){if(a.value===true){r.replaceWith(r.scope.buildUndefinedNode())}else{r.get("test").replaceWith(r.get("test").get("right"))}}}}function optimiseLengthGetter(e,t,r){if(r){e.parentPath.replaceWith(o({ARGUMENTS:t,OFFSET:n.types.numericLiteral(r)}))}else{e.replaceWith(t)}}function convertFunctionRest(e){const{node:t,scope:r}=e;if(!hasRest(t))return false;let i=t.params.pop().argument;const a=n.types.identifier("arguments");if(n.types.isPattern(i)){const e=i;i=r.generateUidIdentifier("ref");const s=n.types.variableDeclaration("let",[n.types.variableDeclarator(e,i)]);t.body.body.unshift(s)}const o=getParamsCount(t);const u={references:[],offset:o,argumentsNode:a,outerBinding:r.getBindingIdentifier(i.name),candidates:[],name:i.name,deopted:false};e.traverse(l,u);if(!u.deopted&&!u.references.length){for(const{path:e,cause:t}of u.candidates){const r=n.types.cloneNode(a);switch(t){case"indexGetter":optimiseIndexGetter(e,r,u.offset);break;case"lengthGetter":optimiseLengthGetter(e,r,u.offset);break;default:e.replaceWith(r)}}return true}u.references=u.references.concat(u.candidates.map(({path:e})=>e));const p=n.types.numericLiteral(o);const f=r.generateUidIdentifier("key");const c=r.generateUidIdentifier("len");let d,y;if(o){d=n.types.binaryExpression("-",n.types.cloneNode(f),n.types.cloneNode(p));y=n.types.conditionalExpression(n.types.binaryExpression(">",n.types.cloneNode(c),n.types.cloneNode(p)),n.types.binaryExpression("-",n.types.cloneNode(c),n.types.cloneNode(p)),n.types.numericLiteral(0))}else{d=n.types.identifier(f.name);y=n.types.identifier(c.name)}const m=s({ARGUMENTS:a,ARRAY_KEY:d,ARRAY_LEN:y,START:p,ARRAY:i,KEY:f,LEN:c});if(u.deopted){t.body.body.unshift(m)}else{let t=e.getEarliestCommonAncestorFrom(u.references).getStatementParent();t.findParent(e=>{if(e.isLoop()){t=e}else{return e.isFunction()}});t.insertBefore(m)}return true}},35836:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},17655:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(57947);var s=r(85850);var i=(0,n.declare)(e=>{e.assertVersion(7);return{name:"transform-property-literals",visitor:{ObjectProperty:{exit({node:e}){const t=e.key;if(!e.computed&&s.types.isIdentifier(t)&&!s.types.isValidES3Identifier(t.name)){e.key=s.types.stringLiteral(t.name)}}}}}});t.default=i},57947:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},59654:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(89338);var s=r(85622);var i=r(85850);var a=(0,n.declare)(e=>{e.assertVersion(7);function addDisplayName(e,t){const r=t.arguments[0].properties;let n=true;for(let e=0;ee.name==="createReactClass";function isCreateClass(e){if(!e||!i.types.isCallExpression(e))return false;if(!t(e.callee)&&!r(e.callee)){return false}const n=e.arguments;if(n.length!==1)return false;const s=n[0];if(!i.types.isObjectExpression(s))return false;return true}return{name:"transform-react-display-name",visitor:{ExportDefaultDeclaration({node:e},t){if(isCreateClass(e.declaration)){const r=t.filename||"unknown";let n=s.basename(r,s.extname(r));if(n==="index"){n=s.basename(s.dirname(r))}addDisplayName(n,e.declaration)}},CallExpression(e){const{node:t}=e;if(!isCreateClass(t))return;let r;e.find(function(e){if(e.isAssignmentExpression()){r=e.node.left}else if(e.isObjectProperty()){r=e.node.key}else if(e.isVariableDeclarator()){r=e.node.id}else if(e.isStatement()){return true}if(r)return true});if(!r)return;if(i.types.isMemberExpression(r)){r=r.property}if(i.types.isIdentifier(r)){addDisplayName(r.name,t)}}}}});t.default=a},89338:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},14155:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"default",{enumerable:true,get:function(){return n.default}});var n=r(81179)},60754:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var s=r(6929);class ImportBuilder{constructor(e,t,r){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=r;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(s.importDeclaration([],s.stringLiteral(this._importedSource)));return this}require(){this._statements.push(s.expressionStatement(s.callExpression(s.identifier("require"),[s.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[s.importNamespaceSpecifier(t)];this._resultName=s.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];n(t.type==="ImportDeclaration");n(t.specifiers.length===0);t.specifiers=[s.importDefaultSpecifier(e)];this._resultName=s.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[s.importSpecifier(e,s.identifier(t))];this._resultName=s.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){n(this._resultName);t=s.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=s.variableDeclaration("var",[s.variableDeclarator(e,t.expression)]);this._resultName=s.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=s.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=s.callExpression(e,[t.declarations[0].init])}else{n.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=s.memberExpression(t.expression,s.identifier(e))}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=s.memberExpression(t.declarations[0].init,s.identifier(e))}else{n.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=s.memberExpression(this._resultName,s.identifier(e))}}t.default=ImportBuilder},62013:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var s=r(6929);var i=r(60754);var a=r(39508);class ImportInjector{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const n=e.find(e=>e.isProgram());this._programPath=n;this._programScope=n.scope;this._hub=n.hub;this._defaultOpts=this._applyDefaults(t,r,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){n(typeof e==="string");return this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,r=false){const s=[];if(typeof e==="string"){s.push({importedSource:e});s.push(t)}else{n(!t,"Unexpected secondary arguments.");s.push(e)}const i=Object.assign({},this._defaultOpts);for(const e of s){if(!e)continue;Object.keys(i).forEach(t=>{if(e[t]!==undefined)i[t]=e[t]});if(!r){if(e.nameHint!==undefined)i.nameHint=e.nameHint;if(e.blockHoist!==undefined)i.blockHoist=e.blockHoist}}return i}_generateImport(e,t){const r=t==="default";const n=!!t&&!r;const o=t===null;const{importedSource:l,importedType:u,importedInterop:p,importingInterop:f,ensureLiveReference:c,ensureNoContext:d,nameHint:y,importPosition:m,blockHoist:T}=e;let h=y||t;const S=(0,a.default)(this._programPath);const b=S&&f==="node";const E=S&&f==="babel";if(m==="after"&&!S){throw new Error(`"importPosition": "after" is only supported in modules`)}const g=new i.default(l,this._programScope,this._hub);if(u==="es6"){if(!b&&!E){throw new Error("Cannot import an ES6 module from CommonJS")}g.import();if(o){g.namespace(y||l)}else if(r||n){g.named(h,t)}}else if(u!=="commonjs"){throw new Error(`Unexpected interopType "${u}"`)}else if(p==="babel"){if(b){h=h!=="default"?h:l;const e=`${l}$es6Default`;g.import();if(o){g.default(e).var(h||l).wildcardInterop()}else if(r){if(c){g.default(e).var(h||l).defaultInterop().read("default")}else{g.default(e).var(h).defaultInterop().prop(t)}}else if(n){g.default(e).read(t)}}else if(E){g.import();if(o){g.namespace(h||l)}else if(r||n){g.named(h,t)}}else{g.require();if(o){g.var(h||l).wildcardInterop()}else if((r||n)&&c){if(r){h=h!=="default"?h:l;g.var(h).read(t);g.defaultInterop()}else{g.var(l).read(t)}}else if(r){g.var(h).defaultInterop().prop(t)}else if(n){g.var(h).prop(t)}}}else if(p==="compiled"){if(b){g.import();if(o){g.default(h||l)}else if(r||n){g.default(l).read(h)}}else if(E){g.import();if(o){g.namespace(h||l)}else if(r||n){g.named(h,t)}}else{g.require();if(o){g.var(h||l)}else if(r||n){if(c){g.var(l).read(h)}else{g.prop(t).var(h)}}}}else if(p==="uncompiled"){if(r&&c){throw new Error("No live reference for commonjs default")}if(b){g.import();if(o){g.default(h||l)}else if(r){g.default(h)}else if(n){g.default(l).read(h)}}else if(E){g.import();if(o){g.default(h||l)}else if(r){g.default(h)}else if(n){g.named(h,t)}}else{g.require();if(o){g.var(h||l)}else if(r){g.var(h)}else if(n){if(c){g.var(l).read(h)}else{g.var(h).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:P,resultName:x}=g.done();this._insertStatements(P,m,T);if((r||n)&&d&&x.type!=="Identifier"){return s.sequenceExpression([s.numericLiteral(0),x])}return x}_insertStatements(e,t="before",r=3){const n=this._programPath.get("body");if(t==="after"){for(let t=n.length-1;t>=0;t--){if(n[t].isImportDeclaration()){n[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=r});const t=n.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},47649:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return s.default}});var n=r(62013);var s=r(39508);function addDefault(e,t,r){return new n.default(e).addDefault(t,r)}function addNamed(e,t,r,s){return new n.default(e).addNamed(t,r,s)}function addNamespace(e,t,r){return new n.default(e).addNamespace(t,r)}function addSideEffect(e,t,r){return new n.default(e).addSideEffect(t,r)}},39508:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},8178:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},57975:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(57975);var s=r(25188)},25188:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},30976:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(8178);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-jsx",manipulateOptions(e,t){if(t.plugins.some(e=>(Array.isArray(e)?e[0]:e)==="typescript")){return}t.plugins.push("jsx")}}});t.default=s},60676:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createPlugin;var n=r(30976);var s=r(8178);var i=r(85850);var a=r(47649);var o=r(96659);const l={importSource:"react",runtime:"automatic",pragma:"React.createElement",pragmaFrag:"React.Fragment"};const u=/\*?\s*@jsxImportSource\s+([^\s]+)/;const p=/\*?\s*@jsxRuntime\s+([^\s]+)/;const f=/\*?\s*@jsx\s+([^\s]+)/;const c=/\*?\s*@jsxFrag\s+([^\s]+)/;const d=(e,t)=>e.get(`@babel/plugin-react-jsx/${t}`);const y=(e,t,r)=>e.set(`@babel/plugin-react-jsx/${t}`,r);function createPlugin({name:e,development:t}){return(0,s.declare)((r,s)=>{const{pure:a,throwIfNamespace:m=true,filter:T,runtime:h=(t?"automatic":"classic"),importSource:S=l.importSource,pragma:b=l.pragma,pragmaFrag:E=l.pragmaFrag}=s;{var{useSpread:g=false,useBuiltIns:P=false}=s;if(h==="classic"){if(typeof g!=="boolean"){throw new Error("transform-react-jsx currently only accepts a boolean option for "+"useSpread (defaults to false)")}if(typeof P!=="boolean"){throw new Error("transform-react-jsx currently only accepts a boolean option for "+"useBuiltIns (defaults to false)")}if(g&&P){throw new Error("transform-react-jsx currently only accepts useBuiltIns or useSpread "+"but not both")}}}const x={JSXOpeningElement(e,t){for(const t of e.get("attributes")){if(!t.isJSXElement())continue;const{name:r}=t.node.name;if(r==="__source"||r==="__self"){throw e.buildCodeFrameError(`__source and __self should not be defined in props and are reserved for internal usage.`)}}const r=i.types.jsxAttribute(i.types.jsxIdentifier("__self"),i.types.jsxExpressionContainer(i.types.thisExpression()));const n=i.types.jsxAttribute(i.types.jsxIdentifier("__source"),i.types.jsxExpressionContainer(makeSource(e,t)));e.pushContainer("attributes",[r,n])}};return{name:e,inherits:n.default,visitor:{JSXNamespacedName(e){if(m){throw e.buildCodeFrameError(`Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can set \`throwIfNamespace: false\` to bypass this warning.`)}},JSXSpreadChild(e){throw e.buildCodeFrameError("Spread children are not supported in React.")},Program:{enter(e,r){const{file:n}=r;let a=h;let o=S;let d=b;let m=E;let T=!!s.importSource;let g=!!s.pragma;let P=!!s.pragmaFrag;if(n.ast.comments){for(const e of n.ast.comments){const t=u.exec(e.value);if(t){o=t[1];T=true}const r=p.exec(e.value);if(r){a=r[1]}const n=f.exec(e.value);if(n){d=n[1];g=true}const s=c.exec(e.value);if(s){m=s[1];P=true}}}y(r,"runtime",a);if(a==="classic"){if(T){throw e.buildCodeFrameError(`importSource cannot be set when runtime is classic.`)}const t=toMemberExpression(d);const n=toMemberExpression(m);y(r,"id/createElement",()=>i.types.cloneNode(t));y(r,"id/fragment",()=>i.types.cloneNode(n));y(r,"defaultPure",d===l.pragma)}else if(a==="automatic"){if(g||P){throw e.buildCodeFrameError(`pragma and pragmaFrag cannot be set when runtime is automatic.`)}const n=(t,n)=>y(r,t,createImportLazily(r,e,n,o));n("id/jsx",t?"jsxDEV":"jsx");n("id/jsxs",t?"jsxDEV":"jsxs");n("id/createElement","createElement");n("id/fragment","Fragment");y(r,"defaultPure",o===l.importSource)}else{throw e.buildCodeFrameError(`Runtime must be either "classic" or "automatic".`)}if(t){e.traverse(x,r)}}},JSXElement:{exit(e,t){let r;if(d(t,"runtime")==="classic"||shouldUseCreateElement(e)){r=buildCreateElementCall(e,t)}else{r=buildJSXElementCall(e,t)}e.replaceWith(i.types.inherits(r,e.node))}},JSXFragment:{exit(e,t){let r;if(d(t,"runtime")==="classic"){r=buildCreateElementFragmentCall(e,t)}else{r=buildJSXFragmentCall(e,t)}e.replaceWith(i.types.inherits(r,e.node))}},JSXAttribute(e){if(i.types.isJSXElement(e.node.value)){e.node.value=i.types.jsxExpressionContainer(e.node.value)}}}};function call(e,t,r){const n=i.types.callExpression(d(e,`id/${t}`)(),r);if(a!=null?a:d(e,"defaultPure"))(0,o.default)(n);return n}function shouldUseCreateElement(e){const t=e.get("openingElement");const r=t.node.attributes;let n=false;for(let e=0;e1){t=i.types.arrayExpression(e)}else{return undefined}return i.types.objectProperty(i.types.identifier("children"),t)}function buildJSXElementCall(e,r){const n=e.get("openingElement");const s=[getTag(n)];const a=[];const o=Object.create(null);for(const t of n.get("attributes")){if(t.isJSXAttribute()&&i.types.isJSXIdentifier(t.node.name)){const{name:r}=t.node.name;switch(r){case"__source":case"__self":if(o[r])throw sourceSelfError(e,r);case"key":{const e=convertAttributeValue(t.node.value);if(e===null){throw t.buildCodeFrameError('Please provide an explicit key value. Using "key" as a shorthand for "key={true}" is not allowed.')}o[r]=e;break}default:a.push(t)}}else{a.push(t)}}const l=i.types.react.buildChildren(e.node);let u;if(a.length||l.length){u=buildJSXOpeningElementAttributes(a,r,l)}else{u=i.types.objectExpression([])}s.push(u);if(t){var p,f,c;s.push((p=o.key)!=null?p:e.scope.buildUndefinedNode(),i.types.booleanLiteral(l.length>1),(f=o.__source)!=null?f:e.scope.buildUndefinedNode(),(c=o.__self)!=null?c:i.types.thisExpression())}else if(o.key!==undefined){s.push(o.key)}return call(r,l.length>1?"jsxs":"jsx",s)}function buildJSXOpeningElementAttributes(e,t,r){const n=e.reduce(accumulateAttribute,[]);if((r==null?void 0:r.length)>0){n.push(buildChildrenProperty(r))}return i.types.objectExpression(n)}function buildJSXFragmentCall(e,r){const n=[d(r,"id/fragment")()];const s=i.types.react.buildChildren(e.node);n.push(i.types.objectExpression(s.length>0?[buildChildrenProperty(s)]:[]));if(t){n.push(e.scope.buildUndefinedNode(),i.types.booleanLiteral(s.length>1))}return call(r,s.length>1?"jsxs":"jsx",n)}function buildCreateElementFragmentCall(e,t){if(T&&!T(e.node,t))return;return call(t,"createElement",[d(t,"id/fragment")(),i.types.nullLiteral(),...i.types.react.buildChildren(e.node)])}function buildCreateElementCall(e,t){const r=e.get("openingElement");return call(t,"createElement",[getTag(r),buildCreateElementOpeningElementAttributes(t,e,r.get("attributes")),...i.types.react.buildChildren(e.node)])}function getTag(e){const t=convertJSXIdentifier(e.node.name,e.node);let r;if(i.types.isIdentifier(t)){r=t.name}else if(i.types.isLiteral(t)){r=t.value}if(i.types.react.isCompatTag(r)){return i.types.stringLiteral(r)}else{return t}}function buildCreateElementOpeningElementAttributes(e,t,r){const n=d(e,"runtime");{if(n!=="automatic"){const t=[];const n=r.reduce(accumulateAttribute,[]);if(!g){let e=0;n.forEach((r,s)=>{if(i.types.isSpreadElement(r)){if(s>e){t.push(i.types.objectExpression(n.slice(e,s)))}t.push(r.argument);e=s+1}});if(n.length>e){t.push(i.types.objectExpression(n.slice(e)))}}else if(n.length){t.push(i.types.objectExpression(n))}if(!t.length){return i.types.nullLiteral()}if(t.length===1){return t[0]}if(!i.types.isObjectExpression(t[0])){t.unshift(i.types.objectExpression([]))}const s=P?i.types.memberExpression(i.types.identifier("Object"),i.types.identifier("assign")):e.addHelper("extends");return i.types.callExpression(s,t)}}const s=[];const a=Object.create(null);for(const e of r){const r=i.types.isJSXAttribute(e)&&i.types.isJSXIdentifier(e.name)&&e.name.name;if(n==="automatic"&&(r==="__source"||r==="__self")){if(a[r])throw sourceSelfError(t,r);a[r]=true}accumulateAttribute(s,e)}return s.length===1&&i.types.isSpreadElement(s[0])?s[0].argument:s.length>0?i.types.objectExpression(s):i.types.nullLiteral()}});function getSource(e,r){switch(r){case"Fragment":return`${e}/${t?"jsx-dev-runtime":"jsx-runtime"}`;case"jsxDEV":return`${e}/jsx-dev-runtime`;case"jsx":case"jsxs":return`${e}/jsx-runtime`;case"createElement":return e}}function createImportLazily(e,t,r,n){return()=>{const s=getSource(n,r);if((0,a.isModule)(t)){let n=d(e,`imports/${r}`);if(n)return i.types.cloneNode(n);n=(0,a.addNamed)(t,r,s,{importedInterop:"uncompiled",importPosition:"after"});y(e,`imports/${r}`,n);return n}else{let n=d(e,`requires/${s}`);if(n){n=i.types.cloneNode(n)}else{n=(0,a.addNamespace)(t,s,{importedInterop:"uncompiled"});y(e,`requires/${s}`,n)}return i.types.memberExpression(n,i.types.identifier(r))}}}}function toMemberExpression(e){return e.split(".").map(e=>i.types.identifier(e)).reduce((e,t)=>i.types.memberExpression(e,t))}function makeSource(e,t){const r=e.node.loc;if(!r){return e.scope.buildUndefinedNode()}if(!t.fileNameIdentifier){const{filename:r=""}=t;const n=e.scope.generateUidIdentifier("_jsxFileName");const s=e.hub.getScope();if(s){s.push({id:n,init:i.types.stringLiteral(r)})}t.fileNameIdentifier=n}return makeTrace(i.types.cloneNode(t.fileNameIdentifier),r.start.line,r.start.column)}function makeTrace(e,t,r){const n=t!=null?i.types.numericLiteral(t):i.types.nullLiteral();const s=r!=null?i.types.numericLiteral(r+1):i.types.nullLiteral();const a=i.types.objectProperty(i.types.identifier("fileName"),e);const o=i.types.objectProperty(i.types.identifier("lineNumber"),n);const l=i.types.objectProperty(i.types.identifier("columnNumber"),s);return i.types.objectExpression([a,o,l])}function sourceSelfError(e,t){const r=`transform-react-jsx-${t.slice(2)}`;return e.buildCodeFrameError(`Duplicate ${t} prop found. You are most likely using the deprecated ${r} Babel plugin. Both __source and __self are automatically set when using the automatic runtime. Please remove transform-react-jsx-source and transform-react-jsx-self from your Babel config.`)}},81179:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(60676);var s=(0,n.default)({name:"transform-react-jsx/development",development:true});t.default=s},74334:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(524);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},78657:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(29350);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},87635:()=>{},66132:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(90015);var s=r(71754);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(48923);var s=r(20791);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},76933:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(48923);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},48923:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(66132);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},12408:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(48923)},81188:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(98977);var s=r(82761);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(48923);var s=r(58514);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},78365:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(18331);function clone(e){return(0,n.default)(e,false)}},18466:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(18331);function cloneDeep(e){return(0,n.default)(e)}},83897:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(18331);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},18331:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(90015);var s=r(98977);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},27113:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(18331);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},29340:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(46625);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},46625:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},62506:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(67651);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},49119:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(67651);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},16648:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(67651);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},62670:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(16648);var s=r(49119);var i=r(62506);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},3779:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(96412);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},10804:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(90015);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},96412:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},11060:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(36337);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},56173:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(68257);var s=r(98977);var i=r(48923);var a=r(18331);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},74514:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(49127);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},36337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(98977);var s=r(48923);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},76267:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(98977);var s=r(48923);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},77771:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(98977);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},49127:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(3556);var s=r(92494);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},29231:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(98977);var s=r(18331);var i=r(11152);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},98206:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(56173);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},42014:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(98977);var s=r(48923);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},86322:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(3556);var s=r(48923);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},9611:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(29350);var s=r(3556);var i=r(92494);var a=r(96412);var o=r(80416);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},39096:(e,t,r)=>{"use strict";var n=r(80416);var s=r(9611);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},72201:(e,t,r)=>{"use strict";var n=r(80416);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},90015:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(9611);r(72201);r(8983);r(95463);r(39096);r(20996);var s=r(80416);var i=r(5305);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},8983:(e,t,r)=>{"use strict";var n=r(80416);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},95463:(e,t,r)=>{"use strict";var n=r(80416);var s=r(5305);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},5305:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(80416);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},20996:(e,t,r)=>{"use strict";var n=r(80416);var s=r(9611);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},80416:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(29350);var s=r(71754);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},6929:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(49132);var i=r(97167);var a=r(81188);var o=r(74334);var l=r(78657);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(76933);var p=r(87978);var f=r(93500);var c=r(48923);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(12408);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(18331);var m=r(78365);var T=r(18466);var h=r(83897);var S=r(27113);var b=r(29340);var E=r(46625);var g=r(62506);var P=r(49119);var x=r(62670);var v=r(16648);var A=r(3779);var O=r(10804);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(96412);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(11060);var w=r(74514);var j=r(36337);var N=r(76267);var C=r(77771);var L=r(49127);var _=r(29231);var M=r(98206);var F=r(42014);var B=r(86322);var k=r(90015);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(58090);var K=r(92663);var V=r(82131);var X=r(48344);var Y=r(11152);var J=r(20791);var U=r(68257);var W=r(69029);var q=r(23303);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(49294);var G=r(5234);var $=r(29350);var H=r(70876);var Q=r(23319);var Z=r(99415);var ee=r(97616);var te=r(524);var re=r(88741);var ne=r(65258);var se=r(86269);var ie=r(72405);var ae=r(74696);var oe=r(2122);var le=r(76530);var ue=r(3556);var pe=r(72742);var fe=r(99146);var ce=r(71754);var de=r(77753);var ye=r(98977);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(87635);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},58090:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(48923);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},20791:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(98977);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},92663:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(96412);var s=r(62670);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},82131:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(48923);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},48344:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(96412);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},11152:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(49294);var s=r(48344);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},58514:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(98977);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},68257:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(98977);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(68257);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},23303:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(90015);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(90015);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},67651:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},82761:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(48923);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},77753:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(99146);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},98977:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(5234);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},29350:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(5234);var s=r(2122);var i=r(65258);var a=r(90015);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},70876:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(68257);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},23319:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(98977);var s=r(97616);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},99415:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(2122);var s=r(98977);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},97616:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(98977);var s=r(96412);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},524:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(90015);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},88741:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(90015);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(90015);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},86269:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},72405:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(98977);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},74696:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(98977);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},2122:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(90015);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},76530:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(3556);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},3556:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(92494);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},72742:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(98977);var s=r(96412);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},99146:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(98977);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},49132:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(77753);const s=(0,n.default)("React.Component");var i=s;t.default=i},71754:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(90015);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},71073:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(47907);var s=r(96659);var i=r(85850);const a=new Map([["react",["cloneElement","createContext","createElement","createFactory","createRef","forwardRef","isValidElement","memo","lazy"]],["react-dom",["createPortal"]]]);var o=(0,n.declare)(e=>{e.assertVersion(7);return{name:"transform-react-pure-annotations",visitor:{CallExpression(e){if(isReactCall(e)){(0,s.default)(e)}}}}});t.default=o;function isReactCall(e){if(!i.types.isMemberExpression(e.node.callee)){const t=e.get("callee");for(const[e,r]of a){for(const n of r){if(t.referencesImport(e,n)){return true}}}return false}for(const[t,r]of a){const n=e.get("callee.object");if(n.referencesImport(t,"default")||n.referencesImport(t,"*")){for(const t of r){if(i.types.isIdentifier(e.node.callee.property,{name:t})){return true}}return false}}return false}},47907:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},26088:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(19205);var s=r(85850);var i=(0,n.declare)(e=>{e.assertVersion(7);return{name:"transform-reserved-words",visitor:{"BindingIdentifier|ReferencedIdentifier"(e){if(!s.types.isValidES3Identifier(e.node.name)){e.scope.rename(e.node.name)}}}}});t.default=i},19205:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},27476:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(11669);var s=r(85850);var i=(0,n.declare)(e=>{e.assertVersion(7);return{name:"transform-shorthand-properties",visitor:{ObjectMethod(e){const{node:t}=e;if(t.kind==="method"){const r=s.types.functionExpression(null,t.params,t.body,t.generator,t.async);r.returnType=t.returnType;const n=s.types.toComputedKey(t);if(s.types.isStringLiteral(n,{value:"__proto__"})){e.replaceWith(s.types.objectProperty(n,r,true))}else{e.replaceWith(s.types.objectProperty(t.key,r,t.computed))}}},ObjectProperty(e){const{node:t}=e;if(t.shorthand){const r=s.types.toComputedKey(t);if(s.types.isStringLiteral(r,{value:"__proto__"})){e.replaceWith(s.types.objectProperty(r,t.value,true))}else{t.shorthand=false}}}}}});t.default=i},11669:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},48315:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(84771);var s=r(28571);var i=r(85850);var a=(0,n.declare)((e,t)=>{var r,n;e.assertVersion(7);const a=(r=e.assumption("iterableIsArray"))!=null?r:t.loose;const o=(n=t.allowArrayLike)!=null?n:e.assumption("arrayLikeIsIterable");function getSpreadLiteral(e,t){if(a&&!i.types.isIdentifier(e.argument,{name:"arguments"})){return e.argument}else{return t.toArray(e.argument,true,o)}}function hasHole(e){return e.elements.some(e=>e===null)}function hasSpread(e){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},84779:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(934);var s=r(85850);var i=(0,n.declare)(e=>{e.assertVersion(7);return{name:"transform-sticky-regex",visitor:{RegExpLiteral(e){const{node:t}=e;if(!t.flags.includes("y"))return;e.replaceWith(s.types.newExpression(s.types.identifier("RegExp"),[s.types.stringLiteral(t.pattern),s.types.stringLiteral(t.flags)]))}}}});t.default=i},934:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},84611:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(14911);var s=r(85850);var i=(0,n.declare)((e,t)=>{var r,n;e.assertVersion(7);const i=(r=e.assumption("ignoreToPrimitiveHint"))!=null?r:t.loose;const a=(n=e.assumption("mutableTemplateObject"))!=null?n:t.loose;let o="taggedTemplateLiteral";if(a)o+="Loose";function buildConcatCallExpressions(e){let t=true;return e.reduce(function(e,r){let n=s.types.isLiteral(r);if(!n&&t){n=true;t=false}if(n&&s.types.isCallExpression(e)){e.arguments.push(r);return e}return s.types.callExpression(s.types.memberExpression(e,s.types.identifier("concat")),[r])})}return{name:"transform-template-literals",visitor:{TaggedTemplateExpression(e){const{node:t}=e;const{quasi:r}=t;const n=[];const i=[];let a=true;for(const t of r.quasis){const{raw:r,cooked:o}=t.value;const l=o==null?e.scope.buildUndefinedNode():s.types.stringLiteral(o);n.push(l);i.push(s.types.stringLiteral(r));if(r!==o){a=false}}const l=[s.types.arrayExpression(n)];if(!a){l.push(s.types.arrayExpression(i))}const u=e.scope.generateUidIdentifier("templateObject");e.scope.getProgramParent().push({id:s.types.cloneNode(u)});e.replaceWith(s.types.callExpression(t.tag,[s.template.expression.ast` - ${s.types.cloneNode(u)} || ( - ${u} = ${this.addHelper(o)}(${l}) + `};const p={ReferencedIdentifier(e){const{seen:t,buildImportReference:s,scope:r,imported:n,requeueInParent:a}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const l=n.get(o);if(l){const t=e.scope.getBinding(o);const n=r.getBinding(o);if(n!==t)return;const c=s(l,e.node);c.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&i.isMemberExpression(c)){e.replaceWith(i.sequenceExpression([i.numericLiteral(0),c]))}else if(e.isJSXIdentifier()&&i.isMemberExpression(c)){const{object:t,property:s}=c;e.replaceWith(i.jsxMemberExpression(i.jsxIdentifier(t.name),i.jsxIdentifier(s.name)))}else{e.replaceWith(c)}a(e);e.skip()}},AssignmentExpression:{exit(e){const{scope:t,seen:s,imported:n,exported:a,requeueInParent:o,buildImportReference:p}=this;if(s.has(e.node))return;s.add(e.node);const u=e.get("left");if(u.isMemberExpression())return;if(u.isIdentifier()){const s=u.node.name;if(t.getBinding(s)!==e.scope.getBinding(s)){return}const h=a.get(s);const f=n.get(s);if((h==null?void 0:h.length)>0||f){r(e.node.operator==="=","Path was not simplified");const t=e.node;if(f){t.left=p(f,t.left);t.right=i.sequenceExpression([t.right,c(s)])}e.replaceWith(l(this.metadata,h,t));o(e)}}else{const s=u.getOuterBindingIdentifiers();const r=Object.keys(s).filter(s=>t.getBinding(s)===e.scope.getBinding(s));const p=r.find(e=>n.has(e));if(p){e.node.right=i.sequenceExpression([e.node.right,c(p)])}const h=[];r.forEach(e=>{const t=a.get(e)||[];if(t.length>0){h.push(l(this.metadata,t,i.identifier(e)))}});if(h.length>0){let t=i.sequenceExpression(h);if(e.parentPath.isExpressionStatement()){t=i.expressionStatement(t);t._blockHoist=e.parentPath.node._blockHoist}const s=e.insertAfter(t)[0];o(s)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:s}=e;const{left:r}=s;const{exported:n,scope:a}=this;if(!i.isVariableDeclaration(r)){let s=false;const o=e.get("body");const l=o.scope;for(const e of Object.keys(i.getOuterBindingIdentifiers(r))){if(n.get(e)&&a.getBinding(e)===t.getBinding(e)){s=true;if(l.hasOwnBinding(e)){l.rename(e)}}}if(!s){return}const c=t.generateUidIdentifierBasedOnNode(r);o.unshiftContainer("body",i.expressionStatement(i.assignmentExpression("=",r,c)));e.get("left").replaceWith(i.variableDeclaration("let",[i.variableDeclarator(i.cloneNode(c))]));t.registerDeclaration(e.get("left"))}}}},77119:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteThis;var r=s(846);var i=s(4267);var n=s(19761);function rewriteThis(e){(0,i.default)(e.node,Object.assign({},a,{noScope:true}))}const a=i.default.visitors.merge([r.environmentVisitor,{ThisExpression(e){e.replaceWith(n.unaryExpression("void",n.numericLiteral(0),true))}}])},53284:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},71142:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=simplifyAccess;var r=s(19761);function simplifyAccess(e,t){e.traverse(i,{scope:e.scope,bindingNames:t,seen:new WeakSet})}const i={UpdateExpression:{exit(e){const{scope:t,bindingNames:s}=this;const i=e.get("argument");if(!i.isIdentifier())return;const n=i.node.name;if(!s.has(n))return;if(t.getBinding(n)!==e.scope.getBinding(n)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(r.assignmentExpression(t,i.node,r.numericLiteral(1)))}else if(e.node.prefix){e.replaceWith(r.assignmentExpression("=",r.identifier(n),r.binaryExpression(e.node.operator[0],r.unaryExpression("+",i.node),r.numericLiteral(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(i.node,"old");const s=t.name;e.scope.push({id:t});const n=r.binaryExpression(e.node.operator[0],r.identifier(s),r.numericLiteral(1));e.replaceWith(r.sequenceExpression([r.assignmentExpression("=",r.identifier(s),r.unaryExpression("+",i.node)),r.assignmentExpression("=",r.cloneNode(i.node),n),r.identifier(s)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:s,bindingNames:i}=this;if(e.node.operator==="=")return;if(s.has(e.node))return;s.add(e.node);const n=e.get("left");if(!n.isIdentifier())return;const a=n.node.name;if(!i.has(a))return;if(t.getBinding(a)!==e.scope.getBinding(a)){return}e.node.right=r.binaryExpression(e.node.operator.slice(0,-1),r.cloneNode(e.node.left),e.node.right);e.node.operator="="}}}},47787:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let r="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+s+"]");const n=new RegExp("["+s+r+"]");s=r=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let s=65536;for(let r=0,i=t.length;re)return false;s+=t[r+1];if(s>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&n.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return r.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return r.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return r.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var r=s(47787);var i=s(67610)},67610:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const s={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const r=new Set(s.keyword);const i=new Set(s.strict);const n=new Set(s.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return n.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return r.has(e)}},79418:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(1680);var i=s(85850);var n=(0,r.declare)(e=>{e.assertVersion(7);return{name:"transform-new-target",visitor:{MetaProperty(e){const t=e.get("meta");const s=e.get("property");const{scope:r}=e;if(t.isIdentifier({name:"new"})&&s.isIdentifier({name:"target"})){const t=e.findParent(e=>{if(e.isClass())return true;if(e.isFunction()&&!e.isArrowFunctionExpression()){if(e.isClassMethod({kind:"constructor"})){return false}return true}return false});if(!t){throw e.buildCodeFrameError("new.target must be under a (non-arrow) function or a class.")}const{node:s}=t;if(!s.id){if(t.isMethod()){e.replaceWith(r.buildUndefinedNode());return}s.id=r.generateUidIdentifier("target")}const n=i.types.memberExpression(i.types.thisExpression(),i.types.identifier("constructor"));if(t.isClass()){e.replaceWith(n);return}e.replaceWith(i.types.conditionalExpression(i.types.binaryExpression("instanceof",i.types.thisExpression(),i.types.cloneNode(s.id)),n,r.buildUndefinedNode()))}}}}});t.default=n},1680:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},19562:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(17608);var i=s(846);var n=s(85850);function replacePropertySuper(e,t,s){const r=new i.default({getObjectRef:t,methodPath:e,file:s});r.replace()}var a=(0,r.declare)(e=>{e.assertVersion(7);return{name:"transform-object-super",visitor:{ObjectExpression(e,t){let s;const r=()=>s=s||e.scope.generateUidIdentifier("obj");e.get("properties").forEach(e=>{if(!e.isMethod())return;replacePropertySuper(e,r,t)});if(s){e.scope.push({id:n.types.cloneNode(s)});e.replaceWith(n.types.assignmentExpression("=",n.types.cloneNode(s),e.node))}}}}});t.default=a},17608:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},26155:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"convertFunctionParams",{enumerable:true,get:function(){return i.default}});t.default=void 0;var r=s(35836);var i=s(11630);var n=s(87080);var a=(0,r.declare)((e,t)=>{var s;e.assertVersion(7);const r=(s=e.assumption("ignoreFunctionLength"))!=null?s:t.loose;const a=e.assumption("noNewArrows");return{name:"transform-parameters",visitor:{Function(e){if(e.isArrowFunctionExpression()&&e.get("params").some(e=>e.isRestElement()||e.isAssignmentPattern())){e.arrowFunctionToExpression({noNewArrows:a})}const t=(0,n.default)(e);const s=(0,i.default)(e,r);if(t||s){e.scope.crawl()}}}}});t.default=a},11630:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=convertFunctionParams;var r=s(85850);const i=(0,r.template)(`\n let VARIABLE_NAME =\n arguments.length > ARGUMENT_KEY && arguments[ARGUMENT_KEY] !== undefined ?\n arguments[ARGUMENT_KEY]\n :\n DEFAULT_VALUE;\n`);const n=(0,r.template)(`\n if (ASSIGNMENT_IDENTIFIER === UNDEFINED) {\n ASSIGNMENT_IDENTIFIER = DEFAULT_VALUE;\n }\n`);const a=(0,r.template)(`\n let ASSIGNMENT_IDENTIFIER = PARAMETER_NAME === UNDEFINED ? DEFAULT_VALUE : PARAMETER_NAME ;\n`);const o=(0,r.template)(`\n let $0 = arguments.length > $1 ? arguments[$1] : undefined;\n`);const l={"ReferencedIdentifier|BindingIdentifier"(e,t){const{scope:s,node:r}=e;const{name:i}=r;if(i==="eval"||s.getBinding(i)===t.scope.parent.getBinding(i)&&t.scope.hasOwnBinding(i)){t.needsOuterBinding=true;e.stop()}},"TypeAnnotation|TSTypeAnnotation|TypeParameterDeclaration|TSTypeParameterDeclaration":e=>e.skip()};function convertFunctionParams(e,t,s,c){const p=e.get("params");const u=p.every(e=>e.isIdentifier());if(u)return false;const{node:h,scope:f}=e;const d={stop:false,needsOuterBinding:false,scope:f};const y=[];const m=new Set;for(const e of p){for(const t of Object.keys(e.getBindingIdentifiers())){var g;const e=(g=f.bindings[t])==null?void 0:g.constantViolations;if(e){for(const s of e){const e=s.node;switch(e.type){case"VariableDeclarator":{if(e.init===null){const e=s.parentPath;if(!e.parentPath.isFor()||e.parentPath.get("body")===e){s.remove();break}}m.add(t);break}case"FunctionDeclaration":m.add(t);break}}}}}if(m.size===0){for(const e of p){if(!e.isIdentifier())e.traverse(l,d);if(d.needsOuterBinding)break}}let b=null;for(let l=0;l0){y.push(buildScopeIIFE(m,e.get("body").node));e.set("body",r.types.blockStatement(y));const t=e.get("body.body");const s=t[t.length-1].get("argument.callee");s.arrowFunctionToExpression();s.node.generator=e.node.generator;s.node.async=e.node.async;e.node.generator=false}else{e.get("body").unshiftContainer("body",y)}return true}function buildScopeIIFE(e,t){const s=[];const i=[];for(const t of e){s.push(r.types.identifier(t));i.push(r.types.identifier(t))}return r.types.returnStatement(r.types.callExpression(r.types.arrowFunctionExpression(i,t),s))}},87080:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=convertFunctionRest;var r=s(85850);const i=(0,r.template)(`\n for (var LEN = ARGUMENTS.length,\n ARRAY = new Array(ARRAY_LEN),\n KEY = START;\n KEY < LEN;\n KEY++) {\n ARRAY[ARRAY_KEY] = ARGUMENTS[KEY];\n }\n`);const n=(0,r.template)(`\n (INDEX < OFFSET || ARGUMENTS.length <= INDEX) ? undefined : ARGUMENTS[INDEX]\n`);const a=(0,r.template)(`\n REF = INDEX, (REF < OFFSET || ARGUMENTS.length <= REF) ? undefined : ARGUMENTS[REF]\n`);const o=(0,r.template)(`\n ARGUMENTS.length <= OFFSET ? 0 : ARGUMENTS.length - OFFSET\n`);function referencesRest(e,t){if(e.node.name===t.name){return e.scope.bindingIdentifierEquals(t.name,t.outerBinding)}return false}const l={Scope(e,t){if(!e.scope.bindingIdentifierEquals(t.name,t.outerBinding)){e.skip()}},Flow(e){if(e.isTypeCastExpression())return;e.skip()},Function(e,t){const s=t.noOptimise;t.noOptimise=true;e.traverse(l,t);t.noOptimise=s;e.skip()},ReferencedIdentifier(e,t){const{node:s}=e;if(s.name==="arguments"){t.deopted=true}if(!referencesRest(e,t))return;if(t.noOptimise){t.deopted=true}else{const{parentPath:r}=e;if(r.listKey==="params"&&r.key0&&r.types.isIdentifier(e.params[0],{name:"this"})){t-=1}return t}function hasRest(e){const t=e.params.length;return t>0&&r.types.isRestElement(e.params[t-1])}function optimiseIndexGetter(e,t,s){const i=r.types.numericLiteral(s);let o;if(r.types.isNumericLiteral(e.parent.property)){o=r.types.numericLiteral(e.parent.property.value+s)}else if(s===0){o=e.parent.property}else{o=r.types.binaryExpression("+",e.parent.property,r.types.cloneNode(i))}const{scope:l}=e;if(!l.isPure(o)){const s=l.generateUidIdentifierBasedOnNode(o);l.push({id:s,kind:"var"});e.parentPath.replaceWith(a({ARGUMENTS:t,OFFSET:i,INDEX:o,REF:r.types.cloneNode(s)}))}else{const s=e.parentPath;s.replaceWith(n({ARGUMENTS:t,OFFSET:i,INDEX:o}));const r=s.get("test").get("left");const a=r.evaluate();if(a.confident){if(a.value===true){s.replaceWith(s.scope.buildUndefinedNode())}else{s.get("test").replaceWith(s.get("test").get("right"))}}}}function optimiseLengthGetter(e,t,s){if(s){e.parentPath.replaceWith(o({ARGUMENTS:t,OFFSET:r.types.numericLiteral(s)}))}else{e.replaceWith(t)}}function convertFunctionRest(e){const{node:t,scope:s}=e;if(!hasRest(t))return false;let n=t.params.pop().argument;const a=r.types.identifier("arguments");if(r.types.isPattern(n)){const e=n;n=s.generateUidIdentifier("ref");const i=r.types.variableDeclaration("let",[r.types.variableDeclarator(e,n)]);t.body.body.unshift(i)}const o=getParamsCount(t);const c={references:[],offset:o,argumentsNode:a,outerBinding:s.getBindingIdentifier(n.name),candidates:[],name:n.name,deopted:false};e.traverse(l,c);if(!c.deopted&&!c.references.length){for(const{path:e,cause:t}of c.candidates){const s=r.types.cloneNode(a);switch(t){case"indexGetter":optimiseIndexGetter(e,s,c.offset);break;case"lengthGetter":optimiseLengthGetter(e,s,c.offset);break;default:e.replaceWith(s)}}return true}c.references=c.references.concat(c.candidates.map(({path:e})=>e));const p=r.types.numericLiteral(o);const u=s.generateUidIdentifier("key");const h=s.generateUidIdentifier("len");let f,d;if(o){f=r.types.binaryExpression("-",r.types.cloneNode(u),r.types.cloneNode(p));d=r.types.conditionalExpression(r.types.binaryExpression(">",r.types.cloneNode(h),r.types.cloneNode(p)),r.types.binaryExpression("-",r.types.cloneNode(h),r.types.cloneNode(p)),r.types.numericLiteral(0))}else{f=r.types.identifier(u.name);d=r.types.identifier(h.name)}const y=i({ARGUMENTS:a,ARRAY_KEY:f,ARRAY_LEN:d,START:p,ARRAY:n,KEY:u,LEN:h});if(c.deopted){t.body.body.unshift(y)}else{let t=e.getEarliestCommonAncestorFrom(c.references).getStatementParent();t.findParent(e=>{if(e.isLoop()){t=e}else{return e.isFunction()}});t.insertBefore(y)}return true}},35836:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},17655:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(57947);var i=s(85850);var n=(0,r.declare)(e=>{e.assertVersion(7);return{name:"transform-property-literals",visitor:{ObjectProperty:{exit({node:e}){const t=e.key;if(!e.computed&&i.types.isIdentifier(t)&&!i.types.isValidES3Identifier(t.name)){e.key=i.types.stringLiteral(t.name)}}}}}});t.default=n},57947:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},59654:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(89338);var i=s(85622);var n=s(85850);var a=(0,r.declare)(e=>{e.assertVersion(7);function addDisplayName(e,t){const s=t.arguments[0].properties;let r=true;for(let e=0;ee.name==="createReactClass";function isCreateClass(e){if(!e||!n.types.isCallExpression(e))return false;if(!t(e.callee)&&!s(e.callee)){return false}const r=e.arguments;if(r.length!==1)return false;const i=r[0];if(!n.types.isObjectExpression(i))return false;return true}return{name:"transform-react-display-name",visitor:{ExportDefaultDeclaration({node:e},t){if(isCreateClass(e.declaration)){const s=t.filename||"unknown";let r=i.basename(s,i.extname(s));if(r==="index"){r=i.basename(i.dirname(s))}addDisplayName(r,e.declaration)}},CallExpression(e){const{node:t}=e;if(!isCreateClass(t))return;let s;e.find(function(e){if(e.isAssignmentExpression()){s=e.node.left}else if(e.isObjectProperty()){s=e.node.key}else if(e.isVariableDeclarator()){s=e.node.id}else if(e.isStatement()){return true}if(s)return true});if(!s)return;if(n.types.isMemberExpression(s)){s=s.property}if(n.types.isIdentifier(s)){addDisplayName(s.name,t)}}}}});t.default=a},89338:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},14155:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"default",{enumerable:true,get:function(){return r.default}});var r=s(81179)},60754:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(42357);var i=s(19761);class ImportBuilder{constructor(e,t,s){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=s;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(i.importDeclaration([],i.stringLiteral(this._importedSource)));return this}require(){this._statements.push(i.expressionStatement(i.callExpression(i.identifier("require"),[i.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const s=this._statements[this._statements.length-1];r(s.type==="ImportDeclaration");r(s.specifiers.length===0);s.specifiers=[i.importNamespaceSpecifier(t)];this._resultName=i.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];r(t.type==="ImportDeclaration");r(t.specifiers.length===0);t.specifiers=[i.importDefaultSpecifier(e)];this._resultName=i.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const s=this._statements[this._statements.length-1];r(s.type==="ImportDeclaration");r(s.specifiers.length===0);s.specifiers=[i.importSpecifier(e,i.identifier(t))];this._resultName=i.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){r(this._resultName);t=i.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=i.variableDeclaration("var",[i.variableDeclarator(e,t.expression)]);this._resultName=i.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){r(t.declarations.length===1);t.declarations[0].init=i.callExpression(e,[t.declarations[0].init])}else{r.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.memberExpression(t.expression,i.identifier(e))}else if(t.type==="VariableDeclaration"){r(t.declarations.length===1);t.declarations[0].init=i.memberExpression(t.declarations[0].init,i.identifier(e))}else{r.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=i.memberExpression(this._resultName,i.identifier(e))}}t.default=ImportBuilder},62013:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(42357);var i=s(19761);var n=s(60754);var a=s(39508);class ImportInjector{constructor(e,t,s){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const r=e.find(e=>e.isProgram());this._programPath=r;this._programScope=r.scope;this._hub=r.hub;this._defaultOpts=this._applyDefaults(t,s,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,s){r(typeof e==="string");return this._generateImport(this._applyDefaults(t,s),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,s=false){const i=[];if(typeof e==="string"){i.push({importedSource:e});i.push(t)}else{r(!t,"Unexpected secondary arguments.");i.push(e)}const n=Object.assign({},this._defaultOpts);for(const e of i){if(!e)continue;Object.keys(n).forEach(t=>{if(e[t]!==undefined)n[t]=e[t]});if(!s){if(e.nameHint!==undefined)n.nameHint=e.nameHint;if(e.blockHoist!==undefined)n.blockHoist=e.blockHoist}}return n}_generateImport(e,t){const s=t==="default";const r=!!t&&!s;const o=t===null;const{importedSource:l,importedType:c,importedInterop:p,importingInterop:u,ensureLiveReference:h,ensureNoContext:f,nameHint:d,importPosition:y,blockHoist:m}=e;let g=d||t;const b=(0,a.default)(this._programPath);const x=b&&u==="node";const v=b&&u==="babel";if(y==="after"&&!b){throw new Error(`"importPosition": "after" is only supported in modules`)}const w=new n.default(l,this._programScope,this._hub);if(c==="es6"){if(!x&&!v){throw new Error("Cannot import an ES6 module from CommonJS")}w.import();if(o){w.namespace(d||l)}else if(s||r){w.named(g,t)}}else if(c!=="commonjs"){throw new Error(`Unexpected interopType "${c}"`)}else if(p==="babel"){if(x){g=g!=="default"?g:l;const e=`${l}$es6Default`;w.import();if(o){w.default(e).var(g||l).wildcardInterop()}else if(s){if(h){w.default(e).var(g||l).defaultInterop().read("default")}else{w.default(e).var(g).defaultInterop().prop(t)}}else if(r){w.default(e).read(t)}}else if(v){w.import();if(o){w.namespace(g||l)}else if(s||r){w.named(g,t)}}else{w.require();if(o){w.var(g||l).wildcardInterop()}else if((s||r)&&h){if(s){g=g!=="default"?g:l;w.var(g).read(t);w.defaultInterop()}else{w.var(l).read(t)}}else if(s){w.var(g).defaultInterop().prop(t)}else if(r){w.var(g).prop(t)}}}else if(p==="compiled"){if(x){w.import();if(o){w.default(g||l)}else if(s||r){w.default(l).read(g)}}else if(v){w.import();if(o){w.namespace(g||l)}else if(s||r){w.named(g,t)}}else{w.require();if(o){w.var(g||l)}else if(s||r){if(h){w.var(l).read(g)}else{w.prop(t).var(g)}}}}else if(p==="uncompiled"){if(s&&h){throw new Error("No live reference for commonjs default")}if(x){w.import();if(o){w.default(g||l)}else if(s){w.default(g)}else if(r){w.default(l).read(g)}}else if(v){w.import();if(o){w.default(g||l)}else if(s){w.default(g)}else if(r){w.named(g,t)}}else{w.require();if(o){w.var(g||l)}else if(s){w.var(g)}else if(r){if(h){w.var(l).read(g)}else{w.var(g).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:P,resultName:E}=w.done();this._insertStatements(P,y,m);if((s||r)&&f&&E.type!=="Identifier"){return i.sequenceExpression([i.numericLiteral(0),E])}return E}_insertStatements(e,t="before",s=3){const r=this._programPath.get("body");if(t==="after"){for(let t=r.length-1;t>=0;t--){if(r[t].isImportDeclaration()){r[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=s});const t=r.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},47649:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return r.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return i.default}});var r=s(62013);var i=s(39508);function addDefault(e,t,s){return new r.default(e).addDefault(t,s)}function addNamed(e,t,s,i){return new r.default(e).addNamed(t,s,i)}function addNamespace(e,t,s){return new r.default(e).addNamespace(t,s)}function addSideEffect(e,t,s){return new r.default(e).addSideEffect(t,s)}},39508:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},8178:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},30976:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(8178);var i=(0,r.declare)(e=>{e.assertVersion(7);return{name:"syntax-jsx",manipulateOptions(e,t){if(t.plugins.some(e=>(Array.isArray(e)?e[0]:e)==="typescript")){return}t.plugins.push("jsx")}}});t.default=i},60676:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createPlugin;var r=s(30976);var i=s(8178);var n=s(85850);var a=s(47649);var o=s(96659);const l={importSource:"react",runtime:"automatic",pragma:"React.createElement",pragmaFrag:"React.Fragment"};const c=/\*?\s*@jsxImportSource\s+([^\s]+)/;const p=/\*?\s*@jsxRuntime\s+([^\s]+)/;const u=/\*?\s*@jsx\s+([^\s]+)/;const h=/\*?\s*@jsxFrag\s+([^\s]+)/;const f=(e,t)=>e.get(`@babel/plugin-react-jsx/${t}`);const d=(e,t,s)=>e.set(`@babel/plugin-react-jsx/${t}`,s);function createPlugin({name:e,development:t}){return(0,i.declare)((s,i)=>{const{pure:a,throwIfNamespace:y=true,filter:m,runtime:g=(t?"automatic":"classic"),importSource:b=l.importSource,pragma:x=l.pragma,pragmaFrag:v=l.pragmaFrag}=i;{var{useSpread:w=false,useBuiltIns:P=false}=i;if(g==="classic"){if(typeof w!=="boolean"){throw new Error("transform-react-jsx currently only accepts a boolean option for "+"useSpread (defaults to false)")}if(typeof P!=="boolean"){throw new Error("transform-react-jsx currently only accepts a boolean option for "+"useBuiltIns (defaults to false)")}if(w&&P){throw new Error("transform-react-jsx currently only accepts useBuiltIns or useSpread "+"but not both")}}}const E={JSXOpeningElement(e,t){for(const t of e.get("attributes")){if(!t.isJSXElement())continue;const{name:s}=t.node.name;if(s==="__source"||s==="__self"){throw e.buildCodeFrameError(`__source and __self should not be defined in props and are reserved for internal usage.`)}}const s=n.types.jsxAttribute(n.types.jsxIdentifier("__self"),n.types.jsxExpressionContainer(n.types.thisExpression()));const r=n.types.jsxAttribute(n.types.jsxIdentifier("__source"),n.types.jsxExpressionContainer(makeSource(e,t)));e.pushContainer("attributes",[s,r])}};return{name:e,inherits:r.default,visitor:{JSXNamespacedName(e){if(y){throw e.buildCodeFrameError(`Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can set \`throwIfNamespace: false\` to bypass this warning.`)}},JSXSpreadChild(e){throw e.buildCodeFrameError("Spread children are not supported in React.")},Program:{enter(e,s){const{file:r}=s;let a=g;let o=b;let f=x;let y=v;let m=!!i.importSource;let w=!!i.pragma;let P=!!i.pragmaFrag;if(r.ast.comments){for(const e of r.ast.comments){const t=c.exec(e.value);if(t){o=t[1];m=true}const s=p.exec(e.value);if(s){a=s[1]}const r=u.exec(e.value);if(r){f=r[1];w=true}const i=h.exec(e.value);if(i){y=i[1];P=true}}}d(s,"runtime",a);if(a==="classic"){if(m){throw e.buildCodeFrameError(`importSource cannot be set when runtime is classic.`)}const t=toMemberExpression(f);const r=toMemberExpression(y);d(s,"id/createElement",()=>n.types.cloneNode(t));d(s,"id/fragment",()=>n.types.cloneNode(r));d(s,"defaultPure",f===l.pragma)}else if(a==="automatic"){if(w||P){throw e.buildCodeFrameError(`pragma and pragmaFrag cannot be set when runtime is automatic.`)}const r=(t,r)=>d(s,t,createImportLazily(s,e,r,o));r("id/jsx",t?"jsxDEV":"jsx");r("id/jsxs",t?"jsxDEV":"jsxs");r("id/createElement","createElement");r("id/fragment","Fragment");d(s,"defaultPure",o===l.importSource)}else{throw e.buildCodeFrameError(`Runtime must be either "classic" or "automatic".`)}if(t){e.traverse(E,s)}}},JSXElement:{exit(e,t){let s;if(f(t,"runtime")==="classic"||shouldUseCreateElement(e)){s=buildCreateElementCall(e,t)}else{s=buildJSXElementCall(e,t)}e.replaceWith(n.types.inherits(s,e.node))}},JSXFragment:{exit(e,t){let s;if(f(t,"runtime")==="classic"){s=buildCreateElementFragmentCall(e,t)}else{s=buildJSXFragmentCall(e,t)}e.replaceWith(n.types.inherits(s,e.node))}},JSXAttribute(e){if(n.types.isJSXElement(e.node.value)){e.node.value=n.types.jsxExpressionContainer(e.node.value)}}}};function call(e,t,s){const r=n.types.callExpression(f(e,`id/${t}`)(),s);if(a!=null?a:f(e,"defaultPure"))(0,o.default)(r);return r}function shouldUseCreateElement(e){const t=e.get("openingElement");const s=t.node.attributes;let r=false;for(let e=0;e1){t=n.types.arrayExpression(e)}else{return undefined}return n.types.objectProperty(n.types.identifier("children"),t)}function buildJSXElementCall(e,s){const r=e.get("openingElement");const i=[getTag(r)];const a=[];const o=Object.create(null);for(const t of r.get("attributes")){if(t.isJSXAttribute()&&n.types.isJSXIdentifier(t.node.name)){const{name:s}=t.node.name;switch(s){case"__source":case"__self":if(o[s])throw sourceSelfError(e,s);case"key":{const e=convertAttributeValue(t.node.value);if(e===null){throw t.buildCodeFrameError('Please provide an explicit key value. Using "key" as a shorthand for "key={true}" is not allowed.')}o[s]=e;break}default:a.push(t)}}else{a.push(t)}}const l=n.types.react.buildChildren(e.node);let c;if(a.length||l.length){c=buildJSXOpeningElementAttributes(a,s,l)}else{c=n.types.objectExpression([])}i.push(c);if(t){var p,u,h;i.push((p=o.key)!=null?p:e.scope.buildUndefinedNode(),n.types.booleanLiteral(l.length>1),(u=o.__source)!=null?u:e.scope.buildUndefinedNode(),(h=o.__self)!=null?h:n.types.thisExpression())}else if(o.key!==undefined){i.push(o.key)}return call(s,l.length>1?"jsxs":"jsx",i)}function buildJSXOpeningElementAttributes(e,t,s){const r=e.reduce(accumulateAttribute,[]);if((s==null?void 0:s.length)>0){r.push(buildChildrenProperty(s))}return n.types.objectExpression(r)}function buildJSXFragmentCall(e,s){const r=[f(s,"id/fragment")()];const i=n.types.react.buildChildren(e.node);r.push(n.types.objectExpression(i.length>0?[buildChildrenProperty(i)]:[]));if(t){r.push(e.scope.buildUndefinedNode(),n.types.booleanLiteral(i.length>1))}return call(s,i.length>1?"jsxs":"jsx",r)}function buildCreateElementFragmentCall(e,t){if(m&&!m(e.node,t))return;return call(t,"createElement",[f(t,"id/fragment")(),n.types.nullLiteral(),...n.types.react.buildChildren(e.node)])}function buildCreateElementCall(e,t){const s=e.get("openingElement");return call(t,"createElement",[getTag(s),buildCreateElementOpeningElementAttributes(t,e,s.get("attributes")),...n.types.react.buildChildren(e.node)])}function getTag(e){const t=convertJSXIdentifier(e.node.name,e.node);let s;if(n.types.isIdentifier(t)){s=t.name}else if(n.types.isLiteral(t)){s=t.value}if(n.types.react.isCompatTag(s)){return n.types.stringLiteral(s)}else{return t}}function buildCreateElementOpeningElementAttributes(e,t,s){const r=f(e,"runtime");{if(r!=="automatic"){const t=[];const r=s.reduce(accumulateAttribute,[]);if(!w){let e=0;r.forEach((s,i)=>{if(n.types.isSpreadElement(s)){if(i>e){t.push(n.types.objectExpression(r.slice(e,i)))}t.push(s.argument);e=i+1}});if(r.length>e){t.push(n.types.objectExpression(r.slice(e)))}}else if(r.length){t.push(n.types.objectExpression(r))}if(!t.length){return n.types.nullLiteral()}if(t.length===1){return t[0]}if(!n.types.isObjectExpression(t[0])){t.unshift(n.types.objectExpression([]))}const i=P?n.types.memberExpression(n.types.identifier("Object"),n.types.identifier("assign")):e.addHelper("extends");return n.types.callExpression(i,t)}}const i=[];const a=Object.create(null);for(const e of s){const s=n.types.isJSXAttribute(e)&&n.types.isJSXIdentifier(e.name)&&e.name.name;if(r==="automatic"&&(s==="__source"||s==="__self")){if(a[s])throw sourceSelfError(t,s);a[s]=true}accumulateAttribute(i,e)}return i.length===1&&n.types.isSpreadElement(i[0])?i[0].argument:i.length>0?n.types.objectExpression(i):n.types.nullLiteral()}});function getSource(e,s){switch(s){case"Fragment":return`${e}/${t?"jsx-dev-runtime":"jsx-runtime"}`;case"jsxDEV":return`${e}/jsx-dev-runtime`;case"jsx":case"jsxs":return`${e}/jsx-runtime`;case"createElement":return e}}function createImportLazily(e,t,s,r){return()=>{const i=getSource(r,s);if((0,a.isModule)(t)){let r=f(e,`imports/${s}`);if(r)return n.types.cloneNode(r);r=(0,a.addNamed)(t,s,i,{importedInterop:"uncompiled",importPosition:"after"});d(e,`imports/${s}`,r);return r}else{let r=f(e,`requires/${i}`);if(r){r=n.types.cloneNode(r)}else{r=(0,a.addNamespace)(t,i,{importedInterop:"uncompiled"});d(e,`requires/${i}`,r)}return n.types.memberExpression(r,n.types.identifier(s))}}}}function toMemberExpression(e){return e.split(".").map(e=>n.types.identifier(e)).reduce((e,t)=>n.types.memberExpression(e,t))}function makeSource(e,t){const s=e.node.loc;if(!s){return e.scope.buildUndefinedNode()}if(!t.fileNameIdentifier){const{filename:s=""}=t;const r=e.scope.generateUidIdentifier("_jsxFileName");const i=e.hub.getScope();if(i){i.push({id:r,init:n.types.stringLiteral(s)})}t.fileNameIdentifier=r}return makeTrace(n.types.cloneNode(t.fileNameIdentifier),s.start.line,s.start.column)}function makeTrace(e,t,s){const r=t!=null?n.types.numericLiteral(t):n.types.nullLiteral();const i=s!=null?n.types.numericLiteral(s+1):n.types.nullLiteral();const a=n.types.objectProperty(n.types.identifier("fileName"),e);const o=n.types.objectProperty(n.types.identifier("lineNumber"),r);const l=n.types.objectProperty(n.types.identifier("columnNumber"),i);return n.types.objectExpression([a,o,l])}function sourceSelfError(e,t){const s=`transform-react-jsx-${t.slice(2)}`;return e.buildCodeFrameError(`Duplicate ${t} prop found. You are most likely using the deprecated ${s} Babel plugin. Both __source and __self are automatically set when using the automatic runtime. Please remove transform-react-jsx-source and transform-react-jsx-self from your Babel config.`)}},81179:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(60676);var i=(0,r.default)({name:"transform-react-jsx/development",development:true});t.default=i},71073:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(47907);var i=s(96659);var n=s(85850);const a=new Map([["react",["cloneElement","createContext","createElement","createFactory","createRef","forwardRef","isValidElement","memo","lazy"]],["react-dom",["createPortal"]]]);var o=(0,r.declare)(e=>{e.assertVersion(7);return{name:"transform-react-pure-annotations",visitor:{CallExpression(e){if(isReactCall(e)){(0,i.default)(e)}}}}});t.default=o;function isReactCall(e){if(!n.types.isMemberExpression(e.node.callee)){const t=e.get("callee");for(const[e,s]of a){for(const r of s){if(t.referencesImport(e,r)){return true}}}return false}for(const[t,s]of a){const r=e.get("callee.object");if(r.referencesImport(t,"default")||r.referencesImport(t,"*")){for(const t of s){if(n.types.isIdentifier(e.node.callee.property,{name:t})){return true}}return false}}return false}},47907:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},26088:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(19205);var i=s(85850);var n=(0,r.declare)(e=>{e.assertVersion(7);return{name:"transform-reserved-words",visitor:{"BindingIdentifier|ReferencedIdentifier"(e){if(!i.types.isValidES3Identifier(e.node.name)){e.scope.rename(e.node.name)}}}}});t.default=n},19205:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},27476:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(11669);var i=s(85850);var n=(0,r.declare)(e=>{e.assertVersion(7);return{name:"transform-shorthand-properties",visitor:{ObjectMethod(e){const{node:t}=e;if(t.kind==="method"){const s=i.types.functionExpression(null,t.params,t.body,t.generator,t.async);s.returnType=t.returnType;const r=i.types.toComputedKey(t);if(i.types.isStringLiteral(r,{value:"__proto__"})){e.replaceWith(i.types.objectProperty(r,s,true))}else{e.replaceWith(i.types.objectProperty(t.key,s,t.computed))}}},ObjectProperty(e){const{node:t}=e;if(t.shorthand){const s=i.types.toComputedKey(t);if(i.types.isStringLiteral(s,{value:"__proto__"})){e.replaceWith(i.types.objectProperty(s,t.value,true))}else{t.shorthand=false}}}}}});t.default=n},11669:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},48315:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(84771);var i=s(28571);var n=s(85850);var a=(0,r.declare)((e,t)=>{var s,r;e.assertVersion(7);const a=(s=e.assumption("iterableIsArray"))!=null?s:t.loose;const o=(r=t.allowArrayLike)!=null?r:e.assumption("arrayLikeIsIterable");function getSpreadLiteral(e,t){if(a&&!n.types.isIdentifier(e.argument,{name:"arguments"})){return e.argument}else{return t.toArray(e.argument,true,o)}}function hasHole(e){return e.elements.some(e=>e===null)}function hasSpread(e){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},84779:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(934);var i=s(85850);var n=(0,r.declare)(e=>{e.assertVersion(7);return{name:"transform-sticky-regex",visitor:{RegExpLiteral(e){const{node:t}=e;if(!t.flags.includes("y"))return;e.replaceWith(i.types.newExpression(i.types.identifier("RegExp"),[i.types.stringLiteral(t.pattern),i.types.stringLiteral(t.flags)]))}}}});t.default=n},934:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},84611:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(14911);var i=s(85850);var n=(0,r.declare)((e,t)=>{var s,r;e.assertVersion(7);const n=(s=e.assumption("ignoreToPrimitiveHint"))!=null?s:t.loose;const a=(r=e.assumption("mutableTemplateObject"))!=null?r:t.loose;let o="taggedTemplateLiteral";if(a)o+="Loose";function buildConcatCallExpressions(e){let t=true;return e.reduce(function(e,s){let r=i.types.isLiteral(s);if(!r&&t){r=true;t=false}if(r&&i.types.isCallExpression(e)){e.arguments.push(s);return e}return i.types.callExpression(i.types.memberExpression(e,i.types.identifier("concat")),[s])})}return{name:"transform-template-literals",visitor:{TaggedTemplateExpression(e){const{node:t}=e;const{quasi:s}=t;const r=[];const n=[];let a=true;for(const t of s.quasis){const{raw:s,cooked:o}=t.value;const l=o==null?e.scope.buildUndefinedNode():i.types.stringLiteral(o);r.push(l);n.push(i.types.stringLiteral(s));if(s!==o){a=false}}const l=[i.types.arrayExpression(r)];if(!a){l.push(i.types.arrayExpression(n))}const c=e.scope.generateUidIdentifier("templateObject");e.scope.getProgramParent().push({id:i.types.cloneNode(c)});e.replaceWith(i.types.callExpression(t.tag,[i.template.expression.ast` + ${i.types.cloneNode(c)} || ( + ${c} = ${this.addHelper(o)}(${l}) ) - `,...r.expressions]))},TemplateLiteral(e){const t=[];const r=e.get("expressions");let n=0;for(const i of e.node.quasis){if(i.value.cooked){t.push(s.types.stringLiteral(i.value.cooked))}if(n1){a=buildConcatCallExpressions(t)}e.replaceWith(a)}}}});t.default=i},14911:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},446:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(2982);var s=r(85850);var i=(0,n.declare)(e=>{e.assertVersion(7);return{name:"transform-typeof-symbol",visitor:{Scope({scope:e}){if(!e.getBinding("Symbol")){return}e.rename("Symbol")},UnaryExpression(e){const{node:t,parent:r}=e;if(t.operator!=="typeof")return;if(e.parentPath.isBinaryExpression()&&s.types.EQUALITY_BINARY_OPERATORS.indexOf(r.operator)>=0){const t=e.getOpposite();if(t.isLiteral()&&t.node.value!=="symbol"&&t.node.value!=="object"){return}}let n=e.findParent(e=>{if(e.isFunction()){var t;return((t=e.get("body.directives.0"))==null?void 0:t.node.value.value)==="@babel/helpers - typeof"}});if(n)return;const i=this.addHelper("typeof");n=e.findParent(e=>{return e.isVariableDeclarator()&&e.node.id===i||e.isFunctionDeclaration()&&e.node.id&&e.node.id.name===i.name});if(n){return}const a=s.types.callExpression(i,[t.argument]);const o=e.get("argument");if(o.isIdentifier()&&!e.scope.hasBinding(o.node.name,true)){const r=s.types.unaryExpression("typeof",s.types.cloneNode(t.argument));e.replaceWith(s.types.conditionalExpression(s.types.binaryExpression("===",r,s.types.stringLiteral("undefined")),s.types.stringLiteral("undefined"),a))}else{e.replaceWith(a)}}}}});t.default=i},2982:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},31507:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(46947);var s=r(85850);var i=(0,n.declare)(e=>{e.assertVersion(7);const t=/[\ud800-\udfff]/g;const r=/(\\+)u\{([0-9a-fA-F]+)\}/g;function escape(e){let t=e.toString(16);while(t.length<4)t="0"+t;return"\\u"+t}function replacer(e,t,r){if(t.length%2===0){return e}const n=String.fromCodePoint(parseInt(r,16));const s=t.slice(0,-1)+escape(n.charCodeAt(0));return n.length===1?s:s+escape(n.charCodeAt(1))}function replaceUnicodeEscapes(e){return e.replace(r,replacer)}function getUnicodeEscape(e){let t;while(t=r.exec(e)){if(t[1].length%2===0)continue;r.lastIndex=0;return t[0]}return null}return{name:"transform-unicode-escapes",manipulateOptions({generatorOpts:e}){var t,r;if(!e.jsescOption){e.jsescOption={}}(r=(t=e.jsescOption).minimal)!=null?r:t.minimal=false},visitor:{Identifier(e){const{node:r,key:n}=e;const{name:i}=r;const a=i.replace(t,e=>{return`_u${e.charCodeAt(0).toString(16)}`});if(i===a)return;const o=s.types.inherits(s.types.stringLiteral(i),r);if(n==="key"){e.replaceWith(o);return}const{parentPath:l,scope:u}=e;if(l.isMemberExpression({property:r})||l.isOptionalMemberExpression({property:r})){l.node.computed=true;e.replaceWith(o);return}const p=u.getBinding(i);if(p){u.rename(i,u.generateUid(a));return}throw e.buildCodeFrameError(`Can't reference '${i}' as a bare identifier`)},"StringLiteral|DirectiveLiteral"(e){const{node:t}=e;const{extra:r}=t;if(r!=null&&r.raw)r.raw=replaceUnicodeEscapes(r.raw)},TemplateElement(e){const{node:t,parentPath:r}=e;const{value:n}=t;const s=getUnicodeEscape(n.raw);if(!s)return;const i=r.parentPath;if(i.isTaggedTemplateExpression()){throw e.buildCodeFrameError(`Can't replace Unicode escape '${s}' inside tagged template literals. You can enable '@babel/plugin-transform-template-literals' to compile them to classic strings.`)}n.raw=replaceUnicodeEscapes(n.raw)}}}});t.default=i},46947:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},91990:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(36610);var s=r(65220);var i=(0,s.declare)(e=>{e.assertVersion(7);return(0,n.createRegExpFeaturePlugin)({name:"transform-unicode-regex",feature:"unicodeFlag"})});t.default=i},65220:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},1594:(e,t)=>{"use strict";t.__esModule=true;t.default=void 0;const r={allowInsertArrow:false,specCompliant:false};var n=({types:e})=>({name:"transform-async-arrows-in-class",visitor:{ArrowFunctionExpression(t){if(t.node.async&&t.findParent(e.isClassMethod)){t.arrowFunctionToExpression(r)}}}});t.default=n;e.exports=t.default},45585:(e,t)=>{"use strict";t.__esModule=true;t.default=void 0;var r=({types:e})=>{const t=t=>t.parentKey==="params"&&t.parentPath&&e.isArrowFunctionExpression(t.parentPath);return{name:"transform-edge-default-parameters",visitor:{AssignmentPattern(e){const r=e.find(t);if(r&&e.parent.shorthand){e.parent.shorthand=false;(e.parent.extra||{}).shorthand=false;e.scope.rename(e.parent.key.name)}}}}};t.default=r;e.exports=t.default},1056:(e,t)=>{"use strict";t.__esModule=true;t.default=void 0;var r=({types:e})=>({name:"transform-edge-function-name",visitor:{FunctionExpression:{exit(t){if(!t.node.id&&e.isIdentifier(t.parent.id)){const r=e.cloneNode(t.parent.id);const n=t.scope.getBinding(r.name);if(n==null?void 0:n.constantViolations.length){t.scope.rename(r.name)}t.node.id=r}}}}});t.default=r;e.exports=t.default},86808:(e,t)=>{"use strict";t.__esModule=true;t.default=_default;function _default({types:e}){return{name:"transform-safari-block-shadowing",visitor:{VariableDeclarator(t){const r=t.parent.kind;if(r!=="let"&&r!=="const")return;const n=t.scope.block;if(e.isFunction(n)||e.isProgram(n))return;const s=e.getOuterBindingIdentifiers(t.node.id);for(const r of Object.keys(s)){let n=t.scope;if(!n.hasOwnBinding(r))continue;while(n=n.parent){if(n.hasOwnBinding(r)){t.scope.rename(r);break}if(e.isFunction(n.block)||e.isProgram(n.block)){break}}}}}}}e.exports=t.default},96126:(e,t)=>{"use strict";t.__esModule=true;t.default=void 0;function handle(e){if(!e.isVariableDeclaration())return;const t=e.getFunctionParent();const{name:r}=e.node.declarations[0].id;if(t&&t.scope.hasOwnBinding(r)&&t.scope.getOwnBinding(r).kind==="param"){e.scope.rename(r)}}var r=()=>({name:"transform-safari-for-shadowing",visitor:{ForXStatement(e){handle(e.get("left"))},ForStatement(e){handle(e.get("init"))}}});t.default=r;e.exports=t.default},64038:(e,t)=>{"use strict";t.__esModule=true;t.default=void 0;var r=({types:e})=>({name:"transform-tagged-template-caching",visitor:{TaggedTemplateExpression(t,r){let n=r.get("processed");if(!n){n=new Map;r.set("processed",n)}if(n.has(t.node))return t.skip();const s=t.node.quasi.expressions;let i=r.get("identity");if(!i){i=t.scope.getProgramParent().generateDeclaredUidIdentifier("_");r.set("identity",i);const n=t.scope.getBinding(i.name);n.path.get("init").replaceWith(e.arrowFunctionExpression([e.identifier("t")],e.identifier("t")))}const a=e.taggedTemplateExpression(i,e.templateLiteral(t.node.quasi.quasis,s.map(()=>e.numericLiteral(0))));n.set(a,true);const o=t.scope.getProgramParent().generateDeclaredUidIdentifier("t");t.scope.getBinding(o.name).path.parent.kind="let";const l=e.logicalExpression("||",o,e.assignmentExpression("=",o,a));const u=e.callExpression(t.node.tag,[l,...s]);t.replaceWith(u)}}});t.default=r;e.exports=t.default},9064:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(99858);var s=r(4836);var i=r(14155);var a=r(59654);var o=r(71073);var l=r(69562);function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var u=_interopDefaultLegacy(s);var p=_interopDefaultLegacy(i);var f=_interopDefaultLegacy(a);var c=_interopDefaultLegacy(o);new l.OptionValidator("@babel/preset-react");function normalizeOptions(e={}){{let{pragma:t,pragmaFrag:r}=e;const{pure:n,throwIfNamespace:s=true,runtime:i="classic",importSource:a,useBuiltIns:o,useSpread:l}=e;if(i==="classic"){t=t||"React.createElement";r=r||"React.Fragment"}const u=!!e.development;return{development:u,importSource:a,pragma:t,pragmaFrag:r,pure:n,runtime:i,throwIfNamespace:s,useBuiltIns:o,useSpread:l}}}var d=n.declare((e,t)=>{e.assertVersion(7);const{development:r,importSource:n,pragma:s,pragmaFrag:i,pure:a,runtime:o,throwIfNamespace:l}=normalizeOptions(t);return{plugins:[[r?p["default"]:u["default"],{importSource:n,pragma:s,pragmaFrag:i,runtime:o,throwIfNamespace:l,pure:a,useBuiltIns:!!t.useBuiltIns,useSpread:t.useSpread}],f["default"],a!==false&&c["default"]].filter(Boolean)}});t.default=d},75281:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var s=r(55837);class ImportBuilder{constructor(e,t,r){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=r;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(s.importDeclaration([],s.stringLiteral(this._importedSource)));return this}require(){this._statements.push(s.expressionStatement(s.callExpression(s.identifier("require"),[s.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[s.importNamespaceSpecifier(t)];this._resultName=s.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];n(t.type==="ImportDeclaration");n(t.specifiers.length===0);t.specifiers=[s.importDefaultSpecifier(e)];this._resultName=s.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[s.importSpecifier(e,s.identifier(t))];this._resultName=s.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){n(this._resultName);t=s.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=s.variableDeclaration("var",[s.variableDeclarator(e,t.expression)]);this._resultName=s.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=s.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=s.callExpression(e,[t.declarations[0].init])}else{n.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=s.memberExpression(t.expression,s.identifier(e))}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=s.memberExpression(t.declarations[0].init,s.identifier(e))}else{n.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=s.memberExpression(this._resultName,s.identifier(e))}}t.default=ImportBuilder},98801:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var s=r(55837);var i=r(75281);var a=r(87633);class ImportInjector{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const n=e.find(e=>e.isProgram());this._programPath=n;this._programScope=n.scope;this._hub=n.hub;this._defaultOpts=this._applyDefaults(t,r,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){n(typeof e==="string");return this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,r=false){const s=[];if(typeof e==="string"){s.push({importedSource:e});s.push(t)}else{n(!t,"Unexpected secondary arguments.");s.push(e)}const i=Object.assign({},this._defaultOpts);for(const e of s){if(!e)continue;Object.keys(i).forEach(t=>{if(e[t]!==undefined)i[t]=e[t]});if(!r){if(e.nameHint!==undefined)i.nameHint=e.nameHint;if(e.blockHoist!==undefined)i.blockHoist=e.blockHoist}}return i}_generateImport(e,t){const r=t==="default";const n=!!t&&!r;const o=t===null;const{importedSource:l,importedType:u,importedInterop:p,importingInterop:f,ensureLiveReference:c,ensureNoContext:d,nameHint:y,importPosition:m,blockHoist:T}=e;let h=y||t;const S=(0,a.default)(this._programPath);const b=S&&f==="node";const E=S&&f==="babel";if(m==="after"&&!S){throw new Error(`"importPosition": "after" is only supported in modules`)}const g=new i.default(l,this._programScope,this._hub);if(u==="es6"){if(!b&&!E){throw new Error("Cannot import an ES6 module from CommonJS")}g.import();if(o){g.namespace(y||l)}else if(r||n){g.named(h,t)}}else if(u!=="commonjs"){throw new Error(`Unexpected interopType "${u}"`)}else if(p==="babel"){if(b){h=h!=="default"?h:l;const e=`${l}$es6Default`;g.import();if(o){g.default(e).var(h||l).wildcardInterop()}else if(r){if(c){g.default(e).var(h||l).defaultInterop().read("default")}else{g.default(e).var(h).defaultInterop().prop(t)}}else if(n){g.default(e).read(t)}}else if(E){g.import();if(o){g.namespace(h||l)}else if(r||n){g.named(h,t)}}else{g.require();if(o){g.var(h||l).wildcardInterop()}else if((r||n)&&c){if(r){h=h!=="default"?h:l;g.var(h).read(t);g.defaultInterop()}else{g.var(l).read(t)}}else if(r){g.var(h).defaultInterop().prop(t)}else if(n){g.var(h).prop(t)}}}else if(p==="compiled"){if(b){g.import();if(o){g.default(h||l)}else if(r||n){g.default(l).read(h)}}else if(E){g.import();if(o){g.namespace(h||l)}else if(r||n){g.named(h,t)}}else{g.require();if(o){g.var(h||l)}else if(r||n){if(c){g.var(l).read(h)}else{g.prop(t).var(h)}}}}else if(p==="uncompiled"){if(r&&c){throw new Error("No live reference for commonjs default")}if(b){g.import();if(o){g.default(h||l)}else if(r){g.default(h)}else if(n){g.default(l).read(h)}}else if(E){g.import();if(o){g.default(h||l)}else if(r){g.default(h)}else if(n){g.named(h,t)}}else{g.require();if(o){g.var(h||l)}else if(r){g.var(h)}else if(n){if(c){g.var(l).read(h)}else{g.var(h).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:P,resultName:x}=g.done();this._insertStatements(P,m,T);if((r||n)&&d&&x.type!=="Identifier"){return s.sequenceExpression([s.numericLiteral(0),x])}return x}_insertStatements(e,t="before",r=3){const n=this._programPath.get("body");if(t==="after"){for(let t=n.length-1;t>=0;t--){if(n[t].isImportDeclaration()){n[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=r});const t=n.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},71669:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return s.default}});var n=r(98801);var s=r(87633);function addDefault(e,t,r){return new n.default(e).addDefault(t,r)}function addNamed(e,t,r,s){return new n.default(e).addNamed(t,r,s)}function addNamespace(e,t,r){return new n.default(e).addNamespace(t,r)}function addSideEffect(e,t,r){return new n.default(e).addSideEffect(t,r)}},87633:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},99858:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},45208:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(45208);var s=r(10736)},10736:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},63033:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(99858);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-jsx",manipulateOptions(e,t){if(t.plugins.some(e=>(Array.isArray(e)?e[0]:e)==="typescript")){return}t.plugins.push("jsx")}}});t.default=s},82755:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createPlugin;var n=r(63033);var s=r(99858);var i=r(85850);var a=r(71669);var o=r(96659);const l={importSource:"react",runtime:"automatic",pragma:"React.createElement",pragmaFrag:"React.Fragment"};const u=/\*?\s*@jsxImportSource\s+([^\s]+)/;const p=/\*?\s*@jsxRuntime\s+([^\s]+)/;const f=/\*?\s*@jsx\s+([^\s]+)/;const c=/\*?\s*@jsxFrag\s+([^\s]+)/;const d=(e,t)=>e.get(`@babel/plugin-react-jsx/${t}`);const y=(e,t,r)=>e.set(`@babel/plugin-react-jsx/${t}`,r);function createPlugin({name:e,development:t}){return(0,s.declare)((r,s)=>{const{pure:a,throwIfNamespace:m=true,filter:T,runtime:h=(t?"automatic":"classic"),importSource:S=l.importSource,pragma:b=l.pragma,pragmaFrag:E=l.pragmaFrag}=s;{var{useSpread:g=false,useBuiltIns:P=false}=s;if(h==="classic"){if(typeof g!=="boolean"){throw new Error("transform-react-jsx currently only accepts a boolean option for "+"useSpread (defaults to false)")}if(typeof P!=="boolean"){throw new Error("transform-react-jsx currently only accepts a boolean option for "+"useBuiltIns (defaults to false)")}if(g&&P){throw new Error("transform-react-jsx currently only accepts useBuiltIns or useSpread "+"but not both")}}}const x={JSXOpeningElement(e,t){for(const t of e.get("attributes")){if(!t.isJSXElement())continue;const{name:r}=t.node.name;if(r==="__source"||r==="__self"){throw e.buildCodeFrameError(`__source and __self should not be defined in props and are reserved for internal usage.`)}}const r=i.types.jsxAttribute(i.types.jsxIdentifier("__self"),i.types.jsxExpressionContainer(i.types.thisExpression()));const n=i.types.jsxAttribute(i.types.jsxIdentifier("__source"),i.types.jsxExpressionContainer(makeSource(e,t)));e.pushContainer("attributes",[r,n])}};return{name:e,inherits:n.default,visitor:{JSXNamespacedName(e){if(m){throw e.buildCodeFrameError(`Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can set \`throwIfNamespace: false\` to bypass this warning.`)}},JSXSpreadChild(e){throw e.buildCodeFrameError("Spread children are not supported in React.")},Program:{enter(e,r){const{file:n}=r;let a=h;let o=S;let d=b;let m=E;let T=!!s.importSource;let g=!!s.pragma;let P=!!s.pragmaFrag;if(n.ast.comments){for(const e of n.ast.comments){const t=u.exec(e.value);if(t){o=t[1];T=true}const r=p.exec(e.value);if(r){a=r[1]}const n=f.exec(e.value);if(n){d=n[1];g=true}const s=c.exec(e.value);if(s){m=s[1];P=true}}}y(r,"runtime",a);if(a==="classic"){if(T){throw e.buildCodeFrameError(`importSource cannot be set when runtime is classic.`)}const t=toMemberExpression(d);const n=toMemberExpression(m);y(r,"id/createElement",()=>i.types.cloneNode(t));y(r,"id/fragment",()=>i.types.cloneNode(n));y(r,"defaultPure",d===l.pragma)}else if(a==="automatic"){if(g||P){throw e.buildCodeFrameError(`pragma and pragmaFrag cannot be set when runtime is automatic.`)}const n=(t,n)=>y(r,t,createImportLazily(r,e,n,o));n("id/jsx",t?"jsxDEV":"jsx");n("id/jsxs",t?"jsxDEV":"jsxs");n("id/createElement","createElement");n("id/fragment","Fragment");y(r,"defaultPure",o===l.importSource)}else{throw e.buildCodeFrameError(`Runtime must be either "classic" or "automatic".`)}if(t){e.traverse(x,r)}}},JSXElement:{exit(e,t){let r;if(d(t,"runtime")==="classic"||shouldUseCreateElement(e)){r=buildCreateElementCall(e,t)}else{r=buildJSXElementCall(e,t)}e.replaceWith(i.types.inherits(r,e.node))}},JSXFragment:{exit(e,t){let r;if(d(t,"runtime")==="classic"){r=buildCreateElementFragmentCall(e,t)}else{r=buildJSXFragmentCall(e,t)}e.replaceWith(i.types.inherits(r,e.node))}},JSXAttribute(e){if(i.types.isJSXElement(e.node.value)){e.node.value=i.types.jsxExpressionContainer(e.node.value)}}}};function call(e,t,r){const n=i.types.callExpression(d(e,`id/${t}`)(),r);if(a!=null?a:d(e,"defaultPure"))(0,o.default)(n);return n}function shouldUseCreateElement(e){const t=e.get("openingElement");const r=t.node.attributes;let n=false;for(let e=0;e1){t=i.types.arrayExpression(e)}else{return undefined}return i.types.objectProperty(i.types.identifier("children"),t)}function buildJSXElementCall(e,r){const n=e.get("openingElement");const s=[getTag(n)];const a=[];const o=Object.create(null);for(const t of n.get("attributes")){if(t.isJSXAttribute()&&i.types.isJSXIdentifier(t.node.name)){const{name:r}=t.node.name;switch(r){case"__source":case"__self":if(o[r])throw sourceSelfError(e,r);case"key":{const e=convertAttributeValue(t.node.value);if(e===null){throw t.buildCodeFrameError('Please provide an explicit key value. Using "key" as a shorthand for "key={true}" is not allowed.')}o[r]=e;break}default:a.push(t)}}else{a.push(t)}}const l=i.types.react.buildChildren(e.node);let u;if(a.length||l.length){u=buildJSXOpeningElementAttributes(a,r,l)}else{u=i.types.objectExpression([])}s.push(u);if(t){var p,f,c;s.push((p=o.key)!=null?p:e.scope.buildUndefinedNode(),i.types.booleanLiteral(l.length>1),(f=o.__source)!=null?f:e.scope.buildUndefinedNode(),(c=o.__self)!=null?c:i.types.thisExpression())}else if(o.key!==undefined){s.push(o.key)}return call(r,l.length>1?"jsxs":"jsx",s)}function buildJSXOpeningElementAttributes(e,t,r){const n=e.reduce(accumulateAttribute,[]);if((r==null?void 0:r.length)>0){n.push(buildChildrenProperty(r))}return i.types.objectExpression(n)}function buildJSXFragmentCall(e,r){const n=[d(r,"id/fragment")()];const s=i.types.react.buildChildren(e.node);n.push(i.types.objectExpression(s.length>0?[buildChildrenProperty(s)]:[]));if(t){n.push(e.scope.buildUndefinedNode(),i.types.booleanLiteral(s.length>1))}return call(r,s.length>1?"jsxs":"jsx",n)}function buildCreateElementFragmentCall(e,t){if(T&&!T(e.node,t))return;return call(t,"createElement",[d(t,"id/fragment")(),i.types.nullLiteral(),...i.types.react.buildChildren(e.node)])}function buildCreateElementCall(e,t){const r=e.get("openingElement");return call(t,"createElement",[getTag(r),buildCreateElementOpeningElementAttributes(t,e,r.get("attributes")),...i.types.react.buildChildren(e.node)])}function getTag(e){const t=convertJSXIdentifier(e.node.name,e.node);let r;if(i.types.isIdentifier(t)){r=t.name}else if(i.types.isLiteral(t)){r=t.value}if(i.types.react.isCompatTag(r)){return i.types.stringLiteral(r)}else{return t}}function buildCreateElementOpeningElementAttributes(e,t,r){const n=d(e,"runtime");{if(n!=="automatic"){const t=[];const n=r.reduce(accumulateAttribute,[]);if(!g){let e=0;n.forEach((r,s)=>{if(i.types.isSpreadElement(r)){if(s>e){t.push(i.types.objectExpression(n.slice(e,s)))}t.push(r.argument);e=s+1}});if(n.length>e){t.push(i.types.objectExpression(n.slice(e)))}}else if(n.length){t.push(i.types.objectExpression(n))}if(!t.length){return i.types.nullLiteral()}if(t.length===1){return t[0]}if(!i.types.isObjectExpression(t[0])){t.unshift(i.types.objectExpression([]))}const s=P?i.types.memberExpression(i.types.identifier("Object"),i.types.identifier("assign")):e.addHelper("extends");return i.types.callExpression(s,t)}}const s=[];const a=Object.create(null);for(const e of r){const r=i.types.isJSXAttribute(e)&&i.types.isJSXIdentifier(e.name)&&e.name.name;if(n==="automatic"&&(r==="__source"||r==="__self")){if(a[r])throw sourceSelfError(t,r);a[r]=true}accumulateAttribute(s,e)}return s.length===1&&i.types.isSpreadElement(s[0])?s[0].argument:s.length>0?i.types.objectExpression(s):i.types.nullLiteral()}});function getSource(e,r){switch(r){case"Fragment":return`${e}/${t?"jsx-dev-runtime":"jsx-runtime"}`;case"jsxDEV":return`${e}/jsx-dev-runtime`;case"jsx":case"jsxs":return`${e}/jsx-runtime`;case"createElement":return e}}function createImportLazily(e,t,r,n){return()=>{const s=getSource(n,r);if((0,a.isModule)(t)){let n=d(e,`imports/${r}`);if(n)return i.types.cloneNode(n);n=(0,a.addNamed)(t,r,s,{importedInterop:"uncompiled",importPosition:"after"});y(e,`imports/${r}`,n);return n}else{let n=d(e,`requires/${s}`);if(n){n=i.types.cloneNode(n)}else{n=(0,a.addNamespace)(t,s,{importedInterop:"uncompiled"});y(e,`requires/${s}`,n)}return i.types.memberExpression(n,i.types.identifier(r))}}}}function toMemberExpression(e){return e.split(".").map(e=>i.types.identifier(e)).reduce((e,t)=>i.types.memberExpression(e,t))}function makeSource(e,t){const r=e.node.loc;if(!r){return e.scope.buildUndefinedNode()}if(!t.fileNameIdentifier){const{filename:r=""}=t;const n=e.scope.generateUidIdentifier("_jsxFileName");const s=e.hub.getScope();if(s){s.push({id:n,init:i.types.stringLiteral(r)})}t.fileNameIdentifier=n}return makeTrace(i.types.cloneNode(t.fileNameIdentifier),r.start.line,r.start.column)}function makeTrace(e,t,r){const n=t!=null?i.types.numericLiteral(t):i.types.nullLiteral();const s=r!=null?i.types.numericLiteral(r+1):i.types.nullLiteral();const a=i.types.objectProperty(i.types.identifier("fileName"),e);const o=i.types.objectProperty(i.types.identifier("lineNumber"),n);const l=i.types.objectProperty(i.types.identifier("columnNumber"),s);return i.types.objectExpression([a,o,l])}function sourceSelfError(e,t){const r=`transform-react-jsx-${t.slice(2)}`;return e.buildCodeFrameError(`Duplicate ${t} prop found. You are most likely using the deprecated ${r} Babel plugin. Both __source and __self are automatically set when using the automatic runtime. Please remove transform-react-jsx-source and transform-react-jsx-self from your Babel config.`)}},4836:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(82755);var s=(0,n.default)({name:"transform-react-jsx",development:false});t.default=s},39144:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(74573);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},17920:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(14857);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},53384:()=>{},85765:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(54240);var s=r(92578);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(26548);var s=r(14120);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},34520:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(26548);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},26548:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(85765);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},36433:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(26548)},87450:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(7215);var s=r(85987);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(26548);var s=r(2559);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},7975:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(5375);function clone(e){return(0,n.default)(e,false)}},31048:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(5375);function cloneDeep(e){return(0,n.default)(e)}},95930:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(5375);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},5375:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(54240);var s=r(7215);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},10319:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(5375);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},39597:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(68793);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},68793:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},86:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(43610);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},54320:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(43610);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},79857:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(43610);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},49093:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(79857);var s=r(54320);var i=r(86);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},91450:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(58389);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},18283:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(54240);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},58389:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},73125:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(42727);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},78776:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(67500);var s=r(7215);var i=r(26548);var a=r(5375);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},54990:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(58130);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},42727:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(7215);var s=r(26548);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},45344:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(7215);var s=r(26548);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},77542:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(7215);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},58130:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(30021);var s=r(14394);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},60378:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(7215);var s=r(5375);var i=r(74639);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},10966:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(78776);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},48278:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(7215);var s=r(26548);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},32751:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(30021);var s=r(26548);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},69328:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(14857);var s=r(30021);var i=r(14394);var a=r(58389);var o=r(60312);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},96271:(e,t,r)=>{"use strict";var n=r(60312);var s=r(69328);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},69866:(e,t,r)=>{"use strict";var n=r(60312);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},54240:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(69328);r(69866);r(57557);r(37661);r(96271);r(51585);var s=r(60312);var i=r(2340);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},57557:(e,t,r)=>{"use strict";var n=r(60312);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},37661:(e,t,r)=>{"use strict";var n=r(60312);var s=r(2340);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},2340:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(60312);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},51585:(e,t,r)=>{"use strict";var n=r(60312);var s=r(69328);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},60312:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(14857);var s=r(92578);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},55837:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(88453);var i=r(58289);var a=r(87450);var o=r(39144);var l=r(17920);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(34520);var p=r(82837);var f=r(79633);var c=r(26548);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(36433);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(5375);var m=r(7975);var T=r(31048);var h=r(95930);var S=r(10319);var b=r(39597);var E=r(68793);var g=r(86);var P=r(54320);var x=r(49093);var v=r(79857);var A=r(91450);var O=r(18283);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(58389);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(73125);var w=r(54990);var j=r(42727);var N=r(45344);var C=r(77542);var L=r(58130);var _=r(60378);var M=r(10966);var F=r(48278);var B=r(32751);var k=r(54240);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(81638);var K=r(62476);var V=r(15694);var X=r(15951);var Y=r(74639);var J=r(14120);var U=r(67500);var W=r(15778);var q=r(58481);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(22756);var G=r(54300);var $=r(14857);var H=r(40182);var Q=r(38578);var Z=r(35606);var ee=r(8023);var te=r(74573);var re=r(79991);var ne=r(7498);var se=r(93218);var ie=r(18296);var ae=r(22637);var oe=r(89132);var le=r(14611);var ue=r(30021);var pe=r(46622);var fe=r(31318);var ce=r(92578);var de=r(31190);var ye=r(7215);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(53384);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},81638:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(26548);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},14120:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(7215);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},62476:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(58389);var s=r(49093);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},15694:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(26548);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},15951:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(58389);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},74639:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(22756);var s=r(15951);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},2559:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(7215);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},67500:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(7215);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(67500);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},58481:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(54240);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(54240);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},43610:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},85987:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(26548);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},31190:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(31318);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},7215:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(54300);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},14857:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(54300);var s=r(89132);var i=r(7498);var a=r(54240);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},40182:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(67500);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},38578:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(7215);var s=r(8023);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},35606:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(89132);var s=r(7215);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},8023:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(7215);var s=r(58389);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},74573:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(54240);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},79991:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(54240);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(54240);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},93218:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},18296:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(7215);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},22637:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(7215);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},89132:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(54240);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},14611:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(30021);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},30021:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(14394);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},46622:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(7215);var s=r(58389);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},31318:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(7215);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},88453:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(31190);const s=(0,n.default)("React.Component");var i=s;t.default=i},92578:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(54240);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},44388:e=>{function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e.exports=_interopRequireDefault},51675:(e,t,r)=>{var n=r(57246);function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function _getRequireWildcardCache(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||n(e)!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(Object.prototype.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;if(a&&(a.get||a.set)){Object.defineProperty(r,i,a)}else{r[i]=e[i]}}}r["default"]=e;if(t){t.set(e,r)}return r}e.exports=_interopRequireWildcard},57246:e=>{function _typeof(t){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){e.exports=_typeof=function _typeof(e){return typeof e}}else{e.exports=_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(t)}e.exports=_typeof},22663:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTemplateBuilder;var n=r(5447);var s=r(26522);var i=r(80694);const a=(0,n.validate)({placeholderPattern:false});function createTemplateBuilder(e,t){const r=new WeakMap;const o=new WeakMap;const l=t||(0,n.validate)(null);return Object.assign((t,...a)=>{if(typeof t==="string"){if(a.length>1)throw new Error("Unexpected extra params.");return extendedTrace((0,s.default)(e,t,(0,n.merge)(l,(0,n.validate)(a[0]))))}else if(Array.isArray(t)){let n=r.get(t);if(!n){n=(0,i.default)(e,t,l);r.set(t,n)}return extendedTrace(n(a))}else if(typeof t==="object"&&t){if(a.length>0)throw new Error("Unexpected extra params.");return createTemplateBuilder(e,(0,n.merge)(l,(0,n.validate)(t)))}throw new Error(`Unexpected template param ${typeof t}`)},{ast:(t,...r)=>{if(typeof t==="string"){if(r.length>1)throw new Error("Unexpected extra params.");return(0,s.default)(e,t,(0,n.merge)((0,n.merge)(l,(0,n.validate)(r[0])),a))()}else if(Array.isArray(t)){let s=o.get(t);if(!s){s=(0,i.default)(e,t,(0,n.merge)(l,a));o.set(t,s)}return s(r)()}throw new Error(`Unexpected template param ${typeof t}`)}})}function extendedTrace(e){let t="";try{throw new Error}catch(e){if(e.stack){t=e.stack.split("\n").slice(3).join("\n")}}return r=>{try{return e(r)}catch(e){e.stack+=`\n =============\n${t}`;throw e}}}},31272:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.program=t.expression=t.statement=t.statements=t.smart=void 0;var n=r(30632);function makeStatementFormatter(e){return{code:e=>`/* @babel/template */;\n${e}`,validate:()=>{},unwrap:t=>{return e(t.program.body.slice(1))}}}const s=makeStatementFormatter(e=>{if(e.length>1){return e}else{return e[0]}});t.smart=s;const i=makeStatementFormatter(e=>e);t.statements=i;const a=makeStatementFormatter(e=>{if(e.length===0){throw new Error("Found nothing to return.")}if(e.length>1){throw new Error("Found multiple statements but wanted one")}return e[0]});t.statement=a;const o={code:e=>`(\n${e}\n)`,validate:e=>{if(e.program.body.length>1){throw new Error("Found multiple statements but wanted one")}if(o.unwrap(e).start===0){throw new Error("Parse result included parens.")}},unwrap:({program:e})=>{const[t]=e.body;n.assertExpressionStatement(t);return t.expression}};t.expression=o;const l={code:e=>e,validate:()=>{},unwrap:e=>e.program};t.program=l},36900:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.program=t.expression=t.statements=t.statement=t.smart=void 0;var n=r(31272);var s=r(22663);const i=(0,s.default)(n.smart);t.smart=i;const a=(0,s.default)(n.statement);t.statement=a;const o=(0,s.default)(n.statements);t.statements=o;const l=(0,s.default)(n.expression);t.expression=l;const u=(0,s.default)(n.program);t.program=u;var p=Object.assign(i.bind(undefined),{smart:i,statement:a,statements:o,expression:l,program:u,ast:i.ast});t.default=p},80694:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=literalTemplate;var n=r(5447);var s=r(68278);var i=r(1143);function literalTemplate(e,t,r){const{metadata:s,names:a}=buildLiteralData(e,t,r);return t=>{const r={};t.forEach((e,t)=>{r[a[t]]=e});return t=>{const a=(0,n.normalizeReplacements)(t);if(a){Object.keys(a).forEach(e=>{if(Object.prototype.hasOwnProperty.call(r,e)){throw new Error("Unexpected replacement overlap.")}})}return e.unwrap((0,i.default)(s,a?Object.assign(a,r):r))}}}function buildLiteralData(e,t,r){let n;let i;let a;let o="";do{o+="$";const l=buildTemplateCode(t,o);n=l.names;i=new Set(n);a=(0,s.default)(e,e.code(l.code),{parser:r.parser,placeholderWhitelist:new Set(l.names.concat(r.placeholderWhitelist?Array.from(r.placeholderWhitelist):[])),placeholderPattern:r.placeholderPattern,preserveComments:r.preserveComments,syntacticPlaceholders:r.syntacticPlaceholders})}while(a.placeholders.some(e=>e.isDuplicate&&i.has(e.name)));return{metadata:a,names:n}}function buildTemplateCode(e,t){const r=[];let n=e[0];for(let s=1;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.merge=merge;t.validate=validate;t.normalizeReplacements=normalizeReplacements;function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var s,i;for(i=0;i=0)continue;r[s]=e[s]}return r}function merge(e,t){const{placeholderWhitelist:r=e.placeholderWhitelist,placeholderPattern:n=e.placeholderPattern,preserveComments:s=e.preserveComments,syntacticPlaceholders:i=e.syntacticPlaceholders}=t;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:r,placeholderPattern:n,preserveComments:s,syntacticPlaceholders:i}}function validate(e){if(e!=null&&typeof e!=="object"){throw new Error("Unknown template options.")}const t=e||{},{placeholderWhitelist:r,placeholderPattern:n,preserveComments:s,syntacticPlaceholders:i}=t,a=_objectWithoutPropertiesLoose(t,["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]);if(r!=null&&!(r instanceof Set)){throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined")}if(n!=null&&!(n instanceof RegExp)&&n!==false){throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined")}if(s!=null&&typeof s!=="boolean"){throw new Error("'.preserveComments' must be a boolean, null, or undefined")}if(i!=null&&typeof i!=="boolean"){throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined")}if(i===true&&(r!=null||n!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}return{parser:a,placeholderWhitelist:r||undefined,placeholderPattern:n==null?undefined:n,preserveComments:s==null?undefined:s,syntacticPlaceholders:i==null?undefined:i}}function normalizeReplacements(e){if(Array.isArray(e)){return e.reduce((e,t,r)=>{e["$"+r]=t;return e},{})}else if(typeof e==="object"||e==null){return e||undefined}throw new Error("Template replacements must be an array, object, null, or undefined")}},68278:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parseAndBuildMetadata;var n=r(30632);var s=r(58199);var i=r(67689);const a=/^[_$A-Z0-9]+$/;function parseAndBuildMetadata(e,t,r){const{placeholderWhitelist:s,placeholderPattern:i,preserveComments:a,syntacticPlaceholders:o}=r;const l=parseWithCodeFrame(t,r.parser,o);n.removePropertiesDeep(l,{preserveComments:a});e.validate(l);const u={placeholders:[],placeholderNames:new Set};const p={placeholders:[],placeholderNames:new Set};const f={value:undefined};n.traverse(l,placeholderVisitorHandler,{syntactic:u,legacy:p,isLegacyRef:f,placeholderWhitelist:s,placeholderPattern:i,syntacticPlaceholders:o});return Object.assign({ast:l},f.value?p:u)}function placeholderVisitorHandler(e,t,r){var s;let i;if(n.isPlaceholder(e)){if(r.syntacticPlaceholders===false){throw new Error("%%foo%%-style placeholders can't be used when "+"'.syntacticPlaceholders' is false.")}else{i=e.name.name;r.isLegacyRef.value=false}}else if(r.isLegacyRef.value===false||r.syntacticPlaceholders){return}else if(n.isIdentifier(e)||n.isJSXIdentifier(e)){i=e.name;r.isLegacyRef.value=true}else if(n.isStringLiteral(e)){i=e.value;r.isLegacyRef.value=true}else{return}if(!r.isLegacyRef.value&&(r.placeholderPattern!=null||r.placeholderWhitelist!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}if(r.isLegacyRef.value&&(r.placeholderPattern===false||!(r.placeholderPattern||a).test(i))&&!((s=r.placeholderWhitelist)!=null&&s.has(i))){return}t=t.slice();const{node:o,key:l}=t[t.length-1];let u;if(n.isStringLiteral(e)||n.isPlaceholder(e,{expectedNode:"StringLiteral"})){u="string"}else if(n.isNewExpression(o)&&l==="arguments"||n.isCallExpression(o)&&l==="arguments"||n.isFunction(o)&&l==="params"){u="param"}else if(n.isExpressionStatement(o)&&!n.isPlaceholder(e)){u="statement";t=t.slice(0,-1)}else if(n.isStatement(e)&&n.isPlaceholder(e)){u="statement"}else{u="other"}const{placeholders:p,placeholderNames:f}=r.isLegacyRef.value?r.legacy:r.syntactic;p.push({name:i,type:u,resolve:e=>resolveAncestors(e,t),isDuplicate:f.has(i)});f.add(i)}function resolveAncestors(e,t){let r=e;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=populatePlaceholders;var n=r(30632);function populatePlaceholders(e,t){const r=n.cloneNode(e.ast);if(t){e.placeholders.forEach(e=>{if(!Object.prototype.hasOwnProperty.call(t,e.name)){const t=e.name;throw new Error(`Error: No substitution given for "${t}". If this is not meant to be a\n placeholder you may want to consider passing one of the following options to @babel/template:\n - { placeholderPattern: false, placeholderWhitelist: new Set(['${t}'])}\n - { placeholderPattern: /^${t}$/ }`)}});Object.keys(t).forEach(t=>{if(!e.placeholderNames.has(t)){throw new Error(`Unknown substitution "${t}" given`)}})}e.placeholders.slice().reverse().forEach(e=>{try{applyReplacement(e,r,t&&t[e.name]||null)}catch(t){t.message=`@babel/template placeholder "${e.name}": ${t.message}`;throw t}});return r}function applyReplacement(e,t,r){if(e.isDuplicate){if(Array.isArray(r)){r=r.map(e=>n.cloneNode(e))}else if(typeof r==="object"){r=n.cloneNode(r)}}const{parent:s,key:i,index:a}=e.resolve(t);if(e.type==="string"){if(typeof r==="string"){r=n.stringLiteral(r)}if(!r||!n.isStringLiteral(r)){throw new Error("Expected string substitution")}}else if(e.type==="statement"){if(a===undefined){if(!r){r=n.emptyStatement()}else if(Array.isArray(r)){r=n.blockStatement(r)}else if(typeof r==="string"){r=n.expressionStatement(n.identifier(r))}else if(!n.isStatement(r)){r=n.expressionStatement(r)}}else{if(r&&!Array.isArray(r)){if(typeof r==="string"){r=n.identifier(r)}if(!n.isStatement(r)){r=n.expressionStatement(r)}}}}else if(e.type==="param"){if(typeof r==="string"){r=n.identifier(r)}if(a===undefined)throw new Error("Assertion failure.")}else{if(typeof r==="string"){r=n.identifier(r)}if(Array.isArray(r)){throw new Error("Cannot replace single expression with an array.")}}if(a===undefined){n.validate(s,i,r);s[i]=r}else{const t=s[i].slice();if(e.type==="statement"||e.type==="param"){if(r==null){t.splice(a,1)}else if(Array.isArray(r)){t.splice(a,1,...r)}else{t[a]=r}}else{t[a]=r}n.validate(s,i,t);s[i]=t}}},26522:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=stringTemplate;var n=r(5447);var s=r(68278);var i=r(1143);function stringTemplate(e,t,r){t=e.code(t);let a;return o=>{const l=(0,n.normalizeReplacements)(o);if(!a)a=(0,s.default)(e,t,r);return e.unwrap((0,i.default)(a,l))}}},67689:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var n=r(30250);let s=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const i=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const s=Object.assign({},n,e.end);const{linesAbove:i=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const u=s.line;const p=s.column;let f=Math.max(o-(i+1),0);let c=Math.min(t.length,u+a);if(o===-1){f=0}if(u===-1){c=t.length}const d=u-o;const y={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){y[r]=true}else if(e===0){const e=t[r-1].length;y[r]=[l,e-l+1]}else if(e===d){y[r]=[0,p]}else{const n=t[r-e].length;y[r]=[0,n]}}}else{if(l===p){if(l){y[o]=[l,0]}else{y[o]=true}}else{y[o]=[l,p-l]}}return{start:f,end:c,markerLines:y}}function codeFrameColumns(e,t,r={}){const s=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const a=(0,n.getChalk)(r);const o=getDefs(a);const l=(e,t)=>{return s?e(t):t};const u=e.split(i);const{start:p,end:f,markerLines:c}=getMarkerLines(t,u,r);const d=t.start&&typeof t.start.column==="number";const y=String(f).length;const m=s?(0,n.default)(e,r):e;let T=m.split(i).slice(p,f).map((e,t)=>{const n=p+1+t;const s=` ${n}`.slice(-y);const i=` ${s} |`;const a=c[n];const u=!c[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const s=a[1]||1;t=["\n ",l(o.gutter,i.replace(/\d/g," "))," ",n,l(o.marker,"^").repeat(s)].join("");if(u&&r.message){t+=" "+l(o.message,r.message)}}return[l(o.marker,">"),l(o.gutter,i),e.length>0?` ${e}`:"",t].join("")}else{return` ${l(o.gutter,i)}${e.length>0?` ${e}`:""}`}}).join("\n");if(r.message&&!d){T=`${" ".repeat(y+1)}${r.message}\n${T}`}if(s){return a.reset(T)}else{return T}}function _default(e,t,r,n={}){if(!s){s=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const i={start:{column:r,line:t}};return codeFrameColumns(e,i,n)}},40689:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(40689);var s=r(80746)},80746:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},30250:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldHighlight=shouldHighlight;t.getChalk=getChalk;t.default=highlight;var n=r(52388);var s=r(72725);var i=r(72242);const a=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let u;{const e=/^[a-z][\w-]*$/i;const t=function(t,r,n){if(t.type==="name"){if((0,s.isKeyword)(t.value)||(0,s.isStrictReservedWord)(t.value,true)||a.has(t.value)){return"keyword"}if(e.test(t.value)&&(n[r-1]==="<"||n.substr(r-2,2)=="t(e)).join("\n")}else{r+=s}}return r}function shouldHighlight(e){return!!i.supportsColor||e.forceColor}function getChalk(e){return e.forceColor?new i.constructor({enabled:true,level:1}):i}function highlight(e,t={}){if(shouldHighlight(t)){const r=getChalk(t);const n=getDefs(r);return highlightTokens(n,e)}else{return e}}},58199:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r=true;const n=true;const s=true;const i=true;const a=true;const o=true;class TokenType{constructor(e,t={}){this.label=void 0;this.keyword=void 0;this.beforeExpr=void 0;this.startsExpr=void 0;this.rightAssociative=void 0;this.isLoop=void 0;this.isAssign=void 0;this.prefix=void 0;this.postfix=void 0;this.binop=void 0;this.updateContext=void 0;this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.rightAssociative=!!t.rightAssociative;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop!=null?t.binop:null;this.updateContext=null}}const l=new Map;function createKeyword(e,t={}){t.keyword=e;const r=new TokenType(e,t);l.set(e,r);return r}function createBinop(e,t){return new TokenType(e,{beforeExpr:r,binop:t})}const u={num:new TokenType("num",{startsExpr:n}),bigint:new TokenType("bigint",{startsExpr:n}),decimal:new TokenType("decimal",{startsExpr:n}),regexp:new TokenType("regexp",{startsExpr:n}),string:new TokenType("string",{startsExpr:n}),name:new TokenType("name",{startsExpr:n}),privateName:new TokenType("#name",{startsExpr:n}),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:r,startsExpr:n}),bracketHashL:new TokenType("#[",{beforeExpr:r,startsExpr:n}),bracketBarL:new TokenType("[|",{beforeExpr:r,startsExpr:n}),bracketR:new TokenType("]"),bracketBarR:new TokenType("|]"),braceL:new TokenType("{",{beforeExpr:r,startsExpr:n}),braceBarL:new TokenType("{|",{beforeExpr:r,startsExpr:n}),braceHashL:new TokenType("#{",{beforeExpr:r,startsExpr:n}),braceR:new TokenType("}",{beforeExpr:r}),braceBarR:new TokenType("|}"),parenL:new TokenType("(",{beforeExpr:r,startsExpr:n}),parenR:new TokenType(")"),comma:new TokenType(",",{beforeExpr:r}),semi:new TokenType(";",{beforeExpr:r}),colon:new TokenType(":",{beforeExpr:r}),doubleColon:new TokenType("::",{beforeExpr:r}),dot:new TokenType("."),question:new TokenType("?",{beforeExpr:r}),questionDot:new TokenType("?."),arrow:new TokenType("=>",{beforeExpr:r}),template:new TokenType("template"),ellipsis:new TokenType("...",{beforeExpr:r}),backQuote:new TokenType("`",{startsExpr:n}),dollarBraceL:new TokenType("${",{beforeExpr:r,startsExpr:n}),at:new TokenType("@"),hash:new TokenType("#",{startsExpr:n}),interpreterDirective:new TokenType("#!..."),eq:new TokenType("=",{beforeExpr:r,isAssign:i}),assign:new TokenType("_=",{beforeExpr:r,isAssign:i}),slashAssign:new TokenType("_=",{beforeExpr:r,isAssign:i}),incDec:new TokenType("++/--",{prefix:a,postfix:o,startsExpr:n}),bang:new TokenType("!",{beforeExpr:r,prefix:a,startsExpr:n}),tilde:new TokenType("~",{beforeExpr:r,prefix:a,startsExpr:n}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:r,binop:9,prefix:a,startsExpr:n}),modulo:new TokenType("%",{beforeExpr:r,binop:10,startsExpr:n}),star:new TokenType("*",{binop:10}),slash:createBinop("/",10),exponent:new TokenType("**",{beforeExpr:r,binop:11,rightAssociative:true}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:r}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:r}),_do:createKeyword("do",{isLoop:s,beforeExpr:r}),_else:createKeyword("else",{beforeExpr:r}),_finally:createKeyword("finally"),_for:createKeyword("for",{isLoop:s}),_function:createKeyword("function",{startsExpr:n}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:r}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:r,prefix:a,startsExpr:n}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_while:createKeyword("while",{isLoop:s}),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:r,startsExpr:n}),_this:createKeyword("this",{startsExpr:n}),_super:createKeyword("super",{startsExpr:n}),_class:createKeyword("class",{startsExpr:n}),_extends:createKeyword("extends",{beforeExpr:r}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:n}),_null:createKeyword("null",{startsExpr:n}),_true:createKeyword("true",{startsExpr:n}),_false:createKeyword("false",{startsExpr:n}),_in:createKeyword("in",{beforeExpr:r,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:r,binop:7}),_typeof:createKeyword("typeof",{beforeExpr:r,prefix:a,startsExpr:n}),_void:createKeyword("void",{beforeExpr:r,prefix:a,startsExpr:n}),_delete:createKeyword("delete",{beforeExpr:r,prefix:a,startsExpr:n})};const p=/\r\n?|[\n\u2028\u2029]/;const f=new RegExp(p.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const c=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function isWhitespace(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return true;default:return false}}class Position{constructor(e,t){this.line=void 0;this.column=void 0;this.line=e;this.column=t}}class SourceLocation{constructor(e,t){this.start=void 0;this.end=void 0;this.filename=void 0;this.identifierName=void 0;this.start=e;this.end=t}}function getLineInfo(e,t){let r=1;let n=0;let s;f.lastIndex=0;while((s=f.exec(e))&&s.index0){n=t[--s]}if(n===null){return}for(let e=0;e0){n.trailingComments=i}else if(n.trailingComments!==undefined){n.trailingComments=[]}}processComment(e){if(e.type==="Program"&&e.body.length>0)return;const t=this.state.commentStack;let r,n,s,i,a;if(this.state.trailingComments.length>0){if(this.state.trailingComments[0].start>=e.end){s=this.state.trailingComments;this.state.trailingComments=[]}else{this.state.trailingComments.length=0}}else if(t.length>0){const r=last(t);if(r.trailingComments&&r.trailingComments[0].start>=e.end){s=r.trailingComments;delete r.trailingComments}}if(t.length>0&&last(t).start>=e.start){r=t.pop()}while(t.length>0&&last(t).start>=e.start){n=t.pop()}if(!n&&r)n=r;if(r){switch(e.type){case"ObjectExpression":this.adjustCommentsAfterTrailingComma(e,e.properties);break;case"ObjectPattern":this.adjustCommentsAfterTrailingComma(e,e.properties,true);break;case"CallExpression":this.adjustCommentsAfterTrailingComma(e,e.arguments);break;case"ArrayExpression":this.adjustCommentsAfterTrailingComma(e,e.elements);break;case"ArrayPattern":this.adjustCommentsAfterTrailingComma(e,e.elements,true);break}}else if(this.state.commentPreviousNode&&(this.state.commentPreviousNode.type==="ImportSpecifier"&&e.type!=="ImportSpecifier"||this.state.commentPreviousNode.type==="ExportSpecifier"&&e.type!=="ExportSpecifier")){this.adjustCommentsAfterTrailingComma(e,[this.state.commentPreviousNode])}if(n){if(n.leadingComments){if(n!==e&&n.leadingComments.length>0&&last(n.leadingComments).end<=e.start){e.leadingComments=n.leadingComments;delete n.leadingComments}else{for(i=n.leadingComments.length-2;i>=0;--i){if(n.leadingComments[i].end<=e.start){e.leadingComments=n.leadingComments.splice(0,i+1);break}}}}}else if(this.state.leadingComments.length>0){if(last(this.state.leadingComments).end<=e.start){if(this.state.commentPreviousNode){for(a=0;a0){e.leadingComments=this.state.leadingComments;this.state.leadingComments=[]}}else{for(i=0;ie.start){break}}const t=this.state.leadingComments.slice(0,i);if(t.length){e.leadingComments=t}s=this.state.leadingComments.slice(i);if(s.length===0){s=null}}}this.state.commentPreviousNode=e;if(s){if(s.length&&s[0].start>=e.start&&last(s).end<=e.end){e.innerComments=s}else{const t=s.findIndex(t=>t.end>=e.end);if(t>0){e.innerComments=s.slice(0,t);e.trailingComments=s.slice(t)}else{e.trailingComments=s}}}t.push(e)}}const d=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const y=makeErrorTemplates({AccessorIsGenerator:"A %0ter cannot be a generator.",ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accesor must not have any formal parameters.",BadSetterArity:"A 'set' accesor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accesor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:"'%0' require an initialization value.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:"`%0` has already been exported. Exported identifiers must be unique.",DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '%0' as '%1' } from 'some-module'`?",ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:"'%0' loop variable declaration may not have an initializer.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:"Unsyntactic %0.",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:'A string literal cannot be used as an imported binding.\n- Did you mean `import { "%0" as foo }`?',ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:"`import()` requires exactly %0.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidDecimal:"Invalid decimal.",InvalidDigit:"Expected number in radix %0.",InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:"Escape sequence in keyword %0.",InvalidIdentifier:"Invalid identifier %0.",InvalidLhs:"Invalid left-hand side in %0.",InvalidLhsBinding:"Binding invalid left-hand side in %0.",InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:"Unexpected character '%0'.",InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:"Private name #%0 is not defined.",InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:"Label '%0' is already declared.",LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:'Duplicate key "%0" is not allowed in module attributes.',ModuleExportNameHasLoneSurrogate:"An export name cannot include a lone surrogate, found '\\u%0'.",ModuleExportUndefined:"Export '%0' is not defined.",MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:"Primary Topic Reference found but pipelineOperator not passed 'smart' for 'proposal' option.",PrivateInExpectedIn:"Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`).",PrivateNameRedeclaration:"Duplicate private name #%0.",RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:"Assigning to '%0' in strict mode.",StrictEvalArgumentsBinding:"Binding '%0' in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:"Unexpected keyword '%0'.",UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Private names can only be used as the name of a class element (i.e. class C { #p = 42; #m() {} } )\n or a property of member expression (i.e. this.#p).",UnexpectedReservedWord:"Unexpected reserved word '%0'.",UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:"Unexpected token '%0'.",UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:"The only valid meta property for %0 is %0.%1.",UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",VarRedeclaration:"Identifier '%0' has already been declared.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},d.SyntaxError);const m=makeErrorTemplates({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},d.SourceTypeModuleError);function makeErrorTemplates(e,t){const r={};Object.keys(e).forEach(n=>{r[n]=Object.freeze({code:t,reasonCode:n,template:e[n]})});return Object.freeze(r)}class ParserError extends CommentsParser{getLocationForPosition(e){let t;if(e===this.state.start)t=this.state.startLoc;else if(e===this.state.lastTokStart)t=this.state.lastTokStartLoc;else if(e===this.state.end)t=this.state.endLoc;else if(e===this.state.lastTokEnd)t=this.state.lastTokEndLoc;else t=getLineInfo(this.input,e);return t}raise(e,{code:t,reasonCode:r,template:n},...s){return this.raiseWithData(e,{code:t,reasonCode:r},n,...s)}raiseOverwrite(e,{code:t,template:r},...n){const s=this.getLocationForPosition(e);const i=r.replace(/%(\d+)/g,(e,t)=>n[t])+` (${s.line}:${s.column})`;if(this.options.errorRecovery){const t=this.state.errors;for(let r=t.length-1;r>=0;r--){const n=t[r];if(n.pos===e){return Object.assign(n,{message:i})}else if(n.posn[t])+` (${s.line}:${s.column})`;return this._raise(Object.assign({loc:s,pos:e},t),i)}_raise(e,t){const r=new SyntaxError(t);Object.assign(r,e);if(this.options.errorRecovery){if(!this.isLookahead)this.state.errors.push(r);return r}else{throw r}}}var T=e=>(class extends e{parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const n=this.estreeParseLiteral(r);n.regex={pattern:e,flags:t};return n}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);r.bigint=String(r.value||e);return r}parseDecimalLiteral(e){const t=null;const r=this.estreeParseLiteral(t);r.decimal=String(r.value||e);return r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;const r=this.startNodeAt(e.start,e.loc.start);const n=this.startNodeAt(t.start,t.loc.start);n.value=t.extra.expressionValue;n.raw=t.extra.raw;r.expression=this.finishNodeAt(n,"Literal",t.end,t.loc.end);r.directive=t.extra.raw.slice(1,-1);return this.finishNodeAt(r,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}stmtToDirective(e){const t=super.stmtToDirective(e);const r=e.expression.value;this.addExtra(t.value,"expressionValue",r);return t}parseBlockBody(e,...t){super.parseBlockBody(e,...t);const r=e.directives.map(e=>this.directiveToStmt(e));e.body=r.concat(e.body);delete e.directives}pushClassMethod(e,t,r,n,s,i){this.parseMethod(t,r,n,s,i,"ClassMethod",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parseMaybePrivateName(...e){const t=super.parseMaybePrivateName(...e);if(t.type==="PrivateName"&&this.getPluginOption("estree","classFeatures")){return this.convertPrivateNameToPrivateIdentifier(t)}return t}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}return e.name}parseLiteral(e,t){const r=super.parseLiteral(e,t);r.raw=r.extra.raw;delete r.extra;return r}parseFunctionBody(e,t,r=false){super.parseFunctionBody(e,t,r);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,r,n,s,i,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,r,n,s,i,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(i==="ClassPrivateMethod"){e.computed=false}i="MethodDefinition";return this.finishNode(e,i)}parseClassProperty(...e){const t=super.parseClassProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition"}return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition";t.computed=false}return t}parseObjectMethod(e,t,r,n,s){const i=super.parseObjectMethod(e,t,r,n,s);if(i){i.type="Property";if(i.kind==="method")i.kind="init";i.shorthand=false}return i}parseObjectProperty(e,t,r,n,s){const i=super.parseObjectProperty(e,t,r,n,s);if(i){i.kind="init";i.type="Property"}return i}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){this.toAssignable(e.value,t);return e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){if(e.kind==="get"||e.kind==="set"){this.raise(e.key.start,y.PatternHasAccessor)}else if(e.method){this.raise(e.key.start,y.PatternHasMethod)}else{super.toAssignableObjectExpressionProp(e,...t)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];if(this.hasPlugin("importAssertions")){var r;e.attributes=(r=e.arguments[1])!=null?r:null}delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,r,n,s){const i=super.parseSubscript(e,t,r,n,s);if(s.optionalChainMember){if(i.type==="OptionalMemberExpression"||i.type==="OptionalCallExpression"){i.type=i.type.substring(8)}if(s.stop){const e=this.startNodeAtNode(i);e.expression=i;return this.finishNode(e,"ChainExpression")}}else if(i.type==="MemberExpression"||i.type==="CallExpression"){i.optional=false}return i}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}});class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const h={brace:new TokContext("{"),templateQuasi:new TokContext("${"),template:new TokContext("`",true)};u.braceR.updateContext=(e=>{if(e.length>1){e.pop()}});u.braceL.updateContext=u.braceHashL.updateContext=(e=>{e.push(h.brace)});u.dollarBraceL.updateContext=(e=>{e.push(h.templateQuasi)});u.backQuote.updateContext=(e=>{if(e[e.length-1]===h.template){e.pop()}else{e.push(h.template)}});let S="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let b="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const E=new RegExp("["+S+"]");const g=new RegExp("["+S+b+"]");S=b=null;const P=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const x=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&E.test(String.fromCharCode(e))}return isInAstralSet(e,P)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&g.test(String.fromCharCode(e))}return isInAstralSet(e,P)||isInAstralSet(e,x)}const v={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const A=new Set(v.keyword);const O=new Set(v.strict);const I=new Set(v.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||O.has(e)}function isStrictBindOnlyReservedWord(e){return I.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return A.has(e)}function isIteratorStart(e,t){return e===64&&t===64}const D=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function canBeReservedWord(e){return D.has(e)}const w=0,j=1,N=2,C=4,L=8,_=16,M=32,F=64,B=128,k=256,R=j|N|k;const K=1,V=2,X=4,Y=8,J=16,U=64,W=128,q=256,z=512,G=1024,$=2048;const H=K|V|Y|W,Q=K|0|Y|0,Z=K|0|X|0,ee=K|0|J|0,te=0|V|0|W,re=0|V|0|0,ne=K|V|Y|q,se=0|0|0|G,ie=0|0|0|U,ae=K|0|0|U,oe=ne|z,le=0|0|0|G,ue=$;const pe=4,fe=2,ce=1,de=fe|ce;const ye=fe|pe,me=ce|pe,Te=fe,he=ce,Se=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.scopeStack=[];this.undefinedExports=new Map;this.undefinedPrivateNames=new Map;this.raise=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&N)>0}get allowSuper(){return(this.currentThisScopeFlags()&_)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&M)>0}get inClass(){return(this.currentThisScopeFlags()&F)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&F)>0&&(e&N)===0}get inStaticBlock(){return(this.currentThisScopeFlags()&B)>0}get inNonArrowFunction(){return(this.currentThisScopeFlags()&N)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&N||!this.inModule&&e.flags&j)}declareName(e,t,r){let n=this.currentScope();if(t&Y||t&J){this.checkRedeclarationInScope(n,e,t,r);if(t&J){n.functions.add(e)}else{n.lexical.add(e)}if(t&Y){this.maybeExportDefined(n,e)}}else if(t&X){for(let s=this.scopeStack.length-1;s>=0;--s){n=this.scopeStack[s];this.checkRedeclarationInScope(n,e,t,r);n.var.add(e);this.maybeExportDefined(n,e);if(n.flags&R)break}}if(this.inModule&&n.flags&j){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.inModule&&e.flags&j){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,r,n){if(this.isRedeclaredInScope(e,t,r)){this.raise(n,y.VarRedeclaration,t)}}isRedeclaredInScope(e,t,r){if(!(r&K))return false;if(r&Y){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(r&J){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&L&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const r=this.scopeStack[0];if(!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)){this.undefinedExports.set(t,e.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&R){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(R|F)&&!(t&C)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,r){const n=this.currentScope();if(t&$){this.checkRedeclarationInScope(n,e,t,r);this.maybeExportDefined(n,e);n.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,r){if(super.isRedeclaredInScope(...arguments))return true;if(r&$){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}const be=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]);const Ee=makeErrorTemplates({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:"Cannot overwrite reserved type %0.",DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:"Boolean enum members need to be initialized. Use either `%0 = true,` or `%0 = false,` in enum `%1`.",EnumDuplicateMemberName:"Enum member names need to be unique, but the name `%0` has already been used before in enum `%1`.",EnumInconsistentMemberValues:"Enum `%0` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.",EnumInvalidExplicitType:"Enum type `%1` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidExplicitTypeUnknownSupplied:"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidMemberInitializerPrimaryType:"Enum `%0` has type `%2`, so the initializer of `%1` needs to be a %2 literal.",EnumInvalidMemberInitializerSymbolType:"Symbol enum members cannot be initialized. Use `%1,` in enum `%0`.",EnumInvalidMemberInitializerUnknownType:"The enum member initializer for `%1` needs to be a literal (either a boolean, number, or string) in enum `%0`.",EnumInvalidMemberName:"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%0`, consider using `%1`, in enum `%2`.",EnumNumberMemberNotInitialized:"Number enum members need to be initialized, e.g. `%1 = 1` in enum `%0`.",EnumStringMemberInconsistentlyInitailized:"String enum members need to consistently either all use initializers, or use no initializers, in enum `%0`.",GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",OptionalBindingPattern:"A binding pattern parameter cannot be optional in an implementation signature.",SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:"Unexpected reserved type %0.",UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:"`declare export %0` is not supported. Use `%1` instead.",UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."},d.SyntaxError);function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return(e.type===u.name||!!e.type.keyword)&&e.value!=="from"}const ge={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const r=[];const n=[];for(let s=0;s(class extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==u.string&&e!==u.semi&&e!==u.interpreterDirective){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=Pe.exec(e.value);if(!t) ;else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||u.colon);const r=this.flowParseType();this.state.inType=t;return r}flowParsePredicate(){const e=this.startNode();const t=this.state.start;this.next();this.expectContextual("checks");if(this.state.lastTokStart>t+1){this.raise(t,Ee.UnexpectedSpaceBetweenModuloChecks)}if(this.eat(u.parenL)){e.value=this.parseExpression();this.expect(u.parenR);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(u.colon);let t=null;let r=null;if(this.match(u.modulo)){this.state.inType=e;r=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(u.modulo)){r=this.flowParsePredicate()}}return[t,r]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const r=this.startNode();const n=this.startNode();if(this.isRelational("<")){r.typeParameters=this.flowParseTypeParameterDeclaration()}else{r.typeParameters=null}this.expect(u.parenL);const s=this.flowParseFunctionTypeParams();r.params=s.params;r.rest=s.rest;r.this=s._this;this.expect(u.parenR);[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser();n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation");t.typeAnnotation=this.finishNode(n,"TypeAnnotation");this.resetEndLocation(t);this.semicolon();this.scope.declareName(e.id.name,ue,e.id.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(u._class)){return this.flowParseDeclareClass(e)}else if(this.match(u._function)){return this.flowParseDeclareFunction(e)}else if(this.match(u._var)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual("module")){if(this.match(u.dot)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(this.state.lastTokStart,Ee.NestedDeclareModule)}return this.flowParseDeclareModule(e)}}else if(this.isContextual("type")){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual("opaque")){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual("interface")){return this.flowParseDeclareInterface(e)}else if(this.match(u._export)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,Z,e.id.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(w);if(this.match(u.string)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const r=t.body=[];this.expect(u.braceL);while(!this.match(u.braceR)){let e=this.startNode();if(this.match(u._import)){this.next();if(!this.isContextual("type")&&!this.match(u._typeof)){this.raise(this.state.lastTokStart,Ee.InvalidNonTypeImportInDeclareModule)}this.parseImport(e)}else{this.expectContextual("declare",Ee.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}r.push(e)}this.scope.exit();this.expect(u.braceR);this.finishNode(t,"BlockStatement");let n=null;let s=false;r.forEach(e=>{if(isEsModuleType(e)){if(n==="CommonJS"){this.raise(e.start,Ee.AmbiguousDeclareModuleKind)}n="ES"}else if(e.type==="DeclareModuleExports"){if(s){this.raise(e.start,Ee.DuplicateDeclareModuleExports)}if(n==="ES"){this.raise(e.start,Ee.AmbiguousDeclareModuleKind)}n="CommonJS";s=true}});e.kind=n||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(u._export);if(this.eat(u._default)){if(this.match(u._function)||this.match(u._class)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(u._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value;const t=ge[e];throw this.raise(this.state.start,Ee.UnsupportedDeclareExportKind,e,t)}if(this.match(u._var)||this.match(u._function)||this.match(u._class)||this.isContextual("opaque")){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(u.star)||this.match(u.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque")){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual("exports");e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?ee:Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(u.comma))}if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(this.state.start,Ee.UnexpectedReservedUnderscore)}}checkReservedType(e,t,r){if(!be.has(e))return;this.raise(t,r?Ee.AssignReservedType:Ee.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.start,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(u.eq);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual("type");e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(u.colon)){e.supertype=this.flowParseTypeInitialiser(u.colon)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(u.eq)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.start;const r=this.startNode();const n=this.flowParseVariance();const s=this.flowParseTypeAnnotatableIdentifier();r.name=s.name;r.variance=n;r.bound=s.typeAnnotation;if(this.match(u.eq)){this.eat(u.eq);r.default=this.flowParseType()}else{if(e){this.raise(t,Ee.MissingTypeParamDefault)}}return this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}let r=false;do{const e=this.flowParseTypeParameter(r);t.params.push(e);if(e.default){r=true}if(!this.isRelational(">")){this.expect(u.comma)}}while(!this.isRelational(">"));this.expectRelational(">");this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");const r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.isRelational(">")){e.params.push(this.flowParseType());if(!this.isRelational(">")){this.expect(u.comma)}}this.state.noAnonFunctionType=r;this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");while(!this.isRelational(">")){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.isRelational(">")){this.expect(u.comma)}}this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual("interface");e.extends=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(u.num)||this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,r){e.static=t;if(this.lookahead().type===u.colon){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(u.bracketR);e.value=this.flowParseTypeInitialiser();e.variance=r;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(u.bracketR);this.expect(u.bracketR);if(this.isRelational("<")||this.match(u.parenL)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(u.question)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(u.parenL);if(this.match(u._this)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(u.parenR)){this.expect(u.comma)}}while(!this.match(u.parenR)&&!this.match(u.ellipsis)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(u.parenR)){this.expect(u.comma)}}if(this.eat(u.ellipsis)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(u.parenR);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const r=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(r);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:n,allowInexact:s}){const i=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let p=false;if(t&&this.match(u.braceBarL)){this.expect(u.braceBarL);o=u.braceBarR;l=true}else{this.expect(u.braceL);o=u.braceR;l=false}a.exact=l;while(!this.match(o)){let t=false;let i=null;let o=null;const f=this.startNode();if(n&&this.isContextual("proto")){const t=this.lookahead();if(t.type!==u.colon&&t.type!==u.question){this.next();i=this.state.start;e=false}}if(e&&this.isContextual("static")){const e=this.lookahead();if(e.type!==u.colon&&e.type!==u.question){this.next();t=true}}const c=this.flowParseVariance();if(this.eat(u.bracketL)){if(i!=null){this.unexpected(i)}if(this.eat(u.bracketL)){if(c){this.unexpected(c.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(f,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(f,t,c))}}else if(this.match(u.parenL)||this.isRelational("<")){if(i!=null){this.unexpected(i)}if(c){this.unexpected(c.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(f,t))}else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();if(t.type===u.name||t.type===u.string||t.type===u.num){e=this.state.value;this.next()}}const n=this.flowParseObjectTypeProperty(f,t,i,c,e,r,s!=null?s:!l);if(n===null){p=true;o=this.state.lastTokStart}else{a.properties.push(n)}}this.flowObjectTypeSemicolon();if(o&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.raise(o,Ee.UnexpectedExplicitInexactInObject)}}this.expect(o);if(r){a.inexact=p}const f=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=i;return f}flowParseObjectTypeProperty(e,t,r,n,s,i,a){if(this.eat(u.ellipsis)){const t=this.match(u.comma)||this.match(u.semi)||this.match(u.braceR)||this.match(u.braceBarR);if(t){if(!i){this.raise(this.state.lastTokStart,Ee.InexactInsideNonObject)}else if(!a){this.raise(this.state.lastTokStart,Ee.InexactInsideExact)}if(n){this.raise(n.start,Ee.InexactVariance)}return null}if(!i){this.raise(this.state.lastTokStart,Ee.UnexpectedSpreadType)}if(r!=null){this.unexpected(r)}if(n){this.raise(n.start,Ee.SpreadVariance)}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=r!=null;e.kind=s;let a=false;if(this.isRelational("<")||this.match(u.parenL)){e.method=true;if(r!=null){this.unexpected(r)}if(n){this.unexpected(n.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(s==="get"||s==="set"){this.flowCheckGetterSetterParams(e)}if(!i&&e.key.name==="constructor"&&e.value.this){this.raise(e.value.this.start,Ee.ThisParamBannedInConstructor)}}else{if(s!=="init")this.unexpected();e.method=false;if(this.eat(u.question)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=n}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const r=e.start;const n=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.value.this.start,e.kind==="get"?Ee.GetterMayNotHaveThisParam:Ee.SetterMayNotHaveThisParam)}if(n!==t){if(e.kind==="get"){this.raise(r,y.BadGetterArity)}else{this.raise(r,y.BadSetterArity)}}if(e.kind==="set"&&e.value.rest){this.raise(r,y.BadSetterRestParameter)}}flowObjectTypeSemicolon(){if(!this.eat(u.semi)&&!this.eat(u.comma)&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start;t=t||this.state.startLoc;let n=r||this.flowParseRestrictedIdentifier(true);while(this.eat(u.dot)){const r=this.startNodeAt(e,t);r.qualification=n;r.id=this.flowParseRestrictedIdentifier(true);n=this.finishNode(r,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t,r){const n=this.startNodeAt(e,t);n.typeParameters=null;n.id=this.flowParseQualifiedTypeIdentifier(e,t,r);if(this.isRelational("<")){n.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(u._typeof);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(u.bracketL);while(this.state.possuper.parseFunctionBody(e,true,r))}return super.parseFunctionBody(e,false,r)}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(e,t,r)}parseStatement(e,t){if(this.state.strict&&this.match(u.name)&&this.state.value==="interface"){const e=this.lookahead();if(e.type===u.name||isKeyword(e.value)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const r=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(r)){this.flowPragma=null}return r}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(u._class)||this.match(u.name)||this.match(u._function)||this.match(u._var)||this.match(u._export)){return this.flowParseDeclare(e)}}else if(this.match(u.name)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){if(this.match(u.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"||this.shouldParseEnums()&&this.state.value==="enum")){return false}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,n){if(!this.match(u.question))return e;if(n){const s=this.tryParse(()=>super.parseConditional(e,t,r));if(!s.node){n.start=s.error.pos||this.state.start;return e}if(s.error)this.state=s.failState;return s.node}this.expect(u.question);const s=this.state.clone();const i=this.state.noArrowAt;const a=this.startNodeAt(t,r);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[p,f]=this.getArrowLikeExpressions(o);if(l||f.length>0){const e=[...i];if(f.length>0){this.state=s;this.state.noArrowAt=e;for(let t=0;t1){this.raise(s.start,Ee.AmbiguousConditionalArrow)}if(l&&p.length===1){this.state=s;this.state.noArrowAt=e.concat(p[0].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=i;this.expect(u.colon);a.test=e;a.consequent=o;a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(undefined,undefined,undefined));return this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(u.colon);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e];const n=[];while(r.length!==0){const e=r.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{n.push(e)}r.push(e.body)}else if(e.type==="ConditionalExpression"){r.push(e.consequent);r.push(e.alternate)}}if(t){n.forEach(e=>this.finishArrowValidation(e));return[n,[]]}return partition(n,e=>e.params.every(e=>this.isAssignable(e,true)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingComma,false);this.scope.enter(N|C);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);r=t();this.state.noArrowParamsConversionAt.pop()}else{r=t()}return r}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(n,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();this.next();if(this.match(u.braceL)){e.specifiers=this.parseExportSpecifiers();this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual("enum")){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual("type")&&this.lookahead().type===u.star){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const t=this.state.start;const r=super.maybeParseExportNamespaceSpecifier(e);if(r&&e.exportKind==="type"){this.unexpected(t)}return r}parseClassId(e,t,r){super.parseClassId(e,t,r);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}}parseClassMember(e,t,r){const n=this.state.start;if(this.isContextual("declare")){if(this.parseClassMemberFromModifier(e,t)){return}t.declare=true}super.parseClassMember(e,t,r);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(n,Ee.DeclareClassElement)}else if(t.value){this.raise(t.value.start,Ee.DeclareClassFieldInitializer)}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(this.state.pos,y.InvalidIdentifier,t)}this.finishToken(u.name,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(u.braceBarL,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(u.relational,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(u.questionDot,2)}return this.finishOp(u.question,1)}else if(isIteratorStart(e,t)){this.state.pos+=2;return this.readIterator()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":return true;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every((e,r)=>{return e.type!=="ObjectMethod"&&(r===t||e.type==="SpreadElement")&&this.isAssignable(e)})}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every(e=>this.isAssignable(e));case"AssignmentExpression":return e.operator==="=";case"ParenthesizedExpression":case"TypeCastExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return false}}toAssignable(e,t=false){if(e.type==="TypeCastExpression"){return super.toAssignable(this.typeCastToParameter(e),t)}else{return super.toAssignable(e,t)}}toAssignableList(e,t,r){for(let t=0;t1||!t)){this.raise(s.typeAnnotation.start,Ee.TypeCastInPattern)}}return e}parseArrayLike(e,t,r,n){const s=super.parseArrayLike(e,t,r,n);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(s.elements)}return s}checkLVal(e,...t){if(e.type!=="TypeCastExpression"){return super.checkLVal(e,...t)}}parseClassProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(u.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,s,i){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,r,n,s,i);if(t.params&&s){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Ee.ThisParamBannedInConstructor)}}else if(t.type==="MethodDefinition"&&s&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Ee.ThisParamBannedInConstructor)}}}pushClassPrivateMethod(e,t,r,n){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(u.comma))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const r=t[0];if(this.isThisParam(r)&&e.kind==="get"){this.raise(r.start,Ee.GetterMayNotHaveThisParam)}else if(this.isThisParam(r)){this.raise(r.start,Ee.SetterMayNotHaveThisParam)}}}parsePropertyName(e,t){const r=this.flowParseVariance();const n=super.parsePropertyName(e,t);e.variance=r;return n}parseObjPropValue(e,t,r,n,s,i,a,o){if(e.variance){this.unexpected(e.variance.start)}delete e.variance;let l;if(this.isRelational("<")&&!a){l=this.flowParseTypeParameterDeclaration();if(!this.match(u.parenL))this.unexpected()}super.parseObjPropValue(e,t,r,n,s,i,a,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"){this.raise(e.start,Ee.OptionalBindingPattern)}if(this.isThisParam(e)){this.raise(e.start,Ee.ThisParamMayNotBeOptional)}e.optional=true}if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(e.start,Ee.ThisParamAnnotationRequired)}if(this.match(u.eq)&&this.isThisParam(e)){this.raise(e.start,Ee.ThisParamNoDefault)}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,r){const n=super.parseMaybeDefault(e,t,r);if(n.type==="AssignmentPattern"&&n.typeAnnotation&&n.right.startsuper.parseMaybeAssign(e,t,r),s);if(!i.error)return i.node;const{context:n}=this.state;if(n[n.length-1]===h.j_oTag){n.length-=2}else if(n[n.length-1]===h.j_expr){n.length-=1}}if((n=i)!=null&&n.error||this.isRelational("<")){var a,o;s=s||this.state.clone();let n;const l=this.tryParse(s=>{var i;n=this.flowParseTypeParameterDeclaration();const a=this.forwardNoArrowParamsConversionAt(n,()=>{const s=super.parseMaybeAssign(e,t,r);this.resetStartLocationFromNode(s,n);return s});if(a.type!=="ArrowFunctionExpression"&&(i=a.extra)!=null&&i.parenthesized){s()}const o=this.maybeUnwrapTypeCastExpression(a);o.typeParameters=n;this.resetStartLocationFromNode(o,n);return a},s);let u=null;if(l.node&&this.maybeUnwrapTypeCastExpression(l.node).type==="ArrowFunctionExpression"){if(!l.error&&!l.aborted){if(l.node.async){this.raise(n.start,Ee.UnexpectedTypeParameterBeforeAsyncArrowFunction)}return l.node}u=l.node}if((a=i)!=null&&a.node){this.state=i.failState;return i.node}if(u){this.state=l.failState;return u}if((o=i)!=null&&o.thrown)throw i.error;if(l.thrown)throw l.error;throw this.raise(n.start,Ee.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t,r)}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(u.arrow))this.unexpected();return r});if(t.thrown)return null;if(t.error)this.state=t.failState;e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(){return this.match(u.colon)||super.shouldParseArrow()}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,r){if(r&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t0){this.raise(e.params[t].start,Ee.ThisParamMustBeFirst)}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,r,n){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const n=this.startNodeAt(t,r);n.callee=e;n.arguments=this.parseCallExpressionArguments(u.parenR,false);e=this.finishNode(n,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.isRelational("<")){const s=this.state.clone();const i=this.tryParse(e=>this.parseAsyncArrowWithTypeParameters(t,r)||e(),s);if(!i.error&&!i.aborted)return i.node;const a=this.tryParse(()=>super.parseSubscripts(e,t,r,n),s);if(a.node&&!a.error)return a.node;if(i.node){this.state=i.failState;return i.node}if(a.node){this.state=a.failState;return a.node}throw i.error||a.error}return super.parseSubscripts(e,t,r,n)}parseSubscript(e,t,r,n,s){if(this.match(u.questionDot)&&this.isLookaheadToken_lt()){s.optionalChainMember=true;if(n){s.stop=true;return e}this.next();const i=this.startNodeAt(t,r);i.callee=e;i.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(u.parenL);i.arguments=this.parseCallExpressionArguments(u.parenR,false);i.optional=true;return this.finishCallExpression(i,true)}else if(!n&&this.shouldParseTypes()&&this.isRelational("<")){const n=this.startNodeAt(t,r);n.callee=e;const i=this.tryParse(()=>{n.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew();this.expect(u.parenL);n.arguments=this.parseCallExpressionArguments(u.parenR,false);if(s.optionalChainMember)n.optional=false;return this.finishCallExpression(n,s.optionalChainMember)});if(i.node){if(i.error)this.state=i.failState;return i.node}}return super.parseSubscript(e,t,r,n,s)}parseNewArguments(e){let t=null;if(this.shouldParseTypes()&&this.isRelational("<")){t=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node}e.typeArguments=t;super.parseNewArguments(e)}parseAsyncArrowWithTypeParameters(e,t){const r=this.startNodeAt(e,t);this.parseFunctionParams(r);if(!this.parseArrow(r))return;return this.parseArrowExpression(r,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(u.braceBarR,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(this.state.pos,Ee.UnterminatedFlowComment)}return r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){this.unexpected(null,Ee.NestedFlowComment)}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1){throw this.raise(this.state.pos-2,y.UnterminatedComment)}this.state.pos=e+3;return}super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const r=this.input.charCodeAt(t+e);const n=this.input.charCodeAt(t+e+1);if(r===58&&n===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(r===58&&n!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(this.state.pos,y.UnterminatedComment)}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumBooleanMemberNotInitialized,r,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:r}){const n=r[0].toUpperCase()+r.slice(1);this.raise(e,Ee.EnumInvalidMemberName,r,n,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumDuplicateMemberName,r,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,Ee.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:r}){return this.raise(e,r===null?Ee.EnumInvalidExplicitTypeUnknownSupplied:Ee.EnumInvalidExplicitType,t,r)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:r,memberName:n}){let s=null;switch(r){case"boolean":case"number":case"string":s=Ee.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":s=Ee.EnumInvalidMemberInitializerSymbolType;break;default:s=Ee.EnumInvalidMemberInitializerUnknownType}return this.raise(e,s,t,n,r)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumNumberMemberNotInitialized,t,r)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,Ee.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start;const t=()=>this.match(u.comma)||this.match(u.braceR);switch(this.state.type){case u.num:{const r=this.parseNumericLiteral(this.state.value);if(t()){return{type:"number",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u.string:{const r=this.parseStringLiteral(this.state.value);if(t()){return{type:"string",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u._true:case u._false:{const r=this.parseBooleanLiteral(this.match(u._true));if(t()){return{type:"boolean",pos:r.start,value:r}}return{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;const t=this.parseIdentifier(true);const r=this.eat(u.eq)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:r}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:n}=t;if(n===null){return}if(n!==r){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set;const n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let s=false;while(!this.match(u.braceR)){if(this.eat(u.ellipsis)){s=true;break}const i=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.flowEnumErrorInvalidMemberName(a.start,{enumName:e,memberName:l})}if(r.has(l)){this.flowEnumErrorDuplicateMemberName(a.start,{enumName:e,memberName:l})}r.add(l);const p={enumName:e,explicitType:t,memberName:l};i.id=a;switch(o.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"boolean");i.init=o.value;n.booleanMembers.push(this.finishNode(i,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"number");i.init=o.value;n.numberMembers.push(this.finishNode(i,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"string");i.init=o.value;n.stringMembers.push(this.finishNode(i,"EnumStringMember"));break}case"invalid":{throw this.flowEnumErrorInvalidMemberInitializer(o.pos,p)}case"none":{switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.pos,p);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.pos,p);break;default:n.defaultedMembers.push(this.finishNode(i,"EnumDefaultedMember"))}}}if(!this.match(u.braceR)){this.expect(u.comma)}}return{members:n,hasUnknownMembers:s}}flowEnumStringMembers(e,t,{enumName:r}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:r})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:r})}return e}}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual("of")){if(!this.match(u.name)){throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t})}return t}return null}flowEnumBody(e,{enumName:t,nameLoc:r}){const n=this.flowEnumParseExplicitType({enumName:t});this.expect(u.braceL);const{members:s,hasUnknownMembers:i}=this.flowEnumMembers({enumName:t,explicitType:n});e.hasUnknownMembers=i;switch(n){case"boolean":e.explicitType=true;e.members=s.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=s.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=s.defaultedMembers;this.expect(u.braceR);return this.finishNode(e,"EnumSymbolBody");default:{const n=()=>{e.members=[];this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const i=s.booleanMembers.length;const a=s.numberMembers.length;const o=s.stringMembers.length;const l=s.defaultedMembers.length;if(!i&&!a&&!o&&!l){return n()}else if(!i&&!a){e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")}else if(!a&&!o&&i>=l){for(const e of s.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=s.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody")}else if(!i&&!o&&a>=l){for(const e of s.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=s.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody")}else{this.flowEnumErrorInconsistentMemberValues(r,{enumName:t});return n()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start});return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}});const ve={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"};class State{constructor(){this.strict=void 0;this.curLine=void 0;this.startLoc=void 0;this.endLoc=void 0;this.errors=[];this.potentialArrowAt=-1;this.noArrowAt=[];this.noArrowParamsConversionAt=[];this.maybeInArrowParameters=false;this.inPipeline=false;this.inType=false;this.noAnonFunctionType=false;this.inPropertyName=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.decoratorStack=[[]];this.comments=[];this.trailingComments=[];this.leadingComments=[];this.commentStack=[];this.commentPreviousNode=null;this.pos=0;this.lineStart=0;this.type=u.eof;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.lastTokEnd=0;this.context=[h.brace];this.exprAllowed=true;this.containsEsc=false;this.strictErrors=new Map;this.tokensLength=0}init(e){this.strict=e.strictMode===false?false:e.sourceType==="module";this.curLine=e.startLine;this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new Position(this.curLine,this.pos-this.lineStart)}clone(e){const t=new State;const r=Object.keys(this);for(let n=0,s=r.length;n.",MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"},d.SyntaxError);h.j_oTag=new TokContext("...",true);u.jsxName=new TokenType("jsxName");u.jsxText=new TokenType("jsxText",{beforeExpr:true});u.jsxTagStart=new TokenType("jsxTagStart",{startsExpr:true});u.jsxTagEnd=new TokenType("jsxTagEnd");u.jsxTagStart.updateContext=(e=>{e.push(h.j_expr);e.push(h.j_oTag)});function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var De=e=>(class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,Ie.UnterminatedJsxContent)}const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){if(r===60&&this.state.exprAllowed){++this.state.pos;return this.finishToken(u.jsxTagStart)}return super.getTokenFromCode(r)}e+=this.input.slice(t,this.state.pos);return this.finishToken(u.jsxText,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;r=e?"\n":"\r\n"}else{r=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return r}jsxReadString(e){let t="";let r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===38){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadEntity();r=this.state.pos}else if(isNewLine(n)){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadNewLine(false);r=this.state.pos}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);return this.finishToken(u.string,t)}jsxReadEntity(){let e="";let t=0;let r;let n=this.input[this.state.pos];const s=++this.state.pos;while(this.state.pos0}get hasYield(){return(this.currentFlags()&je)>0}get hasReturn(){return(this.currentFlags()&Ce)>0}get hasIn(){return(this.currentFlags()&Le)>0}}function functionFlags(e,t){return(e?Ne:0)|(t?je:0)}function nonNull(e){if(e==null){throw new Error(`Unexpected ${e} value.`)}return e}function assert(e){if(!e){throw new Error("Assert fail")}}const _e=makeErrorTemplates({AbstractMethodHasImplementation:"Method '%0' cannot have an implementation because it is marked abstract.",AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:"'declare' is not allowed in %0ters.",DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:"Accessibility modifier already seen.",DuplicateModifier:"Duplicate modifier: '%0'.",EmptyHeritageClauseType:"'%0' list cannot be empty.",EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",IncompatibleModifiers:"'%0' modifier cannot be used with '%1' modifier.",IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:"Index signatures cannot have an accessibility modifier ('%0').",IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InvalidModifierOnTypeMember:"'%0' modifier cannot appear on a type member.",InvalidModifiersOrder:"'%0' modifier must precede '%1' modifier.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:"Private elements cannot have an accessibility modifier ('%0').",ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got %0."},d.SyntaxError);function keywordTypeFromName(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return undefined}}function tsIsAccessModifier(e){return e==="private"||e==="public"||e==="protected"}var Me=e=>(class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return this.match(u.name)}tsTokenCanFollowModifier(){return(this.match(u.bracketL)||this.match(u.braceL)||this.match(u.star)||this.match(u.ellipsis)||this.match(u.privateName)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e){if(!this.match(u.name)){return undefined}const t=this.state.value;if(e.indexOf(t)!==-1&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return t}return undefined}tsParseModifiers(e,t,r,n){const s=(t,r,n,s)=>{if(r===n&&e[s]){this.raise(t,_e.InvalidModifiersOrder,n,s)}};const i=(t,r,n,s)=>{if(e[n]&&r===s||e[s]&&r===n){this.raise(t,_e.IncompatibleModifiers,n,s)}};for(;;){const a=this.state.start;const o=this.tsParseModifier(t.concat(r!=null?r:[]));if(!o)break;if(tsIsAccessModifier(o)){if(e.accessibility){this.raise(a,_e.DuplicateAccessibilityModifier)}else{s(a,o,o,"override");s(a,o,o,"static");s(a,o,o,"readonly");e.accessibility=o}}else{if(Object.hasOwnProperty.call(e,o)){this.raise(a,_e.DuplicateModifier,o)}else{s(a,o,"static","readonly");s(a,o,"static","override");s(a,o,"override","readonly");s(a,o,"abstract","override");i(a,o,"declare","override");i(a,o,"static","abstract")}e[o]=true}if(r!=null&&r.includes(o)){this.raise(a,n,o)}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(u.braceR);case"HeritageClauseElement":return this.match(u.braceL);case"TupleElementTypes":return this.match(u.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const r=[];while(!this.tsIsListTerminator(e)){r.push(t())}return r}tsParseDelimitedList(e,t){return nonNull(this.tsParseDelimitedListWorker(e,t,true))}tsParseDelimitedListWorker(e,t,r){const n=[];for(;;){if(this.tsIsListTerminator(e)){break}const s=t();if(s==null){return undefined}n.push(s);if(this.eat(u.comma)){continue}if(this.tsIsListTerminator(e)){break}if(r){this.expect(u.comma)}return undefined}return n}tsParseBracketedList(e,t,r,n){if(!n){if(r){this.expect(u.bracketL)}else{this.expectRelational("<")}}const s=this.tsParseDelimitedList(e,t);if(r){this.expect(u.bracketR)}else{this.expectRelational(">")}return s}tsParseImportType(){const e=this.startNode();this.expect(u._import);this.expect(u.parenL);if(!this.match(u.string)){this.raise(this.state.start,_e.UnsupportedImportTypeArgument)}e.argument=this.parseExprAtom();this.expect(u.parenR);if(this.eat(u.dot)){e.qualifier=this.tsParseEntityName(true)}if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();while(this.eat(u.dot)){const r=this.startNodeAtNode(t);r.left=t;r.right=this.parseIdentifier(e);t=this.finishNode(r,"TSQualifiedName")}return t}tsParseTypeReference(){const e=this.startNode();e.typeName=this.tsParseEntityName(false);if(!this.hasPrecedingLineBreak()&&this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(u._typeof);if(this.match(u._import)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName(true)}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsEatThenParseType(u._extends);e.default=this.tsEatThenParseType(u.eq);return this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<")){return this.tsParseTypeParameters()}}tsParseTypeParameters(){const e=this.startNode();if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),false,true);if(e.params.length===0){this.raise(e.start,_e.EmptyTypeParameters)}return this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type===u._const){this.next();return this.tsParseTypeReference()}return null}tsFillSignature(e,t){const r=e===u.arrow;t.typeParameters=this.tsTryParseTypeParameters();this.expect(u.parenL);t.parameters=this.tsParseBindingListForSignature();if(r){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(u.parenR,41).map(e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(e.start,_e.UnsupportedSignatureParameterKind,e.type)}return e})}tsParseTypeMemberSemicolon(){if(!this.eat(u.comma)&&!this.isLineTerminator()){this.expect(u.semi)}}tsParseSignatureMember(e,t){this.tsFillSignature(u.colon,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();return this.eat(u.name)&&this.match(u.colon)}tsTryParseIndexSignature(e){if(!(this.match(u.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(u.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(u.bracketR);e.parameters=[t];const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(u.question))e.optional=true;const r=e;if(this.match(u.parenL)||this.isRelational("<")){if(t){this.raise(e.start,_e.ReadonlyForMethodSignature)}const n=r;if(n.kind&&this.isRelational("<")){this.raise(this.state.pos,_e.AccesorCannotHaveTypeParameters)}this.tsFillSignature(u.colon,n);this.tsParseTypeMemberSemicolon();if(n.kind==="get"){if(n.parameters.length>0){this.raise(this.state.pos,y.BadGetterArity);if(this.isThisParam(n.parameters[0])){this.raise(this.state.pos,_e.AccesorCannotDeclareThisParameter)}}}else if(n.kind==="set"){if(n.parameters.length!==1){this.raise(this.state.pos,y.BadSetterArity)}else{const e=n.parameters[0];if(this.isThisParam(e)){this.raise(this.state.pos,_e.AccesorCannotDeclareThisParameter)}if(e.type==="Identifier"&&e.optional){this.raise(this.state.pos,_e.SetAccesorCannotHaveOptionalParameter)}if(e.type==="RestElement"){this.raise(this.state.pos,_e.SetAccesorCannotHaveRestParameter)}}if(n.typeAnnotation){this.raise(n.typeAnnotation.start,_e.SetAccesorCannotHaveReturnType)}}else{n.kind="method"}return this.finishNode(n,"TSMethodSignature")}else{const e=r;if(t)e.readonly=true;const n=this.tsTryParseTypeAnnotation();if(n)e.typeAnnotation=n;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(u._new)){const t=this.startNode();this.next();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],_e.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e,false);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;this.parsePropertyName(e,false)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(u.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(u.braceR);return e}tsIsStartOfMappedType(){this.next();if(this.eat(u.plusMin)){return this.isContextual("readonly")}if(this.isContextual("readonly")){this.next()}if(!this.match(u.bracketL)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(u._in)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsExpectThenParseType(u._in);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(u.braceL);if(this.match(u.plusMin)){e.readonly=this.state.value;this.next();this.expectContextual("readonly")}else if(this.eatContextual("readonly")){e.readonly=true}this.expect(u.bracketL);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual("as")?this.tsParseType():null;this.expect(u.bracketR);if(this.match(u.plusMin)){e.optional=this.state.value;this.next();this.expect(u.question)}else if(this.eat(u.question)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(u.braceR);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let r=null;e.elementTypes.forEach(e=>{var n;let{type:s}=e;if(t&&s!=="TSRestType"&&s!=="TSOptionalType"&&!(s==="TSNamedTupleMember"&&e.optional)){this.raise(e.start,_e.OptionalTypeBeforeRequired)}t=t||s==="TSNamedTupleMember"&&e.optional||s==="TSOptionalType";if(s==="TSRestType"){e=e.typeAnnotation;s=e.type}const i=s==="TSNamedTupleMember";r=(n=r)!=null?n:i;if(r!==i){this.raise(e.start,_e.MixedLabeledAndUnlabeledElements)}});return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const r=this.eat(u.ellipsis);let n=this.tsParseType();const s=this.eat(u.question);const i=this.eat(u.colon);if(i){const e=this.startNodeAtNode(n);e.optional=s;if(n.type==="TSTypeReference"&&!n.typeParameters&&n.typeName.type==="Identifier"){e.label=n.typeName}else{this.raise(n.start,_e.InvalidTupleMemberLabel);e.label=n}e.elementType=this.tsParseType();n=this.finishNode(e,"TSNamedTupleMember")}else if(s){const e=this.startNodeAtNode(n);e.typeAnnotation=n;n=this.finishNode(e,"TSOptionalType")}if(r){const r=this.startNodeAt(e,t);r.typeAnnotation=n;n=this.finishNode(r,"TSRestType")}return n}tsParseParenthesizedType(){const e=this.startNode();this.expect(u.parenL);e.typeAnnotation=this.tsParseType();this.expect(u.parenR);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const r=this.startNode();if(e==="TSConstructorType"){r.abstract=!!t;if(t)this.next();this.next()}this.tsFillSignature(u.arrow,r);return this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case u.num:case u.bigint:case u.string:case u._true:case u._false:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case u.name:case u._void:case u._null:{const e=this.match(u._void)?"TSVoidKeyword":this.match(u._null)?"TSNullKeyword":keywordTypeFromName(this.state.value);if(e!==undefined&&this.lookaheadCharCode()!==46){const t=this.startNode();this.next();return this.finishNode(t,e)}return this.tsParseTypeReference()}case u.string:case u.num:case u.bigint:case u._true:case u._false:return this.tsParseLiteralTypeNode();case u.plusMin:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==u.num&&t.type!==u.bigint){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case u._this:return this.tsParseThisTypeOrThisTypePredicate();case u._typeof:return this.tsParseTypeQuery();case u._import:return this.tsParseImportType();case u.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case u.bracketL:return this.tsParseTupleType();case u.parenL:return this.tsParseParenthesizedType();case u.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(u.bracketL)){if(this.match(u.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(u.bracketR);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(u.bracketR);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(e){const t=this.startNode();this.expectContextual(e);t.operator=e;t.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(e==="readonly"){this.tsCheckTypeAnnotationForReadOnly(t)}return this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,_e.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();t.name=this.parseIdentifierName(t.start);e.typeParameter=this.finishNode(t,"TSTypeParameter");return this.finishNode(e,"TSInferType")}tsParseTypeOperatorOrHigher(){const e=["keyof","unique","readonly"].find(e=>this.isContextual(e));return e?this.tsParseTypeOperator(e):this.isContextual("infer")?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}tsParseUnionOrIntersectionType(e,t,r){const n=this.startNode();const s=this.eat(r);const i=[];do{i.push(t())}while(this.eat(r));if(i.length===1&&!s){return i[0]}n.types=i;return this.finishNode(n,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),u.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),u.bitwiseOR)}tsIsStartOfFunctionType(){if(this.isRelational("<")){return true}return this.match(u.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(u.name)||this.match(u._this)){this.next();return true}if(this.match(u.braceL)){let e=1;this.next();while(e>0){if(this.match(u.braceL)){++e}else if(this.match(u.braceR)){--e}this.next()}return true}if(this.match(u.bracketL)){let e=1;this.next();while(e>0){if(this.match(u.bracketL)){++e}else if(this.match(u.bracketR)){--e}this.next()}return true}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(u.parenR)||this.match(u.ellipsis)){return true}if(this.tsSkipParameterStart()){if(this.match(u.colon)||this.match(u.comma)||this.match(u.question)||this.match(u.eq)){return true}if(this.match(u.parenR)){this.next();if(this.match(u.arrow)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const r=this.startNode();const n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(u._this)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){r.parameterName=e;r.asserts=true;r.typeAnnotation=null;e=this.finishNode(r,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,r);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const s=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!s){if(!n){return this.tsParseTypeAnnotation(false,t)}r.parameterName=this.parseIdentifier();r.asserts=n;r.typeAnnotation=null;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsParseTypeAnnotation(false);r.parameterName=s;r.typeAnnotation=i;r.asserts=n;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(u.colon)?this.tsParseTypeOrTypePredicateAnnotation(u.colon):undefined}tsTryParseTypeAnnotation(){return this.match(u.colon)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(u.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(!this.match(u.name)||this.state.value!=="asserts"||this.hasPrecedingLineBreak()){return false}const e=this.state.containsEsc;this.next();if(!this.match(u.name)&&!this.match(u._this)){return false}if(e){this.raise(this.state.lastTokStart,y.InvalidEscapedReservedWord,"asserts")}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType(()=>{if(e)this.expect(u.colon);t.typeAnnotation=this.tsParseType()});return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(u._extends)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsParseNonConditionalType();this.expect(u.question);t.trueType=this.tsParseType();this.expect(u.colon);t.falseType=this.tsParseType();return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual("abstract")&&this.lookahead().type===u._new}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(u._new)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expectRelational(">");e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start;const r=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));if(!r.length){this.raise(t,_e.EmptyHeritageClauseType,e)}return r}tsParseExpressionWithTypeArguments(){const e=this.startNode();e.expression=this.tsParseEntityName(false);if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript interface declaration",te);e.typeParameters=this.tsTryParseTypeParameters();if(this.eat(u._extends)){e.extends=this.tsParseHeritageClause("extends")}const t=this.startNode();t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(t,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript type alias",re);e.typeParameters=this.tsTryParseTypeParameters();e.typeAnnotation=this.tsInType(()=>{this.expect(u.eq);if(this.isContextual("intrinsic")&&this.lookahead().type!==u.dot){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()});this.semicolon();return this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){const t=this.state.inType;this.state.inType=true;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>{e();return this.tsParseType()})}tsParseEnumMember(){const e=this.startNode();e.id=this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(u.eq)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){if(t)e.const=true;e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript enum declaration",t?oe:ne);this.expect(u.braceL);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(u.braceR);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(w);this.expect(u.braceL);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,u.braceR);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkLVal(e.id,"module or namespace declaration",le)}if(this.eat(u.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(k);this.prodParam.enter(we);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual("global")){e.global=true;e.id=this.parseIdentifier()}else if(this.match(u.string)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(u.braceL)){this.scope.enter(k);this.prodParam.enter(we);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkLVal(e.id,"import equals declaration",Q);this.expect(u.eq);const r=this.tsParseModuleReference();if(e.importKind==="type"&&r.type!=="TSExternalModuleReference"){this.raise(r.start,_e.ImportAliasHasImportType)}e.moduleReference=r;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual("require");this.expect(u.parenL);if(!this.match(u.string)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(u.parenR);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const r=e();this.state=t;return r}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const r=e();if(r!==undefined&&r!==false){return r}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let r;if(this.isContextual("let")){t=u._var;r="let"}return this.tsInAmbientContext(()=>{switch(t){case u._function:e.declare=true;return this.parseFunctionStatement(e,false,true);case u._class:e.declare=true;return this.parseClass(e,true,false);case u._const:if(this.match(u._const)&&this.isLookaheadContextual("enum")){this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}case u._var:r=r||this.state.value;return this.parseVarStatement(e,r);case u.name:{const t=this.state.value;if(t==="global"){return this.tsParseAmbientExternalModuleDeclaration(e)}else{return this.tsParseDeclaration(e,t,true)}}}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(u.braceL)){this.scope.enter(k);this.prodParam.enter(we);const r=e;r.global=true;r.id=t;r.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(u._class)||this.match(u.name))){return this.tsParseAbstractDeclaration(e)}break;case"enum":if(r||this.match(u.name)){if(r)this.next();return this.tsParseEnumDeclaration(e,false)}break;case"interface":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseInterfaceDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(u.string)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<")){return undefined}const r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const n=this.tsTryParseAndCatch(()=>{const r=this.startNodeAt(e,t);r.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(r);r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(u.arrow);return r});this.state.maybeInArrowParameters=r;if(!n){return undefined}return this.parseArrowExpression(n,null,true)}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType(()=>this.tsInNoContext(()=>{this.expectRelational("<");return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}));if(e.params.length===0){this.raise(e.start,_e.EmptyTypeArguments)}this.expectRelational(">");return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(u.name)){switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return true}}return false}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.start;const n=this.state.startLoc;let s;let i=false;let a=false;if(e!==undefined){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]);s=t.accessibility;a=t.override;i=t.readonly;if(e===false&&(s||i||a)){this.raise(r,_e.UnexpectedParameterModifier)}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(s||i||a){const e=this.startNodeAt(r,n);if(t.length){e.decorators=t}if(s)e.accessibility=s;if(i)e.readonly=i;if(a)e.override=a;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(e.start,_e.UnsupportedParameterPropertyKind)}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(u.colon)}const n=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"?"TSDeclareMethod":undefined;if(n&&!this.match(u.braceL)&&this.isLineTerminator()){this.finishNode(e,n);return}if(n==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(e.start,_e.DeclareFunctionHasImplementation);if(e.declare){super.parseFunctionBodyAndFinish(e,n,r);return}}super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkLVal(e.id,"function name",se)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(e.typeAnnotation.start,_e.UnexpectedTypeAnnotation)}})}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,r,n,s){if(!this.hasPrecedingLineBreak()&&this.match(u.bang)){this.state.exprAllowed=false;this.next();const n=this.startNodeAt(t,r);n.expression=e;return this.finishNode(n,"TSNonNullExpression")}if(this.isRelational("<")){const i=this.tsTryParseAndCatch(()=>{if(!n&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,r);if(e){return e}}const i=this.startNodeAt(t,r);i.callee=e;const a=this.tsParseTypeArguments();if(a){if(!n&&this.eat(u.parenL)){i.arguments=this.parseCallExpressionArguments(u.parenR,false);this.tsCheckForInvalidTypeCasts(i.arguments);i.typeParameters=a;if(s.optionalChainMember){i.optional=false}return this.finishCallExpression(i,s.optionalChainMember)}else if(this.match(u.backQuote)){const n=this.parseTaggedTemplateExpression(e,t,r,s);n.typeParameters=a;return n}}this.unexpected()});if(i)return i}return super.parseSubscript(e,t,r,n,s)}parseNewArguments(e){if(this.isRelational("<")){const t=this.tsTryParseAndCatch(()=>{const e=this.tsParseTypeArguments();if(!this.match(u.parenL))this.unexpected();return e});if(t){e.typeParameters=t}}super.parseNewArguments(e)}parseExprOp(e,t,r,n){if(nonNull(u._in.binop)>n&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const s=this.startNodeAt(t,r);s.expression=e;const i=this.tsTryNextParseConstantContext();if(i){s.typeAnnotation=i}else{s.typeAnnotation=this.tsNextThenParseType()}this.finishNode(s,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(s,t,r,n)}return super.parseExprOp(e,t,r,n)}checkReservedWord(e,t,r,n){}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(this.match(u.name)||this.match(u.star)||this.match(u.braceL)){let t=this.lookahead();if(this.isContextual("type")&&t.type!==u.comma&&!(t.type===u.name&&t.value==="from")&&t.type!==u.eq){e.importKind="type";this.next();t=this.lookahead()}if(this.match(u.name)&&t.type===u.eq){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(t.start,_e.TypeImportCannotSpecifyDefaultAndNamed)}return t}parseExport(e){if(this.match(u._import)){this.next();if(this.isContextual("type")&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(u.eq)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual("as")){const t=e;this.expectContextual("namespace");t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual("type")&&this.lookahead().type===u.braceL){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===u._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.state.value==="interface"){const e=this.tsParseDeclaration(this.startNode(),this.state.value,true);if(e)return e}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===u._const){const e=this.lookahead();if(e.type===u.name&&e.value==="enum"){const e=this.startNode();this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!e[t]})}parseClassMember(e,t,r){const n=["declare","private","public","protected","override","abstract","readonly"];this.tsParseModifiers(t,n.concat(["static"]));const s=()=>{const s=!!t.static;if(s&&this.eat(u.braceL)){if(this.tsHasSomeModifiers(t,n)){this.raise(this.state.pos,_e.StaticBlockCannotHaveModifier)}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,r,s)}};if(t.declare){this.tsInAmbientContext(s)}else{s()}}parseClassMemberWithIsStatic(e,t,r,n){const s=this.tsTryParseIndexSignature(t);if(s){e.body.push(s);if(t.abstract){this.raise(t.start,_e.IndexSignatureHasAbstract)}if(t.accessibility){this.raise(t.start,_e.IndexSignatureHasAccessibility,t.accessibility)}if(t.declare){this.raise(t.start,_e.IndexSignatureHasDeclare)}if(t.override){this.raise(t.start,_e.IndexSignatureHasOverride)}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(t.start,_e.NonAbstractClassHasAbstractMethod)}if(t.override){if(!r.hadSuperClass){this.raise(t.start,_e.OverrideNotInSubClass)}}super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){const t=this.eat(u.question);if(t)e.optional=true;if(e.readonly&&this.match(u.parenL)){this.raise(e.start,_e.ClassMethodHasReadonly)}if(e.declare&&this.match(u.parenL)){this.raise(e.start,_e.ClassMethodHasDeclare)}}parseExpressionStatement(e,t){const r=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return r||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,r,n){if(!n||!this.match(u.question)){return super.parseConditional(e,t,r,n)}const s=this.tryParse(()=>super.parseConditional(e,t,r));if(!s.node){n.start=s.error.pos||this.state.start;return e}if(s.error)this.state=s.failState;return s.node}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start;const r=this.state.startLoc;const n=this.eatContextual("declare");if(n&&(this.isContextual("declare")||!this.shouldParseExportDeclaration())){throw this.raise(this.state.start,_e.ExpectedAmbientAfterExportDeclare)}let s;if(this.match(u.name)){s=this.tsTryParseExportDeclaration()}if(!s){s=super.parseExportDeclaration(e)}if(s&&(s.type==="TSInterfaceDeclaration"||s.type==="TSTypeAliasDeclaration"||n)){e.exportKind="type"}if(s&&n){this.resetStartLocation(s,t,r);s.declare=true}return s}parseClassId(e,t,r){if((!t||r)&&this.isContextual("implements")){return}super.parseClassId(e,t,r,e.declare?se:H);const n=this.tsTryParseTypeParameters();if(n)e.typeParameters=n}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(u.bang)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(u.eq)){this.raise(this.state.start,_e.DeclareClassFieldHasInitializer)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(e.start,_e.PrivateElementHasAbstract)}if(e.accessibility){this.raise(e.start,_e.PrivateElementHasAccessibility,e.accessibility)}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,n,s,i){const a=this.tsTryParseTypeParameters();if(a&&s){this.raise(a.start,_e.ConstructorHasTypeParameters)}if(t.declare&&(t.kind==="get"||t.kind==="set")){this.raise(t.start,_e.DeclareAccessor,t.kind)}if(a)t.typeParameters=a;super.pushClassMethod(e,t,r,n,s,i)}pushClassPrivateMethod(e,t,r,n){const s=this.tsTryParseTypeParameters();if(s)t.typeParameters=s;super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.tsParseTypeArguments()}if(this.eatContextual("implements")){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&this.eat(u.bang)){e.definite=true}const r=this.tsTryParseTypeAnnotation();if(r){e.id.typeAnnotation=r;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(u.colon)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,r,n,s,i,a,o;let l;let p;let f;if(this.hasPlugin("jsx")&&(this.match(u.jsxTagStart)||this.isRelational("<"))){l=this.state.clone();p=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!p.error)return p.node;const{context:t}=this.state;if(t[t.length-1]===h.j_oTag){t.length-=2}else if(t[t.length-1]===h.j_expr){t.length-=1}}if(!((t=p)!=null&&t.error)&&!this.isRelational("<")){return super.parseMaybeAssign(...e)}let c;l=l||this.state.clone();const d=this.tryParse(t=>{var r,n;c=this.tsParseTypeParameters();const s=super.parseMaybeAssign(...e);if(s.type!=="ArrowFunctionExpression"||(r=s.extra)!=null&&r.parenthesized){t()}if(((n=c)==null?void 0:n.params.length)!==0){this.resetStartLocationFromNode(s,c)}s.typeParameters=c;return s},l);if(!d.error&&!d.aborted)return d.node;if(!p){assert(!this.hasPlugin("jsx"));f=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!f.error)return f.node}if((r=p)!=null&&r.node){this.state=p.failState;return p.node}if(d.node){this.state=d.failState;return d.node}if((n=f)!=null&&n.node){this.state=f.failState;return f.node}if((s=p)!=null&&s.thrown)throw p.error;if(d.thrown)throw d.error;if((i=f)!=null&&i.thrown)throw f.error;throw((a=p)==null?void 0:a.error)||d.error||((o=f)==null?void 0:o.error)}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.isRelational("<")){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(u.colon);if(this.canInsertSemicolon()||!this.match(u.arrow))e();return t});if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(e.start,_e.PatternIsOptional)}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}toAssignable(e,t=false){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...r){var n;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...r);return;case"TSAsExpression":case"TSTypeAssertion":if(!r[0]&&t!=="parenthesized expression"&&!((n=e.extra)!=null&&n.parenthesized)){this.raise(e.start,y.InvalidLhs,t);break}this.checkLVal(e.expression,"parenthesized expression",...r);return;case"TSNonNullExpression":this.checkLVal(e.expression,t,...r);return;default:super.checkLVal(e,t,...r);return}}parseBindingAtom(){switch(this.state.type){case u._this:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(u.parenL)){const r=super.parseMaybeDecoratorArguments(e);r.typeParameters=t;return r}this.unexpected(this.state.start,u.parenL)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(u.comma)&&this.lookaheadCharCode()===e){this.next()}else{super.checkCommaAfterRest(e)}}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.bang)||this.match(u.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.startthis.tsParseTypeArguments());if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const n=r[0];const s=n&&this.isThisParam(n);return s?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,...t){const r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,...t)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e){if(this.match(u._class)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual("interface")){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(e.start,_e.NonClassMethodPropertyHasAbstractModifer);this.next();return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,u._class)}}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(t.start,_e.AbstractMethodHasImplementation,e.type==="Identifier"?e.name:`[${this.input.slice(e.start,e.end)}]`)}}return t}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}});u.placeholder=new TokenType("%%",{startsExpr:true});const Fe=makeErrorTemplates({ClassNameIsRequired:"A class name is required."},d.SyntaxError);var Be=e=>(class extends e{parsePlaceholder(e){if(this.match(u.placeholder)){const t=this.startNode();this.next();this.assertNoSpace("Unexpected space in placeholder.");t.name=super.parseIdentifier(true);this.assertNoSpace("Unexpected space in placeholder.");this.expect(u.placeholder);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(u.placeholder,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){if(e.type!=="Placeholder")super.checkLVal(...arguments)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern";return e}return super.toAssignable(...arguments)}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual("let")){return false}if(e)return false;const t=this.lookahead();if(t.type===u.placeholder){return true}return false}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(u.colon)){const r=e;r.label=this.finishPlaceholder(t,"Identifier");this.next();r.body=this.parseStatement("label");return this.finishNode(r,"LabeledStatement")}this.semicolon();e.name=t.name;return this.finishPlaceholder(e,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(e,t,r){const n=t?"ClassDeclaration":"ClassExpression";this.next();this.takeDecorators(e);const s=this.state.strict;const i=this.parsePlaceholder("Identifier");if(i){if(this.match(u._extends)||this.match(u.placeholder)||this.match(u.braceL)){e.id=i}else if(r||!t){e.id=null;e.body=this.finishPlaceholder(i,"ClassBody");return this.finishNode(e,n)}else{this.unexpected(null,Fe.ClassNameIsRequired)}}else{this.parseClassId(e,t,r)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,s);return this.finishNode(e,n)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(u.comma)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const r=this.startNode();r.exported=t;e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(u._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(u.placeholder.label,this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter(e=>e.exported.type==="Placeholder")}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual("from")&&!this.match(u.comma)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const r=this.startNodeAtNode(t);r.local=t;this.finishNode(r,"ImportDefaultSpecifier");e.specifiers.push(r);if(this.eat(u.comma)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual("from");e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}});var ke=e=>(class extends e{parseV8Intrinsic(){if(this.match(u.modulo)){const e=this.state.start;const t=this.startNode();this.eat(u.modulo);if(this.match(u.name)){const e=this.parseIdentifierName(this.state.start);const r=this.createIdentifier(t,e);r.type="V8IntrinsicIdentifier";if(this.match(u.parenL)){return r}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}});function hasPlugin(e,t){return e.some(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}})}function getPluginOption(e,t,r){const n=e.find(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}});if(n&&Array.isArray(n)){return n[1][r]}return null}const Re=["minimal","smart","fsharp"];const Ke=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option,"+" whose value must be a boolean. If you are migrating from"+" Babylon/Babel 6 or want to use the old decorators proposal, you"+" should use the 'decorators-legacy' plugin instead of 'decorators'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")&&!Re.includes(getPluginOption(e,"pipelineOperator","proposal"))){throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: "+Re.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}}if(hasPlugin(e,"recordAndTuple")&&!Ke.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Ke.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const Ve={estree:T,jsx:De,flow:xe,typescript:Me,v8intrinsic:ke,placeholders:Be};const Xe=Object.keys(Ve);const Ye={sourceType:"script",sourceFilename:undefined,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false};function getOptions(e){const t={};for(const r of Object.keys(Ye)){t[r]=e&&e[r]!=null?e[r]:Ye[r]}return t}var Je=function isDigit(e){return e>=48&&e<=57};const Ue=new Set([103,109,115,105,121,117,100]);const We={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]};const qe={};qe.bin=[48,49];qe.oct=[...qe.bin,50,51,52,53,54,55];qe.dec=[...qe.oct,56,57];qe.hex=[...qe.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends ParserError{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(this.state))}this.state.lastTokEnd=this.state.end;this.state.lastTokStart=this.state.start;this.state.lastTokEndLoc=this.state.endLoc;this.state.lastTokStartLoc=this.state.startLoc;this.nextToken()}eat(e){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){c.lastIndex=e;const t=c.exec(this.input);return e+t[0].length}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(t,e));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(!e.preserveSpace)this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(u.eof);return}if(e===h.template){this.readTmplToken()}else{this.getTokenFromCode(this.codePointAtPos(this.state.pos))}}pushComment(e,t,r,n,s,i){const a={type:e?"CommentBlock":"CommentLine",value:t,start:r,end:n,loc:new SourceLocation(s,i)};if(this.options.tokens)this.pushToken(a);this.state.comments.push(a);this.addComment(a)}skipBlockComment(){let e;if(!this.isLookahead)e=this.state.curPosition();const t=this.state.pos;const r=this.input.indexOf("*/",this.state.pos+2);if(r===-1)throw this.raise(t,y.UnterminatedComment);this.state.pos=r+2;f.lastIndex=t;let n;while((n=f.exec(this.input))&&n.index=48&&t<=57){throw this.raise(this.state.pos,y.UnexpectedDigitAfterHash)}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(this.state.pos,t===123?y.RecordExpressionHashIncorrectStartSyntaxType:y.TupleExpressionHashIncorrectStartSyntaxType)}this.state.pos+=2;if(t===123){this.finishToken(u.braceHashL)}else{this.finishToken(u.bracketHashL)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(u.privateName,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(u.privateName,this.readWord1())}else{this.finishOp(u.hash,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(u.ellipsis)}else{++this.state.pos;this.finishToken(u.dot)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(u.slashAssign,2)}else{this.finishOp(u.slash,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos=48&&t<=57)){this.state.pos+=2;this.finishToken(u.questionDot)}else{++this.state.pos;this.finishToken(u.question)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(u.parenL);return;case 41:++this.state.pos;this.finishToken(u.parenR);return;case 59:++this.state.pos;this.finishToken(u.semi);return;case 44:++this.state.pos;this.finishToken(u.comma);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,y.TupleExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.bracketBarL)}else{++this.state.pos;this.finishToken(u.bracketL)}return;case 93:++this.state.pos;this.finishToken(u.bracketR);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,y.RecordExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.braceBarL)}else{++this.state.pos;this.finishToken(u.braceL)}return;case 125:++this.state.pos;this.finishToken(u.braceR);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(u.doubleColon,2)}else{++this.state.pos;this.finishToken(u.colon)}return;case 63:this.readToken_question();return;case 96:++this.state.pos;this.finishToken(u.backQuote);return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:case 62:this.readToken_lt_gt(e);return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(u.tilde,1);return;case 64:++this.state.pos;this.finishToken(u.at);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(this.state.pos,y.InvalidOrUnexpectedToken,String.fromCodePoint(e))}finishOp(e,t){const r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t;this.finishToken(e,r)}readRegexp(){const e=this.state.start+1;let t,r;let{pos:n}=this.state;for(;;++n){if(n>=this.length){throw this.raise(e,y.UnterminatedRegExp)}const s=this.input.charCodeAt(n);if(isNewLine(s)){throw this.raise(e,y.UnterminatedRegExp)}if(t){t=false}else{if(s===91){r=true}else if(s===93&&r){r=false}else if(s===47&&!r){break}t=s===92}}const s=this.input.slice(e,n);++n;let i="";while(n-1||i.indexOf(t)>-1||Number.isNaN(t)){this.raise(this.state.pos,y.UnexpectedNumericSeparator)}if(!n){this.raise(this.state.pos,y.NumericSeparatorInEscapeSequence)}++this.state.pos;continue}if(t>=97){u=t-97+10}else if(t>=65){u=t-65+10}else if(Je(t)){u=t-48}else{u=Infinity}if(u>=e){if(this.options.errorRecovery&&u<=9){u=0;this.raise(this.state.start+s+2,y.InvalidDigit,e)}else if(r){u=0;o=true}else{break}}++this.state.pos;l=l*e+u}if(this.state.pos===s||t!=null&&this.state.pos-s!==t||o){return null}return l}readRadixNumber(e){const t=this.state.pos;let r=false;this.state.pos+=2;const n=this.readInt(e);if(n==null){this.raise(this.state.start+2,y.InvalidDigit,e)}const s=this.input.charCodeAt(this.state.pos);if(s===110){++this.state.pos;r=true}else if(s===109){throw this.raise(t,y.InvalidDecimal)}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,y.NumberIdentifier)}if(r){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(u.bigint,e);return}this.finishToken(u.num,n)}readNumber(e){const t=this.state.pos;let r=false;let n=false;let s=false;let i=false;let a=false;if(!e&&this.readInt(10)===null){this.raise(t,y.InvalidNumber)}const o=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(o){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(t,y.StrictOctalLiteral);if(!this.state.strict){const r=e.indexOf("_");if(r>0){this.raise(r+t,y.ZeroDigitNumericSeparator)}}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!a){++this.state.pos;this.readInt(10);r=true;l=this.input.charCodeAt(this.state.pos)}if((l===69||l===101)&&!a){l=this.input.charCodeAt(++this.state.pos);if(l===43||l===45){++this.state.pos}if(this.readInt(10)===null){this.raise(t,y.InvalidOrMissingExponent)}r=true;i=true;l=this.input.charCodeAt(this.state.pos)}if(l===110){if(r||o){this.raise(t,y.InvalidBigIntLiteral)}++this.state.pos;n=true}if(l===109){this.expectPlugin("decimal",this.state.pos);if(i||o){this.raise(t,y.InvalidDecimal)}++this.state.pos;s=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,y.NumberIdentifier)}const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n){this.finishToken(u.bigint,p);return}if(s){this.finishToken(u.decimal,p);return}const f=a?parseInt(p,8):parseFloat(p);this.finishToken(u.num,f)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let r;if(t===123){const t=++this.state.pos;r=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(r!==null&&r>1114111){if(e){this.raise(t,y.InvalidCodePoint)}else{return null}}}else{r=this.readHexChar(4,false,e)}return r}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===92){t+=this.input.slice(r,this.state.pos);t+=this.readEscapedChar(false);r=this.state.pos}else if(n===8232||n===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(n)){throw this.raise(this.state.start,y.UnterminatedString)}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);this.finishToken(u.string,t)}readTmplToken(){let e="",t=this.state.pos,r=false;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedTemplate)}const n=this.input.charCodeAt(this.state.pos);if(n===96||n===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(u.template)){if(n===36){this.state.pos+=2;this.finishToken(u.dollarBraceL);return}else{++this.state.pos;this.finishToken(u.backQuote);return}}e+=this.input.slice(t,this.state.pos);this.finishToken(u.template,r?null:e);return}if(n===92){e+=this.input.slice(t,this.state.pos);const n=this.readEscapedChar(true);if(n===null){r=true}else{e+=n}t=this.state.pos}else if(isNewLine(n)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(n){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(n);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,t){if(this.state.strict&&!this.state.strictErrors.has(e)){this.raise(e,t)}else{this.state.strictErrors.set(e,t)}}readEscapedChar(e){const t=!e;const r=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(r){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:this.state.lineStart=this.state.pos;++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(e){return null}else{this.recordStrictModeErrors(this.state.pos-1,y.StrictNumericEscape)}default:if(r>=48&&r<=55){const t=this.state.pos-1;const r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let n=r[0];let s=parseInt(n,8);if(s>255){n=n.slice(0,-1);s=parseInt(n,8)}this.state.pos+=n.length-1;const i=this.input.charCodeAt(this.state.pos);if(n!=="0"||i===56||i===57){if(e){return null}else{this.recordStrictModeErrors(t,y.StrictNumericEscape)}}return String.fromCharCode(s)}return String.fromCharCode(r)}}readHexChar(e,t,r){const n=this.state.pos;const s=this.readInt(16,e,t,false);if(s===null){if(r){this.raise(n,y.InvalidEscapeSequence)}else{this.state.pos=n-1}}return s}readWord1(e){this.state.containsEsc=false;let t="";const r=this.state.pos;let n=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos{this.raise(r,t);let n=e.length-2;let s=e[n];while(s.canBeArrowParameterDeclaration()){s.clearDeclarationError(r);s=e[--n]}})}}function newParameterDeclarationScope(){return new ExpressionScope(He)}function newArrowHeadScope(){return new ArrowHeadParsingScope(Ge)}function newAsyncArrowScope(){return new ArrowHeadParsingScope($e)}function newExpressionScope(){return new ExpressionScope}class UtilParser extends Tokenizer{addExtra(e,t,r){if(!e)return;const n=e.extra=e.extra||{};n[t]=r}isRelational(e){return this.match(u.relational)&&this.state.value===e}expectRelational(e){if(this.isRelational(e)){this.next()}else{this.unexpected(null,u.relational)}}isContextual(e){return this.match(u.name)&&this.state.value===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;if(this.input.slice(e,r)===t){const e=this.input.charCodeAt(r);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)&&this.eat(u.name)}expectContextual(e,t){if(!this.eatContextual(e))this.unexpected(null,t)}canInsertSemicolon(){return this.match(u.eof)||this.match(u.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return p.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){return p.test(this.input.slice(this.state.end,this.nextTokenStart()))}isLineTerminator(){return this.eat(u.semi)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(u.semi))return;this.raise(this.state.lastTokEnd,y.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){if(this.state.start>this.state.lastTokEnd){this.raise(this.state.lastTokEnd,{code:d.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}}unexpected(e,t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){if(t instanceof TokenType){t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${t.label}"`}}throw this.raise(e!=null?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e)){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`)}return true}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e))){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:e},`This experimental syntax requires enabling one of the following parser plugin(s): '${e.join(", ")}'`)}}tryParse(e,t=this.state.clone()){const r={node:null};try{const n=e((e=null)=>{r.node=e;throw r});if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:n,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:n,error:null,thrown:false,aborted:false,failState:null}}catch(e){const n=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:n}}if(e===r){return{node:r.node,error:null,thrown:false,aborted:true,failState:n}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssign:r,doubleProto:n}=e;if(!t)return r>=0||n>=0;if(r>=0){this.unexpected(r)}if(n>=0){this.raise(n,y.DuplicateProto)}}isLiteralPropertyName(){return this.match(u.name)||!!this.state.type.keyword||this.match(u.string)||this.match(u.num)||this.match(u.bigint)||this.match(u.decimal)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const n=this.inModule;this.inModule=e;const s=this.scope;const i=this.getScopeHandler();this.scope=new i(this.raise.bind(this),this.inModule);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this.raise.bind(this));const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this.raise.bind(this));return()=>{this.state.labels=t;this.exportedIdentifiers=r;this.inModule=n;this.scope=s;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=we;if(this.hasPlugin("topLevelAwait")&&this.inModule){e|=Ne}this.scope.enter(j);this.prodParam.enter(e)}}class ExpressionErrors{constructor(){this.shorthandAssign=-1;this.doubleProto=-1}}class Node{constructor(e,t,r){this.type=void 0;this.start=void 0;this.end=void 0;this.loc=void 0;this.range=void 0;this.leadingComments=void 0;this.trailingComments=void 0;this.innerComments=void 0;this.extra=void 0;this.type="";this.start=t;this.end=0;this.loc=new SourceLocation(r);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}__clone(){const e=new Node;const t=Object.keys(this);for(let r=0,n=t.length;r{return e.type==="ParenthesizedExpression"?Qe(e.expression):e};class LValParser extends NodeUtils{toAssignable(e,t=false){var r,n;let s=undefined;if(e.type==="ParenthesizedExpression"||(r=e.extra)!=null&&r.parenthesized){s=Qe(e);if(t){if(s.type==="Identifier"){this.expressionScope.recordParenthesizedIdentifierError(e.start,y.InvalidParenthesizedAssignment)}else if(s.type!=="MemberExpression"){this.raise(e.start,y.InvalidParenthesizedAssignment)}}else{this.raise(e.start,y.InvalidParenthesizedAssignment)}}switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":break;case"ObjectExpression":e.type="ObjectPattern";for(let r=0,n=e.properties.length,s=n-1;rthis.parseExpressionBase(t))}return this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start;const r=this.state.startLoc;const n=this.parseMaybeAssign(e);if(this.match(u.comma)){const s=this.startNodeAt(t,r);s.expressions=[n];while(this.eat(u.comma)){s.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(s.expressions);return this.finishNode(s,"SequenceExpression")}return n}parseMaybeAssignDisallowIn(e,t,r){return this.disallowInAnd(()=>this.parseMaybeAssign(e,t,r))}parseMaybeAssignAllowIn(e,t,r){return this.allowInAnd(()=>this.parseMaybeAssign(e,t,r))}parseMaybeAssign(e,t,r){const n=this.state.start;const s=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,n,s)}return e}}let i;if(e){i=false}else{e=new ExpressionErrors;i=true}if(this.match(u.parenL)||this.match(u.name)){this.state.potentialArrowAt=this.state.start}let a=this.parseMaybeConditional(e,r);if(t){a=t.call(this,a,n,s)}if(this.state.type.isAssign){const t=this.startNodeAt(n,s);const r=this.state.value;t.operator=r;if(this.match(u.eq)){t.left=this.toAssignable(a,true);e.doubleProto=-1}else{t.left=a}if(e.shorthandAssign>=t.left.start){e.shorthandAssign=-1}this.checkLVal(a,"assignment expression");this.next();t.right=this.parseMaybeAssign();return this.finishNode(t,"AssignmentExpression")}else if(i){this.checkExpressionErrors(e,true)}return a}parseMaybeConditional(e,t){const r=this.state.start;const n=this.state.startLoc;const s=this.state.potentialArrowAt;const i=this.parseExprOps(e);if(this.shouldExitDescending(i,s)){return i}return this.parseConditional(i,r,n,t)}parseConditional(e,t,r,n){if(this.eat(u.question)){const n=this.startNodeAt(t,r);n.test=e;n.consequent=this.parseMaybeAssignAllowIn();this.expect(u.colon);n.alternate=this.parseMaybeAssign();return this.finishNode(n,"ConditionalExpression")}return e}parseExprOps(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const s=this.parseMaybeUnary(e);if(this.shouldExitDescending(s,n)){return s}return this.parseExprOp(s,t,r,-1)}parseExprOp(e,t,r,n){let s=this.state.type.binop;if(s!=null&&(this.prodParam.hasIn||!this.match(u._in))){if(s>n){const i=this.state.type;if(i===u.pipeline){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.state.inPipeline=true;this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,r);a.left=e;a.operator=this.state.value;const o=i===u.logicalOR||i===u.logicalAND;const l=i===u.nullishCoalescing;if(l){s=u.logicalAND.binop}this.next();if(i===u.pipeline&&this.getPluginOption("pipelineOperator","proposal")==="minimal"){if(this.match(u.name)&&this.state.value==="await"&&this.prodParam.hasAwait){throw this.raise(this.state.start,y.UnexpectedAwaitAfterPipelineBody)}}a.right=this.parseExprOpRightExpr(i,s);this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");const p=this.state.type;if(l&&(p===u.logicalOR||p===u.logicalAND)||o&&p===u.nullishCoalescing){throw this.raise(this.state.start,y.MixingCoalesceWithLogical)}return this.parseExprOp(a,t,r,n)}}return e}parseExprOpRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;switch(e){case u.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"smart":return this.withTopicPermittingContext(()=>{return this.parseSmartPipelineBody(this.parseExprOpBaseRightExpr(e,t),r,n)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(t)})}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),r,n,e.rightAssociative?t-1:t)}checkExponentialAfterUnary(e){if(this.match(u.exponent)){this.raise(e.argument.start,y.UnexpectedTokenUnaryExponentiation)}}parseMaybeUnary(e,t){const r=this.state.start;const n=this.state.startLoc;const s=this.isContextual("await");if(s&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r,n);if(!t)this.checkExponentialAfterUnary(e);return e}if(this.isContextual("module")&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak()){return this.parseModuleExpression()}const i=this.match(u.incDec);const a=this.startNode();if(this.state.type.prefix){a.operator=this.state.value;a.prefix=true;if(this.match(u._throw)){this.expectPlugin("throwExpressions")}const r=this.match(u._delete);this.next();a.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&r){const e=a.argument;if(e.type==="Identifier"){this.raise(a.start,y.StrictDelete)}else if(this.hasPropertyAsPrivateName(e)){this.raise(a.start,y.DeletePrivateField)}}if(!i){if(!t)this.checkExponentialAfterUnary(a);return this.finishNode(a,"UnaryExpression")}}const o=this.parseUpdate(a,i,e);if(s){const e=this.hasPlugin("v8intrinsic")?this.state.type.startsExpr:this.state.type.startsExpr&&!this.match(u.modulo);if(e&&!this.isAmbiguousAwait()){this.raiseOverwrite(r,this.hasPlugin("topLevelAwait")?y.AwaitNotInAsyncContext:y.AwaitNotInAsyncFunction);return this.parseAwait(r,n)}}return o}parseUpdate(e,t,r){if(t){this.checkLVal(e.argument,"prefix operation");return this.finishNode(e,"UpdateExpression")}const n=this.state.start;const s=this.state.startLoc;let i=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,false))return i;while(this.state.type.postfix&&!this.canInsertSemicolon()){const e=this.startNodeAt(n,s);e.operator=this.state.value;e.prefix=false;e.argument=i;this.checkLVal(i,"postfix operation");this.next();i=this.finishNode(e,"UpdateExpression")}return i}parseExprSubscripts(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const s=this.parseExprAtom(e);if(this.shouldExitDescending(s,n)){return s}return this.parseSubscripts(s,t,r)}parseSubscripts(e,t,r,n){const s={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,r,n,s);s.maybeAsyncArrow=false}while(!s.stop);return e}parseSubscript(e,t,r,n,s){if(!n&&this.eat(u.doubleColon)){return this.parseBind(e,t,r,n,s)}else if(this.match(u.backQuote)){return this.parseTaggedTemplateExpression(e,t,r,s)}let i=false;if(this.match(u.questionDot)){if(n&&this.lookaheadCharCode()===40){s.stop=true;return e}s.optionalChainMember=i=true;this.next()}if(!n&&this.match(u.parenL)){return this.parseCoverCallAndAsyncArrowHead(e,t,r,s,i)}else if(i||this.match(u.bracketL)||this.eat(u.dot)){return this.parseMember(e,t,r,s,i)}else{s.stop=true;return e}}parseMember(e,t,r,n,s){const i=this.startNodeAt(t,r);const a=this.eat(u.bracketL);i.object=e;i.computed=a;const o=!a&&this.match(u.privateName)&&this.state.value;const l=a?this.parseExpression():o?this.parsePrivateName():this.parseIdentifier(true);if(o!==false){if(i.object.type==="Super"){this.raise(t,y.SuperPrivateField)}this.classScope.usePrivateName(o,l.start)}i.property=l;if(a){this.expect(u.bracketR)}if(n.optionalChainMember){i.optional=s;return this.finishNode(i,"OptionalMemberExpression")}else{return this.finishNode(i,"MemberExpression")}}parseBind(e,t,r,n,s){const i=this.startNodeAt(t,r);i.object=e;i.callee=this.parseNoCallExpr();s.stop=true;return this.parseSubscripts(this.finishNode(i,"BindExpression"),t,r,n)}parseCoverCallAndAsyncArrowHead(e,t,r,n,s){const i=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,r);o.callee=e;if(n.maybeAsyncArrow){this.expressionScope.enter(newAsyncArrowScope());a=new ExpressionErrors}if(n.optionalChainMember){o.optional=s}if(s){o.arguments=this.parseCallExpressionArguments(u.parenR)}else{o.arguments=this.parseCallExpressionArguments(u.parenR,e.type==="Import",e.type!=="Super",o,a)}this.finishCallExpression(o,n.optionalChainMember);if(n.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!s){n.stop=true;this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),o)}else{if(n.maybeAsyncArrow){this.checkExpressionErrors(a,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=i;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,n){const s=this.startNodeAt(t,r);s.tag=e;s.quasi=this.parseTemplate(true);if(n.optionalChainMember){this.raise(t,y.OptionalChainingNoTemplate)}return this.finishNode(s,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(e.start,y.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument")}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(t.start,y.ImportCallSpreadArgument)}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,s){const i=[];let a=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(this.state.lastTokStart,y.ImportCallArgumentTrailingComma)}if(n){this.addExtra(n,"trailingComma",this.state.lastTokStart)}this.next();break}}i.push(this.parseExprListItem(false,s,{start:0},r))}this.state.inFSharpPipelineDirectBody=o;return i}shouldParseAsyncArrow(){return this.match(u.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;this.expect(u.arrow);this.parseArrowExpression(e,t.arguments,true,(r=t.extra)==null?void 0:r.trailingComma);return e}parseNoCallExpr(){const e=this.state.start;const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,true)}parseExprAtom(e){let t;switch(this.state.type){case u._super:return this.parseSuper();case u._import:t=this.startNode();this.next();if(this.match(u.dot)){return this.parseImportMetaProperty(t)}if(!this.match(u.parenL)){this.raise(this.state.lastTokStart,y.UnsupportedImport)}return this.finishNode(t,"Import");case u._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case u.name:{const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const r=this.parseIdentifier();if(!t&&r.name==="async"&&!this.canInsertSemicolon()){if(this.match(u._function)){this.next();return this.parseFunction(this.startNodeAtNode(r),undefined,true)}else if(this.match(u.name)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(r)}else{return r}}else if(this.match(u._do)){return this.parseDo(true)}}if(e&&this.match(u.arrow)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(r),[r],false)}return r}case u._do:{return this.parseDo(false)}case u.slash:case u.slashAssign:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case u.num:return this.parseNumericLiteral(this.state.value);case u.bigint:return this.parseBigIntLiteral(this.state.value);case u.decimal:return this.parseDecimalLiteral(this.state.value);case u.string:return this.parseStringLiteral(this.state.value);case u._null:return this.parseNullLiteral();case u._true:return this.parseBooleanLiteral(true);case u._false:return this.parseBooleanLiteral(false);case u.parenL:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case u.bracketBarL:case u.bracketHashL:{return this.parseArrayLike(this.state.type===u.bracketBarL?u.bracketBarR:u.bracketR,false,true,e)}case u.bracketL:{return this.parseArrayLike(u.bracketR,true,false,e)}case u.braceBarL:case u.braceHashL:{return this.parseObjectLike(this.state.type===u.braceBarL?u.braceBarR:u.braceR,false,true,e)}case u.braceL:{return this.parseObjectLike(u.braceR,false,false,e)}case u._function:return this.parseFunctionOrFunctionSent();case u.at:this.parseDecorators();case u._class:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case u._new:return this.parseNewOrNewTarget();case u.backQuote:return this.parseTemplate(false);case u.doubleColon:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(e.start,y.UnsupportedBind)}}case u.privateName:{const e=this.state.start;const r=this.state.value;t=this.parsePrivateName();if(this.match(u._in)){this.expectPlugin("privateIn");this.classScope.usePrivateName(r,t.start)}else if(this.hasPlugin("privateIn")){this.raise(this.state.start,y.PrivateInExpectedIn,r)}else{throw this.unexpected(e)}return t}case u.hash:{if(this.state.inPipeline){t=this.startNode();if(this.getPluginOption("pipelineOperator","proposal")!=="smart"){this.raise(t.start,y.PrimaryTopicRequiresSmartPipeline)}this.next();if(!this.primaryTopicReferenceIsAllowedInCurrentTopicContext()){this.raise(t.start,y.PrimaryTopicNotAllowed)}this.registerTopicReference();return this.finishNode(t,"PipelinePrimaryTopicReference")}}case u.relational:{if(this.state.value==="<"){const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}}}default:throw this.unexpected()}}parseAsyncArrowUnaryFunction(e){const t=this.startNodeAtNode(e);this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const r=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(this.state.pos,y.LineTerminatorBeforeArrow)}this.expect(u.arrow);this.parseArrowExpression(t,r,true);return t}parseDo(e){this.expectPlugin("doExpressions");if(e){this.expectPlugin("asyncDoExpressions")}const t=this.startNode();t.async=e;this.next();const r=this.state.labels;this.state.labels=[];if(e){this.prodParam.enter(Ne);t.body=this.parseBlock();this.prodParam.exit()}else{t.body=this.parseBlock()}this.state.labels=r;return this.finishNode(t,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(u.parenL)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,y.SuperNotAllowed)}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,y.UnexpectedSuper)}if(!this.match(u.parenL)&&!this.match(u.bracketL)&&!this.match(u.dot)){this.raise(e.start,y.UnsupportedSuper)}return this.finishNode(e,"Super")}parseMaybePrivateName(e){const t=this.match(u.privateName);if(t){if(!e){this.raise(this.state.start+1,y.UnexpectedPrivateField)}return this.parsePrivateName()}else{return this.parseIdentifier(true)}}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(this.state.start+1,new Position(this.state.curLine,this.state.start+1-this.state.lineStart));const r=this.state.value;this.next();e.id=this.createIdentifier(t,r);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;if(t.name==="function"&&r==="sent"){if(this.isContextual(r)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}}const n=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==r||n){this.raise(e.property.start,y.UnsupportedMetaProperty,t.name,r)}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual("meta")){if(!this.inModule){this.raise(t.start,m.ImportMetaOutsideModule)}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){this.addExtra(r,"rawValue",e);this.addExtra(r,"raw",this.input.slice(r.start,this.state.end));r.value=e;this.next();return this.finishNode(r,t)}parseLiteral(e,t){const r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start;const r=this.state.startLoc;let n;this.next();this.expressionScope.enter(newArrowHeadScope());const s=this.state.maybeInArrowParameters;const i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const a=this.state.start;const o=this.state.startLoc;const l=[];const p=new ExpressionErrors;const f={start:0};let c=true;let d;let y;while(!this.match(u.parenR)){if(c){c=false}else{this.expect(u.comma,f.start||null);if(this.match(u.parenR)){y=this.state.start;break}}if(this.match(u.ellipsis)){const e=this.state.start;const t=this.state.startLoc;d=this.state.start;l.push(this.parseParenItem(this.parseRestBinding(),e,t));this.checkCommaAfterRest(41);break}else{l.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem,f))}}const m=this.state.lastTokEnd;const T=this.state.lastTokEndLoc;this.expect(u.parenR);this.state.maybeInArrowParameters=s;this.state.inFSharpPipelineDirectBody=i;let h=this.startNodeAt(t,r);if(e&&this.shouldParseArrow()&&(h=this.parseArrow(h))){this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(h,l,false);return h}this.expressionScope.exit();if(!l.length){this.unexpected(this.state.lastTokStart)}if(y)this.unexpected(y);if(d)this.unexpected(d);this.checkExpressionErrors(p,true);if(f.start)this.unexpected(f.start);this.toReferencedListDeep(l,true);if(l.length>1){n=this.startNodeAt(a,o);n.expressions=l;this.finishNodeAt(n,"SequenceExpression",m,T)}else{n=l[0]}if(!this.options.createParenthesizedExpressions){this.addExtra(n,"parenthesized",true);this.addExtra(n,"parenStart",t);return n}const S=this.startNodeAt(t,r);S.expression=n;this.finishNode(S,"ParenthesizedExpression");return S}shouldParseArrow(){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(u.arrow)){return e}}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){this.raise(r.start,y.UnexpectedNewTarget)}return r}return this.parseNew(e)}parseNew(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(e.callee.start,y.ImportCallNotNewExpression)}else if(this.isOptionalChain(e.callee)){this.raise(this.state.lastTokEnd,y.OptionalChainingNoNew)}else if(this.eat(u.questionDot)){this.raise(this.state.start,y.OptionalChainingNoNew)}this.parseNewArguments(e);return this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(u.parenL)){const t=this.parseExprList(u.parenR);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}}parseTemplateElement(e){const t=this.startNode();if(this.state.value===null){if(!e){this.raise(this.state.start+1,y.InvalidEscapeSequenceTemplate)}}t.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,"\n"),cooked:this.state.value};this.next();t.tail=this.match(u.backQuote);return this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next();t.expressions=[];let r=this.parseTemplateElement(e);t.quasis=[r];while(!r.tail){this.expect(u.dollarBraceL);t.expressions.push(this.parseTemplateSubstitution());this.expect(u.braceR);t.quasis.push(r=this.parseTemplateElement(e))}this.next();return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const i=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}}const s=this.parsePropertyDefinition(t,n);if(!t){this.checkProto(s,r,i,n)}if(r&&!this.isObjectProperty(s)&&s.type!=="SpreadElement"){this.raise(s.start,y.InvalidRecordProperty)}if(s.shorthand){this.addExtra(s,"shorthand",true)}o.properties.push(s)}this.next();this.state.inFSharpPipelineDirectBody=s;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(r){l="RecordExpression"}return this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(u.bracketL)||this.match(u.star))}parsePropertyDefinition(e,t){let r=[];if(this.match(u.at)){if(this.hasPlugin("decorators")){this.raise(this.state.start,y.UnsupportedPropertyDecorator)}while(this.match(u.at)){r.push(this.parseDecorator())}}const n=this.startNode();let s=false;let i=false;let a=false;let o;let l;if(this.match(u.ellipsis)){if(r.length)this.unexpected();if(e){this.next();n.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(n,"RestElement")}return this.parseSpread()}if(r.length){n.decorators=r;r=[]}n.method=false;if(e||t){o=this.state.start;l=this.state.startLoc}if(!e){s=this.eat(u.star)}const p=this.state.containsEsc;const f=this.parsePropertyName(n,false);if(!e&&!s&&!p&&this.maybeAsyncOrAccessorProp(n)){const e=f.name;if(e==="async"&&!this.hasPrecedingLineBreak()){i=true;s=this.eat(u.star);this.parsePropertyName(n,false)}if(e==="get"||e==="set"){a=true;n.kind=e;if(this.match(u.star)){s=true;this.raise(this.state.pos,y.AccessorIsGenerator,e);this.next()}this.parsePropertyName(n,false)}}this.parseObjPropValue(n,o,l,s,i,e,a,t);return n}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e);const n=this.getObjectOrClassMethodParams(e);const s=e.start;if(n.length!==r){if(e.kind==="get"){this.raise(s,y.BadGetterArity)}else{this.raise(s,y.BadSetterArity)}}if(e.kind==="set"&&((t=n[n.length-1])==null?void 0:t.type)==="RestElement"){this.raise(s,y.BadSetterRestParameter)}}parseObjectMethod(e,t,r,n,s){if(s){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(r||t||this.match(u.parenL)){if(n)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,r,false,false,"ObjectMethod")}}parseObjectProperty(e,t,r,n,s){e.shorthand=false;if(this.eat(u.colon)){e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(s);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.start,true,false);if(n){e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else if(this.match(u.eq)&&s){if(s.shorthandAssign===-1){s.shorthandAssign=this.state.start}e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else{e.value=e.key.__clone()}e.shorthand=true;return this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,r,n,s,i,a,o){const l=this.parseObjectMethod(e,n,s,i,a)||this.parseObjectProperty(e,t,r,i,o);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(u.bracketL)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(u.bracketR)}else{const r=this.state.inPropertyName;this.state.inPropertyName=true;const n=this.state.type;e.key=n===u.num||n===u.string||n===u.bigint||n===u.decimal?this.parseExprAtom():this.parseMaybePrivateName(t);if(n!==u.privateName){e.computed=false}this.state.inPropertyName=r}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,r,n,s,i,a=false){this.initFunction(e,r);e.generator=!!t;const o=n;this.scope.enter(N|_|(a?F:0)|(s?M:0));this.prodParam.enter(functionFlags(r,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,i,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const i=this.startNode();this.next();i.elements=this.parseExprList(e,!r,n,i);this.state.inFSharpPipelineDirectBody=s;return this.finishNode(i,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(N|C);let s=functionFlags(r,false);if(!this.match(u.bracketL)&&this.prodParam.hasIn){s|=Le}this.prodParam.enter(s);this.initFunction(e,r);const i=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,n)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=i;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){e.params=this.toAssignableList(t,r,false)}parseFunctionBodyAndFinish(e,t,r=false){this.parseFunctionBody(e,false,r);this.finishNode(e,t)}parseFunctionBody(e,t,r=false){const n=t&&!this.match(u.braceL);this.expressionScope.enter(newExpressionScope());if(n){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const n=this.state.strict;const s=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|Ce);e.body=this.parseBlock(true,false,s=>{const i=!this.isSimpleParamList(e.params);if(s&&i){const t=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(t,y.IllegalLanguageModeDirective)}const a=!n&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!r&&!i,t,a);if(this.state.strict&&e.id){this.checkLVal(e.id,"function name",ae,undefined,undefined,a)}});this.prodParam.exit();this.expressionScope.exit();this.state.labels=s}}isSimpleParamList(e){for(let t=0,r=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(t,y.YieldBindingIdentifier);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(t,y.AwaitBindingIdentifier);return}else if(this.scope.inStaticBlock&&!this.scope.inNonArrowFunction){this.raise(t,y.AwaitBindingIdentifierInStaticBlock);return}else{this.expressionScope.recordAsyncArrowParametersError(t,y.AwaitBindingIdentifier)}}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(t,y.ArgumentsInClass);return}}if(r&&isKeyword(e)){this.raise(t,y.UnexpectedKeyword,e);return}const s=!this.state.strict?isReservedWord:n?isStrictBindReservedWord:isStrictReservedWord;if(s(e,this.inModule)){this.raise(t,y.UnexpectedReservedWord,e)}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e,t){const r=this.startNodeAt(e,t);this.expressionScope.recordParameterInitializerError(r.start,y.AwaitExpressionFormalParameter);if(this.eat(u.star)){this.raise(r.start,y.ObsoleteAwaitStar)}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){r.argument=this.parseMaybeUnary(null,true)}return this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(u.plusMin)||this.match(u.parenL)||this.match(u.bracketL)||this.match(u.backQuote)||this.match(u.regexp)||this.match(u.slash)||this.hasPlugin("v8intrinsic")&&this.match(u.modulo)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,y.YieldInParameter);this.next();let t=false;let r=null;if(!this.hasPrecedingLineBreak()){t=this.eat(u.star);switch(this.state.type){case u.semi:case u.eof:case u.braceR:case u.parenR:case u.bracketR:case u.braceBarR:case u.colon:case u.comma:if(!t)break;default:r=this.parseMaybeAssign()}}e.delegate=t;e.argument=r;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.getPluginOption("pipelineOperator","proposal")==="smart"){if(e.type==="SequenceExpression"){this.raise(t,y.PipelineHeadSequenceExpression)}}}parseSmartPipelineBody(e,t,r){this.checkSmartPipelineBodyEarlyErrors(e,t);return this.parseSmartPipelineBodyInStyle(e,t,r)}checkSmartPipelineBodyEarlyErrors(e,t){if(this.match(u.arrow)){throw this.raise(this.state.start,y.PipelineBodyNoArrow)}else if(e.type==="SequenceExpression"){this.raise(t,y.PipelineBodySequenceExpression)}}parseSmartPipelineBodyInStyle(e,t,r){const n=this.startNodeAt(t,r);const s=this.isSimpleReference(e);if(s){n.callee=e}else{if(!this.topicReferenceWasUsedInCurrentTopicContext()){this.raise(t,y.PipelineTopicUnused)}n.expression=e}return this.finishNode(n,s?"PipelineBareFunction":"PipelineTopicExpression")}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}withTopicPermittingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withTopicForbiddingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const r=Le&~t;if(r){this.prodParam.enter(t|Le);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const r=Le&t;if(r){this.prodParam.enter(t&~Le);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}primaryTopicReferenceIsAllowedInCurrentTopicContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentTopicContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const s=this.parseExprOp(this.parseMaybeUnary(),t,r,e);this.state.inFSharpPipelineDirectBody=n;return s}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(u.braceL);const t=this.initializeScopes(true);this.enterInitialScopes();const r=this.startNode();try{e.body=this.parseProgram(r,u.braceR,"module")}finally{t()}this.eat(u.braceR);return this.finishNode(e,"ModuleExpression")}}const Ze={kind:"loop"},et={kind:"switch"};const tt=0,rt=1,nt=2,st=4;const it=/[\uD800-\uDFFF]/u;const at=/in(?:stanceof)?/y;function babel7CompatTokens(e){{for(let t=0;t0){for(const[e]of Array.from(this.scope.undefinedExports)){const t=this.scope.undefinedExports.get(e);this.raise(t,y.ModuleExportUndefined,e)}}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e.expression;const r=this.startNodeAt(t.start,t.loc.start);const n=this.startNodeAt(e.start,e.loc.start);const s=this.input.slice(t.start,t.end);const i=r.value=s.slice(1,-1);this.addExtra(r,"raw",s);this.addExtra(r,"rawValue",i);n.value=this.finishNodeAt(r,"DirectiveLiteral",t.end,t.loc.end);return this.finishNodeAt(n,"Directive",e.end,e.loc.end)}parseInterpreterDirective(){if(!this.match(u.interpreterDirective)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual("let")){return false}return this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart();const r=this.codePointAtPos(t);if(r===92||r===91){return true}if(e)return false;if(r===123)return true;if(isIdentifierStart(r)){at.lastIndex=t;const e=at.exec(this.input);if(e!==null){const r=this.codePointAtPos(t+e[0].length);if(!isIdentifierChar(r)&&r!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(u.at)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type;const n=this.startNode();let s;if(this.isLet(e)){r=u._var;s="let"}switch(r){case u._break:case u._continue:return this.parseBreakContinueStatement(n,r.keyword);case u._debugger:return this.parseDebuggerStatement(n);case u._do:return this.parseDoStatement(n);case u._for:return this.parseForStatement(n);case u._function:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(this.state.start,y.StrictFunction)}else if(e!=="if"&&e!=="label"){this.raise(this.state.start,y.SloppyFunction)}}return this.parseFunctionStatement(n,false,!e);case u._class:if(e)this.unexpected();return this.parseClass(n,true);case u._if:return this.parseIfStatement(n);case u._return:return this.parseReturnStatement(n);case u._switch:return this.parseSwitchStatement(n);case u._throw:return this.parseThrowStatement(n);case u._try:return this.parseTryStatement(n);case u._const:case u._var:s=s||this.state.value;if(e&&s!=="var"){this.raise(this.state.start,y.UnexpectedLexicalDeclaration)}return this.parseVarStatement(n,s);case u._while:return this.parseWhileStatement(n);case u._with:return this.parseWithStatement(n);case u.braceL:return this.parseBlock();case u.semi:return this.parseEmptyStatement(n);case u._import:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case u._export:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(this.state.start,y.UnexpectedImportExport)}this.next();let e;if(r===u._import){e=this.parseImport(n);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(n);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(n);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(this.state.start,y.AsyncFunctionInSingleStatementContext)}this.next();return this.parseFunctionStatement(n,true,!e)}}}const i=this.state.value;const a=this.parseExpression();if(r===u.name&&a.type==="Identifier"&&this.eat(u.colon)){return this.parseLabeledStatement(n,i,a,e)}else{return this.parseExpressionStatement(n,a)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(e.start,m.ImportOutsideModule)}}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];if(t.length){e.decorators=t;this.resetStartLocationFromNode(e,t[0]);this.state.decoratorStack[this.state.decoratorStack.length-1]=[]}}canHaveLeadingDecorator(){return this.match(u._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(u.at)){const e=this.parseDecorator();t.push(e)}if(this.match(u._export)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,y.DecoratorExportClass)}}else if(!this.canHaveLeadingDecorator()){throw this.raise(this.state.start,y.UnexpectedLeadingDecorator)}}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start;const r=this.state.startLoc;let n;if(this.eat(u.parenL)){n=this.parseExpression();this.expect(u.parenR)}else{n=this.parseIdentifier(false);while(this.eat(u.dot)){const e=this.startNodeAt(t,r);e.object=n;e.property=this.parseIdentifier(true);e.computed=false;n=this.finishNode(e,"MemberExpression")}}e.expression=this.parseMaybeDecoratorArguments(n);this.state.decoratorStack.pop()}else{e.expression=this.parseExprSubscripts()}return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(u.parenL)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(u.parenR,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){const r=t==="break";this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,r?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){const r=t==="break";let n;for(n=0;nthis.parseStatement("do"));this.state.labels.pop();this.expect(u._while);e.test=this.parseHeaderExpression();this.eat(u.semi);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(Ze);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual("await")){t=this.state.lastTokStart}this.scope.enter(w);this.expect(u.parenL);if(this.match(u.semi)){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}const r=this.isContextual("let");const n=r&&this.isLetKeyword();if(this.match(u._var)||this.match(u._const)||n){const r=this.startNode();const s=n?"let":this.state.value;this.next();this.parseVar(r,true,s);this.finishNode(r,"VariableDeclaration");if((this.match(u._in)||this.isContextual("of"))&&r.declarations.length===1){return this.parseForIn(e,r,t)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)}const s=this.match(u.name)&&!this.state.containsEsc;const i=new ExpressionErrors;const a=this.parseExpression(true,i);const o=this.isContextual("of");if(o){if(r){this.raise(a.start,y.ForOfLet)}else if(t===-1&&s&&a.type==="Identifier"&&a.name==="async"){this.raise(a.start,y.ForOfAsync)}}if(o||this.match(u._in)){this.toAssignable(a,true);const r=o?"for-of statement":"for-in statement";this.checkLVal(a,r);return this.parseForIn(e,a,t)}else{this.checkExpressionErrors(i,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)}parseFunctionStatement(e,t,r){this.next();return this.parseFunction(e,rt|(r?0:nt),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(u._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(this.state.start,y.IllegalReturn)}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(u.braceL);this.state.labels.push(et);this.scope.enter(w);let r;for(let e;!this.match(u.braceR);){if(this.match(u._case)||this.match(u._default)){const n=this.match(u._case);if(r)this.finishNode(r,"SwitchCase");t.push(r=this.startNode());r.consequent=[];this.next();if(n){r.test=this.parseExpression()}else{if(e){this.raise(this.state.lastTokStart,y.MultipleDefaultsInSwitch)}e=true;r.test=null}this.expect(u.colon)}else{if(r){r.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(r)this.finishNode(r,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(this.state.lastTokEnd,y.NewlineAfterThrow)}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?L:0);this.checkLVal(e,"catch clause",Q);return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(u._catch)){const t=this.startNode();this.next();if(this.match(u.parenL)){this.expect(u.parenL);t.param=this.parseCatchClauseParam();this.expect(u.parenR)}else{t.param=null;this.scope.enter(w)}t.body=this.withTopicForbiddingContext(()=>this.parseBlock(false,false));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(u._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,y.NoCatchOrFinally)}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(Ze);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("while"));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(this.state.start,y.StrictWith)}this.next();e.object=this.parseHeaderExpression();e.body=this.withTopicForbiddingContext(()=>this.parseStatement("with"));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(const e of this.state.labels){if(e.name===t){this.raise(r.start,y.LabelRedeclaration,t)}}const s=this.state.type.isLoop?"loop":this.match(u._switch)?"switch":null;for(let t=this.state.labels.length-1;t>=0;t--){const r=this.state.labels[t];if(r.statementStart===e.start){r.statementStart=this.state.start;r.kind=s}else{break}}this.state.labels.push({name:t,kind:s,statementStart:this.state.start});e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label");this.state.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,r){const n=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(u.braceL);if(t){this.scope.enter(w)}this.parseBlockBody(n,e,false,u.braceR,r);if(t){this.scope.exit()}return this.finishNode(n,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,s){const i=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(i,t?a:undefined,r,n,s)}parseBlockOrModuleBlockBody(e,t,r,n,s){const i=this.state.strict;let a=false;let o=false;while(!this.match(n)){const n=this.parseStatement(null,r);if(t&&!o){if(this.isValidDirective(n)){const e=this.stmtToDirective(n);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(n)}if(s){s.call(this,a)}if(!i){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(u.semi)?null:this.parseExpression();this.semicolon(false);e.update=this.match(u.parenR)?null:this.parseExpression();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const n=this.match(u._in);this.next();if(n){if(r>-1)this.unexpected(r)}else{e.await=r>-1}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,y.ForInOfLoopInitializer,n?"for-in":"for-of")}else if(t.type==="AssignmentPattern"){this.raise(t.start,y.InvalidLhs,"for-loop")}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){const n=e.declarations=[];const s=this.hasPlugin("typescript");e.kind=r;for(;;){const e=this.startNode();this.parseVarId(e,r);if(this.eat(u.eq)){e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn()}else{if(r==="const"&&!(this.match(u._in)||this.isContextual("of"))){if(!s){this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Const declarations")}}else if(e.id.type!=="Identifier"&&!(t&&(this.match(u._in)||this.isContextual("of")))){this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Complex binding patterns")}e.init=null}n.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(u.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,"variable declaration",t==="var"?Z:Q,undefined,t!=="var")}parseFunction(e,t=tt,r=false){const n=t&rt;const s=t&nt;const i=!!n&&!(t&st);this.initFunction(e,r);if(this.match(u.star)&&s){this.raise(this.state.start,y.GeneratorInSingleStatementContext)}e.generator=this.eat(u.star);if(n){e.id=this.parseFunctionId(i)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(N);this.prodParam.enter(functionFlags(r,e.generator));if(!n){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")});this.prodParam.exit();this.scope.exit();if(n&&!s){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||this.match(u.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(u.parenL);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(u.parenR,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?Z:Q:ee,e.id.start)}parseClass(e,t,r){this.next();this.takeDecorators(e);const n=this.state.strict;this.state.strict=true;this.parseClassId(e,t,r);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,n);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(u.eq)||this.match(u.semi)||this.match(u.braceR)}isClassMethod(){return this.match(u.parenL)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const r={hadConstructor:false,hadSuperClass:e};let n=[];const s=this.startNode();s.body=[];this.expect(u.braceL);this.withTopicForbiddingContext(()=>{while(!this.match(u.braceR)){if(this.eat(u.semi)){if(n.length>0){throw this.raise(this.state.lastTokEnd,y.DecoratorSemicolon)}continue}if(this.match(u.at)){n.push(this.parseDecorator());continue}const e=this.startNode();if(n.length){e.decorators=n;this.resetStartLocationFromNode(e,n[0]);n=[]}this.parseClassMember(s,e,r);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(e.start,y.DecoratorConstructor)}}});this.state.strict=t;this.next();if(n.length){throw this.raise(this.state.start,y.TrailingDecorator)}this.classScope.exit();return this.finishNode(s,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(true);if(this.isClassMethod()){const n=t;n.kind="method";n.computed=false;n.key=r;n.static=false;this.pushClassMethod(e,n,false,false,false,false);return true}else if(this.isClassProperty()){const n=t;n.computed=false;n.key=r;n.static=false;e.body.push(this.parseClassProperty(n));return true}return false}parseClassMember(e,t,r){const n=this.isContextual("static");if(n){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(u.braceL)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){const s=t;const i=t;const a=t;const o=t;const l=s;const p=s;t.static=n;if(this.eat(u.star)){l.kind="method";const t=this.match(u.privateName);this.parseClassElementName(l);if(t){this.pushClassPrivateMethod(e,i,true,false);return}if(this.isNonstaticConstructor(s)){this.raise(s.key.start,y.ConstructorIsGenerator)}this.pushClassMethod(e,s,true,false,false,false);return}const f=this.state.containsEsc;const c=this.match(u.privateName);const d=this.parseClassElementName(t);const m=d.type==="Identifier";const T=this.state.start;this.parsePostMemberNameModifiers(p);if(this.isClassMethod()){l.kind="method";if(c){this.pushClassPrivateMethod(e,i,false,false);return}const n=this.isNonstaticConstructor(s);let a=false;if(n){s.kind="constructor";if(r.hadConstructor&&!this.hasPlugin("typescript")){this.raise(d.start,y.DuplicateConstructor)}if(n&&this.hasPlugin("typescript")&&t.override){this.raise(d.start,y.OverrideOnConstructor)}r.hadConstructor=true;a=r.hadSuperClass}this.pushClassMethod(e,s,false,false,n,a)}else if(this.isClassProperty()){if(c){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(m&&d.name==="async"&&!f&&!this.isLineTerminator()){const t=this.eat(u.star);if(p.optional){this.unexpected(T)}l.kind="method";const r=this.match(u.privateName);this.parseClassElementName(l);this.parsePostMemberNameModifiers(p);if(r){this.pushClassPrivateMethod(e,i,t,true)}else{if(this.isNonstaticConstructor(s)){this.raise(s.key.start,y.ConstructorIsAsync)}this.pushClassMethod(e,s,t,true,false,false)}}else if(m&&(d.name==="get"||d.name==="set")&&!f&&!(this.match(u.star)&&this.isLineTerminator())){l.kind=d.name;const t=this.match(u.privateName);this.parseClassElementName(s);if(t){this.pushClassPrivateMethod(e,i,false,false)}else{if(this.isNonstaticConstructor(s)){this.raise(s.key.start,y.ConstructorIsAccessor)}this.pushClassMethod(e,s,false,false,false,false)}this.checkGetterSetterParams(s)}else if(this.isLineTerminator()){if(c){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:r,start:n}=this.state;if((t===u.name||t===u.string)&&e.static&&r==="prototype"){this.raise(n,y.StaticPrototype)}if(t===u.privateName&&r==="constructor"){this.raise(n,y.ConstructorClassPrivateField)}return this.parsePropertyName(e,true)}parseClassStaticBlock(e,t){var r;this.expectPlugin("classStaticBlock",t.start);this.scope.enter(F|B|_);const n=this.state.labels;this.state.labels=[];this.prodParam.enter(we);const s=t.body=[];this.parseBlockOrModuleBlockBody(s,undefined,false,u.braceR);this.prodParam.exit();this.scope.exit();this.state.labels=n;e.body.push(this.finishNode(t,"StaticBlock"));if((r=t.decorators)!=null&&r.length){this.raise(t.start,y.DecoratorStaticBlock)}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(t.key.start,y.ConstructorClassField)}e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const r=this.parseClassPrivateProperty(t);e.body.push(r);this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),Se,r.key.start)}pushClassMethod(e,t,r,n,s,i){e.body.push(this.parseMethod(t,r,n,s,i,"ClassMethod",true))}pushClassPrivateMethod(e,t,r,n){const s=this.parseMethod(t,r,n,false,false,"ClassPrivateMethod",true);e.body.push(s);const i=s.kind==="get"?s.static?ye:Te:s.kind==="set"?s.static?me:he:Se;this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),i,s.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(F|_);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(we);e.value=this.eat(u.eq)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,r,n=H){if(this.match(u.name)){e.id=this.parseIdentifier();if(t){this.checkLVal(e.id,"class name",n)}}else{if(r||!t){e.id=null}else{this.unexpected(null,y.MissingClassName)}}}parseClassSuper(e){e.superClass=this.eat(u._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.eatExportStar(e);const s=n&&this.maybeParseExportNamespaceSpecifier(e);const i=r&&(!s||this.eat(u.comma));const a=t||n;if(n&&!s){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!n&&!o||s&&i&&!o){throw this.unexpected(null,u.braceL)}let l;if(a||o){l=false;this.parseExportFrom(e,a)}else{l=this.maybeParseExportDeclaration(e)}if(a||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(u._default)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,u.braceL)}eatExportStar(e){return this.eat(u.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(u.braceL)){if(!e.specifiers)e.specifiers=[];e.specifiers.push(...this.parseExportSpecifiers());e.source=null;e.declaration=null;return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual("async"))return false;const e=this.nextTokenStart();return!p.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(u._function)||t){this.next();if(t){this.next()}return this.parseFunction(e,rt|st,t)}else if(this.match(u._class)){return this.parseClass(e,true,true)}else if(this.match(u.at)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,y.DecoratorBeforeExport)}this.parseDecorators(false);return this.parseClass(e,true,true)}else if(this.match(u._const)||this.match(u._var)||this.isLet()){throw this.raise(this.state.start,y.UnsupportedDefaultExport)}else{const e=this.parseMaybeAssignAllowIn();this.semicolon();return e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(u.name)){const e=this.state.value;if(e==="async"&&!this.state.containsEsc||e==="let"){return false}if((e==="type"||e==="interface")&&!this.state.containsEsc){const e=this.lookahead();if(e.type===u.name&&e.value!=="from"||e.type===u.braceL){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(u._default)){return false}const e=this.nextTokenStart();const t=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||this.match(u.name)&&t){return true}if(this.match(u._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return t===34||t===39}return false}parseExportFrom(e,t){if(this.eatContextual("from")){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else{if(t){this.unexpected()}else{e.source=null}}this.semicolon()}shouldParseExportDeclaration(){if(this.match(u.at)){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){this.unexpected(this.state.start,y.DecoratorBeforeExport)}else{return true}}}return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t){if(r){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var s;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((s=t.extra)!=null&&s.parenthesized)){this.raise(t.start,y.ExportDefaultFromAsIdentifier)}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const r=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,r);if(!n&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(t.start,y.ExportBindingIsString,e.value,r)}else{this.checkReservedWord(e.name,e.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}const i=this.state.decoratorStack[this.state.decoratorStack.length-1];if(i.length){throw this.raise(e.start,y.UnsupportedDecoratorExport)}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){this.raise(e.start,t==="default"?y.DuplicateDefaultExport:y.DuplicateExport,t)}this.exportedIdentifiers.add(t)}parseExportSpecifiers(){const e=[];let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{this.expect(u.comma);if(this.eat(u.braceR))break}const r=this.startNode();r.local=this.parseModuleExportName();r.exported=this.eatContextual("as")?this.parseModuleExportName():r.local.__clone();e.push(this.finishNode(r,"ExportSpecifier"))}return e}parseModuleExportName(){if(this.match(u.string)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(it);if(t){this.raise(e.start,y.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16))}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(u.string)){const t=this.maybeParseDefaultImportSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.maybeParseStarImportSpecifier(e);if(r&&!n)this.parseNamedImportSpecifiers(e);this.expectContextual("from")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(u.string))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(u.name)}parseImportSpecifierLocal(e,t,r,n){t.local=this.parseIdentifier();this.checkLVal(t.local,n,Q);e.specifiers.push(this.finishNode(t,r))}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(u.braceR)){break}const r=this.startNode();const n=this.state.value;if(t.has(n)){this.raise(this.state.start,y.ModuleAttributesWithDuplicateKeys,n)}t.add(n);if(this.match(u.string)){r.key=this.parseStringLiteral(n)}else{r.key=this.parseIdentifier(true)}this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseModuleAttributes(){if(this.match(u._with)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const r=this.startNode();r.key=this.parseIdentifier(true);if(r.key.name!=="type"){this.raise(r.key.start,y.ModuleAttributeDifferentFromType,r.key.name)}if(t.has(r.key.name)){this.raise(r.key.start,y.ModuleAttributesWithDuplicateKeys,r.key.name)}t.add(r.key.name);this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseImportAssertions(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(u.braceL);const e=this.parseAssertEntries();this.eat(u.braceR);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(u.star)){const t=this.startNode();this.next();this.expectContextual("as");this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{if(this.eat(u.colon)){throw this.raise(this.state.start,y.DestructureNamedImport)}this.expect(u.comma);if(this.eat(u.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();const r=this.match(u.string);t.imported=this.parseModuleExportName();if(this.eatContextual("as")){t.local=this.parseIdentifier()}else{const{imported:e}=t;if(r){throw this.raise(t.start,y.ImportBindingIsString,e.value)}this.checkReservedWord(e.name,t.start,true,true);t.local=e.__clone()}this.checkLVal(t.local,"import specifier",Q);e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const r of e){const[e,n]=Array.isArray(r)?r:[r,{}];if(!t.has(e))t.set(e,n||{})}return t}function parse(e,t){var r;if(((r=t)==null?void 0:r.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const r=getParser(t,e);const n=r.parse();if(r.sawUnambiguousESM){return n}if(r.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{n.program.sourceType="script"}return n}catch(r){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw r}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const r=getParser(t,e);if(r.options.strictMode){r.state.strict=true}return r.getExpression()}function getParser(e,t){let r=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);r=getParserClass(e.plugins)}return new r(e,t)}const ot={};function getParserClass(e){const t=Xe.filter(t=>hasPlugin(e,t));const r=t.join("/");let n=ot[r];if(!n){n=Parser;for(const e of t){n=Ve[e](n)}ot[r]=n}return n}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=u},81478:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(15154);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},24183:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(836);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},29753:()=>{},92718:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(9418);var s=r(67995);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(81639);var s=r(28057);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},74282:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(81639);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},81639:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(92718);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},39690:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(81639)},35299:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(44414);var s=r(71487);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(81639);var s=r(53931);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},24890:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(77329);function clone(e){return(0,n.default)(e,false)}},66853:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(77329);function cloneDeep(e){return(0,n.default)(e)}},71520:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(77329);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},77329:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(9418);var s=r(44414);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},4418:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(77329);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},24794:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(85636);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},85636:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},65256:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(67276);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},60670:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(67276);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},56409:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(67276);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},30035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(56409);var s=r(60670);var i=r(65256);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},76613:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(93401);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},7125:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(9418);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},93401:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},2387:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(75666);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},84746:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(7057);var s=r(44414);var i=r(81639);var a=r(77329);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},27997:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(32689);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},75666:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(44414);var s=r(81639);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},58035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(44414);var s=r(81639);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},25793:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(44414);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},32689:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(18640);var s=r(72725);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},75771:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(44414);var s=r(77329);var i=r(7903);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},56596:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(84746);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},47297:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(44414);var s=r(81639);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},5601:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(18640);var s=r(81639);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},83607:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(836);var s=r(18640);var i=r(72725);var a=r(93401);var o=r(70879);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},86193:(e,t,r)=>{"use strict";var n=r(70879);var s=r(83607);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},14142:(e,t,r)=>{"use strict";var n=r(70879);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},9418:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(83607);r(14142);r(93551);r(70068);r(86193);r(87043);var s=r(70879);var i=r(54026);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},93551:(e,t,r)=>{"use strict";var n=r(70879);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},70068:(e,t,r)=>{"use strict";var n=r(70879);var s=r(54026);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},54026:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(70879);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},87043:(e,t,r)=>{"use strict";var n=r(70879);var s=r(83607);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},70879:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(836);var s=r(67995);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},30632:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(96682);var i=r(31933);var a=r(35299);var o=r(81478);var l=r(24183);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(74282);var p=r(77268);var f=r(55464);var c=r(81639);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(39690);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(77329);var m=r(24890);var T=r(66853);var h=r(71520);var S=r(4418);var b=r(24794);var E=r(85636);var g=r(65256);var P=r(60670);var x=r(30035);var v=r(56409);var A=r(76613);var O=r(7125);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(93401);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(2387);var w=r(27997);var j=r(75666);var N=r(58035);var C=r(25793);var L=r(32689);var _=r(75771);var M=r(56596);var F=r(47297);var B=r(5601);var k=r(9418);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(4160);var K=r(32220);var V=r(17191);var X=r(21637);var Y=r(7903);var J=r(28057);var U=r(7057);var W=r(71048);var q=r(62971);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(65473);var G=r(36317);var $=r(836);var H=r(72610);var Q=r(90548);var Z=r(2090);var ee=r(95364);var te=r(15154);var re=r(94323);var ne=r(41807);var se=r(95838);var ie=r(1902);var ae=r(64970);var oe=r(11307);var le=r(82916);var ue=r(18640);var pe=r(28188);var fe=r(72717);var ce=r(67995);var de=r(32207);var ye=r(44414);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(29753);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},4160:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(81639);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},28057:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(44414);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},32220:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(93401);var s=r(30035);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},17191:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(81639);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},21637:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(93401);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},7903:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(65473);var s=r(21637);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},53931:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(44414);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},7057:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(44414);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(7057);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},62971:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(9418);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(9418);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},67276:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},71487:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(81639);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},32207:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(72717);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},44414:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(36317);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},836:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(36317);var s=r(11307);var i=r(41807);var a=r(9418);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},72610:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(7057);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},90548:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(44414);var s=r(95364);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},2090:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(11307);var s=r(44414);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},95364:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(44414);var s=r(93401);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},15154:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(9418);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},94323:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(9418);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(9418);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},95838:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},1902:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(44414);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},64970:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(44414);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},11307:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(9418);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},82916:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(18640);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},18640:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(72725);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},28188:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(44414);var s=r(93401);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},72717:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(44414);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},96682:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(32207);const s=(0,n.default)("React.Component");var i=s;t.default=i},67995:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(9418);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},99593:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=function(){function sliceIterator(e,t){var r=[];var n=true;var s=false;var i=undefined;try{for(var a=e[Symbol.iterator](),o;!(n=(o=a.next()).done);n=true){r.push(o.value);if(t&&r.length===t)break}}catch(e){s=true;i=e}finally{try{if(!n&&a["return"])a["return"]()}finally{if(s)throw i}}return r}return function(e,t){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return sliceIterator(e,t)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();t.getImportSource=getImportSource;t.createDynamicImportTransform=createDynamicImportTransform;function getImportSource(e,t){var n=t.arguments;var s=r(n,1),i=s[0];var a=e.isStringLiteral(i)||e.isTemplateLiteral(i);if(a){e.removeComments(i);return i}return e.templateLiteral([e.templateElement({raw:"",cooked:""}),e.templateElement({raw:"",cooked:""},true)],n)}function createDynamicImportTransform(e){var t=e.template,r=e.types;var n={static:{interop:t("Promise.resolve().then(() => INTEROP(require(SOURCE)))"),noInterop:t("Promise.resolve().then(() => require(SOURCE))")},dynamic:{interop:t("Promise.resolve(SOURCE).then(s => INTEROP(require(s)))"),noInterop:t("Promise.resolve(SOURCE).then(s => require(s))")}};var s=typeof WeakSet==="function"&&new WeakSet;var i=function isString(e){return r.isStringLiteral(e)||r.isTemplateLiteral(e)&&e.expressions.length===0};return function(e,t){if(s){if(s.has(t)){return}s.add(t)}var a=getImportSource(r,t.parent);var o=i(a)?n["static"]:n.dynamic;var l=e.opts.noInterop?o.noInterop({SOURCE:a}):o.interop({SOURCE:a,INTEROP:e.addHelper("interopRequireWildcard")});t.parentPath.replaceWith(l)}}},42604:(e,t,r)=>{e.exports=r(99593)},4100:(e,t,r)=>{"use strict";const n=r(42707);const{get:s,has:i,find:a}=r(82747);const o=e=>{if(!e){return[]}return n(e).paths().filter(e=>e.length).map(e=>e.join(".")).sort((e,t)=>t.length-e.length)};const l=(e,t,r)=>{t.replaceWith(e(r));if(t.parentPath.isBinaryExpression()){const r=t.parentPath.evaluate();if(r.confident){t.parentPath.replaceWith(e(r.value))}}};const u=(e,t,r,n)=>{const u=a(o(e),e=>n(t,e));if(i(e,u)){l(r,t,s(e,u))}};const p=(e,t)=>e.matchesPattern(t);const f=(e,t)=>e.node.name===t;const c=(e,t)=>e.node.argument.name===t;const d="typeof ";const y=function({types:e}){return{visitor:{MemberExpression(t,r){u(r.opts,t,e.valueToNode,p)},Identifier(t,r){u(r.opts,t,e.valueToNode,f)},UnaryExpression(t,r){if(t.node.operator!=="typeof"){return}const{opts:n}=r;const s=Object.keys(n);const i={};s.forEach(e=>{if(e.substring(0,d.length)===d){i[e.substring(d.length)]=n[e]}});u(i,t,e.valueToNode,c)}}}};e.exports=y;e.exports.default=y;e.exports.getSortedObjectPaths=o},99392:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=_interopRequireDefault(r(80848));var s=_interopRequireDefault(r(90006));var i=_interopRequireDefault(r(52970));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectSpread(e){for(var t=1;t1&&arguments[1]!==undefined?arguments[1]:{};var a=i.as,o=a===void 0?"assignmentExpression":a;var l=t.expression('\n process.env.NODE_ENV !== "production" ? RIGHT : {}\n ',{placeholderPattern:/^(LEFT|RIGHT)$/})({RIGHT:s});switch(o){case"variableDeclarator":return r.variableDeclarator(n,l);case"assignmentExpression":return r.assignmentExpression("=",n,l);default:throw new Error("unrecognized template type ".concat(o))}},mode:f.opts.mode||"remove",ignoreFilenames:c,types:r,removeImport:f.opts.removeImport||false,libraries:(f.opts.additionalLibraries||[]).concat("prop-types"),classNameMatchers:d,createReactClassName:f.opts.createReactClassName||"createReactClass"};if(f.opts.plugins){var m=f;var T=f.opts.plugins.map(function(t){var r=typeof t==="string"?t:t[0];if(typeof t!=="string"){m.opts=_objectSpread({},m.opts,t[1])}var n=require(r);if(typeof n!=="function"){n=n.default}return n(e).visitor});a(p.parent,a.visitors.merge(T),p.scope,m,p.parentPath)}p.traverse({ObjectProperty:{exit:function exit(e){var t=e.node;if(t.computed||t.key.name!=="propTypes"){return}var r=e.findParent(function(e){if(e.type!=="CallExpression"){return false}return e.get("callee").node.name===y.createReactClassName||e.get("callee").node.property&&e.get("callee").node.property.name==="createClass"});if(r){e.traverse(u);l.add(e);(0,i.default)(e,y,{type:"createClass"})}}},ClassProperty:function ClassProperty(e){var t=e.node,r=e.scope;if(t.key.name==="propTypes"){var n=r.path;if(isReactClass(n.get("superClass"),r,y)){e.traverse(u);l.add(e);(0,i.default)(e,y,{type:"class static",pathClassDeclaration:n})}}},AssignmentExpression:function AssignmentExpression(e){var t=e.node,r=e.scope;if(t.left.computed||!t.left.property||t.left.property.name!=="propTypes"){return}var a=(0,n.default)(e.node.left);if(a){e.traverse(u);l.add(e);(0,i.default)(e,y,{type:"assign"});return}var o=t.left.object.name;var p=r.getBinding(o);if(!p){return}if(p.path.isClassDeclaration()){var f=p.path.get("superClass");if(isReactClass(f,r,y)){e.traverse(u);l.add(e);(0,i.default)(e,y,{type:"assign"})}}else if((0,s.default)(p.path)){e.traverse(u);l.add(e);(0,i.default)(e,y,{type:"assign"})}}});var h=0;var S={VariableDeclarator:function VariableDeclarator(e){if(e.scope.block.type!=="Program"){return}if(["ObjectPattern","ArrayPattern"].includes(e.node.id.type)){return}var t=e.node.id.name;if(!o.has(t)){return}var r=e.scope.getBinding(t),n=r.referencePaths;var s=n.some(function(e){var t=e.find(function(e){return l.has(e)});return!t});if(s){h+=1;return}l.add(e);o.delete(t);e.get("init").traverse(u);(0,i.default)(e,y,{type:"declarator"})}};var b=new Set;while(!areSetsEqual(o,b)&&o.size>0&&h0});if(!i){e.remove()}}})}else{throw new Error('transform-react-remove-prop-type: removeImport = true and mode != "remove" can not be used at the same time.')}}}}}}},80848:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isAnnotatedForRemoval;function isAnnotatedForRemoval(e){var t=e.trailingComments||[];return Boolean(t.find(function(e){var t=e.value;return t.trim()==="remove-proptypes"}))}},90006:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isStatelessComponent;var r=Symbol("traversed");function isJSXElementOrReactCreateElement(e){var t=false;e.traverse({CallExpression:function CallExpression(e){var r=e.get("callee");if(r.matchesPattern("React.createElement")||r.matchesPattern("React.cloneElement")||r.node.name==="cloneElement"){t=true}},JSXElement:function JSXElement(){t=true}});return t}function isReturningJSXElement(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;if(e.node.init&&e.node.init.body&&isJSXElementOrReactCreateElement(e)){return true}if(t>20){throw new Error("transform-react-remove-prop-type: infinite loop detected.")}var n=false;e.traverse({ReturnStatement:function ReturnStatement(s){if(n){return}var i=s.get("argument");if(!i.node){return}if(isJSXElementOrReactCreateElement(s)){n=true;return}if(i.node.type==="CallExpression"){var a=i.get("callee").node.name;var o=e.scope.getBinding(a);if(!o){return}if(o.path[r]){return}o.path[r]=true;if(isReturningJSXElement(o.path,t+1)){n=true}}}});return n}var n=["VariableDeclarator","FunctionDeclaration"];function isStatelessComponent(e){if(n.indexOf(e.node.type)===-1){return false}if(isReturningJSXElement(e)){return true}return false}},52970:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=remove;function isInside(e,t){if(!e.hub.file.opts){return true}var r=e.hub.file.opts.filename;if(!r){return true}if(!t){return false}return t.test(r)}function remove(e,t,r){var n=t.visitedKey,s=t.unsafeWrapTemplate,i=t.wrapTemplate,a=t.mode,o=t.ignoreFilenames,l=t.types;if(o&&isInside(e.scope,o)){return}if(e.node[n]){return}e.node[n]=true;if(a==="remove"){if(e.parentPath.type==="ConditionalExpression"){e.replaceWith(l.unaryExpression("void",l.numericLiteral(0)))}else{e.remove()}return}if(a==="wrap"||a==="unsafe-wrap"){switch(r.type){case"createClass":break;case"class static":{var u;var p=r.pathClassDeclaration;if(!p.isClassExpression()&&p.node.id){u=p.node.id}else{return}var f=l.expressionStatement(l.assignmentExpression("=",l.memberExpression(u,e.node.key),e.node.value));if(p.parentPath.isExportDeclaration()){p=p.parentPath}p.insertAfter(f);e.remove();break}case"assign":if(a==="unsafe-wrap"){e.replaceWith(s({NODE:e.node}))}else{e.replaceWith(i({LEFT:e.node.left,RIGHT:e.node.right}))}e.node[n]=true;break;case"declarator":e.replaceWith(i({LEFT:e.node.id,RIGHT:e.node.init},{as:"variableDeclarator"}));e.node[n]=true;break;default:break}return}throw new Error("transform-react-remove-prop-type: unsupported mode ".concat(a,"."))}},36301:(e,t,r)=>{"use strict";var n=r(35747);var s=r(85622);var i=r(13401);Object.defineProperty(t,"commentRegex",{get:function getCommentRegex(){return/^\s*\/(?:\/|\*)[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/gm}});Object.defineProperty(t,"mapFileCommentRegex",{get:function getMapFileCommentRegex(){return/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"`]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^\*]+?)[ \t]*(?:\*\/){1}[ \t]*$)/gm}});function decodeBase64(e){return i.Buffer.from(e,"base64").toString()}function stripComment(e){return e.split(",").pop()}function readFromFileMap(e,r){var i=t.mapFileCommentRegex.exec(e);var a=i[1]||i[2];var o=s.resolve(r,a);try{return n.readFileSync(o,"utf8")}catch(e){throw new Error("An error occurred while trying to read the map file at "+o+"\n"+e)}}function Converter(e,t){t=t||{};if(t.isFileComment)e=readFromFileMap(e,t.commentFileDir);if(t.hasComment)e=stripComment(e);if(t.isEncoded)e=decodeBase64(e);if(t.isJSON||t.isEncoded)e=JSON.parse(e);this.sourcemap=e}Converter.prototype.toJSON=function(e){return JSON.stringify(this.sourcemap,null,e)};Converter.prototype.toBase64=function(){var e=this.toJSON();return i.Buffer.from(e,"utf8").toString("base64")};Converter.prototype.toComment=function(e){var t=this.toBase64();var r="sourceMappingURL=data:application/json;charset=utf-8;base64,"+t;return e&&e.multiline?"/*# "+r+" */":"//# "+r};Converter.prototype.toObject=function(){return JSON.parse(this.toJSON())};Converter.prototype.addProperty=function(e,t){if(this.sourcemap.hasOwnProperty(e))throw new Error('property "'+e+'" already exists on the sourcemap, use set property instead');return this.setProperty(e,t)};Converter.prototype.setProperty=function(e,t){this.sourcemap[e]=t;return this};Converter.prototype.getProperty=function(e){return this.sourcemap[e]};t.fromObject=function(e){return new Converter(e)};t.fromJSON=function(e){return new Converter(e,{isJSON:true})};t.fromBase64=function(e){return new Converter(e,{isEncoded:true})};t.fromComment=function(e){e=e.replace(/^\/\*/g,"//").replace(/\*\/$/g,"");return new Converter(e,{isEncoded:true,hasComment:true})};t.fromMapFileComment=function(e,t){return new Converter(e,{commentFileDir:t,isFileComment:true,isJSON:true})};t.fromSource=function(e){var r=e.match(t.commentRegex);return r?t.fromComment(r.pop()):null};t.fromMapFileSource=function(e,r){var n=e.match(t.mapFileCommentRegex);return n?t.fromMapFileComment(n.pop(),r):null};t.removeComments=function(e){return e.replace(t.commentRegex,"")};t.removeMapFileComments=function(e){return e.replace(t.mapFileCommentRegex,"")};t.generateMapFileComment=function(e,t){var r="sourceMappingURL="+e;return t&&t.multiline?"/*# "+r+" */":"//# "+r}},13401:(e,t,r)=>{var n=r(64293);var s=n.Buffer;function copyProps(e,t){for(var r in e){t[r]=e[r]}}if(s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow){e.exports=n}else{copyProps(n,t);t.Buffer=SafeBuffer}function SafeBuffer(e,t,r){return s(e,t,r)}copyProps(s,SafeBuffer);SafeBuffer.from=function(e,t,r){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return s(e,t,r)};SafeBuffer.alloc=function(e,t,r){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var n=s(e);if(t!==undefined){if(typeof r==="string"){n.fill(t,r)}else{n.fill(t)}}else{n.fill(0)}return n};SafeBuffer.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return s(e)};SafeBuffer.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return n.SlowBuffer(e)}},15873:(e,t,r)=>{"use strict";const n=r(64878);class Definition{constructor(e,t,r,n,s,i){this.type=e;this.name=t;this.node=r;this.parent=n;this.index=s;this.kind=i}}class ParameterDefinition extends Definition{constructor(e,t,r,s){super(n.Parameter,e,t,null,r,null);this.rest=s}}e.exports={ParameterDefinition:ParameterDefinition,Definition:Definition}},26839:(e,t,r)=>{"use strict";const n=r(42357);const s=r(44873);const i=r(96988);const a=r(28263);const o=r(64878);const l=r(51154).Scope;const u=r(77591).i8;function defaultOptions(){return{optimistic:false,directive:false,nodejsScope:false,impliedStrict:false,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function updateDeeply(e,t){function isHashObject(e){return typeof e==="object"&&e instanceof Object&&!(e instanceof Array)&&!(e instanceof RegExp)}for(const r in t){if(Object.prototype.hasOwnProperty.call(t,r)){const n=t[r];if(isHashObject(n)){if(isHashObject(e[r])){updateDeeply(e[r],n)}else{e[r]=updateDeeply({},n)}}else{e[r]=n}}}return e}function analyze(e,t){const r=updateDeeply(defaultOptions(),t);const a=new s(r);const o=new i(r,a);o.visit(e);n(a.__currentScope===null,"currentScope should be null.");return a}e.exports={version:u,Reference:a,Variable:o,Scope:l,ScopeManager:s,analyze:analyze}},17782:(e,t,r)=>{"use strict";const n=r(40379).Syntax;const s=r(11206);function getLast(e){return e[e.length-1]||null}class PatternVisitor extends s.Visitor{static isPattern(e){const t=e.type;return t===n.Identifier||t===n.ObjectPattern||t===n.ArrayPattern||t===n.SpreadElement||t===n.RestElement||t===n.AssignmentPattern}constructor(e,t,r){super(null,e);this.rootPattern=t;this.callback=r;this.assignments=[];this.rightHandNodes=[];this.restElements=[]}Identifier(e){const t=getLast(this.restElements);this.callback(e,{topLevel:e===this.rootPattern,rest:t!==null&&t!==undefined&&t.argument===e,assignments:this.assignments})}Property(e){if(e.computed){this.rightHandNodes.push(e.key)}this.visit(e.value)}ArrayPattern(e){for(let t=0,r=e.elements.length;t{this.rightHandNodes.push(e)});this.visit(e.callee)}}e.exports=PatternVisitor},28263:e=>{"use strict";const t=1;const r=2;const n=t|r;class Reference{constructor(e,t,r,n,s,i,a){this.identifier=e;this.from=t;this.tainted=false;this.resolved=null;this.flag=r;if(this.isWrite()){this.writeExpr=n;this.partial=i;this.init=a}this.__maybeImplicitGlobal=s}isStatic(){return!this.tainted&&this.resolved&&this.resolved.scope.isStatic()}isWrite(){return!!(this.flag&Reference.WRITE)}isRead(){return!!(this.flag&Reference.READ)}isReadOnly(){return this.flag===Reference.READ}isWriteOnly(){return this.flag===Reference.WRITE}isReadWrite(){return this.flag===Reference.RW}}Reference.READ=t;Reference.WRITE=r;Reference.RW=n;e.exports=Reference},96988:(e,t,r)=>{"use strict";const n=r(40379).Syntax;const s=r(11206);const i=r(28263);const a=r(64878);const o=r(17782);const l=r(15873);const u=r(42357);const p=l.ParameterDefinition;const f=l.Definition;function traverseIdentifierInPattern(e,t,r,n){const s=new o(e,t,n);s.visit(t);if(r!==null&&r!==undefined){s.rightHandNodes.forEach(r.visit,r)}}class Importer extends s.Visitor{constructor(e,t){super(null,t.options);this.declaration=e;this.referencer=t}visitImport(e,t){this.referencer.visitPattern(e,e=>{this.referencer.currentScope().__define(e,new f(a.ImportBinding,e,t,this.declaration,null,null))})}ImportNamespaceSpecifier(e){const t=e.local||e.id;if(t){this.visitImport(t,e)}}ImportDefaultSpecifier(e){const t=e.local||e.id;this.visitImport(t,e)}ImportSpecifier(e){const t=e.local||e.id;if(e.name){this.visitImport(e.name,e)}else{this.visitImport(t,e)}}}class Referencer extends s.Visitor{constructor(e,t){super(null,e);this.options=e;this.scopeManager=t;this.parent=null;this.isInnerMethodDefinition=false}currentScope(){return this.scopeManager.__currentScope}close(e){while(this.currentScope()&&e===this.currentScope().block){this.scopeManager.__currentScope=this.currentScope().__close(this.scopeManager)}}pushInnerMethodDefinition(e){const t=this.isInnerMethodDefinition;this.isInnerMethodDefinition=e;return t}popInnerMethodDefinition(e){this.isInnerMethodDefinition=e}referencingDefaultValue(e,t,r,n){const s=this.currentScope();t.forEach(t=>{s.__referencing(e,i.WRITE,t.right,r,e!==t.left,n)})}visitPattern(e,t,r){let n=t;let s=r;if(typeof t==="function"){s=t;n={processRightHandNodes:false}}traverseIdentifierInPattern(this.options,e,n.processRightHandNodes?this:null,s)}visitFunction(e){let t,r;if(e.type===n.FunctionDeclaration){this.currentScope().__define(e.id,new f(a.FunctionName,e.id,e,null,null,null))}if(e.type===n.FunctionExpression&&e.id){this.scopeManager.__nestFunctionExpressionNameScope(e)}this.scopeManager.__nestFunctionScope(e,this.isInnerMethodDefinition);const s=this;function visitPatternCallback(r,n){s.currentScope().__define(r,new p(r,e,t,n.rest));s.referencingDefaultValue(r,n.assignments,null,true)}for(t=0,r=e.params.length;t{this.currentScope().__define(t,new p(t,e,e.params.length,true))})}if(e.body){if(e.body.type===n.BlockStatement){this.visitChildren(e.body)}else{this.visit(e.body)}}this.close(e)}visitClass(e){if(e.type===n.ClassDeclaration){this.currentScope().__define(e.id,new f(a.ClassName,e.id,e,null,null,null))}this.visit(e.superClass);this.scopeManager.__nestClassScope(e);if(e.id){this.currentScope().__define(e.id,new f(a.ClassName,e.id,e))}this.visit(e.body);this.close(e)}visitProperty(e){let t;if(e.computed){this.visit(e.key)}const r=e.type===n.MethodDefinition;if(r){t=this.pushInnerMethodDefinition(true)}this.visit(e.value);if(r){this.popInnerMethodDefinition(t)}}visitForIn(e){if(e.left.type===n.VariableDeclaration&&e.left.kind!=="var"){this.scopeManager.__nestForScope(e)}if(e.left.type===n.VariableDeclaration){this.visit(e.left);this.visitPattern(e.left.declarations[0].id,t=>{this.currentScope().__referencing(t,i.WRITE,e.right,null,true,true)})}else{this.visitPattern(e.left,{processRightHandNodes:true},(t,r)=>{let n=null;if(!this.currentScope().isStrict){n={pattern:t,node:e}}this.referencingDefaultValue(t,r.assignments,n,false);this.currentScope().__referencing(t,i.WRITE,e.right,n,true,false)})}this.visit(e.right);this.visit(e.body);this.close(e)}visitVariableDeclaration(e,t,r,n){const s=r.declarations[n];const a=s.init;this.visitPattern(s.id,{processRightHandNodes:true},(o,l)=>{e.__define(o,new f(t,o,s,r,n,r.kind));this.referencingDefaultValue(o,l.assignments,null,true);if(a){this.currentScope().__referencing(o,i.WRITE,a,null,!l.topLevel,true)}})}AssignmentExpression(e){if(o.isPattern(e.left)){if(e.operator==="="){this.visitPattern(e.left,{processRightHandNodes:true},(t,r)=>{let n=null;if(!this.currentScope().isStrict){n={pattern:t,node:e}}this.referencingDefaultValue(t,r.assignments,n,false);this.currentScope().__referencing(t,i.WRITE,e.right,n,!r.topLevel,false)})}else{this.currentScope().__referencing(e.left,i.RW,e.right)}}else{this.visit(e.left)}this.visit(e.right)}CatchClause(e){this.scopeManager.__nestCatchScope(e);this.visitPattern(e.param,{processRightHandNodes:true},(t,r)=>{this.currentScope().__define(t,new f(a.CatchClause,e.param,e,null,null,null));this.referencingDefaultValue(t,r.assignments,null,true)});this.visit(e.body);this.close(e)}Program(e){this.scopeManager.__nestGlobalScope(e);if(this.scopeManager.__isNodejsScope()){this.currentScope().isStrict=false;this.scopeManager.__nestFunctionScope(e,false)}if(this.scopeManager.__isES6()&&this.scopeManager.isModule()){this.scopeManager.__nestModuleScope(e)}if(this.scopeManager.isStrictModeSupported()&&this.scopeManager.isImpliedStrict()){this.currentScope().isStrict=true}this.visitChildren(e);this.close(e)}Identifier(e){this.currentScope().__referencing(e)}UpdateExpression(e){if(o.isPattern(e.argument)){this.currentScope().__referencing(e.argument,i.RW,null)}else{this.visitChildren(e)}}MemberExpression(e){this.visit(e.object);if(e.computed){this.visit(e.property)}}Property(e){this.visitProperty(e)}MethodDefinition(e){this.visitProperty(e)}BreakStatement(){}ContinueStatement(){}LabeledStatement(e){this.visit(e.body)}ForStatement(e){if(e.init&&e.init.type===n.VariableDeclaration&&e.init.kind!=="var"){this.scopeManager.__nestForScope(e)}this.visitChildren(e);this.close(e)}ClassExpression(e){this.visitClass(e)}ClassDeclaration(e){this.visitClass(e)}CallExpression(e){if(!this.scopeManager.__ignoreEval()&&e.callee.type===n.Identifier&&e.callee.name==="eval"){this.currentScope().variableScope.__detectEval()}this.visitChildren(e)}BlockStatement(e){if(this.scopeManager.__isES6()){this.scopeManager.__nestBlockScope(e)}this.visitChildren(e);this.close(e)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(e){this.visit(e.object);this.scopeManager.__nestWithScope(e);this.visit(e.body);this.close(e)}VariableDeclaration(e){const t=e.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let r=0,n=e.declarations.length;r{"use strict";const n=r(51154);const s=r(42357);const i=n.GlobalScope;const a=n.CatchScope;const o=n.WithScope;const l=n.ModuleScope;const u=n.ClassScope;const p=n.SwitchScope;const f=n.FunctionScope;const c=n.ForScope;const d=n.FunctionExpressionNameScope;const y=n.BlockScope;class ScopeManager{constructor(e){this.scopes=[];this.globalScope=null;this.__nodeToScope=new WeakMap;this.__currentScope=null;this.__options=e;this.__declaredVariables=new WeakMap}__useDirective(){return this.__options.directive}__isOptimistic(){return this.__options.optimistic}__ignoreEval(){return this.__options.ignoreEval}__isNodejsScope(){return this.__options.nodejsScope}isModule(){return this.__options.sourceType==="module"}isImpliedStrict(){return this.__options.impliedStrict}isStrictModeSupported(){return this.__options.ecmaVersion>=5}__get(e){return this.__nodeToScope.get(e)}getDeclaredVariables(e){return this.__declaredVariables.get(e)||[]}acquire(e,t){function predicate(e){if(e.type==="function"&&e.functionExpressionScope){return false}return true}const r=this.__get(e);if(!r||r.length===0){return null}if(r.length===1){return r[0]}if(t){for(let e=r.length-1;e>=0;--e){const t=r[e];if(predicate(t)){return t}}}else{for(let e=0,t=r.length;e=6}}e.exports=ScopeManager},51154:(e,t,r)=>{"use strict";const n=r(40379).Syntax;const s=r(28263);const i=r(64878);const a=r(15873).Definition;const o=r(42357);function isStrictScope(e,t,r,s){let i;if(e.upper&&e.upper.isStrict){return true}if(r){return true}if(e.type==="class"||e.type==="module"){return true}if(e.type==="block"||e.type==="switch"){return false}if(e.type==="function"){if(t.type===n.ArrowFunctionExpression&&t.body.type!==n.BlockStatement){return false}if(t.type===n.Program){i=t}else{i=t.body}if(!i){return false}}else if(e.type==="global"){i=t}else{return false}if(s){for(let e=0,t=i.body.length;e0&&n.every(shouldBeStatically)}__staticCloseRef(e){if(!this.__resolve(e)){this.__delegateToUpperScope(e)}}__dynamicCloseRef(e){let t=this;do{t.through.push(e);t=t.upper}while(t)}__globalCloseRef(e){if(this.__shouldStaticallyCloseForGlobal(e)){this.__staticCloseRef(e)}else{this.__dynamicCloseRef(e)}}__close(e){let t;if(this.__shouldStaticallyClose(e)){t=this.__staticCloseRef}else if(this.type!=="global"){t=this.__dynamicCloseRef}else{t=this.__globalCloseRef}for(let e=0,r=this.__left.length;ee.name.range[0]>=r))}}class ForScope extends Scope{constructor(e,t,r){super(e,"for",t,r,false)}}class ClassScope extends Scope{constructor(e,t,r){super(e,"class",t,r,false)}}e.exports={Scope:Scope,GlobalScope:GlobalScope,ModuleScope:ModuleScope,FunctionExpressionNameScope:FunctionExpressionNameScope,CatchScope:CatchScope,WithScope:WithScope,BlockScope:BlockScope,SwitchScope:SwitchScope,FunctionScope:FunctionScope,ForScope:ForScope,ClassScope:ClassScope}},64878:e=>{"use strict";class Variable{constructor(e,t){this.name=e;this.identifiers=[];this.references=[];this.defs=[];this.tainted=false;this.stack=true;this.scope=t}}Variable.CatchClause="CatchClause";Variable.Parameter="Parameter";Variable.FunctionName="FunctionName";Variable.ClassName="ClassName";Variable.Variable="Variable";Variable.ImportBinding="ImportBinding";Variable.ImplicitGlobalVariable="ImplicitGlobalVariable";e.exports=Variable},11206:(e,t,r)=>{(function(){"use strict";var e=r(30818);function isNode(e){if(e==null){return false}return typeof e==="object"&&typeof e.type==="string"}function isProperty(t,r){return(t===e.Syntax.ObjectExpression||t===e.Syntax.ObjectPattern)&&r==="properties"}function Visitor(t,r){r=r||{};this.__visitor=t||this;this.__childVisitorKeys=r.childVisitorKeys?Object.assign({},e.VisitorKeys,r.childVisitorKeys):e.VisitorKeys;if(r.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof r.fallback==="function"){this.__fallback=r.fallback}}Visitor.prototype.visitChildren=function(t){var r,n,s,i,a,o,l;if(t==null){return}r=t.type||e.Syntax.Property;n=this.__childVisitorKeys[r];if(!n){if(this.__fallback){n=this.__fallback(t)}else{throw new Error("Unknown node type "+r+".")}}for(s=0,i=n.length;s{(function clone(e){"use strict";var t,r,n,s,i,a;function deepCopy(e){var t={},r,n;for(r in e){if(e.hasOwnProperty(r)){n=e[r];if(typeof n==="object"&&n!==null){t[r]=deepCopy(n)}else{t[r]=n}}}return t}function upperBound(e,t){var r,n,s,i;n=e.length;s=0;while(n){r=n>>>1;i=s+r;if(t(e[i])){n=r}else{s=i+1;n-=r+1}}return s}t={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};n={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};s={};i={};a={};r={Break:s,Skip:i,Remove:a};function Reference(e,t){this.parent=e;this.key=t}Reference.prototype.replace=function replace(e){this.parent[this.key]=e};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(e,t,r,n){this.node=e;this.path=t;this.wrap=r;this.ref=n}function Controller(){}Controller.prototype.path=function path(){var e,t,r,n,s,i;function addToPath(e,t){if(Array.isArray(t)){for(r=0,n=t.length;r=0;--r){if(e[r].node===t){return true}}return false}Controller.prototype.traverse=function traverse(e,t){var r,n,a,o,l,u,p,f,c,d,y,m;this.__initialize(e,t);m={};r=this.__worklist;n=this.__leavelist;r.push(new Element(e,null,null,null));n.push(new Element(null,null,null,null));while(r.length){a=r.pop();if(a===m){a=n.pop();u=this.__execute(t.leave,a);if(this.__state===s||u===s){return}continue}if(a.node){u=this.__execute(t.enter,a);if(this.__state===s||u===s){return}r.push(m);n.push(a);if(this.__state===i||u===i){continue}o=a.node;l=o.type||a.wrap;d=this.__keys[l];if(!d){if(this.__fallback){d=this.__fallback(o)}else{throw new Error("Unknown node type "+l+".")}}f=d.length;while((f-=1)>=0){p=d[f];y=o[p];if(!y){continue}if(Array.isArray(y)){c=y.length;while((c-=1)>=0){if(!y[c]){continue}if(candidateExistsInLeaveList(n,y[c])){continue}if(isProperty(l,d[f])){a=new Element(y[c],[p,c],"Property",null)}else if(isNode(y[c])){a=new Element(y[c],[p,c],null,null)}else{continue}r.push(a)}}else if(isNode(y)){if(candidateExistsInLeaveList(n,y)){continue}r.push(new Element(y,p,null,null))}}}}};Controller.prototype.replace=function replace(e,t){var r,n,o,l,u,p,f,c,d,y,m,T,h;function removeElem(e){var t,n,s,i;if(e.ref.remove()){n=e.ref.key;i=e.ref.parent;t=r.length;while(t--){s=r[t];if(s.ref&&s.ref.parent===i){if(s.ref.key=0){h=d[f];y=o[h];if(!y){continue}if(Array.isArray(y)){c=y.length;while((c-=1)>=0){if(!y[c]){continue}if(isProperty(l,d[f])){p=new Element(y[c],[h,c],"Property",new Reference(y,c))}else if(isNode(y[c])){p=new Element(y[c],[h,c],null,new Reference(y,c))}else{continue}r.push(p)}}else if(isNode(y)){r.push(new Element(y,h,null,new Reference(o,h)))}}}return T.root};function traverse(e,t){var r=new Controller;return r.traverse(e,t)}function replace(e,t){var r=new Controller;return r.replace(e,t)}function extendCommentRange(e,t){var r;r=upperBound(t,function search(t){return t.range[0]>e.range[0]});e.extendedRange=[e.range[0],e.range[1]];if(r!==t.length){e.extendedRange[1]=t[r].range[0]}r-=1;if(r>=0){e.extendedRange[0]=t[r].range[1]}return e}function attachComments(e,t,n){var s=[],i,a,o,l;if(!e.range){throw new Error("attachComments needs range information")}if(!n.length){if(t.length){for(o=0,a=t.length;oe.range[0]){break}if(t.extendedRange[1]===e.range[0]){if(!e.leadingComments){e.leadingComments=[]}e.leadingComments.push(t);s.splice(l,1)}else{l+=1}}if(l===s.length){return r.Break}if(s[l].extendedRange[0]>e.range[1]){return r.Skip}}});l=0;traverse(e,{leave:function(e){var t;while(le.range[1]){return r.Skip}}});return e}e.Syntax=t;e.traverse=traverse;e.replace=replace;e.attachComments=attachComments;e.VisitorKeys=n;e.VisitorOption=r;e.Controller=Controller;e.cloneEnvironment=function(){return clone({})};return e})(t)},40379:(e,t,r)=>{(function clone(e){"use strict";var t,n,s,i,a,o;function deepCopy(e){var t={},r,n;for(r in e){if(e.hasOwnProperty(r)){n=e[r];if(typeof n==="object"&&n!==null){t[r]=deepCopy(n)}else{t[r]=n}}}return t}function upperBound(e,t){var r,n,s,i;n=e.length;s=0;while(n){r=n>>>1;i=s+r;if(t(e[i])){n=r}else{s=i+1;n-=r+1}}return s}t={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};s={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};i={};a={};o={};n={Break:i,Skip:a,Remove:o};function Reference(e,t){this.parent=e;this.key=t}Reference.prototype.replace=function replace(e){this.parent[this.key]=e};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(e,t,r,n){this.node=e;this.path=t;this.wrap=r;this.ref=n}function Controller(){}Controller.prototype.path=function path(){var e,t,r,n,s,i;function addToPath(e,t){if(Array.isArray(t)){for(r=0,n=t.length;r=0){p=d[f];y=o[p];if(!y){continue}if(Array.isArray(y)){c=y.length;while((c-=1)>=0){if(!y[c]){continue}if(isProperty(l,d[f])){s=new Element(y[c],[p,c],"Property",null)}else if(isNode(y[c])){s=new Element(y[c],[p,c],null,null)}else{continue}r.push(s)}}else if(isNode(y)){r.push(new Element(y,p,null,null))}}}}};Controller.prototype.replace=function replace(e,t){var r,n,s,l,u,p,f,c,d,y,m,T,h;function removeElem(e){var t,n,s,i;if(e.ref.remove()){n=e.ref.key;i=e.ref.parent;t=r.length;while(t--){s=r[t];if(s.ref&&s.ref.parent===i){if(s.ref.key=0){h=d[f];y=s[h];if(!y){continue}if(Array.isArray(y)){c=y.length;while((c-=1)>=0){if(!y[c]){continue}if(isProperty(l,d[f])){p=new Element(y[c],[h,c],"Property",new Reference(y,c))}else if(isNode(y[c])){p=new Element(y[c],[h,c],null,new Reference(y,c))}else{continue}r.push(p)}}else if(isNode(y)){r.push(new Element(y,h,null,new Reference(s,h)))}}}return T.root};function traverse(e,t){var r=new Controller;return r.traverse(e,t)}function replace(e,t){var r=new Controller;return r.replace(e,t)}function extendCommentRange(e,t){var r;r=upperBound(t,function search(t){return t.range[0]>e.range[0]});e.extendedRange=[e.range[0],e.range[1]];if(r!==t.length){e.extendedRange[1]=t[r].range[0]}r-=1;if(r>=0){e.extendedRange[0]=t[r].range[1]}return e}function attachComments(e,t,r){var s=[],i,a,o,l;if(!e.range){throw new Error("attachComments needs range information")}if(!r.length){if(t.length){for(o=0,a=t.length;oe.range[0]){break}if(t.extendedRange[1]===e.range[0]){if(!e.leadingComments){e.leadingComments=[]}e.leadingComments.push(t);s.splice(l,1)}else{l+=1}}if(l===s.length){return n.Break}if(s[l].extendedRange[0]>e.range[1]){return n.Skip}}});l=0;traverse(e,{leave:function(e){var t;while(le.range[1]){return n.Skip}}});return e}e.version=r(35464).i8;e.Syntax=t;e.traverse=traverse;e.replace=replace;e.attachComments=attachComments;e.VisitorKeys=s;e.VisitorOption=n;e.Controller=Controller;e.cloneEnvironment=function(){return clone({})};return e})(t)},16252:e=>{"use strict";var t="Function.prototype.bind called on incompatible ";var r=Array.prototype.slice;var n=Object.prototype.toString;var s="[object Function]";e.exports=function bind(e){var i=this;if(typeof i!=="function"||n.call(i)!==s){throw new TypeError(t+i)}var a=r.call(arguments,1);var o;var l=function(){if(this instanceof o){var t=i.apply(this,a.concat(r.call(arguments)));if(Object(t)===t){return t}return this}else{return i.apply(e,a.concat(r.call(arguments)))}};var u=Math.max(0,i.length-a.length);var p=[];for(var f=0;f{"use strict";var n=r(16252);e.exports=Function.prototype.bind||n},67941:e=>{"use strict";const t=Symbol.for("gensync:v1:start");const r=Symbol.for("gensync:v1:suspend");const n="GENSYNC_EXPECTED_START";const s="GENSYNC_EXPECTED_SUSPEND";const i="GENSYNC_OPTIONS_ERROR";const a="GENSYNC_RACE_NONEMPTY";const o="GENSYNC_ERRBACK_NO_CALLBACK";e.exports=Object.assign(function gensync(e){let t=e;if(typeof e!=="function"){t=newGenerator(e)}else{t=wrapGenerator(e)}return Object.assign(t,makeFunctionAPI(t))},{all:buildOperation({name:"all",arity:1,sync:function(e){const t=Array.from(e[0]);return t.map(e=>evaluateSync(e))},async:function(e,t,r){const n=Array.from(e[0]);if(n.length===0){Promise.resolve().then(()=>t([]));return}let s=0;const i=n.map(()=>undefined);n.forEach((e,n)=>{evaluateAsync(e,e=>{i[n]=e;s+=1;if(s===i.length)t(i)},r)})}}),race:buildOperation({name:"race",arity:1,sync:function(e){const t=Array.from(e[0]);if(t.length===0){throw makeError("Must race at least 1 item",a)}return evaluateSync(t[0])},async:function(e,t,r){const n=Array.from(e[0]);if(n.length===0){throw makeError("Must race at least 1 item",a)}for(const e of n){evaluateAsync(e,t,r)}}})});function makeFunctionAPI(e){const t={sync:function(...t){return evaluateSync(e.apply(this,t))},async:function(...t){return new Promise((r,n)=>{evaluateAsync(e.apply(this,t),r,n)})},errback:function(...t){const r=t.pop();if(typeof r!=="function"){throw makeError("Asynchronous function called without callback",o)}let n;try{n=e.apply(this,t)}catch(e){r(e);return}evaluateAsync(n,e=>r(undefined,e),e=>r(e))}};return t}function assertTypeof(e,t,r,n){if(typeof r===e||n&&typeof r==="undefined"){return}let s;if(n){s=`Expected opts.${t} to be either a ${e}, or undefined.`}else{s=`Expected opts.${t} to be a ${e}.`}throw makeError(s,i)}function makeError(e,t){return Object.assign(new Error(e),{code:t})}function newGenerator({name:e,arity:t,sync:r,async:n,errback:s}){assertTypeof("string","name",e,true);assertTypeof("number","arity",t,true);assertTypeof("function","sync",r);assertTypeof("function","async",n,true);assertTypeof("function","errback",s,true);if(n&&s){throw makeError("Expected one of either opts.async or opts.errback, but got _both_.",i)}if(typeof e!=="string"){let t;if(s&&s.name&&s.name!=="errback"){t=s.name}if(n&&n.name&&n.name!=="async"){t=n.name.replace(/Async$/,"")}if(r&&r.name&&r.name!=="sync"){t=r.name.replace(/Sync$/,"")}if(typeof t==="string"){e=t}}if(typeof t!=="number"){t=r.length}return buildOperation({name:e,arity:t,sync:function(e){return r.apply(this,e)},async:function(e,t,i){if(n){n.apply(this,e).then(t,i)}else if(s){s.call(this,...e,(e,r)=>{if(e==null)t(r);else i(e)})}else{t(r.apply(this,e))}}})}function wrapGenerator(e){return setFunctionMetadata(e.name,e.length,function(...t){return e.apply(this,t)})}function buildOperation({name:e,arity:n,sync:s,async:i}){return setFunctionMetadata(e,n,function*(...e){const n=yield t;if(!n){const t=s.call(this,e);return t}let a;try{i.call(this,e,e=>{if(a)return;a={value:e};n()},e=>{if(a)return;a={err:e};n()})}catch(e){a={err:e};n()}yield r;if(a.hasOwnProperty("err")){throw a.err}return a.value})}function evaluateSync(e){let t;while(!({value:t}=e.next()).done){assertStart(t,e)}return t}function evaluateAsync(e,t,r){(function step(){try{let n;while(!({value:n}=e.next()).done){assertStart(n,e);let t=true;let r=false;const s=e.next(()=>{if(t){r=true}else{step()}});t=false;assertSuspend(s,e);if(!r){return}}return t(n)}catch(e){return r(e)}})()}function assertStart(e,r){if(e===t)return;throwError(r,makeError(`Got unexpected yielded value in gensync generator: ${JSON.stringify(e)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,n))}function assertSuspend({value:e,done:t},n){if(!t&&e===r)return;throwError(n,makeError(t?"Unexpected generator completion. If you get this, it is probably a gensync bug.":`Expected GENSYNC_SUSPEND, got ${JSON.stringify(e)}. If you get this, it is probably a gensync bug.`,s))}function throwError(e,t){if(e.throw)e.throw(t);throw t}function isIterable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!e[Symbol.iterator]}function setFunctionMetadata(e,t,r){if(typeof e==="string"){const t=Object.getOwnPropertyDescriptor(r,"name");if(!t||t.configurable){Object.defineProperty(r,"name",Object.assign(t||{},{configurable:true,value:e}))}}if(typeof t==="number"){const e=Object.getOwnPropertyDescriptor(r,"length");if(!e||e.configurable){Object.defineProperty(r,"length",Object.assign(e||{},{configurable:true,value:t}))}}return r}},41389:(e,t,r)=>{"use strict";e.exports=r(67589)},97841:(e,t,r)=>{"use strict";var n=r(45489);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},21176:(e,t,r)=>{"use strict";var n=r(97841);function specifierIncluded(e,t){var r=e.split(".");var n=t.split(" ");var s=n.length>1?n[0]:"=";var i=(n.length>1?n[1]:n[0]).split(".");for(var a=0;a<3;++a){var o=parseInt(r[a]||0,10);var l=parseInt(i[a]||0,10);if(o===l){continue}if(s==="<"){return o="){return o>=l}return false}return s===">="}function matchesRange(e,t){var r=t.split(/ ?&& ?/);if(r.length===0){return false}for(var n=0;n{Object.defineProperty(t,"__esModule",{value:true});t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:undefined};if(e[1])t.type="string",t.closed=!!(e[3]||e[4]);else if(e[5])t.type="comment";else if(e[6])t.type="comment",t.closed=!!e[7];else if(e[8])t.type="regex";else if(e[9])t.type="number";else if(e[10])t.type="name";else if(e[11])t.type="punctuator";else if(e[12])t.type="whitespace";return t}},66272:e=>{var t="Expected a function";var r=0/0;var n="[object Symbol]";var s=/^\s+|\s+$/g;var i=/^[-+]0x[0-9a-f]+$/i;var a=/^0b[01]+$/i;var o=/^0o[0-7]+$/i;var l=parseInt;var u=typeof global=="object"&&global&&global.Object===Object&&global;var p=typeof self=="object"&&self&&self.Object===Object&&self;var f=u||p||Function("return this")();var c=Object.prototype;var d=c.toString;var y=Math.max,m=Math.min;var T=function(){return f.Date.now()};function debounce(e,r,n){var s,i,a,o,l,u,p=0,f=false,c=false,d=true;if(typeof e!="function"){throw new TypeError(t)}r=toNumber(r)||0;if(isObject(n)){f=!!n.leading;c="maxWait"in n;a=c?y(toNumber(n.maxWait)||0,r):a;d="trailing"in n?!!n.trailing:d}function invokeFunc(t){var r=s,n=i;s=i=undefined;p=t;o=e.apply(n,r);return o}function leadingEdge(e){p=e;l=setTimeout(timerExpired,r);return f?invokeFunc(e):o}function remainingWait(e){var t=e-u,n=e-p,s=r-t;return c?m(s,a-n):s}function shouldInvoke(e){var t=e-u,n=e-p;return u===undefined||t>=r||t<0||c&&n>=a}function timerExpired(){var e=T();if(shouldInvoke(e)){return trailingEdge(e)}l=setTimeout(timerExpired,remainingWait(e))}function trailingEdge(e){l=undefined;if(d&&s){return invokeFunc(e)}s=i=undefined;return o}function cancel(){if(l!==undefined){clearTimeout(l)}p=0;s=u=i=l=undefined}function flush(){return l===undefined?o:trailingEdge(T())}function debounced(){var e=T(),t=shouldInvoke(e);s=arguments;i=this;u=e;if(t){if(l===undefined){return leadingEdge(u)}if(c){l=setTimeout(timerExpired,r);return invokeFunc(u)}}if(l===undefined){l=setTimeout(timerExpired,r)}return o}debounced.cancel=cancel;debounced.flush=flush;return debounced}function isObject(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function isObjectLike(e){return!!e&&typeof e=="object"}function isSymbol(e){return typeof e=="symbol"||isObjectLike(e)&&d.call(e)==n}function toNumber(e){if(typeof e=="number"){return e}if(isSymbol(e)){return r}if(isObject(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=isObject(t)?t+"":t}if(typeof e!="string"){return e===0?e:+e}e=e.replace(s,"");var n=a.test(e);return n||o.test(e)?l(e.slice(2),n?2:8):i.test(e)?r:+e}e.exports=debounce},82747:function(e,t,r){e=r.nmd(e);(function(){var r;var n="4.17.20";var s=200;var i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function";var o="__lodash_hash_undefined__";var l=500;var u="__lodash_placeholder__";var p=1,f=2,c=4;var d=1,y=2;var m=1,T=2,h=4,S=8,b=16,E=32,g=64,P=128,x=256,v=512;var A=30,O="...";var I=800,D=16;var w=1,j=2,N=3;var C=1/0,L=9007199254740991,_=1.7976931348623157e308,M=0/0;var F=4294967295,B=F-1,k=F>>>1;var R=[["ary",P],["bind",m],["bindKey",T],["curry",S],["curryRight",b],["flip",v],["partial",E],["partialRight",g],["rearg",x]];var K="[object Arguments]",V="[object Array]",X="[object AsyncFunction]",Y="[object Boolean]",J="[object Date]",U="[object DOMException]",W="[object Error]",q="[object Function]",z="[object GeneratorFunction]",G="[object Map]",$="[object Number]",H="[object Null]",Q="[object Object]",Z="[object Promise]",ee="[object Proxy]",te="[object RegExp]",re="[object Set]",ne="[object String]",se="[object Symbol]",ie="[object Undefined]",ae="[object WeakMap]",oe="[object WeakSet]";var le="[object ArrayBuffer]",ue="[object DataView]",pe="[object Float32Array]",fe="[object Float64Array]",ce="[object Int8Array]",de="[object Int16Array]",ye="[object Int32Array]",me="[object Uint8Array]",Te="[object Uint8ClampedArray]",he="[object Uint16Array]",Se="[object Uint32Array]";var be=/\b__p \+= '';/g,Ee=/\b(__p \+=) '' \+/g,ge=/(__e\(.*?\)|\b__t\)) \+\n'';/g;var Pe=/&(?:amp|lt|gt|quot|#39);/g,xe=/[&<>"']/g,ve=RegExp(Pe.source),Ae=RegExp(xe.source);var Oe=/<%-([\s\S]+?)%>/g,Ie=/<%([\s\S]+?)%>/g,De=/<%=([\s\S]+?)%>/g;var we=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,je=/^\w*$/,Ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var Ce=/[\\^$.*+?()[\]{}|]/g,Le=RegExp(Ce.source);var _e=/^\s+|\s+$/g,Me=/^\s+/,Fe=/\s+$/;var Be=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ke=/\{\n\/\* \[wrapped with (.+)\] \*/,Re=/,? & /;var Ke=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var Ve=/\\(\\)?/g;var Xe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;var Ye=/\w*$/;var Je=/^[-+]0x[0-9a-f]+$/i;var Ue=/^0b[01]+$/i;var We=/^\[object .+?Constructor\]$/;var qe=/^0o[0-7]+$/i;var ze=/^(?:0|[1-9]\d*)$/;var Ge=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;var $e=/($^)/;var He=/['\n\r\u2028\u2029\\]/g;var Qe="\\ud800-\\udfff",Ze="\\u0300-\\u036f",et="\\ufe20-\\ufe2f",tt="\\u20d0-\\u20ff",rt=Ze+et+tt,nt="\\u2700-\\u27bf",st="a-z\\xdf-\\xf6\\xf8-\\xff",it="\\xac\\xb1\\xd7\\xf7",at="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ot="\\u2000-\\u206f",lt=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ut="A-Z\\xc0-\\xd6\\xd8-\\xde",pt="\\ufe0e\\ufe0f",ft=it+at+ot+lt;var ct="['’]",dt="["+Qe+"]",yt="["+ft+"]",mt="["+rt+"]",Tt="\\d+",ht="["+nt+"]",St="["+st+"]",bt="[^"+Qe+ft+Tt+nt+st+ut+"]",Et="\\ud83c[\\udffb-\\udfff]",gt="(?:"+mt+"|"+Et+")",Pt="[^"+Qe+"]",xt="(?:\\ud83c[\\udde6-\\uddff]){2}",vt="[\\ud800-\\udbff][\\udc00-\\udfff]",At="["+ut+"]",Ot="\\u200d";var It="(?:"+St+"|"+bt+")",Dt="(?:"+At+"|"+bt+")",wt="(?:"+ct+"(?:d|ll|m|re|s|t|ve))?",jt="(?:"+ct+"(?:D|LL|M|RE|S|T|VE))?",Nt=gt+"?",Ct="["+pt+"]?",Lt="(?:"+Ot+"(?:"+[Pt,xt,vt].join("|")+")"+Ct+Nt+")*",_t="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Mt="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ft=Ct+Nt+Lt,Bt="(?:"+[ht,xt,vt].join("|")+")"+Ft,kt="(?:"+[Pt+mt+"?",mt,xt,vt,dt].join("|")+")";var Rt=RegExp(ct,"g");var Kt=RegExp(mt,"g");var Vt=RegExp(Et+"(?="+Et+")|"+kt+Ft,"g");var Xt=RegExp([At+"?"+St+"+"+wt+"(?="+[yt,At,"$"].join("|")+")",Dt+"+"+jt+"(?="+[yt,At+It,"$"].join("|")+")",At+"?"+It+"+"+wt,At+"+"+jt,Mt,_t,Tt,Bt].join("|"),"g");var Yt=RegExp("["+Ot+Qe+rt+pt+"]");var Jt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var Ut=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"];var Wt=-1;var qt={};qt[pe]=qt[fe]=qt[ce]=qt[de]=qt[ye]=qt[me]=qt[Te]=qt[he]=qt[Se]=true;qt[K]=qt[V]=qt[le]=qt[Y]=qt[ue]=qt[J]=qt[W]=qt[q]=qt[G]=qt[$]=qt[Q]=qt[te]=qt[re]=qt[ne]=qt[ae]=false;var zt={};zt[K]=zt[V]=zt[le]=zt[ue]=zt[Y]=zt[J]=zt[pe]=zt[fe]=zt[ce]=zt[de]=zt[ye]=zt[G]=zt[$]=zt[Q]=zt[te]=zt[re]=zt[ne]=zt[se]=zt[me]=zt[Te]=zt[he]=zt[Se]=true;zt[W]=zt[q]=zt[ae]=false;var Gt={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"};var $t={"&":"&","<":"<",">":">",'"':""","'":"'"};var Ht={"&":"&","<":"<",">":">",""":'"',"'":"'"};var Qt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};var Zt=parseFloat,er=parseInt;var tr=typeof global=="object"&&global&&global.Object===Object&&global;var rr=typeof self=="object"&&self&&self.Object===Object&&self;var nr=tr||rr||Function("return this")();var sr=true&&t&&!t.nodeType&&t;var ir=sr&&"object"=="object"&&e&&!e.nodeType&&e;var ar=ir&&ir.exports===sr;var or=ar&&tr.process;var lr=function(){try{var e=ir&&ir.require&&ir.require("util").types;if(e){return e}return or&&or.binding&&or.binding("util")}catch(e){}}();var ur=lr&&lr.isArrayBuffer,pr=lr&&lr.isDate,fr=lr&&lr.isMap,cr=lr&&lr.isRegExp,dr=lr&&lr.isSet,yr=lr&&lr.isTypedArray;function apply(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function arrayAggregator(e,t,r,n){var s=-1,i=e==null?0:e.length;while(++s-1}function arrayIncludesWith(e,t,r){var n=-1,s=e==null?0:e.length;while(++n-1){}return r}function charsEndIndex(e,t){var r=e.length;while(r--&&baseIndexOf(t,e[r],0)>-1){}return r}function countHolders(e,t){var r=e.length,n=0;while(r--){if(e[r]===t){++n}}return n}var Tr=basePropertyOf(Gt);var hr=basePropertyOf($t);function escapeStringChar(e){return"\\"+Qt[e]}function getValue(e,t){return e==null?r:e[t]}function hasUnicode(e){return Yt.test(e)}function hasUnicodeWord(e){return Jt.test(e)}function iteratorToArray(e){var t,r=[];while(!(t=e.next()).done){r.push(t.value)}return r}function mapToArray(e){var t=-1,r=Array(e.size);e.forEach(function(e,n){r[++t]=[n,e]});return r}function overArg(e,t){return function(r){return e(t(r))}}function replaceHolders(e,t){var r=-1,n=e.length,s=0,i=[];while(++r-1}function listCacheSet(e,t){var r=this.__data__,n=assocIndexOf(r,e);if(n<0){++this.size;r.push([e,t])}else{r[n][1]=t}return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t=t?e:t}}return e}function baseClone(e,t,n,s,i,a){var o,l=t&p,u=t&f,d=t&c;if(n){o=i?n(e,s,i,a):n(e)}if(o!==r){return o}if(!isObject(e)){return e}var y=Nn(e);if(y){o=initCloneArray(e);if(!l){return copyArray(e,o)}}else{var m=Kr(e),T=m==q||m==z;if(Ln(e)){return cloneBuffer(e,l)}if(m==Q||m==K||T&&!i){o=u||T?{}:initCloneObject(e);if(!l){return u?copySymbolsIn(e,baseAssignIn(o,e)):copySymbols(e,baseAssign(o,e))}}else{if(!zt[m]){return i?e:{}}o=initCloneByTag(e,m,l)}}a||(a=new Stack);var h=a.get(e);if(h){return h}a.set(e,o);if(Bn(e)){e.forEach(function(r){o.add(baseClone(r,t,n,r,e,a))})}else if(Mn(e)){e.forEach(function(r,s){o.set(s,baseClone(r,t,n,s,e,a))})}var S=d?u?getAllKeysIn:getAllKeys:u?keysIn:keys;var b=y?r:S(e);arrayEach(b||e,function(r,s){if(b){s=r;r=e[s]}assignValue(o,s,baseClone(r,t,n,s,e,a))});return o}function baseConforms(e){var t=keys(e);return function(r){return baseConformsTo(r,e,t)}}function baseConformsTo(e,t,n){var s=n.length;if(e==null){return!s}e=tt(e);while(s--){var i=n[s],a=t[i],o=e[i];if(o===r&&!(i in e)||!a(o)){return false}}return true}function baseDelay(e,t,n){if(typeof e!="function"){throw new st(a)}return Yr(function(){e.apply(r,n)},t)}function baseDifference(e,t,r,n){var i=-1,a=arrayIncludes,o=true,l=e.length,u=[],p=t.length;if(!l){return u}if(r){t=arrayMap(t,baseUnary(r))}if(n){a=arrayIncludesWith;o=false}else if(t.length>=s){a=cacheHas;o=false;t=new SetCache(t)}e:while(++ii?0:i+n}s=s===r||s>i?i:toInteger(s);if(s<0){s+=i}s=n>s?0:toLength(s);while(n0&&r(o)){if(t>1){baseFlatten(o,t-1,r,n,s)}else{arrayPush(s,o)}}else if(!n){s[s.length]=o}}return s}var jr=createBaseFor();var Nr=createBaseFor(true);function baseForOwn(e,t){return e&&jr(e,t,keys)}function baseForOwnRight(e,t){return e&&Nr(e,t,keys)}function baseFunctions(e,t){return arrayFilter(t,function(t){return isFunction(e[t])})}function baseGet(e,t){t=castPath(t,e);var n=0,s=t.length;while(e!=null&&nt}function baseHas(e,t){return e!=null&&pt.call(e,t)}function baseHasIn(e,t){return e!=null&&t in tt(e)}function baseInRange(e,t,r){return e>=Xt(t,r)&&e=120&&c.length>=120)?new SetCache(l&&c):r}c=e[0];var d=-1,y=u[0];e:while(++d-1){if(o!==e){vt.call(o,l,1)}vt.call(e,l,1)}}return e}function basePullAt(e,t){var r=e?t.length:0,n=r-1;while(r--){var s=t[r];if(r==n||s!==i){var i=s;if(isIndex(s)){vt.call(e,s,1)}else{baseUnset(e,s)}}}return e}function baseRandom(e,t){return e+Lt(Gt()*(t-e+1))}function baseRange(e,r,n,s){var i=-1,a=Vt(Ct((r-e)/(n||1)),0),o=t(a);while(a--){o[s?a:++i]=e;e+=n}return o}function baseRepeat(e,t){var r="";if(!e||t<1||t>L){return r}do{if(t%2){r+=e}t=Lt(t/2);if(t){e+=e}}while(t);return r}function baseRest(e,t){return Jr(overRest(e,t,identity),e+"")}function baseSample(e){return arraySample(values(e))}function baseSampleSize(e,t){var r=values(e);return shuffleSelf(r,baseClamp(t,0,r.length))}function baseSet(e,t,n,s){if(!isObject(e)){return e}t=castPath(t,e);var i=-1,a=t.length,o=a-1,l=e;while(l!=null&&++ii?0:i+r}n=n>i?i:n;if(n<0){n+=i}i=r>n?0:n-r>>>0;r>>>=0;var a=t(i);while(++s>>1,a=e[i];if(a!==null&&!isSymbol(a)&&(r?a<=t:a=s){var p=t?null:Fr(e);if(p){return setToArray(p)}o=false;i=cacheHas;u=new SetCache}else{u=t?[]:l}e:while(++n=s?e:baseSlice(e,t,n)}var Mr=wt||function(e){return nr.clearTimeout(e)};function cloneBuffer(e,t){if(t){return e.slice()}var r=e.length,n=Et?Et(r):new e.constructor(r);e.copy(n);return n}function cloneArrayBuffer(e){var t=new e.constructor(e.byteLength);new bt(t).set(new bt(e));return t}function cloneDataView(e,t){var r=t?cloneArrayBuffer(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}function cloneRegExp(e){var t=new e.constructor(e.source,Ye.exec(e));t.lastIndex=e.lastIndex;return t}function cloneSymbol(e){return Ar?tt(Ar.call(e)):{}}function cloneTypedArray(e,t){var r=t?cloneArrayBuffer(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function compareAscending(e,t){if(e!==t){var n=e!==r,s=e===null,i=e===e,a=isSymbol(e);var o=t!==r,l=t===null,u=t===t,p=isSymbol(t);if(!l&&!p&&!a&&e>t||a&&o&&u&&!l&&!p||s&&o&&u||!n&&u||!i){return 1}if(!s&&!a&&!p&&e=o){return l}var u=r[n];return l*(u=="desc"?-1:1)}}return e.index-t.index}function composeArgs(e,r,n,s){var i=-1,a=e.length,o=n.length,l=-1,u=r.length,p=Vt(a-o,0),f=t(u+p),c=!s;while(++l1?n[i-1]:r,o=i>2?n[2]:r;a=e.length>3&&typeof a=="function"?(i--,a):r;if(o&&isIterateeCall(n[0],n[1],o)){a=i<3?r:a;i=1}t=tt(t);while(++s-1?i[a?t[o]:o]:r}}function createFlow(e){return flatRest(function(t){var n=t.length,s=n,i=LodashWrapper.prototype.thru;if(e){t.reverse()}while(s--){var o=t[s];if(typeof o!="function"){throw new st(a)}if(i&&!l&&getFuncName(o)=="wrapper"){var l=new LodashWrapper([],true)}}s=l?s:n;while(++s1){m.reverse()}if(c&&pl)){return false}var p=a.get(e);var f=a.get(t);if(p&&f){return p==t&&f==e}var c=-1,m=true,T=n&y?new SetCache:r;a.set(e,t);a.set(t,e);while(++c1?"& ":"")+t[n];t=t.join(r>2?", ":" ");return e.replace(Be,"{\n/* [wrapped with "+t+"] */\n")}function isFlattenable(e){return Nn(e)||jn(e)||!!(At&&e&&e[At])}function isIndex(e,t){var r=typeof e;t=t==null?L:t;return!!t&&(r=="number"||r!="symbol"&&ze.test(e))&&(e>-1&&e%1==0&&e0){if(++t>=I){return arguments[0]}}else{t=0}return e.apply(r,arguments)}}function shuffleSelf(e,t){var n=-1,s=e.length,i=s-1;t=t===r?s:t;while(++n1?e[t-1]:r;n=typeof n=="function"?(e.pop(),n):r;return unzipWith(e,n)});function chain(e){var t=lodash(e);t.__chain__=true;return t}function tap(e,t){t(e);return e}function thru(e,t){return t(e)}var pn=flatRest(function(e){var t=e.length,n=t?e[0]:0,s=this.__wrapped__,i=function(t){return baseAt(t,e)};if(t>1||this.__actions__.length||!(s instanceof LazyWrapper)||!isIndex(n)){return this.thru(i)}s=s.slice(n,+n+(t?1:0));s.__actions__.push({func:thru,args:[i],thisArg:r});return new LodashWrapper(s,this.__chain__).thru(function(e){if(t&&!e.length){e.push(r)}return e})});function wrapperChain(){return chain(this)}function wrapperCommit(){return new LodashWrapper(this.value(),this.__chain__)}function wrapperNext(){if(this.__values__===r){this.__values__=toArray(this.value())}var e=this.__index__>=this.__values__.length,t=e?r:this.__values__[this.__index__++];return{done:e,value:t}}function wrapperToIterator(){return this}function wrapperPlant(e){var t,n=this;while(n instanceof baseLodash){var s=wrapperClone(n);s.__index__=0;s.__values__=r;if(t){i.__wrapped__=s}else{t=s}var i=s;n=n.__wrapped__}i.__wrapped__=e;return t}function wrapperReverse(){var e=this.__wrapped__;if(e instanceof LazyWrapper){var t=e;if(this.__actions__.length){t=new LazyWrapper(this)}t=t.reverse();t.__actions__.push({func:thru,args:[reverse],thisArg:r});return new LodashWrapper(t,this.__chain__)}return this.thru(reverse)}function wrapperValue(){return baseWrapperValue(this.__wrapped__,this.__actions__)}var fn=createAggregator(function(e,t,r){if(pt.call(e,r)){++e[r]}else{baseAssignValue(e,r,1)}});function every(e,t,n){var s=Nn(e)?arrayEvery:baseEvery;if(n&&isIterateeCall(e,t,n)){t=r}return s(e,getIteratee(t,3))}function filter(e,t){var r=Nn(e)?arrayFilter:baseFilter;return r(e,getIteratee(t,3))}var cn=createFind(findIndex);var dn=createFind(findLastIndex);function flatMap(e,t){return baseFlatten(map(e,t),1)}function flatMapDeep(e,t){return baseFlatten(map(e,t),C)}function flatMapDepth(e,t,n){n=n===r?1:toInteger(n);return baseFlatten(map(e,t),n)}function forEach(e,t){var r=Nn(e)?arrayEach:Dr;return r(e,getIteratee(t,3))}function forEachRight(e,t){var r=Nn(e)?arrayEachRight:wr;return r(e,getIteratee(t,3))}var yn=createAggregator(function(e,t,r){if(pt.call(e,r)){e[r].push(t)}else{baseAssignValue(e,r,[t])}});function includes(e,t,r,n){e=isArrayLike(e)?e:values(e);r=r&&!n?toInteger(r):0;var s=e.length;if(r<0){r=Vt(s+r,0)}return isString(e)?r<=s&&e.indexOf(t,r)>-1:!!s&&baseIndexOf(e,t,r)>-1}var mn=baseRest(function(e,r,n){var s=-1,i=typeof r=="function",a=isArrayLike(e)?t(e.length):[];Dr(e,function(e){a[++s]=i?apply(r,e,n):baseInvoke(e,r,n)});return a});var Tn=createAggregator(function(e,t,r){baseAssignValue(e,r,t)});function map(e,t){var r=Nn(e)?arrayMap:baseMap;return r(e,getIteratee(t,3))}function orderBy(e,t,n,s){if(e==null){return[]}if(!Nn(t)){t=t==null?[]:[t]}n=s?r:n;if(!Nn(n)){n=n==null?[]:[n]}return baseOrderBy(e,t,n)}var hn=createAggregator(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});function reduce(e,t,r){var n=Nn(e)?arrayReduce:baseReduce,s=arguments.length<3;return n(e,getIteratee(t,4),r,s,Dr)}function reduceRight(e,t,r){var n=Nn(e)?arrayReduceRight:baseReduce,s=arguments.length<3;return n(e,getIteratee(t,4),r,s,wr)}function reject(e,t){var r=Nn(e)?arrayFilter:baseFilter;return r(e,negate(getIteratee(t,3)))}function sample(e){var t=Nn(e)?arraySample:baseSample;return t(e)}function sampleSize(e,t,n){if(n?isIterateeCall(e,t,n):t===r){t=1}else{t=toInteger(t)}var s=Nn(e)?arraySampleSize:baseSampleSize;return s(e,t)}function shuffle(e){var t=Nn(e)?arrayShuffle:baseShuffle;return t(e)}function size(e){if(e==null){return 0}if(isArrayLike(e)){return isString(e)?stringSize(e):e.length}var t=Kr(e);if(t==G||t==re){return e.size}return baseKeys(e).length}function some(e,t,n){var s=Nn(e)?arraySome:baseSome;if(n&&isIterateeCall(e,t,n)){t=r}return s(e,getIteratee(t,3))}var Sn=baseRest(function(e,t){if(e==null){return[]}var r=t.length;if(r>1&&isIterateeCall(e,t[0],t[1])){t=[]}else if(r>2&&isIterateeCall(t[0],t[1],t[2])){t=[t[0]]}return baseOrderBy(e,baseFlatten(t,1),[])});var bn=jt||function(){return nr.Date.now()};function after(e,t){if(typeof t!="function"){throw new st(a)}e=toInteger(e);return function(){if(--e<1){return t.apply(this,arguments)}}}function ary(e,t,n){t=n?r:t;t=e&&t==null?e.length:t;return createWrap(e,P,r,r,r,r,t)}function before(e,t){var n;if(typeof t!="function"){throw new st(a)}e=toInteger(e);return function(){if(--e>0){n=t.apply(this,arguments)}if(e<=1){t=r}return n}}var En=baseRest(function(e,t,r){var n=m;if(r.length){var s=replaceHolders(r,getHolder(En));n|=E}return createWrap(e,n,t,r,s)});var gn=baseRest(function(e,t,r){var n=m|T;if(r.length){var s=replaceHolders(r,getHolder(gn));n|=E}return createWrap(t,n,e,r,s)});function curry(e,t,n){t=n?r:t;var s=createWrap(e,S,r,r,r,r,r,t);s.placeholder=curry.placeholder;return s}function curryRight(e,t,n){t=n?r:t;var s=createWrap(e,b,r,r,r,r,r,t);s.placeholder=curryRight.placeholder;return s}function debounce(e,t,n){var s,i,o,l,u,p,f=0,c=false,d=false,y=true;if(typeof e!="function"){throw new st(a)}t=toNumber(t)||0;if(isObject(n)){c=!!n.leading;d="maxWait"in n;o=d?Vt(toNumber(n.maxWait)||0,t):o;y="trailing"in n?!!n.trailing:y}function invokeFunc(t){var n=s,a=i;s=i=r;f=t;l=e.apply(a,n);return l}function leadingEdge(e){f=e;u=Yr(timerExpired,t);return c?invokeFunc(e):l}function remainingWait(e){var r=e-p,n=e-f,s=t-r;return d?Xt(s,o-n):s}function shouldInvoke(e){var n=e-p,s=e-f;return p===r||n>=t||n<0||d&&s>=o}function timerExpired(){var e=bn();if(shouldInvoke(e)){return trailingEdge(e)}u=Yr(timerExpired,remainingWait(e))}function trailingEdge(e){u=r;if(y&&s){return invokeFunc(e)}s=i=r;return l}function cancel(){if(u!==r){Mr(u)}f=0;s=p=i=u=r}function flush(){return u===r?l:trailingEdge(bn())}function debounced(){var e=bn(),n=shouldInvoke(e);s=arguments;i=this;p=e;if(n){if(u===r){return leadingEdge(p)}if(d){Mr(u);u=Yr(timerExpired,t);return invokeFunc(p)}}if(u===r){u=Yr(timerExpired,t)}return l}debounced.cancel=cancel;debounced.flush=flush;return debounced}var Pn=baseRest(function(e,t){return baseDelay(e,1,t)});var xn=baseRest(function(e,t,r){return baseDelay(e,toNumber(t)||0,r)});function flip(e){return createWrap(e,v)}function memoize(e,t){if(typeof e!="function"||t!=null&&typeof t!="function"){throw new st(a)}var r=function(){var n=arguments,s=t?t.apply(this,n):n[0],i=r.cache;if(i.has(s)){return i.get(s)}var a=e.apply(this,n);r.cache=i.set(s,a)||i;return a};r.cache=new(memoize.Cache||MapCache);return r}memoize.Cache=MapCache;function negate(e){if(typeof e!="function"){throw new st(a)}return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function once(e){return before(2,e)}var vn=_r(function(e,t){t=t.length==1&&Nn(t[0])?arrayMap(t[0],baseUnary(getIteratee())):arrayMap(baseFlatten(t,1),baseUnary(getIteratee()));var r=t.length;return baseRest(function(n){var s=-1,i=Xt(n.length,r);while(++s=t});var jn=baseIsArguments(function(){return arguments}())?baseIsArguments:function(e){return isObjectLike(e)&&pt.call(e,"callee")&&!xt.call(e,"callee")};var Nn=t.isArray;var Cn=ur?baseUnary(ur):baseIsArrayBuffer;function isArrayLike(e){return e!=null&&isLength(e.length)&&!isFunction(e)}function isArrayLikeObject(e){return isObjectLike(e)&&isArrayLike(e)}function isBoolean(e){return e===true||e===false||isObjectLike(e)&&baseGetTag(e)==Y}var Ln=Mt||stubFalse;var _n=pr?baseUnary(pr):baseIsDate;function isElement(e){return isObjectLike(e)&&e.nodeType===1&&!isPlainObject(e)}function isEmpty(e){if(e==null){return true}if(isArrayLike(e)&&(Nn(e)||typeof e=="string"||typeof e.splice=="function"||Ln(e)||kn(e)||jn(e))){return!e.length}var t=Kr(e);if(t==G||t==re){return!e.size}if(isPrototype(e)){return!baseKeys(e).length}for(var r in e){if(pt.call(e,r)){return false}}return true}function isEqual(e,t){return baseIsEqual(e,t)}function isEqualWith(e,t,n){n=typeof n=="function"?n:r;var s=n?n(e,t):r;return s===r?baseIsEqual(e,t,r,n):!!s}function isError(e){if(!isObjectLike(e)){return false}var t=baseGetTag(e);return t==W||t==U||typeof e.message=="string"&&typeof e.name=="string"&&!isPlainObject(e)}function isFinite(e){return typeof e=="number"&&Ft(e)}function isFunction(e){if(!isObject(e)){return false}var t=baseGetTag(e);return t==q||t==z||t==X||t==ee}function isInteger(e){return typeof e=="number"&&e==toInteger(e)}function isLength(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=L}function isObject(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function isObjectLike(e){return e!=null&&typeof e=="object"}var Mn=fr?baseUnary(fr):baseIsMap;function isMatch(e,t){return e===t||baseIsMatch(e,t,getMatchData(t))}function isMatchWith(e,t,n){n=typeof n=="function"?n:r;return baseIsMatch(e,t,getMatchData(t),n)}function isNaN(e){return isNumber(e)&&e!=+e}function isNative(e){if(Vr(e)){throw new Qe(i)}return baseIsNative(e)}function isNull(e){return e===null}function isNil(e){return e==null}function isNumber(e){return typeof e=="number"||isObjectLike(e)&&baseGetTag(e)==$}function isPlainObject(e){if(!isObjectLike(e)||baseGetTag(e)!=Q){return false}var t=gt(e);if(t===null){return true}var r=pt.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&ut.call(r)==yt}var Fn=cr?baseUnary(cr):baseIsRegExp;function isSafeInteger(e){return isInteger(e)&&e>=-L&&e<=L}var Bn=dr?baseUnary(dr):baseIsSet;function isString(e){return typeof e=="string"||!Nn(e)&&isObjectLike(e)&&baseGetTag(e)==ne}function isSymbol(e){return typeof e=="symbol"||isObjectLike(e)&&baseGetTag(e)==se}var kn=yr?baseUnary(yr):baseIsTypedArray;function isUndefined(e){return e===r}function isWeakMap(e){return isObjectLike(e)&&Kr(e)==ae}function isWeakSet(e){return isObjectLike(e)&&baseGetTag(e)==oe}var Rn=createRelationalOperation(baseLt);var Kn=createRelationalOperation(function(e,t){return e<=t});function toArray(e){if(!e){return[]}if(isArrayLike(e)){return isString(e)?stringToArray(e):copyArray(e)}if(Ot&&e[Ot]){return iteratorToArray(e[Ot]())}var t=Kr(e),r=t==G?mapToArray:t==re?setToArray:values;return r(e)}function toFinite(e){if(!e){return e===0?e:0}e=toNumber(e);if(e===C||e===-C){var t=e<0?-1:1;return t*_}return e===e?e:0}function toInteger(e){var t=toFinite(e),r=t%1;return t===t?r?t-r:t:0}function toLength(e){return e?baseClamp(toInteger(e),0,F):0}function toNumber(e){if(typeof e=="number"){return e}if(isSymbol(e)){return M}if(isObject(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=isObject(t)?t+"":t}if(typeof e!="string"){return e===0?e:+e}e=e.replace(_e,"");var r=Ue.test(e);return r||qe.test(e)?er(e.slice(2),r?2:8):Je.test(e)?M:+e}function toPlainObject(e){return copyObject(e,keysIn(e))}function toSafeInteger(e){return e?baseClamp(toInteger(e),-L,L):e===0?e:0}function toString(e){return e==null?"":baseToString(e)}var Vn=createAssigner(function(e,t){if(isPrototype(t)||isArrayLike(t)){copyObject(t,keys(t),e);return}for(var r in t){if(pt.call(t,r)){assignValue(e,r,t[r])}}});var Xn=createAssigner(function(e,t){copyObject(t,keysIn(t),e)});var Yn=createAssigner(function(e,t,r,n){copyObject(t,keysIn(t),e,n)});var Jn=createAssigner(function(e,t,r,n){copyObject(t,keys(t),e,n)});var Un=flatRest(baseAt);function create(e,t){var r=Ir(e);return t==null?r:baseAssign(r,t)}var Wn=baseRest(function(e,t){e=tt(e);var n=-1;var s=t.length;var i=s>2?t[2]:r;if(i&&isIterateeCall(t[0],t[1],i)){s=1}while(++n1);return t});copyObject(e,getAllKeysIn(e),r);if(n){r=baseClone(r,p|f|c,customOmitClone)}var s=t.length;while(s--){baseUnset(r,t[s])}return r});function omitBy(e,t){return pickBy(e,negate(getIteratee(t)))}var es=flatRest(function(e,t){return e==null?{}:basePick(e,t)});function pickBy(e,t){if(e==null){return{}}var r=arrayMap(getAllKeysIn(e),function(e){return[e]});t=getIteratee(t);return basePickBy(e,r,function(e,r){return t(e,r[0])})}function result(e,t,n){t=castPath(t,e);var s=-1,i=t.length;if(!i){i=1;e=r}while(++st){var s=e;e=t;t=s}if(n||e%1||t%1){var i=Gt();return Xt(e+i*(t-e+Zt("1e-"+((i+"").length-1))),t)}return baseRandom(e,t)}var ns=createCompounder(function(e,t,r){t=t.toLowerCase();return e+(r?capitalize(t):t)});function capitalize(e){return ps(toString(e).toLowerCase())}function deburr(e){e=toString(e);return e&&e.replace(Ge,Tr).replace(Kt,"")}function endsWith(e,t,n){e=toString(e);t=baseToString(t);var s=e.length;n=n===r?s:baseClamp(toInteger(n),0,s);var i=n;n-=t.length;return n>=0&&e.slice(n,i)==t}function escape(e){e=toString(e);return e&&Ae.test(e)?e.replace(xe,hr):e}function escapeRegExp(e){e=toString(e);return e&&Le.test(e)?e.replace(Ce,"\\$&"):e}var ss=createCompounder(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()});var is=createCompounder(function(e,t,r){return e+(r?" ":"")+t.toLowerCase()});var as=createCaseFirst("toLowerCase");function pad(e,t,r){e=toString(e);t=toInteger(t);var n=t?stringSize(e):0;if(!t||n>=t){return e}var s=(t-n)/2;return createPadding(Lt(s),r)+e+createPadding(Ct(s),r)}function padEnd(e,t,r){e=toString(e);t=toInteger(t);var n=t?stringSize(e):0;return t&&n>>0;if(!n){return[]}e=toString(e);if(e&&(typeof t=="string"||t!=null&&!Fn(t))){t=baseToString(t);if(!t&&hasUnicode(e)){return castSlice(stringToArray(e),0,n)}}return e.split(t,n)}var ls=createCompounder(function(e,t,r){return e+(r?" ":"")+ps(t)});function startsWith(e,t,r){e=toString(e);r=r==null?0:baseClamp(toInteger(r),0,e.length);t=baseToString(t);return e.slice(r,r+t.length)==t}function template(e,t,n){var s=lodash.templateSettings;if(n&&isIterateeCall(e,t,n)){t=r}e=toString(e);t=Yn({},t,s,customDefaultsAssignIn);var i=Yn({},t.imports,s.imports,customDefaultsAssignIn),a=keys(i),o=baseValues(i,a);var l,u,p=0,f=t.interpolate||$e,c="__p += '";var d=rt((t.escape||$e).source+"|"+f.source+"|"+(f===De?Xe:$e).source+"|"+(t.evaluate||$e).source+"|$","g");var y="//# sourceURL="+(pt.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Wt+"]")+"\n";e.replace(d,function(t,r,n,s,i,a){n||(n=s);c+=e.slice(p,a).replace(He,escapeStringChar);if(r){l=true;c+="' +\n__e("+r+") +\n'"}if(i){u=true;c+="';\n"+i+";\n__p += '"}if(n){c+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"}p=a+t.length;return t});c+="';\n";var m=pt.call(t,"variable")&&t.variable;if(!m){c="with (obj) {\n"+c+"\n}\n"}c=(u?c.replace(be,""):c).replace(Ee,"$1").replace(ge,"$1;");c="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(l?", __e = _.escape":"")+(u?", __j = Array.prototype.join;\n"+"function print() { __p += __j.call(arguments, '') }\n":";\n")+c+"return __p\n}";var T=fs(function(){return Ze(a,y+"return "+c).apply(r,o)});T.source=c;if(isError(T)){throw T}return T}function toLower(e){return toString(e).toLowerCase()}function toUpper(e){return toString(e).toUpperCase()}function trim(e,t,n){e=toString(e);if(e&&(n||t===r)){return e.replace(_e,"")}if(!e||!(t=baseToString(t))){return e}var s=stringToArray(e),i=stringToArray(t),a=charsStartIndex(s,i),o=charsEndIndex(s,i)+1;return castSlice(s,a,o).join("")}function trimEnd(e,t,n){e=toString(e);if(e&&(n||t===r)){return e.replace(Fe,"")}if(!e||!(t=baseToString(t))){return e}var s=stringToArray(e),i=charsEndIndex(s,stringToArray(t))+1;return castSlice(s,0,i).join("")}function trimStart(e,t,n){e=toString(e);if(e&&(n||t===r)){return e.replace(Me,"")}if(!e||!(t=baseToString(t))){return e}var s=stringToArray(e),i=charsStartIndex(s,stringToArray(t));return castSlice(s,i).join("")}function truncate(e,t){var n=A,s=O;if(isObject(t)){var i="separator"in t?t.separator:i;n="length"in t?toInteger(t.length):n;s="omission"in t?baseToString(t.omission):s}e=toString(e);var a=e.length;if(hasUnicode(e)){var o=stringToArray(e);a=o.length}if(n>=a){return e}var l=n-stringSize(s);if(l<1){return s}var u=o?castSlice(o,0,l).join(""):e.slice(0,l);if(i===r){return u+s}if(o){l+=u.length-l}if(Fn(i)){if(e.slice(l).search(i)){var p,f=u;if(!i.global){i=rt(i.source,toString(Ye.exec(i))+"g")}i.lastIndex=0;while(p=i.exec(f)){var c=p.index}u=u.slice(0,c===r?l:c)}}else if(e.indexOf(baseToString(i),l)!=l){var d=u.lastIndexOf(i);if(d>-1){u=u.slice(0,d)}}return u+s}function unescape(e){e=toString(e);return e&&ve.test(e)?e.replace(Pe,Sr):e}var us=createCompounder(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()});var ps=createCaseFirst("toUpperCase");function words(e,t,n){e=toString(e);t=n?r:t;if(t===r){return hasUnicodeWord(e)?unicodeWords(e):asciiWords(e)}return e.match(t)||[]}var fs=baseRest(function(e,t){try{return apply(e,r,t)}catch(e){return isError(e)?e:new Qe(e)}});var cs=flatRest(function(e,t){arrayEach(t,function(t){t=toKey(t);baseAssignValue(e,t,En(e[t],e))});return e});function cond(e){var t=e==null?0:e.length,r=getIteratee();e=!t?[]:arrayMap(e,function(e){if(typeof e[1]!="function"){throw new st(a)}return[r(e[0]),e[1]]});return baseRest(function(r){var n=-1;while(++nL){return[]}var r=F,n=Xt(e,F);t=getIteratee(t);e-=F;var s=baseTimes(n,t);while(++r0||t<0)){return new LazyWrapper(n)}if(e<0){n=n.takeRight(-e)}else if(e){n=n.drop(e)}if(t!==r){t=toInteger(t);n=t<0?n.dropRight(-t):n.take(t-e)}return n};LazyWrapper.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()};LazyWrapper.prototype.toArray=function(){return this.take(F)};baseForOwn(LazyWrapper.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),s=/^(?:head|last)$/.test(t),i=lodash[s?"take"+(t=="last"?"Right":""):t],a=s||/^find/.test(t);if(!i){return}lodash.prototype[t]=function(){var t=this.__wrapped__,o=s?[1]:arguments,l=t instanceof LazyWrapper,u=o[0],p=l||Nn(t);var f=function(e){var t=i.apply(lodash,arrayPush([e],o));return s&&c?t[0]:t};if(p&&n&&typeof u=="function"&&u.length!=1){l=p=false}var c=this.__chain__,d=!!this.__actions__.length,y=a&&!c,m=l&&!d;if(!a&&p){t=m?t:new LazyWrapper(this);var T=e.apply(t,o);T.__actions__.push({func:thru,args:[f],thisArg:r});return new LodashWrapper(T,c)}if(y&&m){return e.apply(this,o)}T=this.thru(f);return y?s?T.value()[0]:T.value():T}});arrayEach(["pop","push","shift","sort","splice","unshift"],function(e){var t=it[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);lodash.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var s=this.value();return t.apply(Nn(s)?s:[],e)}return this[r](function(r){return t.apply(Nn(r)?r:[],e)})}});baseForOwn(LazyWrapper.prototype,function(e,t){var r=lodash[t];if(r){var n=r.name+"";if(!pt.call(lr,n)){lr[n]=[]}lr[n].push({name:t,func:r})}});lr[createHybrid(r,T).name]=[{name:"wrapper",func:r}];LazyWrapper.prototype.clone=lazyClone;LazyWrapper.prototype.reverse=lazyReverse;LazyWrapper.prototype.value=lazyValue;lodash.prototype.at=pn;lodash.prototype.chain=wrapperChain;lodash.prototype.commit=wrapperCommit;lodash.prototype.next=wrapperNext;lodash.prototype.plant=wrapperPlant;lodash.prototype.reverse=wrapperReverse;lodash.prototype.toJSON=lodash.prototype.valueOf=lodash.prototype.value=wrapperValue;lodash.prototype.first=lodash.prototype.head;if(Ot){lodash.prototype[Ot]=wrapperToIterator}return lodash};var Er=br();if(typeof define=="function"&&typeof define.amd=="object"&&define.amd){nr._=Er;define(function(){return Er})}else if(ir){(ir.exports=Er)._=Er;sr._=Er}else{nr._=Er}}).call(this)},50731:e=>{"use strict";var t=process.platform==="win32";var r=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;var n=/^([\s\S]*?)((?:\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))(?:[\\\/]*)$/;var s={};function win32SplitPath(e){var t=r.exec(e),s=(t[1]||"")+(t[2]||""),i=t[3]||"";var a=n.exec(i),o=a[1],l=a[2],u=a[3];return[s,o,l,u]}s.parse=function(e){if(typeof e!=="string"){throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e)}var t=win32SplitPath(e);if(!t||t.length!==4){throw new TypeError("Invalid path '"+e+"'")}return{root:t[0],dir:t[0]+t[1].slice(0,-1),base:t[2],ext:t[3],name:t[2].slice(0,t[2].length-t[3].length)}};var i=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;var a={};function posixSplitPath(e){return i.exec(e).slice(1)}a.parse=function(e){if(typeof e!=="string"){throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e)}var t=posixSplitPath(e);if(!t||t.length!==4){throw new TypeError("Invalid path '"+e+"'")}t[1]=t[1]||"";t[2]=t[2]||"";t[3]=t[3]||"";return{root:t[0],dir:t[0]+t[1].slice(0,-1),base:t[2],ext:t[3],name:t[2].slice(0,t[2].length-t[3].length)}};if(t)e.exports=s.parse;else e.exports=a.parse;e.exports.posix=a.parse;e.exports.win32=s.parse},77824:(e,t)=>{"use strict";var r=Object;var n=Object.defineProperty;var s=Object.create;function defProp(e,t,s){if(n)try{n.call(r,e,t,{value:s})}catch(r){e[t]=s}else{e[t]=s}}function makeSafeToCall(e){if(e){defProp(e,"call",e.call);defProp(e,"apply",e.apply)}return e}makeSafeToCall(n);makeSafeToCall(s);var i=makeSafeToCall(Object.prototype.hasOwnProperty);var a=makeSafeToCall(Number.prototype.toString);var o=makeSafeToCall(String.prototype.slice);var l=function(){};function create(e){if(s){return s.call(r,e)}l.prototype=e||null;return new l}var u=Math.random;var p=create(null);function makeUniqueKey(){do{var e=internString(o.call(a.call(u(),36),2))}while(i.call(p,e));return p[e]=e}function internString(e){var t={};t[e]=true;return Object.keys(t)[0]}t.makeUniqueKey=makeUniqueKey;var f=Object.getOwnPropertyNames;Object.getOwnPropertyNames=function getOwnPropertyNames(e){for(var t=f(e),r=0,n=0,s=t.length;rn){t[n]=t[r]}++n}}t.length=n;return t};function defaultCreatorFn(e){return create(null)}function makeAccessor(e){var t=makeUniqueKey();var r=create(null);e=e||defaultCreatorFn;function register(n){var s;function vault(t,i){if(t===r){return i?s=null:s||(s=e(n))}}defProp(n,t,vault)}function accessor(e){if(!i.call(e,t))register(e);return e[t](r)}accessor.forget=function(e){if(i.call(e,t))e[t](r,true)};return accessor}t.makeAccessor=makeAccessor},70696:function(e,t,r){e=r.nmd(e);(function(r){var n=true&&t;var s=true&&e&&e.exports==n&&e;var i=typeof global=="object"&&global;if(i.global===i||i.window===i){r=i}var a={rangeOrder:"A range’s `stop` value must be greater than or equal "+"to the `start` value.",codePointRange:"Invalid code point value. Code points range from "+"U+000000 to U+10FFFF."};var o=55296;var l=56319;var u=56320;var p=57343;var f=/\\x00([^0123456789]|$)/g;var c={};var d=c.hasOwnProperty;var y=function(e,t){var r;for(r in t){if(d.call(t,r)){e[r]=t[r]}}return e};var m=function(e,t){var r=-1;var n=e.length;while(++r=n&&tr){return e}if(t<=s&&r>=i){e.splice(n,2);continue}if(t>=s&&r=s&&t<=i){e[n+1]=t}else if(r>=s&&r<=i){e[n]=r+1;return e}n+=2}return e};var O=function(e,t){var r=0;var n;var s;var i=null;var o=e.length;if(t<0||t>1114111){throw RangeError(a.codePointRange)}while(r=n&&tt){e.splice(i!=null?i+2:0,0,t,t+1);return e}if(t==s){if(t+1==e[r+2]){e.splice(r,4,n,e[r+3]);return e}e[r+1]=t+1;return e}i=r;r+=2}e.push(t,t+1);return e};var I=function(e,t){var r=0;var n;var s;var i=e.slice();var a=t.length;while(r1114111||r<0||r>1114111){throw RangeError(a.codePointRange)}var n=0;var s;var i;var o=false;var l=e.length;while(nr){return e}if(s>=t&&s<=r){if(i>t&&i-1<=r){e.splice(n,2);n-=2}else{e.splice(n-1,2);n-=2}}}else if(s==r+1){e[n]=t;return e}else if(s>r){e.splice(n,0,t,r+1);return e}else if(t>=s&&t=s&&t=i){e[n]=t;e[n+1]=r+1;o=true}n+=2}if(!o){e.push(t,r+1)}return e};var j=function(e,t){var r=0;var n=e.length;var s=e[r];var i=e[n-1];if(n>=2){if(ti){return false}}while(r=s&&t=40&&e<=43||e==46||e==47||e==63||e>=91&&e<=94||e>=123&&e<=125){t="\\"+k(e)}else if(e>=32&&e<=126){t=k(e)}else if(e<=255){t="\\x"+E(g(e),2)}else{t="\\u"+E(g(e),4)}return t};var K=function(e){if(e<=65535){return R(e)}return"\\u{"+e.toString(16).toUpperCase()+"}"};var V=function(e){var t=e.length;var r=e.charCodeAt(0);var n;if(r>=o&&r<=l&&t>1){n=e.charCodeAt(1);return(r-o)*1024+n-u+65536}return r};var X=function(e){var t="";var r=0;var n;var s;var i=e.length;if(L(e)){return R(e[0])}while(r=o&&f<=l){n.push(a,o);t.push(o,f+1)}if(f>=u&&f<=p){n.push(a,o);t.push(o,l+1);r.push(u,f+1)}if(f>p){n.push(a,o);t.push(o,l+1);r.push(u,p+1);if(f<=65535){n.push(p+1,f+1)}else{n.push(p+1,65535+1);s.push(65535+1,f+1)}}}else if(a>=o&&a<=l){if(f>=o&&f<=l){t.push(a,f+1)}if(f>=u&&f<=p){t.push(a,l+1);r.push(u,f+1)}if(f>p){t.push(a,l+1);r.push(u,p+1);if(f<=65535){n.push(p+1,f+1)}else{n.push(p+1,65535+1);s.push(65535+1,f+1)}}}else if(a>=u&&a<=p){if(f>=u&&f<=p){r.push(a,f+1)}if(f>p){r.push(a,p+1);if(f<=65535){n.push(p+1,f+1)}else{n.push(p+1,65535+1);s.push(65535+1,f+1)}}}else if(a>p&&a<=65535){if(f<=65535){n.push(a,f+1)}else{n.push(a,65535+1);s.push(65535+1,f+1)}}else{s.push(a,f+1)}i+=2}return{loneHighSurrogates:t,loneLowSurrogates:r,bmp:n,astral:s}};var U=function(e){var t=[];var r=[];var n=false;var s;var i;var a;var o;var l;var u;var p=-1;var f=e.length;while(++p1){e=P.call(arguments)}if(this instanceof $){this.data=[];return e?this.add(e):this}return(new $).add(e)};$.version="1.3.3";var H=$.prototype;y(H,{add:function(e){var t=this;if(e==null){return t}if(e instanceof $){t.data=I(t.data,e.data);return t}if(arguments.length>1){e=P.call(arguments)}if(h(e)){m(e,function(e){t.add(e)});return t}t.data=O(t.data,S(e)?e:V(e));return t},remove:function(e){var t=this;if(e==null){return t}if(e instanceof $){t.data=D(t.data,e.data);return t}if(arguments.length>1){e=P.call(arguments)}if(h(e)){m(e,function(e){t.remove(e)});return t}t.data=v(t.data,S(e)?e:V(e));return t},addRange:function(e,t){var r=this;r.data=w(r.data,S(e)?e:V(e),S(t)?t:V(t));return r},removeRange:function(e,t){var r=this;var n=S(e)?e:V(e);var s=S(t)?t:V(t);r.data=A(r.data,n,s);return r},intersection:function(e){var t=this;var r=e instanceof $?_(e.data):e;t.data=N(t.data,r);return t},contains:function(e){return j(this.data,S(e)?e:V(e))},clone:function(){var e=new $;e.data=this.data.slice(0);return e},toString:function(e){var t=G(this.data,e?e.bmpOnly:false,e?e.hasUnicodeFlag:false);if(!t){return"[]"}return t.replace(f,"\\0$1")},toRegExp:function(e){var t=this.toString(e&&e.indexOf("u")!=-1?{hasUnicodeFlag:true}:null);return RegExp(t,e||"")},valueOf:function(){return _(this.data)}});H.toArray=H.valueOf;if(typeof define=="function"&&typeof define.amd=="object"&&define.amd){define(function(){return $})}else if(n&&!n.nodeType){if(s){s.exports=$}else{n.regenerate=$}}else{r.regenerate=$}})(this)},32892:(e,t,r)=>{"use strict";var n=r(51675);var s=r(44388);var i=s(r(42357));var a=n(r(17870));var o=n(r(84336));var l=n(r(65781));var u=Object.prototype.hasOwnProperty;function Emitter(e){i["default"].ok(this instanceof Emitter);l.getTypes().assertIdentifier(e);this.nextTempId=0;this.contextId=e;this.listing=[];this.marked=[true];this.insertedLocs=new Set;this.finalLoc=this.loc();this.tryEntries=[];this.leapManager=new a.LeapManager(this)}var p=Emitter.prototype;t.Emitter=Emitter;p.loc=function(){var e=l.getTypes().numericLiteral(-1);this.insertedLocs.add(e);return e};p.getInsertedLocs=function(){return this.insertedLocs};p.getContextId=function(){return l.getTypes().clone(this.contextId)};p.mark=function(e){l.getTypes().assertLiteral(e);var t=this.listing.length;if(e.value===-1){e.value=t}else{i["default"].strictEqual(e.value,t)}this.marked[t]=true;return e};p.emit=function(e){var t=l.getTypes();if(t.isExpression(e)){e=t.expressionStatement(e)}t.assertStatement(e);this.listing.push(e)};p.emitAssign=function(e,t){this.emit(this.assign(e,t));return e};p.assign=function(e,t){var r=l.getTypes();return r.expressionStatement(r.assignmentExpression("=",r.cloneDeep(e),t))};p.contextProperty=function(e,t){var r=l.getTypes();return r.memberExpression(this.getContextId(),t?r.stringLiteral(e):r.identifier(e),!!t)};p.stop=function(e){if(e){this.setReturnValue(e)}this.jump(this.finalLoc)};p.setReturnValue=function(e){l.getTypes().assertExpression(e.value);this.emitAssign(this.contextProperty("rval"),this.explodeExpression(e))};p.clearPendingException=function(e,t){var r=l.getTypes();r.assertLiteral(e);var n=r.callExpression(this.contextProperty("catch",true),[r.clone(e)]);if(t){this.emitAssign(t,n)}else{this.emit(n)}};p.jump=function(e){this.emitAssign(this.contextProperty("next"),e);this.emit(l.getTypes().breakStatement())};p.jumpIf=function(e,t){var r=l.getTypes();r.assertExpression(e);r.assertLiteral(t);this.emit(r.ifStatement(e,r.blockStatement([this.assign(this.contextProperty("next"),t),r.breakStatement()])))};p.jumpIfNot=function(e,t){var r=l.getTypes();r.assertExpression(e);r.assertLiteral(t);var n;if(r.isUnaryExpression(e)&&e.operator==="!"){n=e.argument}else{n=r.unaryExpression("!",e)}this.emit(r.ifStatement(n,r.blockStatement([this.assign(this.contextProperty("next"),t),r.breakStatement()])))};p.makeTempVar=function(){return this.contextProperty("t"+this.nextTempId++)};p.getContextFunction=function(e){var t=l.getTypes();return t.functionExpression(e||null,[this.getContextId()],t.blockStatement([this.getDispatchLoop()]),false,false)};p.getDispatchLoop=function(){var e=this;var t=l.getTypes();var r=[];var n;var s=false;e.listing.forEach(function(i,a){if(e.marked.hasOwnProperty(a)){r.push(t.switchCase(t.numericLiteral(a),n=[]));s=false}if(!s){n.push(i);if(t.isCompletionStatement(i))s=true}});this.finalLoc.value=this.listing.length;r.push(t.switchCase(this.finalLoc,[]),t.switchCase(t.stringLiteral("end"),[t.returnStatement(t.callExpression(this.contextProperty("stop"),[]))]));return t.whileStatement(t.numericLiteral(1),t.switchStatement(t.assignmentExpression("=",this.contextProperty("prev"),this.contextProperty("next")),r))};p.getTryLocsList=function(){if(this.tryEntries.length===0){return null}var e=l.getTypes();var t=0;return e.arrayExpression(this.tryEntries.map(function(r){var n=r.firstLoc.value;i["default"].ok(n>=t,"try entries out of order");t=n;var s=r.catchEntry;var a=r.finallyEntry;var o=[r.firstLoc,s?s.firstLoc:null];if(a){o[2]=a.firstLoc;o[3]=a.afterLoc}return e.arrayExpression(o.map(function(t){return t&&e.clone(t)}))}))};p.explode=function(e,t){var r=l.getTypes();var n=e.node;var s=this;r.assertNode(n);if(r.isDeclaration(n))throw getDeclError(n);if(r.isStatement(n))return s.explodeStatement(e);if(r.isExpression(n))return s.explodeExpression(e,t);switch(n.type){case"Program":return e.get("body").map(s.explodeStatement,s);case"VariableDeclarator":throw getDeclError(n);case"Property":case"SwitchCase":case"CatchClause":throw new Error(n.type+" nodes should be handled by their parents");default:throw new Error("unknown Node of type "+JSON.stringify(n.type))}};function getDeclError(e){return new Error("all declarations should have been transformed into "+"assignments before the Exploder began its work: "+JSON.stringify(e))}p.explodeStatement=function(e,t){var r=l.getTypes();var n=e.node;var s=this;var u,p,c;r.assertStatement(n);if(t){r.assertIdentifier(t)}else{t=null}if(r.isBlockStatement(n)){e.get("body").forEach(function(e){s.explodeStatement(e)});return}if(!o.containsLeap(n)){s.emit(n);return}switch(n.type){case"ExpressionStatement":s.explodeExpression(e.get("expression"),true);break;case"LabeledStatement":p=this.loc();s.leapManager.withEntry(new a.LabeledEntry(p,n.label),function(){s.explodeStatement(e.get("body"),n.label)});s.mark(p);break;case"WhileStatement":u=this.loc();p=this.loc();s.mark(u);s.jumpIfNot(s.explodeExpression(e.get("test")),p);s.leapManager.withEntry(new a.LoopEntry(p,u,t),function(){s.explodeStatement(e.get("body"))});s.jump(u);s.mark(p);break;case"DoWhileStatement":var d=this.loc();var y=this.loc();p=this.loc();s.mark(d);s.leapManager.withEntry(new a.LoopEntry(p,y,t),function(){s.explode(e.get("body"))});s.mark(y);s.jumpIf(s.explodeExpression(e.get("test")),d);s.mark(p);break;case"ForStatement":c=this.loc();var m=this.loc();p=this.loc();if(n.init){s.explode(e.get("init"),true)}s.mark(c);if(n.test){s.jumpIfNot(s.explodeExpression(e.get("test")),p)}else{}s.leapManager.withEntry(new a.LoopEntry(p,m,t),function(){s.explodeStatement(e.get("body"))});s.mark(m);if(n.update){s.explode(e.get("update"),true)}s.jump(c);s.mark(p);break;case"TypeCastExpression":return s.explodeExpression(e.get("expression"));case"ForInStatement":c=this.loc();p=this.loc();var T=s.makeTempVar();s.emitAssign(T,r.callExpression(l.runtimeProperty("keys"),[s.explodeExpression(e.get("right"))]));s.mark(c);var h=s.makeTempVar();s.jumpIf(r.memberExpression(r.assignmentExpression("=",h,r.callExpression(r.cloneDeep(T),[])),r.identifier("done"),false),p);s.emitAssign(n.left,r.memberExpression(r.cloneDeep(h),r.identifier("value"),false));s.leapManager.withEntry(new a.LoopEntry(p,c,t),function(){s.explodeStatement(e.get("body"))});s.jump(c);s.mark(p);break;case"BreakStatement":s.emitAbruptCompletion({type:"break",target:s.leapManager.getBreakLoc(n.label)});break;case"ContinueStatement":s.emitAbruptCompletion({type:"continue",target:s.leapManager.getContinueLoc(n.label)});break;case"SwitchStatement":var S=s.emitAssign(s.makeTempVar(),s.explodeExpression(e.get("discriminant")));p=this.loc();var b=this.loc();var E=b;var g=[];var P=n.cases||[];for(var x=P.length-1;x>=0;--x){var v=P[x];r.assertSwitchCase(v);if(v.test){E=r.conditionalExpression(r.binaryExpression("===",r.cloneDeep(S),v.test),g[x]=this.loc(),E)}else{g[x]=b}}var A=e.get("discriminant");l.replaceWithOrRemove(A,E);s.jump(s.explodeExpression(A));s.leapManager.withEntry(new a.SwitchEntry(p),function(){e.get("cases").forEach(function(e){var t=e.key;s.mark(g[t]);e.get("consequent").forEach(function(e){s.explodeStatement(e)})})});s.mark(p);if(b.value===-1){s.mark(b);i["default"].strictEqual(p.value,b.value)}break;case"IfStatement":var O=n.alternate&&this.loc();p=this.loc();s.jumpIfNot(s.explodeExpression(e.get("test")),O||p);s.explodeStatement(e.get("consequent"));if(O){s.jump(p);s.mark(O);s.explodeStatement(e.get("alternate"))}s.mark(p);break;case"ReturnStatement":s.emitAbruptCompletion({type:"return",value:s.explodeExpression(e.get("argument"))});break;case"WithStatement":throw new Error("WithStatement not supported in generator functions.");case"TryStatement":p=this.loc();var I=n.handler;var D=I&&this.loc();var w=D&&new a.CatchEntry(D,I.param);var j=n.finalizer&&this.loc();var N=j&&new a.FinallyEntry(j,p);var C=new a.TryEntry(s.getUnmarkedCurrentLoc(),w,N);s.tryEntries.push(C);s.updateContextPrevLoc(C.firstLoc);s.leapManager.withEntry(C,function(){s.explodeStatement(e.get("block"));if(D){if(j){s.jump(j)}else{s.jump(p)}s.updateContextPrevLoc(s.mark(D));var t=e.get("handler.body");var n=s.makeTempVar();s.clearPendingException(C.firstLoc,n);t.traverse(f,{getSafeParam:function getSafeParam(){return r.cloneDeep(n)},catchParamName:I.param.name});s.leapManager.withEntry(w,function(){s.explodeStatement(t)})}if(j){s.updateContextPrevLoc(s.mark(j));s.leapManager.withEntry(N,function(){s.explodeStatement(e.get("finalizer"))});s.emit(r.returnStatement(r.callExpression(s.contextProperty("finish"),[N.firstLoc])))}});s.mark(p);break;case"ThrowStatement":s.emit(r.throwStatement(s.explodeExpression(e.get("argument"))));break;default:throw new Error("unknown Statement of type "+JSON.stringify(n.type))}};var f={Identifier:function Identifier(e,t){if(e.node.name===t.catchParamName&&l.isReference(e)){l.replaceWithOrRemove(e,t.getSafeParam())}},Scope:function Scope(e,t){if(e.scope.hasOwnBinding(t.catchParamName)){e.skip()}}};p.emitAbruptCompletion=function(e){if(!isValidCompletion(e)){i["default"].ok(false,"invalid completion record: "+JSON.stringify(e))}i["default"].notStrictEqual(e.type,"normal","normal completions are not abrupt");var t=l.getTypes();var r=[t.stringLiteral(e.type)];if(e.type==="break"||e.type==="continue"){t.assertLiteral(e.target);r[1]=this.insertedLocs.has(e.target)?e.target:t.cloneDeep(e.target)}else if(e.type==="return"||e.type==="throw"){if(e.value){t.assertExpression(e.value);r[1]=this.insertedLocs.has(e.value)?e.value:t.cloneDeep(e.value)}}this.emit(t.returnStatement(t.callExpression(this.contextProperty("abrupt"),r)))};function isValidCompletion(e){var t=e.type;if(t==="normal"){return!u.call(e,"target")}if(t==="break"||t==="continue"){return!u.call(e,"value")&&l.getTypes().isLiteral(e.target)}if(t==="return"||t==="throw"){return u.call(e,"value")&&!u.call(e,"target")}return false}p.getUnmarkedCurrentLoc=function(){return l.getTypes().numericLiteral(this.listing.length)};p.updateContextPrevLoc=function(e){var t=l.getTypes();if(e){t.assertLiteral(e);if(e.value===-1){e.value=this.listing.length}else{i["default"].strictEqual(e.value,this.listing.length)}}else{e=this.getUnmarkedCurrentLoc()}this.emitAssign(this.contextProperty("prev"),e)};p.explodeExpression=function(e,t){var r=l.getTypes();var n=e.node;if(n){r.assertExpression(n)}else{return n}var s=this;var a;var u;function finish(e){r.assertExpression(e);if(t){s.emit(e)}else{return e}}if(!o.containsLeap(n)){return finish(n)}var p=o.containsLeap.onlyChildren(n);function explodeViaTempVar(e,t,n){i["default"].ok(!n||!e,"Ignoring the result of a child expression but forcing it to "+"be assigned to a temporary variable?");var a=s.explodeExpression(t,n);if(n){}else if(e||p&&!r.isLiteral(a)){a=s.emitAssign(e||s.makeTempVar(),a)}return a}switch(n.type){case"MemberExpression":return finish(r.memberExpression(s.explodeExpression(e.get("object")),n.computed?explodeViaTempVar(null,e.get("property")):n.property,n.computed));case"CallExpression":var f=e.get("callee");var c=e.get("arguments");var d;var y;var m=c.some(function(e){return o.containsLeap(e.node)});var T=null;if(r.isMemberExpression(f.node)){if(m){var h=explodeViaTempVar(s.makeTempVar(),f.get("object"));var S=f.node.computed?explodeViaTempVar(null,f.get("property")):f.node.property;T=h;d=r.memberExpression(r.memberExpression(r.cloneDeep(h),S,f.node.computed),r.identifier("call"),false)}else{d=s.explodeExpression(f)}}else{d=explodeViaTempVar(null,f);if(r.isMemberExpression(d)){d=r.sequenceExpression([r.numericLiteral(0),r.cloneDeep(d)])}}if(m){y=c.map(function(e){return explodeViaTempVar(null,e)});if(T)y.unshift(T);y=y.map(function(e){return r.cloneDeep(e)})}else{y=e.node.arguments}return finish(r.callExpression(d,y));case"NewExpression":return finish(r.newExpression(explodeViaTempVar(null,e.get("callee")),e.get("arguments").map(function(e){return explodeViaTempVar(null,e)})));case"ObjectExpression":return finish(r.objectExpression(e.get("properties").map(function(e){if(e.isObjectProperty()){return r.objectProperty(e.node.key,explodeViaTempVar(null,e.get("value")),e.node.computed)}else{return e.node}})));case"ArrayExpression":return finish(r.arrayExpression(e.get("elements").map(function(e){if(e.isSpreadElement()){return r.spreadElement(explodeViaTempVar(null,e.get("argument")))}else{return explodeViaTempVar(null,e)}})));case"SequenceExpression":var b=n.expressions.length-1;e.get("expressions").forEach(function(e){if(e.key===b){a=s.explodeExpression(e,t)}else{s.explodeExpression(e,true)}});return a;case"LogicalExpression":u=this.loc();if(!t){a=s.makeTempVar()}var E=explodeViaTempVar(a,e.get("left"));if(n.operator==="&&"){s.jumpIfNot(E,u)}else{i["default"].strictEqual(n.operator,"||");s.jumpIf(E,u)}explodeViaTempVar(a,e.get("right"),t);s.mark(u);return a;case"ConditionalExpression":var g=this.loc();u=this.loc();var P=s.explodeExpression(e.get("test"));s.jumpIfNot(P,g);if(!t){a=s.makeTempVar()}explodeViaTempVar(a,e.get("consequent"),t);s.jump(u);s.mark(g);explodeViaTempVar(a,e.get("alternate"),t);s.mark(u);return a;case"UnaryExpression":return finish(r.unaryExpression(n.operator,s.explodeExpression(e.get("argument")),!!n.prefix));case"BinaryExpression":return finish(r.binaryExpression(n.operator,explodeViaTempVar(null,e.get("left")),explodeViaTempVar(null,e.get("right"))));case"AssignmentExpression":if(n.operator==="="){return finish(r.assignmentExpression(n.operator,s.explodeExpression(e.get("left")),s.explodeExpression(e.get("right"))))}var x=s.explodeExpression(e.get("left"));var v=s.emitAssign(s.makeTempVar(),x);return finish(r.assignmentExpression("=",r.cloneDeep(x),r.assignmentExpression(n.operator,r.cloneDeep(v),s.explodeExpression(e.get("right")))));case"UpdateExpression":return finish(r.updateExpression(n.operator,s.explodeExpression(e.get("argument")),n.prefix));case"YieldExpression":u=this.loc();var A=n.argument&&s.explodeExpression(e.get("argument"));if(A&&n.delegate){var O=s.makeTempVar();var I=r.returnStatement(r.callExpression(s.contextProperty("delegateYield"),[A,r.stringLiteral(O.property.name),u]));I.loc=n.loc;s.emit(I);s.mark(u);return O}s.emitAssign(s.contextProperty("next"),u);var D=r.returnStatement(r.cloneDeep(A)||null);D.loc=n.loc;s.emit(D);s.mark(u);return s.contextProperty("sent");default:throw new Error("unknown Expression of type "+JSON.stringify(n.type))}}},1454:(e,t,r)=>{"use strict";var n=r(51675);var s=n(r(65781));var i=Object.prototype.hasOwnProperty;t.hoist=function(e){var t=s.getTypes();t.assertFunction(e.node);var r={};function varDeclToExpr(e,n){var s=e.node,i=e.scope;t.assertVariableDeclaration(s);var a=[];s.declarations.forEach(function(e){r[e.id.name]=t.identifier(e.id.name);i.removeBinding(e.id.name);if(e.init){a.push(t.assignmentExpression("=",e.id,e.init))}else if(n){a.push(e.id)}});if(a.length===0)return null;if(a.length===1)return a[0];return t.sequenceExpression(a)}e.get("body").traverse({VariableDeclaration:{exit:function exit(e){var r=varDeclToExpr(e,false);if(r===null){e.remove()}else{s.replaceWithOrRemove(e,t.expressionStatement(r))}e.skip()}},ForStatement:function ForStatement(e){var t=e.get("init");if(t.isVariableDeclaration()){s.replaceWithOrRemove(t,varDeclToExpr(t,false))}},ForXStatement:function ForXStatement(e){var t=e.get("left");if(t.isVariableDeclaration()){s.replaceWithOrRemove(t,varDeclToExpr(t,true))}},FunctionDeclaration:function FunctionDeclaration(e){var n=e.node;r[n.id.name]=n.id;var i=t.expressionStatement(t.assignmentExpression("=",t.clone(n.id),t.functionExpression(e.scope.generateUidIdentifierBasedOnNode(n),n.params,n.body,n.generator,n.expression)));if(e.parentPath.isBlockStatement()){e.parentPath.unshiftContainer("body",i);e.remove()}else{s.replaceWithOrRemove(e,i)}e.scope.removeBinding(n.id.name);e.skip()},FunctionExpression:function FunctionExpression(e){e.skip()},ArrowFunctionExpression:function ArrowFunctionExpression(e){e.skip()}});var n={};e.get("params").forEach(function(e){var r=e.node;if(t.isIdentifier(r)){n[r.name]=r}else{}});var a=[];Object.keys(r).forEach(function(e){if(!i.call(n,e)){a.push(t.variableDeclarator(r[e],null))}});if(a.length===0){return null}return t.variableDeclaration("var",a)}},60919:(e,t,r)=>{"use strict";t.__esModule=true;t.default=_default;var n=r(92980);function _default(e){var t={visitor:(0,n.getVisitor)(e)};var r=e&&e.version;if(r&&parseInt(r,10)>=7){t.name="regenerator-transform"}return t}},17870:(e,t,r)=>{"use strict";var n=r(44388);var s=n(r(42357));var i=r(32892);var a=r(31669);var o=r(65781);function Entry(){s["default"].ok(this instanceof Entry)}function FunctionEntry(e){Entry.call(this);(0,o.getTypes)().assertLiteral(e);this.returnLoc=e}(0,a.inherits)(FunctionEntry,Entry);t.FunctionEntry=FunctionEntry;function LoopEntry(e,t,r){Entry.call(this);var n=(0,o.getTypes)();n.assertLiteral(e);n.assertLiteral(t);if(r){n.assertIdentifier(r)}else{r=null}this.breakLoc=e;this.continueLoc=t;this.label=r}(0,a.inherits)(LoopEntry,Entry);t.LoopEntry=LoopEntry;function SwitchEntry(e){Entry.call(this);(0,o.getTypes)().assertLiteral(e);this.breakLoc=e}(0,a.inherits)(SwitchEntry,Entry);t.SwitchEntry=SwitchEntry;function TryEntry(e,t,r){Entry.call(this);var n=(0,o.getTypes)();n.assertLiteral(e);if(t){s["default"].ok(t instanceof CatchEntry)}else{t=null}if(r){s["default"].ok(r instanceof FinallyEntry)}else{r=null}s["default"].ok(t||r);this.firstLoc=e;this.catchEntry=t;this.finallyEntry=r}(0,a.inherits)(TryEntry,Entry);t.TryEntry=TryEntry;function CatchEntry(e,t){Entry.call(this);var r=(0,o.getTypes)();r.assertLiteral(e);r.assertIdentifier(t);this.firstLoc=e;this.paramId=t}(0,a.inherits)(CatchEntry,Entry);t.CatchEntry=CatchEntry;function FinallyEntry(e,t){Entry.call(this);var r=(0,o.getTypes)();r.assertLiteral(e);r.assertLiteral(t);this.firstLoc=e;this.afterLoc=t}(0,a.inherits)(FinallyEntry,Entry);t.FinallyEntry=FinallyEntry;function LabeledEntry(e,t){Entry.call(this);var r=(0,o.getTypes)();r.assertLiteral(e);r.assertIdentifier(t);this.breakLoc=e;this.label=t}(0,a.inherits)(LabeledEntry,Entry);t.LabeledEntry=LabeledEntry;function LeapManager(e){s["default"].ok(this instanceof LeapManager);s["default"].ok(e instanceof i.Emitter);this.emitter=e;this.entryStack=[new FunctionEntry(e.finalLoc)]}var l=LeapManager.prototype;t.LeapManager=LeapManager;l.withEntry=function(e,t){s["default"].ok(e instanceof Entry);this.entryStack.push(e);try{t.call(this.emitter)}finally{var r=this.entryStack.pop();s["default"].strictEqual(r,e)}};l._findLeapLocation=function(e,t){for(var r=this.entryStack.length-1;r>=0;--r){var n=this.entryStack[r];var s=n[e];if(s){if(t){if(n.label&&n.label.name===t.name){return s}}else if(n instanceof LabeledEntry){}else{return s}}}return null};l.getBreakLoc=function(e){return this._findLeapLocation("breakLoc",e)};l.getContinueLoc=function(e){return this._findLeapLocation("continueLoc",e)}},84336:(e,t,r)=>{"use strict";var n=r(44388);var s=n(r(42357));var i=r(65781);var a=r(77824);var o=(0,a.makeAccessor)();var l=Object.prototype.hasOwnProperty;function makePredicate(e,t){function onlyChildren(e){var t=(0,i.getTypes)();t.assertNode(e);var r=false;function check(e){if(r){}else if(Array.isArray(e)){e.some(check)}else if(t.isNode(e)){s["default"].strictEqual(r,false);r=predicate(e)}return r}var n=t.VISITOR_KEYS[e.type];if(n){for(var a=0;a{"use strict";var n=r(51675);t.__esModule=true;t.default=replaceShorthandObjectMethod;var s=n(r(65781));function replaceShorthandObjectMethod(e){var t=s.getTypes();if(!e.node||!t.isFunction(e.node)){throw new Error("replaceShorthandObjectMethod can only be called on Function AST node paths.")}if(!t.isObjectMethod(e.node)){return e}if(!e.node.generator){return e}var r=e.node.params.map(function(e){return t.cloneDeep(e)});var n=t.functionExpression(null,r,t.cloneDeep(e.node.body),e.node.generator,e.node.async);s.replaceWithOrRemove(e,t.objectProperty(t.cloneDeep(e.node.key),n,e.node.computed,false));return e.get("value")}},65781:(e,t)=>{"use strict";t.__esModule=true;t.wrapWithTypes=wrapWithTypes;t.getTypes=getTypes;t.runtimeProperty=runtimeProperty;t.isReference=isReference;t.replaceWithOrRemove=replaceWithOrRemove;var r=null;function wrapWithTypes(e,t){return function(){var n=r;r=e;try{for(var s=arguments.length,i=new Array(s),a=0;a{"use strict";var n=r(51675);var s=r(44388);var i=s(r(42357));var a=r(1454);var o=r(32892);var l=s(r(56367));var u=n(r(65781));var p=r(77824);t.getVisitor=function(e){var t=e.types;return{Method:function Method(e,r){var n=e.node;if(!shouldRegenerate(n,r))return;var s=t.functionExpression(null,[],t.cloneNode(n.body,false),n.generator,n.async);e.get("body").set("body",[t.returnStatement(t.callExpression(s,[]))]);n.async=false;n.generator=false;e.get("body.body.0.argument.callee").unwrapFunctionEnvironment()},Function:{exit:u.wrapWithTypes(t,function(e,r){var n=e.node;if(!shouldRegenerate(n,r))return;e=(0,l["default"])(e);n=e.node;var s=e.scope.generateUidIdentifier("context");var i=e.scope.generateUidIdentifier("args");e.ensureBlock();var p=e.get("body");if(n.async){p.traverse(y)}p.traverse(d,{context:s});var f=[];var m=[];p.get("body").forEach(function(e){var r=e.node;if(t.isExpressionStatement(r)&&t.isStringLiteral(r.expression)){f.push(r)}else if(r&&r._blockHoist!=null){f.push(r)}else{m.push(r)}});if(f.length>0){p.node.body=m}var T=getOuterFnExpr(e);t.assertIdentifier(n.id);var h=t.identifier(n.id.name+"$");var S=(0,a.hoist)(e);var b={usesThis:false,usesArguments:false,getArgsId:function getArgsId(){return t.clone(i)}};e.traverse(c,b);if(b.usesArguments){S=S||t.variableDeclaration("var",[]);S.declarations.push(t.variableDeclarator(t.clone(i),t.identifier("arguments")))}var E=new o.Emitter(s);E.explode(e.get("body"));if(S&&S.declarations.length>0){f.push(S)}var g=[E.getContextFunction(h)];var P=E.getTryLocsList();if(n.generator){g.push(T)}else if(b.usesThis||P||n.async){g.push(t.nullLiteral())}if(b.usesThis){g.push(t.thisExpression())}else if(P||n.async){g.push(t.nullLiteral())}if(P){g.push(P)}else if(n.async){g.push(t.nullLiteral())}if(n.async){var x=e.scope;do{if(x.hasOwnBinding("Promise"))x.rename("Promise")}while(x=x.parent);g.push(t.identifier("Promise"))}var v=t.callExpression(u.runtimeProperty(n.async?"async":"wrap"),g);f.push(t.returnStatement(v));n.body=t.blockStatement(f);e.get("body.body").forEach(function(e){return e.scope.registerDeclaration(e)});var A=p.node.directives;if(A){n.body.directives=A}var O=n.generator;if(O){n.generator=false}if(n.async){n.async=false}if(O&&t.isExpression(n)){u.replaceWithOrRemove(e,t.callExpression(u.runtimeProperty("mark"),[n]));e.addComment("leading","#__PURE__")}var I=E.getInsertedLocs();e.traverse({NumericLiteral:function NumericLiteral(e){if(!I.has(e.node)){return}e.replaceWith(t.numericLiteral(e.node.value))}});e.requeue()})}}};function shouldRegenerate(e,t){if(e.generator){if(e.async){return t.opts.asyncGenerators!==false}else{return t.opts.generators!==false}}else if(e.async){return t.opts.async!==false}else{return false}}function getOuterFnExpr(e){var t=u.getTypes();var r=e.node;t.assertFunction(r);if(!r.id){r.id=e.scope.parent.generateUidIdentifier("callee")}if(r.generator&&t.isFunctionDeclaration(r)){return getMarkedFunctionId(e)}return t.clone(r.id)}var f=(0,p.makeAccessor)();function getMarkedFunctionId(e){var t=u.getTypes();var r=e.node;t.assertIdentifier(r.id);var n=e.findParent(function(e){return e.isProgram()||e.isBlockStatement()});if(!n){return r.id}var s=n.node;i["default"].ok(Array.isArray(s.body));var a=f(s);if(!a.decl){a.decl=t.variableDeclaration("var",[]);n.unshiftContainer("body",a.decl);a.declPath=n.get("body.0")}i["default"].strictEqual(a.declPath.node,a.decl);var o=n.scope.generateUidIdentifier("marked");var l=t.callExpression(u.runtimeProperty("mark"),[t.clone(r.id)]);var p=a.decl.declarations.push(t.variableDeclarator(o,l))-1;var c=a.declPath.get("declarations."+p+".init");i["default"].strictEqual(c.node,l);c.addComment("leading","#__PURE__");return t.clone(o)}var c={"FunctionExpression|FunctionDeclaration|Method":function FunctionExpressionFunctionDeclarationMethod(e){e.skip()},Identifier:function Identifier(e,t){if(e.node.name==="arguments"&&u.isReference(e)){u.replaceWithOrRemove(e,t.getArgsId());t.usesArguments=true}},ThisExpression:function ThisExpression(e,t){t.usesThis=true}};var d={MetaProperty:function MetaProperty(e){var t=e.node;if(t.meta.name==="function"&&t.property.name==="sent"){var r=u.getTypes();u.replaceWithOrRemove(e,r.memberExpression(r.clone(this.context),r.identifier("_sent")))}}};var y={Function:function Function(e){e.skip()},AwaitExpression:function AwaitExpression(e){var t=u.getTypes();var r=e.node.argument;u.replaceWithOrRemove(e,t.yieldExpression(t.callExpression(u.runtimeProperty("awrap"),[r]),false))}}},31727:(e,t,r)=>{"use strict";const n=r(70696);t.REGULAR=new Map([["d",n().addRange(48,57)],["D",n().addRange(0,47).addRange(58,65535)],["s",n(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233)],["S",n().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,65535)],["w",n(95).addRange(48,57).addRange(65,90).addRange(97,122)],["W",n(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,65535)]]);t.UNICODE=new Map([["d",n().addRange(48,57)],["D",n().addRange(0,47).addRange(58,1114111)],["s",n(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233)],["S",n().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111)],["w",n(95).addRange(48,57).addRange(65,90).addRange(97,122)],["W",n(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,1114111)]]);t.UNICODE_IGNORE_CASE=new Map([["d",n().addRange(48,57)],["D",n().addRange(0,47).addRange(58,1114111)],["s",n(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233)],["S",n().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111)],["w",n(95,383,8490).addRange(48,57).addRange(65,90).addRange(97,122)],["W",n(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,382).addRange(384,8489).addRange(8491,1114111)]])},70615:e=>{e.exports=new Map([[75,8490],[83,383],[107,8490],[115,383],[181,924],[197,8491],[223,7838],[229,8491],[383,83],[452,453],[453,452],[455,456],[456,455],[458,459],[459,458],[497,498],[498,497],[837,8126],[914,976],[917,1013],[920,1012],[921,8126],[922,1008],[924,181],[928,982],[929,1009],[931,962],[934,981],[937,8486],[952,1012],[962,931],[969,8486],[976,914],[977,1012],[981,934],[982,928],[1008,922],[1009,929],[1012,[920,977,952]],[1013,917],[1042,7296],[1044,7297],[1054,7298],[1057,7299],[1058,7301],[1066,7302],[1122,7303],[7296,1042],[7297,1044],[7298,1054],[7299,1057],[7300,7301],[7301,[1058,7300]],[7302,1066],[7303,1122],[7304,42570],[7776,7835],[7835,7776],[7838,223],[8064,8072],[8065,8073],[8066,8074],[8067,8075],[8068,8076],[8069,8077],[8070,8078],[8071,8079],[8072,8064],[8073,8065],[8074,8066],[8075,8067],[8076,8068],[8077,8069],[8078,8070],[8079,8071],[8080,8088],[8081,8089],[8082,8090],[8083,8091],[8084,8092],[8085,8093],[8086,8094],[8087,8095],[8088,8080],[8089,8081],[8090,8082],[8091,8083],[8092,8084],[8093,8085],[8094,8086],[8095,8087],[8096,8104],[8097,8105],[8098,8106],[8099,8107],[8100,8108],[8101,8109],[8102,8110],[8103,8111],[8104,8096],[8105,8097],[8106,8098],[8107,8099],[8108,8100],[8109,8101],[8110,8102],[8111,8103],[8115,8124],[8124,8115],[8126,[837,921]],[8131,8140],[8140,8131],[8179,8188],[8188,8179],[8486,[937,969]],[8490,75],[8491,[197,229]],[42570,7304],[66560,66600],[66561,66601],[66562,66602],[66563,66603],[66564,66604],[66565,66605],[66566,66606],[66567,66607],[66568,66608],[66569,66609],[66570,66610],[66571,66611],[66572,66612],[66573,66613],[66574,66614],[66575,66615],[66576,66616],[66577,66617],[66578,66618],[66579,66619],[66580,66620],[66581,66621],[66582,66622],[66583,66623],[66584,66624],[66585,66625],[66586,66626],[66587,66627],[66588,66628],[66589,66629],[66590,66630],[66591,66631],[66592,66632],[66593,66633],[66594,66634],[66595,66635],[66596,66636],[66597,66637],[66598,66638],[66599,66639],[66600,66560],[66601,66561],[66602,66562],[66603,66563],[66604,66564],[66605,66565],[66606,66566],[66607,66567],[66608,66568],[66609,66569],[66610,66570],[66611,66571],[66612,66572],[66613,66573],[66614,66574],[66615,66575],[66616,66576],[66617,66577],[66618,66578],[66619,66579],[66620,66580],[66621,66581],[66622,66582],[66623,66583],[66624,66584],[66625,66585],[66626,66586],[66627,66587],[66628,66588],[66629,66589],[66630,66590],[66631,66591],[66632,66592],[66633,66593],[66634,66594],[66635,66595],[66636,66596],[66637,66597],[66638,66598],[66639,66599],[66736,66776],[66737,66777],[66738,66778],[66739,66779],[66740,66780],[66741,66781],[66742,66782],[66743,66783],[66744,66784],[66745,66785],[66746,66786],[66747,66787],[66748,66788],[66749,66789],[66750,66790],[66751,66791],[66752,66792],[66753,66793],[66754,66794],[66755,66795],[66756,66796],[66757,66797],[66758,66798],[66759,66799],[66760,66800],[66761,66801],[66762,66802],[66763,66803],[66764,66804],[66765,66805],[66766,66806],[66767,66807],[66768,66808],[66769,66809],[66770,66810],[66771,66811],[66776,66736],[66777,66737],[66778,66738],[66779,66739],[66780,66740],[66781,66741],[66782,66742],[66783,66743],[66784,66744],[66785,66745],[66786,66746],[66787,66747],[66788,66748],[66789,66749],[66790,66750],[66791,66751],[66792,66752],[66793,66753],[66794,66754],[66795,66755],[66796,66756],[66797,66757],[66798,66758],[66799,66759],[66800,66760],[66801,66761],[66802,66762],[66803,66763],[66804,66764],[66805,66765],[66806,66766],[66807,66767],[66808,66768],[66809,66769],[66810,66770],[66811,66771],[68736,68800],[68737,68801],[68738,68802],[68739,68803],[68740,68804],[68741,68805],[68742,68806],[68743,68807],[68744,68808],[68745,68809],[68746,68810],[68747,68811],[68748,68812],[68749,68813],[68750,68814],[68751,68815],[68752,68816],[68753,68817],[68754,68818],[68755,68819],[68756,68820],[68757,68821],[68758,68822],[68759,68823],[68760,68824],[68761,68825],[68762,68826],[68763,68827],[68764,68828],[68765,68829],[68766,68830],[68767,68831],[68768,68832],[68769,68833],[68770,68834],[68771,68835],[68772,68836],[68773,68837],[68774,68838],[68775,68839],[68776,68840],[68777,68841],[68778,68842],[68779,68843],[68780,68844],[68781,68845],[68782,68846],[68783,68847],[68784,68848],[68785,68849],[68786,68850],[68800,68736],[68801,68737],[68802,68738],[68803,68739],[68804,68740],[68805,68741],[68806,68742],[68807,68743],[68808,68744],[68809,68745],[68810,68746],[68811,68747],[68812,68748],[68813,68749],[68814,68750],[68815,68751],[68816,68752],[68817,68753],[68818,68754],[68819,68755],[68820,68756],[68821,68757],[68822,68758],[68823,68759],[68824,68760],[68825,68761],[68826,68762],[68827,68763],[68828,68764],[68829,68765],[68830,68766],[68831,68767],[68832,68768],[68833,68769],[68834,68770],[68835,68771],[68836,68772],[68837,68773],[68838,68774],[68839,68775],[68840,68776],[68841,68777],[68842,68778],[68843,68779],[68844,68780],[68845,68781],[68846,68782],[68847,68783],[68848,68784],[68849,68785],[68850,68786],[71840,71872],[71841,71873],[71842,71874],[71843,71875],[71844,71876],[71845,71877],[71846,71878],[71847,71879],[71848,71880],[71849,71881],[71850,71882],[71851,71883],[71852,71884],[71853,71885],[71854,71886],[71855,71887],[71856,71888],[71857,71889],[71858,71890],[71859,71891],[71860,71892],[71861,71893],[71862,71894],[71863,71895],[71864,71896],[71865,71897],[71866,71898],[71867,71899],[71868,71900],[71869,71901],[71870,71902],[71871,71903],[71872,71840],[71873,71841],[71874,71842],[71875,71843],[71876,71844],[71877,71845],[71878,71846],[71879,71847],[71880,71848],[71881,71849],[71882,71850],[71883,71851],[71884,71852],[71885,71853],[71886,71854],[71887,71855],[71888,71856],[71889,71857],[71890,71858],[71891,71859],[71892,71860],[71893,71861],[71894,71862],[71895,71863],[71896,71864],[71897,71865],[71898,71866],[71899,71867],[71900,71868],[71901,71869],[71902,71870],[71903,71871],[93760,93792],[93761,93793],[93762,93794],[93763,93795],[93764,93796],[93765,93797],[93766,93798],[93767,93799],[93768,93800],[93769,93801],[93770,93802],[93771,93803],[93772,93804],[93773,93805],[93774,93806],[93775,93807],[93776,93808],[93777,93809],[93778,93810],[93779,93811],[93780,93812],[93781,93813],[93782,93814],[93783,93815],[93784,93816],[93785,93817],[93786,93818],[93787,93819],[93788,93820],[93789,93821],[93790,93822],[93791,93823],[93792,93760],[93793,93761],[93794,93762],[93795,93763],[93796,93764],[93797,93765],[93798,93766],[93799,93767],[93800,93768],[93801,93769],[93802,93770],[93803,93771],[93804,93772],[93805,93773],[93806,93774],[93807,93775],[93808,93776],[93809,93777],[93810,93778],[93811,93779],[93812,93780],[93813,93781],[93814,93782],[93815,93783],[93816,93784],[93817,93785],[93818,93786],[93819,93787],[93820,93788],[93821,93789],[93822,93790],[93823,93791],[125184,125218],[125185,125219],[125186,125220],[125187,125221],[125188,125222],[125189,125223],[125190,125224],[125191,125225],[125192,125226],[125193,125227],[125194,125228],[125195,125229],[125196,125230],[125197,125231],[125198,125232],[125199,125233],[125200,125234],[125201,125235],[125202,125236],[125203,125237],[125204,125238],[125205,125239],[125206,125240],[125207,125241],[125208,125242],[125209,125243],[125210,125244],[125211,125245],[125212,125246],[125213,125247],[125214,125248],[125215,125249],[125216,125250],[125217,125251],[125218,125184],[125219,125185],[125220,125186],[125221,125187],[125222,125188],[125223,125189],[125224,125190],[125225,125191],[125226,125192],[125227,125193],[125228,125194],[125229,125195],[125230,125196],[125231,125197],[125232,125198],[125233,125199],[125234,125200],[125235,125201],[125236,125202],[125237,125203],[125238,125204],[125239,125205],[125240,125206],[125241,125207],[125242,125208],[125243,125209],[125244,125210],[125245,125211],[125246,125212],[125247,125213],[125248,125214],[125249,125215],[125250,125216],[125251,125217]])},4864:(e,t,r)=>{"use strict";const n=r(67608).generate;const s=r(25536).parse;const i=r(70696);const a=r(89755);const o=r(67621);const l=r(70615);const u=r(31727);const p=i().addRange(0,1114111);const f=i().addRange(0,65535);const c=p.clone().remove(10,13,8232,8233);const d=(e,t,r)=>{if(t){if(r){return u.UNICODE_IGNORE_CASE.get(e)}return u.UNICODE.get(e)}return u.REGULAR.get(e)};const y=e=>{return e?p:c};const m=(e,t)=>{const r=t?`${e}/${t}`:`Binary_Property/${e}`;try{return require(`regenerate-unicode-properties/${r}.js`)}catch(r){throw new Error(`Failed to recognize value \`${t}\` for property `+`\`${e}\`.`)}};const T=e=>{try{const t="General_Category";const r=o(t,e);return m(t,r)}catch(e){}const t=a(e);return m(t)};const h=(e,t)=>{const r=e.split("=");const n=r[0];let s;if(r.length==1){s=T(n)}else{const e=a(n);const t=o(e,r[1]);s=m(e,t)}if(t){return p.clone().remove(s)}return s.clone()};i.prototype.iuAddRange=function(e,t){const r=this;do{const t=E(e);if(t){r.add(t)}}while(++e<=t);return r};const S=(e,t)=>{let r=s(t,A.useUnicodeFlag?"u":"");switch(r.type){case"characterClass":case"group":case"value":break;default:r=b(r,t)}Object.assign(e,r)};const b=(e,t)=>{return{type:"group",behavior:"ignore",body:[e],raw:`(?:${t})`}};const E=e=>{return l.get(e)||false};const g=(e,t)=>{const r=i();for(const t of e.body){switch(t.type){case"value":r.add(t.codePoint);if(A.ignoreCase&&A.unicode&&!A.useUnicodeFlag){const e=E(t.codePoint);if(e){r.add(e)}}break;case"characterClassRange":const e=t.min.codePoint;const n=t.max.codePoint;r.addRange(e,n);if(A.ignoreCase&&A.unicode&&!A.useUnicodeFlag){r.iuAddRange(e,n)}break;case"characterClassEscape":r.add(d(t.value,A.unicode,A.ignoreCase));break;case"unicodePropertyEscape":r.add(h(t.value,t.negative));break;default:throw new Error(`Unknown term type: ${t.type}`)}}if(e.negative){S(e,`(?!${r.toString(t)})[\\s\\S]`)}else{S(e,r.toString(t))}return e};const P=(e,t)=>{delete e.name;e.matchIndex=t};const x=e=>{const t=Object.keys(e.unmatchedReferences);if(t.length>0){throw new Error(`Unknown group names: ${t}`)}};const v=(e,t,r)=>{switch(e.type){case"dot":if(A.useDotAllFlag){break}else if(A.unicode){S(e,y(A.dotAll).toString(t))}else if(A.dotAll){S(e,"[\\s\\S]")}break;case"characterClass":e=g(e,t);break;case"unicodePropertyEscape":if(A.unicodePropertyEscape){S(e,h(e.value,e.negative).toString(t))}break;case"characterClassEscape":S(e,d(e.value,A.unicode,A.ignoreCase).toString(t));break;case"group":if(e.behavior=="normal"){r.lastIndex++}if(e.name&&A.namedGroup){const t=e.name.value;if(r.names[t]){throw new Error(`Multiple groups with the same name (${t}) are not allowed.`)}const n=r.lastIndex;delete e.name;r.names[t]=n;if(r.onNamedGroup){r.onNamedGroup.call(null,t,n)}if(r.unmatchedReferences[t]){r.unmatchedReferences[t].forEach(e=>{P(e,n)});delete r.unmatchedReferences[t]}}case"alternative":case"disjunction":case"quantifier":e.body=e.body.map(e=>{return v(e,t,r)});break;case"value":const n=e.codePoint;const s=i(n);if(A.ignoreCase&&A.unicode&&!A.useUnicodeFlag){const e=E(n);if(e){s.add(e)}}S(e,s.toString(t));break;case"reference":if(e.name){const t=e.name.value;const n=r.names[t];if(n){P(e,n);break}if(!r.unmatchedReferences[t]){r.unmatchedReferences[t]=[]}r.unmatchedReferences[t].push(e)}break;case"anchor":case"empty":case"group":break;default:throw new Error(`Unknown term type: ${e.type}`)}return e};const A={ignoreCase:false,unicode:false,dotAll:false,useDotAllFlag:false,useUnicodeFlag:false,unicodePropertyEscape:false,namedGroup:false};const O=(e,t,r)=>{A.unicode=t&&t.includes("u");const i={unicodePropertyEscape:A.unicode,namedGroups:true,lookbehind:r&&r.lookbehind};A.ignoreCase=t&&t.includes("i");const a=r&&r.dotAllFlag;A.dotAll=a&&t&&t.includes("s");A.namedGroup=r&&r.namedGroup;A.useDotAllFlag=r&&r.useDotAllFlag;A.useUnicodeFlag=r&&r.useUnicodeFlag;A.unicodePropertyEscape=r&&r.unicodePropertyEscape;if(a&&A.useDotAllFlag){throw new Error("`useDotAllFlag` and `dotAllFlag` cannot both be true!")}const o={hasUnicodeFlag:A.useUnicodeFlag,bmpOnly:!A.unicode};const l={onNamedGroup:r&&r.onNamedGroup,lastIndex:0,names:Object.create(null),unmatchedReferences:Object.create(null)};const u=s(e,t,i);v(u,o,l);x(l);return n(u)};e.exports=O},67608:function(e,t,r){e=r.nmd(e);(function(){"use strict";var r={function:true,object:true};var n=r[typeof window]&&window||this;var s=r[typeof t]&&t&&!t.nodeType&&t;var i=r["object"]&&e&&!e.nodeType;var a=s&&i&&typeof global=="object"&&global;if(a&&(a.global===a||a.window===a||a.self===a)){n=a}var o=Object.prototype.hasOwnProperty;function fromCodePoint(){var e=Number(arguments[0]);if(!isFinite(e)||e<0||e>1114111||Math.floor(e)!=e){throw RangeError("Invalid code point: "+e)}if(e<=65535){return String.fromCharCode(e)}else{e-=65536;var t=(e>>10)+55296;var r=e%1024+56320;return String.fromCharCode(t,r)}}var l={};function assertType(e,t){if(t.indexOf("|")==-1){if(e==t){return}throw Error("Invalid node type: "+e+"; expected type: "+t)}t=o.call(l,t)?l[t]:l[t]=RegExp("^(?:"+t+")$");if(t.test(e)){return}throw Error("Invalid node type: "+e+"; expected types: "+t)}function generate(e){var t=e.type;if(o.call(u,t)){return u[t](e)}throw Error("Invalid node type: "+t)}function generateAlternative(e){assertType(e.type,"alternative");var t=e.body,r=-1,n=t.length,s="";while(++r"}break;case"ignore":t+="?:";break;case"lookahead":t+="?=";break;case"negativeLookahead":t+="?!";break;case"lookbehind":t+="?<=";break;case"negativeLookbehind":t+="?"}throw new Error("Unknown reference type")}function generateTerm(e){assertType(e.type,"anchor|characterClass|characterClassEscape|empty|group|quantifier|reference|unicodePropertyEscape|value|dot");return generate(e)}function generateValue(e){assertType(e.type,"value");var t=e.kind,r=e.codePoint;if(typeof r!="number"){throw new Error("Invalid code point: "+r)}switch(t){case"controlLetter":return"\\c"+fromCodePoint(r+64);case"hexadecimalEscape":return"\\x"+("00"+r.toString(16).toUpperCase()).slice(-2);case"identifier":return"\\"+fromCodePoint(r);case"null":return"\\"+r;case"octal":return"\\"+r.toString(8);case"singleEscape":switch(r){case 8:return"\\b";case 9:return"\\t";case 10:return"\\n";case 11:return"\\v";case 12:return"\\f";case 13:return"\\r";default:throw Error("Invalid code point: "+r)}case"symbol":return fromCodePoint(r);case"unicodeEscape":return"\\u"+("0000"+r.toString(16).toUpperCase()).slice(-4);case"unicodeCodePointEscape":return"\\u{"+r.toString(16).toUpperCase()+"}";default:throw Error("Unsupported node kind: "+t)}}var u={alternative:generateAlternative,anchor:generateAnchor,characterClass:generateCharacterClass,characterClassEscape:generateCharacterClassEscape,characterClassRange:generateCharacterClassRange,unicodePropertyEscape:generateUnicodePropertyEscape,disjunction:generateDisjunction,dot:generateDot,group:generateGroup,quantifier:generateQuantifier,reference:generateReference,value:generateValue};var p={generate:generate};if(typeof define=="function"&&typeof define.amd=="object"&&define.amd){define(function(){return p});n.regjsgen=p}else if(s&&i){s.generate=generate}else{n.regjsgen=p}}).call(this)},25536:e=>{(function(){var t=String.fromCodePoint||function(){var e=String.fromCharCode;var t=Math.floor;return function fromCodePoint(){var r=16384;var n=[];var s;var i;var a=-1;var o=arguments.length;if(!o){return""}var l="";while(++a1114111||t(u)!=u){throw RangeError("Invalid code point: "+u)}if(u<=65535){n.push(u)}else{u-=65536;s=(u>>10)+55296;i=u%1024+56320;n.push(s,i)}if(a+1==o||n.length>r){l+=e.apply(null,n);n.length=0}}return l}}();function parse(e,r,n){if(!n){n={}}function addRaw(t){t.raw=e.substring(t.range[0],t.range[1]);return t}function updateRawStart(e,t){e.range[0]=t;return addRaw(e)}function createAnchor(e,t){return addRaw({type:"anchor",kind:e,range:[l-t,l]})}function createValue(e,t,r,n){return addRaw({type:"value",kind:e,codePoint:t,range:[r,n]})}function createEscaped(e,t,r,n){n=n||0;return createValue(e,t,l-(r.length+n),l)}function createCharacter(e){var t=e[0];var r=t.charCodeAt(0);if(o){var n;if(t.length===1&&r>=55296&&r<=56319){n=lookahead().charCodeAt(0);if(n>=56320&&n<=57343){l++;return createValue("symbol",(r-55296)*1024+n-56320+65536,l-2,l)}}}return createValue("symbol",r,l-1,l)}function createDisjunction(e,t,r){return addRaw({type:"disjunction",body:e,range:[t,r]})}function createDot(){return addRaw({type:"dot",range:[l-1,l]})}function createCharacterClassEscape(e){return addRaw({type:"characterClassEscape",value:e,range:[l-2,l]})}function createReference(e){return addRaw({type:"reference",matchIndex:parseInt(e,10),range:[l-1-e.length,l]})}function createNamedReference(e){return addRaw({type:"reference",name:e,range:[e.range[0]-3,l]})}function createGroup(e,t,r,n){return addRaw({type:"group",behavior:e,body:t,range:[r,n]})}function createQuantifier(e,t,r,n){if(n==null){r=l-1;n=l}return addRaw({type:"quantifier",min:e,max:t,greedy:true,body:null,range:[r,n]})}function createAlternative(e,t,r){return addRaw({type:"alternative",body:e,range:[t,r]})}function createCharacterClass(e,t,r,n){return addRaw({type:"characterClass",body:e,negative:t,range:[r,n]})}function createClassRange(e,t,r,n){if(e.codePoint>t.codePoint){bail("invalid range in character class",e.raw+"-"+t.raw,r,n)}return addRaw({type:"characterClassRange",min:e,max:t,range:[r,n]})}function flattenBody(e){if(e.type==="alternative"){return e.body}else{return[e]}}function isEmpty(e){return e.type==="empty"}function incr(t){t=t||1;var r=e.substring(l,l+t);l+=t||1;return r}function skip(e){if(!match(e)){bail("character",e)}}function match(t){if(e.indexOf(t,l)===l){return incr(t.length)}}function lookahead(){return e[l]}function current(t){return e.indexOf(t,l)===l}function next(t){return e[l+1]===t}function matchReg(t){var r=e.substring(l);var n=r.match(t);if(n){n.range=[];n.range[0]=l;incr(n[0].length);n.range[1]=l}return n}function parseDisjunction(){var e=[],t=l;e.push(parseAlternative());while(match("|")){e.push(parseAlternative())}if(e.length===1){return e[0]}return createDisjunction(e,t,l)}function parseAlternative(){var e=[],t=l;var r;while(r=parseTerm()){e.push(r)}if(e.length===1){return e[0]}return createAlternative(e,t,l)}function parseTerm(){if(l>=e.length||current("|")||current(")")){return null}var t=parseAnchor();if(t){return t}var r=parseAtomAndExtendedAtom();if(!r){bail("Expected atom")}var n=parseQuantifier()||false;if(n){n.body=flattenBody(r);updateRawStart(n,r.range[0]);return n}return r}function parseGroup(e,t,r,n){var s=null,i=l;if(match(e)){s=t}else if(match(r)){s=n}else{return false}return finishGroup(s,i)}function finishGroup(e,t){var r=parseDisjunction();if(!r){bail("Expected disjunction")}skip(")");var n=createGroup(e,flattenBody(r),t,l);if(e=="normal"){if(a){i++}}return n}function parseAnchor(){var e,t=l;if(match("^")){return createAnchor("start",1)}else if(match("$")){return createAnchor("end",1)}else if(match("\\b")){return createAnchor("boundary",2)}else if(match("\\B")){return createAnchor("not-boundary",2)}else{return parseGroup("(?=","lookahead","(?!","negativeLookahead")}}function parseQuantifier(){var e,t=l;var r;var n,s;if(match("*")){r=createQuantifier(0)}else if(match("+")){r=createQuantifier(1)}else if(match("?")){r=createQuantifier(0,1)}else if(e=matchReg(/^\{([0-9]+)\}/)){n=parseInt(e[1],10);r=createQuantifier(n,n,e.range[0],e.range[1])}else if(e=matchReg(/^\{([0-9]+),\}/)){n=parseInt(e[1],10);r=createQuantifier(n,undefined,e.range[0],e.range[1])}else if(e=matchReg(/^\{([0-9]+),([0-9]+)\}/)){n=parseInt(e[1],10);s=parseInt(e[2],10);if(n>s){bail("numbers out of order in {} quantifier","",t,l)}r=createQuantifier(n,s,e.range[0],e.range[1])}if(r){if(match("?")){r.greedy=false;r.range[1]+=1}}return r}function parseAtomAndExtendedAtom(){var e;if(e=matchReg(/^[^^$\\.*+?()[\]{}|]/)){return createCharacter(e)}else if(!o&&(e=matchReg(/^(?:]|})/))){return createCharacter(e)}else if(match(".")){return createDot()}else if(match("\\")){e=parseAtomEscape();if(!e){if(!o&&lookahead()=="c"){return createValue("symbol",92,l-1,l)}bail("atomEscape")}return e}else if(e=parseCharacterClass()){return e}else if(n.lookbehind&&(e=parseGroup("(?<=","lookbehind","(?");var r=finishGroup("normal",t.range[0]-3);r.name=t;return r}else{return parseGroup("(?:","ignore","(","normal")}}function parseUnicodeSurrogatePairEscape(e){if(o){var t,r;if(e.kind=="unicodeEscape"&&(t=e.codePoint)>=55296&&t<=56319&¤t("\\")&&next("u")){var n=l;l++;var s=parseClassEscape();if(s.kind=="unicodeEscape"&&(r=s.codePoint)>=56320&&r<=57343){e.range[1]=s.range[1];e.codePoint=(t-55296)*1024+r-56320+65536;e.type="value";e.kind="unicodeCodePointEscape";addRaw(e)}else{l=n}}}return e}function parseClassEscape(){return parseAtomEscape(true)}function parseAtomEscape(e){var t,r=l;t=parseDecimalEscape()||parseNamedReference();if(t){return t}if(e){if(match("b")){return createEscaped("singleEscape",8,"\\b")}else if(match("B")){bail("\\B not possible inside of CharacterClass","",r)}else if(!o&&(t=matchReg(/^c([0-9])/))){return createEscaped("controlLetter",t[1]+16,t[1],2)}if(match("-")&&o){return createEscaped("singleEscape",45,"\\-")}}t=parseCharacterEscape();return t}function parseDecimalEscape(){var e,t;if(e=matchReg(/^(?!0)\d+/)){t=e[0];var r=parseInt(e[0],10);if(r<=i){return createReference(e[0])}else{s.push(r);incr(-e[0].length);if(e=matchReg(/^[0-7]{1,3}/)){return createEscaped("octal",parseInt(e[0],8),e[0],1)}else{e=createCharacter(matchReg(/^[89]/));return updateRawStart(e,e.range[0]-1)}}}else if(e=matchReg(/^[0-7]{1,3}/)){t=e[0];if(/^0{1,3}$/.test(t)){return createEscaped("null",0,"0",t.length+1)}else{return createEscaped("octal",parseInt(t,8),t,1)}}else if(e=matchReg(/^[dDsSwW]/)){return createCharacterClassEscape(e[0])}return false}function parseNamedReference(){if(n.namedGroups&&matchReg(/^k<(?=.*?>)/)){var e=parseIdentifier();skip(">");return createNamedReference(e)}}function parseRegExpUnicodeEscapeSequence(){var e;if(e=matchReg(/^u([0-9a-fA-F]{4})/)){return parseUnicodeSurrogatePairEscape(createEscaped("unicodeEscape",parseInt(e[1],16),e[1],2))}else if(o&&(e=matchReg(/^u\{([0-9a-fA-F]+)\}/))){return createEscaped("unicodeCodePointEscape",parseInt(e[1],16),e[1],4)}}function parseCharacterEscape(){var e;var t=l;if(e=matchReg(/^[fnrtv]/)){var r=0;switch(e[0]){case"t":r=9;break;case"n":r=10;break;case"v":r=11;break;case"f":r=12;break;case"r":r=13;break}return createEscaped("singleEscape",r,"\\"+e[0])}else if(e=matchReg(/^c([a-zA-Z])/)){return createEscaped("controlLetter",e[1].charCodeAt(0)%32,e[1],2)}else if(e=matchReg(/^x([0-9a-fA-F]{2})/)){return createEscaped("hexadecimalEscape",parseInt(e[1],16),e[1],2)}else if(e=parseRegExpUnicodeEscapeSequence()){if(!e||e.codePoint>1114111){bail("Invalid escape sequence",null,t,l)}return e}else if(n.unicodePropertyEscape&&o&&(e=matchReg(/^([pP])\{([^\}]+)\}/))){return addRaw({type:"unicodePropertyEscape",negative:e[1]==="P",value:e[2],range:[e.range[0]-1,e.range[1]],raw:e[0]})}else{return parseIdentityEscape()}}function parseIdentifierAtom(r){var n=lookahead();var s=l;if(n==="\\"){incr();var i=parseRegExpUnicodeEscapeSequence();if(!i||!r(i.codePoint)){bail("Invalid escape sequence",null,s,l)}return t(i.codePoint)}var a=n.charCodeAt(0);if(a>=55296&&a<=56319){n+=e[l+1];var o=n.charCodeAt(1);if(o>=56320&&o<=57343){a=(a-55296)*1024+o-56320+65536}}if(!r(a))return;incr();if(a>65535)incr();return n}function parseIdentifier(){var e=l;var t=parseIdentifierAtom(isIdentifierStart);if(!t){bail("Invalid identifier")}var r;while(r=parseIdentifierAtom(isIdentifierPart)){t+=r}return addRaw({type:"identifier",value:t,range:[e,l]})}function isIdentifierStart(e){var r=/[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEF\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7B9\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDF00-\uDF1C\uDF27\uDF30-\uDF45]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF1A]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFF1]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;return e===36||e===95||e>=65&&e<=90||e>=97&&e<=122||e>=128&&r.test(t(e))}function isIdentifierPart(e){var r=/[0-9_\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD801[\uDCA0-\uDCA9]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDD30-\uDD39\uDF46-\uDF50]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC66-\uDC6F\uDC7F-\uDC82\uDCB0-\uDCBA\uDCF0-\uDCF9\uDD00-\uDD02\uDD27-\uDD34\uDD36-\uDD3F\uDD45\uDD46\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDDC9-\uDDCC\uDDD0-\uDDD9\uDE2C-\uDE37\uDE3E\uDEDF-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF3B\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC35-\uDC46\uDC50-\uDC59\uDC5E\uDCB0-\uDCC3\uDCD0-\uDCD9\uDDAF-\uDDB5\uDDB8-\uDDC0\uDDDC\uDDDD\uDE30-\uDE40\uDE50-\uDE59\uDEAB-\uDEB7\uDEC0-\uDEC9\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDC2C-\uDC3A\uDCE0-\uDCE9\uDE01-\uDE0A\uDE33-\uDE39\uDE3B-\uDE3E\uDE47\uDE51-\uDE5B\uDE8A-\uDE99]|\uD807[\uDC2F-\uDC36\uDC38-\uDC3F\uDC50-\uDC59\uDC92-\uDCA7\uDCA9-\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD50-\uDD59\uDD8A-\uDD8E\uDD90\uDD91\uDD93-\uDD97\uDDA0-\uDDA9\uDEF3-\uDEF6]|\uD81A[\uDE60-\uDE69\uDEF0-\uDEF4\uDF30-\uDF36\uDF50-\uDF59]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A\uDD50-\uDD59]|\uDB40[\uDD00-\uDDEF]/;return isIdentifierStart(e)||e>=48&&e<=57||e>=128&&r.test(t(e))}function parseIdentityEscape(){var e;var t=lookahead();if(o&&/[\^\$\.\*\+\?\(\)\\\[\]\{\}\|\/]/.test(t)||!o&&t!=="c"){if(t==="k"&&n.lookbehind){return null}e=incr();return createEscaped("identifier",e.charCodeAt(0),e,1)}return null}function parseCharacterClass(){var e,t=l;if(e=matchReg(/^\[\^/)){e=parseClassRanges();skip("]");return createCharacterClass(e,true,t,l)}else if(match("[")){e=parseClassRanges();skip("]");return createCharacterClass(e,false,t,l)}return null}function parseClassRanges(){var e;if(current("]")){return[]}else{e=parseNonemptyClassRanges();if(!e){bail("nonEmptyClassRanges")}return e}}function parseHelperClassRanges(e){var t,r,n;if(current("-")&&!next("]")){skip("-");n=parseClassAtom();if(!n){bail("classAtom")}r=l;var s=parseClassRanges();if(!s){bail("classRanges")}t=e.range[0];if(s.type==="empty"){return[createClassRange(e,n,t,r)]}return[createClassRange(e,n,t,r)].concat(s)}n=parseNonemptyClassRangesNoDash();if(!n){bail("nonEmptyClassRangesNoDash")}return[e].concat(n)}function parseNonemptyClassRanges(){var e=parseClassAtom();if(!e){bail("classAtom")}if(current("]")){return[e]}return parseHelperClassRanges(e)}function parseNonemptyClassRangesNoDash(){var e=parseClassAtom();if(!e){bail("classAtom")}if(current("]")){return e}return parseHelperClassRanges(e)}function parseClassAtom(){if(match("-")){return createCharacter("-")}else{return parseClassAtomNoDash()}}function parseClassAtomNoDash(){var e;if(e=matchReg(/^[^\\\]-]/)){return createCharacter(e[0])}else if(match("\\")){e=parseClassEscape();if(!e){bail("classEscape")}return parseUnicodeSurrogatePairEscape(e)}}function bail(t,r,n,s){n=n==null?l:n;s=s==null?n:s;var i=Math.max(0,n-10);var a=Math.min(s+10,e.length);var o=" "+e.substring(i,a);var u=" "+new Array(n-i+1).join(" ")+"^";throw SyntaxError(t+" at position "+n+(r?": "+r:"")+"\n"+o+"\n"+u)}var s=[];var i=0;var a=true;var o=(r||"").indexOf("u")!==-1;var l=0;e=String(e);if(e===""){e="(?:)"}var u=parseDisjunction();if(u.range[1]!==e.length){bail("Could not parse entire input - got stuck","",u.range[1])}for(var p=0;p{"use strict";let t=null;function FastObject(e){if(t!==null&&typeof t.property){const e=t;t=FastObject.prototype=null;return e}t=FastObject.prototype=e==null?Object.create(null):e;return new FastObject}FastObject();e.exports=function toFastproperties(e){return FastObject(e)}},42707:e=>{var t=e.exports=function(e){return new Traverse(e)};function Traverse(e){this.value=e}Traverse.prototype.get=function(e){var t=this.value;for(var r=0;r{e.exports=new Set(["General_Category","Script","Script_Extensions","Alphabetic","Any","ASCII","ASCII_Hex_Digit","Assigned","Bidi_Control","Bidi_Mirrored","Case_Ignorable","Cased","Changes_When_Casefolded","Changes_When_Casemapped","Changes_When_Lowercased","Changes_When_NFKC_Casefolded","Changes_When_Titlecased","Changes_When_Uppercased","Dash","Default_Ignorable_Code_Point","Deprecated","Diacritic","Emoji","Emoji_Component","Emoji_Modifier","Emoji_Modifier_Base","Emoji_Presentation","Extended_Pictographic","Extender","Grapheme_Base","Grapheme_Extend","Hex_Digit","ID_Continue","ID_Start","Ideographic","IDS_Binary_Operator","IDS_Trinary_Operator","Join_Control","Logical_Order_Exception","Lowercase","Math","Noncharacter_Code_Point","Pattern_Syntax","Pattern_White_Space","Quotation_Mark","Radical","Regional_Indicator","Sentence_Terminal","Soft_Dotted","Terminal_Punctuation","Unified_Ideograph","Uppercase","Variation_Selector","White_Space","XID_Continue","XID_Start"])},89755:(e,t,r)=>{"use strict";const n=r(68783);const s=r(71047);const i=function(e){if(n.has(e)){return e}if(s.has(e)){return s.get(e)}throw new Error(`Unknown property: ${e}`)};e.exports=i},36104:e=>{e.exports=new Map([["General_Category",new Map([["C","Other"],["Cc","Control"],["cntrl","Control"],["Cf","Format"],["Cn","Unassigned"],["Co","Private_Use"],["Cs","Surrogate"],["L","Letter"],["LC","Cased_Letter"],["Ll","Lowercase_Letter"],["Lm","Modifier_Letter"],["Lo","Other_Letter"],["Lt","Titlecase_Letter"],["Lu","Uppercase_Letter"],["M","Mark"],["Combining_Mark","Mark"],["Mc","Spacing_Mark"],["Me","Enclosing_Mark"],["Mn","Nonspacing_Mark"],["N","Number"],["Nd","Decimal_Number"],["digit","Decimal_Number"],["Nl","Letter_Number"],["No","Other_Number"],["P","Punctuation"],["punct","Punctuation"],["Pc","Connector_Punctuation"],["Pd","Dash_Punctuation"],["Pe","Close_Punctuation"],["Pf","Final_Punctuation"],["Pi","Initial_Punctuation"],["Po","Other_Punctuation"],["Ps","Open_Punctuation"],["S","Symbol"],["Sc","Currency_Symbol"],["Sk","Modifier_Symbol"],["Sm","Math_Symbol"],["So","Other_Symbol"],["Z","Separator"],["Zl","Line_Separator"],["Zp","Paragraph_Separator"],["Zs","Space_Separator"],["Other","Other"],["Control","Control"],["Format","Format"],["Unassigned","Unassigned"],["Private_Use","Private_Use"],["Surrogate","Surrogate"],["Letter","Letter"],["Cased_Letter","Cased_Letter"],["Lowercase_Letter","Lowercase_Letter"],["Modifier_Letter","Modifier_Letter"],["Other_Letter","Other_Letter"],["Titlecase_Letter","Titlecase_Letter"],["Uppercase_Letter","Uppercase_Letter"],["Mark","Mark"],["Spacing_Mark","Spacing_Mark"],["Enclosing_Mark","Enclosing_Mark"],["Nonspacing_Mark","Nonspacing_Mark"],["Number","Number"],["Decimal_Number","Decimal_Number"],["Letter_Number","Letter_Number"],["Other_Number","Other_Number"],["Punctuation","Punctuation"],["Connector_Punctuation","Connector_Punctuation"],["Dash_Punctuation","Dash_Punctuation"],["Close_Punctuation","Close_Punctuation"],["Final_Punctuation","Final_Punctuation"],["Initial_Punctuation","Initial_Punctuation"],["Other_Punctuation","Other_Punctuation"],["Open_Punctuation","Open_Punctuation"],["Symbol","Symbol"],["Currency_Symbol","Currency_Symbol"],["Modifier_Symbol","Modifier_Symbol"],["Math_Symbol","Math_Symbol"],["Other_Symbol","Other_Symbol"],["Separator","Separator"],["Line_Separator","Line_Separator"],["Paragraph_Separator","Paragraph_Separator"],["Space_Separator","Space_Separator"]])],["Script",new Map([["Adlm","Adlam"],["Aghb","Caucasian_Albanian"],["Ahom","Ahom"],["Arab","Arabic"],["Armi","Imperial_Aramaic"],["Armn","Armenian"],["Avst","Avestan"],["Bali","Balinese"],["Bamu","Bamum"],["Bass","Bassa_Vah"],["Batk","Batak"],["Beng","Bengali"],["Bhks","Bhaiksuki"],["Bopo","Bopomofo"],["Brah","Brahmi"],["Brai","Braille"],["Bugi","Buginese"],["Buhd","Buhid"],["Cakm","Chakma"],["Cans","Canadian_Aboriginal"],["Cari","Carian"],["Cham","Cham"],["Cher","Cherokee"],["Chrs","Chorasmian"],["Copt","Coptic"],["Qaac","Coptic"],["Cprt","Cypriot"],["Cyrl","Cyrillic"],["Deva","Devanagari"],["Diak","Dives_Akuru"],["Dogr","Dogra"],["Dsrt","Deseret"],["Dupl","Duployan"],["Egyp","Egyptian_Hieroglyphs"],["Elba","Elbasan"],["Elym","Elymaic"],["Ethi","Ethiopic"],["Geor","Georgian"],["Glag","Glagolitic"],["Gong","Gunjala_Gondi"],["Gonm","Masaram_Gondi"],["Goth","Gothic"],["Gran","Grantha"],["Grek","Greek"],["Gujr","Gujarati"],["Guru","Gurmukhi"],["Hang","Hangul"],["Hani","Han"],["Hano","Hanunoo"],["Hatr","Hatran"],["Hebr","Hebrew"],["Hira","Hiragana"],["Hluw","Anatolian_Hieroglyphs"],["Hmng","Pahawh_Hmong"],["Hmnp","Nyiakeng_Puachue_Hmong"],["Hrkt","Katakana_Or_Hiragana"],["Hung","Old_Hungarian"],["Ital","Old_Italic"],["Java","Javanese"],["Kali","Kayah_Li"],["Kana","Katakana"],["Khar","Kharoshthi"],["Khmr","Khmer"],["Khoj","Khojki"],["Kits","Khitan_Small_Script"],["Knda","Kannada"],["Kthi","Kaithi"],["Lana","Tai_Tham"],["Laoo","Lao"],["Latn","Latin"],["Lepc","Lepcha"],["Limb","Limbu"],["Lina","Linear_A"],["Linb","Linear_B"],["Lisu","Lisu"],["Lyci","Lycian"],["Lydi","Lydian"],["Mahj","Mahajani"],["Maka","Makasar"],["Mand","Mandaic"],["Mani","Manichaean"],["Marc","Marchen"],["Medf","Medefaidrin"],["Mend","Mende_Kikakui"],["Merc","Meroitic_Cursive"],["Mero","Meroitic_Hieroglyphs"],["Mlym","Malayalam"],["Modi","Modi"],["Mong","Mongolian"],["Mroo","Mro"],["Mtei","Meetei_Mayek"],["Mult","Multani"],["Mymr","Myanmar"],["Nand","Nandinagari"],["Narb","Old_North_Arabian"],["Nbat","Nabataean"],["Newa","Newa"],["Nkoo","Nko"],["Nshu","Nushu"],["Ogam","Ogham"],["Olck","Ol_Chiki"],["Orkh","Old_Turkic"],["Orya","Oriya"],["Osge","Osage"],["Osma","Osmanya"],["Palm","Palmyrene"],["Pauc","Pau_Cin_Hau"],["Perm","Old_Permic"],["Phag","Phags_Pa"],["Phli","Inscriptional_Pahlavi"],["Phlp","Psalter_Pahlavi"],["Phnx","Phoenician"],["Plrd","Miao"],["Prti","Inscriptional_Parthian"],["Rjng","Rejang"],["Rohg","Hanifi_Rohingya"],["Runr","Runic"],["Samr","Samaritan"],["Sarb","Old_South_Arabian"],["Saur","Saurashtra"],["Sgnw","SignWriting"],["Shaw","Shavian"],["Shrd","Sharada"],["Sidd","Siddham"],["Sind","Khudawadi"],["Sinh","Sinhala"],["Sogd","Sogdian"],["Sogo","Old_Sogdian"],["Sora","Sora_Sompeng"],["Soyo","Soyombo"],["Sund","Sundanese"],["Sylo","Syloti_Nagri"],["Syrc","Syriac"],["Tagb","Tagbanwa"],["Takr","Takri"],["Tale","Tai_Le"],["Talu","New_Tai_Lue"],["Taml","Tamil"],["Tang","Tangut"],["Tavt","Tai_Viet"],["Telu","Telugu"],["Tfng","Tifinagh"],["Tglg","Tagalog"],["Thaa","Thaana"],["Thai","Thai"],["Tibt","Tibetan"],["Tirh","Tirhuta"],["Ugar","Ugaritic"],["Vaii","Vai"],["Wara","Warang_Citi"],["Wcho","Wancho"],["Xpeo","Old_Persian"],["Xsux","Cuneiform"],["Yezi","Yezidi"],["Yiii","Yi"],["Zanb","Zanabazar_Square"],["Zinh","Inherited"],["Qaai","Inherited"],["Zyyy","Common"],["Zzzz","Unknown"],["Adlam","Adlam"],["Caucasian_Albanian","Caucasian_Albanian"],["Arabic","Arabic"],["Imperial_Aramaic","Imperial_Aramaic"],["Armenian","Armenian"],["Avestan","Avestan"],["Balinese","Balinese"],["Bamum","Bamum"],["Bassa_Vah","Bassa_Vah"],["Batak","Batak"],["Bengali","Bengali"],["Bhaiksuki","Bhaiksuki"],["Bopomofo","Bopomofo"],["Brahmi","Brahmi"],["Braille","Braille"],["Buginese","Buginese"],["Buhid","Buhid"],["Chakma","Chakma"],["Canadian_Aboriginal","Canadian_Aboriginal"],["Carian","Carian"],["Cherokee","Cherokee"],["Chorasmian","Chorasmian"],["Coptic","Coptic"],["Cypriot","Cypriot"],["Cyrillic","Cyrillic"],["Devanagari","Devanagari"],["Dives_Akuru","Dives_Akuru"],["Dogra","Dogra"],["Deseret","Deseret"],["Duployan","Duployan"],["Egyptian_Hieroglyphs","Egyptian_Hieroglyphs"],["Elbasan","Elbasan"],["Elymaic","Elymaic"],["Ethiopic","Ethiopic"],["Georgian","Georgian"],["Glagolitic","Glagolitic"],["Gunjala_Gondi","Gunjala_Gondi"],["Masaram_Gondi","Masaram_Gondi"],["Gothic","Gothic"],["Grantha","Grantha"],["Greek","Greek"],["Gujarati","Gujarati"],["Gurmukhi","Gurmukhi"],["Hangul","Hangul"],["Han","Han"],["Hanunoo","Hanunoo"],["Hatran","Hatran"],["Hebrew","Hebrew"],["Hiragana","Hiragana"],["Anatolian_Hieroglyphs","Anatolian_Hieroglyphs"],["Pahawh_Hmong","Pahawh_Hmong"],["Nyiakeng_Puachue_Hmong","Nyiakeng_Puachue_Hmong"],["Katakana_Or_Hiragana","Katakana_Or_Hiragana"],["Old_Hungarian","Old_Hungarian"],["Old_Italic","Old_Italic"],["Javanese","Javanese"],["Kayah_Li","Kayah_Li"],["Katakana","Katakana"],["Kharoshthi","Kharoshthi"],["Khmer","Khmer"],["Khojki","Khojki"],["Khitan_Small_Script","Khitan_Small_Script"],["Kannada","Kannada"],["Kaithi","Kaithi"],["Tai_Tham","Tai_Tham"],["Lao","Lao"],["Latin","Latin"],["Lepcha","Lepcha"],["Limbu","Limbu"],["Linear_A","Linear_A"],["Linear_B","Linear_B"],["Lycian","Lycian"],["Lydian","Lydian"],["Mahajani","Mahajani"],["Makasar","Makasar"],["Mandaic","Mandaic"],["Manichaean","Manichaean"],["Marchen","Marchen"],["Medefaidrin","Medefaidrin"],["Mende_Kikakui","Mende_Kikakui"],["Meroitic_Cursive","Meroitic_Cursive"],["Meroitic_Hieroglyphs","Meroitic_Hieroglyphs"],["Malayalam","Malayalam"],["Mongolian","Mongolian"],["Mro","Mro"],["Meetei_Mayek","Meetei_Mayek"],["Multani","Multani"],["Myanmar","Myanmar"],["Nandinagari","Nandinagari"],["Old_North_Arabian","Old_North_Arabian"],["Nabataean","Nabataean"],["Nko","Nko"],["Nushu","Nushu"],["Ogham","Ogham"],["Ol_Chiki","Ol_Chiki"],["Old_Turkic","Old_Turkic"],["Oriya","Oriya"],["Osage","Osage"],["Osmanya","Osmanya"],["Palmyrene","Palmyrene"],["Pau_Cin_Hau","Pau_Cin_Hau"],["Old_Permic","Old_Permic"],["Phags_Pa","Phags_Pa"],["Inscriptional_Pahlavi","Inscriptional_Pahlavi"],["Psalter_Pahlavi","Psalter_Pahlavi"],["Phoenician","Phoenician"],["Miao","Miao"],["Inscriptional_Parthian","Inscriptional_Parthian"],["Rejang","Rejang"],["Hanifi_Rohingya","Hanifi_Rohingya"],["Runic","Runic"],["Samaritan","Samaritan"],["Old_South_Arabian","Old_South_Arabian"],["Saurashtra","Saurashtra"],["SignWriting","SignWriting"],["Shavian","Shavian"],["Sharada","Sharada"],["Siddham","Siddham"],["Khudawadi","Khudawadi"],["Sinhala","Sinhala"],["Sogdian","Sogdian"],["Old_Sogdian","Old_Sogdian"],["Sora_Sompeng","Sora_Sompeng"],["Soyombo","Soyombo"],["Sundanese","Sundanese"],["Syloti_Nagri","Syloti_Nagri"],["Syriac","Syriac"],["Tagbanwa","Tagbanwa"],["Takri","Takri"],["Tai_Le","Tai_Le"],["New_Tai_Lue","New_Tai_Lue"],["Tamil","Tamil"],["Tangut","Tangut"],["Tai_Viet","Tai_Viet"],["Telugu","Telugu"],["Tifinagh","Tifinagh"],["Tagalog","Tagalog"],["Thaana","Thaana"],["Tibetan","Tibetan"],["Tirhuta","Tirhuta"],["Ugaritic","Ugaritic"],["Vai","Vai"],["Warang_Citi","Warang_Citi"],["Wancho","Wancho"],["Old_Persian","Old_Persian"],["Cuneiform","Cuneiform"],["Yezidi","Yezidi"],["Yi","Yi"],["Zanabazar_Square","Zanabazar_Square"],["Inherited","Inherited"],["Common","Common"],["Unknown","Unknown"]])],["Script_Extensions",new Map([["Adlm","Adlam"],["Aghb","Caucasian_Albanian"],["Ahom","Ahom"],["Arab","Arabic"],["Armi","Imperial_Aramaic"],["Armn","Armenian"],["Avst","Avestan"],["Bali","Balinese"],["Bamu","Bamum"],["Bass","Bassa_Vah"],["Batk","Batak"],["Beng","Bengali"],["Bhks","Bhaiksuki"],["Bopo","Bopomofo"],["Brah","Brahmi"],["Brai","Braille"],["Bugi","Buginese"],["Buhd","Buhid"],["Cakm","Chakma"],["Cans","Canadian_Aboriginal"],["Cari","Carian"],["Cham","Cham"],["Cher","Cherokee"],["Chrs","Chorasmian"],["Copt","Coptic"],["Qaac","Coptic"],["Cprt","Cypriot"],["Cyrl","Cyrillic"],["Deva","Devanagari"],["Diak","Dives_Akuru"],["Dogr","Dogra"],["Dsrt","Deseret"],["Dupl","Duployan"],["Egyp","Egyptian_Hieroglyphs"],["Elba","Elbasan"],["Elym","Elymaic"],["Ethi","Ethiopic"],["Geor","Georgian"],["Glag","Glagolitic"],["Gong","Gunjala_Gondi"],["Gonm","Masaram_Gondi"],["Goth","Gothic"],["Gran","Grantha"],["Grek","Greek"],["Gujr","Gujarati"],["Guru","Gurmukhi"],["Hang","Hangul"],["Hani","Han"],["Hano","Hanunoo"],["Hatr","Hatran"],["Hebr","Hebrew"],["Hira","Hiragana"],["Hluw","Anatolian_Hieroglyphs"],["Hmng","Pahawh_Hmong"],["Hmnp","Nyiakeng_Puachue_Hmong"],["Hrkt","Katakana_Or_Hiragana"],["Hung","Old_Hungarian"],["Ital","Old_Italic"],["Java","Javanese"],["Kali","Kayah_Li"],["Kana","Katakana"],["Khar","Kharoshthi"],["Khmr","Khmer"],["Khoj","Khojki"],["Kits","Khitan_Small_Script"],["Knda","Kannada"],["Kthi","Kaithi"],["Lana","Tai_Tham"],["Laoo","Lao"],["Latn","Latin"],["Lepc","Lepcha"],["Limb","Limbu"],["Lina","Linear_A"],["Linb","Linear_B"],["Lisu","Lisu"],["Lyci","Lycian"],["Lydi","Lydian"],["Mahj","Mahajani"],["Maka","Makasar"],["Mand","Mandaic"],["Mani","Manichaean"],["Marc","Marchen"],["Medf","Medefaidrin"],["Mend","Mende_Kikakui"],["Merc","Meroitic_Cursive"],["Mero","Meroitic_Hieroglyphs"],["Mlym","Malayalam"],["Modi","Modi"],["Mong","Mongolian"],["Mroo","Mro"],["Mtei","Meetei_Mayek"],["Mult","Multani"],["Mymr","Myanmar"],["Nand","Nandinagari"],["Narb","Old_North_Arabian"],["Nbat","Nabataean"],["Newa","Newa"],["Nkoo","Nko"],["Nshu","Nushu"],["Ogam","Ogham"],["Olck","Ol_Chiki"],["Orkh","Old_Turkic"],["Orya","Oriya"],["Osge","Osage"],["Osma","Osmanya"],["Palm","Palmyrene"],["Pauc","Pau_Cin_Hau"],["Perm","Old_Permic"],["Phag","Phags_Pa"],["Phli","Inscriptional_Pahlavi"],["Phlp","Psalter_Pahlavi"],["Phnx","Phoenician"],["Plrd","Miao"],["Prti","Inscriptional_Parthian"],["Rjng","Rejang"],["Rohg","Hanifi_Rohingya"],["Runr","Runic"],["Samr","Samaritan"],["Sarb","Old_South_Arabian"],["Saur","Saurashtra"],["Sgnw","SignWriting"],["Shaw","Shavian"],["Shrd","Sharada"],["Sidd","Siddham"],["Sind","Khudawadi"],["Sinh","Sinhala"],["Sogd","Sogdian"],["Sogo","Old_Sogdian"],["Sora","Sora_Sompeng"],["Soyo","Soyombo"],["Sund","Sundanese"],["Sylo","Syloti_Nagri"],["Syrc","Syriac"],["Tagb","Tagbanwa"],["Takr","Takri"],["Tale","Tai_Le"],["Talu","New_Tai_Lue"],["Taml","Tamil"],["Tang","Tangut"],["Tavt","Tai_Viet"],["Telu","Telugu"],["Tfng","Tifinagh"],["Tglg","Tagalog"],["Thaa","Thaana"],["Thai","Thai"],["Tibt","Tibetan"],["Tirh","Tirhuta"],["Ugar","Ugaritic"],["Vaii","Vai"],["Wara","Warang_Citi"],["Wcho","Wancho"],["Xpeo","Old_Persian"],["Xsux","Cuneiform"],["Yezi","Yezidi"],["Yiii","Yi"],["Zanb","Zanabazar_Square"],["Zinh","Inherited"],["Qaai","Inherited"],["Zyyy","Common"],["Zzzz","Unknown"],["Adlam","Adlam"],["Caucasian_Albanian","Caucasian_Albanian"],["Arabic","Arabic"],["Imperial_Aramaic","Imperial_Aramaic"],["Armenian","Armenian"],["Avestan","Avestan"],["Balinese","Balinese"],["Bamum","Bamum"],["Bassa_Vah","Bassa_Vah"],["Batak","Batak"],["Bengali","Bengali"],["Bhaiksuki","Bhaiksuki"],["Bopomofo","Bopomofo"],["Brahmi","Brahmi"],["Braille","Braille"],["Buginese","Buginese"],["Buhid","Buhid"],["Chakma","Chakma"],["Canadian_Aboriginal","Canadian_Aboriginal"],["Carian","Carian"],["Cherokee","Cherokee"],["Chorasmian","Chorasmian"],["Coptic","Coptic"],["Cypriot","Cypriot"],["Cyrillic","Cyrillic"],["Devanagari","Devanagari"],["Dives_Akuru","Dives_Akuru"],["Dogra","Dogra"],["Deseret","Deseret"],["Duployan","Duployan"],["Egyptian_Hieroglyphs","Egyptian_Hieroglyphs"],["Elbasan","Elbasan"],["Elymaic","Elymaic"],["Ethiopic","Ethiopic"],["Georgian","Georgian"],["Glagolitic","Glagolitic"],["Gunjala_Gondi","Gunjala_Gondi"],["Masaram_Gondi","Masaram_Gondi"],["Gothic","Gothic"],["Grantha","Grantha"],["Greek","Greek"],["Gujarati","Gujarati"],["Gurmukhi","Gurmukhi"],["Hangul","Hangul"],["Han","Han"],["Hanunoo","Hanunoo"],["Hatran","Hatran"],["Hebrew","Hebrew"],["Hiragana","Hiragana"],["Anatolian_Hieroglyphs","Anatolian_Hieroglyphs"],["Pahawh_Hmong","Pahawh_Hmong"],["Nyiakeng_Puachue_Hmong","Nyiakeng_Puachue_Hmong"],["Katakana_Or_Hiragana","Katakana_Or_Hiragana"],["Old_Hungarian","Old_Hungarian"],["Old_Italic","Old_Italic"],["Javanese","Javanese"],["Kayah_Li","Kayah_Li"],["Katakana","Katakana"],["Kharoshthi","Kharoshthi"],["Khmer","Khmer"],["Khojki","Khojki"],["Khitan_Small_Script","Khitan_Small_Script"],["Kannada","Kannada"],["Kaithi","Kaithi"],["Tai_Tham","Tai_Tham"],["Lao","Lao"],["Latin","Latin"],["Lepcha","Lepcha"],["Limbu","Limbu"],["Linear_A","Linear_A"],["Linear_B","Linear_B"],["Lycian","Lycian"],["Lydian","Lydian"],["Mahajani","Mahajani"],["Makasar","Makasar"],["Mandaic","Mandaic"],["Manichaean","Manichaean"],["Marchen","Marchen"],["Medefaidrin","Medefaidrin"],["Mende_Kikakui","Mende_Kikakui"],["Meroitic_Cursive","Meroitic_Cursive"],["Meroitic_Hieroglyphs","Meroitic_Hieroglyphs"],["Malayalam","Malayalam"],["Mongolian","Mongolian"],["Mro","Mro"],["Meetei_Mayek","Meetei_Mayek"],["Multani","Multani"],["Myanmar","Myanmar"],["Nandinagari","Nandinagari"],["Old_North_Arabian","Old_North_Arabian"],["Nabataean","Nabataean"],["Nko","Nko"],["Nushu","Nushu"],["Ogham","Ogham"],["Ol_Chiki","Ol_Chiki"],["Old_Turkic","Old_Turkic"],["Oriya","Oriya"],["Osage","Osage"],["Osmanya","Osmanya"],["Palmyrene","Palmyrene"],["Pau_Cin_Hau","Pau_Cin_Hau"],["Old_Permic","Old_Permic"],["Phags_Pa","Phags_Pa"],["Inscriptional_Pahlavi","Inscriptional_Pahlavi"],["Psalter_Pahlavi","Psalter_Pahlavi"],["Phoenician","Phoenician"],["Miao","Miao"],["Inscriptional_Parthian","Inscriptional_Parthian"],["Rejang","Rejang"],["Hanifi_Rohingya","Hanifi_Rohingya"],["Runic","Runic"],["Samaritan","Samaritan"],["Old_South_Arabian","Old_South_Arabian"],["Saurashtra","Saurashtra"],["SignWriting","SignWriting"],["Shavian","Shavian"],["Sharada","Sharada"],["Siddham","Siddham"],["Khudawadi","Khudawadi"],["Sinhala","Sinhala"],["Sogdian","Sogdian"],["Old_Sogdian","Old_Sogdian"],["Sora_Sompeng","Sora_Sompeng"],["Soyombo","Soyombo"],["Sundanese","Sundanese"],["Syloti_Nagri","Syloti_Nagri"],["Syriac","Syriac"],["Tagbanwa","Tagbanwa"],["Takri","Takri"],["Tai_Le","Tai_Le"],["New_Tai_Lue","New_Tai_Lue"],["Tamil","Tamil"],["Tangut","Tangut"],["Tai_Viet","Tai_Viet"],["Telugu","Telugu"],["Tifinagh","Tifinagh"],["Tagalog","Tagalog"],["Thaana","Thaana"],["Tibetan","Tibetan"],["Tirhuta","Tirhuta"],["Ugaritic","Ugaritic"],["Vai","Vai"],["Warang_Citi","Warang_Citi"],["Wancho","Wancho"],["Old_Persian","Old_Persian"],["Cuneiform","Cuneiform"],["Yezidi","Yezidi"],["Yi","Yi"],["Zanabazar_Square","Zanabazar_Square"],["Inherited","Inherited"],["Common","Common"],["Unknown","Unknown"]])]])},67621:(e,t,r)=>{"use strict";const n=r(36104);const s=function(e,t){const r=n.get(e);if(!r){throw new Error(`Unknown property \`${e}\`.`)}const s=r.get(t);if(s){return s}throw new Error(`Unknown value \`${t}\` for property \`${e}\`.`)};e.exports=s},71047:e=>{e.exports=new Map([["scx","Script_Extensions"],["sc","Script"],["gc","General_Category"],["AHex","ASCII_Hex_Digit"],["Alpha","Alphabetic"],["Bidi_C","Bidi_Control"],["Bidi_M","Bidi_Mirrored"],["Cased","Cased"],["CI","Case_Ignorable"],["CWCF","Changes_When_Casefolded"],["CWCM","Changes_When_Casemapped"],["CWKCF","Changes_When_NFKC_Casefolded"],["CWL","Changes_When_Lowercased"],["CWT","Changes_When_Titlecased"],["CWU","Changes_When_Uppercased"],["Dash","Dash"],["Dep","Deprecated"],["DI","Default_Ignorable_Code_Point"],["Dia","Diacritic"],["Ext","Extender"],["Gr_Base","Grapheme_Base"],["Gr_Ext","Grapheme_Extend"],["Hex","Hex_Digit"],["IDC","ID_Continue"],["Ideo","Ideographic"],["IDS","ID_Start"],["IDSB","IDS_Binary_Operator"],["IDST","IDS_Trinary_Operator"],["Join_C","Join_Control"],["LOE","Logical_Order_Exception"],["Lower","Lowercase"],["Math","Math"],["NChar","Noncharacter_Code_Point"],["Pat_Syn","Pattern_Syntax"],["Pat_WS","Pattern_White_Space"],["QMark","Quotation_Mark"],["Radical","Radical"],["RI","Regional_Indicator"],["SD","Soft_Dotted"],["STerm","Sentence_Terminal"],["Term","Terminal_Punctuation"],["UIdeo","Unified_Ideograph"],["Upper","Uppercase"],["VS","Variation_Selector"],["WSpace","White_Space"],["space","White_Space"],["XIDC","XID_Continue"],["XIDS","XID_Start"]])},76812:(e,t,r)=>{function eslintParser(){return r(28700)}function pluginProposalClassProperties(){return r(98060)}function pluginProposalExportNamespaceFrom(){return r(78562)}function pluginProposalNumericSeparator(){return r(17788)}function pluginProposalObjectRestSpread(){return r(15654)}function pluginSyntaxBigint(){return r(87140)}function pluginSyntaxDynamicImport(){return r(15487)}function pluginSyntaxJsx(){return r(65673)}function pluginTransformDefine(){return r(4100)}function pluginTransformModulesCommonjs(){return r(68749)}function pluginTransformReactRemovePropTypes(){return r(99392)}function pluginTransformRuntime(){return r(14380)}function presetEnv(){return r(61480)}function presetReact(){return r(9064)}function presetTypescript(){return r(12898)}e.exports={eslintParser:eslintParser,pluginProposalClassProperties:pluginProposalClassProperties,pluginProposalExportNamespaceFrom:pluginProposalExportNamespaceFrom,pluginProposalNumericSeparator:pluginProposalNumericSeparator,pluginProposalObjectRestSpread:pluginProposalObjectRestSpread,pluginSyntaxBigint:pluginSyntaxBigint,pluginSyntaxDynamicImport:pluginSyntaxDynamicImport,pluginSyntaxJsx:pluginSyntaxJsx,pluginTransformDefine:pluginTransformDefine,pluginTransformModulesCommonjs:pluginTransformModulesCommonjs,pluginTransformReactRemovePropTypes:pluginTransformReactRemovePropTypes,pluginTransformRuntime:pluginTransformRuntime,presetEnv:presetEnv,presetReact:presetReact,presetTypescript:presetTypescript}},11397:(e,t,r)=>{e.exports=r(66353)},89556:(e,t,r)=>{e.exports=r(78575)},91325:(e,t,r)=>{e.exports=r(93840)},13982:(e,t,r)=>{e.exports=r(42230)},70251:(e,t,r)=>{e.exports=r(6834)},52393:()=>{},7676:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeWeakCache=makeWeakCache;t.makeWeakCacheSync=makeWeakCacheSync;t.makeStrongCache=makeStrongCache;t.makeStrongCacheSync=makeStrongCacheSync;t.assertSimpleType=assertSimpleType;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(33655);var s=r(25529);const i=e=>{return _gensync()(e).sync};function*genTrue(){return true}function makeWeakCache(e){return makeCachedFunction(WeakMap,e)}function makeWeakCacheSync(e){return i(makeWeakCache(e))}function makeStrongCache(e){return makeCachedFunction(Map,e)}function makeStrongCacheSync(e){return i(makeStrongCache(e))}function makeCachedFunction(e,t){const r=new e;const i=new e;const a=new e;return function*cachedFunction(e,o){const l=yield*(0,n.isAsync)();const u=l?i:r;const p=yield*getCachedValueOrWait(l,u,a,e,o);if(p.valid)return p.value;const f=new CacheConfigurator(o);const c=t(e,f);let d;let y;if((0,s.isIterableIterator)(c)){const t=c;y=yield*(0,n.onFirstPause)(t,()=>{d=setupAsyncLocks(f,a,e)})}else{y=c}updateFunctionCache(u,f,e,y);if(d){a.delete(e);d.release(y)}return y}}function*getCachedValue(e,t,r){const n=e.get(t);if(n){for(const{value:e,valid:t}of n){if(yield*t(r))return{valid:true,value:e}}}return{valid:false,value:null}}function*getCachedValueOrWait(e,t,r,s,i){const a=yield*getCachedValue(t,s,i);if(a.valid){return a}if(e){const e=yield*getCachedValue(r,s,i);if(e.valid){const t=yield*(0,n.waitFor)(e.value.promise);return{valid:true,value:t}}}return{valid:false,value:null}}function setupAsyncLocks(e,t,r){const n=new Lock;updateFunctionCache(t,e,r,n);return n}function updateFunctionCache(e,t,r,n){if(!t.configured())t.forever();let s=e.get(r);t.deactivate();switch(t.mode()){case"forever":s=[{value:n,valid:genTrue}];e.set(r,s);break;case"invalidate":s=[{value:n,valid:t.validator()}];e.set(r,s);break;case"valid":if(s){s.push({value:n,valid:t.validator()})}else{s=[{value:n,valid:t.validator()}];e.set(r,s)}}}class CacheConfigurator{constructor(e){this._active=true;this._never=false;this._forever=false;this._invalidate=false;this._configured=false;this._pairs=[];this._data=void 0;this._data=e}simple(){return makeSimpleConfigurator(this)}mode(){if(this._never)return"never";if(this._forever)return"forever";if(this._invalidate)return"invalidate";return"valid"}forever(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never){throw new Error("Caching has already been configured with .never()")}this._forever=true;this._configured=true}never(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._forever){throw new Error("Caching has already been configured with .forever()")}this._never=true;this._configured=true}using(e){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never||this._forever){throw new Error("Caching has already been configured with .never or .forever()")}this._configured=true;const t=e(this._data);const r=(0,n.maybeAsync)(e,`You appear to be using an async cache handler, but Babel has been called synchronously`);if((0,n.isThenable)(t)){return t.then(e=>{this._pairs.push([e,r]);return e})}this._pairs.push([t,r]);return t}invalidate(e){this._invalidate=true;return this.using(e)}validator(){const e=this._pairs;return function*(t){for(const[r,n]of e){if(r!==(yield*n(t)))return false}return true}}deactivate(){this._active=false}configured(){return this._configured}}function makeSimpleConfigurator(e){function cacheFn(t){if(typeof t==="boolean"){if(t)e.forever();else e.never();return}return e.using(()=>assertSimpleType(t()))}cacheFn.forever=(()=>e.forever());cacheFn.never=(()=>e.never());cacheFn.using=(t=>e.using(()=>assertSimpleType(t())));cacheFn.invalidate=(t=>e.invalidate(()=>assertSimpleType(t())));return cacheFn}function assertSimpleType(e){if((0,n.isThenable)(e)){throw new Error(`You appear to be using an async cache handler, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously handle your caching logic.`)}if(e!=null&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"){throw new Error("Cache keys must be either string, boolean, number, null, or undefined.")}return e}class Lock{constructor(){this.released=false;this.promise=void 0;this._resolve=void 0;this.promise=new Promise(e=>{this._resolve=e})}release(e){this.released=true;this._resolve(e)}}},78877:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPresetChain=buildPresetChain;t.buildRootChain=buildRootChain;t.buildPresetChainWalker=void 0;function _path(){const e=r(85622);_path=function(){return e};return e}function _debug(){const e=r(31185);_debug=function(){return e};return e}var n=r(379);var s=r(94753);var i=r(24703);var a=r(88433);var o=r(7676);var l=r(517);const u=_debug()("babel:config:config-chain");function*buildPresetChain(e,t){const r=yield*p(e,t);if(!r)return null;return{plugins:dedupDescriptors(r.plugins),presets:dedupDescriptors(r.presets),options:r.options.map(e=>normalizeOptions(e)),files:new Set}}const p=makeChainWalker({root:e=>f(e),env:(e,t)=>c(e)(t),overrides:(e,t)=>d(e)(t),overridesEnv:(e,t,r)=>y(e)(t)(r),createLogger:()=>()=>{}});t.buildPresetChainWalker=p;const f=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.alias,l.createUncachedDescriptors));const c=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const d=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const y=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(r=>buildOverrideEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t,r))));function*buildRootChain(e,t){let r,n;const s=new i.ConfigPrinter;const o=yield*S({options:e,dirname:t.cwd},t,undefined,s);if(!o)return null;const l=yield*s.output();let u;if(typeof e.configFile==="string"){u=yield*(0,a.loadConfig)(e.configFile,t.cwd,t.envName,t.caller)}else if(e.configFile!==false){u=yield*(0,a.findRootConfig)(t.root,t.envName,t.caller)}let{babelrc:p,babelrcRoots:f}=e;let c=t.cwd;const d=emptyChain();const y=new i.ConfigPrinter;if(u){const e=m(u);const n=yield*loadFileChain(e,t,undefined,y);if(!n)return null;r=yield*y.output();if(p===undefined){p=e.options.babelrc}if(f===undefined){c=e.dirname;f=e.options.babelrcRoots}mergeChain(d,n)}let h,b;let E=false;const g=emptyChain();if((p===true||p===undefined)&&typeof t.filename==="string"){const e=yield*(0,a.findPackageData)(t.filename);if(e&&babelrcLoadEnabled(t,e,f,c)){({ignore:h,config:b}=yield*(0,a.findRelativeConfig)(e,t.envName,t.caller));if(h){g.files.add(h.filepath)}if(h&&shouldIgnore(t,h.ignore,null,h.dirname)){E=true}if(b&&!E){const e=T(b);const r=new i.ConfigPrinter;const s=yield*loadFileChain(e,t,undefined,r);if(!s){E=true}else{n=yield*r.output();mergeChain(g,s)}}if(b&&E){g.files.add(b.filepath)}}}if(t.showConfig){console.log(`Babel configs on "${t.filename}" (ascending priority):\n`+[r,n,l].filter(e=>!!e).join("\n\n")+"\n-----End Babel configs-----")}const P=mergeChain(mergeChain(mergeChain(emptyChain(),d),g),o);return{plugins:E?[]:dedupDescriptors(P.plugins),presets:E?[]:dedupDescriptors(P.presets),options:E?[]:P.options.map(e=>normalizeOptions(e)),fileHandling:E?"ignored":"transpile",ignore:h||undefined,babelrc:b||undefined,config:u||undefined,files:P.files}}function babelrcLoadEnabled(e,t,r,n){if(typeof r==="boolean")return r;const i=e.root;if(r===undefined){return t.directories.indexOf(i)!==-1}let a=r;if(!Array.isArray(a)){a=[a]}a=a.map(e=>{return typeof e==="string"?_path().resolve(n,e):e});if(a.length===1&&a[0]===i){return t.directories.indexOf(i)!==-1}return a.some(r=>{if(typeof r==="string"){r=(0,s.default)(r,n)}return t.directories.some(t=>{return matchPattern(r,n,t,e)})})}const m=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("configfile",e.options)}));const T=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("babelrcfile",e.options)}));const h=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("extendsfile",e.options)}));const S=makeChainWalker({root:e=>buildRootDescriptors(e,"base",l.createCachedDescriptors),env:(e,t)=>buildEnvDescriptors(e,"base",l.createCachedDescriptors,t),overrides:(e,t)=>buildOverrideDescriptors(e,"base",l.createCachedDescriptors,t),overridesEnv:(e,t,r)=>buildOverrideEnvDescriptors(e,"base",l.createCachedDescriptors,t,r),createLogger:(e,t,r)=>buildProgrammaticLogger(e,t,r)});const b=makeChainWalker({root:e=>E(e),env:(e,t)=>g(e)(t),overrides:(e,t)=>P(e)(t),overridesEnv:(e,t,r)=>x(e)(t)(r),createLogger:(e,t,r)=>buildFileLogger(e.filepath,t,r)});function*loadFileChain(e,t,r,n){const s=yield*b(e,t,r,n);if(s){s.files.add(e.filepath)}return s}const E=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.filepath,l.createUncachedDescriptors));const g=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const P=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const x=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(r=>buildOverrideEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t,r))));function buildFileLogger(e,t,r){if(!r){return()=>{}}return r.configure(t.showConfig,i.ChainFormatter.Config,{filepath:e})}function buildRootDescriptors({dirname:e,options:t},r,n){return n(e,t,r)}function buildProgrammaticLogger(e,t,r){var n;if(!r){return()=>{}}return r.configure(t.showConfig,i.ChainFormatter.Programmatic,{callerName:(n=t.caller)==null?void 0:n.name})}function buildEnvDescriptors({dirname:e,options:t},r,n,s){const i=t.env&&t.env[s];return i?n(e,i,`${r}.env["${s}"]`):null}function buildOverrideDescriptors({dirname:e,options:t},r,n,s){const i=t.overrides&&t.overrides[s];if(!i)throw new Error("Assertion failure - missing override");return n(e,i,`${r}.overrides[${s}]`)}function buildOverrideEnvDescriptors({dirname:e,options:t},r,n,s,i){const a=t.overrides&&t.overrides[s];if(!a)throw new Error("Assertion failure - missing override");const o=a.env&&a.env[i];return o?n(e,o,`${r}.overrides[${s}].env["${i}"]`):null}function makeChainWalker({root:e,env:t,overrides:r,overridesEnv:n,createLogger:s}){return function*(i,a,o=new Set,l){const{dirname:u}=i;const p=[];const f=e(i);if(configIsApplicable(f,u,a)){p.push({config:f,envName:undefined,index:undefined});const e=t(i,a.envName);if(e&&configIsApplicable(e,u,a)){p.push({config:e,envName:a.envName,index:undefined})}(f.options.overrides||[]).forEach((e,t)=>{const s=r(i,t);if(configIsApplicable(s,u,a)){p.push({config:s,index:t,envName:undefined});const e=n(i,t,a.envName);if(e&&configIsApplicable(e,u,a)){p.push({config:e,index:t,envName:a.envName})}}})}if(p.some(({config:{options:{ignore:e,only:t}}})=>shouldIgnore(a,e,t,u))){return null}const c=emptyChain();const d=s(i,a,l);for(const{config:e,index:t,envName:r}of p){if(!(yield*mergeExtendsChain(c,e.options,u,a,o,l))){return null}d(e,t,r);yield*mergeChainOpts(c,e)}return c}}function*mergeExtendsChain(e,t,r,n,s,i){if(t.extends===undefined)return true;const o=yield*(0,a.loadConfig)(t.extends,r,n.envName,n.caller);if(s.has(o)){throw new Error(`Configuration cycle detected loading ${o.filepath}.\n`+`File already loaded following the config chain:\n`+Array.from(s,e=>` - ${e.filepath}`).join("\n"))}s.add(o);const l=yield*loadFileChain(h(o),n,s,i);s.delete(o);if(!l)return false;mergeChain(e,l);return true}function mergeChain(e,t){e.options.push(...t.options);e.plugins.push(...t.plugins);e.presets.push(...t.presets);for(const r of t.files){e.files.add(r)}return e}function*mergeChainOpts(e,{options:t,plugins:r,presets:n}){e.options.push(t);e.plugins.push(...yield*r());e.presets.push(...yield*n());return e}function emptyChain(){return{options:[],presets:[],plugins:[],files:new Set}}function normalizeOptions(e){const t=Object.assign({},e);delete t.extends;delete t.env;delete t.overrides;delete t.plugins;delete t.presets;delete t.passPerPreset;delete t.ignore;delete t.only;delete t.test;delete t.include;delete t.exclude;if(Object.prototype.hasOwnProperty.call(t,"sourceMap")){t.sourceMaps=t.sourceMap;delete t.sourceMap}return t}function dedupDescriptors(e){const t=new Map;const r=[];for(const n of e){if(typeof n.value==="function"){const e=n.value;let s=t.get(e);if(!s){s=new Map;t.set(e,s)}let i=s.get(n.name);if(!i){i={value:n};r.push(i);if(!n.ownPass)s.set(n.name,i)}else{i.value=n}}else{r.push({value:n})}}return r.reduce((e,t)=>{e.push(t.value);return e},[])}function configIsApplicable({options:e},t,r){return(e.test===undefined||configFieldIsApplicable(r,e.test,t))&&(e.include===undefined||configFieldIsApplicable(r,e.include,t))&&(e.exclude===undefined||!configFieldIsApplicable(r,e.exclude,t))}function configFieldIsApplicable(e,t,r){const n=Array.isArray(t)?t:[t];return matchesPatterns(e,n,r)}function shouldIgnore(e,t,r,n){if(t&&matchesPatterns(e,t,n)){var s;const r=`No config is applied to "${(s=e.filename)!=null?s:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(t)}\` from "${n}"`;u(r);if(e.showConfig){console.log(r)}return true}if(r&&!matchesPatterns(e,r,n)){var i;const t=`No config is applied to "${(i=e.filename)!=null?i:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(r)}\` from "${n}"`;u(t);if(e.showConfig){console.log(t)}return true}return false}function matchesPatterns(e,t,r){return t.some(t=>matchPattern(t,r,e.filename,e))}function matchPattern(e,t,r,n){if(typeof e==="function"){return!!e(r,{dirname:t,envName:n.envName,caller:n.caller})}if(typeof r!=="string"){throw new Error(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`)}if(typeof e==="string"){e=(0,s.default)(e,t)}return e.test(r)}},517:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createCachedDescriptors=createCachedDescriptors;t.createUncachedDescriptors=createUncachedDescriptors;t.createDescriptor=createDescriptor;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(88433);var s=r(45150);var i=r(7676);var a=r(95362);function isEqualDescriptor(e,t){return e.name===t.name&&e.value===t.value&&e.options===t.options&&e.dirname===t.dirname&&e.alias===t.alias&&e.ownPass===t.ownPass&&(e.file&&e.file.request)===(t.file&&t.file.request)&&(e.file&&e.file.resolved)===(t.file&&t.file.resolved)}function*handlerOf(e){return e}function optionsWithResolvedBrowserslistConfigFile(e,t){if(typeof e.browserslistConfigFile==="string"){e.browserslistConfigFile=(0,a.resolveBrowserslistConfigFile)(e.browserslistConfigFile,t)}return e}function createCachedDescriptors(e,t,r){const{plugins:n,presets:s,passPerPreset:i}=t;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),plugins:n?()=>p(n,e)(r):()=>handlerOf([]),presets:s?()=>l(s,e)(r)(!!i):()=>handlerOf([])}}function createUncachedDescriptors(e,t,r){let n;let s;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),*plugins(){if(!n){n=yield*createPluginDescriptors(t.plugins||[],e,r)}return n},*presets(){if(!s){s=yield*createPresetDescriptors(t.presets||[],e,r,!!t.passPerPreset)}return s}}}const o=new WeakMap;const l=(0,i.makeWeakCacheSync)((e,t)=>{const r=t.using(e=>e);return(0,i.makeStrongCacheSync)(t=>(0,i.makeStrongCache)(function*(n){const s=yield*createPresetDescriptors(e,r,t,n);return s.map(e=>loadCachedDescriptor(o,e))}))});const u=new WeakMap;const p=(0,i.makeWeakCacheSync)((e,t)=>{const r=t.using(e=>e);return(0,i.makeStrongCache)(function*(t){const n=yield*createPluginDescriptors(e,r,t);return n.map(e=>loadCachedDescriptor(u,e))})});const f={};function loadCachedDescriptor(e,t){const{value:r,options:n=f}=t;if(n===false)return t;let s=e.get(r);if(!s){s=new WeakMap;e.set(r,s)}let i=s.get(n);if(!i){i=[];s.set(n,i)}if(i.indexOf(t)===-1){const e=i.filter(e=>isEqualDescriptor(e,t));if(e.length>0){return e[0]}i.push(t)}return t}function*createPresetDescriptors(e,t,r,n){return yield*createDescriptors("preset",e,t,r,n)}function*createPluginDescriptors(e,t,r){return yield*createDescriptors("plugin",e,t,r)}function*createDescriptors(e,t,r,n,s){const i=yield*_gensync().all(t.map((t,i)=>createDescriptor(t,r,{type:e,alias:`${n}$${i}`,ownPass:!!s})));assertNoDuplicates(i);return i}function*createDescriptor(e,t,{type:r,alias:i,ownPass:a}){const o=(0,s.getItemDescriptor)(e);if(o){return o}let l;let u;let p=e;if(Array.isArray(p)){if(p.length===3){[p,u,l]=p}else{[p,u]=p}}let f=undefined;let c=null;if(typeof p==="string"){if(typeof r!=="string"){throw new Error("To resolve a string-based item, the type of item must be given")}const e=r==="plugin"?n.loadPlugin:n.loadPreset;const s=p;({filepath:c,value:p}=yield*e(p,t));f={request:s,resolved:c}}if(!p){throw new Error(`Unexpected falsy value: ${String(p)}`)}if(typeof p==="object"&&p.__esModule){if(p.default){p=p.default}else{throw new Error("Must export a default export when using ES6 modules.")}}if(typeof p!=="object"&&typeof p!=="function"){throw new Error(`Unsupported format: ${typeof p}. Expected an object or a function.`)}if(c!==null&&typeof p==="object"&&p){throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${c}`)}return{name:l,alias:c||i,value:p,options:u,dirname:t,ownPass:a,file:f}}function assertNoDuplicates(e){const t=new Map;for(const r of e){if(typeof r.value!=="function")continue;let n=t.get(r.value);if(!n){n=new Set;t.set(r.value,n)}if(n.has(r.name)){const t=e.filter(e=>e.value===r.value);throw new Error([`Duplicate plugin/preset detected.`,`If you'd like to use two separate instances of a plugin,`,`they need separate names, e.g.`,``,` plugins: [`,` ['some-plugin', {}],`,` ['some-plugin', {}, 'some unique name'],`,` ]`,``,`Duplicates detected are:`,`${JSON.stringify(t,null,2)}`].join("\n"))}n.add(r.name)}}},43704:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findConfigUpwards=findConfigUpwards;t.findRelativeConfig=findRelativeConfig;t.findRootConfig=findRootConfig;t.loadConfig=loadConfig;t.resolveShowConfigPath=resolveShowConfigPath;t.ROOT_CONFIG_FILENAMES=void 0;function _debug(){const e=r(31185);_debug=function(){return e};return e}function _fs(){const e=r(35747);_fs=function(){return e};return e}function _path(){const e=r(85622);_path=function(){return e};return e}function _json(){const e=r(33170);_json=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(7676);var s=r(61665);var i=r(69957);var a=r(96290);var o=r(94753);var l=r(8758);function _module(){const e=r(32282);_module=function(){return e};return e}const u=_debug()("babel:config:loading:files:configuration");const p=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json"];t.ROOT_CONFIG_FILENAMES=p;const f=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json"];const c=".babelignore";function findConfigUpwards(e){let t=e;for(;;){for(const e of p){if(_fs().existsSync(_path().join(t,e))){return t}}const e=_path().dirname(t);if(t===e)break;t=e}return null}function*findRelativeConfig(e,t,r){let n=null;let s=null;const i=_path().dirname(e.filepath);for(const o of e.directories){if(!n){var a;n=yield*loadOneConfig(f,o,t,r,((a=e.pkg)==null?void 0:a.dirname)===o?m(e.pkg):null)}if(!s){const e=_path().join(o,c);s=yield*h(e);if(s){u("Found ignore %o from %o.",s.filepath,i)}}}return{config:n,ignore:s}}function findRootConfig(e,t,r){return loadOneConfig(p,e,t,r)}function*loadOneConfig(e,t,r,n,s=null){const i=yield*_gensync().all(e.map(e=>readConfig(_path().join(t,e),r,n)));const a=i.reduce((e,r)=>{if(r&&e){throw new Error(`Multiple configuration files found. Please remove one:\n`+` - ${_path().basename(e.filepath)}\n`+` - ${r.filepath}\n`+`from ${t}`)}return r||e},s);if(a){u("Found configuration %o from %o.",a.filepath,t)}return a}function*loadConfig(e,t,n,s){const i=(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(e,{paths:[t]});const a=yield*readConfig(i,n,s);if(!a){throw new Error(`Config file ${i} contains no configuration data`)}u("Loaded config %o from %o.",e,t);return a}function readConfig(e,t,r){const n=_path().extname(e);return n===".js"||n===".cjs"||n===".mjs"?y(e,{envName:t,caller:r}):T(e)}const d=new Set;const y=(0,n.makeStrongCache)(function*readConfigJS(e,t){if(!_fs().existsSync(e)){t.never();return null}if(d.has(e)){t.never();u("Auto-ignoring usage of config %o.",e);return{filepath:e,dirname:_path().dirname(e),options:{}}}let r;try{d.add(e);r=yield*(0,a.default)(e,"You appear to be using a native ECMAScript module configuration "+"file, which is only supported when running Babel asynchronously.")}catch(t){t.message=`${e}: Error while loading config - ${t.message}`;throw t}finally{d.delete(e)}let n=false;if(typeof r==="function"){yield*[];r=r((0,s.makeConfigAPI)(t));n=true}if(!r||typeof r!=="object"||Array.isArray(r)){throw new Error(`${e}: Configuration should be an exported JavaScript object.`)}if(typeof r.then==="function"){throw new Error(`You appear to be using an async configuration, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously return your config.`)}if(n&&!t.configured())throwConfigError();return{filepath:e,dirname:_path().dirname(e),options:r}});const m=(0,n.makeWeakCacheSync)(e=>{const t=e.options["babel"];if(typeof t==="undefined")return null;if(typeof t!=="object"||Array.isArray(t)||t===null){throw new Error(`${e.filepath}: .babel property must be an object`)}return{filepath:e.filepath,dirname:e.dirname,options:t}});const T=(0,i.makeStaticFileCache)((e,t)=>{let r;try{r=_json().parse(t)}catch(t){t.message=`${e}: Error while parsing config - ${t.message}`;throw t}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new Error(`${e}: Config returned typeof ${typeof r}`)}if(Array.isArray(r)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:r}});const h=(0,i.makeStaticFileCache)((e,t)=>{const r=_path().dirname(e);const n=t.split("\n").map(e=>e.replace(/#(.*?)$/,"").trim()).filter(e=>!!e);for(const e of n){if(e[0]==="!"){throw new Error(`Negation of file paths is not supported.`)}}return{filepath:e,dirname:_path().dirname(e),ignore:n.map(e=>(0,o.default)(e,r))}});function*resolveShowConfigPath(e){const t=process.env.BABEL_SHOW_CONFIG_FOR;if(t!=null){const r=_path().resolve(e,t);const n=yield*l.stat(r);if(!n.isFile()){throw new Error(`${r}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`)}return r}return null}function throwConfigError(){throw new Error(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don't call this function again.\n api.cache(true);\n\n // Don't cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === "production");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};`)}},32409:(e,t,r)=>{"use strict";var n;n={value:true};t.Z=import_;function import_(e){return r(74884)(e)}},88433:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"findPackageData",{enumerable:true,get:function(){return n.findPackageData}});Object.defineProperty(t,"findConfigUpwards",{enumerable:true,get:function(){return s.findConfigUpwards}});Object.defineProperty(t,"findRelativeConfig",{enumerable:true,get:function(){return s.findRelativeConfig}});Object.defineProperty(t,"findRootConfig",{enumerable:true,get:function(){return s.findRootConfig}});Object.defineProperty(t,"loadConfig",{enumerable:true,get:function(){return s.loadConfig}});Object.defineProperty(t,"resolveShowConfigPath",{enumerable:true,get:function(){return s.resolveShowConfigPath}});Object.defineProperty(t,"ROOT_CONFIG_FILENAMES",{enumerable:true,get:function(){return s.ROOT_CONFIG_FILENAMES}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return i.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return i.resolvePreset}});Object.defineProperty(t,"loadPlugin",{enumerable:true,get:function(){return i.loadPlugin}});Object.defineProperty(t,"loadPreset",{enumerable:true,get:function(){return i.loadPreset}});var n=r(47470);var s=r(43704);var i=r(86094);({})},96290:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadCjsOrMjsDefault;var n=r(33655);function _path(){const e=r(85622);_path=function(){return e};return e}function _url(){const e=r(78835);_url=function(){return e};return e}function _module(){const e=r(32282);_module=function(){return e};return e}function asyncGeneratorStep(e,t,r,n,s,i,a){try{var o=e[i](a);var l=o.value}catch(e){r(e);return}if(o.done){t(l)}else{Promise.resolve(l).then(n,s)}}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise(function(n,s){var i=e.apply(t,r);function _next(e){asyncGeneratorStep(i,n,s,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(i,n,s,_next,_throw,"throw",e)}_next(undefined)})}}let s;try{s=r(32409).Z}catch(e){}function*loadCjsOrMjsDefault(e,t,r=false){switch(guessJSModuleType(e)){case"cjs":return loadCjsDefault(e,r);case"unknown":try{return loadCjsDefault(e,r)}catch(e){if(e.code!=="ERR_REQUIRE_ESM")throw e}case"mjs":if(yield*(0,n.isAsync)()){return yield*(0,n.waitFor)(loadMjsDefault(e))}throw new Error(t)}}function guessJSModuleType(e){switch(_path().extname(e)){case".cjs":return"cjs";case".mjs":return"mjs";default:return"unknown"}}function loadCjsDefault(e,t){const r=require(e);return r!=null&&r.__esModule?r.default||(t?r:undefined):r}function loadMjsDefault(e){return _loadMjsDefault.apply(this,arguments)}function _loadMjsDefault(){_loadMjsDefault=_asyncToGenerator(function*(e){if(!s){throw new Error("Internal error: Native ECMAScript modules aren't supported"+" by this platform.\n")}const t=yield s((0,_url().pathToFileURL)(e));return t.default});return _loadMjsDefault.apply(this,arguments)}},47470:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findPackageData=findPackageData;function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(69957);const s="package.json";function*findPackageData(e){let t=null;const r=[];let n=true;let a=_path().dirname(e);while(!t&&_path().basename(a)!=="node_modules"){r.push(a);t=yield*i(_path().join(a,s));const e=_path().dirname(a);if(a===e){n=false;break}a=e}return{filepath:e,directories:r,pkg:t,isPackage:n}}const i=(0,n.makeStaticFileCache)((e,t)=>{let r;try{r=JSON.parse(t)}catch(t){t.message=`${e}: Error while parsing JSON - ${t.message}`;throw t}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new Error(`${e}: Config returned typeof ${typeof r}`)}if(Array.isArray(r)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:r}})},86094:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolvePlugin=resolvePlugin;t.resolvePreset=resolvePreset;t.loadPlugin=loadPlugin;t.loadPreset=loadPreset;function _debug(){const e=r(31185);_debug=function(){return e};return e}function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(96290);function _module(){const e=r(32282);_module=function(){return e};return e}const s=_debug()("babel:config:loading:files:plugins");const i=/^module:/;const a=/^(?!@|module:|[^/]+\/|babel-plugin-)/;const o=/^(?!@|module:|[^/]+\/|babel-preset-)/;const l=/^(@babel\/)(?!plugin-|[^/]+\/)/;const u=/^(@babel\/)(?!preset-|[^/]+\/)/;const p=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/;const f=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/;const c=/^(@(?!babel$)[^/]+)$/;function resolvePlugin(e,t){return resolveStandardizedName("plugin",e,t)}function resolvePreset(e,t){return resolveStandardizedName("preset",e,t)}function*loadPlugin(e,t){const r=resolvePlugin(e,t);if(!r){throw new Error(`Plugin ${e} not found relative to ${t}`)}const n=yield*requireModule("plugin",r);s("Loaded plugin %o from %o.",e,t);return{filepath:r,value:n}}function*loadPreset(e,t){const r=resolvePreset(e,t);if(!r){throw new Error(`Preset ${e} not found relative to ${t}`)}const n=yield*requireModule("preset",r);s("Loaded preset %o from %o.",e,t);return{filepath:r,value:n}}function standardizeName(e,t){if(_path().isAbsolute(t))return t;const r=e==="preset";return t.replace(r?o:a,`babel-${e}-`).replace(r?u:l,`$1${e}-`).replace(r?f:p,`$1babel-${e}-`).replace(c,`$1/babel-${e}`).replace(i,"")}function resolveStandardizedName(e,t,n=process.cwd()){const s=standardizeName(e,t);try{return(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(s,{paths:[n]})}catch(i){if(i.code!=="MODULE_NOT_FOUND")throw i;if(s!==t){let e=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(t,{paths:[n]});e=true}catch(e){}if(e){i.message+=`\n- If you want to resolve "${t}", use "module:${t}"`}}let a=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(standardizeName(e,"@babel/"+t),{paths:[n]});a=true}catch(e){}if(a){i.message+=`\n- Did you mean "@babel/${t}"?`}let o=false;const l=e==="preset"?"plugin":"preset";try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(standardizeName(l,t),{paths:[n]});o=true}catch(e){}if(o){i.message+=`\n- Did you accidentally pass a ${l} as a ${e}?`}throw i}}const d=new Set;function*requireModule(e,t){if(d.has(t)){throw new Error(`Reentrant ${e} detected trying to load "${t}". This module is not ignored `+"and is trying to load itself while compiling itself, leading to a dependency cycle. "+'We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.')}try{d.add(t);return yield*(0,n.default)(t,`You appear to be using a native ECMAScript module ${e}, `+"which is only supported when running Babel asynchronously.",true)}catch(e){e.message=`[BABEL]: ${e.message} (While processing: ${t})`;throw e}finally{d.delete(t)}}},69957:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeStaticFileCache=makeStaticFileCache;var n=r(7676);var s=r(8758);function _fs2(){const e=r(35747);_fs2=function(){return e};return e}function makeStaticFileCache(e){return(0,n.makeStrongCache)(function*(t,r){const n=r.invalidate(()=>fileMtime(t));if(n===null){return null}return e(t,yield*s.readFile(t,"utf8"))})}function fileMtime(e){if(!_fs2().existsSync(e))return null;try{return+_fs2().statSync(e).mtime}catch(e){if(e.code!=="ENOENT"&&e.code!=="ENOTDIR")throw e}return null}},90810:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(33655);var s=r(25529);var i=r(39652);var a=r(37481);var o=r(45150);var l=r(78877);function _traverse(){const e=r(4267);_traverse=function(){return e};return e}var u=r(7676);var p=r(379);var f=r(1917);var c=r(61665);var d=r(47916);var y=r(52393);var m=_gensync()(function*loadFullConfig(e){var t;const r=yield*(0,d.default)(e);if(!r){return null}const{options:n,context:i,fileHandling:a}=r;if(a==="ignored"){return null}const l={};const{plugins:u,presets:f}=n;if(!u||!f){throw new Error("Assertion failure - plugins and presets exist")}const c=Object.assign({},i,{targets:n.targets});const y=e=>{const t=(0,o.getItemDescriptor)(e);if(!t){throw new Error("Assertion failure - must be config item")}return t};const m=f.map(y);const T=u.map(y);const h=[[]];const S=[];const b=yield*enhanceError(i,function*recursePresetDescriptors(e,t){const r=[];for(let n=0;n0){h.splice(1,0,...r.map(e=>e.pass).filter(e=>e!==t));for(const{preset:e,pass:t}of r){if(!e)return true;t.push(...e.plugins);const r=yield*recursePresetDescriptors(e.presets,t);if(r)return true;e.options.forEach(e=>{(0,s.mergeOptions)(l,e)})}}})(m,h[0]);if(b)return null;const E=l;(0,s.mergeOptions)(E,n);const g=Object.assign({},c,{assumptions:(t=E.assumptions)!=null?t:{}});yield*enhanceError(i,function*loadPluginDescriptors(){h[0].unshift(...T);for(const e of h){const t=[];S.push(t);for(let r=0;re.length>0).map(e=>({plugins:e}));E.passPerPreset=E.presets.length>0;return{options:E,passes:S}});t.default=m;function enhanceError(e,t){return function*(r,n){try{return yield*t(r,n)}catch(t){if(!/^\[BABEL\]/.test(t.message)){t.message=`[BABEL] ${e.filename||"unknown"}: ${t.message}`}throw t}}}const T=e=>(0,u.makeWeakCache)(function*({value:t,options:r,dirname:s,alias:a},o){if(r===false)throw new Error("Assertion failure");r=r||{};let l=t;if(typeof t==="function"){const u=(0,n.maybeAsync)(t,`You appear to be using an async plugin/preset, but Babel has been called synchronously`);const p=Object.assign({},i,e(o));try{l=yield*u(p,r,s)}catch(e){if(a){e.message+=` (While processing: ${JSON.stringify(a)})`}throw e}}if(!l||typeof l!=="object"){throw new Error("Plugin/Preset did not return an object.")}if((0,n.isThenable)(l)){yield*[];throw new Error(`You appear to be using a promise as a plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version. `+`As an alternative, you can prefix the promise with "await". `+`(While processing: ${JSON.stringify(a)})`)}return{value:l,options:r,dirname:s,alias:a}});const h=T(c.makePluginAPI);const S=T(c.makePresetAPI);function*loadPluginDescriptor(e,t){if(e.value instanceof a.default){if(e.options){throw new Error("Passed options to an existing Plugin instance will not work.")}return e.value}return yield*b(yield*h(e,t),t)}const b=(0,u.makeWeakCache)(function*({value:e,options:t,dirname:r,alias:s},i){const o=(0,f.validatePluginObject)(e);const l=Object.assign({},o);if(l.visitor){l.visitor=_traverse().default.explode(Object.assign({},l.visitor))}if(l.inherits){const e={name:undefined,alias:`${s}$inherits`,value:l.inherits,options:t,dirname:r};const a=yield*(0,n.forwardAsync)(loadPluginDescriptor,t=>{return i.invalidate(r=>t(e,r))});l.pre=chain(a.pre,l.pre);l.post=chain(a.post,l.post);l.manipulateOptions=chain(a.manipulateOptions,l.manipulateOptions);l.visitor=_traverse().default.visitors.merge([a.visitor||{},l.visitor||{}])}return new a.default(l,t,s)});const E=(e,t)=>{if(e.test||e.include||e.exclude){const e=t.name?`"${t.name}"`:"/* your preset */";throw new Error([`Preset ${e} requires a filename to be set when babel is called directly,`,`\`\`\``,`babel.transform(code, { filename: 'file.ts', presets: [${e}] });`,`\`\`\``,`See https://babeljs.io/docs/en/options#filename for more information.`].join("\n"))}};const g=(e,t,r)=>{if(!t.filename){const{options:t}=e;E(t,r);if(t.overrides){t.overrides.forEach(e=>E(e,r))}}};function*loadPresetDescriptor(e,t){const r=P(yield*S(e,t));g(r,t,e);return yield*(0,l.buildPresetChain)(r,t)}const P=(0,u.makeWeakCacheSync)(({value:e,dirname:t,alias:r})=>{return{options:(0,p.validate)("preset",e),alias:r,dirname:t}});function chain(e,t){const r=[e,t].filter(Boolean);if(r.length<=1)return r[0];return function(...e){for(const t of r){t.apply(this,e)}}}},61665:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeConfigAPI=makeConfigAPI;t.makePresetAPI=makePresetAPI;t.makePluginAPI=makePluginAPI;function _semver(){const e=r(62519);_semver=function(){return e};return e}var n=r(39652);var s=r(7676);var i=r(52393);function makeConfigAPI(e){const t=t=>e.using(e=>{if(typeof t==="undefined")return e.envName;if(typeof t==="function"){return(0,s.assertSimpleType)(t(e.envName))}if(!Array.isArray(t))t=[t];return t.some(t=>{if(typeof t!=="string"){throw new Error("Unexpected non-string value")}return t===e.envName})});const r=t=>e.using(e=>(0,s.assertSimpleType)(t(e.caller)));return{version:n.version,cache:e.simple(),env:t,async:()=>false,caller:r,assertVersion:assertVersion}}function makePresetAPI(e){const t=()=>JSON.parse(e.using(e=>JSON.stringify(e.targets)));return Object.assign({},makeConfigAPI(e),{targets:t})}function makePluginAPI(e){const t=t=>e.using(e=>e.assumptions[t]);return Object.assign({},makePresetAPI(e),{assumption:t})}function assertVersion(e){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}if(_semver().satisfies(n.version,e))return;const t=Error.stackTraceLimit;if(typeof t==="number"&&t<25){Error.stackTraceLimit=25}const r=new Error(`Requires Babel "${e}", but was loaded with "${n.version}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`);if(typeof t==="number"){Error.stackTraceLimit=t}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:n.version,range:e})}},67794:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getEnv=getEnv;function getEnv(e="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||e}},21146:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createConfigItem=createConfigItem;Object.defineProperty(t,"default",{enumerable:true,get:function(){return n.default}});t.createConfigItemAsync=t.createConfigItemSync=t.loadOptionsAsync=t.loadOptionsSync=t.loadOptions=t.loadPartialConfigAsync=t.loadPartialConfigSync=t.loadPartialConfig=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(90810);var s=r(47916);var i=r(45150);const a=_gensync()(function*(e){var t;const r=yield*(0,n.default)(e);return(t=r==null?void 0:r.options)!=null?t:null});const o=_gensync()(i.createConfigItem);const l=e=>(t,r)=>{if(r===undefined&&typeof t==="function"){r=t;t=undefined}return r?e.errback(t,r):e.sync(t)};const u=l(s.loadPartialConfig);t.loadPartialConfig=u;const p=s.loadPartialConfig.sync;t.loadPartialConfigSync=p;const f=s.loadPartialConfig.async;t.loadPartialConfigAsync=f;const c=l(a);t.loadOptions=c;const d=a.sync;t.loadOptionsSync=d;const y=a.async;t.loadOptionsAsync=y;const m=o.sync;t.createConfigItemSync=m;const T=o.async;t.createConfigItemAsync=T;function createConfigItem(e,t,r){if(r!==undefined){return o.errback(e,t,r)}else if(typeof t==="function"){return o.errback(e,undefined,r)}else{return o.sync(e,t)}}},45150:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createItemFromDescriptor=createItemFromDescriptor;t.createConfigItem=createConfigItem;t.getItemDescriptor=getItemDescriptor;function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(517);function createItemFromDescriptor(e){return new ConfigItem(e)}function*createConfigItem(e,{dirname:t=".",type:r}={}){const s=yield*(0,n.createDescriptor)(e,_path().resolve(t),{type:r,alias:"programmatic item"});return createItemFromDescriptor(s)}function getItemDescriptor(e){if(e!=null&&e[s]){return e._descriptor}return undefined}const s=Symbol.for("@babel/core@7 - ConfigItem");class ConfigItem{constructor(e){this._descriptor=void 0;this[s]=true;this.value=void 0;this.options=void 0;this.dirname=void 0;this.name=void 0;this.file=void 0;this._descriptor=e;Object.defineProperty(this,"_descriptor",{enumerable:false});Object.defineProperty(this,s,{enumerable:false});this.value=this._descriptor.value;this.options=this._descriptor.options;this.dirname=this._descriptor.dirname;this.name=this._descriptor.name;this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:undefined;Object.freeze(this)}}Object.freeze(ConfigItem.prototype)},47916:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadPrivatePartialConfig;t.loadPartialConfig=void 0;function _path(){const e=r(85622);_path=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(37481);var s=r(25529);var i=r(45150);var a=r(78877);var o=r(67794);var l=r(379);var u=r(88433);var p=r(95362);const f=["showIgnoredFiles"];function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var s,i;for(i=0;i=0)continue;r[s]=e[s]}return r}function resolveRootMode(e,t){switch(t){case"root":return e;case"upward-optional":{const t=(0,u.findConfigUpwards)(e);return t===null?e:t}case"upward":{const t=(0,u.findConfigUpwards)(e);if(t!==null)return t;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not `+`be found when searching upward from "${e}".\n`+`One of the following config files must be in the directory tree: `+`"${u.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error(`Assertion failure - unknown rootMode value.`)}}function*loadPrivatePartialConfig(e){if(e!=null&&(typeof e!=="object"||Array.isArray(e))){throw new Error("Babel options must be an object, null, or undefined")}const t=e?(0,l.validate)("arguments",e):{};const{envName:r=(0,o.getEnv)(),cwd:n=".",root:f=".",rootMode:c="root",caller:d,cloneInputAst:y=true}=t;const m=_path().resolve(n);const T=resolveRootMode(_path().resolve(m,f),c);const h=typeof t.filename==="string"?_path().resolve(n,t.filename):undefined;const S=yield*(0,u.resolveShowConfigPath)(m);const b={filename:h,cwd:m,root:T,envName:r,caller:d,showConfig:S===h};const E=yield*(0,a.buildRootChain)(t,b);if(!E)return null;const g={assumptions:{}};E.options.forEach(e=>{(0,s.mergeOptions)(g,e)});const P=Object.assign({},g,{targets:(0,p.resolveTargets)(g,T),cloneInputAst:y,babelrc:false,configFile:false,browserslistConfigFile:false,passPerPreset:false,envName:b.envName,cwd:b.cwd,root:b.root,rootMode:"root",filename:typeof b.filename==="string"?b.filename:undefined,plugins:E.plugins.map(e=>(0,i.createItemFromDescriptor)(e)),presets:E.presets.map(e=>(0,i.createItemFromDescriptor)(e))});return{options:P,context:b,fileHandling:E.fileHandling,ignore:E.ignore,babelrc:E.babelrc,config:E.config,files:E.files}}const c=_gensync()(function*(e){let t=false;if(typeof e==="object"&&e!==null&&!Array.isArray(e)){var r=e;({showIgnoredFiles:t}=r);e=_objectWithoutPropertiesLoose(r,f);r}const s=yield*loadPrivatePartialConfig(e);if(!s)return null;const{options:i,babelrc:a,ignore:o,config:l,fileHandling:u,files:p}=s;if(u==="ignored"&&!t){return null}(i.plugins||[]).forEach(e=>{if(e.value instanceof n.default){throw new Error("Passing cached plugin instances is not supported in "+"babel.loadPartialConfig()")}});return new PartialConfig(i,a?a.filepath:undefined,o?o.filepath:undefined,l?l.filepath:undefined,u,p)});t.loadPartialConfig=c;class PartialConfig{constructor(e,t,r,n,s,i){this.options=void 0;this.babelrc=void 0;this.babelignore=void 0;this.config=void 0;this.fileHandling=void 0;this.files=void 0;this.options=e;this.babelignore=r;this.babelrc=t;this.config=n;this.fileHandling=s;this.files=i;Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==undefined||this.config!==undefined}}Object.freeze(PartialConfig.prototype)},94753:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=pathToPattern;function _path(){const e=r(85622);_path=function(){return e};return e}const n=`\\${_path().sep}`;const s=`(?:${n}|$)`;const i=`[^${n}]+`;const a=`(?:${i}${n})`;const o=`(?:${i}${s})`;const l=`${a}*?`;const u=`${a}*?${o}?`;function escapeRegExp(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}function pathToPattern(e,t){const r=_path().resolve(t,e).split(_path().sep);return new RegExp(["^",...r.map((e,t)=>{const p=t===r.length-1;if(e==="**")return p?u:l;if(e==="*")return p?o:a;if(e.indexOf("*.")===0){return i+escapeRegExp(e.slice(1))+(p?s:n)}return escapeRegExp(e)+(p?s:n)})].join(""))}},37481:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Plugin{constructor(e,t,r){this.key=void 0;this.manipulateOptions=void 0;this.post=void 0;this.pre=void 0;this.visitor=void 0;this.parserOverride=void 0;this.generatorOverride=void 0;this.options=void 0;this.key=e.name||r;this.manipulateOptions=e.manipulateOptions;this.post=e.post;this.pre=e.pre;this.visitor=e.visitor||{};this.parserOverride=e.parserOverride;this.generatorOverride=e.generatorOverride;this.options=t}}t.default=Plugin},24703:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConfigPrinter=t.ChainFormatter=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n={Programmatic:0,Config:1};t.ChainFormatter=n;const s={title(e,t,r){let s="";if(e===n.Programmatic){s="programmatic options";if(t){s+=" from "+t}}else{s="config "+r}return s},loc(e,t){let r="";if(e!=null){r+=`.overrides[${e}]`}if(t!=null){r+=`.env["${t}"]`}return r},*optionsAndDescriptors(e){const t=Object.assign({},e.options);delete t.overrides;delete t.env;const r=[...yield*e.plugins()];if(r.length){t.plugins=r.map(e=>descriptorToConfig(e))}const n=[...yield*e.presets()];if(n.length){t.presets=[...n].map(e=>descriptorToConfig(e))}return JSON.stringify(t,undefined,2)}};function descriptorToConfig(e){var t;let r=(t=e.file)==null?void 0:t.request;if(r==null){if(typeof e.value==="object"){r=e.value}else if(typeof e.value==="function"){r=`[Function: ${e.value.toString().substr(0,50)} ... ]`}}if(r==null){r="[Unknown]"}if(e.options===undefined){return r}else if(e.name==null){return[r,e.options]}else{return[r,e.options,e.name]}}class ConfigPrinter{constructor(){this._stack=[]}configure(e,t,{callerName:r,filepath:n}){if(!e)return()=>{};return(e,s,i)=>{this._stack.push({type:t,callerName:r,filepath:n,content:e,index:s,envName:i})}}static*format(e){let t=s.title(e.type,e.callerName,e.filepath);const r=s.loc(e.index,e.envName);if(r)t+=` ${r}`;const n=yield*s.optionsAndDescriptors(e.content);return`${t}\n${n}`}*output(){if(this._stack.length===0)return"";const e=yield*_gensync().all(this._stack.map(e=>ConfigPrinter.format(e)));return e.join("\n\n")}}t.ConfigPrinter=ConfigPrinter},95362:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveBrowserslistConfigFile=resolveBrowserslistConfigFile;t.resolveTargets=resolveTargets;function _path(){const e=r(85622);_path=function(){return e};return e}function _helperCompilationTargets(){const e=r(55937);_helperCompilationTargets=function(){return e};return e}({});function resolveBrowserslistConfigFile(e,t){return _path().resolve(t,e)}function resolveTargets(e,t){let r=e.targets;if(typeof r==="string"||Array.isArray(r)){r={browsers:r}}if(r&&r.esmodules){r=Object.assign({},r,{esmodules:"intersect"})}const{browserslistConfigFile:n}=e;let s;let i=false;if(typeof n==="string"){s=n}else{i=n===false}return(0,_helperCompilationTargets().default)(r,{ignoreBrowserslistConfig:i,configFile:s,configPath:t,browserslistEnv:e.browserslistEnv})}},25529:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.mergeOptions=mergeOptions;t.isIterableIterator=isIterableIterator;function mergeOptions(e,t){for(const r of Object.keys(t)){if((r==="parserOpts"||r==="generatorOpts"||r==="assumptions")&&t[r]){const n=t[r];const s=e[r]||(e[r]={});mergeDefaultFields(s,n)}else{const n=t[r];if(n!==undefined)e[r]=n}}}function mergeDefaultFields(e,t){for(const r of Object.keys(t)){const n=t[r];if(n!==undefined)e[r]=n}}function isIterableIterator(e){return!!e&&typeof e.next==="function"&&typeof e[Symbol.iterator]==="function"}},15309:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.msg=msg;t.access=access;t.assertRootMode=assertRootMode;t.assertSourceMaps=assertSourceMaps;t.assertCompact=assertCompact;t.assertSourceType=assertSourceType;t.assertCallerMetadata=assertCallerMetadata;t.assertInputSourceMap=assertInputSourceMap;t.assertString=assertString;t.assertFunction=assertFunction;t.assertBoolean=assertBoolean;t.assertObject=assertObject;t.assertArray=assertArray;t.assertIgnoreList=assertIgnoreList;t.assertConfigApplicableTest=assertConfigApplicableTest;t.assertConfigFileSearch=assertConfigFileSearch;t.assertBabelrcSearch=assertBabelrcSearch;t.assertPluginList=assertPluginList;t.assertTargets=assertTargets;t.assertAssumptions=assertAssumptions;function _helperCompilationTargets(){const e=r(55937);_helperCompilationTargets=function(){return e};return e}var n=r(379);function msg(e){switch(e.type){case"root":return``;case"env":return`${msg(e.parent)}.env["${e.name}"]`;case"overrides":return`${msg(e.parent)}.overrides[${e.index}]`;case"option":return`${msg(e.parent)}.${e.name}`;case"access":return`${msg(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${e.type}`)}}function access(e,t){return{type:"access",name:t,parent:e}}function assertRootMode(e,t){if(t!==undefined&&t!=="root"&&t!=="upward"&&t!=="upward-optional"){throw new Error(`${msg(e)} must be a "root", "upward", "upward-optional" or undefined`)}return t}function assertSourceMaps(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="inline"&&t!=="both"){throw new Error(`${msg(e)} must be a boolean, "inline", "both", or undefined`)}return t}function assertCompact(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="auto"){throw new Error(`${msg(e)} must be a boolean, "auto", or undefined`)}return t}function assertSourceType(e,t){if(t!==undefined&&t!=="module"&&t!=="script"&&t!=="unambiguous"){throw new Error(`${msg(e)} must be "module", "script", "unambiguous", or undefined`)}return t}function assertCallerMetadata(e,t){const r=assertObject(e,t);if(r){if(typeof r.name!=="string"){throw new Error(`${msg(e)} set but does not contain "name" property string`)}for(const t of Object.keys(r)){const n=access(e,t);const s=r[t];if(s!=null&&typeof s!=="boolean"&&typeof s!=="string"&&typeof s!=="number"){throw new Error(`${msg(n)} must be null, undefined, a boolean, a string, or a number.`)}}}return t}function assertInputSourceMap(e,t){if(t!==undefined&&typeof t!=="boolean"&&(typeof t!=="object"||!t)){throw new Error(`${msg(e)} must be a boolean, object, or undefined`)}return t}function assertString(e,t){if(t!==undefined&&typeof t!=="string"){throw new Error(`${msg(e)} must be a string, or undefined`)}return t}function assertFunction(e,t){if(t!==undefined&&typeof t!=="function"){throw new Error(`${msg(e)} must be a function, or undefined`)}return t}function assertBoolean(e,t){if(t!==undefined&&typeof t!=="boolean"){throw new Error(`${msg(e)} must be a boolean, or undefined`)}return t}function assertObject(e,t){if(t!==undefined&&(typeof t!=="object"||Array.isArray(t)||!t)){throw new Error(`${msg(e)} must be an object, or undefined`)}return t}function assertArray(e,t){if(t!=null&&!Array.isArray(t)){throw new Error(`${msg(e)} must be an array, or undefined`)}return t}function assertIgnoreList(e,t){const r=assertArray(e,t);if(r){r.forEach((t,r)=>assertIgnoreItem(access(e,r),t))}return r}function assertIgnoreItem(e,t){if(typeof t!=="string"&&typeof t!=="function"&&!(t instanceof RegExp)){throw new Error(`${msg(e)} must be an array of string/Function/RegExp values, or undefined`)}return t}function assertConfigApplicableTest(e,t){if(t===undefined)return t;if(Array.isArray(t)){t.forEach((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a string/Function/RegExp, or an array of those`)}return t}function checkValidTest(e){return typeof e==="string"||typeof e==="function"||e instanceof RegExp}function assertConfigFileSearch(e,t){if(t!==undefined&&typeof t!=="boolean"&&typeof t!=="string"){throw new Error(`${msg(e)} must be a undefined, a boolean, a string, `+`got ${JSON.stringify(t)}`)}return t}function assertBabelrcSearch(e,t){if(t===undefined||typeof t==="boolean")return t;if(Array.isArray(t)){t.forEach((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a undefined, a boolean, a string/Function/RegExp `+`or an array of those, got ${JSON.stringify(t)}`)}return t}function assertPluginList(e,t){const r=assertArray(e,t);if(r){r.forEach((t,r)=>assertPluginItem(access(e,r),t))}return r}function assertPluginItem(e,t){if(Array.isArray(t)){if(t.length===0){throw new Error(`${msg(e)} must include an object`)}if(t.length>3){throw new Error(`${msg(e)} may only be a two-tuple or three-tuple`)}assertPluginTarget(access(e,0),t[0]);if(t.length>1){const r=t[1];if(r!==undefined&&r!==false&&(typeof r!=="object"||Array.isArray(r)||r===null)){throw new Error(`${msg(access(e,1))} must be an object, false, or undefined`)}}if(t.length===3){const r=t[2];if(r!==undefined&&typeof r!=="string"){throw new Error(`${msg(access(e,2))} must be a string, or undefined`)}}}else{assertPluginTarget(e,t)}return t}function assertPluginTarget(e,t){if((typeof t!=="object"||!t)&&typeof t!=="string"&&typeof t!=="function"){throw new Error(`${msg(e)} must be a string, object, function`)}return t}function assertTargets(e,t){if((0,_helperCompilationTargets().isBrowsersQueryValid)(t))return t;if(typeof t!=="object"||!t||Array.isArray(t)){throw new Error(`${msg(e)} must be a string, an array of strings or an object`)}const r=access(e,"browsers");const n=access(e,"esmodules");assertBrowsersList(r,t.browsers);assertBoolean(n,t.esmodules);for(const r of Object.keys(t)){const n=t[r];const s=access(e,r);if(r==="esmodules")assertBoolean(s,n);else if(r==="browsers")assertBrowsersList(s,n);else if(!Object.hasOwnProperty.call(_helperCompilationTargets().TargetNames,r)){const e=Object.keys(_helperCompilationTargets().TargetNames).join(", ");throw new Error(`${msg(s)} is not a valid target. Supported targets are ${e}`)}else assertBrowserVersion(s,n)}return t}function assertBrowsersList(e,t){if(t!==undefined&&!(0,_helperCompilationTargets().isBrowsersQueryValid)(t)){throw new Error(`${msg(e)} must be undefined, a string or an array of strings`)}}function assertBrowserVersion(e,t){if(typeof t==="number"&&Math.round(t)===t)return;if(typeof t==="string")return;throw new Error(`${msg(e)} must be a string or an integer number`)}function assertAssumptions(e,t){if(t===undefined)return;if(typeof t!=="object"||t===null){throw new Error(`${msg(e)} must be an object or undefined.`)}let r=e;do{r=r.parent}while(r.type!=="root");const s=r.source==="preset";for(const r of Object.keys(t)){const i=access(e,r);if(!n.assumptionsNames.has(r)){throw new Error(`${msg(i)} is not a supported assumption.`)}if(typeof t[r]!=="boolean"){throw new Error(`${msg(i)} must be a boolean.`)}if(s&&t[r]===false){throw new Error(`${msg(i)} cannot be set to 'false' inside presets.`)}}return t}},379:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.checkNoUnwrappedItemOptionPairs=checkNoUnwrappedItemOptionPairs;t.assumptionsNames=void 0;var n=r(37481);var s=r(4517);var i=r(15309);const a={cwd:i.assertString,root:i.assertString,rootMode:i.assertRootMode,configFile:i.assertConfigFileSearch,caller:i.assertCallerMetadata,filename:i.assertString,filenameRelative:i.assertString,code:i.assertBoolean,ast:i.assertBoolean,cloneInputAst:i.assertBoolean,envName:i.assertString};const o={babelrc:i.assertBoolean,babelrcRoots:i.assertBabelrcSearch};const l={extends:i.assertString,ignore:i.assertIgnoreList,only:i.assertIgnoreList,targets:i.assertTargets,browserslistConfigFile:i.assertConfigFileSearch,browserslistEnv:i.assertString};const u={inputSourceMap:i.assertInputSourceMap,presets:i.assertPluginList,plugins:i.assertPluginList,passPerPreset:i.assertBoolean,assumptions:i.assertAssumptions,env:assertEnvSet,overrides:assertOverridesList,test:i.assertConfigApplicableTest,include:i.assertConfigApplicableTest,exclude:i.assertConfigApplicableTest,retainLines:i.assertBoolean,comments:i.assertBoolean,shouldPrintComment:i.assertFunction,compact:i.assertCompact,minified:i.assertBoolean,auxiliaryCommentBefore:i.assertString,auxiliaryCommentAfter:i.assertString,sourceType:i.assertSourceType,wrapPluginVisitorMethod:i.assertFunction,highlightCode:i.assertBoolean,sourceMaps:i.assertSourceMaps,sourceMap:i.assertSourceMaps,sourceFileName:i.assertString,sourceRoot:i.assertString,parserOpts:i.assertObject,generatorOpts:i.assertObject};{Object.assign(u,{getModuleId:i.assertFunction,moduleRoot:i.assertString,moduleIds:i.assertBoolean,moduleId:i.assertString})}const p=new Set(["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noIncompleteNsImportDetection","noNewArrows","objectRestNoSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"]);t.assumptionsNames=p;function getSource(e){return e.type==="root"?e.source:getSource(e.parent)}function validate(e,t){return validateNested({type:"root",source:e},t)}function validateNested(e,t){const r=getSource(e);assertNoDuplicateSourcemap(t);Object.keys(t).forEach(n=>{const s={type:"option",name:n,parent:e};if(r==="preset"&&l[n]){throw new Error(`${(0,i.msg)(s)} is not allowed in preset options`)}if(r!=="arguments"&&a[n]){throw new Error(`${(0,i.msg)(s)} is only allowed in root programmatic options`)}if(r!=="arguments"&&r!=="configfile"&&o[n]){if(r==="babelrcfile"||r==="extendsfile"){throw new Error(`${(0,i.msg)(s)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, `+`or babel.config.js/config file options`)}throw new Error(`${(0,i.msg)(s)} is only allowed in root programmatic options, or babel.config.js/config file options`)}const p=u[n]||l[n]||o[n]||a[n]||throwUnknownError;p(s,t[n])});return t}function throwUnknownError(e){const t=e.name;if(s.default[t]){const{message:r,version:n=5}=s.default[t];throw new Error(`Using removed Babel ${n} option: ${(0,i.msg)(e)} - ${r}`)}else{const t=new Error(`Unknown option: ${(0,i.msg)(e)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);t.code="BABEL_UNKNOWN_OPTION";throw t}}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function assertNoDuplicateSourcemap(e){if(has(e,"sourceMap")&&has(e,"sourceMaps")){throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}}function assertEnvSet(e,t){if(e.parent.type==="env"){throw new Error(`${(0,i.msg)(e)} is not allowed inside of another .env block`)}const r=e.parent;const n=(0,i.assertObject)(e,t);if(n){for(const t of Object.keys(n)){const s=(0,i.assertObject)((0,i.access)(e,t),n[t]);if(!s)continue;const a={type:"env",name:t,parent:r};validateNested(a,s)}}return n}function assertOverridesList(e,t){if(e.parent.type==="env"){throw new Error(`${(0,i.msg)(e)} is not allowed inside an .env block`)}if(e.parent.type==="overrides"){throw new Error(`${(0,i.msg)(e)} is not allowed inside an .overrides block`)}const r=e.parent;const n=(0,i.assertArray)(e,t);if(n){for(const[t,s]of n.entries()){const n=(0,i.access)(e,t);const a=(0,i.assertObject)(n,s);if(!a)throw new Error(`${(0,i.msg)(n)} must be an object`);const o={type:"overrides",index:t,parent:r};validateNested(o,a)}}return n}function checkNoUnwrappedItemOptionPairs(e,t,r,n){if(t===0)return;const s=e[t-1];const i=e[t];if(s.file&&s.options===undefined&&typeof i.value==="object"){n.message+=`\n- Maybe you meant to use\n`+`"${r}s": [\n ["${s.file.request}", ${JSON.stringify(i.value,undefined,2)}]\n]\n`+`To be a valid ${r}, its name and options should be wrapped in a pair of brackets`}}},1917:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validatePluginObject=validatePluginObject;var n=r(15309);const s={name:n.assertString,manipulateOptions:n.assertFunction,pre:n.assertFunction,post:n.assertFunction,inherits:n.assertFunction,visitor:assertVisitorMap,parserOverride:n.assertFunction,generatorOverride:n.assertFunction};function assertVisitorMap(e,t){const r=(0,n.assertObject)(e,t);if(r){Object.keys(r).forEach(e=>assertVisitorHandler(e,r[e]));if(r.enter||r.exit){throw new Error(`${(0,n.msg)(e)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`)}}return r}function assertVisitorHandler(e,t){if(t&&typeof t==="object"){Object.keys(t).forEach(t=>{if(t!=="enter"&&t!=="exit"){throw new Error(`.visitor["${e}"] may only have .enter and/or .exit handlers.`)}})}else if(typeof t!=="function"){throw new Error(`.visitor["${e}"] must be a function`)}return t}function validatePluginObject(e){const t={type:"root",source:"plugin"};Object.keys(e).forEach(r=>{const n=s[r];if(n){const s={type:"option",name:r,parent:t};n(s,e[r])}else{const e=new Error(`.${r} is not a valid Plugin property`);e.code="BABEL_UNKNOWN_PLUGIN_PROPERTY";throw e}});return e}},4517:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. "+"Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. "+"Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using "+"or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. "+"Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. "+"Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the "+"tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling "+"that calls Babel to assign `map.file` themselves."}};t.default=r},33655:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.maybeAsync=maybeAsync;t.forwardAsync=forwardAsync;t.isThenable=isThenable;t.waitFor=t.onFirstPause=t.isAsync=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n=e=>e;const s=_gensync()(function*(e){return yield*e});const i=_gensync()({sync:()=>false,errback:e=>e(null,true)});t.isAsync=i;function maybeAsync(e,t){return _gensync()({sync(...r){const n=e.apply(this,r);if(isThenable(n))throw new Error(t);return n},async(...t){return Promise.resolve(e.apply(this,t))}})}const a=_gensync()({sync:e=>e("sync"),async:e=>e("async")});function forwardAsync(e,t){const r=_gensync()(e);return a(e=>{const n=r[e];return t(n)})}const o=_gensync()({name:"onFirstPause",arity:2,sync:function(e){return s.sync(e)},errback:function(e,t,r){let n=false;s.errback(e,(e,t)=>{n=true;r(e,t)});if(!n){t()}}});t.onFirstPause=o;const l=_gensync()({sync:n,async:n});t.waitFor=l;function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},8758:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stat=t.readFile=void 0;function _fs(){const e=r(35747);_fs=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n=_gensync()({sync:_fs().readFileSync,errback:_fs().readFile});t.readFile=n;const s=_gensync()({sync:_fs().statSync,errback:_fs().stat});t.stat=s},39652:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Plugin=Plugin;Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"buildExternalHelpers",{enumerable:true,get:function(){return s.default}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return i.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return i.resolvePreset}});Object.defineProperty(t,"getEnv",{enumerable:true,get:function(){return a.getEnv}});Object.defineProperty(t,"tokTypes",{enumerable:true,get:function(){return _parser().tokTypes}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return _traverse().default}});Object.defineProperty(t,"template",{enumerable:true,get:function(){return _template().default}});Object.defineProperty(t,"createConfigItem",{enumerable:true,get:function(){return o.createConfigItem}});Object.defineProperty(t,"createConfigItemSync",{enumerable:true,get:function(){return o.createConfigItemSync}});Object.defineProperty(t,"createConfigItemAsync",{enumerable:true,get:function(){return o.createConfigItemAsync}});Object.defineProperty(t,"loadPartialConfig",{enumerable:true,get:function(){return o.loadPartialConfig}});Object.defineProperty(t,"loadPartialConfigSync",{enumerable:true,get:function(){return o.loadPartialConfigSync}});Object.defineProperty(t,"loadPartialConfigAsync",{enumerable:true,get:function(){return o.loadPartialConfigAsync}});Object.defineProperty(t,"loadOptions",{enumerable:true,get:function(){return o.loadOptions}});Object.defineProperty(t,"loadOptionsSync",{enumerable:true,get:function(){return o.loadOptionsSync}});Object.defineProperty(t,"loadOptionsAsync",{enumerable:true,get:function(){return o.loadOptionsAsync}});Object.defineProperty(t,"transform",{enumerable:true,get:function(){return l.transform}});Object.defineProperty(t,"transformSync",{enumerable:true,get:function(){return l.transformSync}});Object.defineProperty(t,"transformAsync",{enumerable:true,get:function(){return l.transformAsync}});Object.defineProperty(t,"transformFile",{enumerable:true,get:function(){return u.transformFile}});Object.defineProperty(t,"transformFileSync",{enumerable:true,get:function(){return u.transformFileSync}});Object.defineProperty(t,"transformFileAsync",{enumerable:true,get:function(){return u.transformFileAsync}});Object.defineProperty(t,"transformFromAst",{enumerable:true,get:function(){return p.transformFromAst}});Object.defineProperty(t,"transformFromAstSync",{enumerable:true,get:function(){return p.transformFromAstSync}});Object.defineProperty(t,"transformFromAstAsync",{enumerable:true,get:function(){return p.transformFromAstAsync}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return f.parse}});Object.defineProperty(t,"parseSync",{enumerable:true,get:function(){return f.parseSync}});Object.defineProperty(t,"parseAsync",{enumerable:true,get:function(){return f.parseAsync}});t.types=t.OptionManager=t.DEFAULT_EXTENSIONS=t.version=void 0;var n=r(92418);var s=r(4485);var i=r(88433);var a=r(67794);function _types(){const e=r(57012);_types=function(){return e};return e}Object.defineProperty(t,"types",{enumerable:true,get:function(){return _types()}});function _parser(){const e=r(20639);_parser=function(){return e};return e}function _traverse(){const e=r(4267);_traverse=function(){return e};return e}function _template(){const e=r(36900);_template=function(){return e};return e}var o=r(21146);var l=r(464);var u=r(13581);var p=r(52446);var f=r(51532);const c="7.15.0";t.version=c;const d=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);t.DEFAULT_EXTENSIONS=d;class OptionManager{init(e){return(0,o.loadOptions)(e)}}t.OptionManager=OptionManager;function Plugin(e){throw new Error(`The (${e}) Babel 5 plugin is being run with an unsupported Babel version.`)}},51532:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseAsync=t.parseSync=t.parse=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(21146);var s=r(5101);var i=r(2536);const a=_gensync()(function*parse(e,t){const r=yield*(0,n.default)(t);if(r===null){return null}return yield*(0,s.default)(r.passes,(0,i.default)(r),e)});const o=function parse(e,t,r){if(typeof t==="function"){r=t;t=undefined}if(r===undefined)return a.sync(e,t);a.errback(e,t,r)};t.parse=o;const l=a.sync;t.parseSync=l;const u=a.async;t.parseAsync=u},5101:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parser;function _parser(){const e=r(20639);_parser=function(){return e};return e}function _codeFrame(){const e=r(11796);_codeFrame=function(){return e};return e}var n=r(46470);function*parser(e,{parserOpts:t,highlightCode:r=true,filename:s="unknown"},i){try{const a=[];for(const r of e){for(const e of r){const{parserOverride:r}=e;if(r){const e=r(i,t,_parser().parse);if(e!==undefined)a.push(e)}}}if(a.length===0){return(0,_parser().parse)(i,t)}else if(a.length===1){yield*[];if(typeof a[0].then==="function"){throw new Error(`You appear to be using an async parser plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}return a[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(e){if(e.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"){e.message+="\nConsider renaming the file to '.mjs', or setting sourceType:module "+"or sourceType:unambiguous in your Babel config for this file."}const{loc:t,missingPlugin:a}=e;if(t){const o=(0,_codeFrame().codeFrameColumns)(i,{start:{line:t.line,column:t.column+1}},{highlightCode:r});if(a){e.message=`${s}: `+(0,n.default)(a[0],t,o)}else{e.message=`${s}: ${e.message}\n\n`+o}e.code="BABEL_PARSE_ERROR"}throw e}}},46470:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateMissingPluginMessage;const r={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",url:"https://git.io/JYer8"}},classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-private-methods",url:"https://git.io/JvpRG"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://git.io/JTLB6"},transform:{name:"@babel/plugin-proposal-class-static-block",url:"https://git.io/JTLBP"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://git.io/JfKOH"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://git.io/vb4y9"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://git.io/vb4ST"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://git.io/vb4yh"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://git.io/vb4S3"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://git.io/vb4Sv"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://git.io/vb4SO"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://git.io/vb4yH"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://git.io/vb4Sf"},transform:{name:"@babel/plugin-proposal-export-namespace-from",url:"https://git.io/vb4SG"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://git.io/vb4yb"},transform:{name:"@babel/preset-flow",url:"https://git.io/JfeDn"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://git.io/vb4y7"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://git.io/vb4St"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://git.io/vb4yN"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://git.io/vb4SZ"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://git.io/vbKK6"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://git.io/vb4yA"},transform:{name:"@babel/preset-react",url:"https://git.io/JfeDR"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://git.io/JUbkv"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://git.io/JTL8G"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://git.io/vb4Sq"},transform:{name:"@babel/plugin-proposal-numeric-separator",url:"https://git.io/vb4yS"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://git.io/vb4Sc"},transform:{name:"@babel/plugin-proposal-optional-chaining",url:"https://git.io/vb4Sk"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://git.io/vb4yj"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://git.io/vb4SU"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://git.io/JfK3q"},transform:{name:"@babel/plugin-proposal-private-property-in-object",url:"https://git.io/JfK3O"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://git.io/JvKp3"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://git.io/vb4SJ"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://git.io/vb4yF"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://git.io/vb4SC"},transform:{name:"@babel/preset-typescript",url:"https://git.io/JfeDz"}},asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://git.io/vb4SY"},transform:{name:"@babel/plugin-proposal-async-generator-functions",url:"https://git.io/vb4yp"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://git.io/vAlBp"},transform:{name:"@babel/plugin-proposal-logical-assignment-operators",url:"https://git.io/vAlRe"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://git.io/vb4yx"},transform:{name:"@babel/plugin-proposal-nullish-coalescing-operator",url:"https://git.io/vb4Se"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://git.io/vb4y5"},transform:{name:"@babel/plugin-proposal-object-rest-spread",url:"https://git.io/vb4Ss"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://git.io/vb4Sn"},transform:{name:"@babel/plugin-proposal-optional-catch-binding",url:"https://git.io/vb4SI"}}};r.privateIn.syntax=r.privateIn.transform;const n=({name:e,url:t})=>`${e} (${t})`;function generateMissingPluginMessage(e,t,s){let i=`Support for the experimental syntax '${e}' isn't currently enabled `+`(${t.line}:${t.column+1}):\n\n`+s;const a=r[e];if(a){const{syntax:e,transform:t}=a;if(e){const r=n(e);if(t){const e=n(t);const s=t.name.startsWith("@babel/plugin")?"plugins":"presets";i+=`\n\nAdd ${e} to the '${s}' section of your Babel config to enable transformation.\nIf you want to leave it as-is, add ${r} to the 'plugins' section to enable parsing.`}else{i+=`\n\nAdd ${r} to the 'plugins' section of your Babel config `+`to enable parsing.`}}}return i}},4485:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=_default;function helpers(){const e=n(71804);helpers=function(){return e};return e}function _generator(){const e=n(23656);_generator=function(){return e};return e}function _template(){const e=n(36900);_template=function(){return e};return e}function t(){const e=n(57012);t=function(){return e};return e}var s=n(92418);const i=e=>(0,_template().default)` + `,...s.expressions]))},TemplateLiteral(e){const t=[];const s=e.get("expressions");let r=0;for(const n of e.node.quasis){if(n.value.cooked){t.push(i.types.stringLiteral(n.value.cooked))}if(r1){a=buildConcatCallExpressions(t)}e.replaceWith(a)}}}});t.default=n},14911:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},446:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(2982);var i=s(85850);var n=(0,r.declare)(e=>{e.assertVersion(7);return{name:"transform-typeof-symbol",visitor:{Scope({scope:e}){if(!e.getBinding("Symbol")){return}e.rename("Symbol")},UnaryExpression(e){const{node:t,parent:s}=e;if(t.operator!=="typeof")return;if(e.parentPath.isBinaryExpression()&&i.types.EQUALITY_BINARY_OPERATORS.indexOf(s.operator)>=0){const t=e.getOpposite();if(t.isLiteral()&&t.node.value!=="symbol"&&t.node.value!=="object"){return}}let r=e.findParent(e=>{if(e.isFunction()){var t;return((t=e.get("body.directives.0"))==null?void 0:t.node.value.value)==="@babel/helpers - typeof"}});if(r)return;const n=this.addHelper("typeof");r=e.findParent(e=>{return e.isVariableDeclarator()&&e.node.id===n||e.isFunctionDeclaration()&&e.node.id&&e.node.id.name===n.name});if(r){return}const a=i.types.callExpression(n,[t.argument]);const o=e.get("argument");if(o.isIdentifier()&&!e.scope.hasBinding(o.node.name,true)){const s=i.types.unaryExpression("typeof",i.types.cloneNode(t.argument));e.replaceWith(i.types.conditionalExpression(i.types.binaryExpression("===",s,i.types.stringLiteral("undefined")),i.types.stringLiteral("undefined"),a))}else{e.replaceWith(a)}}}}});t.default=n},2982:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},31507:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(46947);var i=s(85850);var n=(0,r.declare)(e=>{e.assertVersion(7);const t=/[\ud800-\udfff]/g;const s=/(\\+)u\{([0-9a-fA-F]+)\}/g;function escape(e){let t=e.toString(16);while(t.length<4)t="0"+t;return"\\u"+t}function replacer(e,t,s){if(t.length%2===0){return e}const r=String.fromCodePoint(parseInt(s,16));const i=t.slice(0,-1)+escape(r.charCodeAt(0));return r.length===1?i:i+escape(r.charCodeAt(1))}function replaceUnicodeEscapes(e){return e.replace(s,replacer)}function getUnicodeEscape(e){let t;while(t=s.exec(e)){if(t[1].length%2===0)continue;s.lastIndex=0;return t[0]}return null}return{name:"transform-unicode-escapes",manipulateOptions({generatorOpts:e}){var t,s;if(!e.jsescOption){e.jsescOption={}}(s=(t=e.jsescOption).minimal)!=null?s:t.minimal=false},visitor:{Identifier(e){const{node:s,key:r}=e;const{name:n}=s;const a=n.replace(t,e=>{return`_u${e.charCodeAt(0).toString(16)}`});if(n===a)return;const o=i.types.inherits(i.types.stringLiteral(n),s);if(r==="key"){e.replaceWith(o);return}const{parentPath:l,scope:c}=e;if(l.isMemberExpression({property:s})||l.isOptionalMemberExpression({property:s})){l.node.computed=true;e.replaceWith(o);return}const p=c.getBinding(n);if(p){c.rename(n,c.generateUid(a));return}throw e.buildCodeFrameError(`Can't reference '${n}' as a bare identifier`)},"StringLiteral|DirectiveLiteral"(e){const{node:t}=e;const{extra:s}=t;if(s!=null&&s.raw)s.raw=replaceUnicodeEscapes(s.raw)},TemplateElement(e){const{node:t,parentPath:s}=e;const{value:r}=t;const i=getUnicodeEscape(r.raw);if(!i)return;const n=s.parentPath;if(n.isTaggedTemplateExpression()){throw e.buildCodeFrameError(`Can't replace Unicode escape '${i}' inside tagged template literals. You can enable '@babel/plugin-transform-template-literals' to compile them to classic strings.`)}r.raw=replaceUnicodeEscapes(r.raw)}}}});t.default=n},46947:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},91990:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(36610);var i=s(65220);var n=(0,i.declare)(e=>{e.assertVersion(7);return(0,r.createRegExpFeaturePlugin)({name:"transform-unicode-regex",feature:"unicodeFlag"})});t.default=n},65220:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},30348:(e,t)=>{"use strict";t.__esModule=true;t.default=void 0;const s={allowInsertArrow:false,specCompliant:false};var r=({types:e})=>({name:"transform-async-arrows-in-class",visitor:{ArrowFunctionExpression(t){if(t.node.async&&t.findParent(e.isClassMethod)){t.arrowFunctionToExpression(s)}}}});t.default=r;e.exports=t.default},45585:(e,t)=>{"use strict";t.__esModule=true;t.default=void 0;var s=({types:e})=>{const t=t=>t.parentKey==="params"&&t.parentPath&&e.isArrowFunctionExpression(t.parentPath);return{name:"transform-edge-default-parameters",visitor:{AssignmentPattern(e){const s=e.find(t);if(s&&e.parent.shorthand){e.parent.shorthand=false;(e.parent.extra||{}).shorthand=false;e.scope.rename(e.parent.key.name)}}}}};t.default=s;e.exports=t.default},1056:(e,t)=>{"use strict";t.__esModule=true;t.default=void 0;var s=({types:e})=>({name:"transform-edge-function-name",visitor:{FunctionExpression:{exit(t){if(!t.node.id&&e.isIdentifier(t.parent.id)){const s=e.cloneNode(t.parent.id);const r=t.scope.getBinding(s.name);if(r==null?void 0:r.constantViolations.length){t.scope.rename(s.name)}t.node.id=s}}}}});t.default=s;e.exports=t.default},86808:(e,t)=>{"use strict";t.__esModule=true;t.default=_default;function _default({types:e}){return{name:"transform-safari-block-shadowing",visitor:{VariableDeclarator(t){const s=t.parent.kind;if(s!=="let"&&s!=="const")return;const r=t.scope.block;if(e.isFunction(r)||e.isProgram(r))return;const i=e.getOuterBindingIdentifiers(t.node.id);for(const s of Object.keys(i)){let r=t.scope;if(!r.hasOwnBinding(s))continue;while(r=r.parent){if(r.hasOwnBinding(s)){t.scope.rename(s);break}if(e.isFunction(r.block)||e.isProgram(r.block)){break}}}}}}}e.exports=t.default},96126:(e,t)=>{"use strict";t.__esModule=true;t.default=void 0;function handle(e){if(!e.isVariableDeclaration())return;const t=e.getFunctionParent();const{name:s}=e.node.declarations[0].id;if(t&&t.scope.hasOwnBinding(s)&&t.scope.getOwnBinding(s).kind==="param"){e.scope.rename(s)}}var s=()=>({name:"transform-safari-for-shadowing",visitor:{ForXStatement(e){handle(e.get("left"))},ForStatement(e){handle(e.get("init"))}}});t.default=s;e.exports=t.default},64038:(e,t)=>{"use strict";t.__esModule=true;t.default=void 0;var s=({types:e})=>({name:"transform-tagged-template-caching",visitor:{TaggedTemplateExpression(t,s){let r=s.get("processed");if(!r){r=new Map;s.set("processed",r)}if(r.has(t.node))return t.skip();const i=t.node.quasi.expressions;let n=s.get("identity");if(!n){n=t.scope.getProgramParent().generateDeclaredUidIdentifier("_");s.set("identity",n);const r=t.scope.getBinding(n.name);r.path.get("init").replaceWith(e.arrowFunctionExpression([e.identifier("t")],e.identifier("t")))}const a=e.taggedTemplateExpression(n,e.templateLiteral(t.node.quasi.quasis,i.map(()=>e.numericLiteral(0))));r.set(a,true);const o=t.scope.getProgramParent().generateDeclaredUidIdentifier("t");t.scope.getBinding(o.name).path.parent.kind="let";const l=e.logicalExpression("||",o,e.assignmentExpression("=",o,a));const c=e.callExpression(t.node.tag,[l,...i]);t.replaceWith(c)}}});t.default=s;e.exports=t.default},9064:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=s(99858);var i=s(4836);var n=s(14155);var a=s(59654);var o=s(71073);var l=s(69562);function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var c=_interopDefaultLegacy(i);var p=_interopDefaultLegacy(n);var u=_interopDefaultLegacy(a);var h=_interopDefaultLegacy(o);new l.OptionValidator("@babel/preset-react");function normalizeOptions(e={}){{let{pragma:t,pragmaFrag:s}=e;const{pure:r,throwIfNamespace:i=true,runtime:n="classic",importSource:a,useBuiltIns:o,useSpread:l}=e;if(n==="classic"){t=t||"React.createElement";s=s||"React.Fragment"}const c=!!e.development;return{development:c,importSource:a,pragma:t,pragmaFrag:s,pure:r,runtime:n,throwIfNamespace:i,useBuiltIns:o,useSpread:l}}}var f=r.declare((e,t)=>{e.assertVersion(7);const{development:s,importSource:r,pragma:i,pragmaFrag:n,pure:a,runtime:o,throwIfNamespace:l}=normalizeOptions(t);return{plugins:[[s?p["default"]:c["default"],{importSource:r,pragma:i,pragmaFrag:n,runtime:o,throwIfNamespace:l,pure:a,useBuiltIns:!!t.useBuiltIns,useSpread:t.useSpread}],u["default"],a!==false&&h["default"]].filter(Boolean)}});t.default=f},75281:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(42357);var i=s(19761);class ImportBuilder{constructor(e,t,s){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=s;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(i.importDeclaration([],i.stringLiteral(this._importedSource)));return this}require(){this._statements.push(i.expressionStatement(i.callExpression(i.identifier("require"),[i.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const s=this._statements[this._statements.length-1];r(s.type==="ImportDeclaration");r(s.specifiers.length===0);s.specifiers=[i.importNamespaceSpecifier(t)];this._resultName=i.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];r(t.type==="ImportDeclaration");r(t.specifiers.length===0);t.specifiers=[i.importDefaultSpecifier(e)];this._resultName=i.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const s=this._statements[this._statements.length-1];r(s.type==="ImportDeclaration");r(s.specifiers.length===0);s.specifiers=[i.importSpecifier(e,i.identifier(t))];this._resultName=i.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){r(this._resultName);t=i.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=i.variableDeclaration("var",[i.variableDeclarator(e,t.expression)]);this._resultName=i.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){r(t.declarations.length===1);t.declarations[0].init=i.callExpression(e,[t.declarations[0].init])}else{r.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.memberExpression(t.expression,i.identifier(e))}else if(t.type==="VariableDeclaration"){r(t.declarations.length===1);t.declarations[0].init=i.memberExpression(t.declarations[0].init,i.identifier(e))}else{r.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=i.memberExpression(this._resultName,i.identifier(e))}}t.default=ImportBuilder},98801:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(42357);var i=s(19761);var n=s(75281);var a=s(87633);class ImportInjector{constructor(e,t,s){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const r=e.find(e=>e.isProgram());this._programPath=r;this._programScope=r.scope;this._hub=r.hub;this._defaultOpts=this._applyDefaults(t,s,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,s){r(typeof e==="string");return this._generateImport(this._applyDefaults(t,s),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,s=false){const i=[];if(typeof e==="string"){i.push({importedSource:e});i.push(t)}else{r(!t,"Unexpected secondary arguments.");i.push(e)}const n=Object.assign({},this._defaultOpts);for(const e of i){if(!e)continue;Object.keys(n).forEach(t=>{if(e[t]!==undefined)n[t]=e[t]});if(!s){if(e.nameHint!==undefined)n.nameHint=e.nameHint;if(e.blockHoist!==undefined)n.blockHoist=e.blockHoist}}return n}_generateImport(e,t){const s=t==="default";const r=!!t&&!s;const o=t===null;const{importedSource:l,importedType:c,importedInterop:p,importingInterop:u,ensureLiveReference:h,ensureNoContext:f,nameHint:d,importPosition:y,blockHoist:m}=e;let g=d||t;const b=(0,a.default)(this._programPath);const x=b&&u==="node";const v=b&&u==="babel";if(y==="after"&&!b){throw new Error(`"importPosition": "after" is only supported in modules`)}const w=new n.default(l,this._programScope,this._hub);if(c==="es6"){if(!x&&!v){throw new Error("Cannot import an ES6 module from CommonJS")}w.import();if(o){w.namespace(d||l)}else if(s||r){w.named(g,t)}}else if(c!=="commonjs"){throw new Error(`Unexpected interopType "${c}"`)}else if(p==="babel"){if(x){g=g!=="default"?g:l;const e=`${l}$es6Default`;w.import();if(o){w.default(e).var(g||l).wildcardInterop()}else if(s){if(h){w.default(e).var(g||l).defaultInterop().read("default")}else{w.default(e).var(g).defaultInterop().prop(t)}}else if(r){w.default(e).read(t)}}else if(v){w.import();if(o){w.namespace(g||l)}else if(s||r){w.named(g,t)}}else{w.require();if(o){w.var(g||l).wildcardInterop()}else if((s||r)&&h){if(s){g=g!=="default"?g:l;w.var(g).read(t);w.defaultInterop()}else{w.var(l).read(t)}}else if(s){w.var(g).defaultInterop().prop(t)}else if(r){w.var(g).prop(t)}}}else if(p==="compiled"){if(x){w.import();if(o){w.default(g||l)}else if(s||r){w.default(l).read(g)}}else if(v){w.import();if(o){w.namespace(g||l)}else if(s||r){w.named(g,t)}}else{w.require();if(o){w.var(g||l)}else if(s||r){if(h){w.var(l).read(g)}else{w.prop(t).var(g)}}}}else if(p==="uncompiled"){if(s&&h){throw new Error("No live reference for commonjs default")}if(x){w.import();if(o){w.default(g||l)}else if(s){w.default(g)}else if(r){w.default(l).read(g)}}else if(v){w.import();if(o){w.default(g||l)}else if(s){w.default(g)}else if(r){w.named(g,t)}}else{w.require();if(o){w.var(g||l)}else if(s){w.var(g)}else if(r){if(h){w.var(l).read(g)}else{w.var(g).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:P,resultName:E}=w.done();this._insertStatements(P,y,m);if((s||r)&&f&&E.type!=="Identifier"){return i.sequenceExpression([i.numericLiteral(0),E])}return E}_insertStatements(e,t="before",s=3){const r=this._programPath.get("body");if(t==="after"){for(let t=r.length-1;t>=0;t--){if(r[t].isImportDeclaration()){r[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=s});const t=r.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},71669:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return r.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return i.default}});var r=s(98801);var i=s(87633);function addDefault(e,t,s){return new r.default(e).addDefault(t,s)}function addNamed(e,t,s,i){return new r.default(e).addNamed(t,s,i)}function addNamespace(e,t,s){return new r.default(e).addNamespace(t,s)}function addSideEffect(e,t,s){return new r.default(e).addSideEffect(t,s)}},87633:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},99858:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},63033:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(99858);var i=(0,r.declare)(e=>{e.assertVersion(7);return{name:"syntax-jsx",manipulateOptions(e,t){if(t.plugins.some(e=>(Array.isArray(e)?e[0]:e)==="typescript")){return}t.plugins.push("jsx")}}});t.default=i},82755:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createPlugin;var r=s(63033);var i=s(99858);var n=s(85850);var a=s(71669);var o=s(96659);const l={importSource:"react",runtime:"automatic",pragma:"React.createElement",pragmaFrag:"React.Fragment"};const c=/\*?\s*@jsxImportSource\s+([^\s]+)/;const p=/\*?\s*@jsxRuntime\s+([^\s]+)/;const u=/\*?\s*@jsx\s+([^\s]+)/;const h=/\*?\s*@jsxFrag\s+([^\s]+)/;const f=(e,t)=>e.get(`@babel/plugin-react-jsx/${t}`);const d=(e,t,s)=>e.set(`@babel/plugin-react-jsx/${t}`,s);function createPlugin({name:e,development:t}){return(0,i.declare)((s,i)=>{const{pure:a,throwIfNamespace:y=true,filter:m,runtime:g=(t?"automatic":"classic"),importSource:b=l.importSource,pragma:x=l.pragma,pragmaFrag:v=l.pragmaFrag}=i;{var{useSpread:w=false,useBuiltIns:P=false}=i;if(g==="classic"){if(typeof w!=="boolean"){throw new Error("transform-react-jsx currently only accepts a boolean option for "+"useSpread (defaults to false)")}if(typeof P!=="boolean"){throw new Error("transform-react-jsx currently only accepts a boolean option for "+"useBuiltIns (defaults to false)")}if(w&&P){throw new Error("transform-react-jsx currently only accepts useBuiltIns or useSpread "+"but not both")}}}const E={JSXOpeningElement(e,t){for(const t of e.get("attributes")){if(!t.isJSXElement())continue;const{name:s}=t.node.name;if(s==="__source"||s==="__self"){throw e.buildCodeFrameError(`__source and __self should not be defined in props and are reserved for internal usage.`)}}const s=n.types.jsxAttribute(n.types.jsxIdentifier("__self"),n.types.jsxExpressionContainer(n.types.thisExpression()));const r=n.types.jsxAttribute(n.types.jsxIdentifier("__source"),n.types.jsxExpressionContainer(makeSource(e,t)));e.pushContainer("attributes",[s,r])}};return{name:e,inherits:r.default,visitor:{JSXNamespacedName(e){if(y){throw e.buildCodeFrameError(`Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can set \`throwIfNamespace: false\` to bypass this warning.`)}},JSXSpreadChild(e){throw e.buildCodeFrameError("Spread children are not supported in React.")},Program:{enter(e,s){const{file:r}=s;let a=g;let o=b;let f=x;let y=v;let m=!!i.importSource;let w=!!i.pragma;let P=!!i.pragmaFrag;if(r.ast.comments){for(const e of r.ast.comments){const t=c.exec(e.value);if(t){o=t[1];m=true}const s=p.exec(e.value);if(s){a=s[1]}const r=u.exec(e.value);if(r){f=r[1];w=true}const i=h.exec(e.value);if(i){y=i[1];P=true}}}d(s,"runtime",a);if(a==="classic"){if(m){throw e.buildCodeFrameError(`importSource cannot be set when runtime is classic.`)}const t=toMemberExpression(f);const r=toMemberExpression(y);d(s,"id/createElement",()=>n.types.cloneNode(t));d(s,"id/fragment",()=>n.types.cloneNode(r));d(s,"defaultPure",f===l.pragma)}else if(a==="automatic"){if(w||P){throw e.buildCodeFrameError(`pragma and pragmaFrag cannot be set when runtime is automatic.`)}const r=(t,r)=>d(s,t,createImportLazily(s,e,r,o));r("id/jsx",t?"jsxDEV":"jsx");r("id/jsxs",t?"jsxDEV":"jsxs");r("id/createElement","createElement");r("id/fragment","Fragment");d(s,"defaultPure",o===l.importSource)}else{throw e.buildCodeFrameError(`Runtime must be either "classic" or "automatic".`)}if(t){e.traverse(E,s)}}},JSXElement:{exit(e,t){let s;if(f(t,"runtime")==="classic"||shouldUseCreateElement(e)){s=buildCreateElementCall(e,t)}else{s=buildJSXElementCall(e,t)}e.replaceWith(n.types.inherits(s,e.node))}},JSXFragment:{exit(e,t){let s;if(f(t,"runtime")==="classic"){s=buildCreateElementFragmentCall(e,t)}else{s=buildJSXFragmentCall(e,t)}e.replaceWith(n.types.inherits(s,e.node))}},JSXAttribute(e){if(n.types.isJSXElement(e.node.value)){e.node.value=n.types.jsxExpressionContainer(e.node.value)}}}};function call(e,t,s){const r=n.types.callExpression(f(e,`id/${t}`)(),s);if(a!=null?a:f(e,"defaultPure"))(0,o.default)(r);return r}function shouldUseCreateElement(e){const t=e.get("openingElement");const s=t.node.attributes;let r=false;for(let e=0;e1){t=n.types.arrayExpression(e)}else{return undefined}return n.types.objectProperty(n.types.identifier("children"),t)}function buildJSXElementCall(e,s){const r=e.get("openingElement");const i=[getTag(r)];const a=[];const o=Object.create(null);for(const t of r.get("attributes")){if(t.isJSXAttribute()&&n.types.isJSXIdentifier(t.node.name)){const{name:s}=t.node.name;switch(s){case"__source":case"__self":if(o[s])throw sourceSelfError(e,s);case"key":{const e=convertAttributeValue(t.node.value);if(e===null){throw t.buildCodeFrameError('Please provide an explicit key value. Using "key" as a shorthand for "key={true}" is not allowed.')}o[s]=e;break}default:a.push(t)}}else{a.push(t)}}const l=n.types.react.buildChildren(e.node);let c;if(a.length||l.length){c=buildJSXOpeningElementAttributes(a,s,l)}else{c=n.types.objectExpression([])}i.push(c);if(t){var p,u,h;i.push((p=o.key)!=null?p:e.scope.buildUndefinedNode(),n.types.booleanLiteral(l.length>1),(u=o.__source)!=null?u:e.scope.buildUndefinedNode(),(h=o.__self)!=null?h:n.types.thisExpression())}else if(o.key!==undefined){i.push(o.key)}return call(s,l.length>1?"jsxs":"jsx",i)}function buildJSXOpeningElementAttributes(e,t,s){const r=e.reduce(accumulateAttribute,[]);if((s==null?void 0:s.length)>0){r.push(buildChildrenProperty(s))}return n.types.objectExpression(r)}function buildJSXFragmentCall(e,s){const r=[f(s,"id/fragment")()];const i=n.types.react.buildChildren(e.node);r.push(n.types.objectExpression(i.length>0?[buildChildrenProperty(i)]:[]));if(t){r.push(e.scope.buildUndefinedNode(),n.types.booleanLiteral(i.length>1))}return call(s,i.length>1?"jsxs":"jsx",r)}function buildCreateElementFragmentCall(e,t){if(m&&!m(e.node,t))return;return call(t,"createElement",[f(t,"id/fragment")(),n.types.nullLiteral(),...n.types.react.buildChildren(e.node)])}function buildCreateElementCall(e,t){const s=e.get("openingElement");return call(t,"createElement",[getTag(s),buildCreateElementOpeningElementAttributes(t,e,s.get("attributes")),...n.types.react.buildChildren(e.node)])}function getTag(e){const t=convertJSXIdentifier(e.node.name,e.node);let s;if(n.types.isIdentifier(t)){s=t.name}else if(n.types.isLiteral(t)){s=t.value}if(n.types.react.isCompatTag(s)){return n.types.stringLiteral(s)}else{return t}}function buildCreateElementOpeningElementAttributes(e,t,s){const r=f(e,"runtime");{if(r!=="automatic"){const t=[];const r=s.reduce(accumulateAttribute,[]);if(!w){let e=0;r.forEach((s,i)=>{if(n.types.isSpreadElement(s)){if(i>e){t.push(n.types.objectExpression(r.slice(e,i)))}t.push(s.argument);e=i+1}});if(r.length>e){t.push(n.types.objectExpression(r.slice(e)))}}else if(r.length){t.push(n.types.objectExpression(r))}if(!t.length){return n.types.nullLiteral()}if(t.length===1){return t[0]}if(!n.types.isObjectExpression(t[0])){t.unshift(n.types.objectExpression([]))}const i=P?n.types.memberExpression(n.types.identifier("Object"),n.types.identifier("assign")):e.addHelper("extends");return n.types.callExpression(i,t)}}const i=[];const a=Object.create(null);for(const e of s){const s=n.types.isJSXAttribute(e)&&n.types.isJSXIdentifier(e.name)&&e.name.name;if(r==="automatic"&&(s==="__source"||s==="__self")){if(a[s])throw sourceSelfError(t,s);a[s]=true}accumulateAttribute(i,e)}return i.length===1&&n.types.isSpreadElement(i[0])?i[0].argument:i.length>0?n.types.objectExpression(i):n.types.nullLiteral()}});function getSource(e,s){switch(s){case"Fragment":return`${e}/${t?"jsx-dev-runtime":"jsx-runtime"}`;case"jsxDEV":return`${e}/jsx-dev-runtime`;case"jsx":case"jsxs":return`${e}/jsx-runtime`;case"createElement":return e}}function createImportLazily(e,t,s,r){return()=>{const i=getSource(r,s);if((0,a.isModule)(t)){let r=f(e,`imports/${s}`);if(r)return n.types.cloneNode(r);r=(0,a.addNamed)(t,s,i,{importedInterop:"uncompiled",importPosition:"after"});d(e,`imports/${s}`,r);return r}else{let r=f(e,`requires/${i}`);if(r){r=n.types.cloneNode(r)}else{r=(0,a.addNamespace)(t,i,{importedInterop:"uncompiled"});d(e,`requires/${i}`,r)}return n.types.memberExpression(r,n.types.identifier(s))}}}}function toMemberExpression(e){return e.split(".").map(e=>n.types.identifier(e)).reduce((e,t)=>n.types.memberExpression(e,t))}function makeSource(e,t){const s=e.node.loc;if(!s){return e.scope.buildUndefinedNode()}if(!t.fileNameIdentifier){const{filename:s=""}=t;const r=e.scope.generateUidIdentifier("_jsxFileName");const i=e.hub.getScope();if(i){i.push({id:r,init:n.types.stringLiteral(s)})}t.fileNameIdentifier=r}return makeTrace(n.types.cloneNode(t.fileNameIdentifier),s.start.line,s.start.column)}function makeTrace(e,t,s){const r=t!=null?n.types.numericLiteral(t):n.types.nullLiteral();const i=s!=null?n.types.numericLiteral(s+1):n.types.nullLiteral();const a=n.types.objectProperty(n.types.identifier("fileName"),e);const o=n.types.objectProperty(n.types.identifier("lineNumber"),r);const l=n.types.objectProperty(n.types.identifier("columnNumber"),i);return n.types.objectExpression([a,o,l])}function sourceSelfError(e,t){const s=`transform-react-jsx-${t.slice(2)}`;return e.buildCodeFrameError(`Duplicate ${t} prop found. You are most likely using the deprecated ${s} Babel plugin. Both __source and __self are automatically set when using the automatic runtime. Please remove transform-react-jsx-source and transform-react-jsx-self from your Babel config.`)}},4836:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(82755);var i=(0,r.default)({name:"transform-react-jsx",development:false});t.default=i},44388:e=>{function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e.exports=_interopRequireDefault},51675:(e,t,s)=>{var r=s(57246);function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function _getRequireWildcardCache(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||r(e)!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var s={};var i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;if(a&&(a.get||a.set)){Object.defineProperty(s,n,a)}else{s[n]=e[n]}}}s["default"]=e;if(t){t.set(e,s)}return s}e.exports=_interopRequireWildcard},57246:e=>{function _typeof(t){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){e.exports=_typeof=function _typeof(e){return typeof e}}else{e.exports=_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(t)}e.exports=_typeof},22663:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTemplateBuilder;var r=s(5447);var i=s(26522);var n=s(80694);const a=(0,r.validate)({placeholderPattern:false});function createTemplateBuilder(e,t){const s=new WeakMap;const o=new WeakMap;const l=t||(0,r.validate)(null);return Object.assign((t,...a)=>{if(typeof t==="string"){if(a.length>1)throw new Error("Unexpected extra params.");return extendedTrace((0,i.default)(e,t,(0,r.merge)(l,(0,r.validate)(a[0]))))}else if(Array.isArray(t)){let r=s.get(t);if(!r){r=(0,n.default)(e,t,l);s.set(t,r)}return extendedTrace(r(a))}else if(typeof t==="object"&&t){if(a.length>0)throw new Error("Unexpected extra params.");return createTemplateBuilder(e,(0,r.merge)(l,(0,r.validate)(t)))}throw new Error(`Unexpected template param ${typeof t}`)},{ast:(t,...s)=>{if(typeof t==="string"){if(s.length>1)throw new Error("Unexpected extra params.");return(0,i.default)(e,t,(0,r.merge)((0,r.merge)(l,(0,r.validate)(s[0])),a))()}else if(Array.isArray(t)){let i=o.get(t);if(!i){i=(0,n.default)(e,t,(0,r.merge)(l,a));o.set(t,i)}return i(s)()}throw new Error(`Unexpected template param ${typeof t}`)}})}function extendedTrace(e){let t="";try{throw new Error}catch(e){if(e.stack){t=e.stack.split("\n").slice(3).join("\n")}}return s=>{try{return e(s)}catch(e){e.stack+=`\n =============\n${t}`;throw e}}}},31272:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.program=t.expression=t.statement=t.statements=t.smart=void 0;var r=s(19761);function makeStatementFormatter(e){return{code:e=>`/* @babel/template */;\n${e}`,validate:()=>{},unwrap:t=>{return e(t.program.body.slice(1))}}}const i=makeStatementFormatter(e=>{if(e.length>1){return e}else{return e[0]}});t.smart=i;const n=makeStatementFormatter(e=>e);t.statements=n;const a=makeStatementFormatter(e=>{if(e.length===0){throw new Error("Found nothing to return.")}if(e.length>1){throw new Error("Found multiple statements but wanted one")}return e[0]});t.statement=a;const o={code:e=>`(\n${e}\n)`,validate:e=>{if(e.program.body.length>1){throw new Error("Found multiple statements but wanted one")}if(o.unwrap(e).start===0){throw new Error("Parse result included parens.")}},unwrap:({program:e})=>{const[t]=e.body;r.assertExpressionStatement(t);return t.expression}};t.expression=o;const l={code:e=>e,validate:()=>{},unwrap:e=>e.program};t.program=l},36900:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.program=t.expression=t.statements=t.statement=t.smart=void 0;var r=s(31272);var i=s(22663);const n=(0,i.default)(r.smart);t.smart=n;const a=(0,i.default)(r.statement);t.statement=a;const o=(0,i.default)(r.statements);t.statements=o;const l=(0,i.default)(r.expression);t.expression=l;const c=(0,i.default)(r.program);t.program=c;var p=Object.assign(n.bind(undefined),{smart:n,statement:a,statements:o,expression:l,program:c,ast:n.ast});t.default=p},80694:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=literalTemplate;var r=s(5447);var i=s(68278);var n=s(1143);function literalTemplate(e,t,s){const{metadata:i,names:a}=buildLiteralData(e,t,s);return t=>{const s={};t.forEach((e,t)=>{s[a[t]]=e});return t=>{const a=(0,r.normalizeReplacements)(t);if(a){Object.keys(a).forEach(e=>{if(Object.prototype.hasOwnProperty.call(s,e)){throw new Error("Unexpected replacement overlap.")}})}return e.unwrap((0,n.default)(i,a?Object.assign(a,s):s))}}}function buildLiteralData(e,t,s){let r;let n;let a;let o="";do{o+="$";const l=buildTemplateCode(t,o);r=l.names;n=new Set(r);a=(0,i.default)(e,e.code(l.code),{parser:s.parser,placeholderWhitelist:new Set(l.names.concat(s.placeholderWhitelist?Array.from(s.placeholderWhitelist):[])),placeholderPattern:s.placeholderPattern,preserveComments:s.preserveComments,syntacticPlaceholders:s.syntacticPlaceholders})}while(a.placeholders.some(e=>e.isDuplicate&&n.has(e.name)));return{metadata:a,names:r}}function buildTemplateCode(e,t){const s=[];let r=e[0];for(let i=1;i{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.merge=merge;t.validate=validate;t.normalizeReplacements=normalizeReplacements;function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var s={};var r=Object.keys(e);var i,n;for(n=0;n=0)continue;s[i]=e[i]}return s}function merge(e,t){const{placeholderWhitelist:s=e.placeholderWhitelist,placeholderPattern:r=e.placeholderPattern,preserveComments:i=e.preserveComments,syntacticPlaceholders:n=e.syntacticPlaceholders}=t;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:s,placeholderPattern:r,preserveComments:i,syntacticPlaceholders:n}}function validate(e){if(e!=null&&typeof e!=="object"){throw new Error("Unknown template options.")}const t=e||{},{placeholderWhitelist:s,placeholderPattern:r,preserveComments:i,syntacticPlaceholders:n}=t,a=_objectWithoutPropertiesLoose(t,["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]);if(s!=null&&!(s instanceof Set)){throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined")}if(r!=null&&!(r instanceof RegExp)&&r!==false){throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined")}if(i!=null&&typeof i!=="boolean"){throw new Error("'.preserveComments' must be a boolean, null, or undefined")}if(n!=null&&typeof n!=="boolean"){throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined")}if(n===true&&(s!=null||r!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}return{parser:a,placeholderWhitelist:s||undefined,placeholderPattern:r==null?undefined:r,preserveComments:i==null?undefined:i,syntacticPlaceholders:n==null?undefined:n}}function normalizeReplacements(e){if(Array.isArray(e)){return e.reduce((e,t,s)=>{e["$"+s]=t;return e},{})}else if(typeof e==="object"||e==null){return e||undefined}throw new Error("Template replacements must be an array, object, null, or undefined")}},68278:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parseAndBuildMetadata;var r=s(19761);var i=s(58199);var n=s(67689);const a=/^[_$A-Z0-9]+$/;function parseAndBuildMetadata(e,t,s){const{placeholderWhitelist:i,placeholderPattern:n,preserveComments:a,syntacticPlaceholders:o}=s;const l=parseWithCodeFrame(t,s.parser,o);r.removePropertiesDeep(l,{preserveComments:a});e.validate(l);const c={placeholders:[],placeholderNames:new Set};const p={placeholders:[],placeholderNames:new Set};const u={value:undefined};r.traverse(l,placeholderVisitorHandler,{syntactic:c,legacy:p,isLegacyRef:u,placeholderWhitelist:i,placeholderPattern:n,syntacticPlaceholders:o});return Object.assign({ast:l},u.value?p:c)}function placeholderVisitorHandler(e,t,s){var i;let n;if(r.isPlaceholder(e)){if(s.syntacticPlaceholders===false){throw new Error("%%foo%%-style placeholders can't be used when "+"'.syntacticPlaceholders' is false.")}else{n=e.name.name;s.isLegacyRef.value=false}}else if(s.isLegacyRef.value===false||s.syntacticPlaceholders){return}else if(r.isIdentifier(e)||r.isJSXIdentifier(e)){n=e.name;s.isLegacyRef.value=true}else if(r.isStringLiteral(e)){n=e.value;s.isLegacyRef.value=true}else{return}if(!s.isLegacyRef.value&&(s.placeholderPattern!=null||s.placeholderWhitelist!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}if(s.isLegacyRef.value&&(s.placeholderPattern===false||!(s.placeholderPattern||a).test(n))&&!((i=s.placeholderWhitelist)!=null&&i.has(n))){return}t=t.slice();const{node:o,key:l}=t[t.length-1];let c;if(r.isStringLiteral(e)||r.isPlaceholder(e,{expectedNode:"StringLiteral"})){c="string"}else if(r.isNewExpression(o)&&l==="arguments"||r.isCallExpression(o)&&l==="arguments"||r.isFunction(o)&&l==="params"){c="param"}else if(r.isExpressionStatement(o)&&!r.isPlaceholder(e)){c="statement";t=t.slice(0,-1)}else if(r.isStatement(e)&&r.isPlaceholder(e)){c="statement"}else{c="other"}const{placeholders:p,placeholderNames:u}=s.isLegacyRef.value?s.legacy:s.syntactic;p.push({name:n,type:c,resolve:e=>resolveAncestors(e,t),isDuplicate:u.has(n)});u.add(n)}function resolveAncestors(e,t){let s=e;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=populatePlaceholders;var r=s(19761);function populatePlaceholders(e,t){const s=r.cloneNode(e.ast);if(t){e.placeholders.forEach(e=>{if(!Object.prototype.hasOwnProperty.call(t,e.name)){const t=e.name;throw new Error(`Error: No substitution given for "${t}". If this is not meant to be a\n placeholder you may want to consider passing one of the following options to @babel/template:\n - { placeholderPattern: false, placeholderWhitelist: new Set(['${t}'])}\n - { placeholderPattern: /^${t}$/ }`)}});Object.keys(t).forEach(t=>{if(!e.placeholderNames.has(t)){throw new Error(`Unknown substitution "${t}" given`)}})}e.placeholders.slice().reverse().forEach(e=>{try{applyReplacement(e,s,t&&t[e.name]||null)}catch(t){t.message=`@babel/template placeholder "${e.name}": ${t.message}`;throw t}});return s}function applyReplacement(e,t,s){if(e.isDuplicate){if(Array.isArray(s)){s=s.map(e=>r.cloneNode(e))}else if(typeof s==="object"){s=r.cloneNode(s)}}const{parent:i,key:n,index:a}=e.resolve(t);if(e.type==="string"){if(typeof s==="string"){s=r.stringLiteral(s)}if(!s||!r.isStringLiteral(s)){throw new Error("Expected string substitution")}}else if(e.type==="statement"){if(a===undefined){if(!s){s=r.emptyStatement()}else if(Array.isArray(s)){s=r.blockStatement(s)}else if(typeof s==="string"){s=r.expressionStatement(r.identifier(s))}else if(!r.isStatement(s)){s=r.expressionStatement(s)}}else{if(s&&!Array.isArray(s)){if(typeof s==="string"){s=r.identifier(s)}if(!r.isStatement(s)){s=r.expressionStatement(s)}}}}else if(e.type==="param"){if(typeof s==="string"){s=r.identifier(s)}if(a===undefined)throw new Error("Assertion failure.")}else{if(typeof s==="string"){s=r.identifier(s)}if(Array.isArray(s)){throw new Error("Cannot replace single expression with an array.")}}if(a===undefined){r.validate(i,n,s);i[n]=s}else{const t=i[n].slice();if(e.type==="statement"||e.type==="param"){if(s==null){t.splice(a,1)}else if(Array.isArray(s)){t.splice(a,1,...s)}else{t[a]=s}}else{t[a]=s}r.validate(i,n,t);i[n]=t}}},26522:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=stringTemplate;var r=s(5447);var i=s(68278);var n=s(1143);function stringTemplate(e,t,s){t=e.code(t);let a;return o=>{const l=(0,r.normalizeReplacements)(o);if(!a)a=(0,i.default)(e,t,s);return e.unwrap((0,n.default)(a,l))}}},67689:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var r=s(30250);let i=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const n=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,s){const r=Object.assign({column:0,line:-1},e.start);const i=Object.assign({},r,e.end);const{linesAbove:n=2,linesBelow:a=3}=s||{};const o=r.line;const l=r.column;const c=i.line;const p=i.column;let u=Math.max(o-(n+1),0);let h=Math.min(t.length,c+a);if(o===-1){u=0}if(c===-1){h=t.length}const f=c-o;const d={};if(f){for(let e=0;e<=f;e++){const s=e+o;if(!l){d[s]=true}else if(e===0){const e=t[s-1].length;d[s]=[l,e-l+1]}else if(e===f){d[s]=[0,p]}else{const r=t[s-e].length;d[s]=[0,r]}}}else{if(l===p){if(l){d[o]=[l,0]}else{d[o]=true}}else{d[o]=[l,p-l]}}return{start:u,end:h,markerLines:d}}function codeFrameColumns(e,t,s={}){const i=(s.highlightCode||s.forceColor)&&(0,r.shouldHighlight)(s);const a=(0,r.getChalk)(s);const o=getDefs(a);const l=(e,t)=>{return i?e(t):t};const c=e.split(n);const{start:p,end:u,markerLines:h}=getMarkerLines(t,c,s);const f=t.start&&typeof t.start.column==="number";const d=String(u).length;const y=i?(0,r.default)(e,s):e;let m=y.split(n).slice(p,u).map((e,t)=>{const r=p+1+t;const i=` ${r}`.slice(-d);const n=` ${i} |`;const a=h[r];const c=!h[r+1];if(a){let t="";if(Array.isArray(a)){const r=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const i=a[1]||1;t=["\n ",l(o.gutter,n.replace(/\d/g," "))," ",r,l(o.marker,"^").repeat(i)].join("");if(c&&s.message){t+=" "+l(o.message,s.message)}}return[l(o.marker,">"),l(o.gutter,n),e.length>0?` ${e}`:"",t].join("")}else{return` ${l(o.gutter,n)}${e.length>0?` ${e}`:""}`}}).join("\n");if(s.message&&!f){m=`${" ".repeat(d+1)}${s.message}\n${m}`}if(i){return a.reset(m)}else{return m}}function _default(e,t,s,r={}){if(!i){i=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}s=Math.max(s,0);const n={start:{column:s,line:t}};return codeFrameColumns(e,n,r)}},40689:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let r="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+s+"]");const n=new RegExp("["+s+r+"]");s=r=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let s=65536;for(let r=0,i=t.length;re)return false;s+=t[r+1];if(s>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&n.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return r.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return r.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return r.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var r=s(40689);var i=s(80746)},80746:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const s={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const r=new Set(s.keyword);const i=new Set(s.strict);const n=new Set(s.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return n.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return r.has(e)}},30250:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldHighlight=shouldHighlight;t.getChalk=getChalk;t.default=highlight;var r=s(52388);var i=s(72725);var n=s(72242);const a=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let c;{const e=/^[a-z][\w-]*$/i;const t=function(t,s,r){if(t.type==="name"){if((0,i.isKeyword)(t.value)||(0,i.isStrictReservedWord)(t.value,true)||a.has(t.value)){return"keyword"}if(e.test(t.value)&&(r[s-1]==="<"||r.substr(s-2,2)=="t(e)).join("\n")}else{s+=i}}return s}function shouldHighlight(e){return!!n.supportsColor||e.forceColor}function getChalk(e){return e.forceColor?new n.constructor({enabled:true,level:1}):n}function highlight(e,t={}){if(shouldHighlight(t)){const s=getChalk(t);const r=getDefs(s);return highlightTokens(r,e)}else{return e}}},58199:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const s=true;const r=true;const i=true;const n=true;const a=true;const o=true;class TokenType{constructor(e,t={}){this.label=void 0;this.keyword=void 0;this.beforeExpr=void 0;this.startsExpr=void 0;this.rightAssociative=void 0;this.isLoop=void 0;this.isAssign=void 0;this.prefix=void 0;this.postfix=void 0;this.binop=void 0;this.updateContext=void 0;this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.rightAssociative=!!t.rightAssociative;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop!=null?t.binop:null;this.updateContext=null}}const l=new Map;function createKeyword(e,t={}){t.keyword=e;const s=new TokenType(e,t);l.set(e,s);return s}function createBinop(e,t){return new TokenType(e,{beforeExpr:s,binop:t})}const c={num:new TokenType("num",{startsExpr:r}),bigint:new TokenType("bigint",{startsExpr:r}),decimal:new TokenType("decimal",{startsExpr:r}),regexp:new TokenType("regexp",{startsExpr:r}),string:new TokenType("string",{startsExpr:r}),name:new TokenType("name",{startsExpr:r}),privateName:new TokenType("#name",{startsExpr:r}),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:s,startsExpr:r}),bracketHashL:new TokenType("#[",{beforeExpr:s,startsExpr:r}),bracketBarL:new TokenType("[|",{beforeExpr:s,startsExpr:r}),bracketR:new TokenType("]"),bracketBarR:new TokenType("|]"),braceL:new TokenType("{",{beforeExpr:s,startsExpr:r}),braceBarL:new TokenType("{|",{beforeExpr:s,startsExpr:r}),braceHashL:new TokenType("#{",{beforeExpr:s,startsExpr:r}),braceR:new TokenType("}",{beforeExpr:s}),braceBarR:new TokenType("|}"),parenL:new TokenType("(",{beforeExpr:s,startsExpr:r}),parenR:new TokenType(")"),comma:new TokenType(",",{beforeExpr:s}),semi:new TokenType(";",{beforeExpr:s}),colon:new TokenType(":",{beforeExpr:s}),doubleColon:new TokenType("::",{beforeExpr:s}),dot:new TokenType("."),question:new TokenType("?",{beforeExpr:s}),questionDot:new TokenType("?."),arrow:new TokenType("=>",{beforeExpr:s}),template:new TokenType("template"),ellipsis:new TokenType("...",{beforeExpr:s}),backQuote:new TokenType("`",{startsExpr:r}),dollarBraceL:new TokenType("${",{beforeExpr:s,startsExpr:r}),at:new TokenType("@"),hash:new TokenType("#",{startsExpr:r}),interpreterDirective:new TokenType("#!..."),eq:new TokenType("=",{beforeExpr:s,isAssign:n}),assign:new TokenType("_=",{beforeExpr:s,isAssign:n}),slashAssign:new TokenType("_=",{beforeExpr:s,isAssign:n}),incDec:new TokenType("++/--",{prefix:a,postfix:o,startsExpr:r}),bang:new TokenType("!",{beforeExpr:s,prefix:a,startsExpr:r}),tilde:new TokenType("~",{beforeExpr:s,prefix:a,startsExpr:r}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:s,binop:9,prefix:a,startsExpr:r}),modulo:new TokenType("%",{beforeExpr:s,binop:10,startsExpr:r}),star:new TokenType("*",{binop:10}),slash:createBinop("/",10),exponent:new TokenType("**",{beforeExpr:s,binop:11,rightAssociative:true}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:s}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:s}),_do:createKeyword("do",{isLoop:i,beforeExpr:s}),_else:createKeyword("else",{beforeExpr:s}),_finally:createKeyword("finally"),_for:createKeyword("for",{isLoop:i}),_function:createKeyword("function",{startsExpr:r}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:s}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:s,prefix:a,startsExpr:r}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_while:createKeyword("while",{isLoop:i}),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:s,startsExpr:r}),_this:createKeyword("this",{startsExpr:r}),_super:createKeyword("super",{startsExpr:r}),_class:createKeyword("class",{startsExpr:r}),_extends:createKeyword("extends",{beforeExpr:s}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:r}),_null:createKeyword("null",{startsExpr:r}),_true:createKeyword("true",{startsExpr:r}),_false:createKeyword("false",{startsExpr:r}),_in:createKeyword("in",{beforeExpr:s,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:s,binop:7}),_typeof:createKeyword("typeof",{beforeExpr:s,prefix:a,startsExpr:r}),_void:createKeyword("void",{beforeExpr:s,prefix:a,startsExpr:r}),_delete:createKeyword("delete",{beforeExpr:s,prefix:a,startsExpr:r})};const p=/\r\n?|[\n\u2028\u2029]/;const u=new RegExp(p.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const h=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function isWhitespace(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return true;default:return false}}class Position{constructor(e,t){this.line=void 0;this.column=void 0;this.line=e;this.column=t}}class SourceLocation{constructor(e,t){this.start=void 0;this.end=void 0;this.filename=void 0;this.identifierName=void 0;this.start=e;this.end=t}}function getLineInfo(e,t){let s=1;let r=0;let i;u.lastIndex=0;while((i=u.exec(e))&&i.index0){r=t[--i]}if(r===null){return}for(let e=0;e0){r.trailingComments=n}else if(r.trailingComments!==undefined){r.trailingComments=[]}}processComment(e){if(e.type==="Program"&&e.body.length>0)return;const t=this.state.commentStack;let s,r,i,n,a;if(this.state.trailingComments.length>0){if(this.state.trailingComments[0].start>=e.end){i=this.state.trailingComments;this.state.trailingComments=[]}else{this.state.trailingComments.length=0}}else if(t.length>0){const s=last(t);if(s.trailingComments&&s.trailingComments[0].start>=e.end){i=s.trailingComments;delete s.trailingComments}}if(t.length>0&&last(t).start>=e.start){s=t.pop()}while(t.length>0&&last(t).start>=e.start){r=t.pop()}if(!r&&s)r=s;if(s){switch(e.type){case"ObjectExpression":this.adjustCommentsAfterTrailingComma(e,e.properties);break;case"ObjectPattern":this.adjustCommentsAfterTrailingComma(e,e.properties,true);break;case"CallExpression":this.adjustCommentsAfterTrailingComma(e,e.arguments);break;case"ArrayExpression":this.adjustCommentsAfterTrailingComma(e,e.elements);break;case"ArrayPattern":this.adjustCommentsAfterTrailingComma(e,e.elements,true);break}}else if(this.state.commentPreviousNode&&(this.state.commentPreviousNode.type==="ImportSpecifier"&&e.type!=="ImportSpecifier"||this.state.commentPreviousNode.type==="ExportSpecifier"&&e.type!=="ExportSpecifier")){this.adjustCommentsAfterTrailingComma(e,[this.state.commentPreviousNode])}if(r){if(r.leadingComments){if(r!==e&&r.leadingComments.length>0&&last(r.leadingComments).end<=e.start){e.leadingComments=r.leadingComments;delete r.leadingComments}else{for(n=r.leadingComments.length-2;n>=0;--n){if(r.leadingComments[n].end<=e.start){e.leadingComments=r.leadingComments.splice(0,n+1);break}}}}}else if(this.state.leadingComments.length>0){if(last(this.state.leadingComments).end<=e.start){if(this.state.commentPreviousNode){for(a=0;a0){e.leadingComments=this.state.leadingComments;this.state.leadingComments=[]}}else{for(n=0;ne.start){break}}const t=this.state.leadingComments.slice(0,n);if(t.length){e.leadingComments=t}i=this.state.leadingComments.slice(n);if(i.length===0){i=null}}}this.state.commentPreviousNode=e;if(i){if(i.length&&i[0].start>=e.start&&last(i).end<=e.end){e.innerComments=i}else{const t=i.findIndex(t=>t.end>=e.end);if(t>0){e.innerComments=i.slice(0,t);e.trailingComments=i.slice(t)}else{e.trailingComments=i}}}t.push(e)}}const f=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const d=makeErrorTemplates({AccessorIsGenerator:"A %0ter cannot be a generator.",ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accesor must not have any formal parameters.",BadSetterArity:"A 'set' accesor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accesor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:"'%0' require an initialization value.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:"`%0` has already been exported. Exported identifiers must be unique.",DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '%0' as '%1' } from 'some-module'`?",ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:"'%0' loop variable declaration may not have an initializer.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:"Unsyntactic %0.",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:'A string literal cannot be used as an imported binding.\n- Did you mean `import { "%0" as foo }`?',ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:"`import()` requires exactly %0.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidDecimal:"Invalid decimal.",InvalidDigit:"Expected number in radix %0.",InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:"Escape sequence in keyword %0.",InvalidIdentifier:"Invalid identifier %0.",InvalidLhs:"Invalid left-hand side in %0.",InvalidLhsBinding:"Binding invalid left-hand side in %0.",InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:"Unexpected character '%0'.",InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:"Private name #%0 is not defined.",InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:"Label '%0' is already declared.",LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:'Duplicate key "%0" is not allowed in module attributes.',ModuleExportNameHasLoneSurrogate:"An export name cannot include a lone surrogate, found '\\u%0'.",ModuleExportUndefined:"Export '%0' is not defined.",MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:"Primary Topic Reference found but pipelineOperator not passed 'smart' for 'proposal' option.",PrivateInExpectedIn:"Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`).",PrivateNameRedeclaration:"Duplicate private name #%0.",RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:"Assigning to '%0' in strict mode.",StrictEvalArgumentsBinding:"Binding '%0' in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:"Unexpected keyword '%0'.",UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Private names can only be used as the name of a class element (i.e. class C { #p = 42; #m() {} } )\n or a property of member expression (i.e. this.#p).",UnexpectedReservedWord:"Unexpected reserved word '%0'.",UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:"Unexpected token '%0'.",UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:"The only valid meta property for %0 is %0.%1.",UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",VarRedeclaration:"Identifier '%0' has already been declared.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},f.SyntaxError);const y=makeErrorTemplates({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},f.SourceTypeModuleError);function makeErrorTemplates(e,t){const s={};Object.keys(e).forEach(r=>{s[r]=Object.freeze({code:t,reasonCode:r,template:e[r]})});return Object.freeze(s)}class ParserError extends CommentsParser{getLocationForPosition(e){let t;if(e===this.state.start)t=this.state.startLoc;else if(e===this.state.lastTokStart)t=this.state.lastTokStartLoc;else if(e===this.state.end)t=this.state.endLoc;else if(e===this.state.lastTokEnd)t=this.state.lastTokEndLoc;else t=getLineInfo(this.input,e);return t}raise(e,{code:t,reasonCode:s,template:r},...i){return this.raiseWithData(e,{code:t,reasonCode:s},r,...i)}raiseOverwrite(e,{code:t,template:s},...r){const i=this.getLocationForPosition(e);const n=s.replace(/%(\d+)/g,(e,t)=>r[t])+` (${i.line}:${i.column})`;if(this.options.errorRecovery){const t=this.state.errors;for(let s=t.length-1;s>=0;s--){const r=t[s];if(r.pos===e){return Object.assign(r,{message:n})}else if(r.posr[t])+` (${i.line}:${i.column})`;return this._raise(Object.assign({loc:i,pos:e},t),n)}_raise(e,t){const s=new SyntaxError(t);Object.assign(s,e);if(this.options.errorRecovery){if(!this.isLookahead)this.state.errors.push(s);return s}else{throw s}}}var m=e=>(class extends e{parseRegExpLiteral({pattern:e,flags:t}){let s=null;try{s=new RegExp(e,t)}catch(e){}const r=this.estreeParseLiteral(s);r.regex={pattern:e,flags:t};return r}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const s=this.estreeParseLiteral(t);s.bigint=String(s.value||e);return s}parseDecimalLiteral(e){const t=null;const s=this.estreeParseLiteral(t);s.decimal=String(s.value||e);return s}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;const s=this.startNodeAt(e.start,e.loc.start);const r=this.startNodeAt(t.start,t.loc.start);r.value=t.extra.expressionValue;r.raw=t.extra.raw;s.expression=this.finishNodeAt(r,"Literal",t.end,t.loc.end);s.directive=t.extra.raw.slice(1,-1);return this.finishNodeAt(s,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}stmtToDirective(e){const t=super.stmtToDirective(e);const s=e.expression.value;this.addExtra(t.value,"expressionValue",s);return t}parseBlockBody(e,...t){super.parseBlockBody(e,...t);const s=e.directives.map(e=>this.directiveToStmt(e));e.body=s.concat(e.body);delete e.directives}pushClassMethod(e,t,s,r,i,n){this.parseMethod(t,s,r,i,n,"ClassMethod",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parseMaybePrivateName(...e){const t=super.parseMaybePrivateName(...e);if(t.type==="PrivateName"&&this.getPluginOption("estree","classFeatures")){return this.convertPrivateNameToPrivateIdentifier(t)}return t}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}return e.name}parseLiteral(e,t){const s=super.parseLiteral(e,t);s.raw=s.extra.raw;delete s.extra;return s}parseFunctionBody(e,t,s=false){super.parseFunctionBody(e,t,s);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,s,r,i,n,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,s,r,i,n,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(n==="ClassPrivateMethod"){e.computed=false}n="MethodDefinition";return this.finishNode(e,n)}parseClassProperty(...e){const t=super.parseClassProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition"}return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition";t.computed=false}return t}parseObjectMethod(e,t,s,r,i){const n=super.parseObjectMethod(e,t,s,r,i);if(n){n.type="Property";if(n.kind==="method")n.kind="init";n.shorthand=false}return n}parseObjectProperty(e,t,s,r,i){const n=super.parseObjectProperty(e,t,s,r,i);if(n){n.kind="init";n.type="Property"}return n}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){this.toAssignable(e.value,t);return e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){if(e.kind==="get"||e.kind==="set"){this.raise(e.key.start,d.PatternHasAccessor)}else if(e.method){this.raise(e.key.start,d.PatternHasMethod)}else{super.toAssignableObjectExpressionProp(e,...t)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];if(this.hasPlugin("importAssertions")){var s;e.attributes=(s=e.arguments[1])!=null?s:null}delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,s,r,i){const n=super.parseSubscript(e,t,s,r,i);if(i.optionalChainMember){if(n.type==="OptionalMemberExpression"||n.type==="OptionalCallExpression"){n.type=n.type.substring(8)}if(i.stop){const e=this.startNodeAtNode(n);e.expression=n;return this.finishNode(e,"ChainExpression")}}else if(n.type==="MemberExpression"||n.type==="CallExpression"){n.optional=false}return n}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}});class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const g={brace:new TokContext("{"),templateQuasi:new TokContext("${"),template:new TokContext("`",true)};c.braceR.updateContext=(e=>{if(e.length>1){e.pop()}});c.braceL.updateContext=c.braceHashL.updateContext=(e=>{e.push(g.brace)});c.dollarBraceL.updateContext=(e=>{e.push(g.templateQuasi)});c.backQuote.updateContext=(e=>{if(e[e.length-1]===g.template){e.pop()}else{e.push(g.template)}});let b="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let x="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const v=new RegExp("["+b+"]");const w=new RegExp("["+b+x+"]");b=x=null;const P=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const E=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let s=65536;for(let r=0,i=t.length;re)return false;s+=t[r+1];if(s>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&v.test(String.fromCharCode(e))}return isInAstralSet(e,P)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&w.test(String.fromCharCode(e))}return isInAstralSet(e,P)||isInAstralSet(e,E)}const A={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const T=new Set(A.keyword);const C=new Set(A.strict);const k=new Set(A.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||C.has(e)}function isStrictBindOnlyReservedWord(e){return k.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return T.has(e)}function isIteratorStart(e,t){return e===64&&t===64}const I=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function canBeReservedWord(e){return I.has(e)}const j=0,O=1,S=2,_=4,R=8,D=16,N=32,F=64,M=128,L=256,B=O|S|L;const U=1,W=2,q=4,H=8,z=16,V=64,K=128,$=256,G=512,J=1024,X=2048;const Y=U|W|H|K,Q=U|0|H|0,Z=U|0|q|0,ee=U|0|z|0,te=0|W|0|K,se=0|W|0|0,re=U|W|H|$,ie=0|0|0|J,ne=0|0|0|V,ae=U|0|0|V,oe=re|G,le=0|0|0|J,ce=X;const pe=4,ue=2,he=1,fe=ue|he;const de=ue|pe,ye=he|pe,me=ue,ge=he,be=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.scopeStack=[];this.undefinedExports=new Map;this.undefinedPrivateNames=new Map;this.raise=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&S)>0}get allowSuper(){return(this.currentThisScopeFlags()&D)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&N)>0}get inClass(){return(this.currentThisScopeFlags()&F)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&F)>0&&(e&S)===0}get inStaticBlock(){return(this.currentThisScopeFlags()&M)>0}get inNonArrowFunction(){return(this.currentThisScopeFlags()&S)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&S||!this.inModule&&e.flags&O)}declareName(e,t,s){let r=this.currentScope();if(t&H||t&z){this.checkRedeclarationInScope(r,e,t,s);if(t&z){r.functions.add(e)}else{r.lexical.add(e)}if(t&H){this.maybeExportDefined(r,e)}}else if(t&q){for(let i=this.scopeStack.length-1;i>=0;--i){r=this.scopeStack[i];this.checkRedeclarationInScope(r,e,t,s);r.var.add(e);this.maybeExportDefined(r,e);if(r.flags&B)break}}if(this.inModule&&r.flags&O){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.inModule&&e.flags&O){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,s,r){if(this.isRedeclaredInScope(e,t,s)){this.raise(r,d.VarRedeclaration,t)}}isRedeclaredInScope(e,t,s){if(!(s&U))return false;if(s&H){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(s&z){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&R&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const s=this.scopeStack[0];if(!s.lexical.has(t)&&!s.var.has(t)&&!s.functions.has(t)){this.undefinedExports.set(t,e.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&B){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(B|F)&&!(t&_)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,s){const r=this.currentScope();if(t&X){this.checkRedeclarationInScope(r,e,t,s);this.maybeExportDefined(r,e);r.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,s){if(super.isRedeclaredInScope(...arguments))return true;if(s&X){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}const xe=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]);const ve=makeErrorTemplates({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:"Cannot overwrite reserved type %0.",DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:"Boolean enum members need to be initialized. Use either `%0 = true,` or `%0 = false,` in enum `%1`.",EnumDuplicateMemberName:"Enum member names need to be unique, but the name `%0` has already been used before in enum `%1`.",EnumInconsistentMemberValues:"Enum `%0` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.",EnumInvalidExplicitType:"Enum type `%1` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidExplicitTypeUnknownSupplied:"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidMemberInitializerPrimaryType:"Enum `%0` has type `%2`, so the initializer of `%1` needs to be a %2 literal.",EnumInvalidMemberInitializerSymbolType:"Symbol enum members cannot be initialized. Use `%1,` in enum `%0`.",EnumInvalidMemberInitializerUnknownType:"The enum member initializer for `%1` needs to be a literal (either a boolean, number, or string) in enum `%0`.",EnumInvalidMemberName:"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%0`, consider using `%1`, in enum `%2`.",EnumNumberMemberNotInitialized:"Number enum members need to be initialized, e.g. `%1 = 1` in enum `%0`.",EnumStringMemberInconsistentlyInitailized:"String enum members need to consistently either all use initializers, or use no initializers, in enum `%0`.",GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",OptionalBindingPattern:"A binding pattern parameter cannot be optional in an implementation signature.",SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:"Unexpected reserved type %0.",UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:"`declare export %0` is not supported. Use `%1` instead.",UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."},f.SyntaxError);function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return(e.type===c.name||!!e.type.keyword)&&e.value!=="from"}const we={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const s=[];const r=[];for(let i=0;i(class extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==c.string&&e!==c.semi&&e!==c.interpreterDirective){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=Pe.exec(e.value);if(!t) ;else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||c.colon);const s=this.flowParseType();this.state.inType=t;return s}flowParsePredicate(){const e=this.startNode();const t=this.state.start;this.next();this.expectContextual("checks");if(this.state.lastTokStart>t+1){this.raise(t,ve.UnexpectedSpaceBetweenModuloChecks)}if(this.eat(c.parenL)){e.value=this.parseExpression();this.expect(c.parenR);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(c.colon);let t=null;let s=null;if(this.match(c.modulo)){this.state.inType=e;s=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(c.modulo)){s=this.flowParsePredicate()}}return[t,s]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const s=this.startNode();const r=this.startNode();if(this.isRelational("<")){s.typeParameters=this.flowParseTypeParameterDeclaration()}else{s.typeParameters=null}this.expect(c.parenL);const i=this.flowParseFunctionTypeParams();s.params=i.params;s.rest=i.rest;s.this=i._this;this.expect(c.parenR);[s.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser();r.typeAnnotation=this.finishNode(s,"FunctionTypeAnnotation");t.typeAnnotation=this.finishNode(r,"TypeAnnotation");this.resetEndLocation(t);this.semicolon();this.scope.declareName(e.id.name,ce,e.id.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(c._class)){return this.flowParseDeclareClass(e)}else if(this.match(c._function)){return this.flowParseDeclareFunction(e)}else if(this.match(c._var)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual("module")){if(this.match(c.dot)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(this.state.lastTokStart,ve.NestedDeclareModule)}return this.flowParseDeclareModule(e)}}else if(this.isContextual("type")){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual("opaque")){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual("interface")){return this.flowParseDeclareInterface(e)}else if(this.match(c._export)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,Z,e.id.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(j);if(this.match(c.string)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const s=t.body=[];this.expect(c.braceL);while(!this.match(c.braceR)){let e=this.startNode();if(this.match(c._import)){this.next();if(!this.isContextual("type")&&!this.match(c._typeof)){this.raise(this.state.lastTokStart,ve.InvalidNonTypeImportInDeclareModule)}this.parseImport(e)}else{this.expectContextual("declare",ve.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}s.push(e)}this.scope.exit();this.expect(c.braceR);this.finishNode(t,"BlockStatement");let r=null;let i=false;s.forEach(e=>{if(isEsModuleType(e)){if(r==="CommonJS"){this.raise(e.start,ve.AmbiguousDeclareModuleKind)}r="ES"}else if(e.type==="DeclareModuleExports"){if(i){this.raise(e.start,ve.DuplicateDeclareModuleExports)}if(r==="ES"){this.raise(e.start,ve.AmbiguousDeclareModuleKind)}r="CommonJS";i=true}});e.kind=r||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(c._export);if(this.eat(c._default)){if(this.match(c._function)||this.match(c._class)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(c._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value;const t=we[e];throw this.raise(this.state.start,ve.UnsupportedDeclareExportKind,e,t)}if(this.match(c._var)||this.match(c._function)||this.match(c._class)||this.isContextual("opaque")){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(c.star)||this.match(c.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque")){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual("exports");e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?ee:Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(c._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(c.comma))}if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(c.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(c.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(this.state.start,ve.UnexpectedReservedUnderscore)}}checkReservedType(e,t,s){if(!xe.has(e))return;this.raise(t,s?ve.AssignReservedType:ve.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.start,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(c.eq);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual("type");e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(c.colon)){e.supertype=this.flowParseTypeInitialiser(c.colon)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(c.eq)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.start;const s=this.startNode();const r=this.flowParseVariance();const i=this.flowParseTypeAnnotatableIdentifier();s.name=i.name;s.variance=r;s.bound=i.typeAnnotation;if(this.match(c.eq)){this.eat(c.eq);s.default=this.flowParseType()}else{if(e){this.raise(t,ve.MissingTypeParamDefault)}}return this.finishNode(s,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.isRelational("<")||this.match(c.jsxTagStart)){this.next()}else{this.unexpected()}let s=false;do{const e=this.flowParseTypeParameter(s);t.params.push(e);if(e.default){s=true}if(!this.isRelational(">")){this.expect(c.comma)}}while(!this.isRelational(">"));this.expectRelational(">");this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");const s=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.isRelational(">")){e.params.push(this.flowParseType());if(!this.isRelational(">")){this.expect(c.comma)}}this.state.noAnonFunctionType=s;this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");while(!this.isRelational(">")){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.isRelational(">")){this.expect(c.comma)}}this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual("interface");e.extends=[];if(this.eat(c._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(c.comma))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(c.num)||this.match(c.string)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,s){e.static=t;if(this.lookahead().type===c.colon){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(c.bracketR);e.value=this.flowParseTypeInitialiser();e.variance=s;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(c.bracketR);this.expect(c.bracketR);if(this.isRelational("<")||this.match(c.parenL)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(c.question)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(c.parenL);if(this.match(c._this)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(c.parenR)){this.expect(c.comma)}}while(!this.match(c.parenR)&&!this.match(c.ellipsis)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(c.parenR)){this.expect(c.comma)}}if(this.eat(c.ellipsis)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(c.parenR);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const s=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(s);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:s,allowProto:r,allowInexact:i}){const n=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let p=false;if(t&&this.match(c.braceBarL)){this.expect(c.braceBarL);o=c.braceBarR;l=true}else{this.expect(c.braceL);o=c.braceR;l=false}a.exact=l;while(!this.match(o)){let t=false;let n=null;let o=null;const u=this.startNode();if(r&&this.isContextual("proto")){const t=this.lookahead();if(t.type!==c.colon&&t.type!==c.question){this.next();n=this.state.start;e=false}}if(e&&this.isContextual("static")){const e=this.lookahead();if(e.type!==c.colon&&e.type!==c.question){this.next();t=true}}const h=this.flowParseVariance();if(this.eat(c.bracketL)){if(n!=null){this.unexpected(n)}if(this.eat(c.bracketL)){if(h){this.unexpected(h.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(u,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(u,t,h))}}else if(this.match(c.parenL)||this.isRelational("<")){if(n!=null){this.unexpected(n)}if(h){this.unexpected(h.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(u,t))}else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();if(t.type===c.name||t.type===c.string||t.type===c.num){e=this.state.value;this.next()}}const r=this.flowParseObjectTypeProperty(u,t,n,h,e,s,i!=null?i:!l);if(r===null){p=true;o=this.state.lastTokStart}else{a.properties.push(r)}}this.flowObjectTypeSemicolon();if(o&&!this.match(c.braceR)&&!this.match(c.braceBarR)){this.raise(o,ve.UnexpectedExplicitInexactInObject)}}this.expect(o);if(s){a.inexact=p}const u=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=n;return u}flowParseObjectTypeProperty(e,t,s,r,i,n,a){if(this.eat(c.ellipsis)){const t=this.match(c.comma)||this.match(c.semi)||this.match(c.braceR)||this.match(c.braceBarR);if(t){if(!n){this.raise(this.state.lastTokStart,ve.InexactInsideNonObject)}else if(!a){this.raise(this.state.lastTokStart,ve.InexactInsideExact)}if(r){this.raise(r.start,ve.InexactVariance)}return null}if(!n){this.raise(this.state.lastTokStart,ve.UnexpectedSpreadType)}if(s!=null){this.unexpected(s)}if(r){this.raise(r.start,ve.SpreadVariance)}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=s!=null;e.kind=i;let a=false;if(this.isRelational("<")||this.match(c.parenL)){e.method=true;if(s!=null){this.unexpected(s)}if(r){this.unexpected(r.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(i==="get"||i==="set"){this.flowCheckGetterSetterParams(e)}if(!n&&e.key.name==="constructor"&&e.value.this){this.raise(e.value.this.start,ve.ThisParamBannedInConstructor)}}else{if(i!=="init")this.unexpected();e.method=false;if(this.eat(c.question)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=r}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const s=e.start;const r=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.value.this.start,e.kind==="get"?ve.GetterMayNotHaveThisParam:ve.SetterMayNotHaveThisParam)}if(r!==t){if(e.kind==="get"){this.raise(s,d.BadGetterArity)}else{this.raise(s,d.BadSetterArity)}}if(e.kind==="set"&&e.value.rest){this.raise(s,d.BadSetterRestParameter)}}flowObjectTypeSemicolon(){if(!this.eat(c.semi)&&!this.eat(c.comma)&&!this.match(c.braceR)&&!this.match(c.braceBarR)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,s){e=e||this.state.start;t=t||this.state.startLoc;let r=s||this.flowParseRestrictedIdentifier(true);while(this.eat(c.dot)){const s=this.startNodeAt(e,t);s.qualification=r;s.id=this.flowParseRestrictedIdentifier(true);r=this.finishNode(s,"QualifiedTypeIdentifier")}return r}flowParseGenericType(e,t,s){const r=this.startNodeAt(e,t);r.typeParameters=null;r.id=this.flowParseQualifiedTypeIdentifier(e,t,s);if(this.isRelational("<")){r.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(r,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(c._typeof);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(c.bracketL);while(this.state.possuper.parseFunctionBody(e,true,s))}return super.parseFunctionBody(e,false,s)}parseFunctionBodyAndFinish(e,t,s=false){if(this.match(c.colon)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(e,t,s)}parseStatement(e,t){if(this.state.strict&&this.match(c.name)&&this.state.value==="interface"){const e=this.lookahead();if(e.type===c.name||isKeyword(e.value)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const s=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(s)){this.flowPragma=null}return s}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(c._class)||this.match(c.name)||this.match(c._function)||this.match(c._var)||this.match(c._export)){return this.flowParseDeclare(e)}}else if(this.match(c.name)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){if(this.match(c.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"||this.shouldParseEnums()&&this.state.value==="enum")){return false}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,s,r){if(!this.match(c.question))return e;if(r){const i=this.tryParse(()=>super.parseConditional(e,t,s));if(!i.node){r.start=i.error.pos||this.state.start;return e}if(i.error)this.state=i.failState;return i.node}this.expect(c.question);const i=this.state.clone();const n=this.state.noArrowAt;const a=this.startNodeAt(t,s);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[p,u]=this.getArrowLikeExpressions(o);if(l||u.length>0){const e=[...n];if(u.length>0){this.state=i;this.state.noArrowAt=e;for(let t=0;t1){this.raise(i.start,ve.AmbiguousConditionalArrow)}if(l&&p.length===1){this.state=i;this.state.noArrowAt=e.concat(p[0].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=n;this.expect(c.colon);a.test=e;a.consequent=o;a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(undefined,undefined,undefined));return this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(c.colon);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const s=[e];const r=[];while(s.length!==0){const e=s.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{r.push(e)}s.push(e.body)}else if(e.type==="ConditionalExpression"){s.push(e.consequent);s.push(e.alternate)}}if(t){r.forEach(e=>this.finishArrowValidation(e));return[r,[]]}return partition(r,e=>e.params.every(e=>this.isAssignable(e,true)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingComma,false);this.scope.enter(S|_);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let s;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);s=t();this.state.noArrowParamsConversionAt.pop()}else{s=t()}return s}parseParenItem(e,t,s){e=super.parseParenItem(e,t,s);if(this.eat(c.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(c.colon)){const r=this.startNodeAt(t,s);r.expression=e;r.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(r,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();this.next();if(this.match(c.braceL)){e.specifiers=this.parseExportSpecifiers();this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual("enum")){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual("type")&&this.lookahead().type===c.star){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const t=this.state.start;const s=super.maybeParseExportNamespaceSpecifier(e);if(s&&e.exportKind==="type"){this.unexpected(t)}return s}parseClassId(e,t,s){super.parseClassId(e,t,s);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}}parseClassMember(e,t,s){const r=this.state.start;if(this.isContextual("declare")){if(this.parseClassMemberFromModifier(e,t)){return}t.declare=true}super.parseClassMember(e,t,s);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(r,ve.DeclareClassElement)}else if(t.value){this.raise(t.value.start,ve.DeclareClassFieldInitializer)}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(this.state.pos,d.InvalidIdentifier,t)}this.finishToken(c.name,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(c.braceBarL,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(c.relational,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(c.questionDot,2)}return this.finishOp(c.question,1)}else if(isIteratorStart(e,t)){this.state.pos+=2;return this.readIterator()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":return true;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every((e,s)=>{return e.type!=="ObjectMethod"&&(s===t||e.type==="SpreadElement")&&this.isAssignable(e)})}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every(e=>this.isAssignable(e));case"AssignmentExpression":return e.operator==="=";case"ParenthesizedExpression":case"TypeCastExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return false}}toAssignable(e,t=false){if(e.type==="TypeCastExpression"){return super.toAssignable(this.typeCastToParameter(e),t)}else{return super.toAssignable(e,t)}}toAssignableList(e,t,s){for(let t=0;t1||!t)){this.raise(i.typeAnnotation.start,ve.TypeCastInPattern)}}return e}parseArrayLike(e,t,s,r){const i=super.parseArrayLike(e,t,s,r);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(i.elements)}return i}checkLVal(e,...t){if(e.type!=="TypeCastExpression"){return super.checkLVal(e,...t)}}parseClassProperty(e){if(this.match(c.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(c.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(c.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(c.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,s,r,i,n){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,s,r,i,n);if(t.params&&i){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,ve.ThisParamBannedInConstructor)}}else if(t.type==="MethodDefinition"&&i&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,ve.ThisParamBannedInConstructor)}}}pushClassPrivateMethod(e,t,s,r){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,s,r)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(c.comma))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const s=t[0];if(this.isThisParam(s)&&e.kind==="get"){this.raise(s.start,ve.GetterMayNotHaveThisParam)}else if(this.isThisParam(s)){this.raise(s.start,ve.SetterMayNotHaveThisParam)}}}parsePropertyName(e,t){const s=this.flowParseVariance();const r=super.parsePropertyName(e,t);e.variance=s;return r}parseObjPropValue(e,t,s,r,i,n,a,o){if(e.variance){this.unexpected(e.variance.start)}delete e.variance;let l;if(this.isRelational("<")&&!a){l=this.flowParseTypeParameterDeclaration();if(!this.match(c.parenL))this.unexpected()}super.parseObjPropValue(e,t,s,r,i,n,a,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(c.question)){if(e.type!=="Identifier"){this.raise(e.start,ve.OptionalBindingPattern)}if(this.isThisParam(e)){this.raise(e.start,ve.ThisParamMayNotBeOptional)}e.optional=true}if(this.match(c.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(e.start,ve.ThisParamAnnotationRequired)}if(this.match(c.eq)&&this.isThisParam(e)){this.raise(e.start,ve.ThisParamNoDefault)}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,s){const r=super.parseMaybeDefault(e,t,s);if(r.type==="AssignmentPattern"&&r.typeAnnotation&&r.right.startsuper.parseMaybeAssign(e,t,s),i);if(!n.error)return n.node;const{context:r}=this.state;if(r[r.length-1]===g.j_oTag){r.length-=2}else if(r[r.length-1]===g.j_expr){r.length-=1}}if((r=n)!=null&&r.error||this.isRelational("<")){var a,o;i=i||this.state.clone();let r;const l=this.tryParse(i=>{var n;r=this.flowParseTypeParameterDeclaration();const a=this.forwardNoArrowParamsConversionAt(r,()=>{const i=super.parseMaybeAssign(e,t,s);this.resetStartLocationFromNode(i,r);return i});if(a.type!=="ArrowFunctionExpression"&&(n=a.extra)!=null&&n.parenthesized){i()}const o=this.maybeUnwrapTypeCastExpression(a);o.typeParameters=r;this.resetStartLocationFromNode(o,r);return a},i);let c=null;if(l.node&&this.maybeUnwrapTypeCastExpression(l.node).type==="ArrowFunctionExpression"){if(!l.error&&!l.aborted){if(l.node.async){this.raise(r.start,ve.UnexpectedTypeParameterBeforeAsyncArrowFunction)}return l.node}c=l.node}if((a=n)!=null&&a.node){this.state=n.failState;return n.node}if(c){this.state=l.failState;return c}if((o=n)!=null&&o.thrown)throw n.error;if(l.thrown)throw l.error;throw this.raise(r.start,ve.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t,s)}parseArrow(e){if(this.match(c.colon)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const s=this.startNode();[s.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(c.arrow))this.unexpected();return s});if(t.thrown)return null;if(t.error)this.state=t.failState;e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(){return this.match(c.colon)||super.shouldParseArrow()}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,s){if(s&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t0){this.raise(e.params[t].start,ve.ThisParamMustBeFirst)}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,s,r){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const r=this.startNodeAt(t,s);r.callee=e;r.arguments=this.parseCallExpressionArguments(c.parenR,false);e=this.finishNode(r,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.isRelational("<")){const i=this.state.clone();const n=this.tryParse(e=>this.parseAsyncArrowWithTypeParameters(t,s)||e(),i);if(!n.error&&!n.aborted)return n.node;const a=this.tryParse(()=>super.parseSubscripts(e,t,s,r),i);if(a.node&&!a.error)return a.node;if(n.node){this.state=n.failState;return n.node}if(a.node){this.state=a.failState;return a.node}throw n.error||a.error}return super.parseSubscripts(e,t,s,r)}parseSubscript(e,t,s,r,i){if(this.match(c.questionDot)&&this.isLookaheadToken_lt()){i.optionalChainMember=true;if(r){i.stop=true;return e}this.next();const n=this.startNodeAt(t,s);n.callee=e;n.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(c.parenL);n.arguments=this.parseCallExpressionArguments(c.parenR,false);n.optional=true;return this.finishCallExpression(n,true)}else if(!r&&this.shouldParseTypes()&&this.isRelational("<")){const r=this.startNodeAt(t,s);r.callee=e;const n=this.tryParse(()=>{r.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew();this.expect(c.parenL);r.arguments=this.parseCallExpressionArguments(c.parenR,false);if(i.optionalChainMember)r.optional=false;return this.finishCallExpression(r,i.optionalChainMember)});if(n.node){if(n.error)this.state=n.failState;return n.node}}return super.parseSubscript(e,t,s,r,i)}parseNewArguments(e){let t=null;if(this.shouldParseTypes()&&this.isRelational("<")){t=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node}e.typeArguments=t;super.parseNewArguments(e)}parseAsyncArrowWithTypeParameters(e,t){const s=this.startNodeAt(e,t);this.parseFunctionParams(s);if(!this.parseArrow(s))return;return this.parseArrowExpression(s,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(c.braceBarR,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const s=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(this.state.pos,ve.UnterminatedFlowComment)}return s}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){this.unexpected(null,ve.NestedFlowComment)}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1){throw this.raise(this.state.pos-2,d.UnterminatedComment)}this.state.pos=e+3;return}super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const s=this.input.charCodeAt(t+e);const r=this.input.charCodeAt(t+e+1);if(s===58&&r===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(s===58&&r!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(this.state.pos,d.UnterminatedComment)}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:s}){this.raise(e,ve.EnumBooleanMemberNotInitialized,s,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:s}){const r=s[0].toUpperCase()+s.slice(1);this.raise(e,ve.EnumInvalidMemberName,s,r,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:s}){this.raise(e,ve.EnumDuplicateMemberName,s,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,ve.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:s}){return this.raise(e,s===null?ve.EnumInvalidExplicitTypeUnknownSupplied:ve.EnumInvalidExplicitType,t,s)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:s,memberName:r}){let i=null;switch(s){case"boolean":case"number":case"string":i=ve.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":i=ve.EnumInvalidMemberInitializerSymbolType;break;default:i=ve.EnumInvalidMemberInitializerUnknownType}return this.raise(e,i,t,r,s)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:s}){this.raise(e,ve.EnumNumberMemberNotInitialized,t,s)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,ve.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start;const t=()=>this.match(c.comma)||this.match(c.braceR);switch(this.state.type){case c.num:{const s=this.parseNumericLiteral(this.state.value);if(t()){return{type:"number",pos:s.start,value:s}}return{type:"invalid",pos:e}}case c.string:{const s=this.parseStringLiteral(this.state.value);if(t()){return{type:"string",pos:s.start,value:s}}return{type:"invalid",pos:e}}case c._true:case c._false:{const s=this.parseBooleanLiteral(this.match(c._true));if(t()){return{type:"boolean",pos:s.start,value:s}}return{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;const t=this.parseIdentifier(true);const s=this.eat(c.eq)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:s}}flowEnumCheckExplicitTypeMismatch(e,t,s){const{explicitType:r}=t;if(r===null){return}if(r!==s){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const s=new Set;const r={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let i=false;while(!this.match(c.braceR)){if(this.eat(c.ellipsis)){i=true;break}const n=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.flowEnumErrorInvalidMemberName(a.start,{enumName:e,memberName:l})}if(s.has(l)){this.flowEnumErrorDuplicateMemberName(a.start,{enumName:e,memberName:l})}s.add(l);const p={enumName:e,explicitType:t,memberName:l};n.id=a;switch(o.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"boolean");n.init=o.value;r.booleanMembers.push(this.finishNode(n,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"number");n.init=o.value;r.numberMembers.push(this.finishNode(n,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"string");n.init=o.value;r.stringMembers.push(this.finishNode(n,"EnumStringMember"));break}case"invalid":{throw this.flowEnumErrorInvalidMemberInitializer(o.pos,p)}case"none":{switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.pos,p);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.pos,p);break;default:r.defaultedMembers.push(this.finishNode(n,"EnumDefaultedMember"))}}}if(!this.match(c.braceR)){this.expect(c.comma)}}return{members:r,hasUnknownMembers:i}}flowEnumStringMembers(e,t,{enumName:s}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:s})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:s})}return e}}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual("of")){if(!this.match(c.name)){throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t})}return t}return null}flowEnumBody(e,{enumName:t,nameLoc:s}){const r=this.flowEnumParseExplicitType({enumName:t});this.expect(c.braceL);const{members:i,hasUnknownMembers:n}=this.flowEnumMembers({enumName:t,explicitType:r});e.hasUnknownMembers=n;switch(r){case"boolean":e.explicitType=true;e.members=i.booleanMembers;this.expect(c.braceR);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=i.numberMembers;this.expect(c.braceR);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(c.braceR);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=i.defaultedMembers;this.expect(c.braceR);return this.finishNode(e,"EnumSymbolBody");default:{const r=()=>{e.members=[];this.expect(c.braceR);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const n=i.booleanMembers.length;const a=i.numberMembers.length;const o=i.stringMembers.length;const l=i.defaultedMembers.length;if(!n&&!a&&!o&&!l){return r()}else if(!n&&!a){e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(c.braceR);return this.finishNode(e,"EnumStringBody")}else if(!a&&!o&&n>=l){for(const e of i.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.booleanMembers;this.expect(c.braceR);return this.finishNode(e,"EnumBooleanBody")}else if(!n&&!o&&a>=l){for(const e of i.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.numberMembers;this.expect(c.braceR);return this.finishNode(e,"EnumNumberBody")}else{this.flowEnumErrorInconsistentMemberValues(s,{enumName:t});return r()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start});return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}});const Ae={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"};class State{constructor(){this.strict=void 0;this.curLine=void 0;this.startLoc=void 0;this.endLoc=void 0;this.errors=[];this.potentialArrowAt=-1;this.noArrowAt=[];this.noArrowParamsConversionAt=[];this.maybeInArrowParameters=false;this.inPipeline=false;this.inType=false;this.noAnonFunctionType=false;this.inPropertyName=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.decoratorStack=[[]];this.comments=[];this.trailingComments=[];this.leadingComments=[];this.commentStack=[];this.commentPreviousNode=null;this.pos=0;this.lineStart=0;this.type=c.eof;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.lastTokEnd=0;this.context=[g.brace];this.exprAllowed=true;this.containsEsc=false;this.strictErrors=new Map;this.tokensLength=0}init(e){this.strict=e.strictMode===false?false:e.sourceType==="module";this.curLine=e.startLine;this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new Position(this.curLine,this.pos-this.lineStart)}clone(e){const t=new State;const s=Object.keys(this);for(let r=0,i=s.length;r.",MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"},f.SyntaxError);g.j_oTag=new TokContext("...",true);c.jsxName=new TokenType("jsxName");c.jsxText=new TokenType("jsxText",{beforeExpr:true});c.jsxTagStart=new TokenType("jsxTagStart",{startsExpr:true});c.jsxTagEnd=new TokenType("jsxTagEnd");c.jsxTagStart.updateContext=(e=>{e.push(g.j_expr);e.push(g.j_oTag)});function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var Ie=e=>(class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,ke.UnterminatedJsxContent)}const s=this.input.charCodeAt(this.state.pos);switch(s){case 60:case 123:if(this.state.pos===this.state.start){if(s===60&&this.state.exprAllowed){++this.state.pos;return this.finishToken(c.jsxTagStart)}return super.getTokenFromCode(s)}e+=this.input.slice(t,this.state.pos);return this.finishToken(c.jsxText,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(s)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let s;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;s=e?"\n":"\r\n"}else{s=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return s}jsxReadString(e){let t="";let s=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,d.UnterminatedString)}const r=this.input.charCodeAt(this.state.pos);if(r===e)break;if(r===38){t+=this.input.slice(s,this.state.pos);t+=this.jsxReadEntity();s=this.state.pos}else if(isNewLine(r)){t+=this.input.slice(s,this.state.pos);t+=this.jsxReadNewLine(false);s=this.state.pos}else{++this.state.pos}}t+=this.input.slice(s,this.state.pos++);return this.finishToken(c.string,t)}jsxReadEntity(){let e="";let t=0;let s;let r=this.input[this.state.pos];const i=++this.state.pos;while(this.state.pos0}get hasYield(){return(this.currentFlags()&Oe)>0}get hasReturn(){return(this.currentFlags()&_e)>0}get hasIn(){return(this.currentFlags()&Re)>0}}function functionFlags(e,t){return(e?Se:0)|(t?Oe:0)}function nonNull(e){if(e==null){throw new Error(`Unexpected ${e} value.`)}return e}function assert(e){if(!e){throw new Error("Assert fail")}}const De=makeErrorTemplates({AbstractMethodHasImplementation:"Method '%0' cannot have an implementation because it is marked abstract.",AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:"'declare' is not allowed in %0ters.",DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:"Accessibility modifier already seen.",DuplicateModifier:"Duplicate modifier: '%0'.",EmptyHeritageClauseType:"'%0' list cannot be empty.",EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",IncompatibleModifiers:"'%0' modifier cannot be used with '%1' modifier.",IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:"Index signatures cannot have an accessibility modifier ('%0').",IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InvalidModifierOnTypeMember:"'%0' modifier cannot appear on a type member.",InvalidModifiersOrder:"'%0' modifier must precede '%1' modifier.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:"Private elements cannot have an accessibility modifier ('%0').",ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got %0."},f.SyntaxError);function keywordTypeFromName(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return undefined}}function tsIsAccessModifier(e){return e==="private"||e==="public"||e==="protected"}var Ne=e=>(class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return this.match(c.name)}tsTokenCanFollowModifier(){return(this.match(c.bracketL)||this.match(c.braceL)||this.match(c.star)||this.match(c.ellipsis)||this.match(c.privateName)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e){if(!this.match(c.name)){return undefined}const t=this.state.value;if(e.indexOf(t)!==-1&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return t}return undefined}tsParseModifiers(e,t,s,r){const i=(t,s,r,i)=>{if(s===r&&e[i]){this.raise(t,De.InvalidModifiersOrder,r,i)}};const n=(t,s,r,i)=>{if(e[r]&&s===i||e[i]&&s===r){this.raise(t,De.IncompatibleModifiers,r,i)}};for(;;){const a=this.state.start;const o=this.tsParseModifier(t.concat(s!=null?s:[]));if(!o)break;if(tsIsAccessModifier(o)){if(e.accessibility){this.raise(a,De.DuplicateAccessibilityModifier)}else{i(a,o,o,"override");i(a,o,o,"static");i(a,o,o,"readonly");e.accessibility=o}}else{if(Object.hasOwnProperty.call(e,o)){this.raise(a,De.DuplicateModifier,o)}else{i(a,o,"static","readonly");i(a,o,"static","override");i(a,o,"override","readonly");i(a,o,"abstract","override");n(a,o,"declare","override");n(a,o,"static","abstract")}e[o]=true}if(s!=null&&s.includes(o)){this.raise(a,r,o)}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(c.braceR);case"HeritageClauseElement":return this.match(c.braceL);case"TupleElementTypes":return this.match(c.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const s=[];while(!this.tsIsListTerminator(e)){s.push(t())}return s}tsParseDelimitedList(e,t){return nonNull(this.tsParseDelimitedListWorker(e,t,true))}tsParseDelimitedListWorker(e,t,s){const r=[];for(;;){if(this.tsIsListTerminator(e)){break}const i=t();if(i==null){return undefined}r.push(i);if(this.eat(c.comma)){continue}if(this.tsIsListTerminator(e)){break}if(s){this.expect(c.comma)}return undefined}return r}tsParseBracketedList(e,t,s,r){if(!r){if(s){this.expect(c.bracketL)}else{this.expectRelational("<")}}const i=this.tsParseDelimitedList(e,t);if(s){this.expect(c.bracketR)}else{this.expectRelational(">")}return i}tsParseImportType(){const e=this.startNode();this.expect(c._import);this.expect(c.parenL);if(!this.match(c.string)){this.raise(this.state.start,De.UnsupportedImportTypeArgument)}e.argument=this.parseExprAtom();this.expect(c.parenR);if(this.eat(c.dot)){e.qualifier=this.tsParseEntityName(true)}if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();while(this.eat(c.dot)){const s=this.startNodeAtNode(t);s.left=t;s.right=this.parseIdentifier(e);t=this.finishNode(s,"TSQualifiedName")}return t}tsParseTypeReference(){const e=this.startNode();e.typeName=this.tsParseEntityName(false);if(!this.hasPrecedingLineBreak()&&this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(c._typeof);if(this.match(c._import)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName(true)}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsEatThenParseType(c._extends);e.default=this.tsEatThenParseType(c.eq);return this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<")){return this.tsParseTypeParameters()}}tsParseTypeParameters(){const e=this.startNode();if(this.isRelational("<")||this.match(c.jsxTagStart)){this.next()}else{this.unexpected()}e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),false,true);if(e.params.length===0){this.raise(e.start,De.EmptyTypeParameters)}return this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type===c._const){this.next();return this.tsParseTypeReference()}return null}tsFillSignature(e,t){const s=e===c.arrow;t.typeParameters=this.tsTryParseTypeParameters();this.expect(c.parenL);t.parameters=this.tsParseBindingListForSignature();if(s){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(c.parenR,41).map(e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(e.start,De.UnsupportedSignatureParameterKind,e.type)}return e})}tsParseTypeMemberSemicolon(){if(!this.eat(c.comma)&&!this.isLineTerminator()){this.expect(c.semi)}}tsParseSignatureMember(e,t){this.tsFillSignature(c.colon,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();return this.eat(c.name)&&this.match(c.colon)}tsTryParseIndexSignature(e){if(!(this.match(c.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(c.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(c.bracketR);e.parameters=[t];const s=this.tsTryParseTypeAnnotation();if(s)e.typeAnnotation=s;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(c.question))e.optional=true;const s=e;if(this.match(c.parenL)||this.isRelational("<")){if(t){this.raise(e.start,De.ReadonlyForMethodSignature)}const r=s;if(r.kind&&this.isRelational("<")){this.raise(this.state.pos,De.AccesorCannotHaveTypeParameters)}this.tsFillSignature(c.colon,r);this.tsParseTypeMemberSemicolon();if(r.kind==="get"){if(r.parameters.length>0){this.raise(this.state.pos,d.BadGetterArity);if(this.isThisParam(r.parameters[0])){this.raise(this.state.pos,De.AccesorCannotDeclareThisParameter)}}}else if(r.kind==="set"){if(r.parameters.length!==1){this.raise(this.state.pos,d.BadSetterArity)}else{const e=r.parameters[0];if(this.isThisParam(e)){this.raise(this.state.pos,De.AccesorCannotDeclareThisParameter)}if(e.type==="Identifier"&&e.optional){this.raise(this.state.pos,De.SetAccesorCannotHaveOptionalParameter)}if(e.type==="RestElement"){this.raise(this.state.pos,De.SetAccesorCannotHaveRestParameter)}}if(r.typeAnnotation){this.raise(r.typeAnnotation.start,De.SetAccesorCannotHaveReturnType)}}else{r.kind="method"}return this.finishNode(r,"TSMethodSignature")}else{const e=s;if(t)e.readonly=true;const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(c.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(c._new)){const t=this.startNode();this.next();if(this.match(c.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],De.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e,false);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;this.parsePropertyName(e,false)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(c.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(c.braceR);return e}tsIsStartOfMappedType(){this.next();if(this.eat(c.plusMin)){return this.isContextual("readonly")}if(this.isContextual("readonly")){this.next()}if(!this.match(c.bracketL)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(c._in)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsExpectThenParseType(c._in);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(c.braceL);if(this.match(c.plusMin)){e.readonly=this.state.value;this.next();this.expectContextual("readonly")}else if(this.eatContextual("readonly")){e.readonly=true}this.expect(c.bracketL);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual("as")?this.tsParseType():null;this.expect(c.bracketR);if(this.match(c.plusMin)){e.optional=this.state.value;this.next();this.expect(c.question)}else if(this.eat(c.question)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(c.braceR);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let s=null;e.elementTypes.forEach(e=>{var r;let{type:i}=e;if(t&&i!=="TSRestType"&&i!=="TSOptionalType"&&!(i==="TSNamedTupleMember"&&e.optional)){this.raise(e.start,De.OptionalTypeBeforeRequired)}t=t||i==="TSNamedTupleMember"&&e.optional||i==="TSOptionalType";if(i==="TSRestType"){e=e.typeAnnotation;i=e.type}const n=i==="TSNamedTupleMember";s=(r=s)!=null?r:n;if(s!==n){this.raise(e.start,De.MixedLabeledAndUnlabeledElements)}});return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const s=this.eat(c.ellipsis);let r=this.tsParseType();const i=this.eat(c.question);const n=this.eat(c.colon);if(n){const e=this.startNodeAtNode(r);e.optional=i;if(r.type==="TSTypeReference"&&!r.typeParameters&&r.typeName.type==="Identifier"){e.label=r.typeName}else{this.raise(r.start,De.InvalidTupleMemberLabel);e.label=r}e.elementType=this.tsParseType();r=this.finishNode(e,"TSNamedTupleMember")}else if(i){const e=this.startNodeAtNode(r);e.typeAnnotation=r;r=this.finishNode(e,"TSOptionalType")}if(s){const s=this.startNodeAt(e,t);s.typeAnnotation=r;r=this.finishNode(s,"TSRestType")}return r}tsParseParenthesizedType(){const e=this.startNode();this.expect(c.parenL);e.typeAnnotation=this.tsParseType();this.expect(c.parenR);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const s=this.startNode();if(e==="TSConstructorType"){s.abstract=!!t;if(t)this.next();this.next()}this.tsFillSignature(c.arrow,s);return this.finishNode(s,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case c.num:case c.bigint:case c.string:case c._true:case c._false:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case c.name:case c._void:case c._null:{const e=this.match(c._void)?"TSVoidKeyword":this.match(c._null)?"TSNullKeyword":keywordTypeFromName(this.state.value);if(e!==undefined&&this.lookaheadCharCode()!==46){const t=this.startNode();this.next();return this.finishNode(t,e)}return this.tsParseTypeReference()}case c.string:case c.num:case c.bigint:case c._true:case c._false:return this.tsParseLiteralTypeNode();case c.plusMin:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==c.num&&t.type!==c.bigint){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case c._this:return this.tsParseThisTypeOrThisTypePredicate();case c._typeof:return this.tsParseTypeQuery();case c._import:return this.tsParseImportType();case c.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case c.bracketL:return this.tsParseTupleType();case c.parenL:return this.tsParseParenthesizedType();case c.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(c.bracketL)){if(this.match(c.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(c.bracketR);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(c.bracketR);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(e){const t=this.startNode();this.expectContextual(e);t.operator=e;t.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(e==="readonly"){this.tsCheckTypeAnnotationForReadOnly(t)}return this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,De.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();t.name=this.parseIdentifierName(t.start);e.typeParameter=this.finishNode(t,"TSTypeParameter");return this.finishNode(e,"TSInferType")}tsParseTypeOperatorOrHigher(){const e=["keyof","unique","readonly"].find(e=>this.isContextual(e));return e?this.tsParseTypeOperator(e):this.isContextual("infer")?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}tsParseUnionOrIntersectionType(e,t,s){const r=this.startNode();const i=this.eat(s);const n=[];do{n.push(t())}while(this.eat(s));if(n.length===1&&!i){return n[0]}r.types=n;return this.finishNode(r,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),c.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),c.bitwiseOR)}tsIsStartOfFunctionType(){if(this.isRelational("<")){return true}return this.match(c.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(c.name)||this.match(c._this)){this.next();return true}if(this.match(c.braceL)){let e=1;this.next();while(e>0){if(this.match(c.braceL)){++e}else if(this.match(c.braceR)){--e}this.next()}return true}if(this.match(c.bracketL)){let e=1;this.next();while(e>0){if(this.match(c.bracketL)){++e}else if(this.match(c.bracketR)){--e}this.next()}return true}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(c.parenR)||this.match(c.ellipsis)){return true}if(this.tsSkipParameterStart()){if(this.match(c.colon)||this.match(c.comma)||this.match(c.question)||this.match(c.eq)){return true}if(this.match(c.parenR)){this.next();if(this.match(c.arrow)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const s=this.startNode();const r=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(r&&this.match(c._this)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){s.parameterName=e;s.asserts=true;s.typeAnnotation=null;e=this.finishNode(s,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,s);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i){if(!r){return this.tsParseTypeAnnotation(false,t)}s.parameterName=this.parseIdentifier();s.asserts=r;s.typeAnnotation=null;t.typeAnnotation=this.finishNode(s,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const n=this.tsParseTypeAnnotation(false);s.parameterName=i;s.typeAnnotation=n;s.asserts=r;t.typeAnnotation=this.finishNode(s,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(c.colon)?this.tsParseTypeOrTypePredicateAnnotation(c.colon):undefined}tsTryParseTypeAnnotation(){return this.match(c.colon)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(c.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(!this.match(c.name)||this.state.value!=="asserts"||this.hasPrecedingLineBreak()){return false}const e=this.state.containsEsc;this.next();if(!this.match(c.name)&&!this.match(c._this)){return false}if(e){this.raise(this.state.lastTokStart,d.InvalidEscapedReservedWord,"asserts")}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType(()=>{if(e)this.expect(c.colon);t.typeAnnotation=this.tsParseType()});return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(c._extends)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsParseNonConditionalType();this.expect(c.question);t.trueType=this.tsParseType();this.expect(c.colon);t.falseType=this.tsParseType();return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual("abstract")&&this.lookahead().type===c._new}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(c._new)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expectRelational(">");e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start;const s=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));if(!s.length){this.raise(t,De.EmptyHeritageClauseType,e)}return s}tsParseExpressionWithTypeArguments(){const e=this.startNode();e.expression=this.tsParseEntityName(false);if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript interface declaration",te);e.typeParameters=this.tsTryParseTypeParameters();if(this.eat(c._extends)){e.extends=this.tsParseHeritageClause("extends")}const t=this.startNode();t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(t,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript type alias",se);e.typeParameters=this.tsTryParseTypeParameters();e.typeAnnotation=this.tsInType(()=>{this.expect(c.eq);if(this.isContextual("intrinsic")&&this.lookahead().type!==c.dot){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()});this.semicolon();return this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){const t=this.state.inType;this.state.inType=true;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>{e();return this.tsParseType()})}tsParseEnumMember(){const e=this.startNode();e.id=this.match(c.string)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(c.eq)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){if(t)e.const=true;e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript enum declaration",t?oe:re);this.expect(c.braceL);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(c.braceR);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(j);this.expect(c.braceL);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,c.braceR);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkLVal(e.id,"module or namespace declaration",le)}if(this.eat(c.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(L);this.prodParam.enter(je);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual("global")){e.global=true;e.id=this.parseIdentifier()}else if(this.match(c.string)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(c.braceL)){this.scope.enter(L);this.prodParam.enter(je);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkLVal(e.id,"import equals declaration",Q);this.expect(c.eq);const s=this.tsParseModuleReference();if(e.importKind==="type"&&s.type!=="TSExternalModuleReference"){this.raise(s.start,De.ImportAliasHasImportType)}e.moduleReference=s;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual("require");this.expect(c.parenL);if(!this.match(c.string)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(c.parenR);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const s=e();this.state=t;return s}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const s=e();if(s!==undefined&&s!==false){return s}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let s;if(this.isContextual("let")){t=c._var;s="let"}return this.tsInAmbientContext(()=>{switch(t){case c._function:e.declare=true;return this.parseFunctionStatement(e,false,true);case c._class:e.declare=true;return this.parseClass(e,true,false);case c._const:if(this.match(c._const)&&this.isLookaheadContextual("enum")){this.expect(c._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}case c._var:s=s||this.state.value;return this.parseVarStatement(e,s);case c.name:{const t=this.state.value;if(t==="global"){return this.tsParseAmbientExternalModuleDeclaration(e)}else{return this.tsParseDeclaration(e,t,true)}}}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(c.braceL)){this.scope.enter(L);this.prodParam.enter(je);const s=e;s.global=true;s.id=t;s.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(s,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,s){switch(t){case"abstract":if(this.tsCheckLineTerminator(s)&&(this.match(c._class)||this.match(c.name))){return this.tsParseAbstractDeclaration(e)}break;case"enum":if(s||this.match(c.name)){if(s)this.next();return this.tsParseEnumDeclaration(e,false)}break;case"interface":if(this.tsCheckLineTerminator(s)&&this.match(c.name)){return this.tsParseInterfaceDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(s)){if(this.match(c.string)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(this.match(c.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(s)&&this.match(c.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(s)&&this.match(c.name)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<")){return undefined}const s=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const r=this.tsTryParseAndCatch(()=>{const s=this.startNodeAt(e,t);s.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(s);s.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(c.arrow);return s});this.state.maybeInArrowParameters=s;if(!r){return undefined}return this.parseArrowExpression(r,null,true)}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType(()=>this.tsInNoContext(()=>{this.expectRelational("<");return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}));if(e.params.length===0){this.raise(e.start,De.EmptyTypeArguments)}this.expectRelational(">");return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(c.name)){switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return true}}return false}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const s=this.state.start;const r=this.state.startLoc;let i;let n=false;let a=false;if(e!==undefined){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]);i=t.accessibility;a=t.override;n=t.readonly;if(e===false&&(i||n||a)){this.raise(s,De.UnexpectedParameterModifier)}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(i||n||a){const e=this.startNodeAt(s,r);if(t.length){e.decorators=t}if(i)e.accessibility=i;if(n)e.readonly=n;if(a)e.override=a;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(e.start,De.UnsupportedParameterPropertyKind)}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}parseFunctionBodyAndFinish(e,t,s=false){if(this.match(c.colon)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(c.colon)}const r=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"?"TSDeclareMethod":undefined;if(r&&!this.match(c.braceL)&&this.isLineTerminator()){this.finishNode(e,r);return}if(r==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(e.start,De.DeclareFunctionHasImplementation);if(e.declare){super.parseFunctionBodyAndFinish(e,r,s);return}}super.parseFunctionBodyAndFinish(e,t,s)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkLVal(e.id,"function name",ie)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(e.typeAnnotation.start,De.UnexpectedTypeAnnotation)}})}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,s,r,i){if(!this.hasPrecedingLineBreak()&&this.match(c.bang)){this.state.exprAllowed=false;this.next();const r=this.startNodeAt(t,s);r.expression=e;return this.finishNode(r,"TSNonNullExpression")}if(this.isRelational("<")){const n=this.tsTryParseAndCatch(()=>{if(!r&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,s);if(e){return e}}const n=this.startNodeAt(t,s);n.callee=e;const a=this.tsParseTypeArguments();if(a){if(!r&&this.eat(c.parenL)){n.arguments=this.parseCallExpressionArguments(c.parenR,false);this.tsCheckForInvalidTypeCasts(n.arguments);n.typeParameters=a;if(i.optionalChainMember){n.optional=false}return this.finishCallExpression(n,i.optionalChainMember)}else if(this.match(c.backQuote)){const r=this.parseTaggedTemplateExpression(e,t,s,i);r.typeParameters=a;return r}}this.unexpected()});if(n)return n}return super.parseSubscript(e,t,s,r,i)}parseNewArguments(e){if(this.isRelational("<")){const t=this.tsTryParseAndCatch(()=>{const e=this.tsParseTypeArguments();if(!this.match(c.parenL))this.unexpected();return e});if(t){e.typeParameters=t}}super.parseNewArguments(e)}parseExprOp(e,t,s,r){if(nonNull(c._in.binop)>r&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const i=this.startNodeAt(t,s);i.expression=e;const n=this.tsTryNextParseConstantContext();if(n){i.typeAnnotation=n}else{i.typeAnnotation=this.tsNextThenParseType()}this.finishNode(i,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(i,t,s,r)}return super.parseExprOp(e,t,s,r)}checkReservedWord(e,t,s,r){}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(this.match(c.name)||this.match(c.star)||this.match(c.braceL)){let t=this.lookahead();if(this.isContextual("type")&&t.type!==c.comma&&!(t.type===c.name&&t.value==="from")&&t.type!==c.eq){e.importKind="type";this.next();t=this.lookahead()}if(this.match(c.name)&&t.type===c.eq){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(t.start,De.TypeImportCannotSpecifyDefaultAndNamed)}return t}parseExport(e){if(this.match(c._import)){this.next();if(this.isContextual("type")&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(c.eq)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual("as")){const t=e;this.expectContextual("namespace");t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual("type")&&this.lookahead().type===c.braceL){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===c._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.state.value==="interface"){const e=this.tsParseDeclaration(this.startNode(),this.state.value,true);if(e)return e}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===c._const){const e=this.lookahead();if(e.type===c.name&&e.value==="enum"){const e=this.startNode();this.expect(c._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!e[t]})}parseClassMember(e,t,s){const r=["declare","private","public","protected","override","abstract","readonly"];this.tsParseModifiers(t,r.concat(["static"]));const i=()=>{const i=!!t.static;if(i&&this.eat(c.braceL)){if(this.tsHasSomeModifiers(t,r)){this.raise(this.state.pos,De.StaticBlockCannotHaveModifier)}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,s,i)}};if(t.declare){this.tsInAmbientContext(i)}else{i()}}parseClassMemberWithIsStatic(e,t,s,r){const i=this.tsTryParseIndexSignature(t);if(i){e.body.push(i);if(t.abstract){this.raise(t.start,De.IndexSignatureHasAbstract)}if(t.accessibility){this.raise(t.start,De.IndexSignatureHasAccessibility,t.accessibility)}if(t.declare){this.raise(t.start,De.IndexSignatureHasDeclare)}if(t.override){this.raise(t.start,De.IndexSignatureHasOverride)}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(t.start,De.NonAbstractClassHasAbstractMethod)}if(t.override){if(!s.hadSuperClass){this.raise(t.start,De.OverrideNotInSubClass)}}super.parseClassMemberWithIsStatic(e,t,s,r)}parsePostMemberNameModifiers(e){const t=this.eat(c.question);if(t)e.optional=true;if(e.readonly&&this.match(c.parenL)){this.raise(e.start,De.ClassMethodHasReadonly)}if(e.declare&&this.match(c.parenL)){this.raise(e.start,De.ClassMethodHasDeclare)}}parseExpressionStatement(e,t){const s=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return s||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,s,r){if(!r||!this.match(c.question)){return super.parseConditional(e,t,s,r)}const i=this.tryParse(()=>super.parseConditional(e,t,s));if(!i.node){r.start=i.error.pos||this.state.start;return e}if(i.error)this.state=i.failState;return i.node}parseParenItem(e,t,s){e=super.parseParenItem(e,t,s);if(this.eat(c.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(c.colon)){const r=this.startNodeAt(t,s);r.expression=e;r.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(r,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start;const s=this.state.startLoc;const r=this.eatContextual("declare");if(r&&(this.isContextual("declare")||!this.shouldParseExportDeclaration())){throw this.raise(this.state.start,De.ExpectedAmbientAfterExportDeclare)}let i;if(this.match(c.name)){i=this.tsTryParseExportDeclaration()}if(!i){i=super.parseExportDeclaration(e)}if(i&&(i.type==="TSInterfaceDeclaration"||i.type==="TSTypeAliasDeclaration"||r)){e.exportKind="type"}if(i&&r){this.resetStartLocation(i,t,s);i.declare=true}return i}parseClassId(e,t,s){if((!t||s)&&this.isContextual("implements")){return}super.parseClassId(e,t,s,e.declare?ie:Y);const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(c.bang)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(c.eq)){this.raise(this.state.start,De.DeclareClassFieldHasInitializer)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(e.start,De.PrivateElementHasAbstract)}if(e.accessibility){this.raise(e.start,De.PrivateElementHasAccessibility,e.accessibility)}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,s,r,i,n){const a=this.tsTryParseTypeParameters();if(a&&i){this.raise(a.start,De.ConstructorHasTypeParameters)}if(t.declare&&(t.kind==="get"||t.kind==="set")){this.raise(t.start,De.DeclareAccessor,t.kind)}if(a)t.typeParameters=a;super.pushClassMethod(e,t,s,r,i,n)}pushClassPrivateMethod(e,t,s,r){const i=this.tsTryParseTypeParameters();if(i)t.typeParameters=i;super.pushClassPrivateMethod(e,t,s,r)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.tsParseTypeArguments()}if(this.eatContextual("implements")){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const s=this.tsTryParseTypeParameters();if(s)e.typeParameters=s;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const s=this.tsTryParseTypeParameters();if(s)e.typeParameters=s;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&this.eat(c.bang)){e.definite=true}const s=this.tsTryParseTypeAnnotation();if(s){e.id.typeAnnotation=s;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(c.colon)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,s,r,i,n,a,o;let l;let p;let u;if(this.hasPlugin("jsx")&&(this.match(c.jsxTagStart)||this.isRelational("<"))){l=this.state.clone();p=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!p.error)return p.node;const{context:t}=this.state;if(t[t.length-1]===g.j_oTag){t.length-=2}else if(t[t.length-1]===g.j_expr){t.length-=1}}if(!((t=p)!=null&&t.error)&&!this.isRelational("<")){return super.parseMaybeAssign(...e)}let h;l=l||this.state.clone();const f=this.tryParse(t=>{var s,r;h=this.tsParseTypeParameters();const i=super.parseMaybeAssign(...e);if(i.type!=="ArrowFunctionExpression"||(s=i.extra)!=null&&s.parenthesized){t()}if(((r=h)==null?void 0:r.params.length)!==0){this.resetStartLocationFromNode(i,h)}i.typeParameters=h;return i},l);if(!f.error&&!f.aborted)return f.node;if(!p){assert(!this.hasPlugin("jsx"));u=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!u.error)return u.node}if((s=p)!=null&&s.node){this.state=p.failState;return p.node}if(f.node){this.state=f.failState;return f.node}if((r=u)!=null&&r.node){this.state=u.failState;return u.node}if((i=p)!=null&&i.thrown)throw p.error;if(f.thrown)throw f.error;if((n=u)!=null&&n.thrown)throw u.error;throw((a=p)==null?void 0:a.error)||f.error||((o=u)==null?void 0:o.error)}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.isRelational("<")){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(c.colon)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(c.colon);if(this.canInsertSemicolon()||!this.match(c.arrow))e();return t});if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(c.question)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(e.start,De.PatternIsOptional)}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}toAssignable(e,t=false){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...s){var r;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...s);return;case"TSAsExpression":case"TSTypeAssertion":if(!s[0]&&t!=="parenthesized expression"&&!((r=e.extra)!=null&&r.parenthesized)){this.raise(e.start,d.InvalidLhs,t);break}this.checkLVal(e.expression,"parenthesized expression",...s);return;case"TSNonNullExpression":this.checkLVal(e.expression,t,...s);return;default:super.checkLVal(e,t,...s);return}}parseBindingAtom(){switch(this.state.type){case c._this:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(c.parenL)){const s=super.parseMaybeDecoratorArguments(e);s.typeParameters=t;return s}this.unexpected(this.state.start,c.parenL)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(c.comma)&&this.lookaheadCharCode()===e){this.next()}else{super.checkCommaAfterRest(e)}}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(c.bang)||this.match(c.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.startthis.tsParseTypeArguments());if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const s=this.getObjectOrClassMethodParams(e);const r=s[0];const i=r&&this.isThisParam(r);return i?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,...t){const s=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,...t)}finally{this.state.inAbstractClass=s}}tsParseAbstractDeclaration(e){if(this.match(c._class)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual("interface")){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(e.start,De.NonClassMethodPropertyHasAbstractModifer);this.next();return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,c._class)}}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(t.start,De.AbstractMethodHasImplementation,e.type==="Identifier"?e.name:`[${this.input.slice(e.start,e.end)}]`)}}return t}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}});c.placeholder=new TokenType("%%",{startsExpr:true});const Fe=makeErrorTemplates({ClassNameIsRequired:"A class name is required."},f.SyntaxError);var Me=e=>(class extends e{parsePlaceholder(e){if(this.match(c.placeholder)){const t=this.startNode();this.next();this.assertNoSpace("Unexpected space in placeholder.");t.name=super.parseIdentifier(true);this.assertNoSpace("Unexpected space in placeholder.");this.expect(c.placeholder);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const s=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return s?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(c.placeholder,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){if(e.type!=="Placeholder")super.checkLVal(...arguments)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern";return e}return super.toAssignable(...arguments)}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual("let")){return false}if(e)return false;const t=this.lookahead();if(t.type===c.placeholder){return true}return false}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(c.colon)){const s=e;s.label=this.finishPlaceholder(t,"Identifier");this.next();s.body=this.parseStatement("label");return this.finishNode(s,"LabeledStatement")}this.semicolon();e.name=t.name;return this.finishPlaceholder(e,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(e,t,s){const r=t?"ClassDeclaration":"ClassExpression";this.next();this.takeDecorators(e);const i=this.state.strict;const n=this.parsePlaceholder("Identifier");if(n){if(this.match(c._extends)||this.match(c.placeholder)||this.match(c.braceL)){e.id=n}else if(s||!t){e.id=null;e.body=this.finishPlaceholder(n,"ClassBody");return this.finishNode(e,r)}else{this.unexpected(null,Fe.ClassNameIsRequired)}}else{this.parseClassId(e,t,s)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,i);return this.finishNode(e,r)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(c.comma)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const s=this.startNode();s.exported=t;e.specifiers=[this.finishNode(s,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(c._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(c.placeholder.label,this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter(e=>e.exported.type==="Placeholder")}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual("from")&&!this.match(c.comma)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const s=this.startNodeAtNode(t);s.local=t;this.finishNode(s,"ImportDefaultSpecifier");e.specifiers.push(s);if(this.eat(c.comma)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual("from");e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}});var Le=e=>(class extends e{parseV8Intrinsic(){if(this.match(c.modulo)){const e=this.state.start;const t=this.startNode();this.eat(c.modulo);if(this.match(c.name)){const e=this.parseIdentifierName(this.state.start);const s=this.createIdentifier(t,e);s.type="V8IntrinsicIdentifier";if(this.match(c.parenL)){return s}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}});function hasPlugin(e,t){return e.some(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}})}function getPluginOption(e,t,s){const r=e.find(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}});if(r&&Array.isArray(r)){return r[1][s]}return null}const Be=["minimal","smart","fsharp"];const Ue=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option,"+" whose value must be a boolean. If you are migrating from"+" Babylon/Babel 6 or want to use the old decorators proposal, you"+" should use the 'decorators-legacy' plugin instead of 'decorators'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")&&!Be.includes(getPluginOption(e,"pipelineOperator","proposal"))){throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: "+Be.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}}if(hasPlugin(e,"recordAndTuple")&&!Ue.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Ue.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const We={estree:m,jsx:Ie,flow:Ee,typescript:Ne,v8intrinsic:Le,placeholders:Me};const qe=Object.keys(We);const He={sourceType:"script",sourceFilename:undefined,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false};function getOptions(e){const t={};for(const s of Object.keys(He)){t[s]=e&&e[s]!=null?e[s]:He[s]}return t}var ze=function isDigit(e){return e>=48&&e<=57};const Ve=new Set([103,109,115,105,121,117,100]);const Ke={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]};const $e={};$e.bin=[48,49];$e.oct=[...$e.bin,50,51,52,53,54,55];$e.dec=[...$e.oct,56,57];$e.hex=[...$e.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends ParserError{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(this.state))}this.state.lastTokEnd=this.state.end;this.state.lastTokStart=this.state.start;this.state.lastTokEndLoc=this.state.endLoc;this.state.lastTokStartLoc=this.state.startLoc;this.nextToken()}eat(e){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){h.lastIndex=e;const t=h.exec(this.input);return e+t[0].length}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(t,e));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(!e.preserveSpace)this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(c.eof);return}if(e===g.template){this.readTmplToken()}else{this.getTokenFromCode(this.codePointAtPos(this.state.pos))}}pushComment(e,t,s,r,i,n){const a={type:e?"CommentBlock":"CommentLine",value:t,start:s,end:r,loc:new SourceLocation(i,n)};if(this.options.tokens)this.pushToken(a);this.state.comments.push(a);this.addComment(a)}skipBlockComment(){let e;if(!this.isLookahead)e=this.state.curPosition();const t=this.state.pos;const s=this.input.indexOf("*/",this.state.pos+2);if(s===-1)throw this.raise(t,d.UnterminatedComment);this.state.pos=s+2;u.lastIndex=t;let r;while((r=u.exec(this.input))&&r.index=48&&t<=57){throw this.raise(this.state.pos,d.UnexpectedDigitAfterHash)}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(this.state.pos,t===123?d.RecordExpressionHashIncorrectStartSyntaxType:d.TupleExpressionHashIncorrectStartSyntaxType)}this.state.pos+=2;if(t===123){this.finishToken(c.braceHashL)}else{this.finishToken(c.bracketHashL)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(c.privateName,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(c.privateName,this.readWord1())}else{this.finishOp(c.hash,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(c.ellipsis)}else{++this.state.pos;this.finishToken(c.dot)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(c.slashAssign,2)}else{this.finishOp(c.slash,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos=48&&t<=57)){this.state.pos+=2;this.finishToken(c.questionDot)}else{++this.state.pos;this.finishToken(c.question)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(c.parenL);return;case 41:++this.state.pos;this.finishToken(c.parenR);return;case 59:++this.state.pos;this.finishToken(c.semi);return;case 44:++this.state.pos;this.finishToken(c.comma);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,d.TupleExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(c.bracketBarL)}else{++this.state.pos;this.finishToken(c.bracketL)}return;case 93:++this.state.pos;this.finishToken(c.bracketR);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,d.RecordExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(c.braceBarL)}else{++this.state.pos;this.finishToken(c.braceL)}return;case 125:++this.state.pos;this.finishToken(c.braceR);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(c.doubleColon,2)}else{++this.state.pos;this.finishToken(c.colon)}return;case 63:this.readToken_question();return;case 96:++this.state.pos;this.finishToken(c.backQuote);return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:case 62:this.readToken_lt_gt(e);return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(c.tilde,1);return;case 64:++this.state.pos;this.finishToken(c.at);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(this.state.pos,d.InvalidOrUnexpectedToken,String.fromCodePoint(e))}finishOp(e,t){const s=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t;this.finishToken(e,s)}readRegexp(){const e=this.state.start+1;let t,s;let{pos:r}=this.state;for(;;++r){if(r>=this.length){throw this.raise(e,d.UnterminatedRegExp)}const i=this.input.charCodeAt(r);if(isNewLine(i)){throw this.raise(e,d.UnterminatedRegExp)}if(t){t=false}else{if(i===91){s=true}else if(i===93&&s){s=false}else if(i===47&&!s){break}t=i===92}}const i=this.input.slice(e,r);++r;let n="";while(r-1||n.indexOf(t)>-1||Number.isNaN(t)){this.raise(this.state.pos,d.UnexpectedNumericSeparator)}if(!r){this.raise(this.state.pos,d.NumericSeparatorInEscapeSequence)}++this.state.pos;continue}if(t>=97){c=t-97+10}else if(t>=65){c=t-65+10}else if(ze(t)){c=t-48}else{c=Infinity}if(c>=e){if(this.options.errorRecovery&&c<=9){c=0;this.raise(this.state.start+i+2,d.InvalidDigit,e)}else if(s){c=0;o=true}else{break}}++this.state.pos;l=l*e+c}if(this.state.pos===i||t!=null&&this.state.pos-i!==t||o){return null}return l}readRadixNumber(e){const t=this.state.pos;let s=false;this.state.pos+=2;const r=this.readInt(e);if(r==null){this.raise(this.state.start+2,d.InvalidDigit,e)}const i=this.input.charCodeAt(this.state.pos);if(i===110){++this.state.pos;s=true}else if(i===109){throw this.raise(t,d.InvalidDecimal)}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,d.NumberIdentifier)}if(s){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(c.bigint,e);return}this.finishToken(c.num,r)}readNumber(e){const t=this.state.pos;let s=false;let r=false;let i=false;let n=false;let a=false;if(!e&&this.readInt(10)===null){this.raise(t,d.InvalidNumber)}const o=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(o){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(t,d.StrictOctalLiteral);if(!this.state.strict){const s=e.indexOf("_");if(s>0){this.raise(s+t,d.ZeroDigitNumericSeparator)}}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!a){++this.state.pos;this.readInt(10);s=true;l=this.input.charCodeAt(this.state.pos)}if((l===69||l===101)&&!a){l=this.input.charCodeAt(++this.state.pos);if(l===43||l===45){++this.state.pos}if(this.readInt(10)===null){this.raise(t,d.InvalidOrMissingExponent)}s=true;n=true;l=this.input.charCodeAt(this.state.pos)}if(l===110){if(s||o){this.raise(t,d.InvalidBigIntLiteral)}++this.state.pos;r=true}if(l===109){this.expectPlugin("decimal",this.state.pos);if(n||o){this.raise(t,d.InvalidDecimal)}++this.state.pos;i=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,d.NumberIdentifier)}const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(r){this.finishToken(c.bigint,p);return}if(i){this.finishToken(c.decimal,p);return}const u=a?parseInt(p,8):parseFloat(p);this.finishToken(c.num,u)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let s;if(t===123){const t=++this.state.pos;s=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(s!==null&&s>1114111){if(e){this.raise(t,d.InvalidCodePoint)}else{return null}}}else{s=this.readHexChar(4,false,e)}return s}readString(e){let t="",s=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,d.UnterminatedString)}const r=this.input.charCodeAt(this.state.pos);if(r===e)break;if(r===92){t+=this.input.slice(s,this.state.pos);t+=this.readEscapedChar(false);s=this.state.pos}else if(r===8232||r===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(r)){throw this.raise(this.state.start,d.UnterminatedString)}else{++this.state.pos}}t+=this.input.slice(s,this.state.pos++);this.finishToken(c.string,t)}readTmplToken(){let e="",t=this.state.pos,s=false;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,d.UnterminatedTemplate)}const r=this.input.charCodeAt(this.state.pos);if(r===96||r===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(c.template)){if(r===36){this.state.pos+=2;this.finishToken(c.dollarBraceL);return}else{++this.state.pos;this.finishToken(c.backQuote);return}}e+=this.input.slice(t,this.state.pos);this.finishToken(c.template,s?null:e);return}if(r===92){e+=this.input.slice(t,this.state.pos);const r=this.readEscapedChar(true);if(r===null){s=true}else{e+=r}t=this.state.pos}else if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(r){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(r);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,t){if(this.state.strict&&!this.state.strictErrors.has(e)){this.raise(e,t)}else{this.state.strictErrors.set(e,t)}}readEscapedChar(e){const t=!e;const s=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(s){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:this.state.lineStart=this.state.pos;++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(e){return null}else{this.recordStrictModeErrors(this.state.pos-1,d.StrictNumericEscape)}default:if(s>=48&&s<=55){const t=this.state.pos-1;const s=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let r=s[0];let i=parseInt(r,8);if(i>255){r=r.slice(0,-1);i=parseInt(r,8)}this.state.pos+=r.length-1;const n=this.input.charCodeAt(this.state.pos);if(r!=="0"||n===56||n===57){if(e){return null}else{this.recordStrictModeErrors(t,d.StrictNumericEscape)}}return String.fromCharCode(i)}return String.fromCharCode(s)}}readHexChar(e,t,s){const r=this.state.pos;const i=this.readInt(16,e,t,false);if(i===null){if(s){this.raise(r,d.InvalidEscapeSequence)}else{this.state.pos=r-1}}return i}readWord1(e){this.state.containsEsc=false;let t="";const s=this.state.pos;let r=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos{this.raise(s,t);let r=e.length-2;let i=e[r];while(i.canBeArrowParameterDeclaration()){i.clearDeclarationError(s);i=e[--r]}})}}function newParameterDeclarationScope(){return new ExpressionScope(Ye)}function newArrowHeadScope(){return new ArrowHeadParsingScope(Je)}function newAsyncArrowScope(){return new ArrowHeadParsingScope(Xe)}function newExpressionScope(){return new ExpressionScope}class UtilParser extends Tokenizer{addExtra(e,t,s){if(!e)return;const r=e.extra=e.extra||{};r[t]=s}isRelational(e){return this.match(c.relational)&&this.state.value===e}expectRelational(e){if(this.isRelational(e)){this.next()}else{this.unexpected(null,c.relational)}}isContextual(e){return this.match(c.name)&&this.state.value===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const s=e+t.length;if(this.input.slice(e,s)===t){const e=this.input.charCodeAt(s);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)&&this.eat(c.name)}expectContextual(e,t){if(!this.eatContextual(e))this.unexpected(null,t)}canInsertSemicolon(){return this.match(c.eof)||this.match(c.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return p.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){return p.test(this.input.slice(this.state.end,this.nextTokenStart()))}isLineTerminator(){return this.eat(c.semi)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(c.semi))return;this.raise(this.state.lastTokEnd,d.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){if(this.state.start>this.state.lastTokEnd){this.raise(this.state.lastTokEnd,{code:f.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}}unexpected(e,t={code:f.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){if(t instanceof TokenType){t={code:f.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${t.label}"`}}throw this.raise(e!=null?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e)){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`)}return true}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e))){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:e},`This experimental syntax requires enabling one of the following parser plugin(s): '${e.join(", ")}'`)}}tryParse(e,t=this.state.clone()){const s={node:null};try{const r=e((e=null)=>{s.node=e;throw s});if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:r,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:r,error:null,thrown:false,aborted:false,failState:null}}catch(e){const r=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:r}}if(e===s){return{node:s.node,error:null,thrown:false,aborted:true,failState:r}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssign:s,doubleProto:r}=e;if(!t)return s>=0||r>=0;if(s>=0){this.unexpected(s)}if(r>=0){this.raise(r,d.DuplicateProto)}}isLiteralPropertyName(){return this.match(c.name)||!!this.state.type.keyword||this.match(c.string)||this.match(c.num)||this.match(c.bigint)||this.match(c.decimal)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const s=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const r=this.inModule;this.inModule=e;const i=this.scope;const n=this.getScopeHandler();this.scope=new n(this.raise.bind(this),this.inModule);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this.raise.bind(this));const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this.raise.bind(this));return()=>{this.state.labels=t;this.exportedIdentifiers=s;this.inModule=r;this.scope=i;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=je;if(this.hasPlugin("topLevelAwait")&&this.inModule){e|=Se}this.scope.enter(O);this.prodParam.enter(e)}}class ExpressionErrors{constructor(){this.shorthandAssign=-1;this.doubleProto=-1}}class Node{constructor(e,t,s){this.type=void 0;this.start=void 0;this.end=void 0;this.loc=void 0;this.range=void 0;this.leadingComments=void 0;this.trailingComments=void 0;this.innerComments=void 0;this.extra=void 0;this.type="";this.start=t;this.end=0;this.loc=new SourceLocation(s);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}__clone(){const e=new Node;const t=Object.keys(this);for(let s=0,r=t.length;s{return e.type==="ParenthesizedExpression"?Qe(e.expression):e};class LValParser extends NodeUtils{toAssignable(e,t=false){var s,r;let i=undefined;if(e.type==="ParenthesizedExpression"||(s=e.extra)!=null&&s.parenthesized){i=Qe(e);if(t){if(i.type==="Identifier"){this.expressionScope.recordParenthesizedIdentifierError(e.start,d.InvalidParenthesizedAssignment)}else if(i.type!=="MemberExpression"){this.raise(e.start,d.InvalidParenthesizedAssignment)}}else{this.raise(e.start,d.InvalidParenthesizedAssignment)}}switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":break;case"ObjectExpression":e.type="ObjectPattern";for(let s=0,r=e.properties.length,i=r-1;sthis.parseExpressionBase(t))}return this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start;const s=this.state.startLoc;const r=this.parseMaybeAssign(e);if(this.match(c.comma)){const i=this.startNodeAt(t,s);i.expressions=[r];while(this.eat(c.comma)){i.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(i.expressions);return this.finishNode(i,"SequenceExpression")}return r}parseMaybeAssignDisallowIn(e,t,s){return this.disallowInAnd(()=>this.parseMaybeAssign(e,t,s))}parseMaybeAssignAllowIn(e,t,s){return this.allowInAnd(()=>this.parseMaybeAssign(e,t,s))}parseMaybeAssign(e,t,s){const r=this.state.start;const i=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,r,i)}return e}}let n;if(e){n=false}else{e=new ExpressionErrors;n=true}if(this.match(c.parenL)||this.match(c.name)){this.state.potentialArrowAt=this.state.start}let a=this.parseMaybeConditional(e,s);if(t){a=t.call(this,a,r,i)}if(this.state.type.isAssign){const t=this.startNodeAt(r,i);const s=this.state.value;t.operator=s;if(this.match(c.eq)){t.left=this.toAssignable(a,true);e.doubleProto=-1}else{t.left=a}if(e.shorthandAssign>=t.left.start){e.shorthandAssign=-1}this.checkLVal(a,"assignment expression");this.next();t.right=this.parseMaybeAssign();return this.finishNode(t,"AssignmentExpression")}else if(n){this.checkExpressionErrors(e,true)}return a}parseMaybeConditional(e,t){const s=this.state.start;const r=this.state.startLoc;const i=this.state.potentialArrowAt;const n=this.parseExprOps(e);if(this.shouldExitDescending(n,i)){return n}return this.parseConditional(n,s,r,t)}parseConditional(e,t,s,r){if(this.eat(c.question)){const r=this.startNodeAt(t,s);r.test=e;r.consequent=this.parseMaybeAssignAllowIn();this.expect(c.colon);r.alternate=this.parseMaybeAssign();return this.finishNode(r,"ConditionalExpression")}return e}parseExprOps(e){const t=this.state.start;const s=this.state.startLoc;const r=this.state.potentialArrowAt;const i=this.parseMaybeUnary(e);if(this.shouldExitDescending(i,r)){return i}return this.parseExprOp(i,t,s,-1)}parseExprOp(e,t,s,r){let i=this.state.type.binop;if(i!=null&&(this.prodParam.hasIn||!this.match(c._in))){if(i>r){const n=this.state.type;if(n===c.pipeline){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.state.inPipeline=true;this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,s);a.left=e;a.operator=this.state.value;const o=n===c.logicalOR||n===c.logicalAND;const l=n===c.nullishCoalescing;if(l){i=c.logicalAND.binop}this.next();if(n===c.pipeline&&this.getPluginOption("pipelineOperator","proposal")==="minimal"){if(this.match(c.name)&&this.state.value==="await"&&this.prodParam.hasAwait){throw this.raise(this.state.start,d.UnexpectedAwaitAfterPipelineBody)}}a.right=this.parseExprOpRightExpr(n,i);this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");const p=this.state.type;if(l&&(p===c.logicalOR||p===c.logicalAND)||o&&p===c.nullishCoalescing){throw this.raise(this.state.start,d.MixingCoalesceWithLogical)}return this.parseExprOp(a,t,s,r)}}return e}parseExprOpRightExpr(e,t){const s=this.state.start;const r=this.state.startLoc;switch(e){case c.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"smart":return this.withTopicPermittingContext(()=>{return this.parseSmartPipelineBody(this.parseExprOpBaseRightExpr(e,t),s,r)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(t)})}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const s=this.state.start;const r=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),s,r,e.rightAssociative?t-1:t)}checkExponentialAfterUnary(e){if(this.match(c.exponent)){this.raise(e.argument.start,d.UnexpectedTokenUnaryExponentiation)}}parseMaybeUnary(e,t){const s=this.state.start;const r=this.state.startLoc;const i=this.isContextual("await");if(i&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(s,r);if(!t)this.checkExponentialAfterUnary(e);return e}if(this.isContextual("module")&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak()){return this.parseModuleExpression()}const n=this.match(c.incDec);const a=this.startNode();if(this.state.type.prefix){a.operator=this.state.value;a.prefix=true;if(this.match(c._throw)){this.expectPlugin("throwExpressions")}const s=this.match(c._delete);this.next();a.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&s){const e=a.argument;if(e.type==="Identifier"){this.raise(a.start,d.StrictDelete)}else if(this.hasPropertyAsPrivateName(e)){this.raise(a.start,d.DeletePrivateField)}}if(!n){if(!t)this.checkExponentialAfterUnary(a);return this.finishNode(a,"UnaryExpression")}}const o=this.parseUpdate(a,n,e);if(i){const e=this.hasPlugin("v8intrinsic")?this.state.type.startsExpr:this.state.type.startsExpr&&!this.match(c.modulo);if(e&&!this.isAmbiguousAwait()){this.raiseOverwrite(s,this.hasPlugin("topLevelAwait")?d.AwaitNotInAsyncContext:d.AwaitNotInAsyncFunction);return this.parseAwait(s,r)}}return o}parseUpdate(e,t,s){if(t){this.checkLVal(e.argument,"prefix operation");return this.finishNode(e,"UpdateExpression")}const r=this.state.start;const i=this.state.startLoc;let n=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,false))return n;while(this.state.type.postfix&&!this.canInsertSemicolon()){const e=this.startNodeAt(r,i);e.operator=this.state.value;e.prefix=false;e.argument=n;this.checkLVal(n,"postfix operation");this.next();n=this.finishNode(e,"UpdateExpression")}return n}parseExprSubscripts(e){const t=this.state.start;const s=this.state.startLoc;const r=this.state.potentialArrowAt;const i=this.parseExprAtom(e);if(this.shouldExitDescending(i,r)){return i}return this.parseSubscripts(i,t,s)}parseSubscripts(e,t,s,r){const i={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,s,r,i);i.maybeAsyncArrow=false}while(!i.stop);return e}parseSubscript(e,t,s,r,i){if(!r&&this.eat(c.doubleColon)){return this.parseBind(e,t,s,r,i)}else if(this.match(c.backQuote)){return this.parseTaggedTemplateExpression(e,t,s,i)}let n=false;if(this.match(c.questionDot)){if(r&&this.lookaheadCharCode()===40){i.stop=true;return e}i.optionalChainMember=n=true;this.next()}if(!r&&this.match(c.parenL)){return this.parseCoverCallAndAsyncArrowHead(e,t,s,i,n)}else if(n||this.match(c.bracketL)||this.eat(c.dot)){return this.parseMember(e,t,s,i,n)}else{i.stop=true;return e}}parseMember(e,t,s,r,i){const n=this.startNodeAt(t,s);const a=this.eat(c.bracketL);n.object=e;n.computed=a;const o=!a&&this.match(c.privateName)&&this.state.value;const l=a?this.parseExpression():o?this.parsePrivateName():this.parseIdentifier(true);if(o!==false){if(n.object.type==="Super"){this.raise(t,d.SuperPrivateField)}this.classScope.usePrivateName(o,l.start)}n.property=l;if(a){this.expect(c.bracketR)}if(r.optionalChainMember){n.optional=i;return this.finishNode(n,"OptionalMemberExpression")}else{return this.finishNode(n,"MemberExpression")}}parseBind(e,t,s,r,i){const n=this.startNodeAt(t,s);n.object=e;n.callee=this.parseNoCallExpr();i.stop=true;return this.parseSubscripts(this.finishNode(n,"BindExpression"),t,s,r)}parseCoverCallAndAsyncArrowHead(e,t,s,r,i){const n=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,s);o.callee=e;if(r.maybeAsyncArrow){this.expressionScope.enter(newAsyncArrowScope());a=new ExpressionErrors}if(r.optionalChainMember){o.optional=i}if(i){o.arguments=this.parseCallExpressionArguments(c.parenR)}else{o.arguments=this.parseCallExpressionArguments(c.parenR,e.type==="Import",e.type!=="Super",o,a)}this.finishCallExpression(o,r.optionalChainMember);if(r.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!i){r.stop=true;this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,s),o)}else{if(r.maybeAsyncArrow){this.checkExpressionErrors(a,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=n;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,s,r){const i=this.startNodeAt(t,s);i.tag=e;i.quasi=this.parseTemplate(true);if(r.optionalChainMember){this.raise(t,d.OptionalChainingNoTemplate)}return this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(e.start,d.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument")}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(t.start,d.ImportCallSpreadArgument)}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,s,r,i){const n=[];let a=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(a){a=false}else{this.expect(c.comma);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(this.state.lastTokStart,d.ImportCallArgumentTrailingComma)}if(r){this.addExtra(r,"trailingComma",this.state.lastTokStart)}this.next();break}}n.push(this.parseExprListItem(false,i,{start:0},s))}this.state.inFSharpPipelineDirectBody=o;return n}shouldParseAsyncArrow(){return this.match(c.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var s;this.expect(c.arrow);this.parseArrowExpression(e,t.arguments,true,(s=t.extra)==null?void 0:s.trailingComma);return e}parseNoCallExpr(){const e=this.state.start;const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,true)}parseExprAtom(e){let t;switch(this.state.type){case c._super:return this.parseSuper();case c._import:t=this.startNode();this.next();if(this.match(c.dot)){return this.parseImportMetaProperty(t)}if(!this.match(c.parenL)){this.raise(this.state.lastTokStart,d.UnsupportedImport)}return this.finishNode(t,"Import");case c._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case c.name:{const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const s=this.parseIdentifier();if(!t&&s.name==="async"&&!this.canInsertSemicolon()){if(this.match(c._function)){this.next();return this.parseFunction(this.startNodeAtNode(s),undefined,true)}else if(this.match(c.name)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(s)}else{return s}}else if(this.match(c._do)){return this.parseDo(true)}}if(e&&this.match(c.arrow)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(s),[s],false)}return s}case c._do:{return this.parseDo(false)}case c.slash:case c.slashAssign:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case c.num:return this.parseNumericLiteral(this.state.value);case c.bigint:return this.parseBigIntLiteral(this.state.value);case c.decimal:return this.parseDecimalLiteral(this.state.value);case c.string:return this.parseStringLiteral(this.state.value);case c._null:return this.parseNullLiteral();case c._true:return this.parseBooleanLiteral(true);case c._false:return this.parseBooleanLiteral(false);case c.parenL:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case c.bracketBarL:case c.bracketHashL:{return this.parseArrayLike(this.state.type===c.bracketBarL?c.bracketBarR:c.bracketR,false,true,e)}case c.bracketL:{return this.parseArrayLike(c.bracketR,true,false,e)}case c.braceBarL:case c.braceHashL:{return this.parseObjectLike(this.state.type===c.braceBarL?c.braceBarR:c.braceR,false,true,e)}case c.braceL:{return this.parseObjectLike(c.braceR,false,false,e)}case c._function:return this.parseFunctionOrFunctionSent();case c.at:this.parseDecorators();case c._class:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case c._new:return this.parseNewOrNewTarget();case c.backQuote:return this.parseTemplate(false);case c.doubleColon:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(e.start,d.UnsupportedBind)}}case c.privateName:{const e=this.state.start;const s=this.state.value;t=this.parsePrivateName();if(this.match(c._in)){this.expectPlugin("privateIn");this.classScope.usePrivateName(s,t.start)}else if(this.hasPlugin("privateIn")){this.raise(this.state.start,d.PrivateInExpectedIn,s)}else{throw this.unexpected(e)}return t}case c.hash:{if(this.state.inPipeline){t=this.startNode();if(this.getPluginOption("pipelineOperator","proposal")!=="smart"){this.raise(t.start,d.PrimaryTopicRequiresSmartPipeline)}this.next();if(!this.primaryTopicReferenceIsAllowedInCurrentTopicContext()){this.raise(t.start,d.PrimaryTopicNotAllowed)}this.registerTopicReference();return this.finishNode(t,"PipelinePrimaryTopicReference")}}case c.relational:{if(this.state.value==="<"){const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}}}default:throw this.unexpected()}}parseAsyncArrowUnaryFunction(e){const t=this.startNodeAtNode(e);this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const s=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(this.state.pos,d.LineTerminatorBeforeArrow)}this.expect(c.arrow);this.parseArrowExpression(t,s,true);return t}parseDo(e){this.expectPlugin("doExpressions");if(e){this.expectPlugin("asyncDoExpressions")}const t=this.startNode();t.async=e;this.next();const s=this.state.labels;this.state.labels=[];if(e){this.prodParam.enter(Se);t.body=this.parseBlock();this.prodParam.exit()}else{t.body=this.parseBlock()}this.state.labels=s;return this.finishNode(t,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(c.parenL)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,d.SuperNotAllowed)}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,d.UnexpectedSuper)}if(!this.match(c.parenL)&&!this.match(c.bracketL)&&!this.match(c.dot)){this.raise(e.start,d.UnsupportedSuper)}return this.finishNode(e,"Super")}parseMaybePrivateName(e){const t=this.match(c.privateName);if(t){if(!e){this.raise(this.state.start+1,d.UnexpectedPrivateField)}return this.parsePrivateName()}else{return this.parseIdentifier(true)}}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(this.state.start+1,new Position(this.state.curLine,this.state.start+1-this.state.lineStart));const s=this.state.value;this.next();e.id=this.createIdentifier(t,s);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(c.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,s){e.meta=t;if(t.name==="function"&&s==="sent"){if(this.isContextual(s)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}}const r=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==s||r){this.raise(e.property.start,d.UnsupportedMetaProperty,t.name,s)}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual("meta")){if(!this.inModule){this.raise(t.start,y.ImportMetaOutsideModule)}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,s){this.addExtra(s,"rawValue",e);this.addExtra(s,"raw",this.input.slice(s.start,this.state.end));s.value=e;this.next();return this.finishNode(s,t)}parseLiteral(e,t){const s=this.startNode();return this.parseLiteralAtNode(e,t,s)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start;const s=this.state.startLoc;let r;this.next();this.expressionScope.enter(newArrowHeadScope());const i=this.state.maybeInArrowParameters;const n=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const a=this.state.start;const o=this.state.startLoc;const l=[];const p=new ExpressionErrors;const u={start:0};let h=true;let f;let d;while(!this.match(c.parenR)){if(h){h=false}else{this.expect(c.comma,u.start||null);if(this.match(c.parenR)){d=this.state.start;break}}if(this.match(c.ellipsis)){const e=this.state.start;const t=this.state.startLoc;f=this.state.start;l.push(this.parseParenItem(this.parseRestBinding(),e,t));this.checkCommaAfterRest(41);break}else{l.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem,u))}}const y=this.state.lastTokEnd;const m=this.state.lastTokEndLoc;this.expect(c.parenR);this.state.maybeInArrowParameters=i;this.state.inFSharpPipelineDirectBody=n;let g=this.startNodeAt(t,s);if(e&&this.shouldParseArrow()&&(g=this.parseArrow(g))){this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(g,l,false);return g}this.expressionScope.exit();if(!l.length){this.unexpected(this.state.lastTokStart)}if(d)this.unexpected(d);if(f)this.unexpected(f);this.checkExpressionErrors(p,true);if(u.start)this.unexpected(u.start);this.toReferencedListDeep(l,true);if(l.length>1){r=this.startNodeAt(a,o);r.expressions=l;this.finishNodeAt(r,"SequenceExpression",y,m)}else{r=l[0]}if(!this.options.createParenthesizedExpressions){this.addExtra(r,"parenthesized",true);this.addExtra(r,"parenStart",t);return r}const b=this.startNodeAt(t,s);b.expression=r;this.finishNode(b,"ParenthesizedExpression");return b}shouldParseArrow(){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(c.arrow)){return e}}parseParenItem(e,t,s){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(c.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const s=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){this.raise(s.start,d.UnexpectedNewTarget)}return s}return this.parseNew(e)}parseNew(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(e.callee.start,d.ImportCallNotNewExpression)}else if(this.isOptionalChain(e.callee)){this.raise(this.state.lastTokEnd,d.OptionalChainingNoNew)}else if(this.eat(c.questionDot)){this.raise(this.state.start,d.OptionalChainingNoNew)}this.parseNewArguments(e);return this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(c.parenL)){const t=this.parseExprList(c.parenR);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}}parseTemplateElement(e){const t=this.startNode();if(this.state.value===null){if(!e){this.raise(this.state.start+1,d.InvalidEscapeSequenceTemplate)}}t.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,"\n"),cooked:this.state.value};this.next();t.tail=this.match(c.backQuote);return this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next();t.expressions=[];let s=this.parseTemplateElement(e);t.quasis=[s];while(!s.tail){this.expect(c.dollarBraceL);t.expressions.push(this.parseTemplateSubstitution());this.expect(c.braceR);t.quasis.push(s=this.parseTemplateElement(e))}this.next();return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,s,r){if(s){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const n=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(c.comma);if(this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}}const i=this.parsePropertyDefinition(t,r);if(!t){this.checkProto(i,s,n,r)}if(s&&!this.isObjectProperty(i)&&i.type!=="SpreadElement"){this.raise(i.start,d.InvalidRecordProperty)}if(i.shorthand){this.addExtra(i,"shorthand",true)}o.properties.push(i)}this.next();this.state.inFSharpPipelineDirectBody=i;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(s){l="RecordExpression"}return this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(c.bracketL)||this.match(c.star))}parsePropertyDefinition(e,t){let s=[];if(this.match(c.at)){if(this.hasPlugin("decorators")){this.raise(this.state.start,d.UnsupportedPropertyDecorator)}while(this.match(c.at)){s.push(this.parseDecorator())}}const r=this.startNode();let i=false;let n=false;let a=false;let o;let l;if(this.match(c.ellipsis)){if(s.length)this.unexpected();if(e){this.next();r.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(r,"RestElement")}return this.parseSpread()}if(s.length){r.decorators=s;s=[]}r.method=false;if(e||t){o=this.state.start;l=this.state.startLoc}if(!e){i=this.eat(c.star)}const p=this.state.containsEsc;const u=this.parsePropertyName(r,false);if(!e&&!i&&!p&&this.maybeAsyncOrAccessorProp(r)){const e=u.name;if(e==="async"&&!this.hasPrecedingLineBreak()){n=true;i=this.eat(c.star);this.parsePropertyName(r,false)}if(e==="get"||e==="set"){a=true;r.kind=e;if(this.match(c.star)){i=true;this.raise(this.state.pos,d.AccessorIsGenerator,e);this.next()}this.parsePropertyName(r,false)}}this.parseObjPropValue(r,o,l,i,n,e,a,t);return r}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const s=this.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const i=e.start;if(r.length!==s){if(e.kind==="get"){this.raise(i,d.BadGetterArity)}else{this.raise(i,d.BadSetterArity)}}if(e.kind==="set"&&((t=r[r.length-1])==null?void 0:t.type)==="RestElement"){this.raise(i,d.BadSetterRestParameter)}}parseObjectMethod(e,t,s,r,i){if(i){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(s||t||this.match(c.parenL)){if(r)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,s,false,false,"ObjectMethod")}}parseObjectProperty(e,t,s,r,i){e.shorthand=false;if(this.eat(c.colon)){e.value=r?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(i);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.start,true,false);if(r){e.value=this.parseMaybeDefault(t,s,e.key.__clone())}else if(this.match(c.eq)&&i){if(i.shorthandAssign===-1){i.shorthandAssign=this.state.start}e.value=this.parseMaybeDefault(t,s,e.key.__clone())}else{e.value=e.key.__clone()}e.shorthand=true;return this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,s,r,i,n,a,o){const l=this.parseObjectMethod(e,r,i,n,a)||this.parseObjectProperty(e,t,s,n,o);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(c.bracketL)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(c.bracketR)}else{const s=this.state.inPropertyName;this.state.inPropertyName=true;const r=this.state.type;e.key=r===c.num||r===c.string||r===c.bigint||r===c.decimal?this.parseExprAtom():this.parseMaybePrivateName(t);if(r!==c.privateName){e.computed=false}this.state.inPropertyName=s}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,s,r,i,n,a=false){this.initFunction(e,s);e.generator=!!t;const o=r;this.scope.enter(S|D|(a?F:0)|(i?N:0));this.prodParam.enter(functionFlags(s,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,n,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,s,r){if(s){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const n=this.startNode();this.next();n.elements=this.parseExprList(e,!s,r,n);this.state.inFSharpPipelineDirectBody=i;return this.finishNode(n,s?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,s,r){this.scope.enter(S|_);let i=functionFlags(s,false);if(!this.match(c.bracketL)&&this.prodParam.hasIn){i|=Re}this.prodParam.enter(i);this.initFunction(e,s);const n=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,r)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=n;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,s){e.params=this.toAssignableList(t,s,false)}parseFunctionBodyAndFinish(e,t,s=false){this.parseFunctionBody(e,false,s);this.finishNode(e,t)}parseFunctionBody(e,t,s=false){const r=t&&!this.match(c.braceL);this.expressionScope.enter(newExpressionScope());if(r){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const r=this.state.strict;const i=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|_e);e.body=this.parseBlock(true,false,i=>{const n=!this.isSimpleParamList(e.params);if(i&&n){const t=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(t,d.IllegalLanguageModeDirective)}const a=!r&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!s&&!n,t,a);if(this.state.strict&&e.id){this.checkLVal(e.id,"function name",ae,undefined,undefined,a)}});this.prodParam.exit();this.expressionScope.exit();this.state.labels=i}}isSimpleParamList(e){for(let t=0,s=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(t,d.YieldBindingIdentifier);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(t,d.AwaitBindingIdentifier);return}else if(this.scope.inStaticBlock&&!this.scope.inNonArrowFunction){this.raise(t,d.AwaitBindingIdentifierInStaticBlock);return}else{this.expressionScope.recordAsyncArrowParametersError(t,d.AwaitBindingIdentifier)}}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(t,d.ArgumentsInClass);return}}if(s&&isKeyword(e)){this.raise(t,d.UnexpectedKeyword,e);return}const i=!this.state.strict?isReservedWord:r?isStrictBindReservedWord:isStrictReservedWord;if(i(e,this.inModule)){this.raise(t,d.UnexpectedReservedWord,e)}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e,t){const s=this.startNodeAt(e,t);this.expressionScope.recordParameterInitializerError(s.start,d.AwaitExpressionFormalParameter);if(this.eat(c.star)){this.raise(s.start,d.ObsoleteAwaitStar)}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){s.argument=this.parseMaybeUnary(null,true)}return this.finishNode(s,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(c.plusMin)||this.match(c.parenL)||this.match(c.bracketL)||this.match(c.backQuote)||this.match(c.regexp)||this.match(c.slash)||this.hasPlugin("v8intrinsic")&&this.match(c.modulo)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,d.YieldInParameter);this.next();let t=false;let s=null;if(!this.hasPrecedingLineBreak()){t=this.eat(c.star);switch(this.state.type){case c.semi:case c.eof:case c.braceR:case c.parenR:case c.bracketR:case c.braceBarR:case c.colon:case c.comma:if(!t)break;default:s=this.parseMaybeAssign()}}e.delegate=t;e.argument=s;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.getPluginOption("pipelineOperator","proposal")==="smart"){if(e.type==="SequenceExpression"){this.raise(t,d.PipelineHeadSequenceExpression)}}}parseSmartPipelineBody(e,t,s){this.checkSmartPipelineBodyEarlyErrors(e,t);return this.parseSmartPipelineBodyInStyle(e,t,s)}checkSmartPipelineBodyEarlyErrors(e,t){if(this.match(c.arrow)){throw this.raise(this.state.start,d.PipelineBodyNoArrow)}else if(e.type==="SequenceExpression"){this.raise(t,d.PipelineBodySequenceExpression)}}parseSmartPipelineBodyInStyle(e,t,s){const r=this.startNodeAt(t,s);const i=this.isSimpleReference(e);if(i){r.callee=e}else{if(!this.topicReferenceWasUsedInCurrentTopicContext()){this.raise(t,d.PipelineTopicUnused)}r.expression=e}return this.finishNode(r,i?"PipelineBareFunction":"PipelineTopicExpression")}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}withTopicPermittingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withTopicForbiddingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const s=Re&~t;if(s){this.prodParam.enter(t|Re);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const s=Re&t;if(s){this.prodParam.enter(t&~Re);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}primaryTopicReferenceIsAllowedInCurrentTopicContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentTopicContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const s=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const i=this.parseExprOp(this.parseMaybeUnary(),t,s,e);this.state.inFSharpPipelineDirectBody=r;return i}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(c.braceL);const t=this.initializeScopes(true);this.enterInitialScopes();const s=this.startNode();try{e.body=this.parseProgram(s,c.braceR,"module")}finally{t()}this.eat(c.braceR);return this.finishNode(e,"ModuleExpression")}}const Ze={kind:"loop"},et={kind:"switch"};const tt=0,st=1,rt=2,it=4;const nt=/[\uD800-\uDFFF]/u;const at=/in(?:stanceof)?/y;function babel7CompatTokens(e){{for(let t=0;t0){for(const[e]of Array.from(this.scope.undefinedExports)){const t=this.scope.undefinedExports.get(e);this.raise(t,d.ModuleExportUndefined,e)}}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e.expression;const s=this.startNodeAt(t.start,t.loc.start);const r=this.startNodeAt(e.start,e.loc.start);const i=this.input.slice(t.start,t.end);const n=s.value=i.slice(1,-1);this.addExtra(s,"raw",i);this.addExtra(s,"rawValue",n);r.value=this.finishNodeAt(s,"DirectiveLiteral",t.end,t.loc.end);return this.finishNodeAt(r,"Directive",e.end,e.loc.end)}parseInterpreterDirective(){if(!this.match(c.interpreterDirective)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual("let")){return false}return this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart();const s=this.codePointAtPos(t);if(s===92||s===91){return true}if(e)return false;if(s===123)return true;if(isIdentifierStart(s)){at.lastIndex=t;const e=at.exec(this.input);if(e!==null){const s=this.codePointAtPos(t+e[0].length);if(!isIdentifierChar(s)&&s!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(c.at)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let s=this.state.type;const r=this.startNode();let i;if(this.isLet(e)){s=c._var;i="let"}switch(s){case c._break:case c._continue:return this.parseBreakContinueStatement(r,s.keyword);case c._debugger:return this.parseDebuggerStatement(r);case c._do:return this.parseDoStatement(r);case c._for:return this.parseForStatement(r);case c._function:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(this.state.start,d.StrictFunction)}else if(e!=="if"&&e!=="label"){this.raise(this.state.start,d.SloppyFunction)}}return this.parseFunctionStatement(r,false,!e);case c._class:if(e)this.unexpected();return this.parseClass(r,true);case c._if:return this.parseIfStatement(r);case c._return:return this.parseReturnStatement(r);case c._switch:return this.parseSwitchStatement(r);case c._throw:return this.parseThrowStatement(r);case c._try:return this.parseTryStatement(r);case c._const:case c._var:i=i||this.state.value;if(e&&i!=="var"){this.raise(this.state.start,d.UnexpectedLexicalDeclaration)}return this.parseVarStatement(r,i);case c._while:return this.parseWhileStatement(r);case c._with:return this.parseWithStatement(r);case c.braceL:return this.parseBlock();case c.semi:return this.parseEmptyStatement(r);case c._import:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case c._export:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(this.state.start,d.UnexpectedImportExport)}this.next();let e;if(s===c._import){e=this.parseImport(r);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(r);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(r);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(this.state.start,d.AsyncFunctionInSingleStatementContext)}this.next();return this.parseFunctionStatement(r,true,!e)}}}const n=this.state.value;const a=this.parseExpression();if(s===c.name&&a.type==="Identifier"&&this.eat(c.colon)){return this.parseLabeledStatement(r,n,a,e)}else{return this.parseExpressionStatement(r,a)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(e.start,y.ImportOutsideModule)}}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];if(t.length){e.decorators=t;this.resetStartLocationFromNode(e,t[0]);this.state.decoratorStack[this.state.decoratorStack.length-1]=[]}}canHaveLeadingDecorator(){return this.match(c._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(c.at)){const e=this.parseDecorator();t.push(e)}if(this.match(c._export)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,d.DecoratorExportClass)}}else if(!this.canHaveLeadingDecorator()){throw this.raise(this.state.start,d.UnexpectedLeadingDecorator)}}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start;const s=this.state.startLoc;let r;if(this.eat(c.parenL)){r=this.parseExpression();this.expect(c.parenR)}else{r=this.parseIdentifier(false);while(this.eat(c.dot)){const e=this.startNodeAt(t,s);e.object=r;e.property=this.parseIdentifier(true);e.computed=false;r=this.finishNode(e,"MemberExpression")}}e.expression=this.parseMaybeDecoratorArguments(r);this.state.decoratorStack.pop()}else{e.expression=this.parseExprSubscripts()}return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(c.parenL)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(c.parenR,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){const s=t==="break";this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,s?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){const s=t==="break";let r;for(r=0;rthis.parseStatement("do"));this.state.labels.pop();this.expect(c._while);e.test=this.parseHeaderExpression();this.eat(c.semi);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(Ze);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual("await")){t=this.state.lastTokStart}this.scope.enter(j);this.expect(c.parenL);if(this.match(c.semi)){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}const s=this.isContextual("let");const r=s&&this.isLetKeyword();if(this.match(c._var)||this.match(c._const)||r){const s=this.startNode();const i=r?"let":this.state.value;this.next();this.parseVar(s,true,i);this.finishNode(s,"VariableDeclaration");if((this.match(c._in)||this.isContextual("of"))&&s.declarations.length===1){return this.parseForIn(e,s,t)}if(t>-1){this.unexpected(t)}return this.parseFor(e,s)}const i=this.match(c.name)&&!this.state.containsEsc;const n=new ExpressionErrors;const a=this.parseExpression(true,n);const o=this.isContextual("of");if(o){if(s){this.raise(a.start,d.ForOfLet)}else if(t===-1&&i&&a.type==="Identifier"&&a.name==="async"){this.raise(a.start,d.ForOfAsync)}}if(o||this.match(c._in)){this.toAssignable(a,true);const s=o?"for-of statement":"for-in statement";this.checkLVal(a,s);return this.parseForIn(e,a,t)}else{this.checkExpressionErrors(n,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)}parseFunctionStatement(e,t,s){this.next();return this.parseFunction(e,st|(s?0:rt),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(c._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(this.state.start,d.IllegalReturn)}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(c.braceL);this.state.labels.push(et);this.scope.enter(j);let s;for(let e;!this.match(c.braceR);){if(this.match(c._case)||this.match(c._default)){const r=this.match(c._case);if(s)this.finishNode(s,"SwitchCase");t.push(s=this.startNode());s.consequent=[];this.next();if(r){s.test=this.parseExpression()}else{if(e){this.raise(this.state.lastTokStart,d.MultipleDefaultsInSwitch)}e=true;s.test=null}this.expect(c.colon)}else{if(s){s.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(s)this.finishNode(s,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(this.state.lastTokEnd,d.NewlineAfterThrow)}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?R:0);this.checkLVal(e,"catch clause",Q);return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(c._catch)){const t=this.startNode();this.next();if(this.match(c.parenL)){this.expect(c.parenL);t.param=this.parseCatchClauseParam();this.expect(c.parenR)}else{t.param=null;this.scope.enter(j)}t.body=this.withTopicForbiddingContext(()=>this.parseBlock(false,false));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(c._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,d.NoCatchOrFinally)}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(Ze);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("while"));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(this.state.start,d.StrictWith)}this.next();e.object=this.parseHeaderExpression();e.body=this.withTopicForbiddingContext(()=>this.parseStatement("with"));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,s,r){for(const e of this.state.labels){if(e.name===t){this.raise(s.start,d.LabelRedeclaration,t)}}const i=this.state.type.isLoop?"loop":this.match(c._switch)?"switch":null;for(let t=this.state.labels.length-1;t>=0;t--){const s=this.state.labels[t];if(s.statementStart===e.start){s.statementStart=this.state.start;s.kind=i}else{break}}this.state.labels.push({name:t,kind:i,statementStart:this.state.start});e.body=this.parseStatement(r?r.indexOf("label")===-1?r+"label":r:"label");this.state.labels.pop();e.label=s;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,s){const r=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(c.braceL);if(t){this.scope.enter(j)}this.parseBlockBody(r,e,false,c.braceR,s);if(t){this.scope.exit()}return this.finishNode(r,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,s,r,i){const n=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(n,t?a:undefined,s,r,i)}parseBlockOrModuleBlockBody(e,t,s,r,i){const n=this.state.strict;let a=false;let o=false;while(!this.match(r)){const r=this.parseStatement(null,s);if(t&&!o){if(this.isValidDirective(r)){const e=this.stmtToDirective(r);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(r)}if(i){i.call(this,a)}if(!n){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(c.semi)?null:this.parseExpression();this.semicolon(false);e.update=this.match(c.parenR)?null:this.parseExpression();this.expect(c.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,s){const r=this.match(c._in);this.next();if(r){if(s>-1)this.unexpected(s)}else{e.await=s>-1}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,d.ForInOfLoopInitializer,r?"for-in":"for-of")}else if(t.type==="AssignmentPattern"){this.raise(t.start,d.InvalidLhs,"for-loop")}e.left=t;e.right=r?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(c.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,r?"ForInStatement":"ForOfStatement")}parseVar(e,t,s){const r=e.declarations=[];const i=this.hasPlugin("typescript");e.kind=s;for(;;){const e=this.startNode();this.parseVarId(e,s);if(this.eat(c.eq)){e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn()}else{if(s==="const"&&!(this.match(c._in)||this.isContextual("of"))){if(!i){this.raise(this.state.lastTokEnd,d.DeclarationMissingInitializer,"Const declarations")}}else if(e.id.type!=="Identifier"&&!(t&&(this.match(c._in)||this.isContextual("of")))){this.raise(this.state.lastTokEnd,d.DeclarationMissingInitializer,"Complex binding patterns")}e.init=null}r.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(c.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,"variable declaration",t==="var"?Z:Q,undefined,t!=="var")}parseFunction(e,t=tt,s=false){const r=t&st;const i=t&rt;const n=!!r&&!(t&it);this.initFunction(e,s);if(this.match(c.star)&&i){this.raise(this.state.start,d.GeneratorInSingleStatementContext)}e.generator=this.eat(c.star);if(r){e.id=this.parseFunctionId(n)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(S);this.prodParam.enter(functionFlags(s,e.generator));if(!r){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,r?"FunctionDeclaration":"FunctionExpression")});this.prodParam.exit();this.scope.exit();if(r&&!i){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||this.match(c.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(c.parenL);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(c.parenR,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?Z:Q:ee,e.id.start)}parseClass(e,t,s){this.next();this.takeDecorators(e);const r=this.state.strict;this.state.strict=true;this.parseClassId(e,t,s);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,r);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(c.eq)||this.match(c.semi)||this.match(c.braceR)}isClassMethod(){return this.match(c.parenL)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const s={hadConstructor:false,hadSuperClass:e};let r=[];const i=this.startNode();i.body=[];this.expect(c.braceL);this.withTopicForbiddingContext(()=>{while(!this.match(c.braceR)){if(this.eat(c.semi)){if(r.length>0){throw this.raise(this.state.lastTokEnd,d.DecoratorSemicolon)}continue}if(this.match(c.at)){r.push(this.parseDecorator());continue}const e=this.startNode();if(r.length){e.decorators=r;this.resetStartLocationFromNode(e,r[0]);r=[]}this.parseClassMember(i,e,s);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(e.start,d.DecoratorConstructor)}}});this.state.strict=t;this.next();if(r.length){throw this.raise(this.state.start,d.TrailingDecorator)}this.classScope.exit();return this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){const s=this.parseIdentifier(true);if(this.isClassMethod()){const r=t;r.kind="method";r.computed=false;r.key=s;r.static=false;this.pushClassMethod(e,r,false,false,false,false);return true}else if(this.isClassProperty()){const r=t;r.computed=false;r.key=s;r.static=false;e.body.push(this.parseClassProperty(r));return true}return false}parseClassMember(e,t,s){const r=this.isContextual("static");if(r){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(c.braceL)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,s,r)}parseClassMemberWithIsStatic(e,t,s,r){const i=t;const n=t;const a=t;const o=t;const l=i;const p=i;t.static=r;if(this.eat(c.star)){l.kind="method";const t=this.match(c.privateName);this.parseClassElementName(l);if(t){this.pushClassPrivateMethod(e,n,true,false);return}if(this.isNonstaticConstructor(i)){this.raise(i.key.start,d.ConstructorIsGenerator)}this.pushClassMethod(e,i,true,false,false,false);return}const u=this.state.containsEsc;const h=this.match(c.privateName);const f=this.parseClassElementName(t);const y=f.type==="Identifier";const m=this.state.start;this.parsePostMemberNameModifiers(p);if(this.isClassMethod()){l.kind="method";if(h){this.pushClassPrivateMethod(e,n,false,false);return}const r=this.isNonstaticConstructor(i);let a=false;if(r){i.kind="constructor";if(s.hadConstructor&&!this.hasPlugin("typescript")){this.raise(f.start,d.DuplicateConstructor)}if(r&&this.hasPlugin("typescript")&&t.override){this.raise(f.start,d.OverrideOnConstructor)}s.hadConstructor=true;a=s.hadSuperClass}this.pushClassMethod(e,i,false,false,r,a)}else if(this.isClassProperty()){if(h){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(y&&f.name==="async"&&!u&&!this.isLineTerminator()){const t=this.eat(c.star);if(p.optional){this.unexpected(m)}l.kind="method";const s=this.match(c.privateName);this.parseClassElementName(l);this.parsePostMemberNameModifiers(p);if(s){this.pushClassPrivateMethod(e,n,t,true)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,d.ConstructorIsAsync)}this.pushClassMethod(e,i,t,true,false,false)}}else if(y&&(f.name==="get"||f.name==="set")&&!u&&!(this.match(c.star)&&this.isLineTerminator())){l.kind=f.name;const t=this.match(c.privateName);this.parseClassElementName(i);if(t){this.pushClassPrivateMethod(e,n,false,false)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,d.ConstructorIsAccessor)}this.pushClassMethod(e,i,false,false,false,false)}this.checkGetterSetterParams(i)}else if(this.isLineTerminator()){if(h){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:s,start:r}=this.state;if((t===c.name||t===c.string)&&e.static&&s==="prototype"){this.raise(r,d.StaticPrototype)}if(t===c.privateName&&s==="constructor"){this.raise(r,d.ConstructorClassPrivateField)}return this.parsePropertyName(e,true)}parseClassStaticBlock(e,t){var s;this.expectPlugin("classStaticBlock",t.start);this.scope.enter(F|M|D);const r=this.state.labels;this.state.labels=[];this.prodParam.enter(je);const i=t.body=[];this.parseBlockOrModuleBlockBody(i,undefined,false,c.braceR);this.prodParam.exit();this.scope.exit();this.state.labels=r;e.body.push(this.finishNode(t,"StaticBlock"));if((s=t.decorators)!=null&&s.length){this.raise(t.start,d.DecoratorStaticBlock)}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(t.key.start,d.ConstructorClassField)}e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const s=this.parseClassPrivateProperty(t);e.body.push(s);this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),be,s.key.start)}pushClassMethod(e,t,s,r,i,n){e.body.push(this.parseMethod(t,s,r,i,n,"ClassMethod",true))}pushClassPrivateMethod(e,t,s,r){const i=this.parseMethod(t,s,r,false,false,"ClassPrivateMethod",true);e.body.push(i);const n=i.kind==="get"?i.static?de:me:i.kind==="set"?i.static?ye:ge:be;this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),n,i.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(F|D);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(je);e.value=this.eat(c.eq)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,s,r=Y){if(this.match(c.name)){e.id=this.parseIdentifier();if(t){this.checkLVal(e.id,"class name",r)}}else{if(s||!t){e.id=null}else{this.unexpected(null,d.MissingClassName)}}}parseClassSuper(e){e.superClass=this.eat(c._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const s=!t||this.eat(c.comma);const r=s&&this.eatExportStar(e);const i=r&&this.maybeParseExportNamespaceSpecifier(e);const n=s&&(!i||this.eat(c.comma));const a=t||r;if(r&&!i){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&s&&!r&&!o||i&&n&&!o){throw this.unexpected(null,c.braceL)}let l;if(a||o){l=false;this.parseExportFrom(e,a)}else{l=this.maybeParseExportDeclaration(e)}if(a||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(c._default)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,c.braceL)}eatExportStar(e){return this.eat(c.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(c.braceL)){if(!e.specifiers)e.specifiers=[];e.specifiers.push(...this.parseExportSpecifiers());e.source=null;e.declaration=null;return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual("async"))return false;const e=this.nextTokenStart();return!p.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(c._function)||t){this.next();if(t){this.next()}return this.parseFunction(e,st|it,t)}else if(this.match(c._class)){return this.parseClass(e,true,true)}else if(this.match(c.at)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,d.DecoratorBeforeExport)}this.parseDecorators(false);return this.parseClass(e,true,true)}else if(this.match(c._const)||this.match(c._var)||this.isLet()){throw this.raise(this.state.start,d.UnsupportedDefaultExport)}else{const e=this.parseMaybeAssignAllowIn();this.semicolon();return e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(c.name)){const e=this.state.value;if(e==="async"&&!this.state.containsEsc||e==="let"){return false}if((e==="type"||e==="interface")&&!this.state.containsEsc){const e=this.lookahead();if(e.type===c.name&&e.value!=="from"||e.type===c.braceL){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(c._default)){return false}const e=this.nextTokenStart();const t=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||this.match(c.name)&&t){return true}if(this.match(c._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return t===34||t===39}return false}parseExportFrom(e,t){if(this.eatContextual("from")){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else{if(t){this.unexpected()}else{e.source=null}}this.semicolon()}shouldParseExportDeclaration(){if(this.match(c.at)){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){this.unexpected(this.state.start,d.DecoratorBeforeExport)}else{return true}}}return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isLet()||this.isAsyncFunction()}checkExport(e,t,s,r){if(t){if(s){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var i;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((i=t.extra)!=null&&i.parenthesized)){this.raise(t.start,d.ExportDefaultFromAsIdentifier)}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const s=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,s);if(!r&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(t.start,d.ExportBindingIsString,e.value,s)}else{this.checkReservedWord(e.name,e.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}const n=this.state.decoratorStack[this.state.decoratorStack.length-1];if(n.length){throw this.raise(e.start,d.UnsupportedDecoratorExport)}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){this.raise(e.start,t==="default"?d.DuplicateDefaultExport:d.DuplicateExport,t)}this.exportedIdentifiers.add(t)}parseExportSpecifiers(){const e=[];let t=true;this.expect(c.braceL);while(!this.eat(c.braceR)){if(t){t=false}else{this.expect(c.comma);if(this.eat(c.braceR))break}const s=this.startNode();s.local=this.parseModuleExportName();s.exported=this.eatContextual("as")?this.parseModuleExportName():s.local.__clone();e.push(this.finishNode(s,"ExportSpecifier"))}return e}parseModuleExportName(){if(this.match(c.string)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(nt);if(t){this.raise(e.start,d.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16))}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(c.string)){const t=this.maybeParseDefaultImportSpecifier(e);const s=!t||this.eat(c.comma);const r=s&&this.maybeParseStarImportSpecifier(e);if(s&&!r)this.parseNamedImportSpecifiers(e);this.expectContextual("from")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(c.string))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(c.name)}parseImportSpecifierLocal(e,t,s,r){t.local=this.parseIdentifier();this.checkLVal(t.local,r,Q);e.specifiers.push(this.finishNode(t,s))}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(c.braceR)){break}const s=this.startNode();const r=this.state.value;if(t.has(r)){this.raise(this.state.start,d.ModuleAttributesWithDuplicateKeys,r)}t.add(r);if(this.match(c.string)){s.key=this.parseStringLiteral(r)}else{s.key=this.parseIdentifier(true)}this.expect(c.colon);if(!this.match(c.string)){throw this.unexpected(this.state.start,d.ModuleAttributeInvalidValue)}s.value=this.parseStringLiteral(this.state.value);this.finishNode(s,"ImportAttribute");e.push(s)}while(this.eat(c.comma));return e}maybeParseModuleAttributes(){if(this.match(c._with)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const s=this.startNode();s.key=this.parseIdentifier(true);if(s.key.name!=="type"){this.raise(s.key.start,d.ModuleAttributeDifferentFromType,s.key.name)}if(t.has(s.key.name)){this.raise(s.key.start,d.ModuleAttributesWithDuplicateKeys,s.key.name)}t.add(s.key.name);this.expect(c.colon);if(!this.match(c.string)){throw this.unexpected(this.state.start,d.ModuleAttributeInvalidValue)}s.value=this.parseStringLiteral(this.state.value);this.finishNode(s,"ImportAttribute");e.push(s)}while(this.eat(c.comma));return e}maybeParseImportAssertions(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(c.braceL);const e=this.parseAssertEntries();this.eat(c.braceR);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(c.star)){const t=this.startNode();this.next();this.expectContextual("as");this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(c.braceL);while(!this.eat(c.braceR)){if(t){t=false}else{if(this.eat(c.colon)){throw this.raise(this.state.start,d.DestructureNamedImport)}this.expect(c.comma);if(this.eat(c.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();const s=this.match(c.string);t.imported=this.parseModuleExportName();if(this.eatContextual("as")){t.local=this.parseIdentifier()}else{const{imported:e}=t;if(s){throw this.raise(t.start,d.ImportBindingIsString,e.value)}this.checkReservedWord(e.name,t.start,true,true);t.local=e.__clone()}this.checkLVal(t.local,"import specifier",Q);e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const s of e){const[e,r]=Array.isArray(s)?s:[s,{}];if(!t.has(e))t.set(e,r||{})}return t}function parse(e,t){var s;if(((s=t)==null?void 0:s.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const s=getParser(t,e);const r=s.parse();if(s.sawUnambiguousESM){return r}if(s.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{r.program.sourceType="script"}return r}catch(s){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw s}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const s=getParser(t,e);if(s.options.strictMode){s.state.strict=true}return s.getExpression()}function getParser(e,t){let s=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);s=getParserClass(e.plugins)}return new s(e,t)}const ot={};function getParserClass(e){const t=qe.filter(t=>hasPlugin(e,t));const s=t.join("/");let r=ot[s];if(!r){r=Parser;for(const e of t){r=We[e](r)}ot[s]=r}return r}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=c},99593:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var s=function(){function sliceIterator(e,t){var s=[];var r=true;var i=false;var n=undefined;try{for(var a=e[Symbol.iterator](),o;!(r=(o=a.next()).done);r=true){s.push(o.value);if(t&&s.length===t)break}}catch(e){i=true;n=e}finally{try{if(!r&&a["return"])a["return"]()}finally{if(i)throw n}}return s}return function(e,t){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return sliceIterator(e,t)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();t.getImportSource=getImportSource;t.createDynamicImportTransform=createDynamicImportTransform;function getImportSource(e,t){var r=t.arguments;var i=s(r,1),n=i[0];var a=e.isStringLiteral(n)||e.isTemplateLiteral(n);if(a){e.removeComments(n);return n}return e.templateLiteral([e.templateElement({raw:"",cooked:""}),e.templateElement({raw:"",cooked:""},true)],r)}function createDynamicImportTransform(e){var t=e.template,s=e.types;var r={static:{interop:t("Promise.resolve().then(() => INTEROP(require(SOURCE)))"),noInterop:t("Promise.resolve().then(() => require(SOURCE))")},dynamic:{interop:t("Promise.resolve(SOURCE).then(s => INTEROP(require(s)))"),noInterop:t("Promise.resolve(SOURCE).then(s => require(s))")}};var i=typeof WeakSet==="function"&&new WeakSet;var n=function isString(e){return s.isStringLiteral(e)||s.isTemplateLiteral(e)&&e.expressions.length===0};return function(e,t){if(i){if(i.has(t)){return}i.add(t)}var a=getImportSource(s,t.parent);var o=n(a)?r["static"]:r.dynamic;var l=e.opts.noInterop?o.noInterop({SOURCE:a}):o.interop({SOURCE:a,INTEROP:e.addHelper("interopRequireWildcard")});t.parentPath.replaceWith(l)}}},42604:(e,t,s)=>{e.exports=s(99593)},4100:(e,t,s)=>{"use strict";const r=s(42707);const{get:i,has:n,find:a}=s(82747);const o=e=>{if(!e){return[]}return r(e).paths().filter(e=>e.length).map(e=>e.join(".")).sort((e,t)=>t.length-e.length)};const l=(e,t,s)=>{t.replaceWith(e(s));if(t.parentPath.isBinaryExpression()){const s=t.parentPath.evaluate();if(s.confident){t.parentPath.replaceWith(e(s.value))}}};const c=(e,t,s,r)=>{const c=a(o(e),e=>r(t,e));if(n(e,c)){l(s,t,i(e,c))}};const p=(e,t)=>e.matchesPattern(t);const u=(e,t)=>e.node.name===t;const h=(e,t)=>e.node.argument.name===t;const f="typeof ";const d=function({types:e}){return{visitor:{MemberExpression(t,s){c(s.opts,t,e.valueToNode,p)},Identifier(t,s){c(s.opts,t,e.valueToNode,u)},UnaryExpression(t,s){if(t.node.operator!=="typeof"){return}const{opts:r}=s;const i=Object.keys(r);const n={};i.forEach(e=>{if(e.substring(0,f.length)===f){n[e.substring(f.length)]=r[e]}});c(n,t,e.valueToNode,h)}}}};e.exports=d;e.exports.default=d;e.exports.getSortedObjectPaths=o},99392:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var r=_interopRequireDefault(s(80848));var i=_interopRequireDefault(s(90006));var n=_interopRequireDefault(s(52970));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectSpread(e){for(var t=1;t1&&arguments[1]!==undefined?arguments[1]:{};var a=n.as,o=a===void 0?"assignmentExpression":a;var l=t.expression('\n process.env.NODE_ENV !== "production" ? RIGHT : {}\n ',{placeholderPattern:/^(LEFT|RIGHT)$/})({RIGHT:i});switch(o){case"variableDeclarator":return s.variableDeclarator(r,l);case"assignmentExpression":return s.assignmentExpression("=",r,l);default:throw new Error("unrecognized template type ".concat(o))}},mode:u.opts.mode||"remove",ignoreFilenames:h,types:s,removeImport:u.opts.removeImport||false,libraries:(u.opts.additionalLibraries||[]).concat("prop-types"),classNameMatchers:f,createReactClassName:u.opts.createReactClassName||"createReactClass"};if(u.opts.plugins){var y=u;var m=u.opts.plugins.map(function(t){var s=typeof t==="string"?t:t[0];if(typeof t!=="string"){y.opts=_objectSpread({},y.opts,t[1])}var r=require(s);if(typeof r!=="function"){r=r.default}return r(e).visitor});a(p.parent,a.visitors.merge(m),p.scope,y,p.parentPath)}p.traverse({ObjectProperty:{exit:function exit(e){var t=e.node;if(t.computed||t.key.name!=="propTypes"){return}var s=e.findParent(function(e){if(e.type!=="CallExpression"){return false}return e.get("callee").node.name===d.createReactClassName||e.get("callee").node.property&&e.get("callee").node.property.name==="createClass"});if(s){e.traverse(c);l.add(e);(0,n.default)(e,d,{type:"createClass"})}}},ClassProperty:function ClassProperty(e){var t=e.node,s=e.scope;if(t.key.name==="propTypes"){var r=s.path;if(isReactClass(r.get("superClass"),s,d)){e.traverse(c);l.add(e);(0,n.default)(e,d,{type:"class static",pathClassDeclaration:r})}}},AssignmentExpression:function AssignmentExpression(e){var t=e.node,s=e.scope;if(t.left.computed||!t.left.property||t.left.property.name!=="propTypes"){return}var a=(0,r.default)(e.node.left);if(a){e.traverse(c);l.add(e);(0,n.default)(e,d,{type:"assign"});return}var o=t.left.object.name;var p=s.getBinding(o);if(!p){return}if(p.path.isClassDeclaration()){var u=p.path.get("superClass");if(isReactClass(u,s,d)){e.traverse(c);l.add(e);(0,n.default)(e,d,{type:"assign"})}}else if((0,i.default)(p.path)){e.traverse(c);l.add(e);(0,n.default)(e,d,{type:"assign"})}}});var g=0;var b={VariableDeclarator:function VariableDeclarator(e){if(e.scope.block.type!=="Program"){return}if(["ObjectPattern","ArrayPattern"].includes(e.node.id.type)){return}var t=e.node.id.name;if(!o.has(t)){return}var s=e.scope.getBinding(t),r=s.referencePaths;var i=r.some(function(e){var t=e.find(function(e){return l.has(e)});return!t});if(i){g+=1;return}l.add(e);o.delete(t);e.get("init").traverse(c);(0,n.default)(e,d,{type:"declarator"})}};var x=new Set;while(!areSetsEqual(o,x)&&o.size>0&&g0});if(!n){e.remove()}}})}else{throw new Error('transform-react-remove-prop-type: removeImport = true and mode != "remove" can not be used at the same time.')}}}}}}},80848:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isAnnotatedForRemoval;function isAnnotatedForRemoval(e){var t=e.trailingComments||[];return Boolean(t.find(function(e){var t=e.value;return t.trim()==="remove-proptypes"}))}},90006:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isStatelessComponent;var s=Symbol("traversed");function isJSXElementOrReactCreateElement(e){var t=false;e.traverse({CallExpression:function CallExpression(e){var s=e.get("callee");if(s.matchesPattern("React.createElement")||s.matchesPattern("React.cloneElement")||s.node.name==="cloneElement"){t=true}},JSXElement:function JSXElement(){t=true}});return t}function isReturningJSXElement(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;if(e.node.init&&e.node.init.body&&isJSXElementOrReactCreateElement(e)){return true}if(t>20){throw new Error("transform-react-remove-prop-type: infinite loop detected.")}var r=false;e.traverse({ReturnStatement:function ReturnStatement(i){if(r){return}var n=i.get("argument");if(!n.node){return}if(isJSXElementOrReactCreateElement(i)){r=true;return}if(n.node.type==="CallExpression"){var a=n.get("callee").node.name;var o=e.scope.getBinding(a);if(!o){return}if(o.path[s]){return}o.path[s]=true;if(isReturningJSXElement(o.path,t+1)){r=true}}}});return r}var r=["VariableDeclarator","FunctionDeclaration"];function isStatelessComponent(e){if(r.indexOf(e.node.type)===-1){return false}if(isReturningJSXElement(e)){return true}return false}},52970:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=remove;function isInside(e,t){if(!e.hub.file.opts){return true}var s=e.hub.file.opts.filename;if(!s){return true}if(!t){return false}return t.test(s)}function remove(e,t,s){var r=t.visitedKey,i=t.unsafeWrapTemplate,n=t.wrapTemplate,a=t.mode,o=t.ignoreFilenames,l=t.types;if(o&&isInside(e.scope,o)){return}if(e.node[r]){return}e.node[r]=true;if(a==="remove"){if(e.parentPath.type==="ConditionalExpression"){e.replaceWith(l.unaryExpression("void",l.numericLiteral(0)))}else{e.remove()}return}if(a==="wrap"||a==="unsafe-wrap"){switch(s.type){case"createClass":break;case"class static":{var c;var p=s.pathClassDeclaration;if(!p.isClassExpression()&&p.node.id){c=p.node.id}else{return}var u=l.expressionStatement(l.assignmentExpression("=",l.memberExpression(c,e.node.key),e.node.value));if(p.parentPath.isExportDeclaration()){p=p.parentPath}p.insertAfter(u);e.remove();break}case"assign":if(a==="unsafe-wrap"){e.replaceWith(i({NODE:e.node}))}else{e.replaceWith(n({LEFT:e.node.left,RIGHT:e.node.right}))}e.node[r]=true;break;case"declarator":e.replaceWith(n({LEFT:e.node.id,RIGHT:e.node.init},{as:"variableDeclarator"}));e.node[r]=true;break;default:break}return}throw new Error("transform-react-remove-prop-type: unsupported mode ".concat(a,"."))}},36301:(e,t,s)=>{"use strict";var r=s(35747);var i=s(85622);var n=s(13401);Object.defineProperty(t,"commentRegex",{get:function getCommentRegex(){return/^\s*\/(?:\/|\*)[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/gm}});Object.defineProperty(t,"mapFileCommentRegex",{get:function getMapFileCommentRegex(){return/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"`]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^\*]+?)[ \t]*(?:\*\/){1}[ \t]*$)/gm}});function decodeBase64(e){return n.Buffer.from(e,"base64").toString()}function stripComment(e){return e.split(",").pop()}function readFromFileMap(e,s){var n=t.mapFileCommentRegex.exec(e);var a=n[1]||n[2];var o=i.resolve(s,a);try{return r.readFileSync(o,"utf8")}catch(e){throw new Error("An error occurred while trying to read the map file at "+o+"\n"+e)}}function Converter(e,t){t=t||{};if(t.isFileComment)e=readFromFileMap(e,t.commentFileDir);if(t.hasComment)e=stripComment(e);if(t.isEncoded)e=decodeBase64(e);if(t.isJSON||t.isEncoded)e=JSON.parse(e);this.sourcemap=e}Converter.prototype.toJSON=function(e){return JSON.stringify(this.sourcemap,null,e)};Converter.prototype.toBase64=function(){var e=this.toJSON();return n.Buffer.from(e,"utf8").toString("base64")};Converter.prototype.toComment=function(e){var t=this.toBase64();var s="sourceMappingURL=data:application/json;charset=utf-8;base64,"+t;return e&&e.multiline?"/*# "+s+" */":"//# "+s};Converter.prototype.toObject=function(){return JSON.parse(this.toJSON())};Converter.prototype.addProperty=function(e,t){if(this.sourcemap.hasOwnProperty(e))throw new Error('property "'+e+'" already exists on the sourcemap, use set property instead');return this.setProperty(e,t)};Converter.prototype.setProperty=function(e,t){this.sourcemap[e]=t;return this};Converter.prototype.getProperty=function(e){return this.sourcemap[e]};t.fromObject=function(e){return new Converter(e)};t.fromJSON=function(e){return new Converter(e,{isJSON:true})};t.fromBase64=function(e){return new Converter(e,{isEncoded:true})};t.fromComment=function(e){e=e.replace(/^\/\*/g,"//").replace(/\*\/$/g,"");return new Converter(e,{isEncoded:true,hasComment:true})};t.fromMapFileComment=function(e,t){return new Converter(e,{commentFileDir:t,isFileComment:true,isJSON:true})};t.fromSource=function(e){var s=e.match(t.commentRegex);return s?t.fromComment(s.pop()):null};t.fromMapFileSource=function(e,s){var r=e.match(t.mapFileCommentRegex);return r?t.fromMapFileComment(r.pop(),s):null};t.removeComments=function(e){return e.replace(t.commentRegex,"")};t.removeMapFileComments=function(e){return e.replace(t.mapFileCommentRegex,"")};t.generateMapFileComment=function(e,t){var s="sourceMappingURL="+e;return t&&t.multiline?"/*# "+s+" */":"//# "+s}},13401:(e,t,s)=>{var r=s(64293);var i=r.Buffer;function copyProps(e,t){for(var s in e){t[s]=e[s]}}if(i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow){e.exports=r}else{copyProps(r,t);t.Buffer=SafeBuffer}function SafeBuffer(e,t,s){return i(e,t,s)}copyProps(i,SafeBuffer);SafeBuffer.from=function(e,t,s){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return i(e,t,s)};SafeBuffer.alloc=function(e,t,s){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var r=i(e);if(t!==undefined){if(typeof s==="string"){r.fill(t,s)}else{r.fill(t)}}else{r.fill(0)}return r};SafeBuffer.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return i(e)};SafeBuffer.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return r.SlowBuffer(e)}},15873:(e,t,s)=>{"use strict";const r=s(64878);class Definition{constructor(e,t,s,r,i,n){this.type=e;this.name=t;this.node=s;this.parent=r;this.index=i;this.kind=n}}class ParameterDefinition extends Definition{constructor(e,t,s,i){super(r.Parameter,e,t,null,s,null);this.rest=i}}e.exports={ParameterDefinition:ParameterDefinition,Definition:Definition}},26839:(e,t,s)=>{"use strict";const r=s(42357);const i=s(44873);const n=s(96988);const a=s(28263);const o=s(64878);const l=s(51154).Scope;const c=s(77591).i8;function defaultOptions(){return{optimistic:false,directive:false,nodejsScope:false,impliedStrict:false,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function updateDeeply(e,t){function isHashObject(e){return typeof e==="object"&&e instanceof Object&&!(e instanceof Array)&&!(e instanceof RegExp)}for(const s in t){if(Object.prototype.hasOwnProperty.call(t,s)){const r=t[s];if(isHashObject(r)){if(isHashObject(e[s])){updateDeeply(e[s],r)}else{e[s]=updateDeeply({},r)}}else{e[s]=r}}}return e}function analyze(e,t){const s=updateDeeply(defaultOptions(),t);const a=new i(s);const o=new n(s,a);o.visit(e);r(a.__currentScope===null,"currentScope should be null.");return a}e.exports={version:c,Reference:a,Variable:o,Scope:l,ScopeManager:i,analyze:analyze}},17782:(e,t,s)=>{"use strict";const r=s(40379).Syntax;const i=s(11206);function getLast(e){return e[e.length-1]||null}class PatternVisitor extends i.Visitor{static isPattern(e){const t=e.type;return t===r.Identifier||t===r.ObjectPattern||t===r.ArrayPattern||t===r.SpreadElement||t===r.RestElement||t===r.AssignmentPattern}constructor(e,t,s){super(null,e);this.rootPattern=t;this.callback=s;this.assignments=[];this.rightHandNodes=[];this.restElements=[]}Identifier(e){const t=getLast(this.restElements);this.callback(e,{topLevel:e===this.rootPattern,rest:t!==null&&t!==undefined&&t.argument===e,assignments:this.assignments})}Property(e){if(e.computed){this.rightHandNodes.push(e.key)}this.visit(e.value)}ArrayPattern(e){for(let t=0,s=e.elements.length;t{this.rightHandNodes.push(e)});this.visit(e.callee)}}e.exports=PatternVisitor},28263:e=>{"use strict";const t=1;const s=2;const r=t|s;class Reference{constructor(e,t,s,r,i,n,a){this.identifier=e;this.from=t;this.tainted=false;this.resolved=null;this.flag=s;if(this.isWrite()){this.writeExpr=r;this.partial=n;this.init=a}this.__maybeImplicitGlobal=i}isStatic(){return!this.tainted&&this.resolved&&this.resolved.scope.isStatic()}isWrite(){return!!(this.flag&Reference.WRITE)}isRead(){return!!(this.flag&Reference.READ)}isReadOnly(){return this.flag===Reference.READ}isWriteOnly(){return this.flag===Reference.WRITE}isReadWrite(){return this.flag===Reference.RW}}Reference.READ=t;Reference.WRITE=s;Reference.RW=r;e.exports=Reference},96988:(e,t,s)=>{"use strict";const r=s(40379).Syntax;const i=s(11206);const n=s(28263);const a=s(64878);const o=s(17782);const l=s(15873);const c=s(42357);const p=l.ParameterDefinition;const u=l.Definition;function traverseIdentifierInPattern(e,t,s,r){const i=new o(e,t,r);i.visit(t);if(s!==null&&s!==undefined){i.rightHandNodes.forEach(s.visit,s)}}class Importer extends i.Visitor{constructor(e,t){super(null,t.options);this.declaration=e;this.referencer=t}visitImport(e,t){this.referencer.visitPattern(e,e=>{this.referencer.currentScope().__define(e,new u(a.ImportBinding,e,t,this.declaration,null,null))})}ImportNamespaceSpecifier(e){const t=e.local||e.id;if(t){this.visitImport(t,e)}}ImportDefaultSpecifier(e){const t=e.local||e.id;this.visitImport(t,e)}ImportSpecifier(e){const t=e.local||e.id;if(e.name){this.visitImport(e.name,e)}else{this.visitImport(t,e)}}}class Referencer extends i.Visitor{constructor(e,t){super(null,e);this.options=e;this.scopeManager=t;this.parent=null;this.isInnerMethodDefinition=false}currentScope(){return this.scopeManager.__currentScope}close(e){while(this.currentScope()&&e===this.currentScope().block){this.scopeManager.__currentScope=this.currentScope().__close(this.scopeManager)}}pushInnerMethodDefinition(e){const t=this.isInnerMethodDefinition;this.isInnerMethodDefinition=e;return t}popInnerMethodDefinition(e){this.isInnerMethodDefinition=e}referencingDefaultValue(e,t,s,r){const i=this.currentScope();t.forEach(t=>{i.__referencing(e,n.WRITE,t.right,s,e!==t.left,r)})}visitPattern(e,t,s){let r=t;let i=s;if(typeof t==="function"){i=t;r={processRightHandNodes:false}}traverseIdentifierInPattern(this.options,e,r.processRightHandNodes?this:null,i)}visitFunction(e){let t,s;if(e.type===r.FunctionDeclaration){this.currentScope().__define(e.id,new u(a.FunctionName,e.id,e,null,null,null))}if(e.type===r.FunctionExpression&&e.id){this.scopeManager.__nestFunctionExpressionNameScope(e)}this.scopeManager.__nestFunctionScope(e,this.isInnerMethodDefinition);const i=this;function visitPatternCallback(s,r){i.currentScope().__define(s,new p(s,e,t,r.rest));i.referencingDefaultValue(s,r.assignments,null,true)}for(t=0,s=e.params.length;t{this.currentScope().__define(t,new p(t,e,e.params.length,true))})}if(e.body){if(e.body.type===r.BlockStatement){this.visitChildren(e.body)}else{this.visit(e.body)}}this.close(e)}visitClass(e){if(e.type===r.ClassDeclaration){this.currentScope().__define(e.id,new u(a.ClassName,e.id,e,null,null,null))}this.visit(e.superClass);this.scopeManager.__nestClassScope(e);if(e.id){this.currentScope().__define(e.id,new u(a.ClassName,e.id,e))}this.visit(e.body);this.close(e)}visitProperty(e){let t;if(e.computed){this.visit(e.key)}const s=e.type===r.MethodDefinition;if(s){t=this.pushInnerMethodDefinition(true)}this.visit(e.value);if(s){this.popInnerMethodDefinition(t)}}visitForIn(e){if(e.left.type===r.VariableDeclaration&&e.left.kind!=="var"){this.scopeManager.__nestForScope(e)}if(e.left.type===r.VariableDeclaration){this.visit(e.left);this.visitPattern(e.left.declarations[0].id,t=>{this.currentScope().__referencing(t,n.WRITE,e.right,null,true,true)})}else{this.visitPattern(e.left,{processRightHandNodes:true},(t,s)=>{let r=null;if(!this.currentScope().isStrict){r={pattern:t,node:e}}this.referencingDefaultValue(t,s.assignments,r,false);this.currentScope().__referencing(t,n.WRITE,e.right,r,true,false)})}this.visit(e.right);this.visit(e.body);this.close(e)}visitVariableDeclaration(e,t,s,r){const i=s.declarations[r];const a=i.init;this.visitPattern(i.id,{processRightHandNodes:true},(o,l)=>{e.__define(o,new u(t,o,i,s,r,s.kind));this.referencingDefaultValue(o,l.assignments,null,true);if(a){this.currentScope().__referencing(o,n.WRITE,a,null,!l.topLevel,true)}})}AssignmentExpression(e){if(o.isPattern(e.left)){if(e.operator==="="){this.visitPattern(e.left,{processRightHandNodes:true},(t,s)=>{let r=null;if(!this.currentScope().isStrict){r={pattern:t,node:e}}this.referencingDefaultValue(t,s.assignments,r,false);this.currentScope().__referencing(t,n.WRITE,e.right,r,!s.topLevel,false)})}else{this.currentScope().__referencing(e.left,n.RW,e.right)}}else{this.visit(e.left)}this.visit(e.right)}CatchClause(e){this.scopeManager.__nestCatchScope(e);this.visitPattern(e.param,{processRightHandNodes:true},(t,s)=>{this.currentScope().__define(t,new u(a.CatchClause,e.param,e,null,null,null));this.referencingDefaultValue(t,s.assignments,null,true)});this.visit(e.body);this.close(e)}Program(e){this.scopeManager.__nestGlobalScope(e);if(this.scopeManager.__isNodejsScope()){this.currentScope().isStrict=false;this.scopeManager.__nestFunctionScope(e,false)}if(this.scopeManager.__isES6()&&this.scopeManager.isModule()){this.scopeManager.__nestModuleScope(e)}if(this.scopeManager.isStrictModeSupported()&&this.scopeManager.isImpliedStrict()){this.currentScope().isStrict=true}this.visitChildren(e);this.close(e)}Identifier(e){this.currentScope().__referencing(e)}UpdateExpression(e){if(o.isPattern(e.argument)){this.currentScope().__referencing(e.argument,n.RW,null)}else{this.visitChildren(e)}}MemberExpression(e){this.visit(e.object);if(e.computed){this.visit(e.property)}}Property(e){this.visitProperty(e)}MethodDefinition(e){this.visitProperty(e)}BreakStatement(){}ContinueStatement(){}LabeledStatement(e){this.visit(e.body)}ForStatement(e){if(e.init&&e.init.type===r.VariableDeclaration&&e.init.kind!=="var"){this.scopeManager.__nestForScope(e)}this.visitChildren(e);this.close(e)}ClassExpression(e){this.visitClass(e)}ClassDeclaration(e){this.visitClass(e)}CallExpression(e){if(!this.scopeManager.__ignoreEval()&&e.callee.type===r.Identifier&&e.callee.name==="eval"){this.currentScope().variableScope.__detectEval()}this.visitChildren(e)}BlockStatement(e){if(this.scopeManager.__isES6()){this.scopeManager.__nestBlockScope(e)}this.visitChildren(e);this.close(e)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(e){this.visit(e.object);this.scopeManager.__nestWithScope(e);this.visit(e.body);this.close(e)}VariableDeclaration(e){const t=e.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let s=0,r=e.declarations.length;s{"use strict";const r=s(51154);const i=s(42357);const n=r.GlobalScope;const a=r.CatchScope;const o=r.WithScope;const l=r.ModuleScope;const c=r.ClassScope;const p=r.SwitchScope;const u=r.FunctionScope;const h=r.ForScope;const f=r.FunctionExpressionNameScope;const d=r.BlockScope;class ScopeManager{constructor(e){this.scopes=[];this.globalScope=null;this.__nodeToScope=new WeakMap;this.__currentScope=null;this.__options=e;this.__declaredVariables=new WeakMap}__useDirective(){return this.__options.directive}__isOptimistic(){return this.__options.optimistic}__ignoreEval(){return this.__options.ignoreEval}__isNodejsScope(){return this.__options.nodejsScope}isModule(){return this.__options.sourceType==="module"}isImpliedStrict(){return this.__options.impliedStrict}isStrictModeSupported(){return this.__options.ecmaVersion>=5}__get(e){return this.__nodeToScope.get(e)}getDeclaredVariables(e){return this.__declaredVariables.get(e)||[]}acquire(e,t){function predicate(e){if(e.type==="function"&&e.functionExpressionScope){return false}return true}const s=this.__get(e);if(!s||s.length===0){return null}if(s.length===1){return s[0]}if(t){for(let e=s.length-1;e>=0;--e){const t=s[e];if(predicate(t)){return t}}}else{for(let e=0,t=s.length;e=6}}e.exports=ScopeManager},51154:(e,t,s)=>{"use strict";const r=s(40379).Syntax;const i=s(28263);const n=s(64878);const a=s(15873).Definition;const o=s(42357);function isStrictScope(e,t,s,i){let n;if(e.upper&&e.upper.isStrict){return true}if(s){return true}if(e.type==="class"||e.type==="module"){return true}if(e.type==="block"||e.type==="switch"){return false}if(e.type==="function"){if(t.type===r.ArrowFunctionExpression&&t.body.type!==r.BlockStatement){return false}if(t.type===r.Program){n=t}else{n=t.body}if(!n){return false}}else if(e.type==="global"){n=t}else{return false}if(i){for(let e=0,t=n.body.length;e0&&r.every(shouldBeStatically)}__staticCloseRef(e){if(!this.__resolve(e)){this.__delegateToUpperScope(e)}}__dynamicCloseRef(e){let t=this;do{t.through.push(e);t=t.upper}while(t)}__globalCloseRef(e){if(this.__shouldStaticallyCloseForGlobal(e)){this.__staticCloseRef(e)}else{this.__dynamicCloseRef(e)}}__close(e){let t;if(this.__shouldStaticallyClose(e)){t=this.__staticCloseRef}else if(this.type!=="global"){t=this.__dynamicCloseRef}else{t=this.__globalCloseRef}for(let e=0,s=this.__left.length;ee.name.range[0]>=s))}}class ForScope extends Scope{constructor(e,t,s){super(e,"for",t,s,false)}}class ClassScope extends Scope{constructor(e,t,s){super(e,"class",t,s,false)}}e.exports={Scope:Scope,GlobalScope:GlobalScope,ModuleScope:ModuleScope,FunctionExpressionNameScope:FunctionExpressionNameScope,CatchScope:CatchScope,WithScope:WithScope,BlockScope:BlockScope,SwitchScope:SwitchScope,FunctionScope:FunctionScope,ForScope:ForScope,ClassScope:ClassScope}},64878:e=>{"use strict";class Variable{constructor(e,t){this.name=e;this.identifiers=[];this.references=[];this.defs=[];this.tainted=false;this.stack=true;this.scope=t}}Variable.CatchClause="CatchClause";Variable.Parameter="Parameter";Variable.FunctionName="FunctionName";Variable.ClassName="ClassName";Variable.Variable="Variable";Variable.ImportBinding="ImportBinding";Variable.ImplicitGlobalVariable="ImplicitGlobalVariable";e.exports=Variable},11206:(e,t,s)=>{(function(){"use strict";var e=s(30818);function isNode(e){if(e==null){return false}return typeof e==="object"&&typeof e.type==="string"}function isProperty(t,s){return(t===e.Syntax.ObjectExpression||t===e.Syntax.ObjectPattern)&&s==="properties"}function Visitor(t,s){s=s||{};this.__visitor=t||this;this.__childVisitorKeys=s.childVisitorKeys?Object.assign({},e.VisitorKeys,s.childVisitorKeys):e.VisitorKeys;if(s.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof s.fallback==="function"){this.__fallback=s.fallback}}Visitor.prototype.visitChildren=function(t){var s,r,i,n,a,o,l;if(t==null){return}s=t.type||e.Syntax.Property;r=this.__childVisitorKeys[s];if(!r){if(this.__fallback){r=this.__fallback(t)}else{throw new Error("Unknown node type "+s+".")}}for(i=0,n=r.length;i{(function clone(e){"use strict";var t,s,r,i,n,a;function deepCopy(e){var t={},s,r;for(s in e){if(e.hasOwnProperty(s)){r=e[s];if(typeof r==="object"&&r!==null){t[s]=deepCopy(r)}else{t[s]=r}}}return t}function upperBound(e,t){var s,r,i,n;r=e.length;i=0;while(r){s=r>>>1;n=i+s;if(t(e[n])){r=s}else{i=n+1;r-=s+1}}return i}t={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};r={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};i={};n={};a={};s={Break:i,Skip:n,Remove:a};function Reference(e,t){this.parent=e;this.key=t}Reference.prototype.replace=function replace(e){this.parent[this.key]=e};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(e,t,s,r){this.node=e;this.path=t;this.wrap=s;this.ref=r}function Controller(){}Controller.prototype.path=function path(){var e,t,s,r,i,n;function addToPath(e,t){if(Array.isArray(t)){for(s=0,r=t.length;s=0;--s){if(e[s].node===t){return true}}return false}Controller.prototype.traverse=function traverse(e,t){var s,r,a,o,l,c,p,u,h,f,d,y;this.__initialize(e,t);y={};s=this.__worklist;r=this.__leavelist;s.push(new Element(e,null,null,null));r.push(new Element(null,null,null,null));while(s.length){a=s.pop();if(a===y){a=r.pop();c=this.__execute(t.leave,a);if(this.__state===i||c===i){return}continue}if(a.node){c=this.__execute(t.enter,a);if(this.__state===i||c===i){return}s.push(y);r.push(a);if(this.__state===n||c===n){continue}o=a.node;l=o.type||a.wrap;f=this.__keys[l];if(!f){if(this.__fallback){f=this.__fallback(o)}else{throw new Error("Unknown node type "+l+".")}}u=f.length;while((u-=1)>=0){p=f[u];d=o[p];if(!d){continue}if(Array.isArray(d)){h=d.length;while((h-=1)>=0){if(!d[h]){continue}if(candidateExistsInLeaveList(r,d[h])){continue}if(isProperty(l,f[u])){a=new Element(d[h],[p,h],"Property",null)}else if(isNode(d[h])){a=new Element(d[h],[p,h],null,null)}else{continue}s.push(a)}}else if(isNode(d)){if(candidateExistsInLeaveList(r,d)){continue}s.push(new Element(d,p,null,null))}}}}};Controller.prototype.replace=function replace(e,t){var s,r,o,l,c,p,u,h,f,d,y,m,g;function removeElem(e){var t,r,i,n;if(e.ref.remove()){r=e.ref.key;n=e.ref.parent;t=s.length;while(t--){i=s[t];if(i.ref&&i.ref.parent===n){if(i.ref.key=0){g=f[u];d=o[g];if(!d){continue}if(Array.isArray(d)){h=d.length;while((h-=1)>=0){if(!d[h]){continue}if(isProperty(l,f[u])){p=new Element(d[h],[g,h],"Property",new Reference(d,h))}else if(isNode(d[h])){p=new Element(d[h],[g,h],null,new Reference(d,h))}else{continue}s.push(p)}}else if(isNode(d)){s.push(new Element(d,g,null,new Reference(o,g)))}}}return m.root};function traverse(e,t){var s=new Controller;return s.traverse(e,t)}function replace(e,t){var s=new Controller;return s.replace(e,t)}function extendCommentRange(e,t){var s;s=upperBound(t,function search(t){return t.range[0]>e.range[0]});e.extendedRange=[e.range[0],e.range[1]];if(s!==t.length){e.extendedRange[1]=t[s].range[0]}s-=1;if(s>=0){e.extendedRange[0]=t[s].range[1]}return e}function attachComments(e,t,r){var i=[],n,a,o,l;if(!e.range){throw new Error("attachComments needs range information")}if(!r.length){if(t.length){for(o=0,a=t.length;oe.range[0]){break}if(t.extendedRange[1]===e.range[0]){if(!e.leadingComments){e.leadingComments=[]}e.leadingComments.push(t);i.splice(l,1)}else{l+=1}}if(l===i.length){return s.Break}if(i[l].extendedRange[0]>e.range[1]){return s.Skip}}});l=0;traverse(e,{leave:function(e){var t;while(le.range[1]){return s.Skip}}});return e}e.Syntax=t;e.traverse=traverse;e.replace=replace;e.attachComments=attachComments;e.VisitorKeys=r;e.VisitorOption=s;e.Controller=Controller;e.cloneEnvironment=function(){return clone({})};return e})(t)},40379:(e,t,s)=>{(function clone(e){"use strict";var t,r,i,n,a,o;function deepCopy(e){var t={},s,r;for(s in e){if(e.hasOwnProperty(s)){r=e[s];if(typeof r==="object"&&r!==null){t[s]=deepCopy(r)}else{t[s]=r}}}return t}function upperBound(e,t){var s,r,i,n;r=e.length;i=0;while(r){s=r>>>1;n=i+s;if(t(e[n])){r=s}else{i=n+1;r-=s+1}}return i}t={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};i={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};n={};a={};o={};r={Break:n,Skip:a,Remove:o};function Reference(e,t){this.parent=e;this.key=t}Reference.prototype.replace=function replace(e){this.parent[this.key]=e};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(e,t,s,r){this.node=e;this.path=t;this.wrap=s;this.ref=r}function Controller(){}Controller.prototype.path=function path(){var e,t,s,r,i,n;function addToPath(e,t){if(Array.isArray(t)){for(s=0,r=t.length;s=0){p=f[u];d=o[p];if(!d){continue}if(Array.isArray(d)){h=d.length;while((h-=1)>=0){if(!d[h]){continue}if(isProperty(l,f[u])){i=new Element(d[h],[p,h],"Property",null)}else if(isNode(d[h])){i=new Element(d[h],[p,h],null,null)}else{continue}s.push(i)}}else if(isNode(d)){s.push(new Element(d,p,null,null))}}}}};Controller.prototype.replace=function replace(e,t){var s,r,i,l,c,p,u,h,f,d,y,m,g;function removeElem(e){var t,r,i,n;if(e.ref.remove()){r=e.ref.key;n=e.ref.parent;t=s.length;while(t--){i=s[t];if(i.ref&&i.ref.parent===n){if(i.ref.key=0){g=f[u];d=i[g];if(!d){continue}if(Array.isArray(d)){h=d.length;while((h-=1)>=0){if(!d[h]){continue}if(isProperty(l,f[u])){p=new Element(d[h],[g,h],"Property",new Reference(d,h))}else if(isNode(d[h])){p=new Element(d[h],[g,h],null,new Reference(d,h))}else{continue}s.push(p)}}else if(isNode(d)){s.push(new Element(d,g,null,new Reference(i,g)))}}}return m.root};function traverse(e,t){var s=new Controller;return s.traverse(e,t)}function replace(e,t){var s=new Controller;return s.replace(e,t)}function extendCommentRange(e,t){var s;s=upperBound(t,function search(t){return t.range[0]>e.range[0]});e.extendedRange=[e.range[0],e.range[1]];if(s!==t.length){e.extendedRange[1]=t[s].range[0]}s-=1;if(s>=0){e.extendedRange[0]=t[s].range[1]}return e}function attachComments(e,t,s){var i=[],n,a,o,l;if(!e.range){throw new Error("attachComments needs range information")}if(!s.length){if(t.length){for(o=0,a=t.length;oe.range[0]){break}if(t.extendedRange[1]===e.range[0]){if(!e.leadingComments){e.leadingComments=[]}e.leadingComments.push(t);i.splice(l,1)}else{l+=1}}if(l===i.length){return r.Break}if(i[l].extendedRange[0]>e.range[1]){return r.Skip}}});l=0;traverse(e,{leave:function(e){var t;while(le.range[1]){return r.Skip}}});return e}e.version=s(35464).i8;e.Syntax=t;e.traverse=traverse;e.replace=replace;e.attachComments=attachComments;e.VisitorKeys=i;e.VisitorOption=r;e.Controller=Controller;e.cloneEnvironment=function(){return clone({})};return e})(t)},16252:e=>{"use strict";var t="Function.prototype.bind called on incompatible ";var s=Array.prototype.slice;var r=Object.prototype.toString;var i="[object Function]";e.exports=function bind(e){var n=this;if(typeof n!=="function"||r.call(n)!==i){throw new TypeError(t+n)}var a=s.call(arguments,1);var o;var l=function(){if(this instanceof o){var t=n.apply(this,a.concat(s.call(arguments)));if(Object(t)===t){return t}return this}else{return n.apply(e,a.concat(s.call(arguments)))}};var c=Math.max(0,n.length-a.length);var p=[];for(var u=0;u{"use strict";var r=s(16252);e.exports=Function.prototype.bind||r},67941:e=>{"use strict";const t=Symbol.for("gensync:v1:start");const s=Symbol.for("gensync:v1:suspend");const r="GENSYNC_EXPECTED_START";const i="GENSYNC_EXPECTED_SUSPEND";const n="GENSYNC_OPTIONS_ERROR";const a="GENSYNC_RACE_NONEMPTY";const o="GENSYNC_ERRBACK_NO_CALLBACK";e.exports=Object.assign(function gensync(e){let t=e;if(typeof e!=="function"){t=newGenerator(e)}else{t=wrapGenerator(e)}return Object.assign(t,makeFunctionAPI(t))},{all:buildOperation({name:"all",arity:1,sync:function(e){const t=Array.from(e[0]);return t.map(e=>evaluateSync(e))},async:function(e,t,s){const r=Array.from(e[0]);if(r.length===0){Promise.resolve().then(()=>t([]));return}let i=0;const n=r.map(()=>undefined);r.forEach((e,r)=>{evaluateAsync(e,e=>{n[r]=e;i+=1;if(i===n.length)t(n)},s)})}}),race:buildOperation({name:"race",arity:1,sync:function(e){const t=Array.from(e[0]);if(t.length===0){throw makeError("Must race at least 1 item",a)}return evaluateSync(t[0])},async:function(e,t,s){const r=Array.from(e[0]);if(r.length===0){throw makeError("Must race at least 1 item",a)}for(const e of r){evaluateAsync(e,t,s)}}})});function makeFunctionAPI(e){const t={sync:function(...t){return evaluateSync(e.apply(this,t))},async:function(...t){return new Promise((s,r)=>{evaluateAsync(e.apply(this,t),s,r)})},errback:function(...t){const s=t.pop();if(typeof s!=="function"){throw makeError("Asynchronous function called without callback",o)}let r;try{r=e.apply(this,t)}catch(e){s(e);return}evaluateAsync(r,e=>s(undefined,e),e=>s(e))}};return t}function assertTypeof(e,t,s,r){if(typeof s===e||r&&typeof s==="undefined"){return}let i;if(r){i=`Expected opts.${t} to be either a ${e}, or undefined.`}else{i=`Expected opts.${t} to be a ${e}.`}throw makeError(i,n)}function makeError(e,t){return Object.assign(new Error(e),{code:t})}function newGenerator({name:e,arity:t,sync:s,async:r,errback:i}){assertTypeof("string","name",e,true);assertTypeof("number","arity",t,true);assertTypeof("function","sync",s);assertTypeof("function","async",r,true);assertTypeof("function","errback",i,true);if(r&&i){throw makeError("Expected one of either opts.async or opts.errback, but got _both_.",n)}if(typeof e!=="string"){let t;if(i&&i.name&&i.name!=="errback"){t=i.name}if(r&&r.name&&r.name!=="async"){t=r.name.replace(/Async$/,"")}if(s&&s.name&&s.name!=="sync"){t=s.name.replace(/Sync$/,"")}if(typeof t==="string"){e=t}}if(typeof t!=="number"){t=s.length}return buildOperation({name:e,arity:t,sync:function(e){return s.apply(this,e)},async:function(e,t,n){if(r){r.apply(this,e).then(t,n)}else if(i){i.call(this,...e,(e,s)=>{if(e==null)t(s);else n(e)})}else{t(s.apply(this,e))}}})}function wrapGenerator(e){return setFunctionMetadata(e.name,e.length,function(...t){return e.apply(this,t)})}function buildOperation({name:e,arity:r,sync:i,async:n}){return setFunctionMetadata(e,r,function*(...e){const r=yield t;if(!r){const t=i.call(this,e);return t}let a;try{n.call(this,e,e=>{if(a)return;a={value:e};r()},e=>{if(a)return;a={err:e};r()})}catch(e){a={err:e};r()}yield s;if(a.hasOwnProperty("err")){throw a.err}return a.value})}function evaluateSync(e){let t;while(!({value:t}=e.next()).done){assertStart(t,e)}return t}function evaluateAsync(e,t,s){(function step(){try{let r;while(!({value:r}=e.next()).done){assertStart(r,e);let t=true;let s=false;const i=e.next(()=>{if(t){s=true}else{step()}});t=false;assertSuspend(i,e);if(!s){return}}return t(r)}catch(e){return s(e)}})()}function assertStart(e,s){if(e===t)return;throwError(s,makeError(`Got unexpected yielded value in gensync generator: ${JSON.stringify(e)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,r))}function assertSuspend({value:e,done:t},r){if(!t&&e===s)return;throwError(r,makeError(t?"Unexpected generator completion. If you get this, it is probably a gensync bug.":`Expected GENSYNC_SUSPEND, got ${JSON.stringify(e)}. If you get this, it is probably a gensync bug.`,i))}function throwError(e,t){if(e.throw)e.throw(t);throw t}function isIterable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!e[Symbol.iterator]}function setFunctionMetadata(e,t,s){if(typeof e==="string"){const t=Object.getOwnPropertyDescriptor(s,"name");if(!t||t.configurable){Object.defineProperty(s,"name",Object.assign(t||{},{configurable:true,value:e}))}}if(typeof t==="number"){const e=Object.getOwnPropertyDescriptor(s,"length");if(!e||e.configurable){Object.defineProperty(s,"length",Object.assign(e||{},{configurable:true,value:t}))}}return s}},41389:(e,t,s)=>{"use strict";e.exports=s(67589)},97841:(e,t,s)=>{"use strict";var r=s(45489);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},21176:(e,t,s)=>{"use strict";var r=s(97841);function specifierIncluded(e,t){var s=e.split(".");var r=t.split(" ");var i=r.length>1?r[0]:"=";var n=(r.length>1?r[1]:r[0]).split(".");for(var a=0;a<3;++a){var o=parseInt(s[a]||0,10);var l=parseInt(n[a]||0,10);if(o===l){continue}if(i==="<"){return o="){return o>=l}return false}return i===">="}function matchesRange(e,t){var s=t.split(/ ?&& ?/);if(s.length===0){return false}for(var r=0;r{Object.defineProperty(t,"__esModule",{value:true});t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:undefined};if(e[1])t.type="string",t.closed=!!(e[3]||e[4]);else if(e[5])t.type="comment";else if(e[6])t.type="comment",t.closed=!!e[7];else if(e[8])t.type="regex";else if(e[9])t.type="number";else if(e[10])t.type="name";else if(e[11])t.type="punctuator";else if(e[12])t.type="whitespace";return t}},66272:e=>{var t="Expected a function";var s=0/0;var r="[object Symbol]";var i=/^\s+|\s+$/g;var n=/^[-+]0x[0-9a-f]+$/i;var a=/^0b[01]+$/i;var o=/^0o[0-7]+$/i;var l=parseInt;var c=typeof global=="object"&&global&&global.Object===Object&&global;var p=typeof self=="object"&&self&&self.Object===Object&&self;var u=c||p||Function("return this")();var h=Object.prototype;var f=h.toString;var d=Math.max,y=Math.min;var m=function(){return u.Date.now()};function debounce(e,s,r){var i,n,a,o,l,c,p=0,u=false,h=false,f=true;if(typeof e!="function"){throw new TypeError(t)}s=toNumber(s)||0;if(isObject(r)){u=!!r.leading;h="maxWait"in r;a=h?d(toNumber(r.maxWait)||0,s):a;f="trailing"in r?!!r.trailing:f}function invokeFunc(t){var s=i,r=n;i=n=undefined;p=t;o=e.apply(r,s);return o}function leadingEdge(e){p=e;l=setTimeout(timerExpired,s);return u?invokeFunc(e):o}function remainingWait(e){var t=e-c,r=e-p,i=s-t;return h?y(i,a-r):i}function shouldInvoke(e){var t=e-c,r=e-p;return c===undefined||t>=s||t<0||h&&r>=a}function timerExpired(){var e=m();if(shouldInvoke(e)){return trailingEdge(e)}l=setTimeout(timerExpired,remainingWait(e))}function trailingEdge(e){l=undefined;if(f&&i){return invokeFunc(e)}i=n=undefined;return o}function cancel(){if(l!==undefined){clearTimeout(l)}p=0;i=c=n=l=undefined}function flush(){return l===undefined?o:trailingEdge(m())}function debounced(){var e=m(),t=shouldInvoke(e);i=arguments;n=this;c=e;if(t){if(l===undefined){return leadingEdge(c)}if(h){l=setTimeout(timerExpired,s);return invokeFunc(c)}}if(l===undefined){l=setTimeout(timerExpired,s)}return o}debounced.cancel=cancel;debounced.flush=flush;return debounced}function isObject(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function isObjectLike(e){return!!e&&typeof e=="object"}function isSymbol(e){return typeof e=="symbol"||isObjectLike(e)&&f.call(e)==r}function toNumber(e){if(typeof e=="number"){return e}if(isSymbol(e)){return s}if(isObject(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=isObject(t)?t+"":t}if(typeof e!="string"){return e===0?e:+e}e=e.replace(i,"");var r=a.test(e);return r||o.test(e)?l(e.slice(2),r?2:8):n.test(e)?s:+e}e.exports=debounce},82747:function(e,t,s){e=s.nmd(e);(function(){var s;var r="4.17.20";var i=200;var n="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function";var o="__lodash_hash_undefined__";var l=500;var c="__lodash_placeholder__";var p=1,u=2,h=4;var f=1,d=2;var y=1,m=2,g=4,b=8,x=16,v=32,w=64,P=128,E=256,A=512;var T=30,C="...";var k=800,I=16;var j=1,O=2,S=3;var _=1/0,R=9007199254740991,D=1.7976931348623157e308,N=0/0;var F=4294967295,M=F-1,L=F>>>1;var B=[["ary",P],["bind",y],["bindKey",m],["curry",b],["curryRight",x],["flip",A],["partial",v],["partialRight",w],["rearg",E]];var U="[object Arguments]",W="[object Array]",q="[object AsyncFunction]",H="[object Boolean]",z="[object Date]",V="[object DOMException]",K="[object Error]",$="[object Function]",G="[object GeneratorFunction]",J="[object Map]",X="[object Number]",Y="[object Null]",Q="[object Object]",Z="[object Promise]",ee="[object Proxy]",te="[object RegExp]",se="[object Set]",re="[object String]",ie="[object Symbol]",ne="[object Undefined]",ae="[object WeakMap]",oe="[object WeakSet]";var le="[object ArrayBuffer]",ce="[object DataView]",pe="[object Float32Array]",ue="[object Float64Array]",he="[object Int8Array]",fe="[object Int16Array]",de="[object Int32Array]",ye="[object Uint8Array]",me="[object Uint8ClampedArray]",ge="[object Uint16Array]",be="[object Uint32Array]";var xe=/\b__p \+= '';/g,ve=/\b(__p \+=) '' \+/g,we=/(__e\(.*?\)|\b__t\)) \+\n'';/g;var Pe=/&(?:amp|lt|gt|quot|#39);/g,Ee=/[&<>"']/g,Ae=RegExp(Pe.source),Te=RegExp(Ee.source);var Ce=/<%-([\s\S]+?)%>/g,ke=/<%([\s\S]+?)%>/g,Ie=/<%=([\s\S]+?)%>/g;var je=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Oe=/^\w*$/,Se=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var _e=/[\\^$.*+?()[\]{}|]/g,Re=RegExp(_e.source);var De=/^\s+|\s+$/g,Ne=/^\s+/,Fe=/\s+$/;var Me=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Le=/\{\n\/\* \[wrapped with (.+)\] \*/,Be=/,? & /;var Ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var We=/\\(\\)?/g;var qe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;var He=/\w*$/;var ze=/^[-+]0x[0-9a-f]+$/i;var Ve=/^0b[01]+$/i;var Ke=/^\[object .+?Constructor\]$/;var $e=/^0o[0-7]+$/i;var Ge=/^(?:0|[1-9]\d*)$/;var Je=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;var Xe=/($^)/;var Ye=/['\n\r\u2028\u2029\\]/g;var Qe="\\ud800-\\udfff",Ze="\\u0300-\\u036f",et="\\ufe20-\\ufe2f",tt="\\u20d0-\\u20ff",st=Ze+et+tt,rt="\\u2700-\\u27bf",it="a-z\\xdf-\\xf6\\xf8-\\xff",nt="\\xac\\xb1\\xd7\\xf7",at="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ot="\\u2000-\\u206f",lt=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ct="A-Z\\xc0-\\xd6\\xd8-\\xde",pt="\\ufe0e\\ufe0f",ut=nt+at+ot+lt;var ht="['’]",ft="["+Qe+"]",dt="["+ut+"]",yt="["+st+"]",mt="\\d+",gt="["+rt+"]",bt="["+it+"]",xt="[^"+Qe+ut+mt+rt+it+ct+"]",vt="\\ud83c[\\udffb-\\udfff]",wt="(?:"+yt+"|"+vt+")",Pt="[^"+Qe+"]",Et="(?:\\ud83c[\\udde6-\\uddff]){2}",At="[\\ud800-\\udbff][\\udc00-\\udfff]",Tt="["+ct+"]",Ct="\\u200d";var kt="(?:"+bt+"|"+xt+")",It="(?:"+Tt+"|"+xt+")",jt="(?:"+ht+"(?:d|ll|m|re|s|t|ve))?",Ot="(?:"+ht+"(?:D|LL|M|RE|S|T|VE))?",St=wt+"?",_t="["+pt+"]?",Rt="(?:"+Ct+"(?:"+[Pt,Et,At].join("|")+")"+_t+St+")*",Dt="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Nt="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ft=_t+St+Rt,Mt="(?:"+[gt,Et,At].join("|")+")"+Ft,Lt="(?:"+[Pt+yt+"?",yt,Et,At,ft].join("|")+")";var Bt=RegExp(ht,"g");var Ut=RegExp(yt,"g");var Wt=RegExp(vt+"(?="+vt+")|"+Lt+Ft,"g");var qt=RegExp([Tt+"?"+bt+"+"+jt+"(?="+[dt,Tt,"$"].join("|")+")",It+"+"+Ot+"(?="+[dt,Tt+kt,"$"].join("|")+")",Tt+"?"+kt+"+"+jt,Tt+"+"+Ot,Nt,Dt,mt,Mt].join("|"),"g");var Ht=RegExp("["+Ct+Qe+st+pt+"]");var zt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var Vt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"];var Kt=-1;var $t={};$t[pe]=$t[ue]=$t[he]=$t[fe]=$t[de]=$t[ye]=$t[me]=$t[ge]=$t[be]=true;$t[U]=$t[W]=$t[le]=$t[H]=$t[ce]=$t[z]=$t[K]=$t[$]=$t[J]=$t[X]=$t[Q]=$t[te]=$t[se]=$t[re]=$t[ae]=false;var Gt={};Gt[U]=Gt[W]=Gt[le]=Gt[ce]=Gt[H]=Gt[z]=Gt[pe]=Gt[ue]=Gt[he]=Gt[fe]=Gt[de]=Gt[J]=Gt[X]=Gt[Q]=Gt[te]=Gt[se]=Gt[re]=Gt[ie]=Gt[ye]=Gt[me]=Gt[ge]=Gt[be]=true;Gt[K]=Gt[$]=Gt[ae]=false;var Jt={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"};var Xt={"&":"&","<":"<",">":">",'"':""","'":"'"};var Yt={"&":"&","<":"<",">":">",""":'"',"'":"'"};var Qt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};var Zt=parseFloat,es=parseInt;var ts=typeof global=="object"&&global&&global.Object===Object&&global;var ss=typeof self=="object"&&self&&self.Object===Object&&self;var rs=ts||ss||Function("return this")();var is=true&&t&&!t.nodeType&&t;var ns=is&&"object"=="object"&&e&&!e.nodeType&&e;var as=ns&&ns.exports===is;var os=as&&ts.process;var ls=function(){try{var e=ns&&ns.require&&ns.require("util").types;if(e){return e}return os&&os.binding&&os.binding("util")}catch(e){}}();var cs=ls&&ls.isArrayBuffer,ps=ls&&ls.isDate,us=ls&&ls.isMap,hs=ls&&ls.isRegExp,fs=ls&&ls.isSet,ds=ls&&ls.isTypedArray;function apply(e,t,s){switch(s.length){case 0:return e.call(t);case 1:return e.call(t,s[0]);case 2:return e.call(t,s[0],s[1]);case 3:return e.call(t,s[0],s[1],s[2])}return e.apply(t,s)}function arrayAggregator(e,t,s,r){var i=-1,n=e==null?0:e.length;while(++i-1}function arrayIncludesWith(e,t,s){var r=-1,i=e==null?0:e.length;while(++r-1){}return s}function charsEndIndex(e,t){var s=e.length;while(s--&&baseIndexOf(t,e[s],0)>-1){}return s}function countHolders(e,t){var s=e.length,r=0;while(s--){if(e[s]===t){++r}}return r}var ms=basePropertyOf(Jt);var gs=basePropertyOf(Xt);function escapeStringChar(e){return"\\"+Qt[e]}function getValue(e,t){return e==null?s:e[t]}function hasUnicode(e){return Ht.test(e)}function hasUnicodeWord(e){return zt.test(e)}function iteratorToArray(e){var t,s=[];while(!(t=e.next()).done){s.push(t.value)}return s}function mapToArray(e){var t=-1,s=Array(e.size);e.forEach(function(e,r){s[++t]=[r,e]});return s}function overArg(e,t){return function(s){return e(t(s))}}function replaceHolders(e,t){var s=-1,r=e.length,i=0,n=[];while(++s-1}function listCacheSet(e,t){var s=this.__data__,r=assocIndexOf(s,e);if(r<0){++this.size;s.push([e,t])}else{s[r][1]=t}return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(e){var t=-1,s=e==null?0:e.length;this.clear();while(++t=t?e:t}}return e}function baseClone(e,t,r,i,n,a){var o,l=t&p,c=t&u,f=t&h;if(r){o=n?r(e,i,n,a):r(e)}if(o!==s){return o}if(!isObject(e)){return e}var d=Or(e);if(d){o=initCloneArray(e);if(!l){return copyArray(e,o)}}else{var y=Us(e),m=y==$||y==G;if(_r(e)){return cloneBuffer(e,l)}if(y==Q||y==U||m&&!n){o=c||m?{}:initCloneObject(e);if(!l){return c?copySymbolsIn(e,baseAssignIn(o,e)):copySymbols(e,baseAssign(o,e))}}else{if(!Gt[y]){return n?e:{}}o=initCloneByTag(e,y,l)}}a||(a=new Stack);var g=a.get(e);if(g){return g}a.set(e,o);if(Fr(e)){e.forEach(function(s){o.add(baseClone(s,t,r,s,e,a))})}else if(Dr(e)){e.forEach(function(s,i){o.set(i,baseClone(s,t,r,i,e,a))})}var b=f?c?getAllKeysIn:getAllKeys:c?keysIn:keys;var x=d?s:b(e);arrayEach(x||e,function(s,i){if(x){i=s;s=e[i]}assignValue(o,i,baseClone(s,t,r,i,e,a))});return o}function baseConforms(e){var t=keys(e);return function(s){return baseConformsTo(s,e,t)}}function baseConformsTo(e,t,r){var i=r.length;if(e==null){return!i}e=tt(e);while(i--){var n=r[i],a=t[n],o=e[n];if(o===s&&!(n in e)||!a(o)){return false}}return true}function baseDelay(e,t,r){if(typeof e!="function"){throw new it(a)}return Hs(function(){e.apply(s,r)},t)}function baseDifference(e,t,s,r){var n=-1,a=arrayIncludes,o=true,l=e.length,c=[],p=t.length;if(!l){return c}if(s){t=arrayMap(t,baseUnary(s))}if(r){a=arrayIncludesWith;o=false}else if(t.length>=i){a=cacheHas;o=false;t=new SetCache(t)}e:while(++nn?0:n+r}i=i===s||i>n?n:toInteger(i);if(i<0){i+=n}i=r>i?0:toLength(i);while(r0&&s(o)){if(t>1){baseFlatten(o,t-1,s,r,i)}else{arrayPush(i,o)}}else if(!r){i[i.length]=o}}return i}var Os=createBaseFor();var Ss=createBaseFor(true);function baseForOwn(e,t){return e&&Os(e,t,keys)}function baseForOwnRight(e,t){return e&&Ss(e,t,keys)}function baseFunctions(e,t){return arrayFilter(t,function(t){return isFunction(e[t])})}function baseGet(e,t){t=castPath(t,e);var r=0,i=t.length;while(e!=null&&rt}function baseHas(e,t){return e!=null&&pt.call(e,t)}function baseHasIn(e,t){return e!=null&&t in tt(e)}function baseInRange(e,t,s){return e>=qt(t,s)&&e=120&&h.length>=120)?new SetCache(l&&h):s}h=e[0];var f=-1,d=c[0];e:while(++f-1){if(o!==e){At.call(o,l,1)}At.call(e,l,1)}}return e}function basePullAt(e,t){var s=e?t.length:0,r=s-1;while(s--){var i=t[s];if(s==r||i!==n){var n=i;if(isIndex(i)){At.call(e,i,1)}else{baseUnset(e,i)}}}return e}function baseRandom(e,t){return e+Rt(Jt()*(t-e+1))}function baseRange(e,s,r,i){var n=-1,a=Wt(_t((s-e)/(r||1)),0),o=t(a);while(a--){o[i?a:++n]=e;e+=r}return o}function baseRepeat(e,t){var s="";if(!e||t<1||t>R){return s}do{if(t%2){s+=e}t=Rt(t/2);if(t){e+=e}}while(t);return s}function baseRest(e,t){return zs(overRest(e,t,identity),e+"")}function baseSample(e){return arraySample(values(e))}function baseSampleSize(e,t){var s=values(e);return shuffleSelf(s,baseClamp(t,0,s.length))}function baseSet(e,t,r,i){if(!isObject(e)){return e}t=castPath(t,e);var n=-1,a=t.length,o=a-1,l=e;while(l!=null&&++nn?0:n+s}r=r>n?n:r;if(r<0){r+=n}n=s>r?0:r-s>>>0;s>>>=0;var a=t(n);while(++i>>1,a=e[n];if(a!==null&&!isSymbol(a)&&(s?a<=t:a=i){var p=t?null:Fs(e);if(p){return setToArray(p)}o=false;n=cacheHas;c=new SetCache}else{c=t?[]:l}e:while(++r=i?e:baseSlice(e,t,r)}var Ns=jt||function(e){return rs.clearTimeout(e)};function cloneBuffer(e,t){if(t){return e.slice()}var s=e.length,r=vt?vt(s):new e.constructor(s);e.copy(r);return r}function cloneArrayBuffer(e){var t=new e.constructor(e.byteLength);new xt(t).set(new xt(e));return t}function cloneDataView(e,t){var s=t?cloneArrayBuffer(e.buffer):e.buffer;return new e.constructor(s,e.byteOffset,e.byteLength)}function cloneRegExp(e){var t=new e.constructor(e.source,He.exec(e));t.lastIndex=e.lastIndex;return t}function cloneSymbol(e){return Ts?tt(Ts.call(e)):{}}function cloneTypedArray(e,t){var s=t?cloneArrayBuffer(e.buffer):e.buffer;return new e.constructor(s,e.byteOffset,e.length)}function compareAscending(e,t){if(e!==t){var r=e!==s,i=e===null,n=e===e,a=isSymbol(e);var o=t!==s,l=t===null,c=t===t,p=isSymbol(t);if(!l&&!p&&!a&&e>t||a&&o&&c&&!l&&!p||i&&o&&c||!r&&c||!n){return 1}if(!i&&!a&&!p&&e=o){return l}var c=s[r];return l*(c=="desc"?-1:1)}}return e.index-t.index}function composeArgs(e,s,r,i){var n=-1,a=e.length,o=r.length,l=-1,c=s.length,p=Wt(a-o,0),u=t(c+p),h=!i;while(++l1?r[n-1]:s,o=n>2?r[2]:s;a=e.length>3&&typeof a=="function"?(n--,a):s;if(o&&isIterateeCall(r[0],r[1],o)){a=n<3?s:a;n=1}t=tt(t);while(++i-1?n[a?t[o]:o]:s}}function createFlow(e){return flatRest(function(t){var r=t.length,i=r,n=LodashWrapper.prototype.thru;if(e){t.reverse()}while(i--){var o=t[i];if(typeof o!="function"){throw new it(a)}if(n&&!l&&getFuncName(o)=="wrapper"){var l=new LodashWrapper([],true)}}i=l?i:r;while(++i1){y.reverse()}if(h&&pl)){return false}var p=a.get(e);var u=a.get(t);if(p&&u){return p==t&&u==e}var h=-1,y=true,m=r&d?new SetCache:s;a.set(e,t);a.set(t,e);while(++h1?"& ":"")+t[r];t=t.join(s>2?", ":" ");return e.replace(Me,"{\n/* [wrapped with "+t+"] */\n")}function isFlattenable(e){return Or(e)||jr(e)||!!(Tt&&e&&e[Tt])}function isIndex(e,t){var s=typeof e;t=t==null?R:t;return!!t&&(s=="number"||s!="symbol"&&Ge.test(e))&&(e>-1&&e%1==0&&e0){if(++t>=k){return arguments[0]}}else{t=0}return e.apply(s,arguments)}}function shuffleSelf(e,t){var r=-1,i=e.length,n=i-1;t=t===s?i:t;while(++r1?e[t-1]:s;r=typeof r=="function"?(e.pop(),r):s;return unzipWith(e,r)});function chain(e){var t=lodash(e);t.__chain__=true;return t}function tap(e,t){t(e);return e}function thru(e,t){return t(e)}var cr=flatRest(function(e){var t=e.length,r=t?e[0]:0,i=this.__wrapped__,n=function(t){return baseAt(t,e)};if(t>1||this.__actions__.length||!(i instanceof LazyWrapper)||!isIndex(r)){return this.thru(n)}i=i.slice(r,+r+(t?1:0));i.__actions__.push({func:thru,args:[n],thisArg:s});return new LodashWrapper(i,this.__chain__).thru(function(e){if(t&&!e.length){e.push(s)}return e})});function wrapperChain(){return chain(this)}function wrapperCommit(){return new LodashWrapper(this.value(),this.__chain__)}function wrapperNext(){if(this.__values__===s){this.__values__=toArray(this.value())}var e=this.__index__>=this.__values__.length,t=e?s:this.__values__[this.__index__++];return{done:e,value:t}}function wrapperToIterator(){return this}function wrapperPlant(e){var t,r=this;while(r instanceof baseLodash){var i=wrapperClone(r);i.__index__=0;i.__values__=s;if(t){n.__wrapped__=i}else{t=i}var n=i;r=r.__wrapped__}n.__wrapped__=e;return t}function wrapperReverse(){var e=this.__wrapped__;if(e instanceof LazyWrapper){var t=e;if(this.__actions__.length){t=new LazyWrapper(this)}t=t.reverse();t.__actions__.push({func:thru,args:[reverse],thisArg:s});return new LodashWrapper(t,this.__chain__)}return this.thru(reverse)}function wrapperValue(){return baseWrapperValue(this.__wrapped__,this.__actions__)}var pr=createAggregator(function(e,t,s){if(pt.call(e,s)){++e[s]}else{baseAssignValue(e,s,1)}});function every(e,t,r){var i=Or(e)?arrayEvery:baseEvery;if(r&&isIterateeCall(e,t,r)){t=s}return i(e,getIteratee(t,3))}function filter(e,t){var s=Or(e)?arrayFilter:baseFilter;return s(e,getIteratee(t,3))}var ur=createFind(findIndex);var hr=createFind(findLastIndex);function flatMap(e,t){return baseFlatten(map(e,t),1)}function flatMapDeep(e,t){return baseFlatten(map(e,t),_)}function flatMapDepth(e,t,r){r=r===s?1:toInteger(r);return baseFlatten(map(e,t),r)}function forEach(e,t){var s=Or(e)?arrayEach:Is;return s(e,getIteratee(t,3))}function forEachRight(e,t){var s=Or(e)?arrayEachRight:js;return s(e,getIteratee(t,3))}var fr=createAggregator(function(e,t,s){if(pt.call(e,s)){e[s].push(t)}else{baseAssignValue(e,s,[t])}});function includes(e,t,s,r){e=isArrayLike(e)?e:values(e);s=s&&!r?toInteger(s):0;var i=e.length;if(s<0){s=Wt(i+s,0)}return isString(e)?s<=i&&e.indexOf(t,s)>-1:!!i&&baseIndexOf(e,t,s)>-1}var dr=baseRest(function(e,s,r){var i=-1,n=typeof s=="function",a=isArrayLike(e)?t(e.length):[];Is(e,function(e){a[++i]=n?apply(s,e,r):baseInvoke(e,s,r)});return a});var yr=createAggregator(function(e,t,s){baseAssignValue(e,s,t)});function map(e,t){var s=Or(e)?arrayMap:baseMap;return s(e,getIteratee(t,3))}function orderBy(e,t,r,i){if(e==null){return[]}if(!Or(t)){t=t==null?[]:[t]}r=i?s:r;if(!Or(r)){r=r==null?[]:[r]}return baseOrderBy(e,t,r)}var mr=createAggregator(function(e,t,s){e[s?0:1].push(t)},function(){return[[],[]]});function reduce(e,t,s){var r=Or(e)?arrayReduce:baseReduce,i=arguments.length<3;return r(e,getIteratee(t,4),s,i,Is)}function reduceRight(e,t,s){var r=Or(e)?arrayReduceRight:baseReduce,i=arguments.length<3;return r(e,getIteratee(t,4),s,i,js)}function reject(e,t){var s=Or(e)?arrayFilter:baseFilter;return s(e,negate(getIteratee(t,3)))}function sample(e){var t=Or(e)?arraySample:baseSample;return t(e)}function sampleSize(e,t,r){if(r?isIterateeCall(e,t,r):t===s){t=1}else{t=toInteger(t)}var i=Or(e)?arraySampleSize:baseSampleSize;return i(e,t)}function shuffle(e){var t=Or(e)?arrayShuffle:baseShuffle;return t(e)}function size(e){if(e==null){return 0}if(isArrayLike(e)){return isString(e)?stringSize(e):e.length}var t=Us(e);if(t==J||t==se){return e.size}return baseKeys(e).length}function some(e,t,r){var i=Or(e)?arraySome:baseSome;if(r&&isIterateeCall(e,t,r)){t=s}return i(e,getIteratee(t,3))}var gr=baseRest(function(e,t){if(e==null){return[]}var s=t.length;if(s>1&&isIterateeCall(e,t[0],t[1])){t=[]}else if(s>2&&isIterateeCall(t[0],t[1],t[2])){t=[t[0]]}return baseOrderBy(e,baseFlatten(t,1),[])});var br=Ot||function(){return rs.Date.now()};function after(e,t){if(typeof t!="function"){throw new it(a)}e=toInteger(e);return function(){if(--e<1){return t.apply(this,arguments)}}}function ary(e,t,r){t=r?s:t;t=e&&t==null?e.length:t;return createWrap(e,P,s,s,s,s,t)}function before(e,t){var r;if(typeof t!="function"){throw new it(a)}e=toInteger(e);return function(){if(--e>0){r=t.apply(this,arguments)}if(e<=1){t=s}return r}}var xr=baseRest(function(e,t,s){var r=y;if(s.length){var i=replaceHolders(s,getHolder(xr));r|=v}return createWrap(e,r,t,s,i)});var vr=baseRest(function(e,t,s){var r=y|m;if(s.length){var i=replaceHolders(s,getHolder(vr));r|=v}return createWrap(t,r,e,s,i)});function curry(e,t,r){t=r?s:t;var i=createWrap(e,b,s,s,s,s,s,t);i.placeholder=curry.placeholder;return i}function curryRight(e,t,r){t=r?s:t;var i=createWrap(e,x,s,s,s,s,s,t);i.placeholder=curryRight.placeholder;return i}function debounce(e,t,r){var i,n,o,l,c,p,u=0,h=false,f=false,d=true;if(typeof e!="function"){throw new it(a)}t=toNumber(t)||0;if(isObject(r)){h=!!r.leading;f="maxWait"in r;o=f?Wt(toNumber(r.maxWait)||0,t):o;d="trailing"in r?!!r.trailing:d}function invokeFunc(t){var r=i,a=n;i=n=s;u=t;l=e.apply(a,r);return l}function leadingEdge(e){u=e;c=Hs(timerExpired,t);return h?invokeFunc(e):l}function remainingWait(e){var s=e-p,r=e-u,i=t-s;return f?qt(i,o-r):i}function shouldInvoke(e){var r=e-p,i=e-u;return p===s||r>=t||r<0||f&&i>=o}function timerExpired(){var e=br();if(shouldInvoke(e)){return trailingEdge(e)}c=Hs(timerExpired,remainingWait(e))}function trailingEdge(e){c=s;if(d&&i){return invokeFunc(e)}i=n=s;return l}function cancel(){if(c!==s){Ns(c)}u=0;i=p=n=c=s}function flush(){return c===s?l:trailingEdge(br())}function debounced(){var e=br(),r=shouldInvoke(e);i=arguments;n=this;p=e;if(r){if(c===s){return leadingEdge(p)}if(f){Ns(c);c=Hs(timerExpired,t);return invokeFunc(p)}}if(c===s){c=Hs(timerExpired,t)}return l}debounced.cancel=cancel;debounced.flush=flush;return debounced}var wr=baseRest(function(e,t){return baseDelay(e,1,t)});var Pr=baseRest(function(e,t,s){return baseDelay(e,toNumber(t)||0,s)});function flip(e){return createWrap(e,A)}function memoize(e,t){if(typeof e!="function"||t!=null&&typeof t!="function"){throw new it(a)}var s=function(){var r=arguments,i=t?t.apply(this,r):r[0],n=s.cache;if(n.has(i)){return n.get(i)}var a=e.apply(this,r);s.cache=n.set(i,a)||n;return a};s.cache=new(memoize.Cache||MapCache);return s}memoize.Cache=MapCache;function negate(e){if(typeof e!="function"){throw new it(a)}return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function once(e){return before(2,e)}var Er=Ds(function(e,t){t=t.length==1&&Or(t[0])?arrayMap(t[0],baseUnary(getIteratee())):arrayMap(baseFlatten(t,1),baseUnary(getIteratee()));var s=t.length;return baseRest(function(r){var i=-1,n=qt(r.length,s);while(++i=t});var jr=baseIsArguments(function(){return arguments}())?baseIsArguments:function(e){return isObjectLike(e)&&pt.call(e,"callee")&&!Et.call(e,"callee")};var Or=t.isArray;var Sr=cs?baseUnary(cs):baseIsArrayBuffer;function isArrayLike(e){return e!=null&&isLength(e.length)&&!isFunction(e)}function isArrayLikeObject(e){return isObjectLike(e)&&isArrayLike(e)}function isBoolean(e){return e===true||e===false||isObjectLike(e)&&baseGetTag(e)==H}var _r=Nt||stubFalse;var Rr=ps?baseUnary(ps):baseIsDate;function isElement(e){return isObjectLike(e)&&e.nodeType===1&&!isPlainObject(e)}function isEmpty(e){if(e==null){return true}if(isArrayLike(e)&&(Or(e)||typeof e=="string"||typeof e.splice=="function"||_r(e)||Mr(e)||jr(e))){return!e.length}var t=Us(e);if(t==J||t==se){return!e.size}if(isPrototype(e)){return!baseKeys(e).length}for(var s in e){if(pt.call(e,s)){return false}}return true}function isEqual(e,t){return baseIsEqual(e,t)}function isEqualWith(e,t,r){r=typeof r=="function"?r:s;var i=r?r(e,t):s;return i===s?baseIsEqual(e,t,s,r):!!i}function isError(e){if(!isObjectLike(e)){return false}var t=baseGetTag(e);return t==K||t==V||typeof e.message=="string"&&typeof e.name=="string"&&!isPlainObject(e)}function isFinite(e){return typeof e=="number"&&Ft(e)}function isFunction(e){if(!isObject(e)){return false}var t=baseGetTag(e);return t==$||t==G||t==q||t==ee}function isInteger(e){return typeof e=="number"&&e==toInteger(e)}function isLength(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=R}function isObject(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function isObjectLike(e){return e!=null&&typeof e=="object"}var Dr=us?baseUnary(us):baseIsMap;function isMatch(e,t){return e===t||baseIsMatch(e,t,getMatchData(t))}function isMatchWith(e,t,r){r=typeof r=="function"?r:s;return baseIsMatch(e,t,getMatchData(t),r)}function isNaN(e){return isNumber(e)&&e!=+e}function isNative(e){if(Ws(e)){throw new Qe(n)}return baseIsNative(e)}function isNull(e){return e===null}function isNil(e){return e==null}function isNumber(e){return typeof e=="number"||isObjectLike(e)&&baseGetTag(e)==X}function isPlainObject(e){if(!isObjectLike(e)||baseGetTag(e)!=Q){return false}var t=wt(e);if(t===null){return true}var s=pt.call(t,"constructor")&&t.constructor;return typeof s=="function"&&s instanceof s&&ct.call(s)==dt}var Nr=hs?baseUnary(hs):baseIsRegExp;function isSafeInteger(e){return isInteger(e)&&e>=-R&&e<=R}var Fr=fs?baseUnary(fs):baseIsSet;function isString(e){return typeof e=="string"||!Or(e)&&isObjectLike(e)&&baseGetTag(e)==re}function isSymbol(e){return typeof e=="symbol"||isObjectLike(e)&&baseGetTag(e)==ie}var Mr=ds?baseUnary(ds):baseIsTypedArray;function isUndefined(e){return e===s}function isWeakMap(e){return isObjectLike(e)&&Us(e)==ae}function isWeakSet(e){return isObjectLike(e)&&baseGetTag(e)==oe}var Lr=createRelationalOperation(baseLt);var Br=createRelationalOperation(function(e,t){return e<=t});function toArray(e){if(!e){return[]}if(isArrayLike(e)){return isString(e)?stringToArray(e):copyArray(e)}if(Ct&&e[Ct]){return iteratorToArray(e[Ct]())}var t=Us(e),s=t==J?mapToArray:t==se?setToArray:values;return s(e)}function toFinite(e){if(!e){return e===0?e:0}e=toNumber(e);if(e===_||e===-_){var t=e<0?-1:1;return t*D}return e===e?e:0}function toInteger(e){var t=toFinite(e),s=t%1;return t===t?s?t-s:t:0}function toLength(e){return e?baseClamp(toInteger(e),0,F):0}function toNumber(e){if(typeof e=="number"){return e}if(isSymbol(e)){return N}if(isObject(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=isObject(t)?t+"":t}if(typeof e!="string"){return e===0?e:+e}e=e.replace(De,"");var s=Ve.test(e);return s||$e.test(e)?es(e.slice(2),s?2:8):ze.test(e)?N:+e}function toPlainObject(e){return copyObject(e,keysIn(e))}function toSafeInteger(e){return e?baseClamp(toInteger(e),-R,R):e===0?e:0}function toString(e){return e==null?"":baseToString(e)}var Ur=createAssigner(function(e,t){if(isPrototype(t)||isArrayLike(t)){copyObject(t,keys(t),e);return}for(var s in t){if(pt.call(t,s)){assignValue(e,s,t[s])}}});var Wr=createAssigner(function(e,t){copyObject(t,keysIn(t),e)});var qr=createAssigner(function(e,t,s,r){copyObject(t,keysIn(t),e,r)});var Hr=createAssigner(function(e,t,s,r){copyObject(t,keys(t),e,r)});var zr=flatRest(baseAt);function create(e,t){var s=ks(e);return t==null?s:baseAssign(s,t)}var Vr=baseRest(function(e,t){e=tt(e);var r=-1;var i=t.length;var n=i>2?t[2]:s;if(n&&isIterateeCall(t[0],t[1],n)){i=1}while(++r1);return t});copyObject(e,getAllKeysIn(e),s);if(r){s=baseClone(s,p|u|h,customOmitClone)}var i=t.length;while(i--){baseUnset(s,t[i])}return s});function omitBy(e,t){return pickBy(e,negate(getIteratee(t)))}var Zr=flatRest(function(e,t){return e==null?{}:basePick(e,t)});function pickBy(e,t){if(e==null){return{}}var s=arrayMap(getAllKeysIn(e),function(e){return[e]});t=getIteratee(t);return basePickBy(e,s,function(e,s){return t(e,s[0])})}function result(e,t,r){t=castPath(t,e);var i=-1,n=t.length;if(!n){n=1;e=s}while(++it){var i=e;e=t;t=i}if(r||e%1||t%1){var n=Jt();return qt(e+n*(t-e+Zt("1e-"+((n+"").length-1))),t)}return baseRandom(e,t)}var si=createCompounder(function(e,t,s){t=t.toLowerCase();return e+(s?capitalize(t):t)});function capitalize(e){return ci(toString(e).toLowerCase())}function deburr(e){e=toString(e);return e&&e.replace(Je,ms).replace(Ut,"")}function endsWith(e,t,r){e=toString(e);t=baseToString(t);var i=e.length;r=r===s?i:baseClamp(toInteger(r),0,i);var n=r;r-=t.length;return r>=0&&e.slice(r,n)==t}function escape(e){e=toString(e);return e&&Te.test(e)?e.replace(Ee,gs):e}function escapeRegExp(e){e=toString(e);return e&&Re.test(e)?e.replace(_e,"\\$&"):e}var ri=createCompounder(function(e,t,s){return e+(s?"-":"")+t.toLowerCase()});var ii=createCompounder(function(e,t,s){return e+(s?" ":"")+t.toLowerCase()});var ni=createCaseFirst("toLowerCase");function pad(e,t,s){e=toString(e);t=toInteger(t);var r=t?stringSize(e):0;if(!t||r>=t){return e}var i=(t-r)/2;return createPadding(Rt(i),s)+e+createPadding(_t(i),s)}function padEnd(e,t,s){e=toString(e);t=toInteger(t);var r=t?stringSize(e):0;return t&&r>>0;if(!r){return[]}e=toString(e);if(e&&(typeof t=="string"||t!=null&&!Nr(t))){t=baseToString(t);if(!t&&hasUnicode(e)){return castSlice(stringToArray(e),0,r)}}return e.split(t,r)}var oi=createCompounder(function(e,t,s){return e+(s?" ":"")+ci(t)});function startsWith(e,t,s){e=toString(e);s=s==null?0:baseClamp(toInteger(s),0,e.length);t=baseToString(t);return e.slice(s,s+t.length)==t}function template(e,t,r){var i=lodash.templateSettings;if(r&&isIterateeCall(e,t,r)){t=s}e=toString(e);t=qr({},t,i,customDefaultsAssignIn);var n=qr({},t.imports,i.imports,customDefaultsAssignIn),a=keys(n),o=baseValues(n,a);var l,c,p=0,u=t.interpolate||Xe,h="__p += '";var f=st((t.escape||Xe).source+"|"+u.source+"|"+(u===Ie?qe:Xe).source+"|"+(t.evaluate||Xe).source+"|$","g");var d="//# sourceURL="+(pt.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Kt+"]")+"\n";e.replace(f,function(t,s,r,i,n,a){r||(r=i);h+=e.slice(p,a).replace(Ye,escapeStringChar);if(s){l=true;h+="' +\n__e("+s+") +\n'"}if(n){c=true;h+="';\n"+n+";\n__p += '"}if(r){h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"}p=a+t.length;return t});h+="';\n";var y=pt.call(t,"variable")&&t.variable;if(!y){h="with (obj) {\n"+h+"\n}\n"}h=(c?h.replace(xe,""):h).replace(ve,"$1").replace(we,"$1;");h="function("+(y||"obj")+") {\n"+(y?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(l?", __e = _.escape":"")+(c?", __j = Array.prototype.join;\n"+"function print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var m=pi(function(){return Ze(a,d+"return "+h).apply(s,o)});m.source=h;if(isError(m)){throw m}return m}function toLower(e){return toString(e).toLowerCase()}function toUpper(e){return toString(e).toUpperCase()}function trim(e,t,r){e=toString(e);if(e&&(r||t===s)){return e.replace(De,"")}if(!e||!(t=baseToString(t))){return e}var i=stringToArray(e),n=stringToArray(t),a=charsStartIndex(i,n),o=charsEndIndex(i,n)+1;return castSlice(i,a,o).join("")}function trimEnd(e,t,r){e=toString(e);if(e&&(r||t===s)){return e.replace(Fe,"")}if(!e||!(t=baseToString(t))){return e}var i=stringToArray(e),n=charsEndIndex(i,stringToArray(t))+1;return castSlice(i,0,n).join("")}function trimStart(e,t,r){e=toString(e);if(e&&(r||t===s)){return e.replace(Ne,"")}if(!e||!(t=baseToString(t))){return e}var i=stringToArray(e),n=charsStartIndex(i,stringToArray(t));return castSlice(i,n).join("")}function truncate(e,t){var r=T,i=C;if(isObject(t)){var n="separator"in t?t.separator:n;r="length"in t?toInteger(t.length):r;i="omission"in t?baseToString(t.omission):i}e=toString(e);var a=e.length;if(hasUnicode(e)){var o=stringToArray(e);a=o.length}if(r>=a){return e}var l=r-stringSize(i);if(l<1){return i}var c=o?castSlice(o,0,l).join(""):e.slice(0,l);if(n===s){return c+i}if(o){l+=c.length-l}if(Nr(n)){if(e.slice(l).search(n)){var p,u=c;if(!n.global){n=st(n.source,toString(He.exec(n))+"g")}n.lastIndex=0;while(p=n.exec(u)){var h=p.index}c=c.slice(0,h===s?l:h)}}else if(e.indexOf(baseToString(n),l)!=l){var f=c.lastIndexOf(n);if(f>-1){c=c.slice(0,f)}}return c+i}function unescape(e){e=toString(e);return e&&Ae.test(e)?e.replace(Pe,bs):e}var li=createCompounder(function(e,t,s){return e+(s?" ":"")+t.toUpperCase()});var ci=createCaseFirst("toUpperCase");function words(e,t,r){e=toString(e);t=r?s:t;if(t===s){return hasUnicodeWord(e)?unicodeWords(e):asciiWords(e)}return e.match(t)||[]}var pi=baseRest(function(e,t){try{return apply(e,s,t)}catch(e){return isError(e)?e:new Qe(e)}});var ui=flatRest(function(e,t){arrayEach(t,function(t){t=toKey(t);baseAssignValue(e,t,xr(e[t],e))});return e});function cond(e){var t=e==null?0:e.length,s=getIteratee();e=!t?[]:arrayMap(e,function(e){if(typeof e[1]!="function"){throw new it(a)}return[s(e[0]),e[1]]});return baseRest(function(s){var r=-1;while(++rR){return[]}var s=F,r=qt(e,F);t=getIteratee(t);e-=F;var i=baseTimes(r,t);while(++s0||t<0)){return new LazyWrapper(r)}if(e<0){r=r.takeRight(-e)}else if(e){r=r.drop(e)}if(t!==s){t=toInteger(t);r=t<0?r.dropRight(-t):r.take(t-e)}return r};LazyWrapper.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()};LazyWrapper.prototype.toArray=function(){return this.take(F)};baseForOwn(LazyWrapper.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),n=lodash[i?"take"+(t=="last"?"Right":""):t],a=i||/^find/.test(t);if(!n){return}lodash.prototype[t]=function(){var t=this.__wrapped__,o=i?[1]:arguments,l=t instanceof LazyWrapper,c=o[0],p=l||Or(t);var u=function(e){var t=n.apply(lodash,arrayPush([e],o));return i&&h?t[0]:t};if(p&&r&&typeof c=="function"&&c.length!=1){l=p=false}var h=this.__chain__,f=!!this.__actions__.length,d=a&&!h,y=l&&!f;if(!a&&p){t=y?t:new LazyWrapper(this);var m=e.apply(t,o);m.__actions__.push({func:thru,args:[u],thisArg:s});return new LodashWrapper(m,h)}if(d&&y){return e.apply(this,o)}m=this.thru(u);return d?i?m.value()[0]:m.value():m}});arrayEach(["pop","push","shift","sort","splice","unshift"],function(e){var t=nt[e],s=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);lodash.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Or(i)?i:[],e)}return this[s](function(s){return t.apply(Or(s)?s:[],e)})}});baseForOwn(LazyWrapper.prototype,function(e,t){var s=lodash[t];if(s){var r=s.name+"";if(!pt.call(ls,r)){ls[r]=[]}ls[r].push({name:t,func:s})}});ls[createHybrid(s,m).name]=[{name:"wrapper",func:s}];LazyWrapper.prototype.clone=lazyClone;LazyWrapper.prototype.reverse=lazyReverse;LazyWrapper.prototype.value=lazyValue;lodash.prototype.at=cr;lodash.prototype.chain=wrapperChain;lodash.prototype.commit=wrapperCommit;lodash.prototype.next=wrapperNext;lodash.prototype.plant=wrapperPlant;lodash.prototype.reverse=wrapperReverse;lodash.prototype.toJSON=lodash.prototype.valueOf=lodash.prototype.value=wrapperValue;lodash.prototype.first=lodash.prototype.head;if(Ct){lodash.prototype[Ct]=wrapperToIterator}return lodash};var vs=xs();if(typeof define=="function"&&typeof define.amd=="object"&&define.amd){rs._=vs;define(function(){return vs})}else if(ns){(ns.exports=vs)._=vs;is._=vs}else{rs._=vs}}).call(this)},50731:e=>{"use strict";var t=process.platform==="win32";var s=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;var r=/^([\s\S]*?)((?:\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))(?:[\\\/]*)$/;var i={};function win32SplitPath(e){var t=s.exec(e),i=(t[1]||"")+(t[2]||""),n=t[3]||"";var a=r.exec(n),o=a[1],l=a[2],c=a[3];return[i,o,l,c]}i.parse=function(e){if(typeof e!=="string"){throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e)}var t=win32SplitPath(e);if(!t||t.length!==4){throw new TypeError("Invalid path '"+e+"'")}return{root:t[0],dir:t[0]+t[1].slice(0,-1),base:t[2],ext:t[3],name:t[2].slice(0,t[2].length-t[3].length)}};var n=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;var a={};function posixSplitPath(e){return n.exec(e).slice(1)}a.parse=function(e){if(typeof e!=="string"){throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e)}var t=posixSplitPath(e);if(!t||t.length!==4){throw new TypeError("Invalid path '"+e+"'")}t[1]=t[1]||"";t[2]=t[2]||"";t[3]=t[3]||"";return{root:t[0],dir:t[0]+t[1].slice(0,-1),base:t[2],ext:t[3],name:t[2].slice(0,t[2].length-t[3].length)}};if(t)e.exports=i.parse;else e.exports=a.parse;e.exports.posix=a.parse;e.exports.win32=i.parse},70495:(e,t)=>{"use strict";var s=Object;var r=Object.defineProperty;var i=Object.create;function defProp(e,t,i){if(r)try{r.call(s,e,t,{value:i})}catch(s){e[t]=i}else{e[t]=i}}function makeSafeToCall(e){if(e){defProp(e,"call",e.call);defProp(e,"apply",e.apply)}return e}makeSafeToCall(r);makeSafeToCall(i);var n=makeSafeToCall(Object.prototype.hasOwnProperty);var a=makeSafeToCall(Number.prototype.toString);var o=makeSafeToCall(String.prototype.slice);var l=function(){};function create(e){if(i){return i.call(s,e)}l.prototype=e||null;return new l}var c=Math.random;var p=create(null);function makeUniqueKey(){do{var e=internString(o.call(a.call(c(),36),2))}while(n.call(p,e));return p[e]=e}function internString(e){var t={};t[e]=true;return Object.keys(t)[0]}t.makeUniqueKey=makeUniqueKey;var u=Object.getOwnPropertyNames;Object.getOwnPropertyNames=function getOwnPropertyNames(e){for(var t=u(e),s=0,r=0,i=t.length;sr){t[r]=t[s]}++r}}t.length=r;return t};function defaultCreatorFn(e){return create(null)}function makeAccessor(e){var t=makeUniqueKey();var s=create(null);e=e||defaultCreatorFn;function register(r){var i;function vault(t,n){if(t===s){return n?i=null:i||(i=e(r))}}defProp(r,t,vault)}function accessor(e){if(!n.call(e,t))register(e);return e[t](s)}accessor.forget=function(e){if(n.call(e,t))e[t](s,true)};return accessor}t.makeAccessor=makeAccessor},70696:function(e,t,s){e=s.nmd(e);(function(s){var r=true&&t;var i=true&&e&&e.exports==r&&e;var n=typeof global=="object"&&global;if(n.global===n||n.window===n){s=n}var a={rangeOrder:"A range’s `stop` value must be greater than or equal "+"to the `start` value.",codePointRange:"Invalid code point value. Code points range from "+"U+000000 to U+10FFFF."};var o=55296;var l=56319;var c=56320;var p=57343;var u=/\\x00([^0123456789]|$)/g;var h={};var f=h.hasOwnProperty;var d=function(e,t){var s;for(s in t){if(f.call(t,s)){e[s]=t[s]}}return e};var y=function(e,t){var s=-1;var r=e.length;while(++s=r&&ts){return e}if(t<=i&&s>=n){e.splice(r,2);continue}if(t>=i&&s=i&&t<=n){e[r+1]=t}else if(s>=i&&s<=n){e[r]=s+1;return e}r+=2}return e};var C=function(e,t){var s=0;var r;var i;var n=null;var o=e.length;if(t<0||t>1114111){throw RangeError(a.codePointRange)}while(s=r&&tt){e.splice(n!=null?n+2:0,0,t,t+1);return e}if(t==i){if(t+1==e[s+2]){e.splice(s,4,r,e[s+3]);return e}e[s+1]=t+1;return e}n=s;s+=2}e.push(t,t+1);return e};var k=function(e,t){var s=0;var r;var i;var n=e.slice();var a=t.length;while(s1114111||s<0||s>1114111){throw RangeError(a.codePointRange)}var r=0;var i;var n;var o=false;var l=e.length;while(rs){return e}if(i>=t&&i<=s){if(n>t&&n-1<=s){e.splice(r,2);r-=2}else{e.splice(r-1,2);r-=2}}}else if(i==s+1){e[r]=t;return e}else if(i>s){e.splice(r,0,t,s+1);return e}else if(t>=i&&t=i&&t=n){e[r]=t;e[r+1]=s+1;o=true}r+=2}if(!o){e.push(t,s+1)}return e};var O=function(e,t){var s=0;var r=e.length;var i=e[s];var n=e[r-1];if(r>=2){if(tn){return false}}while(s=i&&t=40&&e<=43||e==46||e==47||e==63||e>=91&&e<=94||e>=123&&e<=125){t="\\"+L(e)}else if(e>=32&&e<=126){t=L(e)}else if(e<=255){t="\\x"+v(w(e),2)}else{t="\\u"+v(w(e),4)}return t};var U=function(e){if(e<=65535){return B(e)}return"\\u{"+e.toString(16).toUpperCase()+"}"};var W=function(e){var t=e.length;var s=e.charCodeAt(0);var r;if(s>=o&&s<=l&&t>1){r=e.charCodeAt(1);return(s-o)*1024+r-c+65536}return s};var q=function(e){var t="";var s=0;var r;var i;var n=e.length;if(R(e)){return B(e[0])}while(s=o&&u<=l){r.push(a,o);t.push(o,u+1)}if(u>=c&&u<=p){r.push(a,o);t.push(o,l+1);s.push(c,u+1)}if(u>p){r.push(a,o);t.push(o,l+1);s.push(c,p+1);if(u<=65535){r.push(p+1,u+1)}else{r.push(p+1,65535+1);i.push(65535+1,u+1)}}}else if(a>=o&&a<=l){if(u>=o&&u<=l){t.push(a,u+1)}if(u>=c&&u<=p){t.push(a,l+1);s.push(c,u+1)}if(u>p){t.push(a,l+1);s.push(c,p+1);if(u<=65535){r.push(p+1,u+1)}else{r.push(p+1,65535+1);i.push(65535+1,u+1)}}}else if(a>=c&&a<=p){if(u>=c&&u<=p){s.push(a,u+1)}if(u>p){s.push(a,p+1);if(u<=65535){r.push(p+1,u+1)}else{r.push(p+1,65535+1);i.push(65535+1,u+1)}}}else if(a>p&&a<=65535){if(u<=65535){r.push(a,u+1)}else{r.push(a,65535+1);i.push(65535+1,u+1)}}else{i.push(a,u+1)}n+=2}return{loneHighSurrogates:t,loneLowSurrogates:s,bmp:r,astral:i}};var V=function(e){var t=[];var s=[];var r=false;var i;var n;var a;var o;var l;var c;var p=-1;var u=e.length;while(++p1){e=P.call(arguments)}if(this instanceof X){this.data=[];return e?this.add(e):this}return(new X).add(e)};X.version="1.3.3";var Y=X.prototype;d(Y,{add:function(e){var t=this;if(e==null){return t}if(e instanceof X){t.data=k(t.data,e.data);return t}if(arguments.length>1){e=P.call(arguments)}if(g(e)){y(e,function(e){t.add(e)});return t}t.data=C(t.data,b(e)?e:W(e));return t},remove:function(e){var t=this;if(e==null){return t}if(e instanceof X){t.data=I(t.data,e.data);return t}if(arguments.length>1){e=P.call(arguments)}if(g(e)){y(e,function(e){t.remove(e)});return t}t.data=A(t.data,b(e)?e:W(e));return t},addRange:function(e,t){var s=this;s.data=j(s.data,b(e)?e:W(e),b(t)?t:W(t));return s},removeRange:function(e,t){var s=this;var r=b(e)?e:W(e);var i=b(t)?t:W(t);s.data=T(s.data,r,i);return s},intersection:function(e){var t=this;var s=e instanceof X?D(e.data):e;t.data=S(t.data,s);return t},contains:function(e){return O(this.data,b(e)?e:W(e))},clone:function(){var e=new X;e.data=this.data.slice(0);return e},toString:function(e){var t=J(this.data,e?e.bmpOnly:false,e?e.hasUnicodeFlag:false);if(!t){return"[]"}return t.replace(u,"\\0$1")},toRegExp:function(e){var t=this.toString(e&&e.indexOf("u")!=-1?{hasUnicodeFlag:true}:null);return RegExp(t,e||"")},valueOf:function(){return D(this.data)}});Y.toArray=Y.valueOf;if(typeof define=="function"&&typeof define.amd=="object"&&define.amd){define(function(){return X})}else if(r&&!r.nodeType){if(i){i.exports=X}else{r.regenerate=X}}else{s.regenerate=X}})(this)},32892:(e,t,s)=>{"use strict";var r=s(51675);var i=s(44388);var n=i(s(42357));var a=r(s(17870));var o=r(s(84336));var l=r(s(65781));var c=Object.prototype.hasOwnProperty;function Emitter(e){n["default"].ok(this instanceof Emitter);l.getTypes().assertIdentifier(e);this.nextTempId=0;this.contextId=e;this.listing=[];this.marked=[true];this.insertedLocs=new Set;this.finalLoc=this.loc();this.tryEntries=[];this.leapManager=new a.LeapManager(this)}var p=Emitter.prototype;t.Emitter=Emitter;p.loc=function(){var e=l.getTypes().numericLiteral(-1);this.insertedLocs.add(e);return e};p.getInsertedLocs=function(){return this.insertedLocs};p.getContextId=function(){return l.getTypes().clone(this.contextId)};p.mark=function(e){l.getTypes().assertLiteral(e);var t=this.listing.length;if(e.value===-1){e.value=t}else{n["default"].strictEqual(e.value,t)}this.marked[t]=true;return e};p.emit=function(e){var t=l.getTypes();if(t.isExpression(e)){e=t.expressionStatement(e)}t.assertStatement(e);this.listing.push(e)};p.emitAssign=function(e,t){this.emit(this.assign(e,t));return e};p.assign=function(e,t){var s=l.getTypes();return s.expressionStatement(s.assignmentExpression("=",s.cloneDeep(e),t))};p.contextProperty=function(e,t){var s=l.getTypes();return s.memberExpression(this.getContextId(),t?s.stringLiteral(e):s.identifier(e),!!t)};p.stop=function(e){if(e){this.setReturnValue(e)}this.jump(this.finalLoc)};p.setReturnValue=function(e){l.getTypes().assertExpression(e.value);this.emitAssign(this.contextProperty("rval"),this.explodeExpression(e))};p.clearPendingException=function(e,t){var s=l.getTypes();s.assertLiteral(e);var r=s.callExpression(this.contextProperty("catch",true),[s.clone(e)]);if(t){this.emitAssign(t,r)}else{this.emit(r)}};p.jump=function(e){this.emitAssign(this.contextProperty("next"),e);this.emit(l.getTypes().breakStatement())};p.jumpIf=function(e,t){var s=l.getTypes();s.assertExpression(e);s.assertLiteral(t);this.emit(s.ifStatement(e,s.blockStatement([this.assign(this.contextProperty("next"),t),s.breakStatement()])))};p.jumpIfNot=function(e,t){var s=l.getTypes();s.assertExpression(e);s.assertLiteral(t);var r;if(s.isUnaryExpression(e)&&e.operator==="!"){r=e.argument}else{r=s.unaryExpression("!",e)}this.emit(s.ifStatement(r,s.blockStatement([this.assign(this.contextProperty("next"),t),s.breakStatement()])))};p.makeTempVar=function(){return this.contextProperty("t"+this.nextTempId++)};p.getContextFunction=function(e){var t=l.getTypes();return t.functionExpression(e||null,[this.getContextId()],t.blockStatement([this.getDispatchLoop()]),false,false)};p.getDispatchLoop=function(){var e=this;var t=l.getTypes();var s=[];var r;var i=false;e.listing.forEach(function(n,a){if(e.marked.hasOwnProperty(a)){s.push(t.switchCase(t.numericLiteral(a),r=[]));i=false}if(!i){r.push(n);if(t.isCompletionStatement(n))i=true}});this.finalLoc.value=this.listing.length;s.push(t.switchCase(this.finalLoc,[]),t.switchCase(t.stringLiteral("end"),[t.returnStatement(t.callExpression(this.contextProperty("stop"),[]))]));return t.whileStatement(t.numericLiteral(1),t.switchStatement(t.assignmentExpression("=",this.contextProperty("prev"),this.contextProperty("next")),s))};p.getTryLocsList=function(){if(this.tryEntries.length===0){return null}var e=l.getTypes();var t=0;return e.arrayExpression(this.tryEntries.map(function(s){var r=s.firstLoc.value;n["default"].ok(r>=t,"try entries out of order");t=r;var i=s.catchEntry;var a=s.finallyEntry;var o=[s.firstLoc,i?i.firstLoc:null];if(a){o[2]=a.firstLoc;o[3]=a.afterLoc}return e.arrayExpression(o.map(function(t){return t&&e.clone(t)}))}))};p.explode=function(e,t){var s=l.getTypes();var r=e.node;var i=this;s.assertNode(r);if(s.isDeclaration(r))throw getDeclError(r);if(s.isStatement(r))return i.explodeStatement(e);if(s.isExpression(r))return i.explodeExpression(e,t);switch(r.type){case"Program":return e.get("body").map(i.explodeStatement,i);case"VariableDeclarator":throw getDeclError(r);case"Property":case"SwitchCase":case"CatchClause":throw new Error(r.type+" nodes should be handled by their parents");default:throw new Error("unknown Node of type "+JSON.stringify(r.type))}};function getDeclError(e){return new Error("all declarations should have been transformed into "+"assignments before the Exploder began its work: "+JSON.stringify(e))}p.explodeStatement=function(e,t){var s=l.getTypes();var r=e.node;var i=this;var c,p,h;s.assertStatement(r);if(t){s.assertIdentifier(t)}else{t=null}if(s.isBlockStatement(r)){e.get("body").forEach(function(e){i.explodeStatement(e)});return}if(!o.containsLeap(r)){i.emit(r);return}switch(r.type){case"ExpressionStatement":i.explodeExpression(e.get("expression"),true);break;case"LabeledStatement":p=this.loc();i.leapManager.withEntry(new a.LabeledEntry(p,r.label),function(){i.explodeStatement(e.get("body"),r.label)});i.mark(p);break;case"WhileStatement":c=this.loc();p=this.loc();i.mark(c);i.jumpIfNot(i.explodeExpression(e.get("test")),p);i.leapManager.withEntry(new a.LoopEntry(p,c,t),function(){i.explodeStatement(e.get("body"))});i.jump(c);i.mark(p);break;case"DoWhileStatement":var f=this.loc();var d=this.loc();p=this.loc();i.mark(f);i.leapManager.withEntry(new a.LoopEntry(p,d,t),function(){i.explode(e.get("body"))});i.mark(d);i.jumpIf(i.explodeExpression(e.get("test")),f);i.mark(p);break;case"ForStatement":h=this.loc();var y=this.loc();p=this.loc();if(r.init){i.explode(e.get("init"),true)}i.mark(h);if(r.test){i.jumpIfNot(i.explodeExpression(e.get("test")),p)}else{}i.leapManager.withEntry(new a.LoopEntry(p,y,t),function(){i.explodeStatement(e.get("body"))});i.mark(y);if(r.update){i.explode(e.get("update"),true)}i.jump(h);i.mark(p);break;case"TypeCastExpression":return i.explodeExpression(e.get("expression"));case"ForInStatement":h=this.loc();p=this.loc();var m=i.makeTempVar();i.emitAssign(m,s.callExpression(l.runtimeProperty("keys"),[i.explodeExpression(e.get("right"))]));i.mark(h);var g=i.makeTempVar();i.jumpIf(s.memberExpression(s.assignmentExpression("=",g,s.callExpression(s.cloneDeep(m),[])),s.identifier("done"),false),p);i.emitAssign(r.left,s.memberExpression(s.cloneDeep(g),s.identifier("value"),false));i.leapManager.withEntry(new a.LoopEntry(p,h,t),function(){i.explodeStatement(e.get("body"))});i.jump(h);i.mark(p);break;case"BreakStatement":i.emitAbruptCompletion({type:"break",target:i.leapManager.getBreakLoc(r.label)});break;case"ContinueStatement":i.emitAbruptCompletion({type:"continue",target:i.leapManager.getContinueLoc(r.label)});break;case"SwitchStatement":var b=i.emitAssign(i.makeTempVar(),i.explodeExpression(e.get("discriminant")));p=this.loc();var x=this.loc();var v=x;var w=[];var P=r.cases||[];for(var E=P.length-1;E>=0;--E){var A=P[E];s.assertSwitchCase(A);if(A.test){v=s.conditionalExpression(s.binaryExpression("===",s.cloneDeep(b),A.test),w[E]=this.loc(),v)}else{w[E]=x}}var T=e.get("discriminant");l.replaceWithOrRemove(T,v);i.jump(i.explodeExpression(T));i.leapManager.withEntry(new a.SwitchEntry(p),function(){e.get("cases").forEach(function(e){var t=e.key;i.mark(w[t]);e.get("consequent").forEach(function(e){i.explodeStatement(e)})})});i.mark(p);if(x.value===-1){i.mark(x);n["default"].strictEqual(p.value,x.value)}break;case"IfStatement":var C=r.alternate&&this.loc();p=this.loc();i.jumpIfNot(i.explodeExpression(e.get("test")),C||p);i.explodeStatement(e.get("consequent"));if(C){i.jump(p);i.mark(C);i.explodeStatement(e.get("alternate"))}i.mark(p);break;case"ReturnStatement":i.emitAbruptCompletion({type:"return",value:i.explodeExpression(e.get("argument"))});break;case"WithStatement":throw new Error("WithStatement not supported in generator functions.");case"TryStatement":p=this.loc();var k=r.handler;var I=k&&this.loc();var j=I&&new a.CatchEntry(I,k.param);var O=r.finalizer&&this.loc();var S=O&&new a.FinallyEntry(O,p);var _=new a.TryEntry(i.getUnmarkedCurrentLoc(),j,S);i.tryEntries.push(_);i.updateContextPrevLoc(_.firstLoc);i.leapManager.withEntry(_,function(){i.explodeStatement(e.get("block"));if(I){if(O){i.jump(O)}else{i.jump(p)}i.updateContextPrevLoc(i.mark(I));var t=e.get("handler.body");var r=i.makeTempVar();i.clearPendingException(_.firstLoc,r);t.traverse(u,{getSafeParam:function getSafeParam(){return s.cloneDeep(r)},catchParamName:k.param.name});i.leapManager.withEntry(j,function(){i.explodeStatement(t)})}if(O){i.updateContextPrevLoc(i.mark(O));i.leapManager.withEntry(S,function(){i.explodeStatement(e.get("finalizer"))});i.emit(s.returnStatement(s.callExpression(i.contextProperty("finish"),[S.firstLoc])))}});i.mark(p);break;case"ThrowStatement":i.emit(s.throwStatement(i.explodeExpression(e.get("argument"))));break;default:throw new Error("unknown Statement of type "+JSON.stringify(r.type))}};var u={Identifier:function Identifier(e,t){if(e.node.name===t.catchParamName&&l.isReference(e)){l.replaceWithOrRemove(e,t.getSafeParam())}},Scope:function Scope(e,t){if(e.scope.hasOwnBinding(t.catchParamName)){e.skip()}}};p.emitAbruptCompletion=function(e){if(!isValidCompletion(e)){n["default"].ok(false,"invalid completion record: "+JSON.stringify(e))}n["default"].notStrictEqual(e.type,"normal","normal completions are not abrupt");var t=l.getTypes();var s=[t.stringLiteral(e.type)];if(e.type==="break"||e.type==="continue"){t.assertLiteral(e.target);s[1]=this.insertedLocs.has(e.target)?e.target:t.cloneDeep(e.target)}else if(e.type==="return"||e.type==="throw"){if(e.value){t.assertExpression(e.value);s[1]=this.insertedLocs.has(e.value)?e.value:t.cloneDeep(e.value)}}this.emit(t.returnStatement(t.callExpression(this.contextProperty("abrupt"),s)))};function isValidCompletion(e){var t=e.type;if(t==="normal"){return!c.call(e,"target")}if(t==="break"||t==="continue"){return!c.call(e,"value")&&l.getTypes().isLiteral(e.target)}if(t==="return"||t==="throw"){return c.call(e,"value")&&!c.call(e,"target")}return false}p.getUnmarkedCurrentLoc=function(){return l.getTypes().numericLiteral(this.listing.length)};p.updateContextPrevLoc=function(e){var t=l.getTypes();if(e){t.assertLiteral(e);if(e.value===-1){e.value=this.listing.length}else{n["default"].strictEqual(e.value,this.listing.length)}}else{e=this.getUnmarkedCurrentLoc()}this.emitAssign(this.contextProperty("prev"),e)};p.explodeExpression=function(e,t){var s=l.getTypes();var r=e.node;if(r){s.assertExpression(r)}else{return r}var i=this;var a;var c;function finish(e){s.assertExpression(e);if(t){i.emit(e)}else{return e}}if(!o.containsLeap(r)){return finish(r)}var p=o.containsLeap.onlyChildren(r);function explodeViaTempVar(e,t,r){n["default"].ok(!r||!e,"Ignoring the result of a child expression but forcing it to "+"be assigned to a temporary variable?");var a=i.explodeExpression(t,r);if(r){}else if(e||p&&!s.isLiteral(a)){a=i.emitAssign(e||i.makeTempVar(),a)}return a}switch(r.type){case"MemberExpression":return finish(s.memberExpression(i.explodeExpression(e.get("object")),r.computed?explodeViaTempVar(null,e.get("property")):r.property,r.computed));case"CallExpression":var u=e.get("callee");var h=e.get("arguments");var f;var d;var y=h.some(function(e){return o.containsLeap(e.node)});var m=null;if(s.isMemberExpression(u.node)){if(y){var g=explodeViaTempVar(i.makeTempVar(),u.get("object"));var b=u.node.computed?explodeViaTempVar(null,u.get("property")):u.node.property;m=g;f=s.memberExpression(s.memberExpression(s.cloneDeep(g),b,u.node.computed),s.identifier("call"),false)}else{f=i.explodeExpression(u)}}else{f=explodeViaTempVar(null,u);if(s.isMemberExpression(f)){f=s.sequenceExpression([s.numericLiteral(0),s.cloneDeep(f)])}}if(y){d=h.map(function(e){return explodeViaTempVar(null,e)});if(m)d.unshift(m);d=d.map(function(e){return s.cloneDeep(e)})}else{d=e.node.arguments}return finish(s.callExpression(f,d));case"NewExpression":return finish(s.newExpression(explodeViaTempVar(null,e.get("callee")),e.get("arguments").map(function(e){return explodeViaTempVar(null,e)})));case"ObjectExpression":return finish(s.objectExpression(e.get("properties").map(function(e){if(e.isObjectProperty()){return s.objectProperty(e.node.key,explodeViaTempVar(null,e.get("value")),e.node.computed)}else{return e.node}})));case"ArrayExpression":return finish(s.arrayExpression(e.get("elements").map(function(e){if(e.isSpreadElement()){return s.spreadElement(explodeViaTempVar(null,e.get("argument")))}else{return explodeViaTempVar(null,e)}})));case"SequenceExpression":var x=r.expressions.length-1;e.get("expressions").forEach(function(e){if(e.key===x){a=i.explodeExpression(e,t)}else{i.explodeExpression(e,true)}});return a;case"LogicalExpression":c=this.loc();if(!t){a=i.makeTempVar()}var v=explodeViaTempVar(a,e.get("left"));if(r.operator==="&&"){i.jumpIfNot(v,c)}else{n["default"].strictEqual(r.operator,"||");i.jumpIf(v,c)}explodeViaTempVar(a,e.get("right"),t);i.mark(c);return a;case"ConditionalExpression":var w=this.loc();c=this.loc();var P=i.explodeExpression(e.get("test"));i.jumpIfNot(P,w);if(!t){a=i.makeTempVar()}explodeViaTempVar(a,e.get("consequent"),t);i.jump(c);i.mark(w);explodeViaTempVar(a,e.get("alternate"),t);i.mark(c);return a;case"UnaryExpression":return finish(s.unaryExpression(r.operator,i.explodeExpression(e.get("argument")),!!r.prefix));case"BinaryExpression":return finish(s.binaryExpression(r.operator,explodeViaTempVar(null,e.get("left")),explodeViaTempVar(null,e.get("right"))));case"AssignmentExpression":if(r.operator==="="){return finish(s.assignmentExpression(r.operator,i.explodeExpression(e.get("left")),i.explodeExpression(e.get("right"))))}var E=i.explodeExpression(e.get("left"));var A=i.emitAssign(i.makeTempVar(),E);return finish(s.assignmentExpression("=",s.cloneDeep(E),s.assignmentExpression(r.operator,s.cloneDeep(A),i.explodeExpression(e.get("right")))));case"UpdateExpression":return finish(s.updateExpression(r.operator,i.explodeExpression(e.get("argument")),r.prefix));case"YieldExpression":c=this.loc();var T=r.argument&&i.explodeExpression(e.get("argument"));if(T&&r.delegate){var C=i.makeTempVar();var k=s.returnStatement(s.callExpression(i.contextProperty("delegateYield"),[T,s.stringLiteral(C.property.name),c]));k.loc=r.loc;i.emit(k);i.mark(c);return C}i.emitAssign(i.contextProperty("next"),c);var I=s.returnStatement(s.cloneDeep(T)||null);I.loc=r.loc;i.emit(I);i.mark(c);return i.contextProperty("sent");default:throw new Error("unknown Expression of type "+JSON.stringify(r.type))}}},1454:(e,t,s)=>{"use strict";var r=s(51675);var i=r(s(65781));var n=Object.prototype.hasOwnProperty;t.hoist=function(e){var t=i.getTypes();t.assertFunction(e.node);var s={};function varDeclToExpr(e,r){var i=e.node,n=e.scope;t.assertVariableDeclaration(i);var a=[];i.declarations.forEach(function(e){s[e.id.name]=t.identifier(e.id.name);n.removeBinding(e.id.name);if(e.init){a.push(t.assignmentExpression("=",e.id,e.init))}else if(r){a.push(e.id)}});if(a.length===0)return null;if(a.length===1)return a[0];return t.sequenceExpression(a)}e.get("body").traverse({VariableDeclaration:{exit:function exit(e){var s=varDeclToExpr(e,false);if(s===null){e.remove()}else{i.replaceWithOrRemove(e,t.expressionStatement(s))}e.skip()}},ForStatement:function ForStatement(e){var t=e.get("init");if(t.isVariableDeclaration()){i.replaceWithOrRemove(t,varDeclToExpr(t,false))}},ForXStatement:function ForXStatement(e){var t=e.get("left");if(t.isVariableDeclaration()){i.replaceWithOrRemove(t,varDeclToExpr(t,true))}},FunctionDeclaration:function FunctionDeclaration(e){var r=e.node;s[r.id.name]=r.id;var n=t.expressionStatement(t.assignmentExpression("=",t.clone(r.id),t.functionExpression(e.scope.generateUidIdentifierBasedOnNode(r),r.params,r.body,r.generator,r.expression)));if(e.parentPath.isBlockStatement()){e.parentPath.unshiftContainer("body",n);e.remove()}else{i.replaceWithOrRemove(e,n)}e.scope.removeBinding(r.id.name);e.skip()},FunctionExpression:function FunctionExpression(e){e.skip()},ArrowFunctionExpression:function ArrowFunctionExpression(e){e.skip()}});var r={};e.get("params").forEach(function(e){var s=e.node;if(t.isIdentifier(s)){r[s.name]=s}else{}});var a=[];Object.keys(s).forEach(function(e){if(!n.call(r,e)){a.push(t.variableDeclarator(s[e],null))}});if(a.length===0){return null}return t.variableDeclaration("var",a)}},60919:(e,t,s)=>{"use strict";t.__esModule=true;t.default=_default;var r=s(92980);function _default(e){var t={visitor:(0,r.getVisitor)(e)};var s=e&&e.version;if(s&&parseInt(s,10)>=7){t.name="regenerator-transform"}return t}},17870:(e,t,s)=>{"use strict";var r=s(44388);var i=r(s(42357));var n=s(32892);var a=s(31669);var o=s(65781);function Entry(){i["default"].ok(this instanceof Entry)}function FunctionEntry(e){Entry.call(this);(0,o.getTypes)().assertLiteral(e);this.returnLoc=e}(0,a.inherits)(FunctionEntry,Entry);t.FunctionEntry=FunctionEntry;function LoopEntry(e,t,s){Entry.call(this);var r=(0,o.getTypes)();r.assertLiteral(e);r.assertLiteral(t);if(s){r.assertIdentifier(s)}else{s=null}this.breakLoc=e;this.continueLoc=t;this.label=s}(0,a.inherits)(LoopEntry,Entry);t.LoopEntry=LoopEntry;function SwitchEntry(e){Entry.call(this);(0,o.getTypes)().assertLiteral(e);this.breakLoc=e}(0,a.inherits)(SwitchEntry,Entry);t.SwitchEntry=SwitchEntry;function TryEntry(e,t,s){Entry.call(this);var r=(0,o.getTypes)();r.assertLiteral(e);if(t){i["default"].ok(t instanceof CatchEntry)}else{t=null}if(s){i["default"].ok(s instanceof FinallyEntry)}else{s=null}i["default"].ok(t||s);this.firstLoc=e;this.catchEntry=t;this.finallyEntry=s}(0,a.inherits)(TryEntry,Entry);t.TryEntry=TryEntry;function CatchEntry(e,t){Entry.call(this);var s=(0,o.getTypes)();s.assertLiteral(e);s.assertIdentifier(t);this.firstLoc=e;this.paramId=t}(0,a.inherits)(CatchEntry,Entry);t.CatchEntry=CatchEntry;function FinallyEntry(e,t){Entry.call(this);var s=(0,o.getTypes)();s.assertLiteral(e);s.assertLiteral(t);this.firstLoc=e;this.afterLoc=t}(0,a.inherits)(FinallyEntry,Entry);t.FinallyEntry=FinallyEntry;function LabeledEntry(e,t){Entry.call(this);var s=(0,o.getTypes)();s.assertLiteral(e);s.assertIdentifier(t);this.breakLoc=e;this.label=t}(0,a.inherits)(LabeledEntry,Entry);t.LabeledEntry=LabeledEntry;function LeapManager(e){i["default"].ok(this instanceof LeapManager);i["default"].ok(e instanceof n.Emitter);this.emitter=e;this.entryStack=[new FunctionEntry(e.finalLoc)]}var l=LeapManager.prototype;t.LeapManager=LeapManager;l.withEntry=function(e,t){i["default"].ok(e instanceof Entry);this.entryStack.push(e);try{t.call(this.emitter)}finally{var s=this.entryStack.pop();i["default"].strictEqual(s,e)}};l._findLeapLocation=function(e,t){for(var s=this.entryStack.length-1;s>=0;--s){var r=this.entryStack[s];var i=r[e];if(i){if(t){if(r.label&&r.label.name===t.name){return i}}else if(r instanceof LabeledEntry){}else{return i}}}return null};l.getBreakLoc=function(e){return this._findLeapLocation("breakLoc",e)};l.getContinueLoc=function(e){return this._findLeapLocation("continueLoc",e)}},84336:(e,t,s)=>{"use strict";var r=s(44388);var i=r(s(42357));var n=s(65781);var a=s(70495);var o=(0,a.makeAccessor)();var l=Object.prototype.hasOwnProperty;function makePredicate(e,t){function onlyChildren(e){var t=(0,n.getTypes)();t.assertNode(e);var s=false;function check(e){if(s){}else if(Array.isArray(e)){e.some(check)}else if(t.isNode(e)){i["default"].strictEqual(s,false);s=predicate(e)}return s}var r=t.VISITOR_KEYS[e.type];if(r){for(var a=0;a{"use strict";var r=s(51675);t.__esModule=true;t.default=replaceShorthandObjectMethod;var i=r(s(65781));function replaceShorthandObjectMethod(e){var t=i.getTypes();if(!e.node||!t.isFunction(e.node)){throw new Error("replaceShorthandObjectMethod can only be called on Function AST node paths.")}if(!t.isObjectMethod(e.node)){return e}if(!e.node.generator){return e}var s=e.node.params.map(function(e){return t.cloneDeep(e)});var r=t.functionExpression(null,s,t.cloneDeep(e.node.body),e.node.generator,e.node.async);i.replaceWithOrRemove(e,t.objectProperty(t.cloneDeep(e.node.key),r,e.node.computed,false));return e.get("value")}},65781:(e,t)=>{"use strict";t.__esModule=true;t.wrapWithTypes=wrapWithTypes;t.getTypes=getTypes;t.runtimeProperty=runtimeProperty;t.isReference=isReference;t.replaceWithOrRemove=replaceWithOrRemove;var s=null;function wrapWithTypes(e,t){return function(){var r=s;s=e;try{for(var i=arguments.length,n=new Array(i),a=0;a{"use strict";var r=s(51675);var i=s(44388);var n=i(s(42357));var a=s(1454);var o=s(32892);var l=i(s(56367));var c=r(s(65781));var p=s(70495);t.getVisitor=function(e){var t=e.types;return{Method:function Method(e,s){var r=e.node;if(!shouldRegenerate(r,s))return;var i=t.functionExpression(null,[],t.cloneNode(r.body,false),r.generator,r.async);e.get("body").set("body",[t.returnStatement(t.callExpression(i,[]))]);r.async=false;r.generator=false;e.get("body.body.0.argument.callee").unwrapFunctionEnvironment()},Function:{exit:c.wrapWithTypes(t,function(e,s){var r=e.node;if(!shouldRegenerate(r,s))return;e=(0,l["default"])(e);r=e.node;var i=e.scope.generateUidIdentifier("context");var n=e.scope.generateUidIdentifier("args");e.ensureBlock();var p=e.get("body");if(r.async){p.traverse(d)}p.traverse(f,{context:i});var u=[];var y=[];p.get("body").forEach(function(e){var s=e.node;if(t.isExpressionStatement(s)&&t.isStringLiteral(s.expression)){u.push(s)}else if(s&&s._blockHoist!=null){u.push(s)}else{y.push(s)}});if(u.length>0){p.node.body=y}var m=getOuterFnExpr(e);t.assertIdentifier(r.id);var g=t.identifier(r.id.name+"$");var b=(0,a.hoist)(e);var x={usesThis:false,usesArguments:false,getArgsId:function getArgsId(){return t.clone(n)}};e.traverse(h,x);if(x.usesArguments){b=b||t.variableDeclaration("var",[]);b.declarations.push(t.variableDeclarator(t.clone(n),t.identifier("arguments")))}var v=new o.Emitter(i);v.explode(e.get("body"));if(b&&b.declarations.length>0){u.push(b)}var w=[v.getContextFunction(g)];var P=v.getTryLocsList();if(r.generator){w.push(m)}else if(x.usesThis||P||r.async){w.push(t.nullLiteral())}if(x.usesThis){w.push(t.thisExpression())}else if(P||r.async){w.push(t.nullLiteral())}if(P){w.push(P)}else if(r.async){w.push(t.nullLiteral())}if(r.async){var E=e.scope;do{if(E.hasOwnBinding("Promise"))E.rename("Promise")}while(E=E.parent);w.push(t.identifier("Promise"))}var A=t.callExpression(c.runtimeProperty(r.async?"async":"wrap"),w);u.push(t.returnStatement(A));r.body=t.blockStatement(u);e.get("body.body").forEach(function(e){return e.scope.registerDeclaration(e)});var T=p.node.directives;if(T){r.body.directives=T}var C=r.generator;if(C){r.generator=false}if(r.async){r.async=false}if(C&&t.isExpression(r)){c.replaceWithOrRemove(e,t.callExpression(c.runtimeProperty("mark"),[r]));e.addComment("leading","#__PURE__")}var k=v.getInsertedLocs();e.traverse({NumericLiteral:function NumericLiteral(e){if(!k.has(e.node)){return}e.replaceWith(t.numericLiteral(e.node.value))}});e.requeue()})}}};function shouldRegenerate(e,t){if(e.generator){if(e.async){return t.opts.asyncGenerators!==false}else{return t.opts.generators!==false}}else if(e.async){return t.opts.async!==false}else{return false}}function getOuterFnExpr(e){var t=c.getTypes();var s=e.node;t.assertFunction(s);if(!s.id){s.id=e.scope.parent.generateUidIdentifier("callee")}if(s.generator&&t.isFunctionDeclaration(s)){return getMarkedFunctionId(e)}return t.clone(s.id)}var u=(0,p.makeAccessor)();function getMarkedFunctionId(e){var t=c.getTypes();var s=e.node;t.assertIdentifier(s.id);var r=e.findParent(function(e){return e.isProgram()||e.isBlockStatement()});if(!r){return s.id}var i=r.node;n["default"].ok(Array.isArray(i.body));var a=u(i);if(!a.decl){a.decl=t.variableDeclaration("var",[]);r.unshiftContainer("body",a.decl);a.declPath=r.get("body.0")}n["default"].strictEqual(a.declPath.node,a.decl);var o=r.scope.generateUidIdentifier("marked");var l=t.callExpression(c.runtimeProperty("mark"),[t.clone(s.id)]);var p=a.decl.declarations.push(t.variableDeclarator(o,l))-1;var h=a.declPath.get("declarations."+p+".init");n["default"].strictEqual(h.node,l);h.addComment("leading","#__PURE__");return t.clone(o)}var h={"FunctionExpression|FunctionDeclaration|Method":function FunctionExpressionFunctionDeclarationMethod(e){e.skip()},Identifier:function Identifier(e,t){if(e.node.name==="arguments"&&c.isReference(e)){c.replaceWithOrRemove(e,t.getArgsId());t.usesArguments=true}},ThisExpression:function ThisExpression(e,t){t.usesThis=true}};var f={MetaProperty:function MetaProperty(e){var t=e.node;if(t.meta.name==="function"&&t.property.name==="sent"){var s=c.getTypes();c.replaceWithOrRemove(e,s.memberExpression(s.clone(this.context),s.identifier("_sent")))}}};var d={Function:function Function(e){e.skip()},AwaitExpression:function AwaitExpression(e){var t=c.getTypes();var s=e.node.argument;c.replaceWithOrRemove(e,t.yieldExpression(t.callExpression(c.runtimeProperty("awrap"),[s]),false))}}},31727:(e,t,s)=>{"use strict";const r=s(70696);t.REGULAR=new Map([["d",r().addRange(48,57)],["D",r().addRange(0,47).addRange(58,65535)],["s",r(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233)],["S",r().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,65535)],["w",r(95).addRange(48,57).addRange(65,90).addRange(97,122)],["W",r(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,65535)]]);t.UNICODE=new Map([["d",r().addRange(48,57)],["D",r().addRange(0,47).addRange(58,1114111)],["s",r(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233)],["S",r().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111)],["w",r(95).addRange(48,57).addRange(65,90).addRange(97,122)],["W",r(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,1114111)]]);t.UNICODE_IGNORE_CASE=new Map([["d",r().addRange(48,57)],["D",r().addRange(0,47).addRange(58,1114111)],["s",r(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233)],["S",r().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111)],["w",r(95,383,8490).addRange(48,57).addRange(65,90).addRange(97,122)],["W",r(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,382).addRange(384,8489).addRange(8491,1114111)]])},70615:e=>{e.exports=new Map([[75,8490],[83,383],[107,8490],[115,383],[181,924],[197,8491],[223,7838],[229,8491],[383,83],[452,453],[453,452],[455,456],[456,455],[458,459],[459,458],[497,498],[498,497],[837,8126],[914,976],[917,1013],[920,1012],[921,8126],[922,1008],[924,181],[928,982],[929,1009],[931,962],[934,981],[937,8486],[952,1012],[962,931],[969,8486],[976,914],[977,1012],[981,934],[982,928],[1008,922],[1009,929],[1012,[920,977,952]],[1013,917],[1042,7296],[1044,7297],[1054,7298],[1057,7299],[1058,7301],[1066,7302],[1122,7303],[7296,1042],[7297,1044],[7298,1054],[7299,1057],[7300,7301],[7301,[1058,7300]],[7302,1066],[7303,1122],[7304,42570],[7776,7835],[7835,7776],[7838,223],[8064,8072],[8065,8073],[8066,8074],[8067,8075],[8068,8076],[8069,8077],[8070,8078],[8071,8079],[8072,8064],[8073,8065],[8074,8066],[8075,8067],[8076,8068],[8077,8069],[8078,8070],[8079,8071],[8080,8088],[8081,8089],[8082,8090],[8083,8091],[8084,8092],[8085,8093],[8086,8094],[8087,8095],[8088,8080],[8089,8081],[8090,8082],[8091,8083],[8092,8084],[8093,8085],[8094,8086],[8095,8087],[8096,8104],[8097,8105],[8098,8106],[8099,8107],[8100,8108],[8101,8109],[8102,8110],[8103,8111],[8104,8096],[8105,8097],[8106,8098],[8107,8099],[8108,8100],[8109,8101],[8110,8102],[8111,8103],[8115,8124],[8124,8115],[8126,[837,921]],[8131,8140],[8140,8131],[8179,8188],[8188,8179],[8486,[937,969]],[8490,75],[8491,[197,229]],[42570,7304],[66560,66600],[66561,66601],[66562,66602],[66563,66603],[66564,66604],[66565,66605],[66566,66606],[66567,66607],[66568,66608],[66569,66609],[66570,66610],[66571,66611],[66572,66612],[66573,66613],[66574,66614],[66575,66615],[66576,66616],[66577,66617],[66578,66618],[66579,66619],[66580,66620],[66581,66621],[66582,66622],[66583,66623],[66584,66624],[66585,66625],[66586,66626],[66587,66627],[66588,66628],[66589,66629],[66590,66630],[66591,66631],[66592,66632],[66593,66633],[66594,66634],[66595,66635],[66596,66636],[66597,66637],[66598,66638],[66599,66639],[66600,66560],[66601,66561],[66602,66562],[66603,66563],[66604,66564],[66605,66565],[66606,66566],[66607,66567],[66608,66568],[66609,66569],[66610,66570],[66611,66571],[66612,66572],[66613,66573],[66614,66574],[66615,66575],[66616,66576],[66617,66577],[66618,66578],[66619,66579],[66620,66580],[66621,66581],[66622,66582],[66623,66583],[66624,66584],[66625,66585],[66626,66586],[66627,66587],[66628,66588],[66629,66589],[66630,66590],[66631,66591],[66632,66592],[66633,66593],[66634,66594],[66635,66595],[66636,66596],[66637,66597],[66638,66598],[66639,66599],[66736,66776],[66737,66777],[66738,66778],[66739,66779],[66740,66780],[66741,66781],[66742,66782],[66743,66783],[66744,66784],[66745,66785],[66746,66786],[66747,66787],[66748,66788],[66749,66789],[66750,66790],[66751,66791],[66752,66792],[66753,66793],[66754,66794],[66755,66795],[66756,66796],[66757,66797],[66758,66798],[66759,66799],[66760,66800],[66761,66801],[66762,66802],[66763,66803],[66764,66804],[66765,66805],[66766,66806],[66767,66807],[66768,66808],[66769,66809],[66770,66810],[66771,66811],[66776,66736],[66777,66737],[66778,66738],[66779,66739],[66780,66740],[66781,66741],[66782,66742],[66783,66743],[66784,66744],[66785,66745],[66786,66746],[66787,66747],[66788,66748],[66789,66749],[66790,66750],[66791,66751],[66792,66752],[66793,66753],[66794,66754],[66795,66755],[66796,66756],[66797,66757],[66798,66758],[66799,66759],[66800,66760],[66801,66761],[66802,66762],[66803,66763],[66804,66764],[66805,66765],[66806,66766],[66807,66767],[66808,66768],[66809,66769],[66810,66770],[66811,66771],[68736,68800],[68737,68801],[68738,68802],[68739,68803],[68740,68804],[68741,68805],[68742,68806],[68743,68807],[68744,68808],[68745,68809],[68746,68810],[68747,68811],[68748,68812],[68749,68813],[68750,68814],[68751,68815],[68752,68816],[68753,68817],[68754,68818],[68755,68819],[68756,68820],[68757,68821],[68758,68822],[68759,68823],[68760,68824],[68761,68825],[68762,68826],[68763,68827],[68764,68828],[68765,68829],[68766,68830],[68767,68831],[68768,68832],[68769,68833],[68770,68834],[68771,68835],[68772,68836],[68773,68837],[68774,68838],[68775,68839],[68776,68840],[68777,68841],[68778,68842],[68779,68843],[68780,68844],[68781,68845],[68782,68846],[68783,68847],[68784,68848],[68785,68849],[68786,68850],[68800,68736],[68801,68737],[68802,68738],[68803,68739],[68804,68740],[68805,68741],[68806,68742],[68807,68743],[68808,68744],[68809,68745],[68810,68746],[68811,68747],[68812,68748],[68813,68749],[68814,68750],[68815,68751],[68816,68752],[68817,68753],[68818,68754],[68819,68755],[68820,68756],[68821,68757],[68822,68758],[68823,68759],[68824,68760],[68825,68761],[68826,68762],[68827,68763],[68828,68764],[68829,68765],[68830,68766],[68831,68767],[68832,68768],[68833,68769],[68834,68770],[68835,68771],[68836,68772],[68837,68773],[68838,68774],[68839,68775],[68840,68776],[68841,68777],[68842,68778],[68843,68779],[68844,68780],[68845,68781],[68846,68782],[68847,68783],[68848,68784],[68849,68785],[68850,68786],[71840,71872],[71841,71873],[71842,71874],[71843,71875],[71844,71876],[71845,71877],[71846,71878],[71847,71879],[71848,71880],[71849,71881],[71850,71882],[71851,71883],[71852,71884],[71853,71885],[71854,71886],[71855,71887],[71856,71888],[71857,71889],[71858,71890],[71859,71891],[71860,71892],[71861,71893],[71862,71894],[71863,71895],[71864,71896],[71865,71897],[71866,71898],[71867,71899],[71868,71900],[71869,71901],[71870,71902],[71871,71903],[71872,71840],[71873,71841],[71874,71842],[71875,71843],[71876,71844],[71877,71845],[71878,71846],[71879,71847],[71880,71848],[71881,71849],[71882,71850],[71883,71851],[71884,71852],[71885,71853],[71886,71854],[71887,71855],[71888,71856],[71889,71857],[71890,71858],[71891,71859],[71892,71860],[71893,71861],[71894,71862],[71895,71863],[71896,71864],[71897,71865],[71898,71866],[71899,71867],[71900,71868],[71901,71869],[71902,71870],[71903,71871],[93760,93792],[93761,93793],[93762,93794],[93763,93795],[93764,93796],[93765,93797],[93766,93798],[93767,93799],[93768,93800],[93769,93801],[93770,93802],[93771,93803],[93772,93804],[93773,93805],[93774,93806],[93775,93807],[93776,93808],[93777,93809],[93778,93810],[93779,93811],[93780,93812],[93781,93813],[93782,93814],[93783,93815],[93784,93816],[93785,93817],[93786,93818],[93787,93819],[93788,93820],[93789,93821],[93790,93822],[93791,93823],[93792,93760],[93793,93761],[93794,93762],[93795,93763],[93796,93764],[93797,93765],[93798,93766],[93799,93767],[93800,93768],[93801,93769],[93802,93770],[93803,93771],[93804,93772],[93805,93773],[93806,93774],[93807,93775],[93808,93776],[93809,93777],[93810,93778],[93811,93779],[93812,93780],[93813,93781],[93814,93782],[93815,93783],[93816,93784],[93817,93785],[93818,93786],[93819,93787],[93820,93788],[93821,93789],[93822,93790],[93823,93791],[125184,125218],[125185,125219],[125186,125220],[125187,125221],[125188,125222],[125189,125223],[125190,125224],[125191,125225],[125192,125226],[125193,125227],[125194,125228],[125195,125229],[125196,125230],[125197,125231],[125198,125232],[125199,125233],[125200,125234],[125201,125235],[125202,125236],[125203,125237],[125204,125238],[125205,125239],[125206,125240],[125207,125241],[125208,125242],[125209,125243],[125210,125244],[125211,125245],[125212,125246],[125213,125247],[125214,125248],[125215,125249],[125216,125250],[125217,125251],[125218,125184],[125219,125185],[125220,125186],[125221,125187],[125222,125188],[125223,125189],[125224,125190],[125225,125191],[125226,125192],[125227,125193],[125228,125194],[125229,125195],[125230,125196],[125231,125197],[125232,125198],[125233,125199],[125234,125200],[125235,125201],[125236,125202],[125237,125203],[125238,125204],[125239,125205],[125240,125206],[125241,125207],[125242,125208],[125243,125209],[125244,125210],[125245,125211],[125246,125212],[125247,125213],[125248,125214],[125249,125215],[125250,125216],[125251,125217]])},4864:(e,t,s)=>{"use strict";const r=s(67608).generate;const i=s(25536).parse;const n=s(70696);const a=s(89755);const o=s(67621);const l=s(70615);const c=s(31727);const p=n().addRange(0,1114111);const u=n().addRange(0,65535);const h=p.clone().remove(10,13,8232,8233);const f=(e,t,s)=>{if(t){if(s){return c.UNICODE_IGNORE_CASE.get(e)}return c.UNICODE.get(e)}return c.REGULAR.get(e)};const d=e=>{return e?p:h};const y=(e,t)=>{const s=t?`${e}/${t}`:`Binary_Property/${e}`;try{return require(`regenerate-unicode-properties/${s}.js`)}catch(s){throw new Error(`Failed to recognize value \`${t}\` for property `+`\`${e}\`.`)}};const m=e=>{try{const t="General_Category";const s=o(t,e);return y(t,s)}catch(e){}const t=a(e);return y(t)};const g=(e,t)=>{const s=e.split("=");const r=s[0];let i;if(s.length==1){i=m(r)}else{const e=a(r);const t=o(e,s[1]);i=y(e,t)}if(t){return p.clone().remove(i)}return i.clone()};n.prototype.iuAddRange=function(e,t){const s=this;do{const t=v(e);if(t){s.add(t)}}while(++e<=t);return s};const b=(e,t)=>{let s=i(t,T.useUnicodeFlag?"u":"");switch(s.type){case"characterClass":case"group":case"value":break;default:s=x(s,t)}Object.assign(e,s)};const x=(e,t)=>{return{type:"group",behavior:"ignore",body:[e],raw:`(?:${t})`}};const v=e=>{return l.get(e)||false};const w=(e,t)=>{const s=n();for(const t of e.body){switch(t.type){case"value":s.add(t.codePoint);if(T.ignoreCase&&T.unicode&&!T.useUnicodeFlag){const e=v(t.codePoint);if(e){s.add(e)}}break;case"characterClassRange":const e=t.min.codePoint;const r=t.max.codePoint;s.addRange(e,r);if(T.ignoreCase&&T.unicode&&!T.useUnicodeFlag){s.iuAddRange(e,r)}break;case"characterClassEscape":s.add(f(t.value,T.unicode,T.ignoreCase));break;case"unicodePropertyEscape":s.add(g(t.value,t.negative));break;default:throw new Error(`Unknown term type: ${t.type}`)}}if(e.negative){b(e,`(?!${s.toString(t)})[\\s\\S]`)}else{b(e,s.toString(t))}return e};const P=(e,t)=>{delete e.name;e.matchIndex=t};const E=e=>{const t=Object.keys(e.unmatchedReferences);if(t.length>0){throw new Error(`Unknown group names: ${t}`)}};const A=(e,t,s)=>{switch(e.type){case"dot":if(T.useDotAllFlag){break}else if(T.unicode){b(e,d(T.dotAll).toString(t))}else if(T.dotAll){b(e,"[\\s\\S]")}break;case"characterClass":e=w(e,t);break;case"unicodePropertyEscape":if(T.unicodePropertyEscape){b(e,g(e.value,e.negative).toString(t))}break;case"characterClassEscape":b(e,f(e.value,T.unicode,T.ignoreCase).toString(t));break;case"group":if(e.behavior=="normal"){s.lastIndex++}if(e.name&&T.namedGroup){const t=e.name.value;if(s.names[t]){throw new Error(`Multiple groups with the same name (${t}) are not allowed.`)}const r=s.lastIndex;delete e.name;s.names[t]=r;if(s.onNamedGroup){s.onNamedGroup.call(null,t,r)}if(s.unmatchedReferences[t]){s.unmatchedReferences[t].forEach(e=>{P(e,r)});delete s.unmatchedReferences[t]}}case"alternative":case"disjunction":case"quantifier":e.body=e.body.map(e=>{return A(e,t,s)});break;case"value":const r=e.codePoint;const i=n(r);if(T.ignoreCase&&T.unicode&&!T.useUnicodeFlag){const e=v(r);if(e){i.add(e)}}b(e,i.toString(t));break;case"reference":if(e.name){const t=e.name.value;const r=s.names[t];if(r){P(e,r);break}if(!s.unmatchedReferences[t]){s.unmatchedReferences[t]=[]}s.unmatchedReferences[t].push(e)}break;case"anchor":case"empty":case"group":break;default:throw new Error(`Unknown term type: ${e.type}`)}return e};const T={ignoreCase:false,unicode:false,dotAll:false,useDotAllFlag:false,useUnicodeFlag:false,unicodePropertyEscape:false,namedGroup:false};const C=(e,t,s)=>{T.unicode=t&&t.includes("u");const n={unicodePropertyEscape:T.unicode,namedGroups:true,lookbehind:s&&s.lookbehind};T.ignoreCase=t&&t.includes("i");const a=s&&s.dotAllFlag;T.dotAll=a&&t&&t.includes("s");T.namedGroup=s&&s.namedGroup;T.useDotAllFlag=s&&s.useDotAllFlag;T.useUnicodeFlag=s&&s.useUnicodeFlag;T.unicodePropertyEscape=s&&s.unicodePropertyEscape;if(a&&T.useDotAllFlag){throw new Error("`useDotAllFlag` and `dotAllFlag` cannot both be true!")}const o={hasUnicodeFlag:T.useUnicodeFlag,bmpOnly:!T.unicode};const l={onNamedGroup:s&&s.onNamedGroup,lastIndex:0,names:Object.create(null),unmatchedReferences:Object.create(null)};const c=i(e,t,n);A(c,o,l);E(l);return r(c)};e.exports=C},67608:function(e,t,s){e=s.nmd(e);(function(){"use strict";var s={function:true,object:true};var r=s[typeof window]&&window||this;var i=s[typeof t]&&t&&!t.nodeType&&t;var n=s["object"]&&e&&!e.nodeType;var a=i&&n&&typeof global=="object"&&global;if(a&&(a.global===a||a.window===a||a.self===a)){r=a}var o=Object.prototype.hasOwnProperty;function fromCodePoint(){var e=Number(arguments[0]);if(!isFinite(e)||e<0||e>1114111||Math.floor(e)!=e){throw RangeError("Invalid code point: "+e)}if(e<=65535){return String.fromCharCode(e)}else{e-=65536;var t=(e>>10)+55296;var s=e%1024+56320;return String.fromCharCode(t,s)}}var l={};function assertType(e,t){if(t.indexOf("|")==-1){if(e==t){return}throw Error("Invalid node type: "+e+"; expected type: "+t)}t=o.call(l,t)?l[t]:l[t]=RegExp("^(?:"+t+")$");if(t.test(e)){return}throw Error("Invalid node type: "+e+"; expected types: "+t)}function generate(e){var t=e.type;if(o.call(c,t)){return c[t](e)}throw Error("Invalid node type: "+t)}function generateAlternative(e){assertType(e.type,"alternative");var t=e.body,s=-1,r=t.length,i="";while(++s"}break;case"ignore":t+="?:";break;case"lookahead":t+="?=";break;case"negativeLookahead":t+="?!";break;case"lookbehind":t+="?<=";break;case"negativeLookbehind":t+="?"}throw new Error("Unknown reference type")}function generateTerm(e){assertType(e.type,"anchor|characterClass|characterClassEscape|empty|group|quantifier|reference|unicodePropertyEscape|value|dot");return generate(e)}function generateValue(e){assertType(e.type,"value");var t=e.kind,s=e.codePoint;if(typeof s!="number"){throw new Error("Invalid code point: "+s)}switch(t){case"controlLetter":return"\\c"+fromCodePoint(s+64);case"hexadecimalEscape":return"\\x"+("00"+s.toString(16).toUpperCase()).slice(-2);case"identifier":return"\\"+fromCodePoint(s);case"null":return"\\"+s;case"octal":return"\\"+s.toString(8);case"singleEscape":switch(s){case 8:return"\\b";case 9:return"\\t";case 10:return"\\n";case 11:return"\\v";case 12:return"\\f";case 13:return"\\r";default:throw Error("Invalid code point: "+s)}case"symbol":return fromCodePoint(s);case"unicodeEscape":return"\\u"+("0000"+s.toString(16).toUpperCase()).slice(-4);case"unicodeCodePointEscape":return"\\u{"+s.toString(16).toUpperCase()+"}";default:throw Error("Unsupported node kind: "+t)}}var c={alternative:generateAlternative,anchor:generateAnchor,characterClass:generateCharacterClass,characterClassEscape:generateCharacterClassEscape,characterClassRange:generateCharacterClassRange,unicodePropertyEscape:generateUnicodePropertyEscape,disjunction:generateDisjunction,dot:generateDot,group:generateGroup,quantifier:generateQuantifier,reference:generateReference,value:generateValue};var p={generate:generate};if(typeof define=="function"&&typeof define.amd=="object"&&define.amd){define(function(){return p});r.regjsgen=p}else if(i&&n){i.generate=generate}else{r.regjsgen=p}}).call(this)},25536:e=>{(function(){var t=String.fromCodePoint||function(){var e=String.fromCharCode;var t=Math.floor;return function fromCodePoint(){var s=16384;var r=[];var i;var n;var a=-1;var o=arguments.length;if(!o){return""}var l="";while(++a1114111||t(c)!=c){throw RangeError("Invalid code point: "+c)}if(c<=65535){r.push(c)}else{c-=65536;i=(c>>10)+55296;n=c%1024+56320;r.push(i,n)}if(a+1==o||r.length>s){l+=e.apply(null,r);r.length=0}}return l}}();function parse(e,s,r){if(!r){r={}}function addRaw(t){t.raw=e.substring(t.range[0],t.range[1]);return t}function updateRawStart(e,t){e.range[0]=t;return addRaw(e)}function createAnchor(e,t){return addRaw({type:"anchor",kind:e,range:[l-t,l]})}function createValue(e,t,s,r){return addRaw({type:"value",kind:e,codePoint:t,range:[s,r]})}function createEscaped(e,t,s,r){r=r||0;return createValue(e,t,l-(s.length+r),l)}function createCharacter(e){var t=e[0];var s=t.charCodeAt(0);if(o){var r;if(t.length===1&&s>=55296&&s<=56319){r=lookahead().charCodeAt(0);if(r>=56320&&r<=57343){l++;return createValue("symbol",(s-55296)*1024+r-56320+65536,l-2,l)}}}return createValue("symbol",s,l-1,l)}function createDisjunction(e,t,s){return addRaw({type:"disjunction",body:e,range:[t,s]})}function createDot(){return addRaw({type:"dot",range:[l-1,l]})}function createCharacterClassEscape(e){return addRaw({type:"characterClassEscape",value:e,range:[l-2,l]})}function createReference(e){return addRaw({type:"reference",matchIndex:parseInt(e,10),range:[l-1-e.length,l]})}function createNamedReference(e){return addRaw({type:"reference",name:e,range:[e.range[0]-3,l]})}function createGroup(e,t,s,r){return addRaw({type:"group",behavior:e,body:t,range:[s,r]})}function createQuantifier(e,t,s,r){if(r==null){s=l-1;r=l}return addRaw({type:"quantifier",min:e,max:t,greedy:true,body:null,range:[s,r]})}function createAlternative(e,t,s){return addRaw({type:"alternative",body:e,range:[t,s]})}function createCharacterClass(e,t,s,r){return addRaw({type:"characterClass",body:e,negative:t,range:[s,r]})}function createClassRange(e,t,s,r){if(e.codePoint>t.codePoint){bail("invalid range in character class",e.raw+"-"+t.raw,s,r)}return addRaw({type:"characterClassRange",min:e,max:t,range:[s,r]})}function flattenBody(e){if(e.type==="alternative"){return e.body}else{return[e]}}function isEmpty(e){return e.type==="empty"}function incr(t){t=t||1;var s=e.substring(l,l+t);l+=t||1;return s}function skip(e){if(!match(e)){bail("character",e)}}function match(t){if(e.indexOf(t,l)===l){return incr(t.length)}}function lookahead(){return e[l]}function current(t){return e.indexOf(t,l)===l}function next(t){return e[l+1]===t}function matchReg(t){var s=e.substring(l);var r=s.match(t);if(r){r.range=[];r.range[0]=l;incr(r[0].length);r.range[1]=l}return r}function parseDisjunction(){var e=[],t=l;e.push(parseAlternative());while(match("|")){e.push(parseAlternative())}if(e.length===1){return e[0]}return createDisjunction(e,t,l)}function parseAlternative(){var e=[],t=l;var s;while(s=parseTerm()){e.push(s)}if(e.length===1){return e[0]}return createAlternative(e,t,l)}function parseTerm(){if(l>=e.length||current("|")||current(")")){return null}var t=parseAnchor();if(t){return t}var s=parseAtomAndExtendedAtom();if(!s){bail("Expected atom")}var r=parseQuantifier()||false;if(r){r.body=flattenBody(s);updateRawStart(r,s.range[0]);return r}return s}function parseGroup(e,t,s,r){var i=null,n=l;if(match(e)){i=t}else if(match(s)){i=r}else{return false}return finishGroup(i,n)}function finishGroup(e,t){var s=parseDisjunction();if(!s){bail("Expected disjunction")}skip(")");var r=createGroup(e,flattenBody(s),t,l);if(e=="normal"){if(a){n++}}return r}function parseAnchor(){var e,t=l;if(match("^")){return createAnchor("start",1)}else if(match("$")){return createAnchor("end",1)}else if(match("\\b")){return createAnchor("boundary",2)}else if(match("\\B")){return createAnchor("not-boundary",2)}else{return parseGroup("(?=","lookahead","(?!","negativeLookahead")}}function parseQuantifier(){var e,t=l;var s;var r,i;if(match("*")){s=createQuantifier(0)}else if(match("+")){s=createQuantifier(1)}else if(match("?")){s=createQuantifier(0,1)}else if(e=matchReg(/^\{([0-9]+)\}/)){r=parseInt(e[1],10);s=createQuantifier(r,r,e.range[0],e.range[1])}else if(e=matchReg(/^\{([0-9]+),\}/)){r=parseInt(e[1],10);s=createQuantifier(r,undefined,e.range[0],e.range[1])}else if(e=matchReg(/^\{([0-9]+),([0-9]+)\}/)){r=parseInt(e[1],10);i=parseInt(e[2],10);if(r>i){bail("numbers out of order in {} quantifier","",t,l)}s=createQuantifier(r,i,e.range[0],e.range[1])}if(s){if(match("?")){s.greedy=false;s.range[1]+=1}}return s}function parseAtomAndExtendedAtom(){var e;if(e=matchReg(/^[^^$\\.*+?()[\]{}|]/)){return createCharacter(e)}else if(!o&&(e=matchReg(/^(?:]|})/))){return createCharacter(e)}else if(match(".")){return createDot()}else if(match("\\")){e=parseAtomEscape();if(!e){if(!o&&lookahead()=="c"){return createValue("symbol",92,l-1,l)}bail("atomEscape")}return e}else if(e=parseCharacterClass()){return e}else if(r.lookbehind&&(e=parseGroup("(?<=","lookbehind","(?");var s=finishGroup("normal",t.range[0]-3);s.name=t;return s}else{return parseGroup("(?:","ignore","(","normal")}}function parseUnicodeSurrogatePairEscape(e){if(o){var t,s;if(e.kind=="unicodeEscape"&&(t=e.codePoint)>=55296&&t<=56319&¤t("\\")&&next("u")){var r=l;l++;var i=parseClassEscape();if(i.kind=="unicodeEscape"&&(s=i.codePoint)>=56320&&s<=57343){e.range[1]=i.range[1];e.codePoint=(t-55296)*1024+s-56320+65536;e.type="value";e.kind="unicodeCodePointEscape";addRaw(e)}else{l=r}}}return e}function parseClassEscape(){return parseAtomEscape(true)}function parseAtomEscape(e){var t,s=l;t=parseDecimalEscape()||parseNamedReference();if(t){return t}if(e){if(match("b")){return createEscaped("singleEscape",8,"\\b")}else if(match("B")){bail("\\B not possible inside of CharacterClass","",s)}else if(!o&&(t=matchReg(/^c([0-9])/))){return createEscaped("controlLetter",t[1]+16,t[1],2)}if(match("-")&&o){return createEscaped("singleEscape",45,"\\-")}}t=parseCharacterEscape();return t}function parseDecimalEscape(){var e,t;if(e=matchReg(/^(?!0)\d+/)){t=e[0];var s=parseInt(e[0],10);if(s<=n){return createReference(e[0])}else{i.push(s);incr(-e[0].length);if(e=matchReg(/^[0-7]{1,3}/)){return createEscaped("octal",parseInt(e[0],8),e[0],1)}else{e=createCharacter(matchReg(/^[89]/));return updateRawStart(e,e.range[0]-1)}}}else if(e=matchReg(/^[0-7]{1,3}/)){t=e[0];if(/^0{1,3}$/.test(t)){return createEscaped("null",0,"0",t.length+1)}else{return createEscaped("octal",parseInt(t,8),t,1)}}else if(e=matchReg(/^[dDsSwW]/)){return createCharacterClassEscape(e[0])}return false}function parseNamedReference(){if(r.namedGroups&&matchReg(/^k<(?=.*?>)/)){var e=parseIdentifier();skip(">");return createNamedReference(e)}}function parseRegExpUnicodeEscapeSequence(){var e;if(e=matchReg(/^u([0-9a-fA-F]{4})/)){return parseUnicodeSurrogatePairEscape(createEscaped("unicodeEscape",parseInt(e[1],16),e[1],2))}else if(o&&(e=matchReg(/^u\{([0-9a-fA-F]+)\}/))){return createEscaped("unicodeCodePointEscape",parseInt(e[1],16),e[1],4)}}function parseCharacterEscape(){var e;var t=l;if(e=matchReg(/^[fnrtv]/)){var s=0;switch(e[0]){case"t":s=9;break;case"n":s=10;break;case"v":s=11;break;case"f":s=12;break;case"r":s=13;break}return createEscaped("singleEscape",s,"\\"+e[0])}else if(e=matchReg(/^c([a-zA-Z])/)){return createEscaped("controlLetter",e[1].charCodeAt(0)%32,e[1],2)}else if(e=matchReg(/^x([0-9a-fA-F]{2})/)){return createEscaped("hexadecimalEscape",parseInt(e[1],16),e[1],2)}else if(e=parseRegExpUnicodeEscapeSequence()){if(!e||e.codePoint>1114111){bail("Invalid escape sequence",null,t,l)}return e}else if(r.unicodePropertyEscape&&o&&(e=matchReg(/^([pP])\{([^\}]+)\}/))){return addRaw({type:"unicodePropertyEscape",negative:e[1]==="P",value:e[2],range:[e.range[0]-1,e.range[1]],raw:e[0]})}else{return parseIdentityEscape()}}function parseIdentifierAtom(s){var r=lookahead();var i=l;if(r==="\\"){incr();var n=parseRegExpUnicodeEscapeSequence();if(!n||!s(n.codePoint)){bail("Invalid escape sequence",null,i,l)}return t(n.codePoint)}var a=r.charCodeAt(0);if(a>=55296&&a<=56319){r+=e[l+1];var o=r.charCodeAt(1);if(o>=56320&&o<=57343){a=(a-55296)*1024+o-56320+65536}}if(!s(a))return;incr();if(a>65535)incr();return r}function parseIdentifier(){var e=l;var t=parseIdentifierAtom(isIdentifierStart);if(!t){bail("Invalid identifier")}var s;while(s=parseIdentifierAtom(isIdentifierPart)){t+=s}return addRaw({type:"identifier",value:t,range:[e,l]})}function isIdentifierStart(e){var s=/[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEF\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7B9\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDF00-\uDF1C\uDF27\uDF30-\uDF45]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF1A]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFF1]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;return e===36||e===95||e>=65&&e<=90||e>=97&&e<=122||e>=128&&s.test(t(e))}function isIdentifierPart(e){var s=/[0-9_\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD801[\uDCA0-\uDCA9]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDD30-\uDD39\uDF46-\uDF50]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC66-\uDC6F\uDC7F-\uDC82\uDCB0-\uDCBA\uDCF0-\uDCF9\uDD00-\uDD02\uDD27-\uDD34\uDD36-\uDD3F\uDD45\uDD46\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDDC9-\uDDCC\uDDD0-\uDDD9\uDE2C-\uDE37\uDE3E\uDEDF-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF3B\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC35-\uDC46\uDC50-\uDC59\uDC5E\uDCB0-\uDCC3\uDCD0-\uDCD9\uDDAF-\uDDB5\uDDB8-\uDDC0\uDDDC\uDDDD\uDE30-\uDE40\uDE50-\uDE59\uDEAB-\uDEB7\uDEC0-\uDEC9\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDC2C-\uDC3A\uDCE0-\uDCE9\uDE01-\uDE0A\uDE33-\uDE39\uDE3B-\uDE3E\uDE47\uDE51-\uDE5B\uDE8A-\uDE99]|\uD807[\uDC2F-\uDC36\uDC38-\uDC3F\uDC50-\uDC59\uDC92-\uDCA7\uDCA9-\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD50-\uDD59\uDD8A-\uDD8E\uDD90\uDD91\uDD93-\uDD97\uDDA0-\uDDA9\uDEF3-\uDEF6]|\uD81A[\uDE60-\uDE69\uDEF0-\uDEF4\uDF30-\uDF36\uDF50-\uDF59]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A\uDD50-\uDD59]|\uDB40[\uDD00-\uDDEF]/;return isIdentifierStart(e)||e>=48&&e<=57||e>=128&&s.test(t(e))}function parseIdentityEscape(){var e;var t=lookahead();if(o&&/[\^\$\.\*\+\?\(\)\\\[\]\{\}\|\/]/.test(t)||!o&&t!=="c"){if(t==="k"&&r.lookbehind){return null}e=incr();return createEscaped("identifier",e.charCodeAt(0),e,1)}return null}function parseCharacterClass(){var e,t=l;if(e=matchReg(/^\[\^/)){e=parseClassRanges();skip("]");return createCharacterClass(e,true,t,l)}else if(match("[")){e=parseClassRanges();skip("]");return createCharacterClass(e,false,t,l)}return null}function parseClassRanges(){var e;if(current("]")){return[]}else{e=parseNonemptyClassRanges();if(!e){bail("nonEmptyClassRanges")}return e}}function parseHelperClassRanges(e){var t,s,r;if(current("-")&&!next("]")){skip("-");r=parseClassAtom();if(!r){bail("classAtom")}s=l;var i=parseClassRanges();if(!i){bail("classRanges")}t=e.range[0];if(i.type==="empty"){return[createClassRange(e,r,t,s)]}return[createClassRange(e,r,t,s)].concat(i)}r=parseNonemptyClassRangesNoDash();if(!r){bail("nonEmptyClassRangesNoDash")}return[e].concat(r)}function parseNonemptyClassRanges(){var e=parseClassAtom();if(!e){bail("classAtom")}if(current("]")){return[e]}return parseHelperClassRanges(e)}function parseNonemptyClassRangesNoDash(){var e=parseClassAtom();if(!e){bail("classAtom")}if(current("]")){return e}return parseHelperClassRanges(e)}function parseClassAtom(){if(match("-")){return createCharacter("-")}else{return parseClassAtomNoDash()}}function parseClassAtomNoDash(){var e;if(e=matchReg(/^[^\\\]-]/)){return createCharacter(e[0])}else if(match("\\")){e=parseClassEscape();if(!e){bail("classEscape")}return parseUnicodeSurrogatePairEscape(e)}}function bail(t,s,r,i){r=r==null?l:r;i=i==null?r:i;var n=Math.max(0,r-10);var a=Math.min(i+10,e.length);var o=" "+e.substring(n,a);var c=" "+new Array(r-n+1).join(" ")+"^";throw SyntaxError(t+" at position "+r+(s?": "+s:"")+"\n"+o+"\n"+c)}var i=[];var n=0;var a=true;var o=(s||"").indexOf("u")!==-1;var l=0;e=String(e);if(e===""){e="(?:)"}var c=parseDisjunction();if(c.range[1]!==e.length){bail("Could not parse entire input - got stuck","",c.range[1])}for(var p=0;p{var t=e.exports=function(e){return new Traverse(e)};function Traverse(e){this.value=e}Traverse.prototype.get=function(e){var t=this.value;for(var s=0;s{e.exports=new Set(["General_Category","Script","Script_Extensions","Alphabetic","Any","ASCII","ASCII_Hex_Digit","Assigned","Bidi_Control","Bidi_Mirrored","Case_Ignorable","Cased","Changes_When_Casefolded","Changes_When_Casemapped","Changes_When_Lowercased","Changes_When_NFKC_Casefolded","Changes_When_Titlecased","Changes_When_Uppercased","Dash","Default_Ignorable_Code_Point","Deprecated","Diacritic","Emoji","Emoji_Component","Emoji_Modifier","Emoji_Modifier_Base","Emoji_Presentation","Extended_Pictographic","Extender","Grapheme_Base","Grapheme_Extend","Hex_Digit","ID_Continue","ID_Start","Ideographic","IDS_Binary_Operator","IDS_Trinary_Operator","Join_Control","Logical_Order_Exception","Lowercase","Math","Noncharacter_Code_Point","Pattern_Syntax","Pattern_White_Space","Quotation_Mark","Radical","Regional_Indicator","Sentence_Terminal","Soft_Dotted","Terminal_Punctuation","Unified_Ideograph","Uppercase","Variation_Selector","White_Space","XID_Continue","XID_Start"])},89755:(e,t,s)=>{"use strict";const r=s(68783);const i=s(71047);const n=function(e){if(r.has(e)){return e}if(i.has(e)){return i.get(e)}throw new Error(`Unknown property: ${e}`)};e.exports=n},36104:e=>{e.exports=new Map([["General_Category",new Map([["C","Other"],["Cc","Control"],["cntrl","Control"],["Cf","Format"],["Cn","Unassigned"],["Co","Private_Use"],["Cs","Surrogate"],["L","Letter"],["LC","Cased_Letter"],["Ll","Lowercase_Letter"],["Lm","Modifier_Letter"],["Lo","Other_Letter"],["Lt","Titlecase_Letter"],["Lu","Uppercase_Letter"],["M","Mark"],["Combining_Mark","Mark"],["Mc","Spacing_Mark"],["Me","Enclosing_Mark"],["Mn","Nonspacing_Mark"],["N","Number"],["Nd","Decimal_Number"],["digit","Decimal_Number"],["Nl","Letter_Number"],["No","Other_Number"],["P","Punctuation"],["punct","Punctuation"],["Pc","Connector_Punctuation"],["Pd","Dash_Punctuation"],["Pe","Close_Punctuation"],["Pf","Final_Punctuation"],["Pi","Initial_Punctuation"],["Po","Other_Punctuation"],["Ps","Open_Punctuation"],["S","Symbol"],["Sc","Currency_Symbol"],["Sk","Modifier_Symbol"],["Sm","Math_Symbol"],["So","Other_Symbol"],["Z","Separator"],["Zl","Line_Separator"],["Zp","Paragraph_Separator"],["Zs","Space_Separator"],["Other","Other"],["Control","Control"],["Format","Format"],["Unassigned","Unassigned"],["Private_Use","Private_Use"],["Surrogate","Surrogate"],["Letter","Letter"],["Cased_Letter","Cased_Letter"],["Lowercase_Letter","Lowercase_Letter"],["Modifier_Letter","Modifier_Letter"],["Other_Letter","Other_Letter"],["Titlecase_Letter","Titlecase_Letter"],["Uppercase_Letter","Uppercase_Letter"],["Mark","Mark"],["Spacing_Mark","Spacing_Mark"],["Enclosing_Mark","Enclosing_Mark"],["Nonspacing_Mark","Nonspacing_Mark"],["Number","Number"],["Decimal_Number","Decimal_Number"],["Letter_Number","Letter_Number"],["Other_Number","Other_Number"],["Punctuation","Punctuation"],["Connector_Punctuation","Connector_Punctuation"],["Dash_Punctuation","Dash_Punctuation"],["Close_Punctuation","Close_Punctuation"],["Final_Punctuation","Final_Punctuation"],["Initial_Punctuation","Initial_Punctuation"],["Other_Punctuation","Other_Punctuation"],["Open_Punctuation","Open_Punctuation"],["Symbol","Symbol"],["Currency_Symbol","Currency_Symbol"],["Modifier_Symbol","Modifier_Symbol"],["Math_Symbol","Math_Symbol"],["Other_Symbol","Other_Symbol"],["Separator","Separator"],["Line_Separator","Line_Separator"],["Paragraph_Separator","Paragraph_Separator"],["Space_Separator","Space_Separator"]])],["Script",new Map([["Adlm","Adlam"],["Aghb","Caucasian_Albanian"],["Ahom","Ahom"],["Arab","Arabic"],["Armi","Imperial_Aramaic"],["Armn","Armenian"],["Avst","Avestan"],["Bali","Balinese"],["Bamu","Bamum"],["Bass","Bassa_Vah"],["Batk","Batak"],["Beng","Bengali"],["Bhks","Bhaiksuki"],["Bopo","Bopomofo"],["Brah","Brahmi"],["Brai","Braille"],["Bugi","Buginese"],["Buhd","Buhid"],["Cakm","Chakma"],["Cans","Canadian_Aboriginal"],["Cari","Carian"],["Cham","Cham"],["Cher","Cherokee"],["Chrs","Chorasmian"],["Copt","Coptic"],["Qaac","Coptic"],["Cprt","Cypriot"],["Cyrl","Cyrillic"],["Deva","Devanagari"],["Diak","Dives_Akuru"],["Dogr","Dogra"],["Dsrt","Deseret"],["Dupl","Duployan"],["Egyp","Egyptian_Hieroglyphs"],["Elba","Elbasan"],["Elym","Elymaic"],["Ethi","Ethiopic"],["Geor","Georgian"],["Glag","Glagolitic"],["Gong","Gunjala_Gondi"],["Gonm","Masaram_Gondi"],["Goth","Gothic"],["Gran","Grantha"],["Grek","Greek"],["Gujr","Gujarati"],["Guru","Gurmukhi"],["Hang","Hangul"],["Hani","Han"],["Hano","Hanunoo"],["Hatr","Hatran"],["Hebr","Hebrew"],["Hira","Hiragana"],["Hluw","Anatolian_Hieroglyphs"],["Hmng","Pahawh_Hmong"],["Hmnp","Nyiakeng_Puachue_Hmong"],["Hrkt","Katakana_Or_Hiragana"],["Hung","Old_Hungarian"],["Ital","Old_Italic"],["Java","Javanese"],["Kali","Kayah_Li"],["Kana","Katakana"],["Khar","Kharoshthi"],["Khmr","Khmer"],["Khoj","Khojki"],["Kits","Khitan_Small_Script"],["Knda","Kannada"],["Kthi","Kaithi"],["Lana","Tai_Tham"],["Laoo","Lao"],["Latn","Latin"],["Lepc","Lepcha"],["Limb","Limbu"],["Lina","Linear_A"],["Linb","Linear_B"],["Lisu","Lisu"],["Lyci","Lycian"],["Lydi","Lydian"],["Mahj","Mahajani"],["Maka","Makasar"],["Mand","Mandaic"],["Mani","Manichaean"],["Marc","Marchen"],["Medf","Medefaidrin"],["Mend","Mende_Kikakui"],["Merc","Meroitic_Cursive"],["Mero","Meroitic_Hieroglyphs"],["Mlym","Malayalam"],["Modi","Modi"],["Mong","Mongolian"],["Mroo","Mro"],["Mtei","Meetei_Mayek"],["Mult","Multani"],["Mymr","Myanmar"],["Nand","Nandinagari"],["Narb","Old_North_Arabian"],["Nbat","Nabataean"],["Newa","Newa"],["Nkoo","Nko"],["Nshu","Nushu"],["Ogam","Ogham"],["Olck","Ol_Chiki"],["Orkh","Old_Turkic"],["Orya","Oriya"],["Osge","Osage"],["Osma","Osmanya"],["Palm","Palmyrene"],["Pauc","Pau_Cin_Hau"],["Perm","Old_Permic"],["Phag","Phags_Pa"],["Phli","Inscriptional_Pahlavi"],["Phlp","Psalter_Pahlavi"],["Phnx","Phoenician"],["Plrd","Miao"],["Prti","Inscriptional_Parthian"],["Rjng","Rejang"],["Rohg","Hanifi_Rohingya"],["Runr","Runic"],["Samr","Samaritan"],["Sarb","Old_South_Arabian"],["Saur","Saurashtra"],["Sgnw","SignWriting"],["Shaw","Shavian"],["Shrd","Sharada"],["Sidd","Siddham"],["Sind","Khudawadi"],["Sinh","Sinhala"],["Sogd","Sogdian"],["Sogo","Old_Sogdian"],["Sora","Sora_Sompeng"],["Soyo","Soyombo"],["Sund","Sundanese"],["Sylo","Syloti_Nagri"],["Syrc","Syriac"],["Tagb","Tagbanwa"],["Takr","Takri"],["Tale","Tai_Le"],["Talu","New_Tai_Lue"],["Taml","Tamil"],["Tang","Tangut"],["Tavt","Tai_Viet"],["Telu","Telugu"],["Tfng","Tifinagh"],["Tglg","Tagalog"],["Thaa","Thaana"],["Thai","Thai"],["Tibt","Tibetan"],["Tirh","Tirhuta"],["Ugar","Ugaritic"],["Vaii","Vai"],["Wara","Warang_Citi"],["Wcho","Wancho"],["Xpeo","Old_Persian"],["Xsux","Cuneiform"],["Yezi","Yezidi"],["Yiii","Yi"],["Zanb","Zanabazar_Square"],["Zinh","Inherited"],["Qaai","Inherited"],["Zyyy","Common"],["Zzzz","Unknown"],["Adlam","Adlam"],["Caucasian_Albanian","Caucasian_Albanian"],["Arabic","Arabic"],["Imperial_Aramaic","Imperial_Aramaic"],["Armenian","Armenian"],["Avestan","Avestan"],["Balinese","Balinese"],["Bamum","Bamum"],["Bassa_Vah","Bassa_Vah"],["Batak","Batak"],["Bengali","Bengali"],["Bhaiksuki","Bhaiksuki"],["Bopomofo","Bopomofo"],["Brahmi","Brahmi"],["Braille","Braille"],["Buginese","Buginese"],["Buhid","Buhid"],["Chakma","Chakma"],["Canadian_Aboriginal","Canadian_Aboriginal"],["Carian","Carian"],["Cherokee","Cherokee"],["Chorasmian","Chorasmian"],["Coptic","Coptic"],["Cypriot","Cypriot"],["Cyrillic","Cyrillic"],["Devanagari","Devanagari"],["Dives_Akuru","Dives_Akuru"],["Dogra","Dogra"],["Deseret","Deseret"],["Duployan","Duployan"],["Egyptian_Hieroglyphs","Egyptian_Hieroglyphs"],["Elbasan","Elbasan"],["Elymaic","Elymaic"],["Ethiopic","Ethiopic"],["Georgian","Georgian"],["Glagolitic","Glagolitic"],["Gunjala_Gondi","Gunjala_Gondi"],["Masaram_Gondi","Masaram_Gondi"],["Gothic","Gothic"],["Grantha","Grantha"],["Greek","Greek"],["Gujarati","Gujarati"],["Gurmukhi","Gurmukhi"],["Hangul","Hangul"],["Han","Han"],["Hanunoo","Hanunoo"],["Hatran","Hatran"],["Hebrew","Hebrew"],["Hiragana","Hiragana"],["Anatolian_Hieroglyphs","Anatolian_Hieroglyphs"],["Pahawh_Hmong","Pahawh_Hmong"],["Nyiakeng_Puachue_Hmong","Nyiakeng_Puachue_Hmong"],["Katakana_Or_Hiragana","Katakana_Or_Hiragana"],["Old_Hungarian","Old_Hungarian"],["Old_Italic","Old_Italic"],["Javanese","Javanese"],["Kayah_Li","Kayah_Li"],["Katakana","Katakana"],["Kharoshthi","Kharoshthi"],["Khmer","Khmer"],["Khojki","Khojki"],["Khitan_Small_Script","Khitan_Small_Script"],["Kannada","Kannada"],["Kaithi","Kaithi"],["Tai_Tham","Tai_Tham"],["Lao","Lao"],["Latin","Latin"],["Lepcha","Lepcha"],["Limbu","Limbu"],["Linear_A","Linear_A"],["Linear_B","Linear_B"],["Lycian","Lycian"],["Lydian","Lydian"],["Mahajani","Mahajani"],["Makasar","Makasar"],["Mandaic","Mandaic"],["Manichaean","Manichaean"],["Marchen","Marchen"],["Medefaidrin","Medefaidrin"],["Mende_Kikakui","Mende_Kikakui"],["Meroitic_Cursive","Meroitic_Cursive"],["Meroitic_Hieroglyphs","Meroitic_Hieroglyphs"],["Malayalam","Malayalam"],["Mongolian","Mongolian"],["Mro","Mro"],["Meetei_Mayek","Meetei_Mayek"],["Multani","Multani"],["Myanmar","Myanmar"],["Nandinagari","Nandinagari"],["Old_North_Arabian","Old_North_Arabian"],["Nabataean","Nabataean"],["Nko","Nko"],["Nushu","Nushu"],["Ogham","Ogham"],["Ol_Chiki","Ol_Chiki"],["Old_Turkic","Old_Turkic"],["Oriya","Oriya"],["Osage","Osage"],["Osmanya","Osmanya"],["Palmyrene","Palmyrene"],["Pau_Cin_Hau","Pau_Cin_Hau"],["Old_Permic","Old_Permic"],["Phags_Pa","Phags_Pa"],["Inscriptional_Pahlavi","Inscriptional_Pahlavi"],["Psalter_Pahlavi","Psalter_Pahlavi"],["Phoenician","Phoenician"],["Miao","Miao"],["Inscriptional_Parthian","Inscriptional_Parthian"],["Rejang","Rejang"],["Hanifi_Rohingya","Hanifi_Rohingya"],["Runic","Runic"],["Samaritan","Samaritan"],["Old_South_Arabian","Old_South_Arabian"],["Saurashtra","Saurashtra"],["SignWriting","SignWriting"],["Shavian","Shavian"],["Sharada","Sharada"],["Siddham","Siddham"],["Khudawadi","Khudawadi"],["Sinhala","Sinhala"],["Sogdian","Sogdian"],["Old_Sogdian","Old_Sogdian"],["Sora_Sompeng","Sora_Sompeng"],["Soyombo","Soyombo"],["Sundanese","Sundanese"],["Syloti_Nagri","Syloti_Nagri"],["Syriac","Syriac"],["Tagbanwa","Tagbanwa"],["Takri","Takri"],["Tai_Le","Tai_Le"],["New_Tai_Lue","New_Tai_Lue"],["Tamil","Tamil"],["Tangut","Tangut"],["Tai_Viet","Tai_Viet"],["Telugu","Telugu"],["Tifinagh","Tifinagh"],["Tagalog","Tagalog"],["Thaana","Thaana"],["Tibetan","Tibetan"],["Tirhuta","Tirhuta"],["Ugaritic","Ugaritic"],["Vai","Vai"],["Warang_Citi","Warang_Citi"],["Wancho","Wancho"],["Old_Persian","Old_Persian"],["Cuneiform","Cuneiform"],["Yezidi","Yezidi"],["Yi","Yi"],["Zanabazar_Square","Zanabazar_Square"],["Inherited","Inherited"],["Common","Common"],["Unknown","Unknown"]])],["Script_Extensions",new Map([["Adlm","Adlam"],["Aghb","Caucasian_Albanian"],["Ahom","Ahom"],["Arab","Arabic"],["Armi","Imperial_Aramaic"],["Armn","Armenian"],["Avst","Avestan"],["Bali","Balinese"],["Bamu","Bamum"],["Bass","Bassa_Vah"],["Batk","Batak"],["Beng","Bengali"],["Bhks","Bhaiksuki"],["Bopo","Bopomofo"],["Brah","Brahmi"],["Brai","Braille"],["Bugi","Buginese"],["Buhd","Buhid"],["Cakm","Chakma"],["Cans","Canadian_Aboriginal"],["Cari","Carian"],["Cham","Cham"],["Cher","Cherokee"],["Chrs","Chorasmian"],["Copt","Coptic"],["Qaac","Coptic"],["Cprt","Cypriot"],["Cyrl","Cyrillic"],["Deva","Devanagari"],["Diak","Dives_Akuru"],["Dogr","Dogra"],["Dsrt","Deseret"],["Dupl","Duployan"],["Egyp","Egyptian_Hieroglyphs"],["Elba","Elbasan"],["Elym","Elymaic"],["Ethi","Ethiopic"],["Geor","Georgian"],["Glag","Glagolitic"],["Gong","Gunjala_Gondi"],["Gonm","Masaram_Gondi"],["Goth","Gothic"],["Gran","Grantha"],["Grek","Greek"],["Gujr","Gujarati"],["Guru","Gurmukhi"],["Hang","Hangul"],["Hani","Han"],["Hano","Hanunoo"],["Hatr","Hatran"],["Hebr","Hebrew"],["Hira","Hiragana"],["Hluw","Anatolian_Hieroglyphs"],["Hmng","Pahawh_Hmong"],["Hmnp","Nyiakeng_Puachue_Hmong"],["Hrkt","Katakana_Or_Hiragana"],["Hung","Old_Hungarian"],["Ital","Old_Italic"],["Java","Javanese"],["Kali","Kayah_Li"],["Kana","Katakana"],["Khar","Kharoshthi"],["Khmr","Khmer"],["Khoj","Khojki"],["Kits","Khitan_Small_Script"],["Knda","Kannada"],["Kthi","Kaithi"],["Lana","Tai_Tham"],["Laoo","Lao"],["Latn","Latin"],["Lepc","Lepcha"],["Limb","Limbu"],["Lina","Linear_A"],["Linb","Linear_B"],["Lisu","Lisu"],["Lyci","Lycian"],["Lydi","Lydian"],["Mahj","Mahajani"],["Maka","Makasar"],["Mand","Mandaic"],["Mani","Manichaean"],["Marc","Marchen"],["Medf","Medefaidrin"],["Mend","Mende_Kikakui"],["Merc","Meroitic_Cursive"],["Mero","Meroitic_Hieroglyphs"],["Mlym","Malayalam"],["Modi","Modi"],["Mong","Mongolian"],["Mroo","Mro"],["Mtei","Meetei_Mayek"],["Mult","Multani"],["Mymr","Myanmar"],["Nand","Nandinagari"],["Narb","Old_North_Arabian"],["Nbat","Nabataean"],["Newa","Newa"],["Nkoo","Nko"],["Nshu","Nushu"],["Ogam","Ogham"],["Olck","Ol_Chiki"],["Orkh","Old_Turkic"],["Orya","Oriya"],["Osge","Osage"],["Osma","Osmanya"],["Palm","Palmyrene"],["Pauc","Pau_Cin_Hau"],["Perm","Old_Permic"],["Phag","Phags_Pa"],["Phli","Inscriptional_Pahlavi"],["Phlp","Psalter_Pahlavi"],["Phnx","Phoenician"],["Plrd","Miao"],["Prti","Inscriptional_Parthian"],["Rjng","Rejang"],["Rohg","Hanifi_Rohingya"],["Runr","Runic"],["Samr","Samaritan"],["Sarb","Old_South_Arabian"],["Saur","Saurashtra"],["Sgnw","SignWriting"],["Shaw","Shavian"],["Shrd","Sharada"],["Sidd","Siddham"],["Sind","Khudawadi"],["Sinh","Sinhala"],["Sogd","Sogdian"],["Sogo","Old_Sogdian"],["Sora","Sora_Sompeng"],["Soyo","Soyombo"],["Sund","Sundanese"],["Sylo","Syloti_Nagri"],["Syrc","Syriac"],["Tagb","Tagbanwa"],["Takr","Takri"],["Tale","Tai_Le"],["Talu","New_Tai_Lue"],["Taml","Tamil"],["Tang","Tangut"],["Tavt","Tai_Viet"],["Telu","Telugu"],["Tfng","Tifinagh"],["Tglg","Tagalog"],["Thaa","Thaana"],["Thai","Thai"],["Tibt","Tibetan"],["Tirh","Tirhuta"],["Ugar","Ugaritic"],["Vaii","Vai"],["Wara","Warang_Citi"],["Wcho","Wancho"],["Xpeo","Old_Persian"],["Xsux","Cuneiform"],["Yezi","Yezidi"],["Yiii","Yi"],["Zanb","Zanabazar_Square"],["Zinh","Inherited"],["Qaai","Inherited"],["Zyyy","Common"],["Zzzz","Unknown"],["Adlam","Adlam"],["Caucasian_Albanian","Caucasian_Albanian"],["Arabic","Arabic"],["Imperial_Aramaic","Imperial_Aramaic"],["Armenian","Armenian"],["Avestan","Avestan"],["Balinese","Balinese"],["Bamum","Bamum"],["Bassa_Vah","Bassa_Vah"],["Batak","Batak"],["Bengali","Bengali"],["Bhaiksuki","Bhaiksuki"],["Bopomofo","Bopomofo"],["Brahmi","Brahmi"],["Braille","Braille"],["Buginese","Buginese"],["Buhid","Buhid"],["Chakma","Chakma"],["Canadian_Aboriginal","Canadian_Aboriginal"],["Carian","Carian"],["Cherokee","Cherokee"],["Chorasmian","Chorasmian"],["Coptic","Coptic"],["Cypriot","Cypriot"],["Cyrillic","Cyrillic"],["Devanagari","Devanagari"],["Dives_Akuru","Dives_Akuru"],["Dogra","Dogra"],["Deseret","Deseret"],["Duployan","Duployan"],["Egyptian_Hieroglyphs","Egyptian_Hieroglyphs"],["Elbasan","Elbasan"],["Elymaic","Elymaic"],["Ethiopic","Ethiopic"],["Georgian","Georgian"],["Glagolitic","Glagolitic"],["Gunjala_Gondi","Gunjala_Gondi"],["Masaram_Gondi","Masaram_Gondi"],["Gothic","Gothic"],["Grantha","Grantha"],["Greek","Greek"],["Gujarati","Gujarati"],["Gurmukhi","Gurmukhi"],["Hangul","Hangul"],["Han","Han"],["Hanunoo","Hanunoo"],["Hatran","Hatran"],["Hebrew","Hebrew"],["Hiragana","Hiragana"],["Anatolian_Hieroglyphs","Anatolian_Hieroglyphs"],["Pahawh_Hmong","Pahawh_Hmong"],["Nyiakeng_Puachue_Hmong","Nyiakeng_Puachue_Hmong"],["Katakana_Or_Hiragana","Katakana_Or_Hiragana"],["Old_Hungarian","Old_Hungarian"],["Old_Italic","Old_Italic"],["Javanese","Javanese"],["Kayah_Li","Kayah_Li"],["Katakana","Katakana"],["Kharoshthi","Kharoshthi"],["Khmer","Khmer"],["Khojki","Khojki"],["Khitan_Small_Script","Khitan_Small_Script"],["Kannada","Kannada"],["Kaithi","Kaithi"],["Tai_Tham","Tai_Tham"],["Lao","Lao"],["Latin","Latin"],["Lepcha","Lepcha"],["Limbu","Limbu"],["Linear_A","Linear_A"],["Linear_B","Linear_B"],["Lycian","Lycian"],["Lydian","Lydian"],["Mahajani","Mahajani"],["Makasar","Makasar"],["Mandaic","Mandaic"],["Manichaean","Manichaean"],["Marchen","Marchen"],["Medefaidrin","Medefaidrin"],["Mende_Kikakui","Mende_Kikakui"],["Meroitic_Cursive","Meroitic_Cursive"],["Meroitic_Hieroglyphs","Meroitic_Hieroglyphs"],["Malayalam","Malayalam"],["Mongolian","Mongolian"],["Mro","Mro"],["Meetei_Mayek","Meetei_Mayek"],["Multani","Multani"],["Myanmar","Myanmar"],["Nandinagari","Nandinagari"],["Old_North_Arabian","Old_North_Arabian"],["Nabataean","Nabataean"],["Nko","Nko"],["Nushu","Nushu"],["Ogham","Ogham"],["Ol_Chiki","Ol_Chiki"],["Old_Turkic","Old_Turkic"],["Oriya","Oriya"],["Osage","Osage"],["Osmanya","Osmanya"],["Palmyrene","Palmyrene"],["Pau_Cin_Hau","Pau_Cin_Hau"],["Old_Permic","Old_Permic"],["Phags_Pa","Phags_Pa"],["Inscriptional_Pahlavi","Inscriptional_Pahlavi"],["Psalter_Pahlavi","Psalter_Pahlavi"],["Phoenician","Phoenician"],["Miao","Miao"],["Inscriptional_Parthian","Inscriptional_Parthian"],["Rejang","Rejang"],["Hanifi_Rohingya","Hanifi_Rohingya"],["Runic","Runic"],["Samaritan","Samaritan"],["Old_South_Arabian","Old_South_Arabian"],["Saurashtra","Saurashtra"],["SignWriting","SignWriting"],["Shavian","Shavian"],["Sharada","Sharada"],["Siddham","Siddham"],["Khudawadi","Khudawadi"],["Sinhala","Sinhala"],["Sogdian","Sogdian"],["Old_Sogdian","Old_Sogdian"],["Sora_Sompeng","Sora_Sompeng"],["Soyombo","Soyombo"],["Sundanese","Sundanese"],["Syloti_Nagri","Syloti_Nagri"],["Syriac","Syriac"],["Tagbanwa","Tagbanwa"],["Takri","Takri"],["Tai_Le","Tai_Le"],["New_Tai_Lue","New_Tai_Lue"],["Tamil","Tamil"],["Tangut","Tangut"],["Tai_Viet","Tai_Viet"],["Telugu","Telugu"],["Tifinagh","Tifinagh"],["Tagalog","Tagalog"],["Thaana","Thaana"],["Tibetan","Tibetan"],["Tirhuta","Tirhuta"],["Ugaritic","Ugaritic"],["Vai","Vai"],["Warang_Citi","Warang_Citi"],["Wancho","Wancho"],["Old_Persian","Old_Persian"],["Cuneiform","Cuneiform"],["Yezidi","Yezidi"],["Yi","Yi"],["Zanabazar_Square","Zanabazar_Square"],["Inherited","Inherited"],["Common","Common"],["Unknown","Unknown"]])]])},67621:(e,t,s)=>{"use strict";const r=s(36104);const i=function(e,t){const s=r.get(e);if(!s){throw new Error(`Unknown property \`${e}\`.`)}const i=s.get(t);if(i){return i}throw new Error(`Unknown value \`${t}\` for property \`${e}\`.`)};e.exports=i},71047:e=>{e.exports=new Map([["scx","Script_Extensions"],["sc","Script"],["gc","General_Category"],["AHex","ASCII_Hex_Digit"],["Alpha","Alphabetic"],["Bidi_C","Bidi_Control"],["Bidi_M","Bidi_Mirrored"],["Cased","Cased"],["CI","Case_Ignorable"],["CWCF","Changes_When_Casefolded"],["CWCM","Changes_When_Casemapped"],["CWKCF","Changes_When_NFKC_Casefolded"],["CWL","Changes_When_Lowercased"],["CWT","Changes_When_Titlecased"],["CWU","Changes_When_Uppercased"],["Dash","Dash"],["Dep","Deprecated"],["DI","Default_Ignorable_Code_Point"],["Dia","Diacritic"],["Ext","Extender"],["Gr_Base","Grapheme_Base"],["Gr_Ext","Grapheme_Extend"],["Hex","Hex_Digit"],["IDC","ID_Continue"],["Ideo","Ideographic"],["IDS","ID_Start"],["IDSB","IDS_Binary_Operator"],["IDST","IDS_Trinary_Operator"],["Join_C","Join_Control"],["LOE","Logical_Order_Exception"],["Lower","Lowercase"],["Math","Math"],["NChar","Noncharacter_Code_Point"],["Pat_Syn","Pattern_Syntax"],["Pat_WS","Pattern_White_Space"],["QMark","Quotation_Mark"],["Radical","Radical"],["RI","Regional_Indicator"],["SD","Soft_Dotted"],["STerm","Sentence_Terminal"],["Term","Terminal_Punctuation"],["UIdeo","Unified_Ideograph"],["Upper","Uppercase"],["VS","Variation_Selector"],["WSpace","White_Space"],["space","White_Space"],["XIDC","XID_Continue"],["XIDS","XID_Start"]])},76812:(e,t,s)=>{function eslintParser(){return s(28700)}function pluginProposalClassProperties(){return s(98060)}function pluginProposalExportNamespaceFrom(){return s(78562)}function pluginProposalNumericSeparator(){return s(17788)}function pluginProposalObjectRestSpread(){return s(15654)}function pluginSyntaxBigint(){return s(87140)}function pluginSyntaxDynamicImport(){return s(15487)}function pluginSyntaxJsx(){return s(65673)}function pluginTransformDefine(){return s(4100)}function pluginTransformModulesCommonjs(){return s(68749)}function pluginTransformReactRemovePropTypes(){return s(99392)}function pluginTransformRuntime(){return s(14380)}function presetEnv(){return s(61480)}function presetReact(){return s(9064)}function presetTypescript(){return s(12898)}e.exports={eslintParser:eslintParser,pluginProposalClassProperties:pluginProposalClassProperties,pluginProposalExportNamespaceFrom:pluginProposalExportNamespaceFrom,pluginProposalNumericSeparator:pluginProposalNumericSeparator,pluginProposalObjectRestSpread:pluginProposalObjectRestSpread,pluginSyntaxBigint:pluginSyntaxBigint,pluginSyntaxDynamicImport:pluginSyntaxDynamicImport,pluginSyntaxJsx:pluginSyntaxJsx,pluginTransformDefine:pluginTransformDefine,pluginTransformModulesCommonjs:pluginTransformModulesCommonjs,pluginTransformReactRemovePropTypes:pluginTransformReactRemovePropTypes,pluginTransformRuntime:pluginTransformRuntime,presetEnv:presetEnv,presetReact:presetReact,presetTypescript:presetTypescript}},11397:(e,t,s)=>{e.exports=s(66353)},89556:(e,t,s)=>{e.exports=s(78575)},91325:(e,t,s)=>{e.exports=s(93840)},13982:(e,t,s)=>{e.exports=s(42230)},70251:(e,t,s)=>{e.exports=s(6834)},52393:()=>{},7676:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeWeakCache=makeWeakCache;t.makeWeakCacheSync=makeWeakCacheSync;t.makeStrongCache=makeStrongCache;t.makeStrongCacheSync=makeStrongCacheSync;t.assertSimpleType=assertSimpleType;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(33655);var i=s(25529);const n=e=>{return _gensync()(e).sync};function*genTrue(){return true}function makeWeakCache(e){return makeCachedFunction(WeakMap,e)}function makeWeakCacheSync(e){return n(makeWeakCache(e))}function makeStrongCache(e){return makeCachedFunction(Map,e)}function makeStrongCacheSync(e){return n(makeStrongCache(e))}function makeCachedFunction(e,t){const s=new e;const n=new e;const a=new e;return function*cachedFunction(e,o){const l=yield*(0,r.isAsync)();const c=l?n:s;const p=yield*getCachedValueOrWait(l,c,a,e,o);if(p.valid)return p.value;const u=new CacheConfigurator(o);const h=t(e,u);let f;let d;if((0,i.isIterableIterator)(h)){const t=h;d=yield*(0,r.onFirstPause)(t,()=>{f=setupAsyncLocks(u,a,e)})}else{d=h}updateFunctionCache(c,u,e,d);if(f){a.delete(e);f.release(d)}return d}}function*getCachedValue(e,t,s){const r=e.get(t);if(r){for(const{value:e,valid:t}of r){if(yield*t(s))return{valid:true,value:e}}}return{valid:false,value:null}}function*getCachedValueOrWait(e,t,s,i,n){const a=yield*getCachedValue(t,i,n);if(a.valid){return a}if(e){const e=yield*getCachedValue(s,i,n);if(e.valid){const t=yield*(0,r.waitFor)(e.value.promise);return{valid:true,value:t}}}return{valid:false,value:null}}function setupAsyncLocks(e,t,s){const r=new Lock;updateFunctionCache(t,e,s,r);return r}function updateFunctionCache(e,t,s,r){if(!t.configured())t.forever();let i=e.get(s);t.deactivate();switch(t.mode()){case"forever":i=[{value:r,valid:genTrue}];e.set(s,i);break;case"invalidate":i=[{value:r,valid:t.validator()}];e.set(s,i);break;case"valid":if(i){i.push({value:r,valid:t.validator()})}else{i=[{value:r,valid:t.validator()}];e.set(s,i)}}}class CacheConfigurator{constructor(e){this._active=true;this._never=false;this._forever=false;this._invalidate=false;this._configured=false;this._pairs=[];this._data=void 0;this._data=e}simple(){return makeSimpleConfigurator(this)}mode(){if(this._never)return"never";if(this._forever)return"forever";if(this._invalidate)return"invalidate";return"valid"}forever(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never){throw new Error("Caching has already been configured with .never()")}this._forever=true;this._configured=true}never(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._forever){throw new Error("Caching has already been configured with .forever()")}this._never=true;this._configured=true}using(e){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never||this._forever){throw new Error("Caching has already been configured with .never or .forever()")}this._configured=true;const t=e(this._data);const s=(0,r.maybeAsync)(e,`You appear to be using an async cache handler, but Babel has been called synchronously`);if((0,r.isThenable)(t)){return t.then(e=>{this._pairs.push([e,s]);return e})}this._pairs.push([t,s]);return t}invalidate(e){this._invalidate=true;return this.using(e)}validator(){const e=this._pairs;return function*(t){for(const[s,r]of e){if(s!==(yield*r(t)))return false}return true}}deactivate(){this._active=false}configured(){return this._configured}}function makeSimpleConfigurator(e){function cacheFn(t){if(typeof t==="boolean"){if(t)e.forever();else e.never();return}return e.using(()=>assertSimpleType(t()))}cacheFn.forever=(()=>e.forever());cacheFn.never=(()=>e.never());cacheFn.using=(t=>e.using(()=>assertSimpleType(t())));cacheFn.invalidate=(t=>e.invalidate(()=>assertSimpleType(t())));return cacheFn}function assertSimpleType(e){if((0,r.isThenable)(e)){throw new Error(`You appear to be using an async cache handler, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously handle your caching logic.`)}if(e!=null&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"){throw new Error("Cache keys must be either string, boolean, number, null, or undefined.")}return e}class Lock{constructor(){this.released=false;this.promise=void 0;this._resolve=void 0;this.promise=new Promise(e=>{this._resolve=e})}release(e){this.released=true;this._resolve(e)}}},78877:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPresetChain=buildPresetChain;t.buildRootChain=buildRootChain;t.buildPresetChainWalker=void 0;function _path(){const e=s(85622);_path=function(){return e};return e}function _debug(){const e=s(31185);_debug=function(){return e};return e}var r=s(379);var i=s(94753);var n=s(24703);var a=s(88433);var o=s(7676);var l=s(517);const c=_debug()("babel:config:config-chain");function*buildPresetChain(e,t){const s=yield*p(e,t);if(!s)return null;return{plugins:dedupDescriptors(s.plugins),presets:dedupDescriptors(s.presets),options:s.options.map(e=>normalizeOptions(e)),files:new Set}}const p=makeChainWalker({root:e=>u(e),env:(e,t)=>h(e)(t),overrides:(e,t)=>f(e)(t),overridesEnv:(e,t,s)=>d(e)(t)(s),createLogger:()=>()=>{}});t.buildPresetChainWalker=p;const u=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.alias,l.createUncachedDescriptors));const h=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const f=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const d=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(s=>buildOverrideEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t,s))));function*buildRootChain(e,t){let s,r;const i=new n.ConfigPrinter;const o=yield*b({options:e,dirname:t.cwd},t,undefined,i);if(!o)return null;const l=yield*i.output();let c;if(typeof e.configFile==="string"){c=yield*(0,a.loadConfig)(e.configFile,t.cwd,t.envName,t.caller)}else if(e.configFile!==false){c=yield*(0,a.findRootConfig)(t.root,t.envName,t.caller)}let{babelrc:p,babelrcRoots:u}=e;let h=t.cwd;const f=emptyChain();const d=new n.ConfigPrinter;if(c){const e=y(c);const r=yield*loadFileChain(e,t,undefined,d);if(!r)return null;s=yield*d.output();if(p===undefined){p=e.options.babelrc}if(u===undefined){h=e.dirname;u=e.options.babelrcRoots}mergeChain(f,r)}let g,x;let v=false;const w=emptyChain();if((p===true||p===undefined)&&typeof t.filename==="string"){const e=yield*(0,a.findPackageData)(t.filename);if(e&&babelrcLoadEnabled(t,e,u,h)){({ignore:g,config:x}=yield*(0,a.findRelativeConfig)(e,t.envName,t.caller));if(g){w.files.add(g.filepath)}if(g&&shouldIgnore(t,g.ignore,null,g.dirname)){v=true}if(x&&!v){const e=m(x);const s=new n.ConfigPrinter;const i=yield*loadFileChain(e,t,undefined,s);if(!i){v=true}else{r=yield*s.output();mergeChain(w,i)}}if(x&&v){w.files.add(x.filepath)}}}if(t.showConfig){console.log(`Babel configs on "${t.filename}" (ascending priority):\n`+[s,r,l].filter(e=>!!e).join("\n\n")+"\n-----End Babel configs-----")}const P=mergeChain(mergeChain(mergeChain(emptyChain(),f),w),o);return{plugins:v?[]:dedupDescriptors(P.plugins),presets:v?[]:dedupDescriptors(P.presets),options:v?[]:P.options.map(e=>normalizeOptions(e)),fileHandling:v?"ignored":"transpile",ignore:g||undefined,babelrc:x||undefined,config:c||undefined,files:P.files}}function babelrcLoadEnabled(e,t,s,r){if(typeof s==="boolean")return s;const n=e.root;if(s===undefined){return t.directories.indexOf(n)!==-1}let a=s;if(!Array.isArray(a)){a=[a]}a=a.map(e=>{return typeof e==="string"?_path().resolve(r,e):e});if(a.length===1&&a[0]===n){return t.directories.indexOf(n)!==-1}return a.some(s=>{if(typeof s==="string"){s=(0,i.default)(s,r)}return t.directories.some(t=>{return matchPattern(s,r,t,e)})})}const y=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,r.validate)("configfile",e.options)}));const m=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,r.validate)("babelrcfile",e.options)}));const g=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,r.validate)("extendsfile",e.options)}));const b=makeChainWalker({root:e=>buildRootDescriptors(e,"base",l.createCachedDescriptors),env:(e,t)=>buildEnvDescriptors(e,"base",l.createCachedDescriptors,t),overrides:(e,t)=>buildOverrideDescriptors(e,"base",l.createCachedDescriptors,t),overridesEnv:(e,t,s)=>buildOverrideEnvDescriptors(e,"base",l.createCachedDescriptors,t,s),createLogger:(e,t,s)=>buildProgrammaticLogger(e,t,s)});const x=makeChainWalker({root:e=>v(e),env:(e,t)=>w(e)(t),overrides:(e,t)=>P(e)(t),overridesEnv:(e,t,s)=>E(e)(t)(s),createLogger:(e,t,s)=>buildFileLogger(e.filepath,t,s)});function*loadFileChain(e,t,s,r){const i=yield*x(e,t,s,r);if(i){i.files.add(e.filepath)}return i}const v=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.filepath,l.createUncachedDescriptors));const w=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const P=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const E=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(s=>buildOverrideEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t,s))));function buildFileLogger(e,t,s){if(!s){return()=>{}}return s.configure(t.showConfig,n.ChainFormatter.Config,{filepath:e})}function buildRootDescriptors({dirname:e,options:t},s,r){return r(e,t,s)}function buildProgrammaticLogger(e,t,s){var r;if(!s){return()=>{}}return s.configure(t.showConfig,n.ChainFormatter.Programmatic,{callerName:(r=t.caller)==null?void 0:r.name})}function buildEnvDescriptors({dirname:e,options:t},s,r,i){const n=t.env&&t.env[i];return n?r(e,n,`${s}.env["${i}"]`):null}function buildOverrideDescriptors({dirname:e,options:t},s,r,i){const n=t.overrides&&t.overrides[i];if(!n)throw new Error("Assertion failure - missing override");return r(e,n,`${s}.overrides[${i}]`)}function buildOverrideEnvDescriptors({dirname:e,options:t},s,r,i,n){const a=t.overrides&&t.overrides[i];if(!a)throw new Error("Assertion failure - missing override");const o=a.env&&a.env[n];return o?r(e,o,`${s}.overrides[${i}].env["${n}"]`):null}function makeChainWalker({root:e,env:t,overrides:s,overridesEnv:r,createLogger:i}){return function*(n,a,o=new Set,l){const{dirname:c}=n;const p=[];const u=e(n);if(configIsApplicable(u,c,a)){p.push({config:u,envName:undefined,index:undefined});const e=t(n,a.envName);if(e&&configIsApplicable(e,c,a)){p.push({config:e,envName:a.envName,index:undefined})}(u.options.overrides||[]).forEach((e,t)=>{const i=s(n,t);if(configIsApplicable(i,c,a)){p.push({config:i,index:t,envName:undefined});const e=r(n,t,a.envName);if(e&&configIsApplicable(e,c,a)){p.push({config:e,index:t,envName:a.envName})}}})}if(p.some(({config:{options:{ignore:e,only:t}}})=>shouldIgnore(a,e,t,c))){return null}const h=emptyChain();const f=i(n,a,l);for(const{config:e,index:t,envName:s}of p){if(!(yield*mergeExtendsChain(h,e.options,c,a,o,l))){return null}f(e,t,s);yield*mergeChainOpts(h,e)}return h}}function*mergeExtendsChain(e,t,s,r,i,n){if(t.extends===undefined)return true;const o=yield*(0,a.loadConfig)(t.extends,s,r.envName,r.caller);if(i.has(o)){throw new Error(`Configuration cycle detected loading ${o.filepath}.\n`+`File already loaded following the config chain:\n`+Array.from(i,e=>` - ${e.filepath}`).join("\n"))}i.add(o);const l=yield*loadFileChain(g(o),r,i,n);i.delete(o);if(!l)return false;mergeChain(e,l);return true}function mergeChain(e,t){e.options.push(...t.options);e.plugins.push(...t.plugins);e.presets.push(...t.presets);for(const s of t.files){e.files.add(s)}return e}function*mergeChainOpts(e,{options:t,plugins:s,presets:r}){e.options.push(t);e.plugins.push(...yield*s());e.presets.push(...yield*r());return e}function emptyChain(){return{options:[],presets:[],plugins:[],files:new Set}}function normalizeOptions(e){const t=Object.assign({},e);delete t.extends;delete t.env;delete t.overrides;delete t.plugins;delete t.presets;delete t.passPerPreset;delete t.ignore;delete t.only;delete t.test;delete t.include;delete t.exclude;if(Object.prototype.hasOwnProperty.call(t,"sourceMap")){t.sourceMaps=t.sourceMap;delete t.sourceMap}return t}function dedupDescriptors(e){const t=new Map;const s=[];for(const r of e){if(typeof r.value==="function"){const e=r.value;let i=t.get(e);if(!i){i=new Map;t.set(e,i)}let n=i.get(r.name);if(!n){n={value:r};s.push(n);if(!r.ownPass)i.set(r.name,n)}else{n.value=r}}else{s.push({value:r})}}return s.reduce((e,t)=>{e.push(t.value);return e},[])}function configIsApplicable({options:e},t,s){return(e.test===undefined||configFieldIsApplicable(s,e.test,t))&&(e.include===undefined||configFieldIsApplicable(s,e.include,t))&&(e.exclude===undefined||!configFieldIsApplicable(s,e.exclude,t))}function configFieldIsApplicable(e,t,s){const r=Array.isArray(t)?t:[t];return matchesPatterns(e,r,s)}function shouldIgnore(e,t,s,r){if(t&&matchesPatterns(e,t,r)){var i;const s=`No config is applied to "${(i=e.filename)!=null?i:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(t)}\` from "${r}"`;c(s);if(e.showConfig){console.log(s)}return true}if(s&&!matchesPatterns(e,s,r)){var n;const t=`No config is applied to "${(n=e.filename)!=null?n:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(s)}\` from "${r}"`;c(t);if(e.showConfig){console.log(t)}return true}return false}function matchesPatterns(e,t,s){return t.some(t=>matchPattern(t,s,e.filename,e))}function matchPattern(e,t,s,r){if(typeof e==="function"){return!!e(s,{dirname:t,envName:r.envName,caller:r.caller})}if(typeof s!=="string"){throw new Error(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`)}if(typeof e==="string"){e=(0,i.default)(e,t)}return e.test(s)}},517:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createCachedDescriptors=createCachedDescriptors;t.createUncachedDescriptors=createUncachedDescriptors;t.createDescriptor=createDescriptor;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(88433);var i=s(45150);var n=s(7676);var a=s(95362);function isEqualDescriptor(e,t){return e.name===t.name&&e.value===t.value&&e.options===t.options&&e.dirname===t.dirname&&e.alias===t.alias&&e.ownPass===t.ownPass&&(e.file&&e.file.request)===(t.file&&t.file.request)&&(e.file&&e.file.resolved)===(t.file&&t.file.resolved)}function*handlerOf(e){return e}function optionsWithResolvedBrowserslistConfigFile(e,t){if(typeof e.browserslistConfigFile==="string"){e.browserslistConfigFile=(0,a.resolveBrowserslistConfigFile)(e.browserslistConfigFile,t)}return e}function createCachedDescriptors(e,t,s){const{plugins:r,presets:i,passPerPreset:n}=t;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),plugins:r?()=>p(r,e)(s):()=>handlerOf([]),presets:i?()=>l(i,e)(s)(!!n):()=>handlerOf([])}}function createUncachedDescriptors(e,t,s){let r;let i;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),*plugins(){if(!r){r=yield*createPluginDescriptors(t.plugins||[],e,s)}return r},*presets(){if(!i){i=yield*createPresetDescriptors(t.presets||[],e,s,!!t.passPerPreset)}return i}}}const o=new WeakMap;const l=(0,n.makeWeakCacheSync)((e,t)=>{const s=t.using(e=>e);return(0,n.makeStrongCacheSync)(t=>(0,n.makeStrongCache)(function*(r){const i=yield*createPresetDescriptors(e,s,t,r);return i.map(e=>loadCachedDescriptor(o,e))}))});const c=new WeakMap;const p=(0,n.makeWeakCacheSync)((e,t)=>{const s=t.using(e=>e);return(0,n.makeStrongCache)(function*(t){const r=yield*createPluginDescriptors(e,s,t);return r.map(e=>loadCachedDescriptor(c,e))})});const u={};function loadCachedDescriptor(e,t){const{value:s,options:r=u}=t;if(r===false)return t;let i=e.get(s);if(!i){i=new WeakMap;e.set(s,i)}let n=i.get(r);if(!n){n=[];i.set(r,n)}if(n.indexOf(t)===-1){const e=n.filter(e=>isEqualDescriptor(e,t));if(e.length>0){return e[0]}n.push(t)}return t}function*createPresetDescriptors(e,t,s,r){return yield*createDescriptors("preset",e,t,s,r)}function*createPluginDescriptors(e,t,s){return yield*createDescriptors("plugin",e,t,s)}function*createDescriptors(e,t,s,r,i){const n=yield*_gensync().all(t.map((t,n)=>createDescriptor(t,s,{type:e,alias:`${r}$${n}`,ownPass:!!i})));assertNoDuplicates(n);return n}function*createDescriptor(e,t,{type:s,alias:n,ownPass:a}){const o=(0,i.getItemDescriptor)(e);if(o){return o}let l;let c;let p=e;if(Array.isArray(p)){if(p.length===3){[p,c,l]=p}else{[p,c]=p}}let u=undefined;let h=null;if(typeof p==="string"){if(typeof s!=="string"){throw new Error("To resolve a string-based item, the type of item must be given")}const e=s==="plugin"?r.loadPlugin:r.loadPreset;const i=p;({filepath:h,value:p}=yield*e(p,t));u={request:i,resolved:h}}if(!p){throw new Error(`Unexpected falsy value: ${String(p)}`)}if(typeof p==="object"&&p.__esModule){if(p.default){p=p.default}else{throw new Error("Must export a default export when using ES6 modules.")}}if(typeof p!=="object"&&typeof p!=="function"){throw new Error(`Unsupported format: ${typeof p}. Expected an object or a function.`)}if(h!==null&&typeof p==="object"&&p){throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${h}`)}return{name:l,alias:h||n,value:p,options:c,dirname:t,ownPass:a,file:u}}function assertNoDuplicates(e){const t=new Map;for(const s of e){if(typeof s.value!=="function")continue;let r=t.get(s.value);if(!r){r=new Set;t.set(s.value,r)}if(r.has(s.name)){const t=e.filter(e=>e.value===s.value);throw new Error([`Duplicate plugin/preset detected.`,`If you'd like to use two separate instances of a plugin,`,`they need separate names, e.g.`,``,` plugins: [`,` ['some-plugin', {}],`,` ['some-plugin', {}, 'some unique name'],`,` ]`,``,`Duplicates detected are:`,`${JSON.stringify(t,null,2)}`].join("\n"))}r.add(s.name)}}},43704:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findConfigUpwards=findConfigUpwards;t.findRelativeConfig=findRelativeConfig;t.findRootConfig=findRootConfig;t.loadConfig=loadConfig;t.resolveShowConfigPath=resolveShowConfigPath;t.ROOT_CONFIG_FILENAMES=void 0;function _debug(){const e=s(31185);_debug=function(){return e};return e}function _fs(){const e=s(35747);_fs=function(){return e};return e}function _path(){const e=s(85622);_path=function(){return e};return e}function _json(){const e=s(33170);_json=function(){return e};return e}function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(7676);var i=s(61665);var n=s(69957);var a=s(96290);var o=s(94753);var l=s(8758);function _module(){const e=s(32282);_module=function(){return e};return e}const c=_debug()("babel:config:loading:files:configuration");const p=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json"];t.ROOT_CONFIG_FILENAMES=p;const u=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json"];const h=".babelignore";function findConfigUpwards(e){let t=e;for(;;){for(const e of p){if(_fs().existsSync(_path().join(t,e))){return t}}const e=_path().dirname(t);if(t===e)break;t=e}return null}function*findRelativeConfig(e,t,s){let r=null;let i=null;const n=_path().dirname(e.filepath);for(const o of e.directories){if(!r){var a;r=yield*loadOneConfig(u,o,t,s,((a=e.pkg)==null?void 0:a.dirname)===o?y(e.pkg):null)}if(!i){const e=_path().join(o,h);i=yield*g(e);if(i){c("Found ignore %o from %o.",i.filepath,n)}}}return{config:r,ignore:i}}function findRootConfig(e,t,s){return loadOneConfig(p,e,t,s)}function*loadOneConfig(e,t,s,r,i=null){const n=yield*_gensync().all(e.map(e=>readConfig(_path().join(t,e),s,r)));const a=n.reduce((e,s)=>{if(s&&e){throw new Error(`Multiple configuration files found. Please remove one:\n`+` - ${_path().basename(e.filepath)}\n`+` - ${s.filepath}\n`+`from ${t}`)}return s||e},i);if(a){c("Found configuration %o from %o.",a.filepath,t)}return a}function*loadConfig(e,t,r,i){const n=(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(e,{paths:[t]});const a=yield*readConfig(n,r,i);if(!a){throw new Error(`Config file ${n} contains no configuration data`)}c("Loaded config %o from %o.",e,t);return a}function readConfig(e,t,s){const r=_path().extname(e);return r===".js"||r===".cjs"||r===".mjs"?d(e,{envName:t,caller:s}):m(e)}const f=new Set;const d=(0,r.makeStrongCache)(function*readConfigJS(e,t){if(!_fs().existsSync(e)){t.never();return null}if(f.has(e)){t.never();c("Auto-ignoring usage of config %o.",e);return{filepath:e,dirname:_path().dirname(e),options:{}}}let s;try{f.add(e);s=yield*(0,a.default)(e,"You appear to be using a native ECMAScript module configuration "+"file, which is only supported when running Babel asynchronously.")}catch(t){t.message=`${e}: Error while loading config - ${t.message}`;throw t}finally{f.delete(e)}let r=false;if(typeof s==="function"){yield*[];s=s((0,i.makeConfigAPI)(t));r=true}if(!s||typeof s!=="object"||Array.isArray(s)){throw new Error(`${e}: Configuration should be an exported JavaScript object.`)}if(typeof s.then==="function"){throw new Error(`You appear to be using an async configuration, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously return your config.`)}if(r&&!t.configured())throwConfigError();return{filepath:e,dirname:_path().dirname(e),options:s}});const y=(0,r.makeWeakCacheSync)(e=>{const t=e.options["babel"];if(typeof t==="undefined")return null;if(typeof t!=="object"||Array.isArray(t)||t===null){throw new Error(`${e.filepath}: .babel property must be an object`)}return{filepath:e.filepath,dirname:e.dirname,options:t}});const m=(0,n.makeStaticFileCache)((e,t)=>{let s;try{s=_json().parse(t)}catch(t){t.message=`${e}: Error while parsing config - ${t.message}`;throw t}if(!s)throw new Error(`${e}: No config detected`);if(typeof s!=="object"){throw new Error(`${e}: Config returned typeof ${typeof s}`)}if(Array.isArray(s)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:s}});const g=(0,n.makeStaticFileCache)((e,t)=>{const s=_path().dirname(e);const r=t.split("\n").map(e=>e.replace(/#(.*?)$/,"").trim()).filter(e=>!!e);for(const e of r){if(e[0]==="!"){throw new Error(`Negation of file paths is not supported.`)}}return{filepath:e,dirname:_path().dirname(e),ignore:r.map(e=>(0,o.default)(e,s))}});function*resolveShowConfigPath(e){const t=process.env.BABEL_SHOW_CONFIG_FOR;if(t!=null){const s=_path().resolve(e,t);const r=yield*l.stat(s);if(!r.isFile()){throw new Error(`${s}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`)}return s}return null}function throwConfigError(){throw new Error(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don't call this function again.\n api.cache(true);\n\n // Don't cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === "production");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};`)}},32409:(e,t,s)=>{"use strict";var r;r={value:true};t.Z=import_;function import_(e){return s(74884)(e)}},88433:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"findPackageData",{enumerable:true,get:function(){return r.findPackageData}});Object.defineProperty(t,"findConfigUpwards",{enumerable:true,get:function(){return i.findConfigUpwards}});Object.defineProperty(t,"findRelativeConfig",{enumerable:true,get:function(){return i.findRelativeConfig}});Object.defineProperty(t,"findRootConfig",{enumerable:true,get:function(){return i.findRootConfig}});Object.defineProperty(t,"loadConfig",{enumerable:true,get:function(){return i.loadConfig}});Object.defineProperty(t,"resolveShowConfigPath",{enumerable:true,get:function(){return i.resolveShowConfigPath}});Object.defineProperty(t,"ROOT_CONFIG_FILENAMES",{enumerable:true,get:function(){return i.ROOT_CONFIG_FILENAMES}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return n.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return n.resolvePreset}});Object.defineProperty(t,"loadPlugin",{enumerable:true,get:function(){return n.loadPlugin}});Object.defineProperty(t,"loadPreset",{enumerable:true,get:function(){return n.loadPreset}});var r=s(47470);var i=s(43704);var n=s(86094);({})},96290:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadCjsOrMjsDefault;var r=s(33655);function _path(){const e=s(85622);_path=function(){return e};return e}function _url(){const e=s(78835);_url=function(){return e};return e}function _module(){const e=s(32282);_module=function(){return e};return e}function asyncGeneratorStep(e,t,s,r,i,n,a){try{var o=e[n](a);var l=o.value}catch(e){s(e);return}if(o.done){t(l)}else{Promise.resolve(l).then(r,i)}}function _asyncToGenerator(e){return function(){var t=this,s=arguments;return new Promise(function(r,i){var n=e.apply(t,s);function _next(e){asyncGeneratorStep(n,r,i,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(n,r,i,_next,_throw,"throw",e)}_next(undefined)})}}let i;try{i=s(32409).Z}catch(e){}function*loadCjsOrMjsDefault(e,t,s=false){switch(guessJSModuleType(e)){case"cjs":return loadCjsDefault(e,s);case"unknown":try{return loadCjsDefault(e,s)}catch(e){if(e.code!=="ERR_REQUIRE_ESM")throw e}case"mjs":if(yield*(0,r.isAsync)()){return yield*(0,r.waitFor)(loadMjsDefault(e))}throw new Error(t)}}function guessJSModuleType(e){switch(_path().extname(e)){case".cjs":return"cjs";case".mjs":return"mjs";default:return"unknown"}}function loadCjsDefault(e,t){const s=require(e);return s!=null&&s.__esModule?s.default||(t?s:undefined):s}function loadMjsDefault(e){return _loadMjsDefault.apply(this,arguments)}function _loadMjsDefault(){_loadMjsDefault=_asyncToGenerator(function*(e){if(!i){throw new Error("Internal error: Native ECMAScript modules aren't supported"+" by this platform.\n")}const t=yield i((0,_url().pathToFileURL)(e));return t.default});return _loadMjsDefault.apply(this,arguments)}},47470:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findPackageData=findPackageData;function _path(){const e=s(85622);_path=function(){return e};return e}var r=s(69957);const i="package.json";function*findPackageData(e){let t=null;const s=[];let r=true;let a=_path().dirname(e);while(!t&&_path().basename(a)!=="node_modules"){s.push(a);t=yield*n(_path().join(a,i));const e=_path().dirname(a);if(a===e){r=false;break}a=e}return{filepath:e,directories:s,pkg:t,isPackage:r}}const n=(0,r.makeStaticFileCache)((e,t)=>{let s;try{s=JSON.parse(t)}catch(t){t.message=`${e}: Error while parsing JSON - ${t.message}`;throw t}if(!s)throw new Error(`${e}: No config detected`);if(typeof s!=="object"){throw new Error(`${e}: Config returned typeof ${typeof s}`)}if(Array.isArray(s)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:s}})},86094:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolvePlugin=resolvePlugin;t.resolvePreset=resolvePreset;t.loadPlugin=loadPlugin;t.loadPreset=loadPreset;function _debug(){const e=s(31185);_debug=function(){return e};return e}function _path(){const e=s(85622);_path=function(){return e};return e}var r=s(96290);function _module(){const e=s(32282);_module=function(){return e};return e}const i=_debug()("babel:config:loading:files:plugins");const n=/^module:/;const a=/^(?!@|module:|[^/]+\/|babel-plugin-)/;const o=/^(?!@|module:|[^/]+\/|babel-preset-)/;const l=/^(@babel\/)(?!plugin-|[^/]+\/)/;const c=/^(@babel\/)(?!preset-|[^/]+\/)/;const p=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/;const u=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/;const h=/^(@(?!babel$)[^/]+)$/;function resolvePlugin(e,t){return resolveStandardizedName("plugin",e,t)}function resolvePreset(e,t){return resolveStandardizedName("preset",e,t)}function*loadPlugin(e,t){const s=resolvePlugin(e,t);if(!s){throw new Error(`Plugin ${e} not found relative to ${t}`)}const r=yield*requireModule("plugin",s);i("Loaded plugin %o from %o.",e,t);return{filepath:s,value:r}}function*loadPreset(e,t){const s=resolvePreset(e,t);if(!s){throw new Error(`Preset ${e} not found relative to ${t}`)}const r=yield*requireModule("preset",s);i("Loaded preset %o from %o.",e,t);return{filepath:s,value:r}}function standardizeName(e,t){if(_path().isAbsolute(t))return t;const s=e==="preset";return t.replace(s?o:a,`babel-${e}-`).replace(s?c:l,`$1${e}-`).replace(s?u:p,`$1babel-${e}-`).replace(h,`$1/babel-${e}`).replace(n,"")}function resolveStandardizedName(e,t,r=process.cwd()){const i=standardizeName(e,t);try{return(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(i,{paths:[r]})}catch(n){if(n.code!=="MODULE_NOT_FOUND")throw n;if(i!==t){let e=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(t,{paths:[r]});e=true}catch(e){}if(e){n.message+=`\n- If you want to resolve "${t}", use "module:${t}"`}}let a=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(standardizeName(e,"@babel/"+t),{paths:[r]});a=true}catch(e){}if(a){n.message+=`\n- Did you mean "@babel/${t}"?`}let o=false;const l=e==="preset"?"plugin":"preset";try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(standardizeName(l,t),{paths:[r]});o=true}catch(e){}if(o){n.message+=`\n- Did you accidentally pass a ${l} as a ${e}?`}throw n}}const f=new Set;function*requireModule(e,t){if(f.has(t)){throw new Error(`Reentrant ${e} detected trying to load "${t}". This module is not ignored `+"and is trying to load itself while compiling itself, leading to a dependency cycle. "+'We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.')}try{f.add(t);return yield*(0,r.default)(t,`You appear to be using a native ECMAScript module ${e}, `+"which is only supported when running Babel asynchronously.",true)}catch(e){e.message=`[BABEL]: ${e.message} (While processing: ${t})`;throw e}finally{f.delete(t)}}},69957:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeStaticFileCache=makeStaticFileCache;var r=s(7676);var i=s(8758);function _fs2(){const e=s(35747);_fs2=function(){return e};return e}function makeStaticFileCache(e){return(0,r.makeStrongCache)(function*(t,s){const r=s.invalidate(()=>fileMtime(t));if(r===null){return null}return e(t,yield*i.readFile(t,"utf8"))})}function fileMtime(e){if(!_fs2().existsSync(e))return null;try{return+_fs2().statSync(e).mtime}catch(e){if(e.code!=="ENOENT"&&e.code!=="ENOTDIR")throw e}return null}},90810:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(33655);var i=s(25529);var n=s(39652);var a=s(37481);var o=s(45150);var l=s(78877);function _traverse(){const e=s(4267);_traverse=function(){return e};return e}var c=s(7676);var p=s(379);var u=s(1917);var h=s(61665);var f=s(47916);var d=s(52393);var y=_gensync()(function*loadFullConfig(e){var t;const s=yield*(0,f.default)(e);if(!s){return null}const{options:r,context:n,fileHandling:a}=s;if(a==="ignored"){return null}const l={};const{plugins:c,presets:u}=r;if(!c||!u){throw new Error("Assertion failure - plugins and presets exist")}const h=Object.assign({},n,{targets:r.targets});const d=e=>{const t=(0,o.getItemDescriptor)(e);if(!t){throw new Error("Assertion failure - must be config item")}return t};const y=u.map(d);const m=c.map(d);const g=[[]];const b=[];const x=yield*enhanceError(n,function*recursePresetDescriptors(e,t){const s=[];for(let r=0;r0){g.splice(1,0,...s.map(e=>e.pass).filter(e=>e!==t));for(const{preset:e,pass:t}of s){if(!e)return true;t.push(...e.plugins);const s=yield*recursePresetDescriptors(e.presets,t);if(s)return true;e.options.forEach(e=>{(0,i.mergeOptions)(l,e)})}}})(y,g[0]);if(x)return null;const v=l;(0,i.mergeOptions)(v,r);const w=Object.assign({},h,{assumptions:(t=v.assumptions)!=null?t:{}});yield*enhanceError(n,function*loadPluginDescriptors(){g[0].unshift(...m);for(const e of g){const t=[];b.push(t);for(let s=0;se.length>0).map(e=>({plugins:e}));v.passPerPreset=v.presets.length>0;return{options:v,passes:b}});t.default=y;function enhanceError(e,t){return function*(s,r){try{return yield*t(s,r)}catch(t){if(!/^\[BABEL\]/.test(t.message)){t.message=`[BABEL] ${e.filename||"unknown"}: ${t.message}`}throw t}}}const m=e=>(0,c.makeWeakCache)(function*({value:t,options:s,dirname:i,alias:a},o){if(s===false)throw new Error("Assertion failure");s=s||{};let l=t;if(typeof t==="function"){const c=(0,r.maybeAsync)(t,`You appear to be using an async plugin/preset, but Babel has been called synchronously`);const p=Object.assign({},n,e(o));try{l=yield*c(p,s,i)}catch(e){if(a){e.message+=` (While processing: ${JSON.stringify(a)})`}throw e}}if(!l||typeof l!=="object"){throw new Error("Plugin/Preset did not return an object.")}if((0,r.isThenable)(l)){yield*[];throw new Error(`You appear to be using a promise as a plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version. `+`As an alternative, you can prefix the promise with "await". `+`(While processing: ${JSON.stringify(a)})`)}return{value:l,options:s,dirname:i,alias:a}});const g=m(h.makePluginAPI);const b=m(h.makePresetAPI);function*loadPluginDescriptor(e,t){if(e.value instanceof a.default){if(e.options){throw new Error("Passed options to an existing Plugin instance will not work.")}return e.value}return yield*x(yield*g(e,t),t)}const x=(0,c.makeWeakCache)(function*({value:e,options:t,dirname:s,alias:i},n){const o=(0,u.validatePluginObject)(e);const l=Object.assign({},o);if(l.visitor){l.visitor=_traverse().default.explode(Object.assign({},l.visitor))}if(l.inherits){const e={name:undefined,alias:`${i}$inherits`,value:l.inherits,options:t,dirname:s};const a=yield*(0,r.forwardAsync)(loadPluginDescriptor,t=>{return n.invalidate(s=>t(e,s))});l.pre=chain(a.pre,l.pre);l.post=chain(a.post,l.post);l.manipulateOptions=chain(a.manipulateOptions,l.manipulateOptions);l.visitor=_traverse().default.visitors.merge([a.visitor||{},l.visitor||{}])}return new a.default(l,t,i)});const v=(e,t)=>{if(e.test||e.include||e.exclude){const e=t.name?`"${t.name}"`:"/* your preset */";throw new Error([`Preset ${e} requires a filename to be set when babel is called directly,`,`\`\`\``,`babel.transform(code, { filename: 'file.ts', presets: [${e}] });`,`\`\`\``,`See https://babeljs.io/docs/en/options#filename for more information.`].join("\n"))}};const w=(e,t,s)=>{if(!t.filename){const{options:t}=e;v(t,s);if(t.overrides){t.overrides.forEach(e=>v(e,s))}}};function*loadPresetDescriptor(e,t){const s=P(yield*b(e,t));w(s,t,e);return yield*(0,l.buildPresetChain)(s,t)}const P=(0,c.makeWeakCacheSync)(({value:e,dirname:t,alias:s})=>{return{options:(0,p.validate)("preset",e),alias:s,dirname:t}});function chain(e,t){const s=[e,t].filter(Boolean);if(s.length<=1)return s[0];return function(...e){for(const t of s){t.apply(this,e)}}}},61665:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeConfigAPI=makeConfigAPI;t.makePresetAPI=makePresetAPI;t.makePluginAPI=makePluginAPI;function _semver(){const e=s(62519);_semver=function(){return e};return e}var r=s(39652);var i=s(7676);var n=s(52393);function makeConfigAPI(e){const t=t=>e.using(e=>{if(typeof t==="undefined")return e.envName;if(typeof t==="function"){return(0,i.assertSimpleType)(t(e.envName))}if(!Array.isArray(t))t=[t];return t.some(t=>{if(typeof t!=="string"){throw new Error("Unexpected non-string value")}return t===e.envName})});const s=t=>e.using(e=>(0,i.assertSimpleType)(t(e.caller)));return{version:r.version,cache:e.simple(),env:t,async:()=>false,caller:s,assertVersion:assertVersion}}function makePresetAPI(e){const t=()=>JSON.parse(e.using(e=>JSON.stringify(e.targets)));return Object.assign({},makeConfigAPI(e),{targets:t})}function makePluginAPI(e){const t=t=>e.using(e=>e.assumptions[t]);return Object.assign({},makePresetAPI(e),{assumption:t})}function assertVersion(e){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}if(_semver().satisfies(r.version,e))return;const t=Error.stackTraceLimit;if(typeof t==="number"&&t<25){Error.stackTraceLimit=25}const s=new Error(`Requires Babel "${e}", but was loaded with "${r.version}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`);if(typeof t==="number"){Error.stackTraceLimit=t}throw Object.assign(s,{code:"BABEL_VERSION_UNSUPPORTED",version:r.version,range:e})}},67794:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getEnv=getEnv;function getEnv(e="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||e}},21146:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createConfigItem=createConfigItem;Object.defineProperty(t,"default",{enumerable:true,get:function(){return r.default}});t.createConfigItemAsync=t.createConfigItemSync=t.loadOptionsAsync=t.loadOptionsSync=t.loadOptions=t.loadPartialConfigAsync=t.loadPartialConfigSync=t.loadPartialConfig=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(90810);var i=s(47916);var n=s(45150);const a=_gensync()(function*(e){var t;const s=yield*(0,r.default)(e);return(t=s==null?void 0:s.options)!=null?t:null});const o=_gensync()(n.createConfigItem);const l=e=>(t,s)=>{if(s===undefined&&typeof t==="function"){s=t;t=undefined}return s?e.errback(t,s):e.sync(t)};const c=l(i.loadPartialConfig);t.loadPartialConfig=c;const p=i.loadPartialConfig.sync;t.loadPartialConfigSync=p;const u=i.loadPartialConfig.async;t.loadPartialConfigAsync=u;const h=l(a);t.loadOptions=h;const f=a.sync;t.loadOptionsSync=f;const d=a.async;t.loadOptionsAsync=d;const y=o.sync;t.createConfigItemSync=y;const m=o.async;t.createConfigItemAsync=m;function createConfigItem(e,t,s){if(s!==undefined){return o.errback(e,t,s)}else if(typeof t==="function"){return o.errback(e,undefined,s)}else{return o.sync(e,t)}}},45150:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createItemFromDescriptor=createItemFromDescriptor;t.createConfigItem=createConfigItem;t.getItemDescriptor=getItemDescriptor;function _path(){const e=s(85622);_path=function(){return e};return e}var r=s(517);function createItemFromDescriptor(e){return new ConfigItem(e)}function*createConfigItem(e,{dirname:t=".",type:s}={}){const i=yield*(0,r.createDescriptor)(e,_path().resolve(t),{type:s,alias:"programmatic item"});return createItemFromDescriptor(i)}function getItemDescriptor(e){if(e!=null&&e[i]){return e._descriptor}return undefined}const i=Symbol.for("@babel/core@7 - ConfigItem");class ConfigItem{constructor(e){this._descriptor=void 0;this[i]=true;this.value=void 0;this.options=void 0;this.dirname=void 0;this.name=void 0;this.file=void 0;this._descriptor=e;Object.defineProperty(this,"_descriptor",{enumerable:false});Object.defineProperty(this,i,{enumerable:false});this.value=this._descriptor.value;this.options=this._descriptor.options;this.dirname=this._descriptor.dirname;this.name=this._descriptor.name;this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:undefined;Object.freeze(this)}}Object.freeze(ConfigItem.prototype)},47916:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadPrivatePartialConfig;t.loadPartialConfig=void 0;function _path(){const e=s(85622);_path=function(){return e};return e}function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(37481);var i=s(25529);var n=s(45150);var a=s(78877);var o=s(67794);var l=s(379);var c=s(88433);var p=s(95362);const u=["showIgnoredFiles"];function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var s={};var r=Object.keys(e);var i,n;for(n=0;n=0)continue;s[i]=e[i]}return s}function resolveRootMode(e,t){switch(t){case"root":return e;case"upward-optional":{const t=(0,c.findConfigUpwards)(e);return t===null?e:t}case"upward":{const t=(0,c.findConfigUpwards)(e);if(t!==null)return t;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not `+`be found when searching upward from "${e}".\n`+`One of the following config files must be in the directory tree: `+`"${c.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error(`Assertion failure - unknown rootMode value.`)}}function*loadPrivatePartialConfig(e){if(e!=null&&(typeof e!=="object"||Array.isArray(e))){throw new Error("Babel options must be an object, null, or undefined")}const t=e?(0,l.validate)("arguments",e):{};const{envName:s=(0,o.getEnv)(),cwd:r=".",root:u=".",rootMode:h="root",caller:f,cloneInputAst:d=true}=t;const y=_path().resolve(r);const m=resolveRootMode(_path().resolve(y,u),h);const g=typeof t.filename==="string"?_path().resolve(r,t.filename):undefined;const b=yield*(0,c.resolveShowConfigPath)(y);const x={filename:g,cwd:y,root:m,envName:s,caller:f,showConfig:b===g};const v=yield*(0,a.buildRootChain)(t,x);if(!v)return null;const w={assumptions:{}};v.options.forEach(e=>{(0,i.mergeOptions)(w,e)});const P=Object.assign({},w,{targets:(0,p.resolveTargets)(w,m),cloneInputAst:d,babelrc:false,configFile:false,browserslistConfigFile:false,passPerPreset:false,envName:x.envName,cwd:x.cwd,root:x.root,rootMode:"root",filename:typeof x.filename==="string"?x.filename:undefined,plugins:v.plugins.map(e=>(0,n.createItemFromDescriptor)(e)),presets:v.presets.map(e=>(0,n.createItemFromDescriptor)(e))});return{options:P,context:x,fileHandling:v.fileHandling,ignore:v.ignore,babelrc:v.babelrc,config:v.config,files:v.files}}const h=_gensync()(function*(e){let t=false;if(typeof e==="object"&&e!==null&&!Array.isArray(e)){var s=e;({showIgnoredFiles:t}=s);e=_objectWithoutPropertiesLoose(s,u);s}const i=yield*loadPrivatePartialConfig(e);if(!i)return null;const{options:n,babelrc:a,ignore:o,config:l,fileHandling:c,files:p}=i;if(c==="ignored"&&!t){return null}(n.plugins||[]).forEach(e=>{if(e.value instanceof r.default){throw new Error("Passing cached plugin instances is not supported in "+"babel.loadPartialConfig()")}});return new PartialConfig(n,a?a.filepath:undefined,o?o.filepath:undefined,l?l.filepath:undefined,c,p)});t.loadPartialConfig=h;class PartialConfig{constructor(e,t,s,r,i,n){this.options=void 0;this.babelrc=void 0;this.babelignore=void 0;this.config=void 0;this.fileHandling=void 0;this.files=void 0;this.options=e;this.babelignore=s;this.babelrc=t;this.config=r;this.fileHandling=i;this.files=n;Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==undefined||this.config!==undefined}}Object.freeze(PartialConfig.prototype)},94753:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=pathToPattern;function _path(){const e=s(85622);_path=function(){return e};return e}const r=`\\${_path().sep}`;const i=`(?:${r}|$)`;const n=`[^${r}]+`;const a=`(?:${n}${r})`;const o=`(?:${n}${i})`;const l=`${a}*?`;const c=`${a}*?${o}?`;function escapeRegExp(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}function pathToPattern(e,t){const s=_path().resolve(t,e).split(_path().sep);return new RegExp(["^",...s.map((e,t)=>{const p=t===s.length-1;if(e==="**")return p?c:l;if(e==="*")return p?o:a;if(e.indexOf("*.")===0){return n+escapeRegExp(e.slice(1))+(p?i:r)}return escapeRegExp(e)+(p?i:r)})].join(""))}},37481:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Plugin{constructor(e,t,s){this.key=void 0;this.manipulateOptions=void 0;this.post=void 0;this.pre=void 0;this.visitor=void 0;this.parserOverride=void 0;this.generatorOverride=void 0;this.options=void 0;this.key=e.name||s;this.manipulateOptions=e.manipulateOptions;this.post=e.post;this.pre=e.pre;this.visitor=e.visitor||{};this.parserOverride=e.parserOverride;this.generatorOverride=e.generatorOverride;this.options=t}}t.default=Plugin},24703:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConfigPrinter=t.ChainFormatter=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}const r={Programmatic:0,Config:1};t.ChainFormatter=r;const i={title(e,t,s){let i="";if(e===r.Programmatic){i="programmatic options";if(t){i+=" from "+t}}else{i="config "+s}return i},loc(e,t){let s="";if(e!=null){s+=`.overrides[${e}]`}if(t!=null){s+=`.env["${t}"]`}return s},*optionsAndDescriptors(e){const t=Object.assign({},e.options);delete t.overrides;delete t.env;const s=[...yield*e.plugins()];if(s.length){t.plugins=s.map(e=>descriptorToConfig(e))}const r=[...yield*e.presets()];if(r.length){t.presets=[...r].map(e=>descriptorToConfig(e))}return JSON.stringify(t,undefined,2)}};function descriptorToConfig(e){var t;let s=(t=e.file)==null?void 0:t.request;if(s==null){if(typeof e.value==="object"){s=e.value}else if(typeof e.value==="function"){s=`[Function: ${e.value.toString().substr(0,50)} ... ]`}}if(s==null){s="[Unknown]"}if(e.options===undefined){return s}else if(e.name==null){return[s,e.options]}else{return[s,e.options,e.name]}}class ConfigPrinter{constructor(){this._stack=[]}configure(e,t,{callerName:s,filepath:r}){if(!e)return()=>{};return(e,i,n)=>{this._stack.push({type:t,callerName:s,filepath:r,content:e,index:i,envName:n})}}static*format(e){let t=i.title(e.type,e.callerName,e.filepath);const s=i.loc(e.index,e.envName);if(s)t+=` ${s}`;const r=yield*i.optionsAndDescriptors(e.content);return`${t}\n${r}`}*output(){if(this._stack.length===0)return"";const e=yield*_gensync().all(this._stack.map(e=>ConfigPrinter.format(e)));return e.join("\n\n")}}t.ConfigPrinter=ConfigPrinter},95362:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveBrowserslistConfigFile=resolveBrowserslistConfigFile;t.resolveTargets=resolveTargets;function _path(){const e=s(85622);_path=function(){return e};return e}function _helperCompilationTargets(){const e=s(55937);_helperCompilationTargets=function(){return e};return e}({});function resolveBrowserslistConfigFile(e,t){return _path().resolve(t,e)}function resolveTargets(e,t){let s=e.targets;if(typeof s==="string"||Array.isArray(s)){s={browsers:s}}if(s&&s.esmodules){s=Object.assign({},s,{esmodules:"intersect"})}const{browserslistConfigFile:r}=e;let i;let n=false;if(typeof r==="string"){i=r}else{n=r===false}return(0,_helperCompilationTargets().default)(s,{ignoreBrowserslistConfig:n,configFile:i,configPath:t,browserslistEnv:e.browserslistEnv})}},25529:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.mergeOptions=mergeOptions;t.isIterableIterator=isIterableIterator;function mergeOptions(e,t){for(const s of Object.keys(t)){if((s==="parserOpts"||s==="generatorOpts"||s==="assumptions")&&t[s]){const r=t[s];const i=e[s]||(e[s]={});mergeDefaultFields(i,r)}else{const r=t[s];if(r!==undefined)e[s]=r}}}function mergeDefaultFields(e,t){for(const s of Object.keys(t)){const r=t[s];if(r!==undefined)e[s]=r}}function isIterableIterator(e){return!!e&&typeof e.next==="function"&&typeof e[Symbol.iterator]==="function"}},15309:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.msg=msg;t.access=access;t.assertRootMode=assertRootMode;t.assertSourceMaps=assertSourceMaps;t.assertCompact=assertCompact;t.assertSourceType=assertSourceType;t.assertCallerMetadata=assertCallerMetadata;t.assertInputSourceMap=assertInputSourceMap;t.assertString=assertString;t.assertFunction=assertFunction;t.assertBoolean=assertBoolean;t.assertObject=assertObject;t.assertArray=assertArray;t.assertIgnoreList=assertIgnoreList;t.assertConfigApplicableTest=assertConfigApplicableTest;t.assertConfigFileSearch=assertConfigFileSearch;t.assertBabelrcSearch=assertBabelrcSearch;t.assertPluginList=assertPluginList;t.assertTargets=assertTargets;t.assertAssumptions=assertAssumptions;function _helperCompilationTargets(){const e=s(55937);_helperCompilationTargets=function(){return e};return e}var r=s(379);function msg(e){switch(e.type){case"root":return``;case"env":return`${msg(e.parent)}.env["${e.name}"]`;case"overrides":return`${msg(e.parent)}.overrides[${e.index}]`;case"option":return`${msg(e.parent)}.${e.name}`;case"access":return`${msg(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${e.type}`)}}function access(e,t){return{type:"access",name:t,parent:e}}function assertRootMode(e,t){if(t!==undefined&&t!=="root"&&t!=="upward"&&t!=="upward-optional"){throw new Error(`${msg(e)} must be a "root", "upward", "upward-optional" or undefined`)}return t}function assertSourceMaps(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="inline"&&t!=="both"){throw new Error(`${msg(e)} must be a boolean, "inline", "both", or undefined`)}return t}function assertCompact(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="auto"){throw new Error(`${msg(e)} must be a boolean, "auto", or undefined`)}return t}function assertSourceType(e,t){if(t!==undefined&&t!=="module"&&t!=="script"&&t!=="unambiguous"){throw new Error(`${msg(e)} must be "module", "script", "unambiguous", or undefined`)}return t}function assertCallerMetadata(e,t){const s=assertObject(e,t);if(s){if(typeof s.name!=="string"){throw new Error(`${msg(e)} set but does not contain "name" property string`)}for(const t of Object.keys(s)){const r=access(e,t);const i=s[t];if(i!=null&&typeof i!=="boolean"&&typeof i!=="string"&&typeof i!=="number"){throw new Error(`${msg(r)} must be null, undefined, a boolean, a string, or a number.`)}}}return t}function assertInputSourceMap(e,t){if(t!==undefined&&typeof t!=="boolean"&&(typeof t!=="object"||!t)){throw new Error(`${msg(e)} must be a boolean, object, or undefined`)}return t}function assertString(e,t){if(t!==undefined&&typeof t!=="string"){throw new Error(`${msg(e)} must be a string, or undefined`)}return t}function assertFunction(e,t){if(t!==undefined&&typeof t!=="function"){throw new Error(`${msg(e)} must be a function, or undefined`)}return t}function assertBoolean(e,t){if(t!==undefined&&typeof t!=="boolean"){throw new Error(`${msg(e)} must be a boolean, or undefined`)}return t}function assertObject(e,t){if(t!==undefined&&(typeof t!=="object"||Array.isArray(t)||!t)){throw new Error(`${msg(e)} must be an object, or undefined`)}return t}function assertArray(e,t){if(t!=null&&!Array.isArray(t)){throw new Error(`${msg(e)} must be an array, or undefined`)}return t}function assertIgnoreList(e,t){const s=assertArray(e,t);if(s){s.forEach((t,s)=>assertIgnoreItem(access(e,s),t))}return s}function assertIgnoreItem(e,t){if(typeof t!=="string"&&typeof t!=="function"&&!(t instanceof RegExp)){throw new Error(`${msg(e)} must be an array of string/Function/RegExp values, or undefined`)}return t}function assertConfigApplicableTest(e,t){if(t===undefined)return t;if(Array.isArray(t)){t.forEach((t,s)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,s))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a string/Function/RegExp, or an array of those`)}return t}function checkValidTest(e){return typeof e==="string"||typeof e==="function"||e instanceof RegExp}function assertConfigFileSearch(e,t){if(t!==undefined&&typeof t!=="boolean"&&typeof t!=="string"){throw new Error(`${msg(e)} must be a undefined, a boolean, a string, `+`got ${JSON.stringify(t)}`)}return t}function assertBabelrcSearch(e,t){if(t===undefined||typeof t==="boolean")return t;if(Array.isArray(t)){t.forEach((t,s)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,s))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a undefined, a boolean, a string/Function/RegExp `+`or an array of those, got ${JSON.stringify(t)}`)}return t}function assertPluginList(e,t){const s=assertArray(e,t);if(s){s.forEach((t,s)=>assertPluginItem(access(e,s),t))}return s}function assertPluginItem(e,t){if(Array.isArray(t)){if(t.length===0){throw new Error(`${msg(e)} must include an object`)}if(t.length>3){throw new Error(`${msg(e)} may only be a two-tuple or three-tuple`)}assertPluginTarget(access(e,0),t[0]);if(t.length>1){const s=t[1];if(s!==undefined&&s!==false&&(typeof s!=="object"||Array.isArray(s)||s===null)){throw new Error(`${msg(access(e,1))} must be an object, false, or undefined`)}}if(t.length===3){const s=t[2];if(s!==undefined&&typeof s!=="string"){throw new Error(`${msg(access(e,2))} must be a string, or undefined`)}}}else{assertPluginTarget(e,t)}return t}function assertPluginTarget(e,t){if((typeof t!=="object"||!t)&&typeof t!=="string"&&typeof t!=="function"){throw new Error(`${msg(e)} must be a string, object, function`)}return t}function assertTargets(e,t){if((0,_helperCompilationTargets().isBrowsersQueryValid)(t))return t;if(typeof t!=="object"||!t||Array.isArray(t)){throw new Error(`${msg(e)} must be a string, an array of strings or an object`)}const s=access(e,"browsers");const r=access(e,"esmodules");assertBrowsersList(s,t.browsers);assertBoolean(r,t.esmodules);for(const s of Object.keys(t)){const r=t[s];const i=access(e,s);if(s==="esmodules")assertBoolean(i,r);else if(s==="browsers")assertBrowsersList(i,r);else if(!Object.hasOwnProperty.call(_helperCompilationTargets().TargetNames,s)){const e=Object.keys(_helperCompilationTargets().TargetNames).join(", ");throw new Error(`${msg(i)} is not a valid target. Supported targets are ${e}`)}else assertBrowserVersion(i,r)}return t}function assertBrowsersList(e,t){if(t!==undefined&&!(0,_helperCompilationTargets().isBrowsersQueryValid)(t)){throw new Error(`${msg(e)} must be undefined, a string or an array of strings`)}}function assertBrowserVersion(e,t){if(typeof t==="number"&&Math.round(t)===t)return;if(typeof t==="string")return;throw new Error(`${msg(e)} must be a string or an integer number`)}function assertAssumptions(e,t){if(t===undefined)return;if(typeof t!=="object"||t===null){throw new Error(`${msg(e)} must be an object or undefined.`)}let s=e;do{s=s.parent}while(s.type!=="root");const i=s.source==="preset";for(const s of Object.keys(t)){const n=access(e,s);if(!r.assumptionsNames.has(s)){throw new Error(`${msg(n)} is not a supported assumption.`)}if(typeof t[s]!=="boolean"){throw new Error(`${msg(n)} must be a boolean.`)}if(i&&t[s]===false){throw new Error(`${msg(n)} cannot be set to 'false' inside presets.`)}}return t}},379:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.checkNoUnwrappedItemOptionPairs=checkNoUnwrappedItemOptionPairs;t.assumptionsNames=void 0;var r=s(37481);var i=s(4517);var n=s(15309);const a={cwd:n.assertString,root:n.assertString,rootMode:n.assertRootMode,configFile:n.assertConfigFileSearch,caller:n.assertCallerMetadata,filename:n.assertString,filenameRelative:n.assertString,code:n.assertBoolean,ast:n.assertBoolean,cloneInputAst:n.assertBoolean,envName:n.assertString};const o={babelrc:n.assertBoolean,babelrcRoots:n.assertBabelrcSearch};const l={extends:n.assertString,ignore:n.assertIgnoreList,only:n.assertIgnoreList,targets:n.assertTargets,browserslistConfigFile:n.assertConfigFileSearch,browserslistEnv:n.assertString};const c={inputSourceMap:n.assertInputSourceMap,presets:n.assertPluginList,plugins:n.assertPluginList,passPerPreset:n.assertBoolean,assumptions:n.assertAssumptions,env:assertEnvSet,overrides:assertOverridesList,test:n.assertConfigApplicableTest,include:n.assertConfigApplicableTest,exclude:n.assertConfigApplicableTest,retainLines:n.assertBoolean,comments:n.assertBoolean,shouldPrintComment:n.assertFunction,compact:n.assertCompact,minified:n.assertBoolean,auxiliaryCommentBefore:n.assertString,auxiliaryCommentAfter:n.assertString,sourceType:n.assertSourceType,wrapPluginVisitorMethod:n.assertFunction,highlightCode:n.assertBoolean,sourceMaps:n.assertSourceMaps,sourceMap:n.assertSourceMaps,sourceFileName:n.assertString,sourceRoot:n.assertString,parserOpts:n.assertObject,generatorOpts:n.assertObject};{Object.assign(c,{getModuleId:n.assertFunction,moduleRoot:n.assertString,moduleIds:n.assertBoolean,moduleId:n.assertString})}const p=new Set(["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noIncompleteNsImportDetection","noNewArrows","objectRestNoSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"]);t.assumptionsNames=p;function getSource(e){return e.type==="root"?e.source:getSource(e.parent)}function validate(e,t){return validateNested({type:"root",source:e},t)}function validateNested(e,t){const s=getSource(e);assertNoDuplicateSourcemap(t);Object.keys(t).forEach(r=>{const i={type:"option",name:r,parent:e};if(s==="preset"&&l[r]){throw new Error(`${(0,n.msg)(i)} is not allowed in preset options`)}if(s!=="arguments"&&a[r]){throw new Error(`${(0,n.msg)(i)} is only allowed in root programmatic options`)}if(s!=="arguments"&&s!=="configfile"&&o[r]){if(s==="babelrcfile"||s==="extendsfile"){throw new Error(`${(0,n.msg)(i)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, `+`or babel.config.js/config file options`)}throw new Error(`${(0,n.msg)(i)} is only allowed in root programmatic options, or babel.config.js/config file options`)}const p=c[r]||l[r]||o[r]||a[r]||throwUnknownError;p(i,t[r])});return t}function throwUnknownError(e){const t=e.name;if(i.default[t]){const{message:s,version:r=5}=i.default[t];throw new Error(`Using removed Babel ${r} option: ${(0,n.msg)(e)} - ${s}`)}else{const t=new Error(`Unknown option: ${(0,n.msg)(e)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);t.code="BABEL_UNKNOWN_OPTION";throw t}}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function assertNoDuplicateSourcemap(e){if(has(e,"sourceMap")&&has(e,"sourceMaps")){throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}}function assertEnvSet(e,t){if(e.parent.type==="env"){throw new Error(`${(0,n.msg)(e)} is not allowed inside of another .env block`)}const s=e.parent;const r=(0,n.assertObject)(e,t);if(r){for(const t of Object.keys(r)){const i=(0,n.assertObject)((0,n.access)(e,t),r[t]);if(!i)continue;const a={type:"env",name:t,parent:s};validateNested(a,i)}}return r}function assertOverridesList(e,t){if(e.parent.type==="env"){throw new Error(`${(0,n.msg)(e)} is not allowed inside an .env block`)}if(e.parent.type==="overrides"){throw new Error(`${(0,n.msg)(e)} is not allowed inside an .overrides block`)}const s=e.parent;const r=(0,n.assertArray)(e,t);if(r){for(const[t,i]of r.entries()){const r=(0,n.access)(e,t);const a=(0,n.assertObject)(r,i);if(!a)throw new Error(`${(0,n.msg)(r)} must be an object`);const o={type:"overrides",index:t,parent:s};validateNested(o,a)}}return r}function checkNoUnwrappedItemOptionPairs(e,t,s,r){if(t===0)return;const i=e[t-1];const n=e[t];if(i.file&&i.options===undefined&&typeof n.value==="object"){r.message+=`\n- Maybe you meant to use\n`+`"${s}s": [\n ["${i.file.request}", ${JSON.stringify(n.value,undefined,2)}]\n]\n`+`To be a valid ${s}, its name and options should be wrapped in a pair of brackets`}}},1917:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validatePluginObject=validatePluginObject;var r=s(15309);const i={name:r.assertString,manipulateOptions:r.assertFunction,pre:r.assertFunction,post:r.assertFunction,inherits:r.assertFunction,visitor:assertVisitorMap,parserOverride:r.assertFunction,generatorOverride:r.assertFunction};function assertVisitorMap(e,t){const s=(0,r.assertObject)(e,t);if(s){Object.keys(s).forEach(e=>assertVisitorHandler(e,s[e]));if(s.enter||s.exit){throw new Error(`${(0,r.msg)(e)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`)}}return s}function assertVisitorHandler(e,t){if(t&&typeof t==="object"){Object.keys(t).forEach(t=>{if(t!=="enter"&&t!=="exit"){throw new Error(`.visitor["${e}"] may only have .enter and/or .exit handlers.`)}})}else if(typeof t!=="function"){throw new Error(`.visitor["${e}"] must be a function`)}return t}function validatePluginObject(e){const t={type:"root",source:"plugin"};Object.keys(e).forEach(s=>{const r=i[s];if(r){const i={type:"option",name:s,parent:t};r(i,e[s])}else{const e=new Error(`.${s} is not a valid Plugin property`);e.code="BABEL_UNKNOWN_PLUGIN_PROPERTY";throw e}});return e}},4517:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var s={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. "+"Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. "+"Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using "+"or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. "+"Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. "+"Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the "+"tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling "+"that calls Babel to assign `map.file` themselves."}};t.default=s},33655:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.maybeAsync=maybeAsync;t.forwardAsync=forwardAsync;t.isThenable=isThenable;t.waitFor=t.onFirstPause=t.isAsync=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}const r=e=>e;const i=_gensync()(function*(e){return yield*e});const n=_gensync()({sync:()=>false,errback:e=>e(null,true)});t.isAsync=n;function maybeAsync(e,t){return _gensync()({sync(...s){const r=e.apply(this,s);if(isThenable(r))throw new Error(t);return r},async(...t){return Promise.resolve(e.apply(this,t))}})}const a=_gensync()({sync:e=>e("sync"),async:e=>e("async")});function forwardAsync(e,t){const s=_gensync()(e);return a(e=>{const r=s[e];return t(r)})}const o=_gensync()({name:"onFirstPause",arity:2,sync:function(e){return i.sync(e)},errback:function(e,t,s){let r=false;i.errback(e,(e,t)=>{r=true;s(e,t)});if(!r){t()}}});t.onFirstPause=o;const l=_gensync()({sync:r,async:r});t.waitFor=l;function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},8758:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stat=t.readFile=void 0;function _fs(){const e=s(35747);_fs=function(){return e};return e}function _gensync(){const e=s(67941);_gensync=function(){return e};return e}const r=_gensync()({sync:_fs().readFileSync,errback:_fs().readFile});t.readFile=r;const i=_gensync()({sync:_fs().statSync,errback:_fs().stat});t.stat=i},39652:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Plugin=Plugin;Object.defineProperty(t,"File",{enumerable:true,get:function(){return r.default}});Object.defineProperty(t,"buildExternalHelpers",{enumerable:true,get:function(){return i.default}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return n.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return n.resolvePreset}});Object.defineProperty(t,"getEnv",{enumerable:true,get:function(){return a.getEnv}});Object.defineProperty(t,"tokTypes",{enumerable:true,get:function(){return _parser().tokTypes}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return _traverse().default}});Object.defineProperty(t,"template",{enumerable:true,get:function(){return _template().default}});Object.defineProperty(t,"createConfigItem",{enumerable:true,get:function(){return o.createConfigItem}});Object.defineProperty(t,"createConfigItemSync",{enumerable:true,get:function(){return o.createConfigItemSync}});Object.defineProperty(t,"createConfigItemAsync",{enumerable:true,get:function(){return o.createConfigItemAsync}});Object.defineProperty(t,"loadPartialConfig",{enumerable:true,get:function(){return o.loadPartialConfig}});Object.defineProperty(t,"loadPartialConfigSync",{enumerable:true,get:function(){return o.loadPartialConfigSync}});Object.defineProperty(t,"loadPartialConfigAsync",{enumerable:true,get:function(){return o.loadPartialConfigAsync}});Object.defineProperty(t,"loadOptions",{enumerable:true,get:function(){return o.loadOptions}});Object.defineProperty(t,"loadOptionsSync",{enumerable:true,get:function(){return o.loadOptionsSync}});Object.defineProperty(t,"loadOptionsAsync",{enumerable:true,get:function(){return o.loadOptionsAsync}});Object.defineProperty(t,"transform",{enumerable:true,get:function(){return l.transform}});Object.defineProperty(t,"transformSync",{enumerable:true,get:function(){return l.transformSync}});Object.defineProperty(t,"transformAsync",{enumerable:true,get:function(){return l.transformAsync}});Object.defineProperty(t,"transformFile",{enumerable:true,get:function(){return c.transformFile}});Object.defineProperty(t,"transformFileSync",{enumerable:true,get:function(){return c.transformFileSync}});Object.defineProperty(t,"transformFileAsync",{enumerable:true,get:function(){return c.transformFileAsync}});Object.defineProperty(t,"transformFromAst",{enumerable:true,get:function(){return p.transformFromAst}});Object.defineProperty(t,"transformFromAstSync",{enumerable:true,get:function(){return p.transformFromAstSync}});Object.defineProperty(t,"transformFromAstAsync",{enumerable:true,get:function(){return p.transformFromAstAsync}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return u.parse}});Object.defineProperty(t,"parseSync",{enumerable:true,get:function(){return u.parseSync}});Object.defineProperty(t,"parseAsync",{enumerable:true,get:function(){return u.parseAsync}});t.types=t.OptionManager=t.DEFAULT_EXTENSIONS=t.version=void 0;var r=s(92418);var i=s(4485);var n=s(88433);var a=s(67794);function _types(){const e=s(19761);_types=function(){return e};return e}Object.defineProperty(t,"types",{enumerable:true,get:function(){return _types()}});function _parser(){const e=s(20639);_parser=function(){return e};return e}function _traverse(){const e=s(4267);_traverse=function(){return e};return e}function _template(){const e=s(36900);_template=function(){return e};return e}var o=s(21146);var l=s(464);var c=s(13581);var p=s(3326);var u=s(51532);const h="7.15.0";t.version=h;const f=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);t.DEFAULT_EXTENSIONS=f;class OptionManager{init(e){return(0,o.loadOptions)(e)}}t.OptionManager=OptionManager;function Plugin(e){throw new Error(`The (${e}) Babel 5 plugin is being run with an unsupported Babel version.`)}},51532:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseAsync=t.parseSync=t.parse=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(21146);var i=s(5101);var n=s(2536);const a=_gensync()(function*parse(e,t){const s=yield*(0,r.default)(t);if(s===null){return null}return yield*(0,i.default)(s.passes,(0,n.default)(s),e)});const o=function parse(e,t,s){if(typeof t==="function"){s=t;t=undefined}if(s===undefined)return a.sync(e,t);a.errback(e,t,s)};t.parse=o;const l=a.sync;t.parseSync=l;const c=a.async;t.parseAsync=c},5101:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parser;function _parser(){const e=s(20639);_parser=function(){return e};return e}function _codeFrame(){const e=s(11796);_codeFrame=function(){return e};return e}var r=s(46470);function*parser(e,{parserOpts:t,highlightCode:s=true,filename:i="unknown"},n){try{const a=[];for(const s of e){for(const e of s){const{parserOverride:s}=e;if(s){const e=s(n,t,_parser().parse);if(e!==undefined)a.push(e)}}}if(a.length===0){return(0,_parser().parse)(n,t)}else if(a.length===1){yield*[];if(typeof a[0].then==="function"){throw new Error(`You appear to be using an async parser plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}return a[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(e){if(e.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"){e.message+="\nConsider renaming the file to '.mjs', or setting sourceType:module "+"or sourceType:unambiguous in your Babel config for this file."}const{loc:t,missingPlugin:a}=e;if(t){const o=(0,_codeFrame().codeFrameColumns)(n,{start:{line:t.line,column:t.column+1}},{highlightCode:s});if(a){e.message=`${i}: `+(0,r.default)(a[0],t,o)}else{e.message=`${i}: ${e.message}\n\n`+o}e.code="BABEL_PARSE_ERROR"}throw e}}},46470:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateMissingPluginMessage;const s={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",url:"https://git.io/JYer8"}},classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-private-methods",url:"https://git.io/JvpRG"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://git.io/JTLB6"},transform:{name:"@babel/plugin-proposal-class-static-block",url:"https://git.io/JTLBP"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://git.io/JfKOH"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://git.io/vb4y9"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://git.io/vb4ST"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://git.io/vb4yh"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://git.io/vb4S3"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://git.io/vb4Sv"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://git.io/vb4SO"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://git.io/vb4yH"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://git.io/vb4Sf"},transform:{name:"@babel/plugin-proposal-export-namespace-from",url:"https://git.io/vb4SG"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://git.io/vb4yb"},transform:{name:"@babel/preset-flow",url:"https://git.io/JfeDn"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://git.io/vb4y7"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://git.io/vb4St"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://git.io/vb4yN"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://git.io/vb4SZ"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://git.io/vbKK6"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://git.io/vb4yA"},transform:{name:"@babel/preset-react",url:"https://git.io/JfeDR"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://git.io/JUbkv"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://git.io/JTL8G"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://git.io/vb4Sq"},transform:{name:"@babel/plugin-proposal-numeric-separator",url:"https://git.io/vb4yS"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://git.io/vb4Sc"},transform:{name:"@babel/plugin-proposal-optional-chaining",url:"https://git.io/vb4Sk"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://git.io/vb4yj"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://git.io/vb4SU"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://git.io/JfK3q"},transform:{name:"@babel/plugin-proposal-private-property-in-object",url:"https://git.io/JfK3O"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://git.io/JvKp3"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://git.io/vb4SJ"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://git.io/vb4yF"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://git.io/vb4SC"},transform:{name:"@babel/preset-typescript",url:"https://git.io/JfeDz"}},asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://git.io/vb4SY"},transform:{name:"@babel/plugin-proposal-async-generator-functions",url:"https://git.io/vb4yp"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://git.io/vAlBp"},transform:{name:"@babel/plugin-proposal-logical-assignment-operators",url:"https://git.io/vAlRe"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://git.io/vb4yx"},transform:{name:"@babel/plugin-proposal-nullish-coalescing-operator",url:"https://git.io/vb4Se"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://git.io/vb4y5"},transform:{name:"@babel/plugin-proposal-object-rest-spread",url:"https://git.io/vb4Ss"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://git.io/vb4Sn"},transform:{name:"@babel/plugin-proposal-optional-catch-binding",url:"https://git.io/vb4SI"}}};s.privateIn.syntax=s.privateIn.transform;const r=({name:e,url:t})=>`${e} (${t})`;function generateMissingPluginMessage(e,t,i){let n=`Support for the experimental syntax '${e}' isn't currently enabled `+`(${t.line}:${t.column+1}):\n\n`+i;const a=s[e];if(a){const{syntax:e,transform:t}=a;if(e){const s=r(e);if(t){const e=r(t);const i=t.name.startsWith("@babel/plugin")?"plugins":"presets";n+=`\n\nAdd ${e} to the '${i}' section of your Babel config to enable transformation.\nIf you want to leave it as-is, add ${s} to the 'plugins' section to enable parsing.`}else{n+=`\n\nAdd ${s} to the 'plugins' section of your Babel config `+`to enable parsing.`}}}return n}},4485:(e,s,r)=>{"use strict";Object.defineProperty(s,"__esModule",{value:true});s.default=_default;function helpers(){const e=r(71804);helpers=function(){return e};return e}function _generator(){const e=r(23656);_generator=function(){return e};return e}function _template(){const e=r(36900);_template=function(){return e};return e}function t(){const e=r(19761);t=function(){return e};return e}var i=r(92418);const n=e=>(0,_template().default)` (function (root, factory) { if (typeof define === "function" && define.amd) { define(AMD_ARGUMENTS, factory); @@ -4043,27 +4043,27 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m })(UMD_ROOT, function (FACTORY_PARAMETERS) { FACTORY_BODY }); - `(e);function buildGlobal(e){const r=t().identifier("babelHelpers");const n=[];const s=t().functionExpression(null,[t().identifier("global")],t().blockStatement(n));const i=t().program([t().expressionStatement(t().callExpression(s,[t().conditionalExpression(t().binaryExpression("===",t().unaryExpression("typeof",t().identifier("global")),t().stringLiteral("undefined")),t().identifier("self"),t().identifier("global"))]))]);n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().assignmentExpression("=",t().memberExpression(t().identifier("global"),r),t().objectExpression([])))]));buildHelpers(n,r,e);return i}function buildModule(e){const r=[];const n=buildHelpers(r,null,e);r.unshift(t().exportNamedDeclaration(null,Object.keys(n).map(e=>{return t().exportSpecifier(t().cloneNode(n[e]),t().identifier(e))})));return t().program(r,[],"module")}function buildUmd(e){const r=t().identifier("babelHelpers");const n=[];n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().identifier("global"))]));buildHelpers(n,r,e);return t().program([i({FACTORY_PARAMETERS:t().identifier("global"),BROWSER_ARGUMENTS:t().assignmentExpression("=",t().memberExpression(t().identifier("root"),r),t().objectExpression([])),COMMON_ARGUMENTS:t().identifier("exports"),AMD_ARGUMENTS:t().arrayExpression([t().stringLiteral("exports")]),FACTORY_BODY:n,UMD_ROOT:t().identifier("this")})])}function buildVar(e){const r=t().identifier("babelHelpers");const n=[];n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().objectExpression([]))]));const s=t().program(n);buildHelpers(n,r,e);n.push(t().expressionStatement(r));return s}function buildHelpers(e,r,n){const i=e=>{return r?t().memberExpression(r,t().identifier(e)):t().identifier(`_${e}`)};const a={};helpers().list.forEach(function(t){if(n&&n.indexOf(t)<0)return;const r=a[t]=i(t);helpers().ensure(t,s.default);const{nodes:o}=helpers().get(t,i,r);e.push(...o)});return a}function _default(e,t="global"){let r;const n={global:buildGlobal,module:buildModule,umd:buildUmd,var:buildVar}[t];if(n){r=n(e)}else{throw new Error(`Unsupported output type ${t}`)}return(0,_generator().default)(r).code}},52446:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFromAstAsync=t.transformFromAstSync=t.transformFromAst=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(21146);var s=r(26995);const i=_gensync()(function*(e,t,r){const i=yield*(0,n.default)(r);if(i===null)return null;if(!e)throw new Error("No AST given");return yield*(0,s.run)(i,t,e)});const a=function transformFromAst(e,t,r,n){if(typeof r==="function"){n=r;r=undefined}if(n===undefined){return i.sync(e,t,r)}i.errback(e,t,r,n)};t.transformFromAst=a;const o=i.sync;t.transformFromAstSync=o;const l=i.async;t.transformFromAstAsync=l},13581:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFileAsync=t.transformFileSync=t.transformFile=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(21146);var s=r(26995);var i=r(8758);({});const a=_gensync()(function*(e,t){const r=Object.assign({},t,{filename:e});const a=yield*(0,n.default)(r);if(a===null)return null;const o=yield*i.readFile(e,"utf8");return yield*(0,s.run)(a,o)});const o=a.errback;t.transformFile=o;const l=a.sync;t.transformFileSync=l;const u=a.async;t.transformFileAsync=u},464:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformAsync=t.transformSync=t.transform=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(21146);var s=r(26995);const i=_gensync()(function*transform(e,t){const r=yield*(0,n.default)(t);if(r===null)return null;return yield*(0,s.run)(r,e)});const a=function transform(e,t,r){if(typeof t==="function"){r=t;t=undefined}if(r===undefined)return i.sync(e,t);i.errback(e,t,r)};t.transform=a;const o=i.sync;t.transformSync=o;const l=i.async;t.transformAsync=l},63029:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadBlockHoistPlugin;function _traverse(){const e=r(4267);_traverse=function(){return e};return e}var n=r(37481);let s;function loadBlockHoistPlugin(){if(!s){s=new n.default(Object.assign({},i,{visitor:_traverse().default.explode(i.visitor)}),{})}return s}function priority(e){const t=e==null?void 0:e._blockHoist;if(t==null)return 1;if(t===true)return 2;return t}function stableSort(e){const t=Object.create(null);for(let r=0;r+e).sort((e,t)=>t-e);let n=0;for(const s of r){const r=t[s];for(const t of r){e[n++]=t}}return e}const i={name:"internal.blockHoist",visitor:{Block:{exit({node:e}){const{body:t}=e;let r=Math.pow(2,30)-1;let n=false;for(let e=0;er){n=true;break}r=i}if(!n)return;e.body=stableSort(t.slice())}}}}},92418:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=void 0;function helpers(){const e=n(71804);helpers=function(){return e};return e}function _traverse(){const e=n(4267);_traverse=function(){return e};return e}function _codeFrame(){const e=n(11796);_codeFrame=function(){return e};return e}function t(){const e=n(57012);t=function(){return e};return e}function _helperModuleTransforms(){const e=n(53224);_helperModuleTransforms=function(){return e};return e}function _semver(){const e=n(62519);_semver=function(){return e};return e}const s={enter(e,t){const r=e.node.loc;if(r){t.loc=r;e.stop()}}};class File{constructor(e,{code:t,ast:r,inputMap:n}){this._map=new Map;this.opts=void 0;this.declarations={};this.path=null;this.ast={};this.scope=void 0;this.metadata={};this.code="";this.inputMap=null;this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)};this.opts=e;this.code=t;this.ast=r;this.inputMap=n;this.path=_traverse().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext();this.scope=this.path.scope}get shebang(){const{interpreter:e}=this.path.node;return e?e.value:""}set shebang(e){if(e){this.path.get("interpreter").replaceWith(t().interpreterDirective(e))}else{this.path.get("interpreter").remove()}}set(e,t){if(e==="helpersNamespace"){throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility."+"If you are using @babel/plugin-external-helpers you will need to use a newer "+"version than the one you currently have installed. "+"If you have your own implementation, you'll want to explore using 'helperGenerator' "+"alongside 'file.availableHelper()'.")}this._map.set(e,t)}get(e){return this._map.get(e)}has(e){return this._map.has(e)}getModuleName(){return(0,_helperModuleTransforms().getModuleName)(this.opts,this.opts)}addImport(){throw new Error("This API has been removed. If you're looking for this "+"functionality in Babel 7, you should import the "+"'@babel/helper-module-imports' module and use the functions exposed "+" from that module, such as 'addNamed' or 'addDefault'.")}availableHelper(e,t){let r;try{r=helpers().minVersion(e)}catch(e){if(e.code!=="BABEL_HELPER_UNKNOWN")throw e;return false}if(typeof t!=="string")return true;if(_semver().valid(t))t=`^${t}`;return!_semver().intersects(`<${r}`,t)&&!_semver().intersects(`>=8.0.0`,t)}addHelper(e){const r=this.declarations[e];if(r)return t().cloneNode(r);const n=this.get("helperGenerator");if(n){const t=n(e);if(t)return t}helpers().ensure(e,File);const s=this.declarations[e]=this.scope.generateUidIdentifier(e);const i={};for(const t of helpers().getDependencies(e)){i[t]=this.addHelper(t)}const{nodes:a,globals:o}=helpers().get(e,e=>i[e],s,Object.keys(this.scope.getAllBindings()));o.forEach(e=>{if(this.path.scope.hasBinding(e,true)){this.path.scope.rename(e)}});a.forEach(e=>{e._compact=true});this.path.unshiftContainer("body",a);this.path.get("body").forEach(e=>{if(a.indexOf(e.node)===-1)return;if(e.isVariableDeclaration())this.scope.registerDeclaration(e)});return s}addTemplateObject(){throw new Error("This function has been moved into the template literal transform itself.")}buildCodeFrameError(e,t,r=SyntaxError){let n=e&&(e.loc||e._loc);if(!n&&e){const r={loc:null};(0,_traverse().default)(e,s,this.scope,r);n=r.loc;let i="This is an error on an internal node. Probably an internal error.";if(n)i+=" Location has been estimated.";t+=` (${i})`}if(n){const{highlightCode:e=true}=this.opts;t+="\n"+(0,_codeFrame().codeFrameColumns)(this.code,{start:{line:n.start.line,column:n.start.column+1},end:n.end&&n.start.line===n.end.line?{line:n.end.line,column:n.end.column+1}:undefined},{highlightCode:e})}return new r(t)}}r.default=File},12712:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateCode;function _convertSourceMap(){const e=r(36301);_convertSourceMap=function(){return e};return e}function _generator(){const e=r(23656);_generator=function(){return e};return e}var n=r(23687);function generateCode(e,t){const{opts:r,ast:s,code:i,inputMap:a}=t;const o=[];for(const t of e){for(const e of t){const{generatorOverride:t}=e;if(t){const e=t(s,r.generatorOpts,i,_generator().default);if(e!==undefined)o.push(e)}}}let l;if(o.length===0){l=(0,_generator().default)(s,r.generatorOpts,i)}else if(o.length===1){l=o[0];if(typeof l.then==="function"){throw new Error(`You appear to be using an async codegen plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version.`)}}else{throw new Error("More than one plugin attempted to override codegen.")}let{code:u,map:p}=l;if(p&&a){p=(0,n.default)(a.toObject(),p)}if(r.sourceMaps==="inline"||r.sourceMaps==="both"){u+="\n"+_convertSourceMap().fromObject(p).toComment()}if(r.sourceMaps==="inline"){p=null}return{outputCode:u,outputMap:p}}},23687:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=mergeSourceMap;function _sourceMap(){const e=r(96241);_sourceMap=function(){return e};return e}function mergeSourceMap(e,t){const r=buildMappingData(e);const n=buildMappingData(t);const s=new(_sourceMap().SourceMapGenerator);for(const{source:e}of r.sources){if(typeof e.content==="string"){s.setSourceContent(e.path,e.content)}}if(n.sources.length===1){const e=n.sources[0];const t=new Map;eachInputGeneratedRange(r,(r,n,i)=>{eachOverlappingGeneratedOutputRange(e,r,e=>{const r=makeMappingKey(e);if(t.has(r))return;t.set(r,e);s.addMapping({source:i.path,original:{line:n.line,column:n.columnStart},generated:{line:e.line,column:e.columnStart},name:n.name})})});for(const e of t.values()){if(e.columnEnd===Infinity){continue}const r={line:e.line,columnStart:e.columnEnd};const n=makeMappingKey(r);if(t.has(n)){continue}s.addMapping({generated:{line:r.line,column:r.columnStart}})}}const i=s.toJSON();if(typeof r.sourceRoot==="string"){i.sourceRoot=r.sourceRoot}return i}function makeMappingKey(e){return`${e.line}/${e.columnStart}`}function eachOverlappingGeneratedOutputRange(e,t,r){const n=filterApplicableOriginalRanges(e,t);for(const{generated:e}of n){for(const t of e){r(t)}}}function filterApplicableOriginalRanges({mappings:e},{line:t,columnStart:r,columnEnd:n}){return filterSortedArray(e,({original:e})=>{if(t>e.line)return-1;if(t=e.columnEnd)return-1;if(n<=e.columnStart)return 1;return 0})}function eachInputGeneratedRange(e,t){for(const{source:r,mappings:n}of e.sources){for(const{original:e,generated:s}of n){for(const n of s){t(n,e,r)}}}}function buildMappingData(e){const t=new(_sourceMap().SourceMapConsumer)(Object.assign({},e,{sourceRoot:null}));const r=new Map;const n=new Map;let s=null;t.computeColumnSpans();t.eachMapping(e=>{if(e.originalLine===null)return;let i=r.get(e.source);if(!i){i={path:e.source,content:t.sourceContentFor(e.source,true)};r.set(e.source,i)}let a=n.get(i);if(!a){a={source:i,mappings:[]};n.set(i,a)}const o={line:e.originalLine,columnStart:e.originalColumn,columnEnd:Infinity,name:e.name};if(s&&s.source===i&&s.mapping.line===e.originalLine){s.mapping.columnEnd=e.originalColumn}s={source:i,mapping:o};a.mappings.push({original:o,generated:t.allGeneratedPositionsFor({source:e.source,line:e.originalLine,column:e.originalColumn}).map(e=>({line:e.line,columnStart:e.column,columnEnd:e.lastColumn+1}))})},null,_sourceMap().SourceMapConsumer.ORIGINAL_ORDER);return{file:e.file,sourceRoot:e.sourceRoot,sources:Array.from(n.values())}}function findInsertionLocation(e,t){let r=0;let n=e.length;while(r=0){n=s}else{r=s+1}}let s=r;if(s=0&&t(e[s])>=0){s--}return s+1}return s}function filterSortedArray(e,t){const r=findInsertionLocation(e,t);const n=[];for(let s=r;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.run=run;function _traverse(){const e=r(4267);_traverse=function(){return e};return e}var n=r(43062);var s=r(63029);var i=r(2536);var a=r(38026);var o=r(12712);function*run(e,t,r){const n=yield*(0,a.default)(e.passes,(0,i.default)(e),t,r);const s=n.opts;try{yield*transformFile(n,e.passes)}catch(e){var l;e.message=`${(l=s.filename)!=null?l:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_TRANSFORM_ERROR"}throw e}let u,p;try{if(s.code!==false){({outputCode:u,outputMap:p}=(0,o.default)(e.passes,n))}}catch(e){var f;e.message=`${(f=s.filename)!=null?f:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_GENERATE_ERROR"}throw e}return{metadata:n.metadata,options:s,ast:s.ast===true?n.ast:null,code:u===undefined?null:u,map:p===undefined?null:p,sourceType:n.ast.program.sourceType}}function*transformFile(e,t){for(const r of t){const t=[];const i=[];const a=[];for(const o of r.concat([(0,s.default)()])){const r=new n.default(e,o.key,o.options);t.push([o,r]);i.push(r);a.push(o.visitor)}for(const[r,n]of t){const t=r.pre;if(t){const r=t.call(n,e);yield*[];if(isThenable(r)){throw new Error(`You appear to be using an plugin with an async .pre, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}const o=_traverse().default.visitors.merge(a,i,e.opts.wrapPluginVisitorMethod);(0,_traverse().default)(e.ast,o,e.scope);for(const[r,n]of t){const t=r.post;if(t){const r=t.call(n,e);yield*[];if(isThenable(r)){throw new Error(`You appear to be using an plugin with an async .post, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}}}function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},38026:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=normalizeFile;function _fs(){const e=n(35747);_fs=function(){return e};return e}function _path(){const e=n(85622);_path=function(){return e};return e}function _debug(){const e=n(31185);_debug=function(){return e};return e}function t(){const e=n(57012);t=function(){return e};return e}function _convertSourceMap(){const e=n(36301);_convertSourceMap=function(){return e};return e}var s=n(92418);var i=n(5101);var a=n(11557);const o=_debug()("babel:transform:file");const l=1e6;function*normalizeFile(e,r,n,f){n=`${n||""}`;if(f){if(f.type==="Program"){f=t().file(f,[],[])}else if(f.type!=="File"){throw new Error("AST root must be a Program or File node")}if(r.cloneInputAst){f=(0,a.default)(f)}}else{f=yield*(0,i.default)(e,r,n)}let c=null;if(r.inputSourceMap!==false){if(typeof r.inputSourceMap==="object"){c=_convertSourceMap().fromObject(r.inputSourceMap)}if(!c){const e=extractComments(u,f);if(e){try{c=_convertSourceMap().fromComment(e)}catch(e){o("discarding unknown inline input sourcemap",e)}}}if(!c){const e=extractComments(p,f);if(typeof r.filename==="string"&&e){try{const t=p.exec(e);const n=_fs().readFileSync(_path().resolve(_path().dirname(r.filename),t[1]));if(n.length>l){o("skip merging input map > 1 MB")}else{c=_convertSourceMap().fromJSON(n)}}catch(e){o("discarding unknown file input sourcemap",e)}}else if(e){o("discarding un-loadable file input sourcemap")}}}return new s.default(r,{code:n,ast:f,inputMap:c})}const u=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/;const p=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function extractCommentsFromList(e,t,r){if(t){t=t.filter(({value:t})=>{if(e.test(t)){r=t;return false}return true})}return[t,r]}function extractComments(e,r){let n=null;t().traverseFast(r,t=>{[t.leadingComments,n]=extractCommentsFromList(e,t.leadingComments,n);[t.innerComments,n]=extractCommentsFromList(e,t.innerComments,n);[t.trailingComments,n]=extractCommentsFromList(e,t.trailingComments,n)});return n}},2536:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=normalizeOptions;function _path(){const e=r(85622);_path=function(){return e};return e}function normalizeOptions(e){const{filename:t,cwd:r,filenameRelative:n=(typeof t==="string"?_path().relative(r,t):"unknown"),sourceType:s="module",inputSourceMap:i,sourceMaps:a=!!i,sourceRoot:o=e.options.moduleRoot,sourceFileName:l=_path().basename(n),comments:u=true,compact:p="auto"}=e.options;const f=e.options;const c=Object.assign({},f,{parserOpts:Object.assign({sourceType:_path().extname(n)===".mjs"?"module":s,sourceFileName:t,plugins:[]},f.parserOpts),generatorOpts:Object.assign({filename:t,auxiliaryCommentBefore:f.auxiliaryCommentBefore,auxiliaryCommentAfter:f.auxiliaryCommentAfter,retainLines:f.retainLines,comments:u,shouldPrintComment:f.shouldPrintComment,compact:p,minified:f.minified,sourceMaps:a,sourceRoot:o,sourceFileName:l},f.generatorOpts)});for(const t of e.passes){for(const e of t){if(e.manipulateOptions){e.manipulateOptions(c,c.parserOpts)}}}return c}},43062:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class PluginPass{constructor(e,t,r){this._map=new Map;this.key=void 0;this.file=void 0;this.opts=void 0;this.cwd=void 0;this.filename=void 0;this.key=t;this.file=e;this.opts=r||{};this.cwd=e.opts.cwd;this.filename=e.opts.filename}set(e,t){this._map.set(e,t)}get(e){return this._map.get(e)}availableHelper(e,t){return this.file.availableHelper(e,t)}addHelper(e){return this.file.addHelper(e)}addImport(){return this.file.addImport()}buildCodeFrameError(e,t,r){return this.file.buildCodeFrameError(e,t,r)}}t.default=PluginPass;{PluginPass.prototype.getModuleName=function getModuleName(){return this.file.getModuleName()}}},88755:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;const r="$$ babel internal serialized type"+Math.random();function serialize(e,t){if(typeof t!=="bigint")return t;return{[r]:"BigInt",value:t.toString()}}function revive(e,t){if(!t||typeof t!=="object")return t;if(t[r]!=="BigInt")return t;return BigInt(t.value)}function _default(e){return JSON.parse(JSON.stringify(e,serialize),revive)}},11557:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;function _v(){const e=r(68987);_v=function(){return e};return e}var n=r(88755);function _default(e){if(_v().deserialize&&_v().serialize){return _v().deserialize(_v().serialize(e))}return(0,n.default)(e)}},11796:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var n=r(36860);let s=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const i=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const s=Object.assign({},n,e.end);const{linesAbove:i=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const u=s.line;const p=s.column;let f=Math.max(o-(i+1),0);let c=Math.min(t.length,u+a);if(o===-1){f=0}if(u===-1){c=t.length}const d=u-o;const y={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){y[r]=true}else if(e===0){const e=t[r-1].length;y[r]=[l,e-l+1]}else if(e===d){y[r]=[0,p]}else{const n=t[r-e].length;y[r]=[0,n]}}}else{if(l===p){if(l){y[o]=[l,0]}else{y[o]=true}}else{y[o]=[l,p-l]}}return{start:f,end:c,markerLines:y}}function codeFrameColumns(e,t,r={}){const s=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const a=(0,n.getChalk)(r);const o=getDefs(a);const l=(e,t)=>{return s?e(t):t};const u=e.split(i);const{start:p,end:f,markerLines:c}=getMarkerLines(t,u,r);const d=t.start&&typeof t.start.column==="number";const y=String(f).length;const m=s?(0,n.default)(e,r):e;let T=m.split(i).slice(p,f).map((e,t)=>{const n=p+1+t;const s=` ${n}`.slice(-y);const i=` ${s} |`;const a=c[n];const u=!c[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const s=a[1]||1;t=["\n ",l(o.gutter,i.replace(/\d/g," "))," ",n,l(o.marker,"^").repeat(s)].join("");if(u&&r.message){t+=" "+l(o.message,r.message)}}return[l(o.marker,">"),l(o.gutter,i),e.length>0?` ${e}`:"",t].join("")}else{return` ${l(o.gutter,i)}${e.length>0?` ${e}`:""}`}}).join("\n");if(r.message&&!d){T=`${" ".repeat(y+1)}${r.message}\n${T}`}if(s){return a.reset(T)}else{return T}}function _default(e,t,r,n={}){if(!s){s=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const i={start:{column:r,line:t}};return codeFrameColumns(e,i,n)}},90676:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=analyzeScope;var n=r(39652);var s=r(15873);var i=r(37185);var a=_interopRequireDefault(r(97403));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o=r(26839);const l=r(17782);const u=r(96988);const p=n.types.FLIPPED_ALIAS_KEYS.Flow.concat(["ArrayPattern","ClassDeclaration","ClassExpression","FunctionDeclaration","FunctionExpression","Identifier","ObjectPattern","RestElement"]);const f=Object.entries(n.types.VISITOR_KEYS).reduce((e,[t,r])=>{if(!p.includes(r)){e[t]=r}return e},{});const c={callProperties:{type:"loop",values:["value"]},indexers:{type:"loop",values:["key","value"]},properties:{type:"loop",values:["argument","value"]},types:{type:"loop"},params:{type:"loop"},argument:{type:"single"},elementType:{type:"single"},qualification:{type:"single"},rest:{type:"single"},returnType:{type:"single"},typeAnnotation:{type:"typeAnnotation"},typeParameters:{type:"typeParameters"},id:{type:"id"}};class PatternVisitor extends l{ArrayPattern(e){e.elements.forEach(this.visit,this)}ObjectPattern(e){e.properties.forEach(this.visit,this)}}class Referencer extends u{visitPattern(e,t,r){if(!e){return}this._checkIdentifierOrVisit(e.typeAnnotation);if(n.types.isAssignmentPattern(e)){this._checkIdentifierOrVisit(e.left.typeAnnotation)}if(typeof t==="function"){r=t;t={processRightHandNodes:false}}const s=new PatternVisitor(this.options,e,r);s.visit(e);if(t.processRightHandNodes){s.rightHandNodes.forEach(this.visit,this)}}visitClass(e){this._visitArray(e.decorators);const t=this._nestTypeParamScope(e);this._visitTypeAnnotation(e.implements);this._visitTypeAnnotation(e.superTypeParameters&&e.superTypeParameters.params);super.visitClass(e);if(t){this.close(e)}}visitFunction(e){const t=this._nestTypeParamScope(e);this._checkIdentifierOrVisit(e.returnType);super.visitFunction(e);if(t){this.close(e)}}visitProperty(e){var t;if(((t=e.value)==null?void 0:t.type)==="TypeCastExpression"){this._visitTypeAnnotation(e.value)}this._visitArray(e.decorators);super.visitProperty(e)}InterfaceDeclaration(e){this._createScopeVariable(e,e.id);const t=this._nestTypeParamScope(e);this._visitArray(e.extends);this.visit(e.body);if(t){this.close(e)}}TypeAlias(e){this._createScopeVariable(e,e.id);const t=this._nestTypeParamScope(e);this.visit(e.right);if(t){this.close(e)}}ClassProperty(e){this._visitClassProperty(e)}ClassPrivateProperty(e){this._visitClassProperty(e)}PropertyDefinition(e){this._visitClassProperty(e)}ClassPrivateMethod(e){super.MethodDefinition(e)}DeclareModule(e){this._visitDeclareX(e)}DeclareFunction(e){this._visitDeclareX(e)}DeclareVariable(e){this._visitDeclareX(e)}DeclareClass(e){this._visitDeclareX(e)}OptionalMemberExpression(e){super.MemberExpression(e)}_visitClassProperty(e){this._visitTypeAnnotation(e.typeAnnotation);this.visitProperty(e)}_visitDeclareX(e){if(e.id){this._createScopeVariable(e,e.id)}const t=this._nestTypeParamScope(e);if(t){this.close(e)}}_createScopeVariable(e,t){this.currentScope().variableScope.__define(t,new s.Definition("Variable",t,e,null,null,null))}_nestTypeParamScope(e){if(!e.typeParameters){return null}const t=this.scopeManager.__currentScope;const r=new o.Scope(this.scopeManager,"type-parameters",t,e,false);this.scopeManager.__nestScope(r);for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.normalizeESLintConfig=normalizeESLintConfig;t.normalizeBabelParseConfig=normalizeBabelParseConfig;var n=r(39652);function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var s,i;for(i=0;i=0)continue;r[s]=e[s]}return r}function normalizeESLintConfig(e){const{babelOptions:t={},ecmaVersion:r=2020,sourceType:n="module",allowImportExportEverywhere:s=false,requireConfigFile:i=true}=e,a=_objectWithoutPropertiesLoose(e,["babelOptions","ecmaVersion","sourceType","allowImportExportEverywhere","requireConfigFile"]);return Object.assign({babelOptions:t,ecmaVersion:r,sourceType:n,allowImportExportEverywhere:s,requireConfigFile:i},a)}function getParserPlugins(e){var t,r;const n=(t=(r=e.parserOpts)==null?void 0:r.plugins)!=null?t:[];const s={classFeatures:false};for(const e of n){if(Array.isArray(e)&&e[0]==="estree"){Object.assign(s,e[1]);break}}return[["estree",s],...n]}function normalizeBabelParseConfig(e){const t=Object.assign({sourceType:e.sourceType,filename:e.filePath},e.babelOptions,{parserOpts:Object.assign({allowImportExportEverywhere:e.allowImportExportEverywhere,allowReturnOutsideFunction:true,allowSuperOutsideMethod:true},e.babelOptions.parserOpts,{plugins:getParserPlugins(e.babelOptions),ranges:true,tokens:true}),caller:Object.assign({name:"@babel/eslint-parser"},e.babelOptions.caller)});if(e.requireConfigFile!==false){const e=(0,n.loadPartialConfig)(t);if(e!==null){if(!e.hasFilesystemConfig()){let t=`No Babel config file detected for ${e.options.filename}. Either disable config file checking with requireConfigFile: false, or configure Babel so that it can find the config files.`;if(e.options.filename.includes("node_modules")){t+=`\nIf you have a .babelrc.js file or use package.json#babel, keep in mind that it's not used when parsing dependencies. If you want your config to be applied to your whole app, consider using babel.config.js or babel.config.json instead.`}throw new Error(t)}return e.options}}return t}},58933:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=convertAST;var n=r(39652);var s=r(97403);function convertNodes(e,t){const r={noScope:true,enter(e){const{node:t}=e;if(t.innerComments){delete t.innerComments}if(t.trailingComments){delete t.trailingComments}if(t.leadingComments){delete t.leadingComments}},exit(e){const{node:t}=e;if(t.extra){delete t.extra}if(t!=null&&t.loc.identifierName){delete t.loc.identifierName}if(e.isTypeParameter()){t.type="Identifier";t.typeAnnotation=t.bound;delete t.bound}if(e.isQualifiedTypeIdentifier()){delete t.id}if(e.isObjectTypeProperty()){delete t.key}if(e.isObjectTypeIndexer()){delete t.id}if(e.isFunctionTypeParam()){delete t.name}if(e.isImportDeclaration()){delete t.isType}if(e.isTemplateLiteral()){for(let e=0;er.end){e.range[1]=r.end;e.loc.end.line=r.loc.end.line;e.loc.end.column=r.loc.end.column}}}else{if(!e.tokens.length){e.loc.start.line=1;e.loc.end.line=1}}if(e.body&&e.body.length>0){e.loc.start.line=e.body[0].loc.start.line;e.range[0]=e.body[0].start}}function convertAST(e,t){convertNodes(e,t);convertProgramNode(e)}},96489:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=convertComments;function convertComments(e){for(const t of e){if(t.type==="CommentBlock"){t.type="Block"}else if(t.type==="CommentLine"){t.type="Line"}if(!t.range){t.range=[t.start,t.end]}}}},73413:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=convertTokens;var n=r(39652);function convertTemplateType(e){let t=null;let r=[];const s=[];function addTemplateType(){const e=r[0];const t=r[r.length-1];const i=r.reduce((e,t)=>{if(t.value){e+=t.value}else if(t.type!==n.tokTypes.template){e+=t.type.label}return e},"");s.push({type:"Template",value:i,start:e.start,end:t.end,loc:{start:e.loc.start,end:t.loc.end}});r=[]}e.forEach(e=>{switch(e.type){case n.tokTypes.backQuote:if(t){s.push(t);t=null}r.push(e);if(r.length>1){addTemplateType()}break;case n.tokTypes.dollarBraceL:r.push(e);addTemplateType();break;case n.tokTypes.braceR:if(t){s.push(t)}t=e;break;case n.tokTypes.template:if(t){r.push(t);t=null}r.push(e);break;case n.tokTypes.eof:if(t){s.push(t)}break;default:if(t){s.push(t);t=null}s.push(e)}});return s}function convertToken(e,t){const r=e.type;e.range=[e.start,e.end];if(r===n.tokTypes.name){e.type="Identifier"}else if(r===n.tokTypes.semi||r===n.tokTypes.comma||r===n.tokTypes.parenL||r===n.tokTypes.parenR||r===n.tokTypes.braceL||r===n.tokTypes.braceR||r===n.tokTypes.slash||r===n.tokTypes.dot||r===n.tokTypes.bracketL||r===n.tokTypes.bracketR||r===n.tokTypes.ellipsis||r===n.tokTypes.arrow||r===n.tokTypes.pipeline||r===n.tokTypes.star||r===n.tokTypes.incDec||r===n.tokTypes.colon||r===n.tokTypes.question||r===n.tokTypes.template||r===n.tokTypes.backQuote||r===n.tokTypes.dollarBraceL||r===n.tokTypes.at||r===n.tokTypes.logicalOR||r===n.tokTypes.logicalAND||r===n.tokTypes.nullishCoalescing||r===n.tokTypes.bitwiseOR||r===n.tokTypes.bitwiseXOR||r===n.tokTypes.bitwiseAND||r===n.tokTypes.equality||r===n.tokTypes.relational||r===n.tokTypes.bitShift||r===n.tokTypes.plusMin||r===n.tokTypes.modulo||r===n.tokTypes.exponent||r===n.tokTypes.bang||r===n.tokTypes.tilde||r===n.tokTypes.doubleColon||r===n.tokTypes.hash||r===n.tokTypes.questionDot||r.isAssign){e.type="Punctuator";if(!e.value)e.value=r.label}else if(r===n.tokTypes.jsxTagStart){e.type="Punctuator";e.value="<"}else if(r===n.tokTypes.jsxTagEnd){e.type="Punctuator";e.value=">"}else if(r===n.tokTypes.jsxName){e.type="JSXIdentifier"}else if(r===n.tokTypes.jsxText){e.type="JSXText"}else if(r.keyword==="null"){e.type="Null"}else if(r.keyword==="false"||r.keyword==="true"){e.type="Boolean"}else if(r.keyword){e.type="Keyword"}else if(r===n.tokTypes.num){e.type="Numeric";e.value=t.slice(e.start,e.end)}else if(r===n.tokTypes.string){e.type="String";e.value=t.slice(e.start,e.end)}else if(r===n.tokTypes.regexp){e.type="RegularExpression";const t=e.value;e.regex={pattern:t.pattern,flags:t.flags};e.value=`/${t.pattern}/${t.flags}`}else if(r===n.tokTypes.bigint){e.type="Numeric";e.value=`${e.value}n`}if(typeof e.type!=="string"){delete e.type.rightAssociative}return e}function convertTokens(e,t){return convertTemplateType(e).filter(e=>e.type!=="CommentLine"&&e.type!=="CommentBlock").map(e=>convertToken(e,t))}},8334:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=_interopRequireDefault(r(73413));var s=_interopRequireDefault(r(96489));var i=_interopRequireDefault(r(58933));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _default(e,t){e.tokens=(0,n.default)(e.tokens,t);(0,s.default)(e.comments);(0,i.default)(e,t)}},28700:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parse=parse;t.parseForESLint=parseForESLint;var n=r(39652);var s=r(33133);var i=_interopRequireDefault(r(8334));var a=_interopRequireDefault(r(90676));var o=_interopRequireDefault(r(97403));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const l=r(62519);let u=null;function baseParse(e,t){const r=">=7.2.0";if(typeof u!=="boolean"){u=l.satisfies(n.version,r)}if(!u){throw new Error(`@babel/eslint-parser@${"7.13.14"} does not support @babel/core@${n.version}. Please upgrade to @babel/core@${r}.`)}let a;try{a=(0,n.parseSync)(e,(0,s.normalizeBabelParseConfig)(t))}catch(e){if(e instanceof SyntaxError){e.lineNumber=e.loc.line;e.column=e.loc.column}throw e}(0,i.default)(a,e);return a}function parse(e,t={}){return baseParse(e,(0,s.normalizeESLintConfig)(t))}function parseForESLint(e,t={}){const r=(0,s.normalizeESLintConfig)(t);const n=baseParse(e,r);const i=(0,a.default)(n,r);return{ast:n,scopeManager:i,visitorKeys:o.default}}},97403:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.conflictTypes=t.newTypes=void 0;var n=r(39652);var s=r(37185);const i={ChainExpression:s.KEYS.ChainExpression,ImportExpression:s.KEYS.ImportExpression,Literal:s.KEYS.Literal,MethodDefinition:["decorators"].concat(s.KEYS.MethodDefinition),Property:["decorators"].concat(s.KEYS.Property),PropertyDefinition:n.types.VISITOR_KEYS.ClassProperty,PrivateIdentifier:[]};t.newTypes=i;const a={ClassPrivateMethod:["decorators"].concat(s.KEYS.MethodDefinition),ExportAllDeclaration:s.KEYS.ExportAllDeclaration};t.conflictTypes=a;var o=Object.assign({},i,n.types.VISITOR_KEYS,a);t.default=o},37790:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getInclusionReasons=getInclusionReasons;var n=r(62519);var s=r(87059);var i=r(41953);function getInclusionReasons(e,t,r){const a=r[e]||{};return Object.keys(t).reduce((e,r)=>{const o=(0,i.getLowestImplementedVersion)(a,r);const l=t[r];if(!o){e[r]=(0,s.prettifyVersion)(l)}else{const t=(0,i.isUnreleasedVersion)(o,r);const a=(0,i.isUnreleasedVersion)(l,r);if(!a&&(t||n.lt(l.toString(),(0,i.semverify)(o)))){e[r]=(0,s.prettifyVersion)(l)}}return e},{})}},54263:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.targetsSupported=targetsSupported;t.isRequired=isRequired;t.default=filterItems;var n=r(62519);var s=r(70251);var i=r(41953);function targetsSupported(e,t){const r=Object.keys(e);if(r.length===0){return false}const s=r.filter(r=>{const s=(0,i.getLowestImplementedVersion)(t,r);if(!s){return true}const a=e[r];if((0,i.isUnreleasedVersion)(a,r)){return false}if((0,i.isUnreleasedVersion)(s,r)){return true}if(!n.valid(a.toString())){throw new Error(`Invalid version passed for target "${r}": "${a}". `+"Versions must be in semver format (major.minor.patch)")}return n.gt((0,i.semverify)(s),a.toString())});return s.length===0}function isRequired(e,t,{compatData:r=s,includes:n,excludes:i}={}){if(i!=null&&i.has(e))return false;if(n!=null&&n.has(e))return true;return!targetsSupported(t,r[e])}function filterItems(e,t,r,n,s,i,a){const o=new Set;const l={compatData:e,includes:t,excludes:r};for(const t in e){if(isRequired(t,n,l)){o.add(t)}else if(a){const e=a.get(t);if(e){o.add(e)}}}if(s){s.forEach(e=>!r.has(e)&&o.add(e))}if(i){i.forEach(e=>!t.has(e)&&o.delete(e))}return o}},55937:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isBrowsersQueryValid=isBrowsersQueryValid;t.default=getTargets;Object.defineProperty(t,"unreleasedLabels",{enumerable:true,get:function(){return o.unreleasedLabels}});Object.defineProperty(t,"TargetNames",{enumerable:true,get:function(){return l.TargetNames}});Object.defineProperty(t,"prettifyTargets",{enumerable:true,get:function(){return u.prettifyTargets}});Object.defineProperty(t,"getInclusionReasons",{enumerable:true,get:function(){return p.getInclusionReasons}});Object.defineProperty(t,"filterItems",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"isRequired",{enumerable:true,get:function(){return f.isRequired}});var n=r(3561);var s=r(69562);var i=r(89556);var a=r(41953);var o=r(81830);var l=r(53097);var u=r(87059);var p=r(37790);var f=r(54263);const c=i["es6.module"];const d=new s.OptionValidator("@babel/helper-compilation-targets");function validateTargetNames(e){const t=Object.keys(l.TargetNames);for(const r of Object.keys(e)){if(!(r in l.TargetNames)){throw new Error(d.formatMessage(`'${r}' is not a valid target\n- Did you mean '${(0,s.findSuggestion)(r,t)}'?`))}}return e}function isBrowsersQueryValid(e){return typeof e==="string"||Array.isArray(e)&&e.every(e=>typeof e==="string")}function validateBrowsers(e){d.invariant(e===undefined||isBrowsersQueryValid(e),`'${String(e)}' is not a valid browserslist query`);return e}function getLowestVersions(e){return e.reduce((e,t)=>{const[r,n]=t.split(" ");const s=o.browserNameMap[r];if(!s){return e}try{const t=n.split("-")[0].toLowerCase();const i=(0,a.isUnreleasedVersion)(t,r);if(!e[s]){e[s]=i?t:(0,a.semverify)(t);return e}const o=e[s];const l=(0,a.isUnreleasedVersion)(o,r);if(l&&i){e[s]=(0,a.getLowestUnreleased)(o,t,r)}else if(l){e[s]=(0,a.semverify)(t)}else if(!l&&!i){const r=(0,a.semverify)(t);e[s]=(0,a.semverMin)(o,r)}}catch(e){}return e},{})}function outputDecimalWarning(e){if(!e.length){return}console.warn("Warning, the following targets are using a decimal version:\n");e.forEach(({target:e,value:t})=>console.warn(` ${e}: ${t}`));console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`)}function semverifyTarget(e,t){try{return(0,a.semverify)(t)}catch(r){throw new Error(d.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}const y={__default(e,t){const r=(0,a.isUnreleasedVersion)(t,e)?t.toLowerCase():semverifyTarget(e,t);return[e,r]},node(e,t){const r=t===true||t==="current"?process.versions.node:semverifyTarget(e,t);return[e,r]}};function generateTargets(e){const t=Object.assign({},e);delete t.esmodules;delete t.browsers;return t}function resolveTargets(e){const t=n(e,{mobileToDesktop:true});return getLowestVersions(t)}function getTargets(e={},t={}){var r;let{browsers:s,esmodules:i}=e;const{configPath:o="."}=t;validateBrowsers(s);const l=generateTargets(e);let u=validateTargetNames(l);const p=!!s;const f=p||Object.keys(u).length>0;const d=!t.ignoreBrowserslistConfig&&!f;if(!s&&d){s=n.loadConfig({config:t.configFile,path:o,env:t.browserslistEnv});if(s==null){{s=[]}}}if(i&&(i!=="intersect"||!((r=s)!=null&&r.length))){s=Object.keys(c).map(e=>`${e} >= ${c[e]}`).join(", ");i=false}if(s){const e=resolveTargets(s);if(i==="intersect"){for(const t of Object.keys(e)){const r=e[t];if(c[t]){e[t]=(0,a.getHighestUnreleased)(r,(0,a.semverify)(c[t]),t)}else{delete e[t]}}}u=Object.assign(e,u)}const m={};const T=[];for(const e of Object.keys(u).sort()){var h;const t=u[e];if(typeof t==="number"&&t%1!==0){T.push({target:e,value:t})}const r=(h=y[e])!=null?h:y.__default;const[n,s]=r(e,t);if(s){m[n]=s}}outputDecimalWarning(T);return m}},53097:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TargetNames=void 0;const r={node:"node",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung",rhino:"rhino"};t.TargetNames=r},87059:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.prettifyVersion=prettifyVersion;t.prettifyTargets=prettifyTargets;var n=r(62519);var s=r(81830);function prettifyVersion(e){if(typeof e!=="string"){return e}const t=[n.major(e)];const r=n.minor(e);const s=n.patch(e);if(r||s){t.push(r)}if(s){t.push(s)}return t.join(".")}function prettifyTargets(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];const i=s.unreleasedLabels[r];if(typeof n==="string"&&i!==n){n=prettifyVersion(n)}t[r]=n;return t},{})}},81830:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.browserNameMap=t.unreleasedLabels=void 0;const r={safari:"tp"};t.unreleasedLabels=r;const n={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",op_mob:"opera",opera:"opera",safari:"safari",samsung:"samsung"};t.browserNameMap=n},41953:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.semverMin=semverMin;t.semverify=semverify;t.isUnreleasedVersion=isUnreleasedVersion;t.getLowestUnreleased=getLowestUnreleased;t.getHighestUnreleased=getHighestUnreleased;t.getLowestImplementedVersion=getLowestImplementedVersion;var n=r(62519);var s=r(69562);var i=r(81830);const a=/^(\d+|\d+.\d+)$/;const o=new s.OptionValidator("@babel/helper-compilation-targets");function semverMin(e,t){return e&&n.lt(e,t)?e:t}function semverify(e){if(typeof e==="string"&&n.valid(e)){return e}o.invariant(typeof e==="number"||typeof e==="string"&&a.test(e),`'${e}' is not a valid version`);const t=e.toString().split(".");while(t.length<3){t.push("0")}return t.join(".")}function isUnreleasedVersion(e,t){const r=i.unreleasedLabels[t];return!!r&&r===e.toString().toLowerCase()}function getLowestUnreleased(e,t,r){const n=i.unreleasedLabels[r];const s=[e,t].some(e=>e===n);if(s){return e===s?t:e||t}return semverMin(e,t)}function getHighestUnreleased(e,t,r){return getLowestUnreleased(e,t,r)===e?t:e}function getLowestImplementedVersion(e,t){const r=e[t];if(!r&&t==="android"){return e.chrome}return r}},52647:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(57012);function _interopNamespace(e){if(e&&e.__esModule)return e;var t=Object.create(null);if(e){Object.keys(e).forEach(function(r){if(r!=="default"){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:true,get:function(){return e[r]}})}})}t["default"]=e;return Object.freeze(t)}var s=_interopNamespace(n);function willPathCastToBoolean(e){const t=e;const{node:r,parentPath:n}=t;if(n.isLogicalExpression()){const{operator:e,right:t}=n.node;if(e==="&&"||e==="||"||e==="??"&&r===t){return willPathCastToBoolean(n)}}if(n.isSequenceExpression()){const{expressions:e}=n.node;if(e[e.length-1]===r){return willPathCastToBoolean(n)}else{return true}}return n.isConditional({test:r})||n.isUnaryExpression({operator:"!"})||n.isLoop({test:r})}class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const t=this._map.get(e);const{value:r}=t;t.count--;if(t.count===0){return s.assignmentExpression("=",r,e)}return r}set(e,t,r){return this._map.set(e,{count:r,value:t})}}function toNonOptional(e,t){const{node:r}=e;if(s.isOptionalMemberExpression(r)){return s.memberExpression(t,r.property,r.computed)}if(e.isOptionalCallExpression()){const r=e.get("callee");if(e.node.optional&&r.isOptionalMemberExpression()){const{object:n}=r.node;const i=e.scope.maybeGenerateMemoised(n)||n;r.get("object").replaceWith(s.assignmentExpression("=",i,n));return s.callExpression(s.memberExpression(t,s.identifier("call")),[i,...e.node.arguments])}return s.callExpression(t,e.node.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:t,container:r,listKey:n}=e;const s=t.node;if(n){if(r!==s[n])return true}else{if(r!==s)return true}e=t}return false}const i={memoise(){},handle(e,t){const{node:r,parent:n,parentPath:i,scope:a}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const o=e.find(({node:t,parent:r})=>{if(s.isOptionalMemberExpression(r)){return r.optional||r.object!==t}if(s.isOptionalCallExpression(r)){return t!==e.node&&r.optional||r.callee!==t}return true});if(a.path.isPattern()){o.replaceWith(s.callExpression(s.arrowFunctionExpression([],o.node),[]));return}const l=willPathCastToBoolean(o);const u=o.parentPath;if(u.isUpdateExpression({argument:r})||u.isAssignmentExpression({left:r})){throw e.buildCodeFrameError(`can't handle assignment`)}const p=u.isUnaryExpression({operator:"delete"});if(p&&o.isOptionalMemberExpression()&&o.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let f=e;for(;;){if(f.isOptionalMemberExpression()){if(f.node.optional)break;f=f.get("object");continue}else if(f.isOptionalCallExpression()){if(f.node.optional)break;f=f.get("callee");continue}throw new Error(`Internal error: unexpected ${f.node.type}`)}const c=f.isOptionalMemberExpression()?"object":"callee";const d=f.node[c];const y=a.maybeGenerateMemoised(d);const m=y!=null?y:d;const T=i.isOptionalCallExpression({callee:r});const h=e=>T;const S=i.isCallExpression({callee:r});f.replaceWith(toNonOptional(f,m));if(h()){if(n.optional){i.replaceWith(this.optionalCall(e,n.arguments))}else{i.replaceWith(this.call(e,n.arguments))}}else if(S){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}let b=e.node;for(let t=e;t!==o;){const e=t.parentPath;if(e===o&&h()&&n.optional){b=e.node;break}b=toNonOptional(e,b);t=e}let E;const g=o.parentPath;if(s.isMemberExpression(b)&&g.isOptionalCallExpression({callee:o.node,optional:true})){const{object:t}=b;E=e.scope.maybeGenerateMemoised(t);if(E){b.object=s.assignmentExpression("=",E,t)}}let P=o;if(p){P=g;b=g.node}const x=y?s.assignmentExpression("=",s.cloneNode(m),s.cloneNode(d)):s.cloneNode(m);if(l){let e;if(t){e=s.binaryExpression("!=",x,s.nullLiteral())}else{e=s.logicalExpression("&&",s.binaryExpression("!==",x,s.nullLiteral()),s.binaryExpression("!==",s.cloneNode(m),a.buildUndefinedNode()))}P.replaceWith(s.logicalExpression("&&",e,b))}else{let e;if(t){e=s.binaryExpression("==",x,s.nullLiteral())}else{e=s.logicalExpression("||",s.binaryExpression("===",x,s.nullLiteral()),s.binaryExpression("===",s.cloneNode(m),a.buildUndefinedNode()))}P.replaceWith(s.conditionalExpression(e,p?s.booleanLiteral(true):a.buildUndefinedNode(),b))}if(E){const e=g.node;g.replaceWith(s.optionalCallExpression(s.optionalMemberExpression(e.callee,s.identifier("call"),false,true),[s.cloneNode(E),...e.arguments],false))}return}if(s.isUpdateExpression(n,{argument:r})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,prefix:a}=n;this.memoise(e,2);const o=s.binaryExpression(t[0],s.unaryExpression("+",this.get(e)),s.numericLiteral(1));if(a){i.replaceWith(this.set(e,o))}else{const{scope:t}=e;const n=t.generateUidIdentifierBasedOnNode(r);t.push({id:n});o.left=s.assignmentExpression("=",s.cloneNode(n),o.left);i.replaceWith(s.sequenceExpression([this.set(e,o),s.cloneNode(n)]))}return}if(i.isAssignmentExpression({left:r})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,right:r}=i.node;if(t==="="){i.replaceWith(this.set(e,r))}else{const n=t.slice(0,-1);if(s.LOGICAL_OPERATORS.includes(n)){this.memoise(e,1);i.replaceWith(s.logicalExpression(n,this.get(e),this.set(e,r)))}else{this.memoise(e,2);i.replaceWith(this.set(e,s.binaryExpression(n,this.get(e),r)))}}return}if(i.isCallExpression({callee:r})){i.replaceWith(this.call(e,i.node.arguments));return}if(i.isOptionalCallExpression({callee:r})){if(a.path.isPattern()){i.replaceWith(s.callExpression(s.arrowFunctionExpression([],i.node),[]));return}i.replaceWith(this.optionalCall(e,i.node.arguments));return}if(i.isForXStatement({left:r})||i.isObjectProperty({value:r})&&i.parentPath.isObjectPattern()||i.isAssignmentPattern({left:r})&&i.parentPath.isObjectProperty({value:n})&&i.parentPath.parentPath.isObjectPattern()||i.isArrayPattern()||i.isAssignmentPattern({left:r})&&i.parentPath.isArrayPattern()||i.isRestElement()){e.replaceWith(this.destructureSet(e));return}if(i.isTaggedTemplateExpression()){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}}};function memberExpressionToFunctions(e,t,r){e.traverse(t,Object.assign({},i,r,{memoiser:new AssignmentMemoiser}))}t.default=memberExpressionToFunctions},62484:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var s=r(61722);class ImportBuilder{constructor(e,t,r){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=r;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(s.importDeclaration([],s.stringLiteral(this._importedSource)));return this}require(){this._statements.push(s.expressionStatement(s.callExpression(s.identifier("require"),[s.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[s.importNamespaceSpecifier(t)];this._resultName=s.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];n(t.type==="ImportDeclaration");n(t.specifiers.length===0);t.specifiers=[s.importDefaultSpecifier(e)];this._resultName=s.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[s.importSpecifier(e,s.identifier(t))];this._resultName=s.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){n(this._resultName);t=s.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=s.variableDeclaration("var",[s.variableDeclarator(e,t.expression)]);this._resultName=s.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=s.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=s.callExpression(e,[t.declarations[0].init])}else{n.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=s.memberExpression(t.expression,s.identifier(e))}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=s.memberExpression(t.declarations[0].init,s.identifier(e))}else{n.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=s.memberExpression(this._resultName,s.identifier(e))}}t.default=ImportBuilder},13420:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(42357);var s=r(61722);var i=r(62484);var a=r(78061);class ImportInjector{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const n=e.find(e=>e.isProgram());this._programPath=n;this._programScope=n.scope;this._hub=n.hub;this._defaultOpts=this._applyDefaults(t,r,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){n(typeof e==="string");return this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,r=false){const s=[];if(typeof e==="string"){s.push({importedSource:e});s.push(t)}else{n(!t,"Unexpected secondary arguments.");s.push(e)}const i=Object.assign({},this._defaultOpts);for(const e of s){if(!e)continue;Object.keys(i).forEach(t=>{if(e[t]!==undefined)i[t]=e[t]});if(!r){if(e.nameHint!==undefined)i.nameHint=e.nameHint;if(e.blockHoist!==undefined)i.blockHoist=e.blockHoist}}return i}_generateImport(e,t){const r=t==="default";const n=!!t&&!r;const o=t===null;const{importedSource:l,importedType:u,importedInterop:p,importingInterop:f,ensureLiveReference:c,ensureNoContext:d,nameHint:y,importPosition:m,blockHoist:T}=e;let h=y||t;const S=(0,a.default)(this._programPath);const b=S&&f==="node";const E=S&&f==="babel";if(m==="after"&&!S){throw new Error(`"importPosition": "after" is only supported in modules`)}const g=new i.default(l,this._programScope,this._hub);if(u==="es6"){if(!b&&!E){throw new Error("Cannot import an ES6 module from CommonJS")}g.import();if(o){g.namespace(y||l)}else if(r||n){g.named(h,t)}}else if(u!=="commonjs"){throw new Error(`Unexpected interopType "${u}"`)}else if(p==="babel"){if(b){h=h!=="default"?h:l;const e=`${l}$es6Default`;g.import();if(o){g.default(e).var(h||l).wildcardInterop()}else if(r){if(c){g.default(e).var(h||l).defaultInterop().read("default")}else{g.default(e).var(h).defaultInterop().prop(t)}}else if(n){g.default(e).read(t)}}else if(E){g.import();if(o){g.namespace(h||l)}else if(r||n){g.named(h,t)}}else{g.require();if(o){g.var(h||l).wildcardInterop()}else if((r||n)&&c){if(r){h=h!=="default"?h:l;g.var(h).read(t);g.defaultInterop()}else{g.var(l).read(t)}}else if(r){g.var(h).defaultInterop().prop(t)}else if(n){g.var(h).prop(t)}}}else if(p==="compiled"){if(b){g.import();if(o){g.default(h||l)}else if(r||n){g.default(l).read(h)}}else if(E){g.import();if(o){g.namespace(h||l)}else if(r||n){g.named(h,t)}}else{g.require();if(o){g.var(h||l)}else if(r||n){if(c){g.var(l).read(h)}else{g.prop(t).var(h)}}}}else if(p==="uncompiled"){if(r&&c){throw new Error("No live reference for commonjs default")}if(b){g.import();if(o){g.default(h||l)}else if(r){g.default(h)}else if(n){g.default(l).read(h)}}else if(E){g.import();if(o){g.default(h||l)}else if(r){g.default(h)}else if(n){g.named(h,t)}}else{g.require();if(o){g.var(h||l)}else if(r){g.var(h)}else if(n){if(c){g.var(l).read(h)}else{g.var(h).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:P,resultName:x}=g.done();this._insertStatements(P,m,T);if((r||n)&&d&&x.type!=="Identifier"){return s.sequenceExpression([s.numericLiteral(0),x])}return x}_insertStatements(e,t="before",r=3){const n=this._programPath.get("body");if(t==="after"){for(let t=n.length-1;t>=0;t--){if(n[t].isImportDeclaration()){n[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=r});const t=n.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},49834:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return s.default}});var n=r(13420);var s=r(78061);function addDefault(e,t,r){return new n.default(e).addDefault(t,r)}function addNamed(e,t,r,s){return new n.default(e).addNamed(t,r,s)}function addNamespace(e,t,r){return new n.default(e).addNamespace(t,r)}function addSideEffect(e,t,r){return new n.default(e).addSideEffect(t,r)}},78061:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},54016:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(54016);var s=r(5895)},5895:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},76228:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(16088);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},64096:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(25829);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},56304:()=>{},64331:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(6214);var s=r(40430);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(27270);var s=r(19265);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},67751:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(27270);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},27270:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(64331);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},64355:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(27270)},17700:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(97597);var s=r(34380);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(27270);var s=r(98158);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},80159:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(23797);function clone(e){return(0,n.default)(e,false)}},27104:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(23797);function cloneDeep(e){return(0,n.default)(e)}},12836:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(23797);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},23797:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(6214);var s=r(97597);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},82995:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(23797);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},42118:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(54987);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},54987:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},8072:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(11800);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},95527:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(11800);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},71823:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(11800);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},85523:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(71823);var s=r(95527);var i=r(8072);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},29113:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(62156);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},7924:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(6214);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},62156:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},41204:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(86441);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},87717:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(84489);var s=r(97597);var i=r(27270);var a=r(23797);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},36538:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(41349);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},86441:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(97597);var s=r(27270);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},20873:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(97597);var s=r(27270);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},11571:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(97597);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},41349:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(49591);var s=r(34355);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},46392:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(97597);var s=r(23797);var i=r(21529);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},81641:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(87717);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},60696:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(97597);var s=r(27270);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},4545:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(49591);var s=r(27270);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},74785:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(25829);var s=r(49591);var i=r(34355);var a=r(62156);var o=r(48959);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},92659:(e,t,r)=>{"use strict";var n=r(48959);var s=r(74785);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},2246:(e,t,r)=>{"use strict";var n=r(48959);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},6214:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(74785);r(2246);r(2403);r(46981);r(92659);r(85010);var s=r(48959);var i=r(701);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},2403:(e,t,r)=>{"use strict";var n=r(48959);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},46981:(e,t,r)=>{"use strict";var n=r(48959);var s=r(701);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},701:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(48959);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},85010:(e,t,r)=>{"use strict";var n=r(48959);var s=r(74785);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},48959:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(25829);var s=r(40430);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},61722:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(15841);var i=r(47136);var a=r(17700);var o=r(76228);var l=r(64096);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(67751);var p=r(57665);var f=r(1918);var c=r(27270);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(64355);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(23797);var m=r(80159);var T=r(27104);var h=r(12836);var S=r(82995);var b=r(42118);var E=r(54987);var g=r(8072);var P=r(95527);var x=r(85523);var v=r(71823);var A=r(29113);var O=r(7924);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(62156);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(41204);var w=r(36538);var j=r(86441);var N=r(20873);var C=r(11571);var L=r(41349);var _=r(46392);var M=r(81641);var F=r(60696);var B=r(4545);var k=r(6214);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(73799);var K=r(91995);var V=r(25145);var X=r(12349);var Y=r(21529);var J=r(19265);var U=r(84489);var W=r(1021);var q=r(1609);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(67305);var G=r(65849);var $=r(25829);var H=r(37697);var Q=r(3547);var Z=r(93365);var ee=r(24753);var te=r(16088);var re=r(40064);var ne=r(46989);var se=r(38128);var ie=r(64132);var ae=r(62602);var oe=r(85380);var le=r(5329);var ue=r(49591);var pe=r(90406);var fe=r(66378);var ce=r(40430);var de=r(59812);var ye=r(97597);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(56304);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},73799:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(27270);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},19265:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(97597);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},91995:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(62156);var s=r(85523);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},25145:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(27270);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},12349:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(62156);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},21529:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(67305);var s=r(12349);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},98158:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(97597);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},84489:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(97597);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(84489);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},1609:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(6214);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(6214);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},11800:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},34380:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(27270);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},59812:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(66378);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},97597:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(65849);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},25829:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(65849);var s=r(85380);var i=r(46989);var a=r(6214);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},37697:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(84489);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},3547:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(97597);var s=r(24753);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},93365:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(85380);var s=r(97597);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},24753:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(97597);var s=r(62156);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},16088:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(6214);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},40064:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(6214);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(6214);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},38128:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},64132:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(97597);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},62602:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(97597);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},85380:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(6214);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},5329:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(49591);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},49591:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(34355);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},90406:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(97597);var s=r(62156);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},66378:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(97597);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},15841:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(59812);const s=(0,n.default)("React.Component");var i=s;t.default=i},40430:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(6214);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},73865:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getModuleName;{const e=getModuleName;t.default=getModuleName=function getModuleName(t,r){var n,s,i,a;return e(t,{moduleId:(n=r.moduleId)!=null?n:t.moduleId,moduleIds:(s=r.moduleIds)!=null?s:t.moduleIds,getModuleId:(i=r.getModuleId)!=null?i:t.getModuleId,moduleRoot:(a=r.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:r,filenameRelative:n=r,sourceRoot:s=t.moduleRoot}=e;const{moduleId:i,moduleIds:a=!!i,getModuleId:o,moduleRoot:l=s}=t;if(!a)return null;if(i!=null&&!o){return i}let u=l!=null?l+"/":"";if(n){const e=s!=null?new RegExp("^"+s+"/?"):"";u+=n.replace(e,"").replace(/\.(\w*?)$/,"")}u=u.replace(/\\/g,"/");if(o){return o(u)||u}else{return u}}},53224:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;t.ensureStatementsHoisted=ensureStatementsHoisted;t.wrapInterop=wrapInterop;t.buildNamespaceInitStatements=buildNamespaceInitStatements;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.isModule}});Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return u.hasExports}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return u.isSideEffectImport}});Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});var n=r(42357);var s=r(57012);var i=r(36900);var a=r(49834);var o=r(7161);var l=r(13361);var u=r(252);var p=r(73865);function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:r,strict:i,allowTopLevelThis:p,strictMode:f,noInterop:c,importInterop:d=(c?"none":"babel"),lazy:y,esNamespaceOnly:m,constantReexports:T=t,enumerableModuleMeta:h=t,noIncompleteNsImportDetection:S}){(0,u.validateImportInteropOption)(d);n((0,a.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const b=(0,u.default)(e,r,{importInterop:d,initializeReexports:T,lazy:y,esNamespaceOnly:m});if(!p){(0,o.default)(e)}(0,l.default)(e,b);if(f!==false){const t=e.node.directives.some(e=>{return e.value.value==="use strict"});if(!t){e.unshiftContainer("directives",s.directive(s.directiveLiteral("use strict")))}}const E=[];if((0,u.hasExports)(b)&&!i){E.push(buildESModuleHeader(b,h))}const g=buildExportNameListDeclaration(e,b);if(g){b.exportNameListName=g.name;E.push(g.statement)}E.push(...buildExportInitializationStatements(e,b,T,S));return{meta:b,headers:E}}function ensureStatementsHoisted(e){e.forEach(e=>{e._blockHoist=3})}function wrapInterop(e,t,r){if(r==="none"){return null}if(r==="node-namespace"){return s.callExpression(e.hub.addHelper("interopRequireWildcard"),[t,s.booleanLiteral(true)])}else if(r==="node-default"){return null}let n;if(r==="default"){n="interopRequireDefault"}else if(r==="namespace"){n="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${r}`)}return s.callExpression(e.hub.addHelper(n),[t])}function buildNamespaceInitStatements(e,t,r=false){const n=[];let a=s.identifier(t.name);if(t.lazy)a=s.callExpression(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;n.push(i.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:s.cloneNode(a)}))}if(r){n.push(...c(e,t,true))}for(const r of t.reexportNamespace){n.push((t.lazy?i.default.statement` + `(e);function buildGlobal(e){const s=t().identifier("babelHelpers");const r=[];const i=t().functionExpression(null,[t().identifier("global")],t().blockStatement(r));const n=t().program([t().expressionStatement(t().callExpression(i,[t().conditionalExpression(t().binaryExpression("===",t().unaryExpression("typeof",t().identifier("global")),t().stringLiteral("undefined")),t().identifier("self"),t().identifier("global"))]))]);r.push(t().variableDeclaration("var",[t().variableDeclarator(s,t().assignmentExpression("=",t().memberExpression(t().identifier("global"),s),t().objectExpression([])))]));buildHelpers(r,s,e);return n}function buildModule(e){const s=[];const r=buildHelpers(s,null,e);s.unshift(t().exportNamedDeclaration(null,Object.keys(r).map(e=>{return t().exportSpecifier(t().cloneNode(r[e]),t().identifier(e))})));return t().program(s,[],"module")}function buildUmd(e){const s=t().identifier("babelHelpers");const r=[];r.push(t().variableDeclaration("var",[t().variableDeclarator(s,t().identifier("global"))]));buildHelpers(r,s,e);return t().program([n({FACTORY_PARAMETERS:t().identifier("global"),BROWSER_ARGUMENTS:t().assignmentExpression("=",t().memberExpression(t().identifier("root"),s),t().objectExpression([])),COMMON_ARGUMENTS:t().identifier("exports"),AMD_ARGUMENTS:t().arrayExpression([t().stringLiteral("exports")]),FACTORY_BODY:r,UMD_ROOT:t().identifier("this")})])}function buildVar(e){const s=t().identifier("babelHelpers");const r=[];r.push(t().variableDeclaration("var",[t().variableDeclarator(s,t().objectExpression([]))]));const i=t().program(r);buildHelpers(r,s,e);r.push(t().expressionStatement(s));return i}function buildHelpers(e,s,r){const n=e=>{return s?t().memberExpression(s,t().identifier(e)):t().identifier(`_${e}`)};const a={};helpers().list.forEach(function(t){if(r&&r.indexOf(t)<0)return;const s=a[t]=n(t);helpers().ensure(t,i.default);const{nodes:o}=helpers().get(t,n,s);e.push(...o)});return a}function _default(e,t="global"){let s;const r={global:buildGlobal,module:buildModule,umd:buildUmd,var:buildVar}[t];if(r){s=r(e)}else{throw new Error(`Unsupported output type ${t}`)}return(0,_generator().default)(s).code}},3326:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFromAstAsync=t.transformFromAstSync=t.transformFromAst=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(21146);var i=s(26995);const n=_gensync()(function*(e,t,s){const n=yield*(0,r.default)(s);if(n===null)return null;if(!e)throw new Error("No AST given");return yield*(0,i.run)(n,t,e)});const a=function transformFromAst(e,t,s,r){if(typeof s==="function"){r=s;s=undefined}if(r===undefined){return n.sync(e,t,s)}n.errback(e,t,s,r)};t.transformFromAst=a;const o=n.sync;t.transformFromAstSync=o;const l=n.async;t.transformFromAstAsync=l},13581:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFileAsync=t.transformFileSync=t.transformFile=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(21146);var i=s(26995);var n=s(8758);({});const a=_gensync()(function*(e,t){const s=Object.assign({},t,{filename:e});const a=yield*(0,r.default)(s);if(a===null)return null;const o=yield*n.readFile(e,"utf8");return yield*(0,i.run)(a,o)});const o=a.errback;t.transformFile=o;const l=a.sync;t.transformFileSync=l;const c=a.async;t.transformFileAsync=c},464:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformAsync=t.transformSync=t.transform=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(21146);var i=s(26995);const n=_gensync()(function*transform(e,t){const s=yield*(0,r.default)(t);if(s===null)return null;return yield*(0,i.run)(s,e)});const a=function transform(e,t,s){if(typeof t==="function"){s=t;t=undefined}if(s===undefined)return n.sync(e,t);n.errback(e,t,s)};t.transform=a;const o=n.sync;t.transformSync=o;const l=n.async;t.transformAsync=l},63029:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadBlockHoistPlugin;function _traverse(){const e=s(4267);_traverse=function(){return e};return e}var r=s(37481);let i;function loadBlockHoistPlugin(){if(!i){i=new r.default(Object.assign({},n,{visitor:_traverse().default.explode(n.visitor)}),{})}return i}function priority(e){const t=e==null?void 0:e._blockHoist;if(t==null)return 1;if(t===true)return 2;return t}function stableSort(e){const t=Object.create(null);for(let s=0;s+e).sort((e,t)=>t-e);let r=0;for(const i of s){const s=t[i];for(const t of s){e[r++]=t}}return e}const n={name:"internal.blockHoist",visitor:{Block:{exit({node:e}){const{body:t}=e;let s=Math.pow(2,30)-1;let r=false;for(let e=0;es){r=true;break}s=n}if(!r)return;e.body=stableSort(t.slice())}}}}},92418:(e,s,r)=>{"use strict";Object.defineProperty(s,"__esModule",{value:true});s.default=void 0;function helpers(){const e=r(71804);helpers=function(){return e};return e}function _traverse(){const e=r(4267);_traverse=function(){return e};return e}function _codeFrame(){const e=r(11796);_codeFrame=function(){return e};return e}function t(){const e=r(19761);t=function(){return e};return e}function _helperModuleTransforms(){const e=r(53224);_helperModuleTransforms=function(){return e};return e}function _semver(){const e=r(62519);_semver=function(){return e};return e}const i={enter(e,t){const s=e.node.loc;if(s){t.loc=s;e.stop()}}};class File{constructor(e,{code:t,ast:s,inputMap:r}){this._map=new Map;this.opts=void 0;this.declarations={};this.path=null;this.ast={};this.scope=void 0;this.metadata={};this.code="";this.inputMap=null;this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)};this.opts=e;this.code=t;this.ast=s;this.inputMap=r;this.path=_traverse().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext();this.scope=this.path.scope}get shebang(){const{interpreter:e}=this.path.node;return e?e.value:""}set shebang(e){if(e){this.path.get("interpreter").replaceWith(t().interpreterDirective(e))}else{this.path.get("interpreter").remove()}}set(e,t){if(e==="helpersNamespace"){throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility."+"If you are using @babel/plugin-external-helpers you will need to use a newer "+"version than the one you currently have installed. "+"If you have your own implementation, you'll want to explore using 'helperGenerator' "+"alongside 'file.availableHelper()'.")}this._map.set(e,t)}get(e){return this._map.get(e)}has(e){return this._map.has(e)}getModuleName(){return(0,_helperModuleTransforms().getModuleName)(this.opts,this.opts)}addImport(){throw new Error("This API has been removed. If you're looking for this "+"functionality in Babel 7, you should import the "+"'@babel/helper-module-imports' module and use the functions exposed "+" from that module, such as 'addNamed' or 'addDefault'.")}availableHelper(e,t){let s;try{s=helpers().minVersion(e)}catch(e){if(e.code!=="BABEL_HELPER_UNKNOWN")throw e;return false}if(typeof t!=="string")return true;if(_semver().valid(t))t=`^${t}`;return!_semver().intersects(`<${s}`,t)&&!_semver().intersects(`>=8.0.0`,t)}addHelper(e){const s=this.declarations[e];if(s)return t().cloneNode(s);const r=this.get("helperGenerator");if(r){const t=r(e);if(t)return t}helpers().ensure(e,File);const i=this.declarations[e]=this.scope.generateUidIdentifier(e);const n={};for(const t of helpers().getDependencies(e)){n[t]=this.addHelper(t)}const{nodes:a,globals:o}=helpers().get(e,e=>n[e],i,Object.keys(this.scope.getAllBindings()));o.forEach(e=>{if(this.path.scope.hasBinding(e,true)){this.path.scope.rename(e)}});a.forEach(e=>{e._compact=true});this.path.unshiftContainer("body",a);this.path.get("body").forEach(e=>{if(a.indexOf(e.node)===-1)return;if(e.isVariableDeclaration())this.scope.registerDeclaration(e)});return i}addTemplateObject(){throw new Error("This function has been moved into the template literal transform itself.")}buildCodeFrameError(e,t,s=SyntaxError){let r=e&&(e.loc||e._loc);if(!r&&e){const s={loc:null};(0,_traverse().default)(e,i,this.scope,s);r=s.loc;let n="This is an error on an internal node. Probably an internal error.";if(r)n+=" Location has been estimated.";t+=` (${n})`}if(r){const{highlightCode:e=true}=this.opts;t+="\n"+(0,_codeFrame().codeFrameColumns)(this.code,{start:{line:r.start.line,column:r.start.column+1},end:r.end&&r.start.line===r.end.line?{line:r.end.line,column:r.end.column+1}:undefined},{highlightCode:e})}return new s(t)}}s.default=File},12712:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateCode;function _convertSourceMap(){const e=s(36301);_convertSourceMap=function(){return e};return e}function _generator(){const e=s(23656);_generator=function(){return e};return e}var r=s(23687);function generateCode(e,t){const{opts:s,ast:i,code:n,inputMap:a}=t;const o=[];for(const t of e){for(const e of t){const{generatorOverride:t}=e;if(t){const e=t(i,s.generatorOpts,n,_generator().default);if(e!==undefined)o.push(e)}}}let l;if(o.length===0){l=(0,_generator().default)(i,s.generatorOpts,n)}else if(o.length===1){l=o[0];if(typeof l.then==="function"){throw new Error(`You appear to be using an async codegen plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version.`)}}else{throw new Error("More than one plugin attempted to override codegen.")}let{code:c,map:p}=l;if(p&&a){p=(0,r.default)(a.toObject(),p)}if(s.sourceMaps==="inline"||s.sourceMaps==="both"){c+="\n"+_convertSourceMap().fromObject(p).toComment()}if(s.sourceMaps==="inline"){p=null}return{outputCode:c,outputMap:p}}},23687:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=mergeSourceMap;function _sourceMap(){const e=s(96241);_sourceMap=function(){return e};return e}function mergeSourceMap(e,t){const s=buildMappingData(e);const r=buildMappingData(t);const i=new(_sourceMap().SourceMapGenerator);for(const{source:e}of s.sources){if(typeof e.content==="string"){i.setSourceContent(e.path,e.content)}}if(r.sources.length===1){const e=r.sources[0];const t=new Map;eachInputGeneratedRange(s,(s,r,n)=>{eachOverlappingGeneratedOutputRange(e,s,e=>{const s=makeMappingKey(e);if(t.has(s))return;t.set(s,e);i.addMapping({source:n.path,original:{line:r.line,column:r.columnStart},generated:{line:e.line,column:e.columnStart},name:r.name})})});for(const e of t.values()){if(e.columnEnd===Infinity){continue}const s={line:e.line,columnStart:e.columnEnd};const r=makeMappingKey(s);if(t.has(r)){continue}i.addMapping({generated:{line:s.line,column:s.columnStart}})}}const n=i.toJSON();if(typeof s.sourceRoot==="string"){n.sourceRoot=s.sourceRoot}return n}function makeMappingKey(e){return`${e.line}/${e.columnStart}`}function eachOverlappingGeneratedOutputRange(e,t,s){const r=filterApplicableOriginalRanges(e,t);for(const{generated:e}of r){for(const t of e){s(t)}}}function filterApplicableOriginalRanges({mappings:e},{line:t,columnStart:s,columnEnd:r}){return filterSortedArray(e,({original:e})=>{if(t>e.line)return-1;if(t=e.columnEnd)return-1;if(r<=e.columnStart)return 1;return 0})}function eachInputGeneratedRange(e,t){for(const{source:s,mappings:r}of e.sources){for(const{original:e,generated:i}of r){for(const r of i){t(r,e,s)}}}}function buildMappingData(e){const t=new(_sourceMap().SourceMapConsumer)(Object.assign({},e,{sourceRoot:null}));const s=new Map;const r=new Map;let i=null;t.computeColumnSpans();t.eachMapping(e=>{if(e.originalLine===null)return;let n=s.get(e.source);if(!n){n={path:e.source,content:t.sourceContentFor(e.source,true)};s.set(e.source,n)}let a=r.get(n);if(!a){a={source:n,mappings:[]};r.set(n,a)}const o={line:e.originalLine,columnStart:e.originalColumn,columnEnd:Infinity,name:e.name};if(i&&i.source===n&&i.mapping.line===e.originalLine){i.mapping.columnEnd=e.originalColumn}i={source:n,mapping:o};a.mappings.push({original:o,generated:t.allGeneratedPositionsFor({source:e.source,line:e.originalLine,column:e.originalColumn}).map(e=>({line:e.line,columnStart:e.column,columnEnd:e.lastColumn+1}))})},null,_sourceMap().SourceMapConsumer.ORIGINAL_ORDER);return{file:e.file,sourceRoot:e.sourceRoot,sources:Array.from(r.values())}}function findInsertionLocation(e,t){let s=0;let r=e.length;while(s=0){r=i}else{s=i+1}}let i=s;if(i=0&&t(e[i])>=0){i--}return i+1}return i}function filterSortedArray(e,t){const s=findInsertionLocation(e,t);const r=[];for(let i=s;i{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.run=run;function _traverse(){const e=s(4267);_traverse=function(){return e};return e}var r=s(43062);var i=s(63029);var n=s(2536);var a=s(38026);var o=s(12712);function*run(e,t,s){const r=yield*(0,a.default)(e.passes,(0,n.default)(e),t,s);const i=r.opts;try{yield*transformFile(r,e.passes)}catch(e){var l;e.message=`${(l=i.filename)!=null?l:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_TRANSFORM_ERROR"}throw e}let c,p;try{if(i.code!==false){({outputCode:c,outputMap:p}=(0,o.default)(e.passes,r))}}catch(e){var u;e.message=`${(u=i.filename)!=null?u:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_GENERATE_ERROR"}throw e}return{metadata:r.metadata,options:i,ast:i.ast===true?r.ast:null,code:c===undefined?null:c,map:p===undefined?null:p,sourceType:r.ast.program.sourceType}}function*transformFile(e,t){for(const s of t){const t=[];const n=[];const a=[];for(const o of s.concat([(0,i.default)()])){const s=new r.default(e,o.key,o.options);t.push([o,s]);n.push(s);a.push(o.visitor)}for(const[s,r]of t){const t=s.pre;if(t){const s=t.call(r,e);yield*[];if(isThenable(s)){throw new Error(`You appear to be using an plugin with an async .pre, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}const o=_traverse().default.visitors.merge(a,n,e.opts.wrapPluginVisitorMethod);(0,_traverse().default)(e.ast,o,e.scope);for(const[s,r]of t){const t=s.post;if(t){const s=t.call(r,e);yield*[];if(isThenable(s)){throw new Error(`You appear to be using an plugin with an async .post, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}}}function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},38026:(e,s,r)=>{"use strict";Object.defineProperty(s,"__esModule",{value:true});s.default=normalizeFile;function _fs(){const e=r(35747);_fs=function(){return e};return e}function _path(){const e=r(85622);_path=function(){return e};return e}function _debug(){const e=r(31185);_debug=function(){return e};return e}function t(){const e=r(19761);t=function(){return e};return e}function _convertSourceMap(){const e=r(36301);_convertSourceMap=function(){return e};return e}var i=r(92418);var n=r(5101);var a=r(11557);const o=_debug()("babel:transform:file");const l=1e6;function*normalizeFile(e,s,r,u){r=`${r||""}`;if(u){if(u.type==="Program"){u=t().file(u,[],[])}else if(u.type!=="File"){throw new Error("AST root must be a Program or File node")}if(s.cloneInputAst){u=(0,a.default)(u)}}else{u=yield*(0,n.default)(e,s,r)}let h=null;if(s.inputSourceMap!==false){if(typeof s.inputSourceMap==="object"){h=_convertSourceMap().fromObject(s.inputSourceMap)}if(!h){const e=extractComments(c,u);if(e){try{h=_convertSourceMap().fromComment(e)}catch(e){o("discarding unknown inline input sourcemap",e)}}}if(!h){const e=extractComments(p,u);if(typeof s.filename==="string"&&e){try{const t=p.exec(e);const r=_fs().readFileSync(_path().resolve(_path().dirname(s.filename),t[1]));if(r.length>l){o("skip merging input map > 1 MB")}else{h=_convertSourceMap().fromJSON(r)}}catch(e){o("discarding unknown file input sourcemap",e)}}else if(e){o("discarding un-loadable file input sourcemap")}}}return new i.default(s,{code:r,ast:u,inputMap:h})}const c=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/;const p=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function extractCommentsFromList(e,t,s){if(t){t=t.filter(({value:t})=>{if(e.test(t)){s=t;return false}return true})}return[t,s]}function extractComments(e,s){let r=null;t().traverseFast(s,t=>{[t.leadingComments,r]=extractCommentsFromList(e,t.leadingComments,r);[t.innerComments,r]=extractCommentsFromList(e,t.innerComments,r);[t.trailingComments,r]=extractCommentsFromList(e,t.trailingComments,r)});return r}},2536:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=normalizeOptions;function _path(){const e=s(85622);_path=function(){return e};return e}function normalizeOptions(e){const{filename:t,cwd:s,filenameRelative:r=(typeof t==="string"?_path().relative(s,t):"unknown"),sourceType:i="module",inputSourceMap:n,sourceMaps:a=!!n,sourceRoot:o=e.options.moduleRoot,sourceFileName:l=_path().basename(r),comments:c=true,compact:p="auto"}=e.options;const u=e.options;const h=Object.assign({},u,{parserOpts:Object.assign({sourceType:_path().extname(r)===".mjs"?"module":i,sourceFileName:t,plugins:[]},u.parserOpts),generatorOpts:Object.assign({filename:t,auxiliaryCommentBefore:u.auxiliaryCommentBefore,auxiliaryCommentAfter:u.auxiliaryCommentAfter,retainLines:u.retainLines,comments:c,shouldPrintComment:u.shouldPrintComment,compact:p,minified:u.minified,sourceMaps:a,sourceRoot:o,sourceFileName:l},u.generatorOpts)});for(const t of e.passes){for(const e of t){if(e.manipulateOptions){e.manipulateOptions(h,h.parserOpts)}}}return h}},43062:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class PluginPass{constructor(e,t,s){this._map=new Map;this.key=void 0;this.file=void 0;this.opts=void 0;this.cwd=void 0;this.filename=void 0;this.key=t;this.file=e;this.opts=s||{};this.cwd=e.opts.cwd;this.filename=e.opts.filename}set(e,t){this._map.set(e,t)}get(e){return this._map.get(e)}availableHelper(e,t){return this.file.availableHelper(e,t)}addHelper(e){return this.file.addHelper(e)}addImport(){return this.file.addImport()}buildCodeFrameError(e,t,s){return this.file.buildCodeFrameError(e,t,s)}}t.default=PluginPass;{PluginPass.prototype.getModuleName=function getModuleName(){return this.file.getModuleName()}}},88755:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;const s="$$ babel internal serialized type"+Math.random();function serialize(e,t){if(typeof t!=="bigint")return t;return{[s]:"BigInt",value:t.toString()}}function revive(e,t){if(!t||typeof t!=="object")return t;if(t[s]!=="BigInt")return t;return BigInt(t.value)}function _default(e){return JSON.parse(JSON.stringify(e,serialize),revive)}},11557:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;function _v(){const e=s(68987);_v=function(){return e};return e}var r=s(88755);function _default(e){if(_v().deserialize&&_v().serialize){return _v().deserialize(_v().serialize(e))}return(0,r.default)(e)}},11796:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var r=s(36860);let i=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const n=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,s){const r=Object.assign({column:0,line:-1},e.start);const i=Object.assign({},r,e.end);const{linesAbove:n=2,linesBelow:a=3}=s||{};const o=r.line;const l=r.column;const c=i.line;const p=i.column;let u=Math.max(o-(n+1),0);let h=Math.min(t.length,c+a);if(o===-1){u=0}if(c===-1){h=t.length}const f=c-o;const d={};if(f){for(let e=0;e<=f;e++){const s=e+o;if(!l){d[s]=true}else if(e===0){const e=t[s-1].length;d[s]=[l,e-l+1]}else if(e===f){d[s]=[0,p]}else{const r=t[s-e].length;d[s]=[0,r]}}}else{if(l===p){if(l){d[o]=[l,0]}else{d[o]=true}}else{d[o]=[l,p-l]}}return{start:u,end:h,markerLines:d}}function codeFrameColumns(e,t,s={}){const i=(s.highlightCode||s.forceColor)&&(0,r.shouldHighlight)(s);const a=(0,r.getChalk)(s);const o=getDefs(a);const l=(e,t)=>{return i?e(t):t};const c=e.split(n);const{start:p,end:u,markerLines:h}=getMarkerLines(t,c,s);const f=t.start&&typeof t.start.column==="number";const d=String(u).length;const y=i?(0,r.default)(e,s):e;let m=y.split(n).slice(p,u).map((e,t)=>{const r=p+1+t;const i=` ${r}`.slice(-d);const n=` ${i} |`;const a=h[r];const c=!h[r+1];if(a){let t="";if(Array.isArray(a)){const r=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const i=a[1]||1;t=["\n ",l(o.gutter,n.replace(/\d/g," "))," ",r,l(o.marker,"^").repeat(i)].join("");if(c&&s.message){t+=" "+l(o.message,s.message)}}return[l(o.marker,">"),l(o.gutter,n),e.length>0?` ${e}`:"",t].join("")}else{return` ${l(o.gutter,n)}${e.length>0?` ${e}`:""}`}}).join("\n");if(s.message&&!f){m=`${" ".repeat(d+1)}${s.message}\n${m}`}if(i){return a.reset(m)}else{return m}}function _default(e,t,s,r={}){if(!i){i=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}s=Math.max(s,0);const n={start:{column:s,line:t}};return codeFrameColumns(e,n,r)}},90676:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=analyzeScope;var r=s(39652);var i=s(15873);var n=s(37185);var a=_interopRequireDefault(s(97403));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o=s(26839);const l=s(17782);const c=s(96988);const p=r.types.FLIPPED_ALIAS_KEYS.Flow.concat(["ArrayPattern","ClassDeclaration","ClassExpression","FunctionDeclaration","FunctionExpression","Identifier","ObjectPattern","RestElement"]);const u=Object.entries(r.types.VISITOR_KEYS).reduce((e,[t,s])=>{if(!p.includes(s)){e[t]=s}return e},{});const h={callProperties:{type:"loop",values:["value"]},indexers:{type:"loop",values:["key","value"]},properties:{type:"loop",values:["argument","value"]},types:{type:"loop"},params:{type:"loop"},argument:{type:"single"},elementType:{type:"single"},qualification:{type:"single"},rest:{type:"single"},returnType:{type:"single"},typeAnnotation:{type:"typeAnnotation"},typeParameters:{type:"typeParameters"},id:{type:"id"}};class PatternVisitor extends l{ArrayPattern(e){e.elements.forEach(this.visit,this)}ObjectPattern(e){e.properties.forEach(this.visit,this)}}class Referencer extends c{visitPattern(e,t,s){if(!e){return}this._checkIdentifierOrVisit(e.typeAnnotation);if(r.types.isAssignmentPattern(e)){this._checkIdentifierOrVisit(e.left.typeAnnotation)}if(typeof t==="function"){s=t;t={processRightHandNodes:false}}const i=new PatternVisitor(this.options,e,s);i.visit(e);if(t.processRightHandNodes){i.rightHandNodes.forEach(this.visit,this)}}visitClass(e){this._visitArray(e.decorators);const t=this._nestTypeParamScope(e);this._visitTypeAnnotation(e.implements);this._visitTypeAnnotation(e.superTypeParameters&&e.superTypeParameters.params);super.visitClass(e);if(t){this.close(e)}}visitFunction(e){const t=this._nestTypeParamScope(e);this._checkIdentifierOrVisit(e.returnType);super.visitFunction(e);if(t){this.close(e)}}visitProperty(e){var t;if(((t=e.value)==null?void 0:t.type)==="TypeCastExpression"){this._visitTypeAnnotation(e.value)}this._visitArray(e.decorators);super.visitProperty(e)}InterfaceDeclaration(e){this._createScopeVariable(e,e.id);const t=this._nestTypeParamScope(e);this._visitArray(e.extends);this.visit(e.body);if(t){this.close(e)}}TypeAlias(e){this._createScopeVariable(e,e.id);const t=this._nestTypeParamScope(e);this.visit(e.right);if(t){this.close(e)}}ClassProperty(e){this._visitClassProperty(e)}ClassPrivateProperty(e){this._visitClassProperty(e)}PropertyDefinition(e){this._visitClassProperty(e)}ClassPrivateMethod(e){super.MethodDefinition(e)}DeclareModule(e){this._visitDeclareX(e)}DeclareFunction(e){this._visitDeclareX(e)}DeclareVariable(e){this._visitDeclareX(e)}DeclareClass(e){this._visitDeclareX(e)}OptionalMemberExpression(e){super.MemberExpression(e)}_visitClassProperty(e){this._visitTypeAnnotation(e.typeAnnotation);this.visitProperty(e)}_visitDeclareX(e){if(e.id){this._createScopeVariable(e,e.id)}const t=this._nestTypeParamScope(e);if(t){this.close(e)}}_createScopeVariable(e,t){this.currentScope().variableScope.__define(t,new i.Definition("Variable",t,e,null,null,null))}_nestTypeParamScope(e){if(!e.typeParameters){return null}const t=this.scopeManager.__currentScope;const s=new o.Scope(this.scopeManager,"type-parameters",t,e,false);this.scopeManager.__nestScope(s);for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.normalizeESLintConfig=normalizeESLintConfig;t.normalizeBabelParseConfig=normalizeBabelParseConfig;var r=s(39652);function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var s={};var r=Object.keys(e);var i,n;for(n=0;n=0)continue;s[i]=e[i]}return s}function normalizeESLintConfig(e){const{babelOptions:t={},ecmaVersion:s=2020,sourceType:r="module",allowImportExportEverywhere:i=false,requireConfigFile:n=true}=e,a=_objectWithoutPropertiesLoose(e,["babelOptions","ecmaVersion","sourceType","allowImportExportEverywhere","requireConfigFile"]);return Object.assign({babelOptions:t,ecmaVersion:s,sourceType:r,allowImportExportEverywhere:i,requireConfigFile:n},a)}function getParserPlugins(e){var t,s;const r=(t=(s=e.parserOpts)==null?void 0:s.plugins)!=null?t:[];const i={classFeatures:false};for(const e of r){if(Array.isArray(e)&&e[0]==="estree"){Object.assign(i,e[1]);break}}return[["estree",i],...r]}function normalizeBabelParseConfig(e){const t=Object.assign({sourceType:e.sourceType,filename:e.filePath},e.babelOptions,{parserOpts:Object.assign({allowImportExportEverywhere:e.allowImportExportEverywhere,allowReturnOutsideFunction:true,allowSuperOutsideMethod:true},e.babelOptions.parserOpts,{plugins:getParserPlugins(e.babelOptions),ranges:true,tokens:true}),caller:Object.assign({name:"@babel/eslint-parser"},e.babelOptions.caller)});if(e.requireConfigFile!==false){const e=(0,r.loadPartialConfig)(t);if(e!==null){if(!e.hasFilesystemConfig()){let t=`No Babel config file detected for ${e.options.filename}. Either disable config file checking with requireConfigFile: false, or configure Babel so that it can find the config files.`;if(e.options.filename.includes("node_modules")){t+=`\nIf you have a .babelrc.js file or use package.json#babel, keep in mind that it's not used when parsing dependencies. If you want your config to be applied to your whole app, consider using babel.config.js or babel.config.json instead.`}throw new Error(t)}return e.options}}return t}},58933:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=convertAST;var r=s(39652);var i=s(97403);function convertNodes(e,t){const s={noScope:true,enter(e){const{node:t}=e;if(t.innerComments){delete t.innerComments}if(t.trailingComments){delete t.trailingComments}if(t.leadingComments){delete t.leadingComments}},exit(e){const{node:t}=e;if(t.extra){delete t.extra}if(t!=null&&t.loc.identifierName){delete t.loc.identifierName}if(e.isTypeParameter()){t.type="Identifier";t.typeAnnotation=t.bound;delete t.bound}if(e.isQualifiedTypeIdentifier()){delete t.id}if(e.isObjectTypeProperty()){delete t.key}if(e.isObjectTypeIndexer()){delete t.id}if(e.isFunctionTypeParam()){delete t.name}if(e.isImportDeclaration()){delete t.isType}if(e.isTemplateLiteral()){for(let e=0;es.end){e.range[1]=s.end;e.loc.end.line=s.loc.end.line;e.loc.end.column=s.loc.end.column}}}else{if(!e.tokens.length){e.loc.start.line=1;e.loc.end.line=1}}if(e.body&&e.body.length>0){e.loc.start.line=e.body[0].loc.start.line;e.range[0]=e.body[0].start}}function convertAST(e,t){convertNodes(e,t);convertProgramNode(e)}},96489:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=convertComments;function convertComments(e){for(const t of e){if(t.type==="CommentBlock"){t.type="Block"}else if(t.type==="CommentLine"){t.type="Line"}if(!t.range){t.range=[t.start,t.end]}}}},73413:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=convertTokens;var r=s(39652);function convertTemplateType(e){let t=null;let s=[];const i=[];function addTemplateType(){const e=s[0];const t=s[s.length-1];const n=s.reduce((e,t)=>{if(t.value){e+=t.value}else if(t.type!==r.tokTypes.template){e+=t.type.label}return e},"");i.push({type:"Template",value:n,start:e.start,end:t.end,loc:{start:e.loc.start,end:t.loc.end}});s=[]}e.forEach(e=>{switch(e.type){case r.tokTypes.backQuote:if(t){i.push(t);t=null}s.push(e);if(s.length>1){addTemplateType()}break;case r.tokTypes.dollarBraceL:s.push(e);addTemplateType();break;case r.tokTypes.braceR:if(t){i.push(t)}t=e;break;case r.tokTypes.template:if(t){s.push(t);t=null}s.push(e);break;case r.tokTypes.eof:if(t){i.push(t)}break;default:if(t){i.push(t);t=null}i.push(e)}});return i}function convertToken(e,t){const s=e.type;e.range=[e.start,e.end];if(s===r.tokTypes.name){e.type="Identifier"}else if(s===r.tokTypes.semi||s===r.tokTypes.comma||s===r.tokTypes.parenL||s===r.tokTypes.parenR||s===r.tokTypes.braceL||s===r.tokTypes.braceR||s===r.tokTypes.slash||s===r.tokTypes.dot||s===r.tokTypes.bracketL||s===r.tokTypes.bracketR||s===r.tokTypes.ellipsis||s===r.tokTypes.arrow||s===r.tokTypes.pipeline||s===r.tokTypes.star||s===r.tokTypes.incDec||s===r.tokTypes.colon||s===r.tokTypes.question||s===r.tokTypes.template||s===r.tokTypes.backQuote||s===r.tokTypes.dollarBraceL||s===r.tokTypes.at||s===r.tokTypes.logicalOR||s===r.tokTypes.logicalAND||s===r.tokTypes.nullishCoalescing||s===r.tokTypes.bitwiseOR||s===r.tokTypes.bitwiseXOR||s===r.tokTypes.bitwiseAND||s===r.tokTypes.equality||s===r.tokTypes.relational||s===r.tokTypes.bitShift||s===r.tokTypes.plusMin||s===r.tokTypes.modulo||s===r.tokTypes.exponent||s===r.tokTypes.bang||s===r.tokTypes.tilde||s===r.tokTypes.doubleColon||s===r.tokTypes.hash||s===r.tokTypes.questionDot||s.isAssign){e.type="Punctuator";if(!e.value)e.value=s.label}else if(s===r.tokTypes.jsxTagStart){e.type="Punctuator";e.value="<"}else if(s===r.tokTypes.jsxTagEnd){e.type="Punctuator";e.value=">"}else if(s===r.tokTypes.jsxName){e.type="JSXIdentifier"}else if(s===r.tokTypes.jsxText){e.type="JSXText"}else if(s.keyword==="null"){e.type="Null"}else if(s.keyword==="false"||s.keyword==="true"){e.type="Boolean"}else if(s.keyword){e.type="Keyword"}else if(s===r.tokTypes.num){e.type="Numeric";e.value=t.slice(e.start,e.end)}else if(s===r.tokTypes.string){e.type="String";e.value=t.slice(e.start,e.end)}else if(s===r.tokTypes.regexp){e.type="RegularExpression";const t=e.value;e.regex={pattern:t.pattern,flags:t.flags};e.value=`/${t.pattern}/${t.flags}`}else if(s===r.tokTypes.bigint){e.type="Numeric";e.value=`${e.value}n`}if(typeof e.type!=="string"){delete e.type.rightAssociative}return e}function convertTokens(e,t){return convertTemplateType(e).filter(e=>e.type!=="CommentLine"&&e.type!=="CommentBlock").map(e=>convertToken(e,t))}},8334:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var r=_interopRequireDefault(s(73413));var i=_interopRequireDefault(s(96489));var n=_interopRequireDefault(s(58933));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _default(e,t){e.tokens=(0,r.default)(e.tokens,t);(0,i.default)(e.comments);(0,n.default)(e,t)}},28700:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parse=parse;t.parseForESLint=parseForESLint;var r=s(39652);var i=s(33133);var n=_interopRequireDefault(s(8334));var a=_interopRequireDefault(s(90676));var o=_interopRequireDefault(s(97403));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const l=s(62519);let c=null;function baseParse(e,t){const s=">=7.2.0";if(typeof c!=="boolean"){c=l.satisfies(r.version,s)}if(!c){throw new Error(`@babel/eslint-parser@${"7.13.14"} does not support @babel/core@${r.version}. Please upgrade to @babel/core@${s}.`)}let a;try{a=(0,r.parseSync)(e,(0,i.normalizeBabelParseConfig)(t))}catch(e){if(e instanceof SyntaxError){e.lineNumber=e.loc.line;e.column=e.loc.column}throw e}(0,n.default)(a,e);return a}function parse(e,t={}){return baseParse(e,(0,i.normalizeESLintConfig)(t))}function parseForESLint(e,t={}){const s=(0,i.normalizeESLintConfig)(t);const r=baseParse(e,s);const n=(0,a.default)(r,s);return{ast:r,scopeManager:n,visitorKeys:o.default}}},97403:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.conflictTypes=t.newTypes=void 0;var r=s(39652);var i=s(37185);const n={ChainExpression:i.KEYS.ChainExpression,ImportExpression:i.KEYS.ImportExpression,Literal:i.KEYS.Literal,MethodDefinition:["decorators"].concat(i.KEYS.MethodDefinition),Property:["decorators"].concat(i.KEYS.Property),PropertyDefinition:r.types.VISITOR_KEYS.ClassProperty,PrivateIdentifier:[]};t.newTypes=n;const a={ClassPrivateMethod:["decorators"].concat(i.KEYS.MethodDefinition),ExportAllDeclaration:i.KEYS.ExportAllDeclaration};t.conflictTypes=a;var o=Object.assign({},n,r.types.VISITOR_KEYS,a);t.default=o},37790:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getInclusionReasons=getInclusionReasons;var r=s(62519);var i=s(87059);var n=s(41953);function getInclusionReasons(e,t,s){const a=s[e]||{};return Object.keys(t).reduce((e,s)=>{const o=(0,n.getLowestImplementedVersion)(a,s);const l=t[s];if(!o){e[s]=(0,i.prettifyVersion)(l)}else{const t=(0,n.isUnreleasedVersion)(o,s);const a=(0,n.isUnreleasedVersion)(l,s);if(!a&&(t||r.lt(l.toString(),(0,n.semverify)(o)))){e[s]=(0,i.prettifyVersion)(l)}}return e},{})}},54263:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.targetsSupported=targetsSupported;t.isRequired=isRequired;t.default=filterItems;var r=s(62519);var i=s(70251);var n=s(41953);function targetsSupported(e,t){const s=Object.keys(e);if(s.length===0){return false}const i=s.filter(s=>{const i=(0,n.getLowestImplementedVersion)(t,s);if(!i){return true}const a=e[s];if((0,n.isUnreleasedVersion)(a,s)){return false}if((0,n.isUnreleasedVersion)(i,s)){return true}if(!r.valid(a.toString())){throw new Error(`Invalid version passed for target "${s}": "${a}". `+"Versions must be in semver format (major.minor.patch)")}return r.gt((0,n.semverify)(i),a.toString())});return i.length===0}function isRequired(e,t,{compatData:s=i,includes:r,excludes:n}={}){if(n!=null&&n.has(e))return false;if(r!=null&&r.has(e))return true;return!targetsSupported(t,s[e])}function filterItems(e,t,s,r,i,n,a){const o=new Set;const l={compatData:e,includes:t,excludes:s};for(const t in e){if(isRequired(t,r,l)){o.add(t)}else if(a){const e=a.get(t);if(e){o.add(e)}}}if(i){i.forEach(e=>!s.has(e)&&o.add(e))}if(n){n.forEach(e=>!t.has(e)&&o.delete(e))}return o}},55937:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isBrowsersQueryValid=isBrowsersQueryValid;t.default=getTargets;Object.defineProperty(t,"unreleasedLabels",{enumerable:true,get:function(){return o.unreleasedLabels}});Object.defineProperty(t,"TargetNames",{enumerable:true,get:function(){return l.TargetNames}});Object.defineProperty(t,"prettifyTargets",{enumerable:true,get:function(){return c.prettifyTargets}});Object.defineProperty(t,"getInclusionReasons",{enumerable:true,get:function(){return p.getInclusionReasons}});Object.defineProperty(t,"filterItems",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"isRequired",{enumerable:true,get:function(){return u.isRequired}});var r=s(3561);var i=s(69562);var n=s(89556);var a=s(41953);var o=s(81830);var l=s(53097);var c=s(87059);var p=s(37790);var u=s(54263);const h=n["es6.module"];const f=new i.OptionValidator("@babel/helper-compilation-targets");function validateTargetNames(e){const t=Object.keys(l.TargetNames);for(const s of Object.keys(e)){if(!(s in l.TargetNames)){throw new Error(f.formatMessage(`'${s}' is not a valid target\n- Did you mean '${(0,i.findSuggestion)(s,t)}'?`))}}return e}function isBrowsersQueryValid(e){return typeof e==="string"||Array.isArray(e)&&e.every(e=>typeof e==="string")}function validateBrowsers(e){f.invariant(e===undefined||isBrowsersQueryValid(e),`'${String(e)}' is not a valid browserslist query`);return e}function getLowestVersions(e){return e.reduce((e,t)=>{const[s,r]=t.split(" ");const i=o.browserNameMap[s];if(!i){return e}try{const t=r.split("-")[0].toLowerCase();const n=(0,a.isUnreleasedVersion)(t,s);if(!e[i]){e[i]=n?t:(0,a.semverify)(t);return e}const o=e[i];const l=(0,a.isUnreleasedVersion)(o,s);if(l&&n){e[i]=(0,a.getLowestUnreleased)(o,t,s)}else if(l){e[i]=(0,a.semverify)(t)}else if(!l&&!n){const s=(0,a.semverify)(t);e[i]=(0,a.semverMin)(o,s)}}catch(e){}return e},{})}function outputDecimalWarning(e){if(!e.length){return}console.warn("Warning, the following targets are using a decimal version:\n");e.forEach(({target:e,value:t})=>console.warn(` ${e}: ${t}`));console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`)}function semverifyTarget(e,t){try{return(0,a.semverify)(t)}catch(s){throw new Error(f.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}const d={__default(e,t){const s=(0,a.isUnreleasedVersion)(t,e)?t.toLowerCase():semverifyTarget(e,t);return[e,s]},node(e,t){const s=t===true||t==="current"?process.versions.node:semverifyTarget(e,t);return[e,s]}};function generateTargets(e){const t=Object.assign({},e);delete t.esmodules;delete t.browsers;return t}function resolveTargets(e){const t=r(e,{mobileToDesktop:true});return getLowestVersions(t)}function getTargets(e={},t={}){var s;let{browsers:i,esmodules:n}=e;const{configPath:o="."}=t;validateBrowsers(i);const l=generateTargets(e);let c=validateTargetNames(l);const p=!!i;const u=p||Object.keys(c).length>0;const f=!t.ignoreBrowserslistConfig&&!u;if(!i&&f){i=r.loadConfig({config:t.configFile,path:o,env:t.browserslistEnv});if(i==null){{i=[]}}}if(n&&(n!=="intersect"||!((s=i)!=null&&s.length))){i=Object.keys(h).map(e=>`${e} >= ${h[e]}`).join(", ");n=false}if(i){const e=resolveTargets(i);if(n==="intersect"){for(const t of Object.keys(e)){const s=e[t];if(h[t]){e[t]=(0,a.getHighestUnreleased)(s,(0,a.semverify)(h[t]),t)}else{delete e[t]}}}c=Object.assign(e,c)}const y={};const m=[];for(const e of Object.keys(c).sort()){var g;const t=c[e];if(typeof t==="number"&&t%1!==0){m.push({target:e,value:t})}const s=(g=d[e])!=null?g:d.__default;const[r,i]=s(e,t);if(i){y[r]=i}}outputDecimalWarning(m);return y}},53097:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TargetNames=void 0;const s={node:"node",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung",rhino:"rhino"};t.TargetNames=s},87059:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.prettifyVersion=prettifyVersion;t.prettifyTargets=prettifyTargets;var r=s(62519);var i=s(81830);function prettifyVersion(e){if(typeof e!=="string"){return e}const t=[r.major(e)];const s=r.minor(e);const i=r.patch(e);if(s||i){t.push(s)}if(i){t.push(i)}return t.join(".")}function prettifyTargets(e){return Object.keys(e).reduce((t,s)=>{let r=e[s];const n=i.unreleasedLabels[s];if(typeof r==="string"&&n!==r){r=prettifyVersion(r)}t[s]=r;return t},{})}},81830:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.browserNameMap=t.unreleasedLabels=void 0;const s={safari:"tp"};t.unreleasedLabels=s;const r={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",op_mob:"opera",opera:"opera",safari:"safari",samsung:"samsung"};t.browserNameMap=r},41953:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.semverMin=semverMin;t.semverify=semverify;t.isUnreleasedVersion=isUnreleasedVersion;t.getLowestUnreleased=getLowestUnreleased;t.getHighestUnreleased=getHighestUnreleased;t.getLowestImplementedVersion=getLowestImplementedVersion;var r=s(62519);var i=s(69562);var n=s(81830);const a=/^(\d+|\d+.\d+)$/;const o=new i.OptionValidator("@babel/helper-compilation-targets");function semverMin(e,t){return e&&r.lt(e,t)?e:t}function semverify(e){if(typeof e==="string"&&r.valid(e)){return e}o.invariant(typeof e==="number"||typeof e==="string"&&a.test(e),`'${e}' is not a valid version`);const t=e.toString().split(".");while(t.length<3){t.push("0")}return t.join(".")}function isUnreleasedVersion(e,t){const s=n.unreleasedLabels[t];return!!s&&s===e.toString().toLowerCase()}function getLowestUnreleased(e,t,s){const r=n.unreleasedLabels[s];const i=[e,t].some(e=>e===r);if(i){return e===i?t:e||t}return semverMin(e,t)}function getHighestUnreleased(e,t,s){return getLowestUnreleased(e,t,s)===e?t:e}function getLowestImplementedVersion(e,t){const s=e[t];if(!s&&t==="android"){return e.chrome}return s}},52647:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=s(19761);function _interopNamespace(e){if(e&&e.__esModule)return e;var t=Object.create(null);if(e){Object.keys(e).forEach(function(s){if(s!=="default"){var r=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(t,s,r.get?r:{enumerable:true,get:function(){return e[s]}})}})}t["default"]=e;return Object.freeze(t)}var i=_interopNamespace(r);function willPathCastToBoolean(e){const t=e;const{node:s,parentPath:r}=t;if(r.isLogicalExpression()){const{operator:e,right:t}=r.node;if(e==="&&"||e==="||"||e==="??"&&s===t){return willPathCastToBoolean(r)}}if(r.isSequenceExpression()){const{expressions:e}=r.node;if(e[e.length-1]===s){return willPathCastToBoolean(r)}else{return true}}return r.isConditional({test:s})||r.isUnaryExpression({operator:"!"})||r.isLoop({test:s})}class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const t=this._map.get(e);const{value:s}=t;t.count--;if(t.count===0){return i.assignmentExpression("=",s,e)}return s}set(e,t,s){return this._map.set(e,{count:s,value:t})}}function toNonOptional(e,t){const{node:s}=e;if(i.isOptionalMemberExpression(s)){return i.memberExpression(t,s.property,s.computed)}if(e.isOptionalCallExpression()){const s=e.get("callee");if(e.node.optional&&s.isOptionalMemberExpression()){const{object:r}=s.node;const n=e.scope.maybeGenerateMemoised(r)||r;s.get("object").replaceWith(i.assignmentExpression("=",n,r));return i.callExpression(i.memberExpression(t,i.identifier("call")),[n,...e.node.arguments])}return i.callExpression(t,e.node.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:t,container:s,listKey:r}=e;const i=t.node;if(r){if(s!==i[r])return true}else{if(s!==i)return true}e=t}return false}const n={memoise(){},handle(e,t){const{node:s,parent:r,parentPath:n,scope:a}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const o=e.find(({node:t,parent:s})=>{if(i.isOptionalMemberExpression(s)){return s.optional||s.object!==t}if(i.isOptionalCallExpression(s)){return t!==e.node&&s.optional||s.callee!==t}return true});if(a.path.isPattern()){o.replaceWith(i.callExpression(i.arrowFunctionExpression([],o.node),[]));return}const l=willPathCastToBoolean(o);const c=o.parentPath;if(c.isUpdateExpression({argument:s})||c.isAssignmentExpression({left:s})){throw e.buildCodeFrameError(`can't handle assignment`)}const p=c.isUnaryExpression({operator:"delete"});if(p&&o.isOptionalMemberExpression()&&o.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let u=e;for(;;){if(u.isOptionalMemberExpression()){if(u.node.optional)break;u=u.get("object");continue}else if(u.isOptionalCallExpression()){if(u.node.optional)break;u=u.get("callee");continue}throw new Error(`Internal error: unexpected ${u.node.type}`)}const h=u.isOptionalMemberExpression()?"object":"callee";const f=u.node[h];const d=a.maybeGenerateMemoised(f);const y=d!=null?d:f;const m=n.isOptionalCallExpression({callee:s});const g=e=>m;const b=n.isCallExpression({callee:s});u.replaceWith(toNonOptional(u,y));if(g()){if(r.optional){n.replaceWith(this.optionalCall(e,r.arguments))}else{n.replaceWith(this.call(e,r.arguments))}}else if(b){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}let x=e.node;for(let t=e;t!==o;){const e=t.parentPath;if(e===o&&g()&&r.optional){x=e.node;break}x=toNonOptional(e,x);t=e}let v;const w=o.parentPath;if(i.isMemberExpression(x)&&w.isOptionalCallExpression({callee:o.node,optional:true})){const{object:t}=x;v=e.scope.maybeGenerateMemoised(t);if(v){x.object=i.assignmentExpression("=",v,t)}}let P=o;if(p){P=w;x=w.node}const E=d?i.assignmentExpression("=",i.cloneNode(y),i.cloneNode(f)):i.cloneNode(y);if(l){let e;if(t){e=i.binaryExpression("!=",E,i.nullLiteral())}else{e=i.logicalExpression("&&",i.binaryExpression("!==",E,i.nullLiteral()),i.binaryExpression("!==",i.cloneNode(y),a.buildUndefinedNode()))}P.replaceWith(i.logicalExpression("&&",e,x))}else{let e;if(t){e=i.binaryExpression("==",E,i.nullLiteral())}else{e=i.logicalExpression("||",i.binaryExpression("===",E,i.nullLiteral()),i.binaryExpression("===",i.cloneNode(y),a.buildUndefinedNode()))}P.replaceWith(i.conditionalExpression(e,p?i.booleanLiteral(true):a.buildUndefinedNode(),x))}if(v){const e=w.node;w.replaceWith(i.optionalCallExpression(i.optionalMemberExpression(e.callee,i.identifier("call"),false,true),[i.cloneNode(v),...e.arguments],false))}return}if(i.isUpdateExpression(r,{argument:s})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,prefix:a}=r;this.memoise(e,2);const o=i.binaryExpression(t[0],i.unaryExpression("+",this.get(e)),i.numericLiteral(1));if(a){n.replaceWith(this.set(e,o))}else{const{scope:t}=e;const r=t.generateUidIdentifierBasedOnNode(s);t.push({id:r});o.left=i.assignmentExpression("=",i.cloneNode(r),o.left);n.replaceWith(i.sequenceExpression([this.set(e,o),i.cloneNode(r)]))}return}if(n.isAssignmentExpression({left:s})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,right:s}=n.node;if(t==="="){n.replaceWith(this.set(e,s))}else{const r=t.slice(0,-1);if(i.LOGICAL_OPERATORS.includes(r)){this.memoise(e,1);n.replaceWith(i.logicalExpression(r,this.get(e),this.set(e,s)))}else{this.memoise(e,2);n.replaceWith(this.set(e,i.binaryExpression(r,this.get(e),s)))}}return}if(n.isCallExpression({callee:s})){n.replaceWith(this.call(e,n.node.arguments));return}if(n.isOptionalCallExpression({callee:s})){if(a.path.isPattern()){n.replaceWith(i.callExpression(i.arrowFunctionExpression([],n.node),[]));return}n.replaceWith(this.optionalCall(e,n.node.arguments));return}if(n.isForXStatement({left:s})||n.isObjectProperty({value:s})&&n.parentPath.isObjectPattern()||n.isAssignmentPattern({left:s})&&n.parentPath.isObjectProperty({value:r})&&n.parentPath.parentPath.isObjectPattern()||n.isArrayPattern()||n.isAssignmentPattern({left:s})&&n.parentPath.isArrayPattern()||n.isRestElement()){e.replaceWith(this.destructureSet(e));return}if(n.isTaggedTemplateExpression()){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}}};function memberExpressionToFunctions(e,t,s){e.traverse(t,Object.assign({},n,s,{memoiser:new AssignmentMemoiser}))}t.default=memberExpressionToFunctions},62484:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(42357);var i=s(19761);class ImportBuilder{constructor(e,t,s){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=s;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(i.importDeclaration([],i.stringLiteral(this._importedSource)));return this}require(){this._statements.push(i.expressionStatement(i.callExpression(i.identifier("require"),[i.stringLiteral(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const s=this._statements[this._statements.length-1];r(s.type==="ImportDeclaration");r(s.specifiers.length===0);s.specifiers=[i.importNamespaceSpecifier(t)];this._resultName=i.cloneNode(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];r(t.type==="ImportDeclaration");r(t.specifiers.length===0);t.specifiers=[i.importDefaultSpecifier(e)];this._resultName=i.cloneNode(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const s=this._statements[this._statements.length-1];r(s.type==="ImportDeclaration");r(s.specifiers.length===0);s.specifiers=[i.importSpecifier(e,i.identifier(t))];this._resultName=i.cloneNode(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){r(this._resultName);t=i.expressionStatement(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=i.variableDeclaration("var",[i.variableDeclarator(e,t.expression)]);this._resultName=i.cloneNode(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.callExpression(e,[t.expression])}else if(t.type==="VariableDeclaration"){r(t.declarations.length===1);t.declarations[0].init=i.callExpression(e,[t.declarations[0].init])}else{r.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i.memberExpression(t.expression,i.identifier(e))}else if(t.type==="VariableDeclaration"){r(t.declarations.length===1);t.declarations[0].init=i.memberExpression(t.declarations[0].init,i.identifier(e))}else{r.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=i.memberExpression(this._resultName,i.identifier(e))}}t.default=ImportBuilder},13420:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(42357);var i=s(19761);var n=s(62484);var a=s(78061);class ImportInjector{constructor(e,t,s){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const r=e.find(e=>e.isProgram());this._programPath=r;this._programScope=r.scope;this._hub=r.hub;this._defaultOpts=this._applyDefaults(t,s,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,s){r(typeof e==="string");return this._generateImport(this._applyDefaults(t,s),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,s=false){const i=[];if(typeof e==="string"){i.push({importedSource:e});i.push(t)}else{r(!t,"Unexpected secondary arguments.");i.push(e)}const n=Object.assign({},this._defaultOpts);for(const e of i){if(!e)continue;Object.keys(n).forEach(t=>{if(e[t]!==undefined)n[t]=e[t]});if(!s){if(e.nameHint!==undefined)n.nameHint=e.nameHint;if(e.blockHoist!==undefined)n.blockHoist=e.blockHoist}}return n}_generateImport(e,t){const s=t==="default";const r=!!t&&!s;const o=t===null;const{importedSource:l,importedType:c,importedInterop:p,importingInterop:u,ensureLiveReference:h,ensureNoContext:f,nameHint:d,importPosition:y,blockHoist:m}=e;let g=d||t;const b=(0,a.default)(this._programPath);const x=b&&u==="node";const v=b&&u==="babel";if(y==="after"&&!b){throw new Error(`"importPosition": "after" is only supported in modules`)}const w=new n.default(l,this._programScope,this._hub);if(c==="es6"){if(!x&&!v){throw new Error("Cannot import an ES6 module from CommonJS")}w.import();if(o){w.namespace(d||l)}else if(s||r){w.named(g,t)}}else if(c!=="commonjs"){throw new Error(`Unexpected interopType "${c}"`)}else if(p==="babel"){if(x){g=g!=="default"?g:l;const e=`${l}$es6Default`;w.import();if(o){w.default(e).var(g||l).wildcardInterop()}else if(s){if(h){w.default(e).var(g||l).defaultInterop().read("default")}else{w.default(e).var(g).defaultInterop().prop(t)}}else if(r){w.default(e).read(t)}}else if(v){w.import();if(o){w.namespace(g||l)}else if(s||r){w.named(g,t)}}else{w.require();if(o){w.var(g||l).wildcardInterop()}else if((s||r)&&h){if(s){g=g!=="default"?g:l;w.var(g).read(t);w.defaultInterop()}else{w.var(l).read(t)}}else if(s){w.var(g).defaultInterop().prop(t)}else if(r){w.var(g).prop(t)}}}else if(p==="compiled"){if(x){w.import();if(o){w.default(g||l)}else if(s||r){w.default(l).read(g)}}else if(v){w.import();if(o){w.namespace(g||l)}else if(s||r){w.named(g,t)}}else{w.require();if(o){w.var(g||l)}else if(s||r){if(h){w.var(l).read(g)}else{w.prop(t).var(g)}}}}else if(p==="uncompiled"){if(s&&h){throw new Error("No live reference for commonjs default")}if(x){w.import();if(o){w.default(g||l)}else if(s){w.default(g)}else if(r){w.default(l).read(g)}}else if(v){w.import();if(o){w.default(g||l)}else if(s){w.default(g)}else if(r){w.named(g,t)}}else{w.require();if(o){w.var(g||l)}else if(s){w.var(g)}else if(r){if(h){w.var(l).read(g)}else{w.var(g).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:P,resultName:E}=w.done();this._insertStatements(P,y,m);if((s||r)&&f&&E.type!=="Identifier"){return i.sequenceExpression([i.numericLiteral(0),E])}return E}_insertStatements(e,t="before",s=3){const r=this._programPath.get("body");if(t==="after"){for(let t=r.length-1;t>=0;t--){if(r[t].isImportDeclaration()){r[t].insertAfter(e);return}}}else{e.forEach(e=>{e._blockHoist=s});const t=r.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t.default=ImportInjector},49834:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return r.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return i.default}});var r=s(13420);var i=s(78061);function addDefault(e,t,s){return new r.default(e).addDefault(t,s)}function addNamed(e,t,s,i){return new r.default(e).addNamed(t,s,i)}function addNamespace(e,t,s){return new r.default(e).addNamespace(t,s)}function addSideEffect(e,t,s){return new r.default(e).addSideEffect(t,s)}},78061:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},73865:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getModuleName;{const e=getModuleName;t.default=getModuleName=function getModuleName(t,s){var r,i,n,a;return e(t,{moduleId:(r=s.moduleId)!=null?r:t.moduleId,moduleIds:(i=s.moduleIds)!=null?i:t.moduleIds,getModuleId:(n=s.getModuleId)!=null?n:t.getModuleId,moduleRoot:(a=s.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:s,filenameRelative:r=s,sourceRoot:i=t.moduleRoot}=e;const{moduleId:n,moduleIds:a=!!n,getModuleId:o,moduleRoot:l=i}=t;if(!a)return null;if(n!=null&&!o){return n}let c=l!=null?l+"/":"";if(r){const e=i!=null?new RegExp("^"+i+"/?"):"";c+=r.replace(e,"").replace(/\.(\w*?)$/,"")}c=c.replace(/\\/g,"/");if(o){return o(c)||c}else{return c}}},53224:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;t.ensureStatementsHoisted=ensureStatementsHoisted;t.wrapInterop=wrapInterop;t.buildNamespaceInitStatements=buildNamespaceInitStatements;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.isModule}});Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return c.hasExports}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return c.isSideEffectImport}});Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});var r=s(42357);var i=s(19761);var n=s(36900);var a=s(49834);var o=s(7161);var l=s(13361);var c=s(252);var p=s(73865);function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:s,strict:n,allowTopLevelThis:p,strictMode:u,noInterop:h,importInterop:f=(h?"none":"babel"),lazy:d,esNamespaceOnly:y,constantReexports:m=t,enumerableModuleMeta:g=t,noIncompleteNsImportDetection:b}){(0,c.validateImportInteropOption)(f);r((0,a.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const x=(0,c.default)(e,s,{importInterop:f,initializeReexports:m,lazy:d,esNamespaceOnly:y});if(!p){(0,o.default)(e)}(0,l.default)(e,x);if(u!==false){const t=e.node.directives.some(e=>{return e.value.value==="use strict"});if(!t){e.unshiftContainer("directives",i.directive(i.directiveLiteral("use strict")))}}const v=[];if((0,c.hasExports)(x)&&!n){v.push(buildESModuleHeader(x,g))}const w=buildExportNameListDeclaration(e,x);if(w){x.exportNameListName=w.name;v.push(w.statement)}v.push(...buildExportInitializationStatements(e,x,m,b));return{meta:x,headers:v}}function ensureStatementsHoisted(e){e.forEach(e=>{e._blockHoist=3})}function wrapInterop(e,t,s){if(s==="none"){return null}if(s==="node-namespace"){return i.callExpression(e.hub.addHelper("interopRequireWildcard"),[t,i.booleanLiteral(true)])}else if(s==="node-default"){return null}let r;if(s==="default"){r="interopRequireDefault"}else if(s==="namespace"){r="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${s}`)}return i.callExpression(e.hub.addHelper(r),[t])}function buildNamespaceInitStatements(e,t,s=false){const r=[];let a=i.identifier(t.name);if(t.lazy)a=i.callExpression(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;r.push(n.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:i.cloneNode(a)}))}if(s){r.push(...h(e,t,true))}for(const s of t.reexportNamespace){r.push((t.lazy?n.default.statement` Object.defineProperty(EXPORTS, "NAME", { enumerable: true, get: function() { return NAMESPACE; } }); - `:i.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:r,NAMESPACE:s.cloneNode(a)}))}if(t.reexportAll){const i=buildNamespaceReexport(e,s.cloneNode(a),r);i.loc=t.reexportAll.loc;n.push(i)}return n}const f={constant:i.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:i.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:(0,i.default)` + `:n.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:s,NAMESPACE:i.cloneNode(a)}))}if(t.reexportAll){const n=buildNamespaceReexport(e,i.cloneNode(a),s);n.loc=t.reexportAll.loc;r.push(n)}return r}const u={constant:n.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:n.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:(0,n.default)` Object.defineProperty(EXPORTS, "EXPORT_NAME", { enumerable: true, get: function() { return NAMESPACE_IMPORT; }, }); - `};const c=(e,t,r)=>{const n=t.lazy?s.callExpression(s.identifier(t.name),[]):s.identifier(t.name);const{stringSpecifiers:i}=e;return Array.from(t.reexports,([a,o])=>{let l=s.cloneNode(n);if(o==="default"&&t.interop==="node-default"){}else if(i.has(o)){l=s.memberExpression(l,s.stringLiteral(o),true)}else{l=s.memberExpression(l,s.identifier(o))}const u={EXPORTS:e.exportName,EXPORT_NAME:a,NAMESPACE_IMPORT:l};if(r||s.isIdentifier(l)){if(i.has(a)){return f.constantComputed(u)}else{return f.constant(u)}}else{return f.spec(u)}})};function buildESModuleHeader(e,t=false){return(t?i.default.statement` + `};const h=(e,t,s)=>{const r=t.lazy?i.callExpression(i.identifier(t.name),[]):i.identifier(t.name);const{stringSpecifiers:n}=e;return Array.from(t.reexports,([a,o])=>{let l=i.cloneNode(r);if(o==="default"&&t.interop==="node-default"){}else if(n.has(o)){l=i.memberExpression(l,i.stringLiteral(o),true)}else{l=i.memberExpression(l,i.identifier(o))}const c={EXPORTS:e.exportName,EXPORT_NAME:a,NAMESPACE_IMPORT:l};if(s||i.isIdentifier(l)){if(n.has(a)){return u.constantComputed(c)}else{return u.constant(c)}}else{return u.spec(c)}})};function buildESModuleHeader(e,t=false){return(t?n.default.statement` EXPORTS.__esModule = true; - `:i.default.statement` + `:n.default.statement` Object.defineProperty(EXPORTS, "__esModule", { value: true, }); - `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,r){return(r?i.default.statement` + `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,s){return(s?n.default.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; @@ -4071,7 +4071,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m EXPORTS[key] = NAMESPACE[key]; }); - `:i.default.statement` + `:n.default.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; @@ -4084,13 +4084,13 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }, }); }); - `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,i.default)` + `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,n.default)` if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return; - `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const r=Object.create(null);for(const e of t.local.values()){for(const t of e.names){r[t]=true}}let n=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){r[t]=true}for(const t of e.reexportNamespace){r[t]=true}n=n||!!e.reexportAll}if(!n||Object.keys(r).length===0)return null;const i=e.scope.generateUidIdentifier("exportNames");delete r.default;return{name:i.name,statement:s.variableDeclaration("var",[s.variableDeclarator(i,s.valueToNode(r))])}}function buildExportInitializationStatements(e,t,r=false,n=false){const i=[];const a=[];for(const[e,r]of t.local){if(r.kind==="import"){}else if(r.kind==="hoisted"){i.push(buildInitStatement(t,r.names,s.identifier(e)))}else{a.push(...r.names)}}for(const e of t.source.values()){if(!r){i.push(...c(t,e,false))}for(const t of e.reexportNamespace){a.push(t)}}if(!n){i.push(...chunk(a,100).map(r=>{return buildInitStatement(t,r,e.scope.buildUndefinedNode())}))}return i}const d={computed:i.default.expression`EXPORTS["NAME"] = VALUE`,default:i.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,r){const{stringSpecifiers:n,exportName:i}=e;return s.expressionStatement(t.reduce((e,t)=>{const r={EXPORTS:i,NAME:t,VALUE:e};if(n.has(t)){return d.computed(r)}else{return d.default(r)}},r))}function chunk(e,t){const r=[];for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;t.default=normalizeModuleAndLoadMetadata;var n=r(85622);var s=r(86607);var i=r(76729);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t){if(typeof e==="function"){return validateImportInteropOption(e(t))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:r,initializeReexports:n=false,lazy:s=false,esNamespaceOnly:i=false}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const a=new Set;nameAnonymousExports(e);const{local:o,source:l,hasExports:u}=getModuleMetadata(e,{initializeReexports:n,lazy:s},a);removeModuleDeclarations(e);for(const[,e]of l){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(r,e.source);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(i&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:u,local:o,source:l,stringSpecifiers:a}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const r=e.node.value;if(!(0,s.isIdentifierName)(r)){t.add(r)}return r}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:r},s){const i=getLocalExportMetadata(e,r,s);const a=new Map;const o=t=>{const r=t.value;let s=a.get(r);if(!s){s={name:e.scope.generateUidIdentifier((0,n.basename)(r,(0,n.extname)(r))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:r};a.set(r,s)}return s};let l=false;e.get("body").forEach(e=>{if(e.isImportDeclaration()){const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{if(e.isImportDefaultSpecifier()){const r=e.get("local").node.name;t.imports.set(r,"default");const n=i.get(r);if(n){i.delete(r);n.names.forEach(e=>{t.reexports.set(e,"default")})}}else if(e.isImportNamespaceSpecifier()){const r=e.get("local").node.name;t.importsNamespace.add(r);const n=i.get(r);if(n){i.delete(r);n.names.forEach(e=>{t.reexportNamespace.add(e)})}}else if(e.isImportSpecifier()){const r=getExportSpecifierName(e.get("imported"),s);const n=e.get("local").node.name;t.imports.set(n,r);const a=i.get(n);if(a){i.delete(n);a.names.forEach(e=>{t.reexports.set(e,r)})}}})}else if(e.isExportAllDeclaration()){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{assertExportSpecifier(e);const r=getExportSpecifierName(e.get("local"),s);const n=getExportSpecifierName(e.get("exported"),s);t.reexports.set(n,r);if(n==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}})}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}});for(const e of a.values()){let t=false;let r=false;if(e.importsNamespace.size>0){t=true;r=true}if(e.reexportAll){r=true}for(const n of e.imports.values()){if(n==="default")t=true;else r=true}for(const n of e.reexports.values()){if(n==="default")t=true;else r=true}if(t&&r){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,r]of a){if(t!==false&&!(isSideEffectImport(r)||r.reexportAll)){if(t===true){r.lazy=!/\./.test(e)}else if(Array.isArray(t)){r.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){r.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:l,local:i,source:a}}function getLocalExportMetadata(e,t,r){const n=new Map;e.get("body").forEach(e=>{let r;if(e.isImportDeclaration()){r="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach(e=>{assertExportSpecifier(e);n.set(e.get("local").node.name,"block")});return}}if(e.isFunctionDeclaration()){r="hoisted"}else if(e.isClassDeclaration()){r="block"}else if(e.isVariableDeclaration({kind:"var"})){r="var"}else if(e.isVariableDeclaration()){r="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach(e=>{n.set(e,r)})});const s=new Map;const i=e=>{const t=e.node.name;let r=s.get(t);if(!r){const i=n.get(t);if(i===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}r={names:[],kind:i};s.set(t,r)}return r};e.get("body").forEach(e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const r=t.getOuterBindingIdentifierPaths();Object.keys(r).forEach(e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}i(r[e]).names.push(e)})}else{e.get("specifiers").forEach(e=>{const t=e.get("local");const n=e.get("exported");const s=i(t);const a=getExportSpecifierName(n,r);if(a==="__esModule"){throw n.buildCodeFrameError('Illegal export "__esModule".')}s.names.push(a)})}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){i(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}});return s}function nameAnonymousExports(e){e.get("body").forEach(e=>{if(!e.isExportDefaultDeclaration())return;(0,i.default)(e)})}function removeModuleDeclarations(e){e.get("body").forEach(e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}})}},13361:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteLiveReferences;var n=r(42357);var s=r(57012);var i=r(36900);var a=r(46511);function rewriteLiveReferences(e,t){const r=new Map;const n=new Map;const i=t=>{e.requeue(t)};for(const[e,n]of t.source){for(const[t,s]of n.imports){r.set(t,[e,s,null])}for(const t of n.importsNamespace){r.set(t,[e,null,t])}}for(const[e,r]of t.local){let t=n.get(e);if(!t){t=[];n.set(e,t)}t.push(...r.names)}const l={metadata:t,requeueInParent:i,scope:e.scope,exported:n};e.traverse(o,l);(0,a.default)(e,new Set([...Array.from(r.keys()),...Array.from(n.keys())]));const u={seen:new WeakSet,metadata:t,requeueInParent:i,scope:e.scope,imported:r,exported:n,buildImportReference:([e,r,n],i)=>{const a=t.source.get(e);if(n){if(a.lazy)i=s.callExpression(i,[]);return i}let o=s.identifier(a.name);if(a.lazy)o=s.callExpression(o,[]);if(r==="default"&&a.interop==="node-default"){return o}const l=t.stringSpecifiers.has(r);return s.memberExpression(o,l?s.stringLiteral(r):s.identifier(r),l)}};e.traverse(p,u)}const o={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;const{id:i}=e.node;if(!i)throw new Error("Expected class to have a name");const a=i.name;const o=r.get(a)||[];if(o.length>0){const r=s.expressionStatement(l(n,o,s.identifier(a)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(i=>{const a=r.get(i)||[];if(a.length>0){const r=s.expressionStatement(l(n,a,s.identifier(i)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}})}};const l=(e,t,r)=>{return(t||[]).reduce((t,r)=>{const{stringSpecifiers:n}=e;const i=n.has(r);return s.assignmentExpression("=",s.memberExpression(s.identifier(e.exportName),i?s.stringLiteral(r):s.identifier(r),i),t)},r)};const u=e=>{return i.default.expression.ast` + `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const s=Object.create(null);for(const e of t.local.values()){for(const t of e.names){s[t]=true}}let r=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){s[t]=true}for(const t of e.reexportNamespace){s[t]=true}r=r||!!e.reexportAll}if(!r||Object.keys(s).length===0)return null;const n=e.scope.generateUidIdentifier("exportNames");delete s.default;return{name:n.name,statement:i.variableDeclaration("var",[i.variableDeclarator(n,i.valueToNode(s))])}}function buildExportInitializationStatements(e,t,s=false,r=false){const n=[];const a=[];for(const[e,s]of t.local){if(s.kind==="import"){}else if(s.kind==="hoisted"){n.push(buildInitStatement(t,s.names,i.identifier(e)))}else{a.push(...s.names)}}for(const e of t.source.values()){if(!s){n.push(...h(t,e,false))}for(const t of e.reexportNamespace){a.push(t)}}if(!r){n.push(...chunk(a,100).map(s=>{return buildInitStatement(t,s,e.scope.buildUndefinedNode())}))}return n}const f={computed:n.default.expression`EXPORTS["NAME"] = VALUE`,default:n.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,s){const{stringSpecifiers:r,exportName:n}=e;return i.expressionStatement(t.reduce((e,t)=>{const s={EXPORTS:n,NAME:t,VALUE:e};if(r.has(t)){return f.computed(s)}else{return f.default(s)}},s))}function chunk(e,t){const s=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;t.default=normalizeModuleAndLoadMetadata;var r=s(85622);var i=s(86607);var n=s(76729);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t){if(typeof e==="function"){return validateImportInteropOption(e(t))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:s,initializeReexports:r=false,lazy:i=false,esNamespaceOnly:n=false}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const a=new Set;nameAnonymousExports(e);const{local:o,source:l,hasExports:c}=getModuleMetadata(e,{initializeReexports:r,lazy:i},a);removeModuleDeclarations(e);for(const[,e]of l){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(s,e.source);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(n&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:c,local:o,source:l,stringSpecifiers:a}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const s=e.node.value;if(!(0,i.isIdentifierName)(s)){t.add(s)}return s}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:s},i){const n=getLocalExportMetadata(e,s,i);const a=new Map;const o=t=>{const s=t.value;let i=a.get(s);if(!i){i={name:e.scope.generateUidIdentifier((0,r.basename)(s,(0,r.extname)(s))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:s};a.set(s,i)}return i};let l=false;e.get("body").forEach(e=>{if(e.isImportDeclaration()){const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{if(e.isImportDefaultSpecifier()){const s=e.get("local").node.name;t.imports.set(s,"default");const r=n.get(s);if(r){n.delete(s);r.names.forEach(e=>{t.reexports.set(e,"default")})}}else if(e.isImportNamespaceSpecifier()){const s=e.get("local").node.name;t.importsNamespace.add(s);const r=n.get(s);if(r){n.delete(s);r.names.forEach(e=>{t.reexportNamespace.add(e)})}}else if(e.isImportSpecifier()){const s=getExportSpecifierName(e.get("imported"),i);const r=e.get("local").node.name;t.imports.set(r,s);const a=n.get(r);if(a){n.delete(r);a.names.forEach(e=>{t.reexports.set(e,s)})}}})}else if(e.isExportAllDeclaration()){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{assertExportSpecifier(e);const s=getExportSpecifierName(e.get("local"),i);const r=getExportSpecifierName(e.get("exported"),i);t.reexports.set(r,s);if(r==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}})}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}});for(const e of a.values()){let t=false;let s=false;if(e.importsNamespace.size>0){t=true;s=true}if(e.reexportAll){s=true}for(const r of e.imports.values()){if(r==="default")t=true;else s=true}for(const r of e.reexports.values()){if(r==="default")t=true;else s=true}if(t&&s){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,s]of a){if(t!==false&&!(isSideEffectImport(s)||s.reexportAll)){if(t===true){s.lazy=!/\./.test(e)}else if(Array.isArray(t)){s.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){s.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:l,local:n,source:a}}function getLocalExportMetadata(e,t,s){const r=new Map;e.get("body").forEach(e=>{let s;if(e.isImportDeclaration()){s="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach(e=>{assertExportSpecifier(e);r.set(e.get("local").node.name,"block")});return}}if(e.isFunctionDeclaration()){s="hoisted"}else if(e.isClassDeclaration()){s="block"}else if(e.isVariableDeclaration({kind:"var"})){s="var"}else if(e.isVariableDeclaration()){s="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach(e=>{r.set(e,s)})});const i=new Map;const n=e=>{const t=e.node.name;let s=i.get(t);if(!s){const n=r.get(t);if(n===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}s={names:[],kind:n};i.set(t,s)}return s};e.get("body").forEach(e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const s=t.getOuterBindingIdentifierPaths();Object.keys(s).forEach(e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}n(s[e]).names.push(e)})}else{e.get("specifiers").forEach(e=>{const t=e.get("local");const r=e.get("exported");const i=n(t);const a=getExportSpecifierName(r,s);if(a==="__esModule"){throw r.buildCodeFrameError('Illegal export "__esModule".')}i.names.push(a)})}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){n(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}});return i}function nameAnonymousExports(e){e.get("body").forEach(e=>{if(!e.isExportDefaultDeclaration())return;(0,n.default)(e)})}function removeModuleDeclarations(e){e.get("body").forEach(e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}})}},13361:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteLiveReferences;var r=s(42357);var i=s(19761);var n=s(36900);var a=s(46511);function rewriteLiveReferences(e,t){const s=new Map;const r=new Map;const n=t=>{e.requeue(t)};for(const[e,r]of t.source){for(const[t,i]of r.imports){s.set(t,[e,i,null])}for(const t of r.importsNamespace){s.set(t,[e,null,t])}}for(const[e,s]of t.local){let t=r.get(e);if(!t){t=[];r.set(e,t)}t.push(...s.names)}const l={metadata:t,requeueInParent:n,scope:e.scope,exported:r};e.traverse(o,l);(0,a.default)(e,new Set([...Array.from(s.keys()),...Array.from(r.keys())]));const c={seen:new WeakSet,metadata:t,requeueInParent:n,scope:e.scope,imported:s,exported:r,buildImportReference:([e,s,r],n)=>{const a=t.source.get(e);if(r){if(a.lazy)n=i.callExpression(n,[]);return n}let o=i.identifier(a.name);if(a.lazy)o=i.callExpression(o,[]);if(s==="default"&&a.interop==="node-default"){return o}const l=t.stringSpecifiers.has(s);return i.memberExpression(o,l?i.stringLiteral(s):i.identifier(s),l)}};e.traverse(p,c)}const o={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:s,metadata:r}=this;const{id:n}=e.node;if(!n)throw new Error("Expected class to have a name");const a=n.name;const o=s.get(a)||[];if(o.length>0){const s=i.expressionStatement(l(r,o,i.identifier(a)));s._blockHoist=e.node._blockHoist;t(e.insertAfter(s)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:s,metadata:r}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(n=>{const a=s.get(n)||[];if(a.length>0){const s=i.expressionStatement(l(r,a,i.identifier(n)));s._blockHoist=e.node._blockHoist;t(e.insertAfter(s)[0])}})}};const l=(e,t,s)=>{return(t||[]).reduce((t,s)=>{const{stringSpecifiers:r}=e;const n=r.has(s);return i.assignmentExpression("=",i.memberExpression(i.identifier(e.exportName),n?i.stringLiteral(s):i.identifier(s),n),t)},s)};const c=e=>{return n.default.expression.ast` (function() { throw new Error('"' + '${e}' + '" is read-only.'); })() - `};const p={ReferencedIdentifier(e){const{seen:t,buildImportReference:r,scope:n,imported:i,requeueInParent:a}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const l=i.get(o);if(l){const t=e.scope.getBinding(o);const i=n.getBinding(o);if(i!==t)return;const u=r(l,e.node);u.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&s.isMemberExpression(u)){e.replaceWith(s.sequenceExpression([s.numericLiteral(0),u]))}else if(e.isJSXIdentifier()&&s.isMemberExpression(u)){const{object:t,property:r}=u;e.replaceWith(s.jsxMemberExpression(s.jsxIdentifier(t.name),s.jsxIdentifier(r.name)))}else{e.replaceWith(u)}a(e);e.skip()}},AssignmentExpression:{exit(e){const{scope:t,seen:r,imported:i,exported:a,requeueInParent:o,buildImportReference:p}=this;if(r.has(e.node))return;r.add(e.node);const f=e.get("left");if(f.isMemberExpression())return;if(f.isIdentifier()){const r=f.node.name;if(t.getBinding(r)!==e.scope.getBinding(r)){return}const c=a.get(r);const d=i.get(r);if((c==null?void 0:c.length)>0||d){n(e.node.operator==="=","Path was not simplified");const t=e.node;if(d){t.left=p(d,t.left);t.right=s.sequenceExpression([t.right,u(r)])}e.replaceWith(l(this.metadata,c,t));o(e)}}else{const r=f.getOuterBindingIdentifiers();const n=Object.keys(r).filter(r=>t.getBinding(r)===e.scope.getBinding(r));const p=n.find(e=>i.has(e));if(p){e.node.right=s.sequenceExpression([e.node.right,u(p)])}const c=[];n.forEach(e=>{const t=a.get(e)||[];if(t.length>0){c.push(l(this.metadata,t,s.identifier(e)))}});if(c.length>0){let t=s.sequenceExpression(c);if(e.parentPath.isExpressionStatement()){t=s.expressionStatement(t);t._blockHoist=e.parentPath.node._blockHoist}const r=e.insertAfter(t)[0];o(r)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:r}=e;const{left:n}=r;const{exported:i,imported:a,scope:o}=this;if(!s.isVariableDeclaration(n)){let r=false,l;const p=e.get("body").scope;for(const e of Object.keys(s.getOuterBindingIdentifiers(n))){if(o.getBinding(e)===t.getBinding(e)){if(i.has(e)){r=true;if(p.hasOwnBinding(e)){p.rename(e)}}if(a.has(e)&&!l){l=e}}}if(!r&&!l){return}e.ensureBlock();const f=e.get("body");const c=t.generateUidIdentifierBasedOnNode(n);e.get("left").replaceWith(s.variableDeclaration("let",[s.variableDeclarator(s.cloneNode(c))]));t.registerDeclaration(e.get("left"));if(r){f.unshiftContainer("body",s.expressionStatement(s.assignmentExpression("=",n,c)))}if(l){f.unshiftContainer("body",s.expressionStatement(u(l)))}}}}},7161:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteThis;var n=r(7076);var s=r(4267);var i=r(57012);function rewriteThis(e){(0,s.default)(e.node,Object.assign({},a,{noScope:true}))}const a=s.default.visitors.merge([n.environmentVisitor,{ThisExpression(e){e.replaceWith(i.unaryExpression("void",i.numericLiteral(0),true))}}])},7076:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.skipAllButComputedKey=skipAllButComputedKey;t.default=t.environmentVisitor=void 0;var n=r(4267);var s=r(52647);var i=r(68720);var a=r(57012);function getPrototypeOfExpression(e,t,r,n){e=a.cloneNode(e);const s=t||n?e:a.memberExpression(e,a.identifier("prototype"));return a.callExpression(r.addHelper("getPrototypeOf"),[s])}function skipAllButComputedKey(e){if(!e.node.computed){e.skip();return}const t=a.VISITOR_KEYS[e.type];for(const r of t){if(r!=="key")e.skipKey(r)}}const o={[`${a.staticBlock?"StaticBlock|":""}ClassPrivateProperty|TypeAnnotation`](e){e.skip()},Function(e){if(e.isMethod())return;if(e.isArrowFunctionExpression())return;e.skip()},"Method|ClassProperty"(e){skipAllButComputedKey(e)}};t.environmentVisitor=o;const l=n.default.visitors.merge([o,{Super(e,t){const{node:r,parentPath:n}=e;if(!n.isMemberExpression({object:r}))return;t.handle(n)}}]);const u=n.default.visitors.merge([o,{Scopable(e,{refName:t}){const r=e.scope.getOwnBinding(t);if(r&&r.identifier.name===t){e.scope.rename(t)}}}]);const p={memoise(e,t){const{scope:r,node:n}=e;const{computed:s,property:i}=n;if(!s){return}const a=r.maybeGenerateMemoised(i);if(!a){return}this.memoiser.set(i,a,t)},prop(e){const{computed:t,property:r}=e.node;if(this.memoiser.has(r)){return a.cloneNode(this.memoiser.get(r))}if(t){return a.cloneNode(r)}return a.stringLiteral(r.name)},get(e){return this._get(e,this._getThisRefs())},_get(e,t){const r=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return a.callExpression(this.file.addHelper("get"),[t.memo?a.sequenceExpression([t.memo,r]):r,this.prop(e),t.this])},_getThisRefs(){if(!this.isDerivedConstructor){return{this:a.thisExpression()}}const e=this.scope.generateDeclaredUidIdentifier("thisSuper");return{memo:a.assignmentExpression("=",e,a.thisExpression()),this:a.cloneNode(e)}},set(e,t){const r=this._getThisRefs();const n=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return a.callExpression(this.file.addHelper("set"),[r.memo?a.sequenceExpression([r.memo,n]):n,this.prop(e),t,r.this,a.booleanLiteral(e.isInStrictMode())])},destructureSet(e){throw e.buildCodeFrameError(`Destructuring to a super field is not supported yet.`)},call(e,t){const r=this._getThisRefs();return(0,i.default)(this._get(e,r),a.cloneNode(r.this),t,false)},optionalCall(e,t){const r=this._getThisRefs();return(0,i.default)(this._get(e,r),a.cloneNode(r.this),t,true)}};const f=Object.assign({},p,{prop(e){const{property:t}=e.node;if(this.memoiser.has(t)){return a.cloneNode(this.memoiser.get(t))}return a.cloneNode(t)},get(e){const{isStatic:t,getSuperRef:r}=this;const{computed:n}=e.node;const s=this.prop(e);let i;if(t){var o;i=(o=r())!=null?o:a.memberExpression(a.identifier("Function"),a.identifier("prototype"))}else{var l;i=a.memberExpression((l=r())!=null?l:a.identifier("Object"),a.identifier("prototype"))}return a.memberExpression(i,s,n)},set(e,t){const{computed:r}=e.node;const n=this.prop(e);return a.assignmentExpression("=",a.memberExpression(a.thisExpression(),n,r),t)},destructureSet(e){const{computed:t}=e.node;const r=this.prop(e);return a.memberExpression(a.thisExpression(),r,t)},call(e,t){return(0,i.default)(this.get(e),a.thisExpression(),t,false)},optionalCall(e,t){return(0,i.default)(this.get(e),a.thisExpression(),t,true)}});class ReplaceSupers{constructor(e){var t;const r=e.methodPath;this.methodPath=r;this.isDerivedConstructor=r.isClassMethod({kind:"constructor"})&&!!e.superRef;this.isStatic=r.isObjectMethod()||r.node.static||(r.isStaticBlock==null?void 0:r.isStaticBlock());this.isPrivateMethod=r.isPrivate()&&r.isMethod();this.file=e.file;this.constantSuper=(t=e.constantSuper)!=null?t:e.isLoose;this.opts=e}getObjectRef(){return a.cloneNode(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){if(this.opts.superRef)return a.cloneNode(this.opts.superRef);if(this.opts.getSuperRef)return a.cloneNode(this.opts.getSuperRef())}replace(){if(this.opts.refToPreserve){this.methodPath.traverse(u,{refName:this.opts.refToPreserve.name})}const e=this.constantSuper?f:p;(0,s.default)(this.methodPath,l,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this),boundGet:e.get},e))}}t.default=ReplaceSupers},20336:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},46511:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=simplifyAccess;var n=r(57012);function simplifyAccess(e,t){e.traverse(s,{scope:e.scope,bindingNames:t,seen:new WeakSet})}const s={UpdateExpression:{exit(e){const{scope:t,bindingNames:r}=this;const s=e.get("argument");if(!s.isIdentifier())return;const i=s.node.name;if(!r.has(i))return;if(t.getBinding(i)!==e.scope.getBinding(i)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(n.assignmentExpression(t,s.node,n.numericLiteral(1)))}else if(e.node.prefix){e.replaceWith(n.assignmentExpression("=",n.identifier(i),n.binaryExpression(e.node.operator[0],n.unaryExpression("+",s.node),n.numericLiteral(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(s.node,"old");const r=t.name;e.scope.push({id:t});const i=n.binaryExpression(e.node.operator[0],n.identifier(r),n.numericLiteral(1));e.replaceWith(n.sequenceExpression([n.assignmentExpression("=",n.identifier(r),n.unaryExpression("+",s.node)),n.assignmentExpression("=",n.cloneNode(s.node),i),n.identifier(r)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:r,bindingNames:s}=this;if(e.node.operator==="=")return;if(r.has(e.node))return;r.add(e.node);const i=e.get("left");if(!i.isIdentifier())return;const a=i.node.name;if(!s.has(a))return;if(t.getBinding(a)!==e.scope.getBinding(a)){return}const o=e.node.operator.slice(0,-1);if(n.LOGICAL_OPERATORS.includes(o)){e.replaceWith(n.logicalExpression(o,e.node.left,n.assignmentExpression("=",n.cloneNode(e.node.left),e.node.right)))}else{e.node.right=n.binaryExpression(o,n.cloneNode(e.node.left),e.node.right);e.node.operator="="}}}}},66396:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(66396);var s=r(47249)},47249:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},67514:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.wrapRegExp=t.typeof=t.objectSpread2=t.jsx=void 0;var n=r(36900);const s={minVersion:"7.0.0-beta.0",ast:()=>n.default.program.ast('\nvar REACT_ELEMENT_TYPE;\nexport default function _createRawReactElement(type, props, key, children) {\n if (!REACT_ELEMENT_TYPE) {\n REACT_ELEMENT_TYPE =\n (typeof Symbol === "function" &&\n \n Symbol["for"] &&\n Symbol["for"]("react.element")) ||\n 0xeac7;\n }\n var defaultProps = type && type.defaultProps;\n var childrenLength = arguments.length - 3;\n if (!props && childrenLength !== 0) {\n \n \n props = { children: void 0 };\n }\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = new Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 3];\n }\n props.children = childArray;\n }\n if (props && defaultProps) {\n for (var propName in defaultProps) {\n if (props[propName] === void 0) {\n props[propName] = defaultProps[propName];\n }\n }\n } else if (!props) {\n props = defaultProps || {};\n }\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key === undefined ? null : "" + key,\n ref: null,\n props: props,\n _owner: null,\n };\n}\n')};t.jsx=s;const i={minVersion:"7.5.0",ast:()=>n.default.program.ast('\nimport defineProperty from "defineProperty";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(\n target,\n key,\n Object.getOwnPropertyDescriptor(source, key)\n );\n });\n }\n }\n return target;\n}\n')};t.objectSpread2=i;const a={minVersion:"7.0.0-beta.0",ast:()=>n.default.program.ast('\nexport default function _typeof(obj) {\n "@babel/helpers - typeof";\n if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj &&\n typeof Symbol === "function" &&\n obj.constructor === Symbol &&\n obj !== Symbol.prototype\n ? "symbol"\n : typeof obj;\n };\n }\n return _typeof(obj);\n}\n')};t.typeof=a;const o={minVersion:"7.2.6",ast:()=>n.default.program.ast('\nimport setPrototypeOf from "setPrototypeOf";\nimport inherits from "inherits";\nexport default function _wrapRegExp() {\n _wrapRegExp = function (re, groups) {\n return new BabelRegExp(re, undefined, groups);\n };\n var _super = RegExp.prototype;\n var _groups = new WeakMap();\n function BabelRegExp(re, flags, groups) {\n var _this = new RegExp(re, flags);\n \n _groups.set(_this, groups || _groups.get(re));\n return setPrototypeOf(_this, BabelRegExp.prototype);\n }\n inherits(BabelRegExp, RegExp);\n BabelRegExp.prototype.exec = function (str) {\n var result = _super.exec.call(this, str);\n if (result) result.groups = buildGroups(result, this);\n return result;\n };\n BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {\n if (typeof substitution === "string") {\n var groups = _groups.get(this);\n return _super[Symbol.replace].call(\n this,\n str,\n substitution.replace(/\\$<([^>]+)>/g, function (_, name) {\n return "$" + groups[name];\n })\n );\n } else if (typeof substitution === "function") {\n var _this = this;\n return _super[Symbol.replace].call(this, str, function () {\n var args = arguments;\n \n if (typeof args[args.length - 1] !== "object") {\n args = [].slice.call(args);\n args.push(buildGroups(args, _this));\n }\n return substitution.apply(this, args);\n });\n } else {\n return _super[Symbol.replace].call(this, str, substitution);\n }\n };\n function buildGroups(result, re) {\n \n \n var g = _groups.get(re);\n return Object.keys(g).reduce(function (groups, name) {\n groups[name] = result[g[name]];\n return groups;\n }, Object.create(null));\n }\n return _wrapRegExp.apply(this, arguments);\n}\n')};t.wrapRegExp=o},71432:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(36900);var s=r(67514);const i=Object.assign({__proto__:null},s);var a=i;t.default=a;const o=e=>t=>({minVersion:e,ast:()=>n.default.program.ast(t)});i.asyncIterator=o("7.0.0-beta.0")` + `};const p={ReferencedIdentifier(e){const{seen:t,buildImportReference:s,scope:r,imported:n,requeueInParent:a}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const l=n.get(o);if(l){const t=e.scope.getBinding(o);const n=r.getBinding(o);if(n!==t)return;const c=s(l,e.node);c.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&i.isMemberExpression(c)){e.replaceWith(i.sequenceExpression([i.numericLiteral(0),c]))}else if(e.isJSXIdentifier()&&i.isMemberExpression(c)){const{object:t,property:s}=c;e.replaceWith(i.jsxMemberExpression(i.jsxIdentifier(t.name),i.jsxIdentifier(s.name)))}else{e.replaceWith(c)}a(e);e.skip()}},AssignmentExpression:{exit(e){const{scope:t,seen:s,imported:n,exported:a,requeueInParent:o,buildImportReference:p}=this;if(s.has(e.node))return;s.add(e.node);const u=e.get("left");if(u.isMemberExpression())return;if(u.isIdentifier()){const s=u.node.name;if(t.getBinding(s)!==e.scope.getBinding(s)){return}const h=a.get(s);const f=n.get(s);if((h==null?void 0:h.length)>0||f){r(e.node.operator==="=","Path was not simplified");const t=e.node;if(f){t.left=p(f,t.left);t.right=i.sequenceExpression([t.right,c(s)])}e.replaceWith(l(this.metadata,h,t));o(e)}}else{const s=u.getOuterBindingIdentifiers();const r=Object.keys(s).filter(s=>t.getBinding(s)===e.scope.getBinding(s));const p=r.find(e=>n.has(e));if(p){e.node.right=i.sequenceExpression([e.node.right,c(p)])}const h=[];r.forEach(e=>{const t=a.get(e)||[];if(t.length>0){h.push(l(this.metadata,t,i.identifier(e)))}});if(h.length>0){let t=i.sequenceExpression(h);if(e.parentPath.isExpressionStatement()){t=i.expressionStatement(t);t._blockHoist=e.parentPath.node._blockHoist}const s=e.insertAfter(t)[0];o(s)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:s}=e;const{left:r}=s;const{exported:n,imported:a,scope:o}=this;if(!i.isVariableDeclaration(r)){let s=false,l;const p=e.get("body").scope;for(const e of Object.keys(i.getOuterBindingIdentifiers(r))){if(o.getBinding(e)===t.getBinding(e)){if(n.has(e)){s=true;if(p.hasOwnBinding(e)){p.rename(e)}}if(a.has(e)&&!l){l=e}}}if(!s&&!l){return}e.ensureBlock();const u=e.get("body");const h=t.generateUidIdentifierBasedOnNode(r);e.get("left").replaceWith(i.variableDeclaration("let",[i.variableDeclarator(i.cloneNode(h))]));t.registerDeclaration(e.get("left"));if(s){u.unshiftContainer("body",i.expressionStatement(i.assignmentExpression("=",r,h)))}if(l){u.unshiftContainer("body",i.expressionStatement(c(l)))}}}}},7161:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteThis;var r=s(7076);var i=s(4267);var n=s(19761);function rewriteThis(e){(0,i.default)(e.node,Object.assign({},a,{noScope:true}))}const a=i.default.visitors.merge([r.environmentVisitor,{ThisExpression(e){e.replaceWith(n.unaryExpression("void",n.numericLiteral(0),true))}}])},7076:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.skipAllButComputedKey=skipAllButComputedKey;t.default=t.environmentVisitor=void 0;var r=s(4267);var i=s(52647);var n=s(68720);var a=s(19761);function getPrototypeOfExpression(e,t,s,r){e=a.cloneNode(e);const i=t||r?e:a.memberExpression(e,a.identifier("prototype"));return a.callExpression(s.addHelper("getPrototypeOf"),[i])}function skipAllButComputedKey(e){if(!e.node.computed){e.skip();return}const t=a.VISITOR_KEYS[e.type];for(const s of t){if(s!=="key")e.skipKey(s)}}const o={[`${a.staticBlock?"StaticBlock|":""}ClassPrivateProperty|TypeAnnotation`](e){e.skip()},Function(e){if(e.isMethod())return;if(e.isArrowFunctionExpression())return;e.skip()},"Method|ClassProperty"(e){skipAllButComputedKey(e)}};t.environmentVisitor=o;const l=r.default.visitors.merge([o,{Super(e,t){const{node:s,parentPath:r}=e;if(!r.isMemberExpression({object:s}))return;t.handle(r)}}]);const c=r.default.visitors.merge([o,{Scopable(e,{refName:t}){const s=e.scope.getOwnBinding(t);if(s&&s.identifier.name===t){e.scope.rename(t)}}}]);const p={memoise(e,t){const{scope:s,node:r}=e;const{computed:i,property:n}=r;if(!i){return}const a=s.maybeGenerateMemoised(n);if(!a){return}this.memoiser.set(n,a,t)},prop(e){const{computed:t,property:s}=e.node;if(this.memoiser.has(s)){return a.cloneNode(this.memoiser.get(s))}if(t){return a.cloneNode(s)}return a.stringLiteral(s.name)},get(e){return this._get(e,this._getThisRefs())},_get(e,t){const s=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return a.callExpression(this.file.addHelper("get"),[t.memo?a.sequenceExpression([t.memo,s]):s,this.prop(e),t.this])},_getThisRefs(){if(!this.isDerivedConstructor){return{this:a.thisExpression()}}const e=this.scope.generateDeclaredUidIdentifier("thisSuper");return{memo:a.assignmentExpression("=",e,a.thisExpression()),this:a.cloneNode(e)}},set(e,t){const s=this._getThisRefs();const r=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return a.callExpression(this.file.addHelper("set"),[s.memo?a.sequenceExpression([s.memo,r]):r,this.prop(e),t,s.this,a.booleanLiteral(e.isInStrictMode())])},destructureSet(e){throw e.buildCodeFrameError(`Destructuring to a super field is not supported yet.`)},call(e,t){const s=this._getThisRefs();return(0,n.default)(this._get(e,s),a.cloneNode(s.this),t,false)},optionalCall(e,t){const s=this._getThisRefs();return(0,n.default)(this._get(e,s),a.cloneNode(s.this),t,true)}};const u=Object.assign({},p,{prop(e){const{property:t}=e.node;if(this.memoiser.has(t)){return a.cloneNode(this.memoiser.get(t))}return a.cloneNode(t)},get(e){const{isStatic:t,getSuperRef:s}=this;const{computed:r}=e.node;const i=this.prop(e);let n;if(t){var o;n=(o=s())!=null?o:a.memberExpression(a.identifier("Function"),a.identifier("prototype"))}else{var l;n=a.memberExpression((l=s())!=null?l:a.identifier("Object"),a.identifier("prototype"))}return a.memberExpression(n,i,r)},set(e,t){const{computed:s}=e.node;const r=this.prop(e);return a.assignmentExpression("=",a.memberExpression(a.thisExpression(),r,s),t)},destructureSet(e){const{computed:t}=e.node;const s=this.prop(e);return a.memberExpression(a.thisExpression(),s,t)},call(e,t){return(0,n.default)(this.get(e),a.thisExpression(),t,false)},optionalCall(e,t){return(0,n.default)(this.get(e),a.thisExpression(),t,true)}});class ReplaceSupers{constructor(e){var t;const s=e.methodPath;this.methodPath=s;this.isDerivedConstructor=s.isClassMethod({kind:"constructor"})&&!!e.superRef;this.isStatic=s.isObjectMethod()||s.node.static||(s.isStaticBlock==null?void 0:s.isStaticBlock());this.isPrivateMethod=s.isPrivate()&&s.isMethod();this.file=e.file;this.constantSuper=(t=e.constantSuper)!=null?t:e.isLoose;this.opts=e}getObjectRef(){return a.cloneNode(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){if(this.opts.superRef)return a.cloneNode(this.opts.superRef);if(this.opts.getSuperRef)return a.cloneNode(this.opts.getSuperRef())}replace(){if(this.opts.refToPreserve){this.methodPath.traverse(c,{refName:this.opts.refToPreserve.name})}const e=this.constantSuper?u:p;(0,i.default)(this.methodPath,l,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this),boundGet:e.get},e))}}t.default=ReplaceSupers},20336:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},46511:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=simplifyAccess;var r=s(19761);function simplifyAccess(e,t){e.traverse(i,{scope:e.scope,bindingNames:t,seen:new WeakSet})}const i={UpdateExpression:{exit(e){const{scope:t,bindingNames:s}=this;const i=e.get("argument");if(!i.isIdentifier())return;const n=i.node.name;if(!s.has(n))return;if(t.getBinding(n)!==e.scope.getBinding(n)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(r.assignmentExpression(t,i.node,r.numericLiteral(1)))}else if(e.node.prefix){e.replaceWith(r.assignmentExpression("=",r.identifier(n),r.binaryExpression(e.node.operator[0],r.unaryExpression("+",i.node),r.numericLiteral(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(i.node,"old");const s=t.name;e.scope.push({id:t});const n=r.binaryExpression(e.node.operator[0],r.identifier(s),r.numericLiteral(1));e.replaceWith(r.sequenceExpression([r.assignmentExpression("=",r.identifier(s),r.unaryExpression("+",i.node)),r.assignmentExpression("=",r.cloneNode(i.node),n),r.identifier(s)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:s,bindingNames:i}=this;if(e.node.operator==="=")return;if(s.has(e.node))return;s.add(e.node);const n=e.get("left");if(!n.isIdentifier())return;const a=n.node.name;if(!i.has(a))return;if(t.getBinding(a)!==e.scope.getBinding(a)){return}const o=e.node.operator.slice(0,-1);if(r.LOGICAL_OPERATORS.includes(o)){e.replaceWith(r.logicalExpression(o,e.node.left,r.assignmentExpression("=",r.cloneNode(e.node.left),e.node.right)))}else{e.node.right=r.binaryExpression(o,r.cloneNode(e.node.left),e.node.right);e.node.operator="="}}}}},66396:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let r="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+s+"]");const n=new RegExp("["+s+r+"]");s=r=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let s=65536;for(let r=0,i=t.length;re)return false;s+=t[r+1];if(s>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&n.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return r.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return r.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return r.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var r=s(66396);var i=s(47249)},47249:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const s={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const r=new Set(s.keyword);const i=new Set(s.strict);const n=new Set(s.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return n.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return r.has(e)}},67514:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.wrapRegExp=t.typeof=t.objectSpread2=t.jsx=void 0;var r=s(36900);const i={minVersion:"7.0.0-beta.0",ast:()=>r.default.program.ast('\nvar REACT_ELEMENT_TYPE;\nexport default function _createRawReactElement(type, props, key, children) {\n if (!REACT_ELEMENT_TYPE) {\n REACT_ELEMENT_TYPE =\n (typeof Symbol === "function" &&\n \n Symbol["for"] &&\n Symbol["for"]("react.element")) ||\n 0xeac7;\n }\n var defaultProps = type && type.defaultProps;\n var childrenLength = arguments.length - 3;\n if (!props && childrenLength !== 0) {\n \n \n props = { children: void 0 };\n }\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = new Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 3];\n }\n props.children = childArray;\n }\n if (props && defaultProps) {\n for (var propName in defaultProps) {\n if (props[propName] === void 0) {\n props[propName] = defaultProps[propName];\n }\n }\n } else if (!props) {\n props = defaultProps || {};\n }\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key === undefined ? null : "" + key,\n ref: null,\n props: props,\n _owner: null,\n };\n}\n')};t.jsx=i;const n={minVersion:"7.5.0",ast:()=>r.default.program.ast('\nimport defineProperty from "defineProperty";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(\n target,\n key,\n Object.getOwnPropertyDescriptor(source, key)\n );\n });\n }\n }\n return target;\n}\n')};t.objectSpread2=n;const a={minVersion:"7.0.0-beta.0",ast:()=>r.default.program.ast('\nexport default function _typeof(obj) {\n "@babel/helpers - typeof";\n if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj &&\n typeof Symbol === "function" &&\n obj.constructor === Symbol &&\n obj !== Symbol.prototype\n ? "symbol"\n : typeof obj;\n };\n }\n return _typeof(obj);\n}\n')};t.typeof=a;const o={minVersion:"7.2.6",ast:()=>r.default.program.ast('\nimport setPrototypeOf from "setPrototypeOf";\nimport inherits from "inherits";\nexport default function _wrapRegExp() {\n _wrapRegExp = function (re, groups) {\n return new BabelRegExp(re, undefined, groups);\n };\n var _super = RegExp.prototype;\n var _groups = new WeakMap();\n function BabelRegExp(re, flags, groups) {\n var _this = new RegExp(re, flags);\n \n _groups.set(_this, groups || _groups.get(re));\n return setPrototypeOf(_this, BabelRegExp.prototype);\n }\n inherits(BabelRegExp, RegExp);\n BabelRegExp.prototype.exec = function (str) {\n var result = _super.exec.call(this, str);\n if (result) result.groups = buildGroups(result, this);\n return result;\n };\n BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {\n if (typeof substitution === "string") {\n var groups = _groups.get(this);\n return _super[Symbol.replace].call(\n this,\n str,\n substitution.replace(/\\$<([^>]+)>/g, function (_, name) {\n return "$" + groups[name];\n })\n );\n } else if (typeof substitution === "function") {\n var _this = this;\n return _super[Symbol.replace].call(this, str, function () {\n var args = arguments;\n \n if (typeof args[args.length - 1] !== "object") {\n args = [].slice.call(args);\n args.push(buildGroups(args, _this));\n }\n return substitution.apply(this, args);\n });\n } else {\n return _super[Symbol.replace].call(this, str, substitution);\n }\n };\n function buildGroups(result, re) {\n \n \n var g = _groups.get(re);\n return Object.keys(g).reduce(function (groups, name) {\n groups[name] = result[g[name]];\n return groups;\n }, Object.create(null));\n }\n return _wrapRegExp.apply(this, arguments);\n}\n')};t.wrapRegExp=o},71432:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(36900);var i=s(67514);const n=Object.assign({__proto__:null},i);var a=n;t.default=a;const o=e=>t=>({minVersion:e,ast:()=>r.default.program.ast(t)});n.asyncIterator=o("7.0.0-beta.0")` export default function _asyncIterator(iterable) { var method; if (typeof Symbol !== "undefined") { @@ -4102,11 +4102,11 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m if (method == null) throw new TypeError("Object is not async iterable"); return method.call(iterable); } -`;i.AwaitValue=o("7.0.0-beta.0")` +`;n.AwaitValue=o("7.0.0-beta.0")` export default function _AwaitValue(value) { this.wrapped = value; } -`;i.AsyncGenerator=o("7.0.0-beta.0")` +`;n.AsyncGenerator=o("7.0.0-beta.0")` import AwaitValue from "AwaitValue"; export default function AsyncGenerator(gen) { @@ -4186,7 +4186,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m AsyncGenerator.prototype.next = function (arg) { return this._invoke("next", arg); }; AsyncGenerator.prototype.throw = function (arg) { return this._invoke("throw", arg); }; AsyncGenerator.prototype.return = function (arg) { return this._invoke("return", arg); }; -`;i.wrapAsyncGenerator=o("7.0.0-beta.0")` +`;n.wrapAsyncGenerator=o("7.0.0-beta.0")` import AsyncGenerator from "AsyncGenerator"; export default function _wrapAsyncGenerator(fn) { @@ -4194,13 +4194,13 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return new AsyncGenerator(fn.apply(this, arguments)); }; } -`;i.awaitAsyncGenerator=o("7.0.0-beta.0")` +`;n.awaitAsyncGenerator=o("7.0.0-beta.0")` import AwaitValue from "AwaitValue"; export default function _awaitAsyncGenerator(value) { return new AwaitValue(value); } -`;i.asyncGeneratorDelegate=o("7.0.0-beta.0")` +`;n.asyncGeneratorDelegate=o("7.0.0-beta.0")` export default function _asyncGeneratorDelegate(inner, awaitWrap) { var iter = {}, waiting = false; @@ -4242,7 +4242,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return iter; } -`;i.asyncToGenerator=o("7.0.0-beta.0")` +`;n.asyncToGenerator=o("7.0.0-beta.0")` function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); @@ -4275,13 +4275,13 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }); }; } -`;i.classCallCheck=o("7.0.0-beta.0")` +`;n.classCallCheck=o("7.0.0-beta.0")` export default function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -`;i.createClass=o("7.0.0-beta.0")` +`;n.createClass=o("7.0.0-beta.0")` function _defineProperties(target, props) { for (var i = 0; i < props.length; i ++) { var descriptor = props[i]; @@ -4297,7 +4297,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } -`;i.defineEnumerableProperties=o("7.0.0-beta.0")` +`;n.defineEnumerableProperties=o("7.0.0-beta.0")` export default function _defineEnumerableProperties(obj, descs) { for (var key in descs) { var desc = descs[key]; @@ -4321,7 +4321,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return obj; } -`;i.defaults=o("7.0.0-beta.0")` +`;n.defaults=o("7.0.0-beta.0")` export default function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { @@ -4333,7 +4333,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return obj; } -`;i.defineProperty=o("7.0.0-beta.0")` +`;n.defineProperty=o("7.0.0-beta.0")` export default function _defineProperty(obj, key, value) { // Shortcircuit the slow defineProperty path when possible. // We are trying to avoid issues where setters defined on the @@ -4352,7 +4352,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return obj; } -`;i.extends=o("7.0.0-beta.0")` +`;n.extends=o("7.0.0-beta.0")` export default function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { @@ -4368,7 +4368,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return _extends.apply(this, arguments); } -`;i.objectSpread=o("7.0.0-beta.0")` +`;n.objectSpread=o("7.0.0-beta.0")` import defineProperty from "defineProperty"; export default function _objectSpread(target) { @@ -4386,7 +4386,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return target; } -`;i.inherits=o("7.0.0-beta.0")` +`;n.inherits=o("7.0.0-beta.0")` import setPrototypeOf from "setPrototypeOf"; export default function _inherits(subClass, superClass) { @@ -4402,7 +4402,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }); if (superClass) setPrototypeOf(subClass, superClass); } -`;i.inheritsLoose=o("7.0.0-beta.0")` +`;n.inheritsLoose=o("7.0.0-beta.0")` import setPrototypeOf from "setPrototypeOf"; export default function _inheritsLoose(subClass, superClass) { @@ -4410,7 +4410,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m subClass.prototype.constructor = subClass; setPrototypeOf(subClass, superClass); } -`;i.getPrototypeOf=o("7.0.0-beta.0")` +`;n.getPrototypeOf=o("7.0.0-beta.0")` export default function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf @@ -4419,7 +4419,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }; return _getPrototypeOf(o); } -`;i.setPrototypeOf=o("7.0.0-beta.0")` +`;n.setPrototypeOf=o("7.0.0-beta.0")` export default function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; @@ -4427,7 +4427,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }; return _setPrototypeOf(o, p); } -`;i.isNativeReflectConstruct=o("7.9.0")` +`;n.isNativeReflectConstruct=o("7.9.0")` export default function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; @@ -4453,7 +4453,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return false; } } -`;i.construct=o("7.0.0-beta.0")` +`;n.construct=o("7.0.0-beta.0")` import setPrototypeOf from "setPrototypeOf"; import isNativeReflectConstruct from "isNativeReflectConstruct"; @@ -4476,12 +4476,12 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m // present in the original call. return _construct.apply(null, arguments); } -`;i.isNativeFunction=o("7.0.0-beta.0")` +`;n.isNativeFunction=o("7.0.0-beta.0")` export default function _isNativeFunction(fn) { // Note: This function returns "true" for core-js functions. return Function.toString.call(fn).indexOf("[native code]") !== -1; } -`;i.wrapNativeSuper=o("7.0.0-beta.0")` +`;n.wrapNativeSuper=o("7.0.0-beta.0")` import getPrototypeOf from "getPrototypeOf"; import setPrototypeOf from "setPrototypeOf"; import isNativeFunction from "isNativeFunction"; @@ -4516,7 +4516,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return _wrapNativeSuper(Class) } -`;i.instanceof=o("7.0.0-beta.0")` +`;n.instanceof=o("7.0.0-beta.0")` export default function _instanceof(left, right) { if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) { return !!right[Symbol.hasInstance](left); @@ -4524,11 +4524,11 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return left instanceof right; } } -`;i.interopRequireDefault=o("7.0.0-beta.0")` +`;n.interopRequireDefault=o("7.0.0-beta.0")` export default function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -`;i.interopRequireWildcard=o("7.14.0")` +`;n.interopRequireWildcard=o("7.14.0")` function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; @@ -4573,17 +4573,17 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return newObj; } -`;i.newArrowCheck=o("7.0.0-beta.0")` +`;n.newArrowCheck=o("7.0.0-beta.0")` export default function _newArrowCheck(innerThis, boundThis) { if (innerThis !== boundThis) { throw new TypeError("Cannot instantiate an arrow function"); } } -`;i.objectDestructuringEmpty=o("7.0.0-beta.0")` +`;n.objectDestructuringEmpty=o("7.0.0-beta.0")` export default function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure undefined"); } -`;i.objectWithoutPropertiesLoose=o("7.0.0-beta.0")` +`;n.objectWithoutPropertiesLoose=o("7.0.0-beta.0")` export default function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; @@ -4599,7 +4599,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return target; } -`;i.objectWithoutProperties=o("7.0.0-beta.0")` +`;n.objectWithoutProperties=o("7.0.0-beta.0")` import objectWithoutPropertiesLoose from "objectWithoutPropertiesLoose"; export default function _objectWithoutProperties(source, excluded) { @@ -4620,14 +4620,14 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return target; } -`;i.assertThisInitialized=o("7.0.0-beta.0")` +`;n.assertThisInitialized=o("7.0.0-beta.0")` export default function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } -`;i.possibleConstructorReturn=o("7.0.0-beta.0")` +`;n.possibleConstructorReturn=o("7.0.0-beta.0")` import assertThisInitialized from "assertThisInitialized"; export default function _possibleConstructorReturn(self, call) { @@ -4639,7 +4639,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return assertThisInitialized(self); } -`;i.createSuper=o("7.9.0")` +`;n.createSuper=o("7.9.0")` import getPrototypeOf from "getPrototypeOf"; import isNativeReflectConstruct from "isNativeReflectConstruct"; import possibleConstructorReturn from "possibleConstructorReturn"; @@ -4659,7 +4659,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return possibleConstructorReturn(this, result); } } - `;i.superPropBase=o("7.0.0-beta.0")` + `;n.superPropBase=o("7.0.0-beta.0")` import getPrototypeOf from "getPrototypeOf"; export default function _superPropBase(object, property) { @@ -4670,7 +4670,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return object; } -`;i.get=o("7.0.0-beta.0")` +`;n.get=o("7.0.0-beta.0")` import superPropBase from "superPropBase"; export default function _get(target, property, receiver) { @@ -4692,7 +4692,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return _get(target, property, receiver || target); } -`;i.set=o("7.0.0-beta.0")` +`;n.set=o("7.0.0-beta.0")` import superPropBase from "superPropBase"; import defineProperty from "defineProperty"; @@ -4747,47 +4747,47 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return value; } -`;i.taggedTemplateLiteral=o("7.0.0-beta.0")` +`;n.taggedTemplateLiteral=o("7.0.0-beta.0")` export default function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } -`;i.taggedTemplateLiteralLoose=o("7.0.0-beta.0")` +`;n.taggedTemplateLiteralLoose=o("7.0.0-beta.0")` export default function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } strings.raw = raw; return strings; } -`;i.readOnlyError=o("7.0.0-beta.0")` +`;n.readOnlyError=o("7.0.0-beta.0")` export default function _readOnlyError(name) { throw new TypeError("\\"" + name + "\\" is read-only"); } -`;i.writeOnlyError=o("7.12.13")` +`;n.writeOnlyError=o("7.12.13")` export default function _writeOnlyError(name) { throw new TypeError("\\"" + name + "\\" is write-only"); } -`;i.classNameTDZError=o("7.0.0-beta.0")` +`;n.classNameTDZError=o("7.0.0-beta.0")` export default function _classNameTDZError(name) { throw new Error("Class \\"" + name + "\\" cannot be referenced in computed property keys."); } -`;i.temporalUndefined=o("7.0.0-beta.0")` +`;n.temporalUndefined=o("7.0.0-beta.0")` // This function isn't mean to be called, but to be used as a reference. // We can't use a normal object because it isn't hoisted. export default function _temporalUndefined() {} -`;i.tdz=o("7.5.5")` +`;n.tdz=o("7.5.5")` export default function _tdzError(name) { throw new ReferenceError(name + " is not defined - temporal dead zone"); } -`;i.temporalRef=o("7.0.0-beta.0")` +`;n.temporalRef=o("7.0.0-beta.0")` import undef from "temporalUndefined"; import err from "tdz"; export default function _temporalRef(val, name) { return val === undef ? err(name) : val; } -`;i.slicedToArray=o("7.0.0-beta.0")` +`;n.slicedToArray=o("7.0.0-beta.0")` import arrayWithHoles from "arrayWithHoles"; import iterableToArrayLimit from "iterableToArrayLimit"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -4801,7 +4801,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableRest() ); } -`;i.slicedToArrayLoose=o("7.0.0-beta.0")` +`;n.slicedToArrayLoose=o("7.0.0-beta.0")` import arrayWithHoles from "arrayWithHoles"; import iterableToArrayLimitLoose from "iterableToArrayLimitLoose"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -4815,7 +4815,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableRest() ); } -`;i.toArray=o("7.0.0-beta.0")` +`;n.toArray=o("7.0.0-beta.0")` import arrayWithHoles from "arrayWithHoles"; import iterableToArray from "iterableToArray"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -4829,7 +4829,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableRest() ); } -`;i.toConsumableArray=o("7.0.0-beta.0")` +`;n.toConsumableArray=o("7.0.0-beta.0")` import arrayWithoutHoles from "arrayWithoutHoles"; import iterableToArray from "iterableToArray"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -4843,17 +4843,17 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableSpread() ); } -`;i.arrayWithoutHoles=o("7.0.0-beta.0")` +`;n.arrayWithoutHoles=o("7.0.0-beta.0")` import arrayLikeToArray from "arrayLikeToArray"; export default function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return arrayLikeToArray(arr); } -`;i.arrayWithHoles=o("7.0.0-beta.0")` +`;n.arrayWithHoles=o("7.0.0-beta.0")` export default function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } -`;i.maybeArrayLike=o("7.9.0")` +`;n.maybeArrayLike=o("7.9.0")` import arrayLikeToArray from "arrayLikeToArray"; export default function _maybeArrayLike(next, arr, i) { @@ -4863,11 +4863,11 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return next(arr, i); } -`;i.iterableToArray=o("7.0.0-beta.0")` +`;n.iterableToArray=o("7.0.0-beta.0")` export default function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } -`;i.iterableToArrayLimit=o("7.0.0-beta.0")` +`;n.iterableToArrayLimit=o("7.0.0-beta.0")` export default function _iterableToArrayLimit(arr, i) { // this is an expanded form of \`for...of\` that properly supports abrupt completions of // iterators etc. variable names have been minimised to reduce the size of this massive @@ -4903,7 +4903,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return _arr; } -`;i.iterableToArrayLimitLoose=o("7.0.0-beta.0")` +`;n.iterableToArrayLimitLoose=o("7.0.0-beta.0")` export default function _iterableToArrayLimitLoose(arr, i) { var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); if (_i == null) return; @@ -4915,7 +4915,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return _arr; } -`;i.unsupportedIterableToArray=o("7.9.0")` +`;n.unsupportedIterableToArray=o("7.9.0")` import arrayLikeToArray from "arrayLikeToArray"; export default function _unsupportedIterableToArray(o, minLen) { @@ -4927,25 +4927,25 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); } -`;i.arrayLikeToArray=o("7.9.0")` +`;n.arrayLikeToArray=o("7.9.0")` export default function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } -`;i.nonIterableSpread=o("7.0.0-beta.0")` +`;n.nonIterableSpread=o("7.0.0-beta.0")` export default function _nonIterableSpread() { throw new TypeError( "Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ); } -`;i.nonIterableRest=o("7.0.0-beta.0")` +`;n.nonIterableRest=o("7.0.0-beta.0")` export default function _nonIterableRest() { throw new TypeError( "Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ); } -`;i.createForOfIteratorHelper=o("7.9.0")` +`;n.createForOfIteratorHelper=o("7.9.0")` import unsupportedIterableToArray from "unsupportedIterableToArray"; // s: start (create the iterator) @@ -5004,7 +5004,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } }; } -`;i.createForOfIteratorHelperLoose=o("7.9.0")` +`;n.createForOfIteratorHelperLoose=o("7.9.0")` import unsupportedIterableToArray from "unsupportedIterableToArray"; export default function _createForOfIteratorHelperLoose(o, allowArrayLike) { @@ -5028,7 +5028,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } -`;i.skipFirstGeneratorNext=o("7.0.0-beta.0")` +`;n.skipFirstGeneratorNext=o("7.0.0-beta.0")` export default function _skipFirstGeneratorNext(fn) { return function () { var it = fn.apply(this, arguments); @@ -5036,7 +5036,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return it; } } -`;i.toPrimitive=o("7.1.5")` +`;n.toPrimitive=o("7.1.5")` export default function _toPrimitive( input, hint /*: "default" | "string" | "number" | void */ @@ -5050,21 +5050,21 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return (hint === "string" ? String : Number)(input); } -`;i.toPropertyKey=o("7.1.5")` +`;n.toPropertyKey=o("7.1.5")` import toPrimitive from "toPrimitive"; export default function _toPropertyKey(arg) { var key = toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); } -`;i.initializerWarningHelper=o("7.0.0-beta.0")` +`;n.initializerWarningHelper=o("7.0.0-beta.0")` export default function _initializerWarningHelper(descriptor, context){ throw new Error( 'Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.' ); } -`;i.initializerDefineProperty=o("7.0.0-beta.0")` +`;n.initializerDefineProperty=o("7.0.0-beta.0")` export default function _initializerDefineProperty(target, property, descriptor, context){ if (!descriptor) return; @@ -5075,7 +5075,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m value: descriptor.initializer ? descriptor.initializer.call(context) : void 0, }); } -`;i.applyDecoratedDescriptor=o("7.0.0-beta.0")` +`;n.applyDecoratedDescriptor=o("7.0.0-beta.0")` export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context){ var desc = {}; Object.keys(descriptor).forEach(function(key){ @@ -5103,26 +5103,26 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return desc; } -`;i.classPrivateFieldLooseKey=o("7.0.0-beta.0")` +`;n.classPrivateFieldLooseKey=o("7.0.0-beta.0")` var id = 0; export default function _classPrivateFieldKey(name) { return "__private_" + (id++) + "_" + name; } -`;i.classPrivateFieldLooseBase=o("7.0.0-beta.0")` +`;n.classPrivateFieldLooseBase=o("7.0.0-beta.0")` export default function _classPrivateFieldBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; } -`;i.classPrivateFieldGet=o("7.0.0-beta.0")` +`;n.classPrivateFieldGet=o("7.0.0-beta.0")` import classApplyDescriptorGet from "classApplyDescriptorGet"; import classExtractFieldDescriptor from "classExtractFieldDescriptor"; export default function _classPrivateFieldGet(receiver, privateMap) { var descriptor = classExtractFieldDescriptor(receiver, privateMap, "get"); return classApplyDescriptorGet(receiver, descriptor); } -`;i.classPrivateFieldSet=o("7.0.0-beta.0")` +`;n.classPrivateFieldSet=o("7.0.0-beta.0")` import classApplyDescriptorSet from "classApplyDescriptorSet"; import classExtractFieldDescriptor from "classExtractFieldDescriptor"; export default function _classPrivateFieldSet(receiver, privateMap, value) { @@ -5130,21 +5130,21 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classApplyDescriptorSet(receiver, descriptor, value); return value; } -`;i.classPrivateFieldDestructureSet=o("7.4.4")` +`;n.classPrivateFieldDestructureSet=o("7.4.4")` import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet"; import classExtractFieldDescriptor from "classExtractFieldDescriptor"; export default function _classPrivateFieldDestructureSet(receiver, privateMap) { var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set"); return classApplyDescriptorDestructureSet(receiver, descriptor); } -`;i.classExtractFieldDescriptor=o("7.13.10")` +`;n.classExtractFieldDescriptor=o("7.13.10")` export default function _classExtractFieldDescriptor(receiver, privateMap, action) { if (!privateMap.has(receiver)) { throw new TypeError("attempted to " + action + " private field on non-instance"); } return privateMap.get(receiver); } -`;i.classStaticPrivateFieldSpecGet=o("7.0.2")` +`;n.classStaticPrivateFieldSpecGet=o("7.0.2")` import classApplyDescriptorGet from "classApplyDescriptorGet"; import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; @@ -5153,7 +5153,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classCheckPrivateStaticFieldDescriptor(descriptor, "get"); return classApplyDescriptorGet(receiver, descriptor); } -`;i.classStaticPrivateFieldSpecSet=o("7.0.2")` +`;n.classStaticPrivateFieldSpecSet=o("7.0.2")` import classApplyDescriptorSet from "classApplyDescriptorSet"; import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; @@ -5163,24 +5163,24 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classApplyDescriptorSet(receiver, descriptor, value); return value; } -`;i.classStaticPrivateMethodGet=o("7.3.2")` +`;n.classStaticPrivateMethodGet=o("7.3.2")` import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; export default function _classStaticPrivateMethodGet(receiver, classConstructor, method) { classCheckPrivateStaticAccess(receiver, classConstructor); return method; } -`;i.classStaticPrivateMethodSet=o("7.3.2")` +`;n.classStaticPrivateMethodSet=o("7.3.2")` export default function _classStaticPrivateMethodSet() { throw new TypeError("attempted to set read only static private field"); } -`;i.classApplyDescriptorGet=o("7.13.10")` +`;n.classApplyDescriptorGet=o("7.13.10")` export default function _classApplyDescriptorGet(receiver, descriptor) { if (descriptor.get) { return descriptor.get.call(receiver); } return descriptor.value; } -`;i.classApplyDescriptorSet=o("7.13.10")` +`;n.classApplyDescriptorSet=o("7.13.10")` export default function _classApplyDescriptorSet(receiver, descriptor, value) { if (descriptor.set) { descriptor.set.call(receiver, value); @@ -5194,7 +5194,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m descriptor.value = value; } } -`;i.classApplyDescriptorDestructureSet=o("7.13.10")` +`;n.classApplyDescriptorDestructureSet=o("7.13.10")` export default function _classApplyDescriptorDestructureSet(receiver, descriptor) { if (descriptor.set) { if (!("__destrObj" in descriptor)) { @@ -5216,7 +5216,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return descriptor; } } -`;i.classStaticPrivateFieldDestructureSet=o("7.13.10")` +`;n.classStaticPrivateFieldDestructureSet=o("7.13.10")` import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet"; import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; @@ -5225,19 +5225,19 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classCheckPrivateStaticFieldDescriptor(descriptor, "set"); return classApplyDescriptorDestructureSet(receiver, descriptor); } -`;i.classCheckPrivateStaticAccess=o("7.13.10")` +`;n.classCheckPrivateStaticAccess=o("7.13.10")` export default function _classCheckPrivateStaticAccess(receiver, classConstructor) { if (receiver !== classConstructor) { throw new TypeError("Private static access of wrong provenance"); } } -`;i.classCheckPrivateStaticFieldDescriptor=o("7.13.10")` +`;n.classCheckPrivateStaticFieldDescriptor=o("7.13.10")` export default function _classCheckPrivateStaticFieldDescriptor(descriptor, action) { if (descriptor === undefined) { throw new TypeError("attempted to " + action + " private static field before its declaration"); } } -`;i.decorate=o("7.1.5")` +`;n.decorate=o("7.1.5")` import toArray from "toArray"; import toPropertyKey from "toPropertyKey"; @@ -5909,18 +5909,18 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return value; } -`;i.classPrivateMethodGet=o("7.1.6")` +`;n.classPrivateMethodGet=o("7.1.6")` export default function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; } -`;{i.classPrivateMethodSet=o("7.1.6")` +`;{n.classPrivateMethodSet=o("7.1.6")` export default function _classPrivateMethodSet() { throw new TypeError("attempted to reassign private method"); } - `}},71804:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.get=get;t.minVersion=minVersion;t.getDependencies=getDependencies;t.ensure=ensure;t.default=t.list=void 0;var n=r(4267);var s=r(57012);var i=r(71432);function makePath(e){const t=[];for(;e.parentPath;e=e.parentPath){t.push(e.key);if(e.inList)t.push(e.listKey)}return t.reverse().join(".")}let a=undefined;function getHelperMetadata(e){const t=new Set;const r=new Set;const s=new Map;let a;let o;const l=[];const u=[];const p=[];const f={ImportDeclaration(e){const t=e.node.source.value;if(!i.default[t]){throw e.buildCodeFrameError(`Unknown helper ${t}`)}if(e.get("specifiers").length!==1||!e.get("specifiers.0").isImportDefaultSpecifier()){throw e.buildCodeFrameError("Helpers can only import a default value")}const r=e.node.specifiers[0].local;s.set(r,t);u.push(makePath(e))},ExportDefaultDeclaration(e){const t=e.get("declaration");if(t.isFunctionDeclaration()){if(!t.node.id){throw t.buildCodeFrameError("Helpers should give names to their exported func declaration")}a=t.node.id.name}o=makePath(e)},ExportAllDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},ExportNamedDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},Statement(e){if(e.isModuleDeclaration())return;e.skip()}};const c={Program(e){const t=e.scope.getAllBindings();Object.keys(t).forEach(e=>{if(e===a)return;if(s.has(t[e].identifier))return;r.add(e)})},ReferencedIdentifier(e){const r=e.node.name;const n=e.scope.getBinding(r,true);if(!n){t.add(r)}else if(s.has(n.identifier)){p.push(makePath(e))}},AssignmentExpression(e){const t=e.get("left");if(!(a in t.getBindingIdentifiers()))return;if(!t.isIdentifier()){throw t.buildCodeFrameError("Only simple assignments to exports are allowed in helpers")}const r=e.scope.getBinding(a);if(r!=null&&r.scope.path.isProgram()){l.push(makePath(e))}}};(0,n.default)(e.ast,f,e.scope);(0,n.default)(e.ast,c,e.scope);if(!o)throw new Error("Helpers must default-export something.");l.reverse();return{globals:Array.from(t),localBindingNames:Array.from(r),dependencies:s,exportBindingAssignments:l,exportPath:o,exportName:a,importBindingsReferences:p,importPaths:u}}function permuteHelperAST(e,t,r,i,a){if(i&&!r){throw new Error("Unexpected local bindings for module-based helpers.")}if(!r)return;const{localBindingNames:o,dependencies:l,exportBindingAssignments:u,exportPath:p,exportName:f,importBindingsReferences:c,importPaths:d}=t;const y={};l.forEach((e,t)=>{y[t.name]=typeof a==="function"&&a(e)||t});const m={};const T=new Set(i||[]);o.forEach(e=>{let t=e;while(T.has(t))t="_"+t;if(t!==e)m[e]=t});if(r.type==="Identifier"&&f!==r.name){m[f]=r.name}const h={Program(e){const t=e.get(p);const n=d.map(t=>e.get(t));const i=c.map(t=>e.get(t));const a=t.get("declaration");if(r.type==="Identifier"){if(a.isFunctionDeclaration()){t.replaceWith(a)}else{t.replaceWith(s.variableDeclaration("var",[s.variableDeclarator(r,a.node)]))}}else if(r.type==="MemberExpression"){if(a.isFunctionDeclaration()){u.forEach(t=>{const n=e.get(t);n.replaceWith(s.assignmentExpression("=",r,n.node))});t.replaceWith(a);e.pushContainer("body",s.expressionStatement(s.assignmentExpression("=",r,s.identifier(f))))}else{t.replaceWith(s.expressionStatement(s.assignmentExpression("=",r,a.node)))}}else{throw new Error("Unexpected helper format.")}Object.keys(m).forEach(t=>{e.scope.rename(t,m[t])});for(const e of n)e.remove();for(const e of i){const t=s.cloneNode(y[e.node.name]);e.replaceWith(t)}e.stop()}};(0,n.default)(e.ast,h,e.scope)}const o=Object.create(null);function loadHelper(e){if(!o[e]){const t=i.default[e];if(!t){throw Object.assign(new ReferenceError(`Unknown helper ${e}`),{code:"BABEL_HELPER_UNKNOWN",helper:e})}const r=()=>{const r={ast:s.file(t.ast())};if(a){return new a({filename:`babel-helper://${e}`},r)}return r};const n=getHelperMetadata(r());o[e]={build(e,t,s){const i=r();permuteHelperAST(i,n,t,s,e);return{nodes:i.ast.program.body,globals:n.globals}},minVersion(){return t.minVersion},dependencies:n.dependencies}}return o[e]}function get(e,t,r,n){return loadHelper(e).build(t,r,n)}function minVersion(e){return loadHelper(e).minVersion()}function getDependencies(e){return Array.from(loadHelper(e).dependencies.values())}function ensure(e,t){if(!a){a=t}loadHelper(e)}const l=Object.keys(i.default).map(e=>e.replace(/^_/,"")).filter(e=>e!=="__esModule");t.list=l;var u=get;t.default=u},36860:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldHighlight=shouldHighlight;t.getChalk=getChalk;t.default=highlight;var n=r(52388);var s=r(17010);var i=r(72242);const a=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let u;{const e=/^[a-z][\w-]*$/i;const t=function(t,r,n){if(t.type==="name"){if((0,s.isKeyword)(t.value)||(0,s.isStrictReservedWord)(t.value,true)||a.has(t.value)){return"keyword"}if(e.test(t.value)&&(n[r-1]==="<"||n.substr(r-2,2)=="t(e)).join("\n")}else{r+=s}}return r}function shouldHighlight(e){return!!i.supportsColor||e.forceColor}function getChalk(e){return e.forceColor?new i.constructor({enabled:true,level:1}):i}function highlight(e,t={}){if(shouldHighlight(t)){const r=getChalk(t);const n=getDefs(r);return highlightTokens(n,e)}else{return e}}},49665:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(49665);var s=r(76402)},76402:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},20639:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r=true;const n=true;const s=true;const i=true;const a=true;const o=true;class TokenType{constructor(e,t={}){this.label=void 0;this.keyword=void 0;this.beforeExpr=void 0;this.startsExpr=void 0;this.rightAssociative=void 0;this.isLoop=void 0;this.isAssign=void 0;this.prefix=void 0;this.postfix=void 0;this.binop=void 0;this.updateContext=void 0;this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.rightAssociative=!!t.rightAssociative;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop!=null?t.binop:null;this.updateContext=null}}const l=new Map;function createKeyword(e,t={}){t.keyword=e;const r=new TokenType(e,t);l.set(e,r);return r}function createBinop(e,t){return new TokenType(e,{beforeExpr:r,binop:t})}const u={num:new TokenType("num",{startsExpr:n}),bigint:new TokenType("bigint",{startsExpr:n}),decimal:new TokenType("decimal",{startsExpr:n}),regexp:new TokenType("regexp",{startsExpr:n}),string:new TokenType("string",{startsExpr:n}),name:new TokenType("name",{startsExpr:n}),privateName:new TokenType("#name",{startsExpr:n}),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:r,startsExpr:n}),bracketHashL:new TokenType("#[",{beforeExpr:r,startsExpr:n}),bracketBarL:new TokenType("[|",{beforeExpr:r,startsExpr:n}),bracketR:new TokenType("]"),bracketBarR:new TokenType("|]"),braceL:new TokenType("{",{beforeExpr:r,startsExpr:n}),braceBarL:new TokenType("{|",{beforeExpr:r,startsExpr:n}),braceHashL:new TokenType("#{",{beforeExpr:r,startsExpr:n}),braceR:new TokenType("}",{beforeExpr:r}),braceBarR:new TokenType("|}"),parenL:new TokenType("(",{beforeExpr:r,startsExpr:n}),parenR:new TokenType(")"),comma:new TokenType(",",{beforeExpr:r}),semi:new TokenType(";",{beforeExpr:r}),colon:new TokenType(":",{beforeExpr:r}),doubleColon:new TokenType("::",{beforeExpr:r}),dot:new TokenType("."),question:new TokenType("?",{beforeExpr:r}),questionDot:new TokenType("?."),arrow:new TokenType("=>",{beforeExpr:r}),template:new TokenType("template"),ellipsis:new TokenType("...",{beforeExpr:r}),backQuote:new TokenType("`",{startsExpr:n}),dollarBraceL:new TokenType("${",{beforeExpr:r,startsExpr:n}),at:new TokenType("@"),hash:new TokenType("#",{startsExpr:n}),interpreterDirective:new TokenType("#!..."),eq:new TokenType("=",{beforeExpr:r,isAssign:i}),assign:new TokenType("_=",{beforeExpr:r,isAssign:i}),slashAssign:new TokenType("_=",{beforeExpr:r,isAssign:i}),moduloAssign:new TokenType("_=",{beforeExpr:r,isAssign:i}),incDec:new TokenType("++/--",{prefix:a,postfix:o,startsExpr:n}),bang:new TokenType("!",{beforeExpr:r,prefix:a,startsExpr:n}),tilde:new TokenType("~",{beforeExpr:r,prefix:a,startsExpr:n}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:r,binop:9,prefix:a,startsExpr:n}),modulo:new TokenType("%",{binop:10,startsExpr:n}),star:new TokenType("*",{binop:10}),slash:createBinop("/",10),exponent:new TokenType("**",{beforeExpr:r,binop:11,rightAssociative:true}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:r}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:r}),_do:createKeyword("do",{isLoop:s,beforeExpr:r}),_else:createKeyword("else",{beforeExpr:r}),_finally:createKeyword("finally"),_for:createKeyword("for",{isLoop:s}),_function:createKeyword("function",{startsExpr:n}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:r}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:r,prefix:a,startsExpr:n}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_while:createKeyword("while",{isLoop:s}),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:r,startsExpr:n}),_this:createKeyword("this",{startsExpr:n}),_super:createKeyword("super",{startsExpr:n}),_class:createKeyword("class",{startsExpr:n}),_extends:createKeyword("extends",{beforeExpr:r}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:n}),_null:createKeyword("null",{startsExpr:n}),_true:createKeyword("true",{startsExpr:n}),_false:createKeyword("false",{startsExpr:n}),_in:createKeyword("in",{beforeExpr:r,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:r,binop:7}),_typeof:createKeyword("typeof",{beforeExpr:r,prefix:a,startsExpr:n}),_void:createKeyword("void",{beforeExpr:r,prefix:a,startsExpr:n}),_delete:createKeyword("delete",{beforeExpr:r,prefix:a,startsExpr:n})};const p=/\r\n?|[\n\u2028\u2029]/;const f=new RegExp(p.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const c=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;const d=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y;const y=new RegExp("(?=("+d.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function isWhitespace(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return true;default:return false}}class Position{constructor(e,t){this.line=void 0;this.column=void 0;this.line=e;this.column=t}}class SourceLocation{constructor(e,t){this.start=void 0;this.end=void 0;this.filename=void 0;this.identifierName=void 0;this.start=e;this.end=t}}function getLineInfo(e,t){let r=1;let n=0;let s;f.lastIndex=0;while((s=f.exec(e))&&s.index0){n=t[--s]}if(n===null||n.start>r.start){setInnerComments(e,r.comments)}else{setTrailingComments(n,r.comments)}}class CommentsParser extends BaseParser{addComment(e){if(this.filename)e.loc.filename=this.filename;this.state.comments.push(e)}processComment(e){const{commentStack:t}=this.state;const r=t.length;if(r===0)return;let n=r-1;const s=t[n];if(s.start===e.end){s.leadingNode=e;n--}const{start:i}=e;for(;n>=0;n--){const r=t[n];const s=r.end;if(s>i){r.containingNode=e;this.finalizeComment(r);t.splice(n,1)}else{if(s===i){r.trailingNode=e}break}}}finalizeComment(e){const{comments:t}=e;if(e.leadingNode!==null||e.trailingNode!==null){if(e.leadingNode!==null){setTrailingComments(e.leadingNode,t)}if(e.trailingNode!==null){e.trailingNode.leadingComments=t}}else{const{containingNode:r,start:n}=e;if(this.input.charCodeAt(n-1)===44){switch(r.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":adjustInnerComments(r,r.properties,e);break;case"CallExpression":case"OptionalCallExpression":adjustInnerComments(r,r.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":adjustInnerComments(r,r.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":adjustInnerComments(r,r.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":adjustInnerComments(r,r.specifiers,e);break;default:{setInnerComments(r,t)}}}else{setInnerComments(r,t)}}}finalizeRemainingComments(){const{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--){this.finalizeComment(e[t])}this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){const{commentStack:t}=this.state;const{length:r}=t;if(r===0)return;const n=t[r-1];if(n.leadingNode===e){n.leadingNode=null}}}const m=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const T=makeErrorTemplates({AccessorIsGenerator:"A %0ter cannot be a generator.",ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accesor must not have any formal parameters.",BadSetterArity:"A 'set' accesor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accesor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:"'%0' require an initialization value.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:"`%0` has already been exported. Exported identifiers must be unique.",DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '%0' as '%1' } from 'some-module'`?",ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:"'%0' loop variable declaration may not have an initializer.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:"Unsyntactic %0.",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:'A string literal cannot be used as an imported binding.\n- Did you mean `import { "%0" as foo }`?',ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:"`import()` requires exactly %0.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidDecimal:"Invalid decimal.",InvalidDigit:"Expected number in radix %0.",InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:"Escape sequence in keyword %0.",InvalidIdentifier:"Invalid identifier %0.",InvalidLhs:"Invalid left-hand side in %0.",InvalidLhsBinding:"Binding invalid left-hand side in %0.",InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:"Unexpected character '%0'.",InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:"Private name #%0 is not defined.",InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:"Label '%0' is already declared.",LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:'Duplicate key "%0" is not allowed in module attributes.',ModuleExportNameHasLoneSurrogate:"An export name cannot include a lone surrogate, found '\\u%0'.",ModuleExportUndefined:"Export '%0' is not defined.",MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PipeBodyIsTighter:"Unexpected %0 after pipeline body; any %0 expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:'Invalid topic token %0. In order to use %0 as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "%0" }.',PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PrivateInExpectedIn:"Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`).",PrivateNameRedeclaration:"Duplicate private name #%0.",RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:"Assigning to '%0' in strict mode.",StrictEvalArgumentsBinding:"Binding '%0' in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:"Unexpected keyword '%0'.",UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Private names can only be used as the name of a class element (i.e. class C { #p = 42; #m() {} } )\n or a property of member expression (i.e. this.#p).",UnexpectedReservedWord:"Unexpected reserved word '%0'.",UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:"Unexpected token '%0'.",UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:"The only valid meta property for %0 is %0.%1.",UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",VarRedeclaration:"Identifier '%0' has already been declared.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},m.SyntaxError);const h=makeErrorTemplates({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},m.SourceTypeModuleError);function makeErrorTemplates(e,t){const r={};Object.keys(e).forEach(n=>{r[n]=Object.freeze({code:t,reasonCode:n,template:e[n]})});return Object.freeze(r)}class ParserError extends CommentsParser{getLocationForPosition(e){let t;if(e===this.state.start)t=this.state.startLoc;else if(e===this.state.lastTokStart)t=this.state.lastTokStartLoc;else if(e===this.state.end)t=this.state.endLoc;else if(e===this.state.lastTokEnd)t=this.state.lastTokEndLoc;else t=getLineInfo(this.input,e);return t}raise(e,{code:t,reasonCode:r,template:n},...s){return this.raiseWithData(e,{code:t,reasonCode:r},n,...s)}raiseOverwrite(e,{code:t,template:r},...n){const s=this.getLocationForPosition(e);const i=r.replace(/%(\d+)/g,(e,t)=>n[t])+` (${s.line}:${s.column})`;if(this.options.errorRecovery){const t=this.state.errors;for(let r=t.length-1;r>=0;r--){const n=t[r];if(n.pos===e){return Object.assign(n,{message:i})}else if(n.posn[t])+` (${s.line}:${s.column})`;return this._raise(Object.assign({loc:s,pos:e},t),i)}_raise(e,t){const r=new SyntaxError(t);Object.assign(r,e);if(this.options.errorRecovery){if(!this.isLookahead)this.state.errors.push(r);return r}else{throw r}}}var S=e=>(class extends e{parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const n=this.estreeParseLiteral(r);n.regex={pattern:e,flags:t};return n}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);r.bigint=String(r.value||e);return r}parseDecimalLiteral(e){const t=null;const r=this.estreeParseLiteral(t);r.decimal=String(r.value||e);return r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;const r=this.startNodeAt(e.start,e.loc.start);const n=this.startNodeAt(t.start,t.loc.start);n.value=t.extra.expressionValue;n.raw=t.extra.raw;r.expression=this.finishNodeAt(n,"Literal",t.end,t.loc.end);r.directive=t.extra.raw.slice(1,-1);return this.finishNodeAt(r,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}stmtToDirective(e){const t=e.expression.value;const r=super.stmtToDirective(e);this.addExtra(r.value,"expressionValue",t);return r}parseBlockBody(e,...t){super.parseBlockBody(e,...t);const r=e.directives.map(e=>this.directiveToStmt(e));e.body=r.concat(e.body);delete e.directives}pushClassMethod(e,t,r,n,s,i){this.parseMethod(t,r,n,s,i,"ClassMethod",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parseMaybePrivateName(...e){const t=super.parseMaybePrivateName(...e);if(t.type==="PrivateName"&&this.getPluginOption("estree","classFeatures")){return this.convertPrivateNameToPrivateIdentifier(t)}return t}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}return e.name}parseLiteral(e,t){const r=super.parseLiteral(e,t);r.raw=r.extra.raw;delete r.extra;return r}parseFunctionBody(e,t,r=false){super.parseFunctionBody(e,t,r);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,r,n,s,i,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,r,n,s,i,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(i==="ClassPrivateMethod"){e.computed=false}i="MethodDefinition";return this.finishNode(e,i)}parseClassProperty(...e){const t=super.parseClassProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition"}return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition";t.computed=false}return t}parseObjectMethod(e,t,r,n,s){const i=super.parseObjectMethod(e,t,r,n,s);if(i){i.type="Property";if(i.kind==="method")i.kind="init";i.shorthand=false}return i}parseObjectProperty(e,t,r,n,s){const i=super.parseObjectProperty(e,t,r,n,s);if(i){i.kind="init";i.type="Property"}return i}isAssignable(e,t){if(e!=null&&this.isObjectProperty(e)){return this.isAssignable(e.value,t)}return super.isAssignable(e,t)}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){this.toAssignable(e.value,t);return e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){if(e.kind==="get"||e.kind==="set"){this.raise(e.key.start,T.PatternHasAccessor)}else if(e.method){this.raise(e.key.start,T.PatternHasMethod)}else{super.toAssignableObjectExpressionProp(e,...t)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];if(this.hasPlugin("importAssertions")){var r;e.attributes=(r=e.arguments[1])!=null?r:null}delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,r,n,s){const i=super.parseSubscript(e,t,r,n,s);if(s.optionalChainMember){if(i.type==="OptionalMemberExpression"||i.type==="OptionalCallExpression"){i.type=i.type.substring(8)}if(s.stop){const e=this.startNodeAtNode(i);e.expression=i;return this.finishNode(e,"ChainExpression")}}else if(i.type==="MemberExpression"||i.type==="CallExpression"){i.optional=false}return i}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}});class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const b={brace:new TokContext("{"),template:new TokContext("`",true)};u.braceR.updateContext=(e=>{e.pop()});u.braceL.updateContext=u.braceHashL.updateContext=u.dollarBraceL.updateContext=(e=>{e.push(b.brace)});u.backQuote.updateContext=(e=>{if(e[e.length-1]===b.template){e.pop()}else{e.push(b.template)}});let E="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let g="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const P=new RegExp("["+E+"]");const x=new RegExp("["+E+g+"]");E=g=null;const v=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const A=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&P.test(String.fromCharCode(e))}return isInAstralSet(e,v)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&x.test(String.fromCharCode(e))}return isInAstralSet(e,v)||isInAstralSet(e,A)}const O={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const I=new Set(O.keyword);const D=new Set(O.strict);const w=new Set(O.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||D.has(e)}function isStrictBindOnlyReservedWord(e){return w.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return I.has(e)}function isIteratorStart(e,t){return e===64&&t===64}const j=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function canBeReservedWord(e){return j.has(e)}const N=0,C=1,L=2,_=4,M=8,F=16,B=32,k=64,R=128,K=256,V=C|L|K;const X=1,Y=2,J=4,U=8,W=16,q=64,z=128,G=256,$=512,H=1024,Q=2048;const Z=X|Y|U|z,ee=X|0|U|0,te=X|0|J|0,re=X|0|W|0,ne=0|Y|0|z,se=0|Y|0|0,ie=X|Y|U|G,ae=0|0|0|H,oe=0|0|0|q,le=X|0|0|q,ue=ie|$,pe=0|0|0|H,fe=Q;const ce=4,de=2,ye=1,me=de|ye;const Te=de|ce,he=ye|ce,Se=de,be=ye,Ee=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.scopeStack=[];this.undefinedExports=new Map;this.undefinedPrivateNames=new Map;this.raise=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&L)>0}get allowSuper(){return(this.currentThisScopeFlags()&F)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&B)>0}get inClass(){return(this.currentThisScopeFlags()&k)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&k)>0&&(e&L)===0}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&R){return true}if(t&(V|k)){return false}}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&L)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&L||!this.inModule&&e.flags&C)}declareName(e,t,r){let n=this.currentScope();if(t&U||t&W){this.checkRedeclarationInScope(n,e,t,r);if(t&W){n.functions.add(e)}else{n.lexical.add(e)}if(t&U){this.maybeExportDefined(n,e)}}else if(t&J){for(let s=this.scopeStack.length-1;s>=0;--s){n=this.scopeStack[s];this.checkRedeclarationInScope(n,e,t,r);n.var.add(e);this.maybeExportDefined(n,e);if(n.flags&V)break}}if(this.inModule&&n.flags&C){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.inModule&&e.flags&C){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,r,n){if(this.isRedeclaredInScope(e,t,r)){this.raise(n,T.VarRedeclaration,t)}}isRedeclaredInScope(e,t,r){if(!(r&X))return false;if(r&U){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(r&W){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&M&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const r=this.scopeStack[0];if(!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)){this.undefinedExports.set(t,e.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&V){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(V|k)&&!(t&_)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,r){const n=this.currentScope();if(t&Q){this.checkRedeclarationInScope(n,e,t,r);this.maybeExportDefined(n,e);n.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,r){if(super.isRedeclaredInScope(...arguments))return true;if(r&Q){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}class State{constructor(){this.strict=void 0;this.curLine=void 0;this.startLoc=void 0;this.endLoc=void 0;this.errors=[];this.potentialArrowAt=-1;this.noArrowAt=[];this.noArrowParamsConversionAt=[];this.maybeInArrowParameters=false;this.inType=false;this.noAnonFunctionType=false;this.inPropertyName=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.decoratorStack=[[]];this.comments=[];this.commentStack=[];this.pos=0;this.lineStart=0;this.type=u.eof;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.lastTokEnd=0;this.context=[b.brace];this.exprAllowed=true;this.containsEsc=false;this.strictErrors=new Map;this.tokensLength=0}init(e){this.strict=e.strictMode===false?false:e.strictMode===true?true:e.sourceType==="module";this.curLine=e.startLine;this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new Position(this.curLine,this.pos-this.lineStart)}clone(e){const t=new State;const r=Object.keys(this);for(let n=0,s=r.length;n=48&&e<=57};const Pe=new Set([103,109,115,105,121,117,100]);const xe={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]};const ve={};ve.bin=[48,49];ve.oct=[...ve.bin,50,51,52,53,54,55];ve.dec=[...ve.oct,56,57];ve.hex=[...ve.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends ParserError{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(this.state))}this.state.lastTokEnd=this.state.end;this.state.lastTokStart=this.state.start;this.state.lastTokEndLoc=this.state.endLoc;this.state.lastTokStartLoc=this.state.startLoc;this.nextToken()}eat(e){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){c.lastIndex=e;return c.test(this.input)?c.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(t,e));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(!e.preserveSpace)this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(u.eof);return}if(e===b.template){this.readTmplToken()}else{this.getTokenFromCode(this.codePointAtPos(this.state.pos))}}skipBlockComment(){let e;if(!this.isLookahead)e=this.state.curPosition();const t=this.state.pos;const r=this.input.indexOf("*/",t+2);if(r===-1)throw this.raise(t,T.UnterminatedComment);this.state.pos=r+2;f.lastIndex=t+2;while(f.test(this.input)&&f.lastIndex<=r){++this.state.curLine;this.state.lineStart=f.lastIndex}if(this.isLookahead)return;const n={type:"CommentBlock",value:this.input.slice(t+2,r),start:t,end:r+2,loc:new SourceLocation(e,this.state.curPosition())};if(this.options.tokens)this.pushToken(n);return n}skipLineComment(e){const t=this.state.pos;let r;if(!this.isLookahead)r=this.state.curPosition();let n=this.input.charCodeAt(this.state.pos+=e);if(this.state.pose)){const e=this.skipLineComment(3);if(e!==undefined){this.addComment(e);if(this.options.attachComment)t.push(e)}}else{break e}}else if(r===60&&!this.inModule){const e=this.state.pos;if(this.input.charCodeAt(e+1)===33&&this.input.charCodeAt(e+2)===45&&this.input.charCodeAt(e+3)===45){const e=this.skipLineComment(4);if(e!==undefined){this.addComment(e);if(this.options.attachComment)t.push(e)}}else{break e}}else{break e}}}if(t.length>0){const r=this.state.pos;const n={start:e,end:r,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(n)}}finishToken(e,t){this.state.end=this.state.pos;const r=this.state.type;this.state.type=e;this.state.value=t;if(!this.isLookahead){this.state.endLoc=this.state.curPosition();this.updateContext(r)}}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter()){return}const e=this.state.pos+1;const t=this.codePointAtPos(e);if(t>=48&&t<=57){throw this.raise(this.state.pos,T.UnexpectedDigitAfterHash)}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(this.state.pos,t===123?T.RecordExpressionHashIncorrectStartSyntaxType:T.TupleExpressionHashIncorrectStartSyntaxType)}this.state.pos+=2;if(t===123){this.finishToken(u.braceHashL)}else{this.finishToken(u.bracketHashL)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(u.privateName,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(u.privateName,this.readWord1())}else{this.finishOp(u.hash,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(u.ellipsis)}else{++this.state.pos;this.finishToken(u.dot)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(u.slashAssign,2)}else{this.finishOp(u.slash,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos=48&&t<=57)){this.state.pos+=2;this.finishToken(u.questionDot)}else{++this.state.pos;this.finishToken(u.question)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(u.parenL);return;case 41:++this.state.pos;this.finishToken(u.parenR);return;case 59:++this.state.pos;this.finishToken(u.semi);return;case 44:++this.state.pos;this.finishToken(u.comma);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,T.TupleExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.bracketBarL)}else{++this.state.pos;this.finishToken(u.bracketL)}return;case 93:++this.state.pos;this.finishToken(u.bracketR);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,T.RecordExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.braceBarL)}else{++this.state.pos;this.finishToken(u.braceL)}return;case 125:++this.state.pos;this.finishToken(u.braceR);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(u.doubleColon,2)}else{++this.state.pos;this.finishToken(u.colon)}return;case 63:this.readToken_question();return;case 96:++this.state.pos;this.finishToken(u.backQuote);return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:case 62:this.readToken_lt_gt(e);return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(u.tilde,1);return;case 64:++this.state.pos;this.finishToken(u.at);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(this.state.pos,T.InvalidOrUnexpectedToken,String.fromCodePoint(e))}finishOp(e,t){const r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t;this.finishToken(e,r)}readRegexp(){const e=this.state.start+1;let t,r;let{pos:n}=this.state;for(;;++n){if(n>=this.length){throw this.raise(e,T.UnterminatedRegExp)}const s=this.input.charCodeAt(n);if(isNewLine(s)){throw this.raise(e,T.UnterminatedRegExp)}if(t){t=false}else{if(s===91){r=true}else if(s===93&&r){r=false}else if(s===47&&!r){break}t=s===92}}const s=this.input.slice(e,n);++n;let i="";while(n-1||i.indexOf(t)>-1||Number.isNaN(t)){this.raise(this.state.pos,T.UnexpectedNumericSeparator)}if(!n){this.raise(this.state.pos,T.NumericSeparatorInEscapeSequence)}++this.state.pos;continue}if(t>=97){u=t-97+10}else if(t>=65){u=t-65+10}else if(ge(t)){u=t-48}else{u=Infinity}if(u>=e){if(this.options.errorRecovery&&u<=9){u=0;this.raise(this.state.start+s+2,T.InvalidDigit,e)}else if(r){u=0;o=true}else{break}}++this.state.pos;l=l*e+u}if(this.state.pos===s||t!=null&&this.state.pos-s!==t||o){return null}return l}readRadixNumber(e){const t=this.state.pos;let r=false;this.state.pos+=2;const n=this.readInt(e);if(n==null){this.raise(this.state.start+2,T.InvalidDigit,e)}const s=this.input.charCodeAt(this.state.pos);if(s===110){++this.state.pos;r=true}else if(s===109){throw this.raise(t,T.InvalidDecimal)}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,T.NumberIdentifier)}if(r){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(u.bigint,e);return}this.finishToken(u.num,n)}readNumber(e){const t=this.state.pos;let r=false;let n=false;let s=false;let i=false;let a=false;if(!e&&this.readInt(10)===null){this.raise(t,T.InvalidNumber)}const o=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(o){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(t,T.StrictOctalLiteral);if(!this.state.strict){const r=e.indexOf("_");if(r>0){this.raise(r+t,T.ZeroDigitNumericSeparator)}}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!a){++this.state.pos;this.readInt(10);r=true;l=this.input.charCodeAt(this.state.pos)}if((l===69||l===101)&&!a){l=this.input.charCodeAt(++this.state.pos);if(l===43||l===45){++this.state.pos}if(this.readInt(10)===null){this.raise(t,T.InvalidOrMissingExponent)}r=true;i=true;l=this.input.charCodeAt(this.state.pos)}if(l===110){if(r||o){this.raise(t,T.InvalidBigIntLiteral)}++this.state.pos;n=true}if(l===109){this.expectPlugin("decimal",this.state.pos);if(i||o){this.raise(t,T.InvalidDecimal)}++this.state.pos;s=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,T.NumberIdentifier)}const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n){this.finishToken(u.bigint,p);return}if(s){this.finishToken(u.decimal,p);return}const f=a?parseInt(p,8):parseFloat(p);this.finishToken(u.num,f)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let r;if(t===123){const t=++this.state.pos;r=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(r!==null&&r>1114111){if(e){this.raise(t,T.InvalidCodePoint)}else{return null}}}else{r=this.readHexChar(4,false,e)}return r}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,T.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===92){t+=this.input.slice(r,this.state.pos);t+=this.readEscapedChar(false);r=this.state.pos}else if(n===8232||n===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(n)){throw this.raise(this.state.start,T.UnterminatedString)}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);this.finishToken(u.string,t)}readTmplToken(){let e="",t=this.state.pos,r=false;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,T.UnterminatedTemplate)}const n=this.input.charCodeAt(this.state.pos);if(n===96||n===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(u.template)){if(n===36){this.state.pos+=2;this.finishToken(u.dollarBraceL);return}else{++this.state.pos;this.finishToken(u.backQuote);return}}e+=this.input.slice(t,this.state.pos);this.finishToken(u.template,r?null:e);return}if(n===92){e+=this.input.slice(t,this.state.pos);const n=this.readEscapedChar(true);if(n===null){r=true}else{e+=n}t=this.state.pos}else if(isNewLine(n)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(n){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(n);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,t){if(this.state.strict&&!this.state.strictErrors.has(e)){this.raise(e,t)}else{this.state.strictErrors.set(e,t)}}readEscapedChar(e){const t=!e;const r=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(r){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:this.state.lineStart=this.state.pos;++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(e){return null}else{this.recordStrictModeErrors(this.state.pos-1,T.StrictNumericEscape)}default:if(r>=48&&r<=55){const t=this.state.pos-1;const r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let n=r[0];let s=parseInt(n,8);if(s>255){n=n.slice(0,-1);s=parseInt(n,8)}this.state.pos+=n.length-1;const i=this.input.charCodeAt(this.state.pos);if(n!=="0"||i===56||i===57){if(e){return null}else{this.recordStrictModeErrors(t,T.StrictNumericEscape)}}return String.fromCharCode(s)}return String.fromCharCode(r)}}readHexChar(e,t,r){const n=this.state.pos;const s=this.readInt(16,e,t,false);if(s===null){if(r){this.raise(n,T.InvalidEscapeSequence)}else{this.state.pos=n-1}}return s}readWord1(e){this.state.containsEsc=false;let t="";const r=this.state.pos;let n=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos{this.raise(r,t);let n=e.length-2;let s=e[n];while(s.canBeArrowParameterDeclaration()){s.clearDeclarationError(r);s=e[--n]}})}}function newParameterDeclarationScope(){return new ExpressionScope(De)}function newArrowHeadScope(){return new ArrowHeadParsingScope(Oe)}function newAsyncArrowScope(){return new ArrowHeadParsingScope(Ie)}function newExpressionScope(){return new ExpressionScope}const we=0,je=1,Ne=2,Ce=4,Le=8;class ProductionParameterHandler{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&Ne)>0}get hasYield(){return(this.currentFlags()&je)>0}get hasReturn(){return(this.currentFlags()&Ce)>0}get hasIn(){return(this.currentFlags()&Le)>0}}function functionFlags(e,t){return(e?Ne:0)|(t?je:0)}class UtilParser extends Tokenizer{addExtra(e,t,r){if(!e)return;const n=e.extra=e.extra||{};n[t]=r}isRelational(e){return this.match(u.relational)&&this.state.value===e}expectRelational(e){if(this.isRelational(e)){this.next()}else{this.unexpected(null,u.relational)}}isContextual(e){return this.match(u.name)&&this.state.value===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;if(this.input.slice(e,r)===t){const e=this.input.charCodeAt(r);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)&&this.eat(u.name)}expectContextual(e,t){if(!this.eatContextual(e))this.unexpected(null,t)}canInsertSemicolon(){return this.match(u.eof)||this.match(u.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return p.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){y.lastIndex=this.state.end;return y.test(this.input)}isLineTerminator(){return this.eat(u.semi)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(u.semi))return;this.raise(this.state.lastTokEnd,T.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){if(this.state.start>this.state.lastTokEnd){this.raise(this.state.lastTokEnd,{code:m.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}}unexpected(e,t={code:m.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){if(t instanceof TokenType){t={code:m.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${t.label}"`}}throw this.raise(e!=null?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e)){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`)}return true}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e))){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:e},`This experimental syntax requires enabling one of the following parser plugin(s): '${e.join(", ")}'`)}}tryParse(e,t=this.state.clone()){const r={node:null};try{const n=e((e=null)=>{r.node=e;throw r});if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:n,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:n,error:null,thrown:false,aborted:false,failState:null}}catch(e){const n=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:n}}if(e===r){return{node:r.node,error:null,thrown:false,aborted:true,failState:n}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssign:r,doubleProto:n,optionalParameters:s}=e;if(!t){return r>=0||n>=0||s>=0}if(r>=0){this.unexpected(r)}if(n>=0){this.raise(n,T.DuplicateProto)}if(s>=0){this.unexpected(s)}}isLiteralPropertyName(){return this.match(u.name)||!!this.state.type.keyword||this.match(u.string)||this.match(u.num)||this.match(u.bigint)||this.match(u.decimal)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const n=this.inModule;this.inModule=e;const s=this.scope;const i=this.getScopeHandler();this.scope=new i(this.raise.bind(this),this.inModule);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this.raise.bind(this));const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this.raise.bind(this));return()=>{this.state.labels=t;this.exportedIdentifiers=r;this.inModule=n;this.scope=s;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=we;if(this.inModule){e|=Ne}this.scope.enter(C);this.prodParam.enter(e)}}class ExpressionErrors{constructor(){this.shorthandAssign=-1;this.doubleProto=-1;this.optionalParameters=-1}}class Node{constructor(e,t,r){this.type="";this.start=t;this.end=0;this.loc=new SourceLocation(r);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}}const _e=Node.prototype;{_e.__clone=function(){const e=new Node;const t=Object.keys(this);for(let r=0,n=t.length;r async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:"`declare export %0` is not supported. Use `%1` instead.",UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."},m.SyntaxError);function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return(e.type===u.name||!!e.type.keyword)&&e.value!=="from"}const Be={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const r=[];const n=[];for(let s=0;s(class extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==u.string&&e!==u.semi&&e!==u.interpreterDirective){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=ke.exec(e.value);if(!t) ;else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||u.colon);const r=this.flowParseType();this.state.inType=t;return r}flowParsePredicate(){const e=this.startNode();const t=this.state.start;this.next();this.expectContextual("checks");if(this.state.lastTokStart>t+1){this.raise(t,Fe.UnexpectedSpaceBetweenModuloChecks)}if(this.eat(u.parenL)){e.value=this.parseExpression();this.expect(u.parenR);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(u.colon);let t=null;let r=null;if(this.match(u.modulo)){this.state.inType=e;r=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(u.modulo)){r=this.flowParsePredicate()}}return[t,r]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const r=this.startNode();const n=this.startNode();if(this.isRelational("<")){r.typeParameters=this.flowParseTypeParameterDeclaration()}else{r.typeParameters=null}this.expect(u.parenL);const s=this.flowParseFunctionTypeParams();r.params=s.params;r.rest=s.rest;r.this=s._this;this.expect(u.parenR);[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser();n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation");t.typeAnnotation=this.finishNode(n,"TypeAnnotation");this.resetEndLocation(t);this.semicolon();this.scope.declareName(e.id.name,fe,e.id.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(u._class)){return this.flowParseDeclareClass(e)}else if(this.match(u._function)){return this.flowParseDeclareFunction(e)}else if(this.match(u._var)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual("module")){if(this.match(u.dot)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(this.state.lastTokStart,Fe.NestedDeclareModule)}return this.flowParseDeclareModule(e)}}else if(this.isContextual("type")){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual("opaque")){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual("interface")){return this.flowParseDeclareInterface(e)}else if(this.match(u._export)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,te,e.id.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(N);if(this.match(u.string)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const r=t.body=[];this.expect(u.braceL);while(!this.match(u.braceR)){let e=this.startNode();if(this.match(u._import)){this.next();if(!this.isContextual("type")&&!this.match(u._typeof)){this.raise(this.state.lastTokStart,Fe.InvalidNonTypeImportInDeclareModule)}this.parseImport(e)}else{this.expectContextual("declare",Fe.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}r.push(e)}this.scope.exit();this.expect(u.braceR);this.finishNode(t,"BlockStatement");let n=null;let s=false;r.forEach(e=>{if(isEsModuleType(e)){if(n==="CommonJS"){this.raise(e.start,Fe.AmbiguousDeclareModuleKind)}n="ES"}else if(e.type==="DeclareModuleExports"){if(s){this.raise(e.start,Fe.DuplicateDeclareModuleExports)}if(n==="ES"){this.raise(e.start,Fe.AmbiguousDeclareModuleKind)}n="CommonJS";s=true}});e.kind=n||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(u._export);if(this.eat(u._default)){if(this.match(u._function)||this.match(u._class)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(u._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value;const t=Be[e];throw this.raise(this.state.start,Fe.UnsupportedDeclareExportKind,e,t)}if(this.match(u._var)||this.match(u._function)||this.match(u._class)||this.isContextual("opaque")){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(u.star)||this.match(u.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque")){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual("exports");e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?re:ee,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(u.comma))}if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(this.state.start,Fe.UnexpectedReservedUnderscore)}}checkReservedType(e,t,r){if(!Me.has(e))return;this.raise(t,r?Fe.AssignReservedType:Fe.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.start,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,ee,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(u.eq);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual("type");e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,ee,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(u.colon)){e.supertype=this.flowParseTypeInitialiser(u.colon)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(u.eq)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.start;const r=this.startNode();const n=this.flowParseVariance();const s=this.flowParseTypeAnnotatableIdentifier();r.name=s.name;r.variance=n;r.bound=s.typeAnnotation;if(this.match(u.eq)){this.eat(u.eq);r.default=this.flowParseType()}else{if(e){this.raise(t,Fe.MissingTypeParamDefault)}}return this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}let r=false;do{const e=this.flowParseTypeParameter(r);t.params.push(e);if(e.default){r=true}if(!this.isRelational(">")){this.expect(u.comma)}}while(!this.isRelational(">"));this.expectRelational(">");this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");const r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.isRelational(">")){e.params.push(this.flowParseType());if(!this.isRelational(">")){this.expect(u.comma)}}this.state.noAnonFunctionType=r;this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");while(!this.isRelational(">")){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.isRelational(">")){this.expect(u.comma)}}this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual("interface");e.extends=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(u.num)||this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,r){e.static=t;if(this.lookahead().type===u.colon){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(u.bracketR);e.value=this.flowParseTypeInitialiser();e.variance=r;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(u.bracketR);this.expect(u.bracketR);if(this.isRelational("<")||this.match(u.parenL)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(u.question)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(u.parenL);if(this.match(u._this)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(u.parenR)){this.expect(u.comma)}}while(!this.match(u.parenR)&&!this.match(u.ellipsis)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(u.parenR)){this.expect(u.comma)}}if(this.eat(u.ellipsis)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(u.parenR);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const r=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(r);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:n,allowInexact:s}){const i=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let p=false;if(t&&this.match(u.braceBarL)){this.expect(u.braceBarL);o=u.braceBarR;l=true}else{this.expect(u.braceL);o=u.braceR;l=false}a.exact=l;while(!this.match(o)){let t=false;let i=null;let o=null;const f=this.startNode();if(n&&this.isContextual("proto")){const t=this.lookahead();if(t.type!==u.colon&&t.type!==u.question){this.next();i=this.state.start;e=false}}if(e&&this.isContextual("static")){const e=this.lookahead();if(e.type!==u.colon&&e.type!==u.question){this.next();t=true}}const c=this.flowParseVariance();if(this.eat(u.bracketL)){if(i!=null){this.unexpected(i)}if(this.eat(u.bracketL)){if(c){this.unexpected(c.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(f,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(f,t,c))}}else if(this.match(u.parenL)||this.isRelational("<")){if(i!=null){this.unexpected(i)}if(c){this.unexpected(c.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(f,t))}else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();if(t.type===u.name||t.type===u.string||t.type===u.num){e=this.state.value;this.next()}}const n=this.flowParseObjectTypeProperty(f,t,i,c,e,r,s!=null?s:!l);if(n===null){p=true;o=this.state.lastTokStart}else{a.properties.push(n)}}this.flowObjectTypeSemicolon();if(o&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.raise(o,Fe.UnexpectedExplicitInexactInObject)}}this.expect(o);if(r){a.inexact=p}const f=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=i;return f}flowParseObjectTypeProperty(e,t,r,n,s,i,a){if(this.eat(u.ellipsis)){const t=this.match(u.comma)||this.match(u.semi)||this.match(u.braceR)||this.match(u.braceBarR);if(t){if(!i){this.raise(this.state.lastTokStart,Fe.InexactInsideNonObject)}else if(!a){this.raise(this.state.lastTokStart,Fe.InexactInsideExact)}if(n){this.raise(n.start,Fe.InexactVariance)}return null}if(!i){this.raise(this.state.lastTokStart,Fe.UnexpectedSpreadType)}if(r!=null){this.unexpected(r)}if(n){this.raise(n.start,Fe.SpreadVariance)}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=r!=null;e.kind=s;let a=false;if(this.isRelational("<")||this.match(u.parenL)){e.method=true;if(r!=null){this.unexpected(r)}if(n){this.unexpected(n.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(s==="get"||s==="set"){this.flowCheckGetterSetterParams(e)}if(!i&&e.key.name==="constructor"&&e.value.this){this.raise(e.value.this.start,Fe.ThisParamBannedInConstructor)}}else{if(s!=="init")this.unexpected();e.method=false;if(this.eat(u.question)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=n}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const r=e.start;const n=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.value.this.start,e.kind==="get"?Fe.GetterMayNotHaveThisParam:Fe.SetterMayNotHaveThisParam)}if(n!==t){if(e.kind==="get"){this.raise(r,T.BadGetterArity)}else{this.raise(r,T.BadSetterArity)}}if(e.kind==="set"&&e.value.rest){this.raise(r,T.BadSetterRestParameter)}}flowObjectTypeSemicolon(){if(!this.eat(u.semi)&&!this.eat(u.comma)&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start;t=t||this.state.startLoc;let n=r||this.flowParseRestrictedIdentifier(true);while(this.eat(u.dot)){const r=this.startNodeAt(e,t);r.qualification=n;r.id=this.flowParseRestrictedIdentifier(true);n=this.finishNode(r,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t,r){const n=this.startNodeAt(e,t);n.typeParameters=null;n.id=this.flowParseQualifiedTypeIdentifier(e,t,r);if(this.isRelational("<")){n.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(u._typeof);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(u.bracketL);while(this.state.possuper.parseFunctionBody(e,true,r))}return super.parseFunctionBody(e,false,r)}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(e,t,r)}parseStatement(e,t){if(this.state.strict&&this.match(u.name)&&this.state.value==="interface"){const e=this.lookahead();if(e.type===u.name||isKeyword(e.value)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const r=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(r)){this.flowPragma=null}return r}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(u._class)||this.match(u.name)||this.match(u._function)||this.match(u._var)||this.match(u._export)){return this.flowParseDeclare(e)}}else if(this.match(u.name)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){if(this.match(u.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"||this.shouldParseEnums()&&this.state.value==="enum")){return false}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,n){if(!this.match(u.question))return e;if(this.state.maybeInArrowParameters){const t=this.lookaheadCharCode();if(t===44||t===61||t===58||t===41){this.setOptionalParametersError(n);return e}}this.expect(u.question);const s=this.state.clone();const i=this.state.noArrowAt;const a=this.startNodeAt(t,r);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[p,f]=this.getArrowLikeExpressions(o);if(l||f.length>0){const e=[...i];if(f.length>0){this.state=s;this.state.noArrowAt=e;for(let t=0;t1){this.raise(s.start,Fe.AmbiguousConditionalArrow)}if(l&&p.length===1){this.state=s;this.state.noArrowAt=e.concat(p[0].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=i;this.expect(u.colon);a.test=e;a.consequent=o;a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(undefined,undefined));return this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(u.colon);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e];const n=[];while(r.length!==0){const e=r.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{n.push(e)}r.push(e.body)}else if(e.type==="ConditionalExpression"){r.push(e.consequent);r.push(e.alternate)}}if(t){n.forEach(e=>this.finishArrowValidation(e));return[n,[]]}return partition(n,e=>e.params.every(e=>this.isAssignable(e,true)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingComma,false);this.scope.enter(L|_);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);r=t();this.state.noArrowParamsConversionAt.pop()}else{r=t()}return r}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(n,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();this.next();if(this.match(u.braceL)){e.specifiers=this.parseExportSpecifiers();this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual("enum")){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual("type")&&this.lookahead().type===u.star){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const t=this.state.start;const r=super.maybeParseExportNamespaceSpecifier(e);if(r&&e.exportKind==="type"){this.unexpected(t)}return r}parseClassId(e,t,r){super.parseClassId(e,t,r);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}}parseClassMember(e,t,r){const n=this.state.start;if(this.isContextual("declare")){if(this.parseClassMemberFromModifier(e,t)){return}t.declare=true}super.parseClassMember(e,t,r);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(n,Fe.DeclareClassElement)}else if(t.value){this.raise(t.value.start,Fe.DeclareClassFieldInitializer)}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(this.state.pos,T.InvalidIdentifier,t)}this.finishToken(u.name,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(u.braceBarL,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(u.relational,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(u.questionDot,2)}return this.finishOp(u.question,1)}else if(isIteratorStart(e,t)){this.state.pos+=2;return this.readIterator()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){if(e.type==="TypeCastExpression"){return this.isAssignable(e.expression,t)}else{return super.isAssignable(e,t)}}toAssignable(e,t=false){if(e.type==="TypeCastExpression"){return super.toAssignable(this.typeCastToParameter(e),t)}else{return super.toAssignable(e,t)}}toAssignableList(e,t,r){for(let t=0;t1||!t)){this.raise(s.typeAnnotation.start,Fe.TypeCastInPattern)}}return e}parseArrayLike(e,t,r,n){const s=super.parseArrayLike(e,t,r,n);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(s.elements)}return s}checkLVal(e,...t){if(e.type!=="TypeCastExpression"){return super.checkLVal(e,...t)}}parseClassProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(u.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,s,i){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,r,n,s,i);if(t.params&&s){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Fe.ThisParamBannedInConstructor)}}else if(t.type==="MethodDefinition"&&s&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Fe.ThisParamBannedInConstructor)}}}pushClassPrivateMethod(e,t,r,n){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(u.comma))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const r=t[0];if(this.isThisParam(r)&&e.kind==="get"){this.raise(r.start,Fe.GetterMayNotHaveThisParam)}else if(this.isThisParam(r)){this.raise(r.start,Fe.SetterMayNotHaveThisParam)}}}parsePropertyName(e,t){const r=this.flowParseVariance();const n=super.parsePropertyName(e,t);e.variance=r;return n}parseObjPropValue(e,t,r,n,s,i,a,o){if(e.variance){this.unexpected(e.variance.start)}delete e.variance;let l;if(this.isRelational("<")&&!a){l=this.flowParseTypeParameterDeclaration();if(!this.match(u.parenL))this.unexpected()}super.parseObjPropValue(e,t,r,n,s,i,a,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"){this.raise(e.start,Fe.OptionalBindingPattern)}if(this.isThisParam(e)){this.raise(e.start,Fe.ThisParamMayNotBeOptional)}e.optional=true}if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(e.start,Fe.ThisParamAnnotationRequired)}if(this.match(u.eq)&&this.isThisParam(e)){this.raise(e.start,Fe.ThisParamNoDefault)}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,r){const n=super.parseMaybeDefault(e,t,r);if(n.type==="AssignmentPattern"&&n.typeAnnotation&&n.right.startsuper.parseMaybeAssign(e,t),n);if(!s.error)return s.node;const{context:r}=this.state;const i=r[r.length-1];if(i===b.j_oTag){r.length-=2}else if(i===b.j_expr){r.length-=1}}if((r=s)!=null&&r.error||this.isRelational("<")){var i,a;n=n||this.state.clone();let r;const o=this.tryParse(n=>{var s;r=this.flowParseTypeParameterDeclaration();const i=this.forwardNoArrowParamsConversionAt(r,()=>{const n=super.parseMaybeAssign(e,t);this.resetStartLocationFromNode(n,r);return n});if((s=i.extra)!=null&&s.parenthesized)n();const a=this.maybeUnwrapTypeCastExpression(i);if(a.type!=="ArrowFunctionExpression")n();a.typeParameters=r;this.resetStartLocationFromNode(a,r);return i},n);let l=null;if(o.node&&this.maybeUnwrapTypeCastExpression(o.node).type==="ArrowFunctionExpression"){if(!o.error&&!o.aborted){if(o.node.async){this.raise(r.start,Fe.UnexpectedTypeParameterBeforeAsyncArrowFunction)}return o.node}l=o.node}if((i=s)!=null&&i.node){this.state=s.failState;return s.node}if(l){this.state=o.failState;return l}if((a=s)!=null&&a.thrown)throw s.error;if(o.thrown)throw o.error;throw this.raise(r.start,Fe.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(u.arrow))this.unexpected();return r});if(t.thrown)return null;if(t.error)this.state=t.failState;e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(u.colon)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,r){if(r&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t0){this.raise(e.params[t].start,Fe.ThisParamMustBeFirst)}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,r,n){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const n=this.startNodeAt(t,r);n.callee=e;n.arguments=this.parseCallExpressionArguments(u.parenR,false);e=this.finishNode(n,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.isRelational("<")){const s=this.state.clone();const i=this.tryParse(e=>this.parseAsyncArrowWithTypeParameters(t,r)||e(),s);if(!i.error&&!i.aborted)return i.node;const a=this.tryParse(()=>super.parseSubscripts(e,t,r,n),s);if(a.node&&!a.error)return a.node;if(i.node){this.state=i.failState;return i.node}if(a.node){this.state=a.failState;return a.node}throw i.error||a.error}return super.parseSubscripts(e,t,r,n)}parseSubscript(e,t,r,n,s){if(this.match(u.questionDot)&&this.isLookaheadToken_lt()){s.optionalChainMember=true;if(n){s.stop=true;return e}this.next();const i=this.startNodeAt(t,r);i.callee=e;i.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(u.parenL);i.arguments=this.parseCallExpressionArguments(u.parenR,false);i.optional=true;return this.finishCallExpression(i,true)}else if(!n&&this.shouldParseTypes()&&this.isRelational("<")){const n=this.startNodeAt(t,r);n.callee=e;const i=this.tryParse(()=>{n.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew();this.expect(u.parenL);n.arguments=this.parseCallExpressionArguments(u.parenR,false);if(s.optionalChainMember)n.optional=false;return this.finishCallExpression(n,s.optionalChainMember)});if(i.node){if(i.error)this.state=i.failState;return i.node}}return super.parseSubscript(e,t,r,n,s)}parseNewArguments(e){let t=null;if(this.shouldParseTypes()&&this.isRelational("<")){t=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node}e.typeArguments=t;super.parseNewArguments(e)}parseAsyncArrowWithTypeParameters(e,t){const r=this.startNodeAt(e,t);this.parseFunctionParams(r);if(!this.parseArrow(r))return;return this.parseArrowExpression(r,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(u.braceBarR,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(this.state.pos,Fe.UnterminatedFlowComment)}return r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){this.unexpected(null,Fe.NestedFlowComment)}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1){throw this.raise(this.state.pos-2,T.UnterminatedComment)}this.state.pos=e+3;return}return super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const r=this.input.charCodeAt(t+e);const n=this.input.charCodeAt(t+e+1);if(r===58&&n===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(r===58&&n!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(this.state.pos,T.UnterminatedComment)}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Fe.EnumBooleanMemberNotInitialized,r,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:r}){const n=r[0].toUpperCase()+r.slice(1);this.raise(e,Fe.EnumInvalidMemberName,r,n,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:r}){this.raise(e,Fe.EnumDuplicateMemberName,r,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,Fe.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:r}){return this.raise(e,r===null?Fe.EnumInvalidExplicitTypeUnknownSupplied:Fe.EnumInvalidExplicitType,t,r)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:r,memberName:n}){let s=null;switch(r){case"boolean":case"number":case"string":s=Fe.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":s=Fe.EnumInvalidMemberInitializerSymbolType;break;default:s=Fe.EnumInvalidMemberInitializerUnknownType}return this.raise(e,s,t,n,r)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Fe.EnumNumberMemberNotInitialized,t,r)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,Fe.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start;const t=()=>this.match(u.comma)||this.match(u.braceR);switch(this.state.type){case u.num:{const r=this.parseNumericLiteral(this.state.value);if(t()){return{type:"number",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u.string:{const r=this.parseStringLiteral(this.state.value);if(t()){return{type:"string",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u._true:case u._false:{const r=this.parseBooleanLiteral(this.match(u._true));if(t()){return{type:"boolean",pos:r.start,value:r}}return{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;const t=this.parseIdentifier(true);const r=this.eat(u.eq)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:r}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:n}=t;if(n===null){return}if(n!==r){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set;const n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let s=false;while(!this.match(u.braceR)){if(this.eat(u.ellipsis)){s=true;break}const i=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.flowEnumErrorInvalidMemberName(a.start,{enumName:e,memberName:l})}if(r.has(l)){this.flowEnumErrorDuplicateMemberName(a.start,{enumName:e,memberName:l})}r.add(l);const p={enumName:e,explicitType:t,memberName:l};i.id=a;switch(o.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"boolean");i.init=o.value;n.booleanMembers.push(this.finishNode(i,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"number");i.init=o.value;n.numberMembers.push(this.finishNode(i,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"string");i.init=o.value;n.stringMembers.push(this.finishNode(i,"EnumStringMember"));break}case"invalid":{throw this.flowEnumErrorInvalidMemberInitializer(o.pos,p)}case"none":{switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.pos,p);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.pos,p);break;default:n.defaultedMembers.push(this.finishNode(i,"EnumDefaultedMember"))}}}if(!this.match(u.braceR)){this.expect(u.comma)}}return{members:n,hasUnknownMembers:s}}flowEnumStringMembers(e,t,{enumName:r}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:r})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:r})}return e}}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual("of")){if(!this.match(u.name)){throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t})}return t}return null}flowEnumBody(e,{enumName:t,nameLoc:r}){const n=this.flowEnumParseExplicitType({enumName:t});this.expect(u.braceL);const{members:s,hasUnknownMembers:i}=this.flowEnumMembers({enumName:t,explicitType:n});e.hasUnknownMembers=i;switch(n){case"boolean":e.explicitType=true;e.members=s.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=s.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=s.defaultedMembers;this.expect(u.braceR);return this.finishNode(e,"EnumSymbolBody");default:{const n=()=>{e.members=[];this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const i=s.booleanMembers.length;const a=s.numberMembers.length;const o=s.stringMembers.length;const l=s.defaultedMembers.length;if(!i&&!a&&!o&&!l){return n()}else if(!i&&!a){e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")}else if(!a&&!o&&i>=l){for(const e of s.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=s.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody")}else if(!i&&!o&&a>=l){for(const e of s.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=s.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody")}else{this.flowEnumErrorInconsistentMemberValues(r,{enumName:t});return n()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start});return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}});const Ke={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"};const Ve=/^[\da-fA-F]+$/;const Xe=/^\d+$/;const Ye=makeErrorTemplates({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:"Expected corresponding JSX closing tag for <%0>.",MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"},m.SyntaxError);b.j_oTag=new TokContext("...",true);u.jsxName=new TokenType("jsxName");u.jsxText=new TokenType("jsxText",{beforeExpr:true});u.jsxTagStart=new TokenType("jsxTagStart",{startsExpr:true});u.jsxTagEnd=new TokenType("jsxTagEnd");u.jsxTagStart.updateContext=(e=>{e.push(b.j_expr,b.j_oTag)});function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var Je=e=>(class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,Ye.UnterminatedJsxContent)}const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){if(r===60&&this.state.exprAllowed){++this.state.pos;return this.finishToken(u.jsxTagStart)}return super.getTokenFromCode(r)}e+=this.input.slice(t,this.state.pos);return this.finishToken(u.jsxText,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;r=e?"\n":"\r\n"}else{r=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return r}jsxReadString(e){let t="";let r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,T.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===38){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadEntity();r=this.state.pos}else if(isNewLine(n)){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadNewLine(false);r=this.state.pos}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);return this.finishToken(u.string,t)}jsxReadEntity(){let e="";let t=0;let r;let n=this.input[this.state.pos];const s=++this.state.pos;while(this.state.pos(class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return this.match(u.name)}tsTokenCanFollowModifier(){return(this.match(u.bracketL)||this.match(u.braceL)||this.match(u.star)||this.match(u.ellipsis)||this.match(u.privateName)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e){if(!this.match(u.name)){return undefined}const t=this.state.value;if(e.indexOf(t)!==-1&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return t}return undefined}tsParseModifiers(e,t,r,n){const s=(t,r,n,s)=>{if(r===n&&e[s]){this.raise(t,Ue.InvalidModifiersOrder,n,s)}};const i=(t,r,n,s)=>{if(e[n]&&r===s||e[s]&&r===n){this.raise(t,Ue.IncompatibleModifiers,n,s)}};for(;;){const a=this.state.start;const o=this.tsParseModifier(t.concat(r!=null?r:[]));if(!o)break;if(tsIsAccessModifier(o)){if(e.accessibility){this.raise(a,Ue.DuplicateAccessibilityModifier)}else{s(a,o,o,"override");s(a,o,o,"static");s(a,o,o,"readonly");e.accessibility=o}}else{if(Object.hasOwnProperty.call(e,o)){this.raise(a,Ue.DuplicateModifier,o)}else{s(a,o,"static","readonly");s(a,o,"static","override");s(a,o,"override","readonly");s(a,o,"abstract","override");i(a,o,"declare","override");i(a,o,"static","abstract")}e[o]=true}if(r!=null&&r.includes(o)){this.raise(a,n,o)}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(u.braceR);case"HeritageClauseElement":return this.match(u.braceL);case"TupleElementTypes":return this.match(u.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const r=[];while(!this.tsIsListTerminator(e)){r.push(t())}return r}tsParseDelimitedList(e,t){return nonNull(this.tsParseDelimitedListWorker(e,t,true))}tsParseDelimitedListWorker(e,t,r){const n=[];for(;;){if(this.tsIsListTerminator(e)){break}const s=t();if(s==null){return undefined}n.push(s);if(this.eat(u.comma)){continue}if(this.tsIsListTerminator(e)){break}if(r){this.expect(u.comma)}return undefined}return n}tsParseBracketedList(e,t,r,n){if(!n){if(r){this.expect(u.bracketL)}else{this.expectRelational("<")}}const s=this.tsParseDelimitedList(e,t);if(r){this.expect(u.bracketR)}else{this.expectRelational(">")}return s}tsParseImportType(){const e=this.startNode();this.expect(u._import);this.expect(u.parenL);if(!this.match(u.string)){this.raise(this.state.start,Ue.UnsupportedImportTypeArgument)}e.argument=this.parseExprAtom();this.expect(u.parenR);if(this.eat(u.dot)){e.qualifier=this.tsParseEntityName(true)}if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();while(this.eat(u.dot)){const r=this.startNodeAtNode(t);r.left=t;r.right=this.parseIdentifier(e);t=this.finishNode(r,"TSQualifiedName")}return t}tsParseTypeReference(){const e=this.startNode();e.typeName=this.tsParseEntityName(false);if(!this.hasPrecedingLineBreak()&&this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(u._typeof);if(this.match(u._import)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName(true)}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();e.name=this.tsParseTypeParameterName();e.constraint=this.tsEatThenParseType(u._extends);e.default=this.tsEatThenParseType(u.eq);return this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<")){return this.tsParseTypeParameters()}}tsParseTypeParameters(){const e=this.startNode();if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),false,true);if(e.params.length===0){this.raise(e.start,Ue.EmptyTypeParameters)}return this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type===u._const){this.next();return this.tsParseTypeReference()}return null}tsFillSignature(e,t){const r=e===u.arrow;t.typeParameters=this.tsTryParseTypeParameters();this.expect(u.parenL);t.parameters=this.tsParseBindingListForSignature();if(r){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(u.parenR,41).map(e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(e.start,Ue.UnsupportedSignatureParameterKind,e.type)}return e})}tsParseTypeMemberSemicolon(){if(!this.eat(u.comma)&&!this.isLineTerminator()){this.expect(u.semi)}}tsParseSignatureMember(e,t){this.tsFillSignature(u.colon,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();return this.eat(u.name)&&this.match(u.colon)}tsTryParseIndexSignature(e){if(!(this.match(u.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(u.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(u.bracketR);e.parameters=[t];const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(u.question))e.optional=true;const r=e;if(this.match(u.parenL)||this.isRelational("<")){if(t){this.raise(e.start,Ue.ReadonlyForMethodSignature)}const n=r;if(n.kind&&this.isRelational("<")){this.raise(this.state.pos,Ue.AccesorCannotHaveTypeParameters)}this.tsFillSignature(u.colon,n);this.tsParseTypeMemberSemicolon();if(n.kind==="get"){if(n.parameters.length>0){this.raise(this.state.pos,T.BadGetterArity);if(this.isThisParam(n.parameters[0])){this.raise(this.state.pos,Ue.AccesorCannotDeclareThisParameter)}}}else if(n.kind==="set"){if(n.parameters.length!==1){this.raise(this.state.pos,T.BadSetterArity)}else{const e=n.parameters[0];if(this.isThisParam(e)){this.raise(this.state.pos,Ue.AccesorCannotDeclareThisParameter)}if(e.type==="Identifier"&&e.optional){this.raise(this.state.pos,Ue.SetAccesorCannotHaveOptionalParameter)}if(e.type==="RestElement"){this.raise(this.state.pos,Ue.SetAccesorCannotHaveRestParameter)}}if(n.typeAnnotation){this.raise(n.typeAnnotation.start,Ue.SetAccesorCannotHaveReturnType)}}else{n.kind="method"}return this.finishNode(n,"TSMethodSignature")}else{const e=r;if(t)e.readonly=true;const n=this.tsTryParseTypeAnnotation();if(n)e.typeAnnotation=n;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(u._new)){const t=this.startNode();this.next();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],Ue.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e,false);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;this.parsePropertyName(e,false)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(u.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(u.braceR);return e}tsIsStartOfMappedType(){this.next();if(this.eat(u.plusMin)){return this.isContextual("readonly")}if(this.isContextual("readonly")){this.next()}if(!this.match(u.bracketL)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(u._in)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.tsParseTypeParameterName();e.constraint=this.tsExpectThenParseType(u._in);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(u.braceL);if(this.match(u.plusMin)){e.readonly=this.state.value;this.next();this.expectContextual("readonly")}else if(this.eatContextual("readonly")){e.readonly=true}this.expect(u.bracketL);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual("as")?this.tsParseType():null;this.expect(u.bracketR);if(this.match(u.plusMin)){e.optional=this.state.value;this.next();this.expect(u.question)}else if(this.eat(u.question)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(u.braceR);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let r=null;e.elementTypes.forEach(e=>{var n;let{type:s}=e;if(t&&s!=="TSRestType"&&s!=="TSOptionalType"&&!(s==="TSNamedTupleMember"&&e.optional)){this.raise(e.start,Ue.OptionalTypeBeforeRequired)}t=t||s==="TSNamedTupleMember"&&e.optional||s==="TSOptionalType";if(s==="TSRestType"){e=e.typeAnnotation;s=e.type}const i=s==="TSNamedTupleMember";r=(n=r)!=null?n:i;if(r!==i){this.raise(e.start,Ue.MixedLabeledAndUnlabeledElements)}});return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const r=this.eat(u.ellipsis);let n=this.tsParseType();const s=this.eat(u.question);const i=this.eat(u.colon);if(i){const e=this.startNodeAtNode(n);e.optional=s;if(n.type==="TSTypeReference"&&!n.typeParameters&&n.typeName.type==="Identifier"){e.label=n.typeName}else{this.raise(n.start,Ue.InvalidTupleMemberLabel);e.label=n}e.elementType=this.tsParseType();n=this.finishNode(e,"TSNamedTupleMember")}else if(s){const e=this.startNodeAtNode(n);e.typeAnnotation=n;n=this.finishNode(e,"TSOptionalType")}if(r){const r=this.startNodeAt(e,t);r.typeAnnotation=n;n=this.finishNode(r,"TSRestType")}return n}tsParseParenthesizedType(){const e=this.startNode();this.expect(u.parenL);e.typeAnnotation=this.tsParseType();this.expect(u.parenR);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const r=this.startNode();if(e==="TSConstructorType"){r.abstract=!!t;if(t)this.next();this.next()}this.tsFillSignature(u.arrow,r);return this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case u.num:case u.bigint:case u.string:case u._true:case u._false:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case u.name:case u._void:case u._null:{const e=this.match(u._void)?"TSVoidKeyword":this.match(u._null)?"TSNullKeyword":keywordTypeFromName(this.state.value);if(e!==undefined&&this.lookaheadCharCode()!==46){const t=this.startNode();this.next();return this.finishNode(t,e)}return this.tsParseTypeReference()}case u.string:case u.num:case u.bigint:case u._true:case u._false:return this.tsParseLiteralTypeNode();case u.plusMin:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==u.num&&t.type!==u.bigint){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case u._this:return this.tsParseThisTypeOrThisTypePredicate();case u._typeof:return this.tsParseTypeQuery();case u._import:return this.tsParseImportType();case u.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case u.bracketL:return this.tsParseTupleType();case u.parenL:return this.tsParseParenthesizedType();case u.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(u.bracketL)){if(this.match(u.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(u.bracketR);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(u.bracketR);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(e){const t=this.startNode();this.expectContextual(e);t.operator=e;t.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(e==="readonly"){this.tsCheckTypeAnnotationForReadOnly(t)}return this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,Ue.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();t.name=this.tsParseTypeParameterName();e.typeParameter=this.finishNode(t,"TSTypeParameter");return this.finishNode(e,"TSInferType")}tsParseTypeOperatorOrHigher(){const e=["keyof","unique","readonly"].find(e=>this.isContextual(e));return e?this.tsParseTypeOperator(e):this.isContextual("infer")?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}tsParseUnionOrIntersectionType(e,t,r){const n=this.startNode();const s=this.eat(r);const i=[];do{i.push(t())}while(this.eat(r));if(i.length===1&&!s){return i[0]}n.types=i;return this.finishNode(n,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),u.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),u.bitwiseOR)}tsIsStartOfFunctionType(){if(this.isRelational("<")){return true}return this.match(u.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(u.name)||this.match(u._this)){this.next();return true}if(this.match(u.braceL)){let e=1;this.next();while(e>0){if(this.match(u.braceL)){++e}else if(this.match(u.braceR)){--e}this.next()}return true}if(this.match(u.bracketL)){let e=1;this.next();while(e>0){if(this.match(u.bracketL)){++e}else if(this.match(u.bracketR)){--e}this.next()}return true}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(u.parenR)||this.match(u.ellipsis)){return true}if(this.tsSkipParameterStart()){if(this.match(u.colon)||this.match(u.comma)||this.match(u.question)||this.match(u.eq)){return true}if(this.match(u.parenR)){this.next();if(this.match(u.arrow)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const r=this.startNode();const n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(u._this)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){r.parameterName=e;r.asserts=true;r.typeAnnotation=null;e=this.finishNode(r,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,r);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const s=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!s){if(!n){return this.tsParseTypeAnnotation(false,t)}r.parameterName=this.parseIdentifier();r.asserts=n;r.typeAnnotation=null;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsParseTypeAnnotation(false);r.parameterName=s;r.typeAnnotation=i;r.asserts=n;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(u.colon)?this.tsParseTypeOrTypePredicateAnnotation(u.colon):undefined}tsTryParseTypeAnnotation(){return this.match(u.colon)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(u.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(!this.match(u.name)||this.state.value!=="asserts"||this.hasPrecedingLineBreak()){return false}const e=this.state.containsEsc;this.next();if(!this.match(u.name)&&!this.match(u._this)){return false}if(e){this.raise(this.state.lastTokStart,T.InvalidEscapedReservedWord,"asserts")}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType(()=>{if(e)this.expect(u.colon);t.typeAnnotation=this.tsParseType()});return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(u._extends)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsParseNonConditionalType();this.expect(u.question);t.trueType=this.tsParseType();this.expect(u.colon);t.falseType=this.tsParseType();return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual("abstract")&&this.lookahead().type===u._new}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(u._new)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expectRelational(">");e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start;const r=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));if(!r.length){this.raise(t,Ue.EmptyHeritageClauseType,e)}return r}tsParseExpressionWithTypeArguments(){const e=this.startNode();e.expression=this.tsParseEntityName(false);if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){if(this.match(u.name)){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript interface declaration",ne)}else{e.id=null;this.raise(this.state.start,Ue.MissingInterfaceName)}e.typeParameters=this.tsTryParseTypeParameters();if(this.eat(u._extends)){e.extends=this.tsParseHeritageClause("extends")}const t=this.startNode();t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(t,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript type alias",se);e.typeParameters=this.tsTryParseTypeParameters();e.typeAnnotation=this.tsInType(()=>{this.expect(u.eq);if(this.isContextual("intrinsic")&&this.lookahead().type!==u.dot){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()});this.semicolon();return this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){const t=this.state.inType;this.state.inType=true;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>{e();return this.tsParseType()})}tsParseEnumMember(){const e=this.startNode();e.id=this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(u.eq)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){if(t)e.const=true;e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript enum declaration",t?ue:ie);this.expect(u.braceL);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(u.braceR);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(N);this.expect(u.braceL);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,u.braceR);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkLVal(e.id,"module or namespace declaration",pe)}if(this.eat(u.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(K);this.prodParam.enter(we);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual("global")){e.global=true;e.id=this.parseIdentifier()}else if(this.match(u.string)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(u.braceL)){this.scope.enter(K);this.prodParam.enter(we);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkLVal(e.id,"import equals declaration",ee);this.expect(u.eq);const r=this.tsParseModuleReference();if(e.importKind==="type"&&r.type!=="TSExternalModuleReference"){this.raise(r.start,Ue.ImportAliasHasImportType)}e.moduleReference=r;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual("require");this.expect(u.parenL);if(!this.match(u.string)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(u.parenR);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const r=e();this.state=t;return r}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const r=e();if(r!==undefined&&r!==false){return r}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let r;if(this.isContextual("let")){t=u._var;r="let"}return this.tsInAmbientContext(()=>{switch(t){case u._function:e.declare=true;return this.parseFunctionStatement(e,false,true);case u._class:e.declare=true;return this.parseClass(e,true,false);case u._const:if(this.match(u._const)&&this.isLookaheadContextual("enum")){this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}case u._var:r=r||this.state.value;return this.parseVarStatement(e,r);case u.name:{const t=this.state.value;if(t==="global"){return this.tsParseAmbientExternalModuleDeclaration(e)}else{return this.tsParseDeclaration(e,t,true)}}}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(u.braceL)){this.scope.enter(K);this.prodParam.enter(we);const r=e;r.global=true;r.id=t;r.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(u._class)||this.match(u.name))){return this.tsParseAbstractDeclaration(e)}break;case"enum":if(r||this.match(u.name)){if(r)this.next();return this.tsParseEnumDeclaration(e,false)}break;case"interface":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseInterfaceDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(u.string)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<")){return undefined}const r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const n=this.tsTryParseAndCatch(()=>{const r=this.startNodeAt(e,t);r.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(r);r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(u.arrow);return r});this.state.maybeInArrowParameters=r;if(!n){return undefined}return this.parseArrowExpression(n,null,true)}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType(()=>this.tsInNoContext(()=>{this.expectRelational("<");return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}));if(e.params.length===0){this.raise(e.start,Ue.EmptyTypeArguments)}this.expectRelational(">");return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(u.name)){switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return true}}return false}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.start;const n=this.state.startLoc;let s;let i=false;let a=false;if(e!==undefined){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]);s=t.accessibility;a=t.override;i=t.readonly;if(e===false&&(s||i||a)){this.raise(r,Ue.UnexpectedParameterModifier)}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(s||i||a){const e=this.startNodeAt(r,n);if(t.length){e.decorators=t}if(s)e.accessibility=s;if(i)e.readonly=i;if(a)e.override=a;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(e.start,Ue.UnsupportedParameterPropertyKind)}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(u.colon)}const n=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"?"TSDeclareMethod":undefined;if(n&&!this.match(u.braceL)&&this.isLineTerminator()){this.finishNode(e,n);return}if(n==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(e.start,Ue.DeclareFunctionHasImplementation);if(e.declare){super.parseFunctionBodyAndFinish(e,n,r);return}}super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkLVal(e.id,"function name",ae)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(e.typeAnnotation.start,Ue.UnexpectedTypeAnnotation)}})}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,r,n,s){if(!this.hasPrecedingLineBreak()&&this.match(u.bang)){this.state.exprAllowed=false;this.next();const n=this.startNodeAt(t,r);n.expression=e;return this.finishNode(n,"TSNonNullExpression")}let i=false;if(this.match(u.questionDot)&&this.lookaheadCharCode()===60){if(n){s.stop=true;return e}s.optionalChainMember=i=true;this.next()}if(this.isRelational("<")){let a;const o=this.tsTryParseAndCatch(()=>{if(!n&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,r);if(e){return e}}const o=this.startNodeAt(t,r);o.callee=e;const l=this.tsParseTypeArguments();if(l){if(i&&!this.match(u.parenL)){a=this.state.pos;this.unexpected()}if(!n&&this.eat(u.parenL)){o.arguments=this.parseCallExpressionArguments(u.parenR,false);this.tsCheckForInvalidTypeCasts(o.arguments);o.typeParameters=l;if(s.optionalChainMember){o.optional=i}return this.finishCallExpression(o,s.optionalChainMember)}else if(this.match(u.backQuote)){const n=this.parseTaggedTemplateExpression(e,t,r,s);n.typeParameters=l;return n}}this.unexpected()});if(a){this.unexpected(a,u.parenL)}if(o)return o}return super.parseSubscript(e,t,r,n,s)}parseNewArguments(e){if(this.isRelational("<")){const t=this.tsTryParseAndCatch(()=>{const e=this.tsParseTypeArguments();if(!this.match(u.parenL))this.unexpected();return e});if(t){e.typeParameters=t}}super.parseNewArguments(e)}parseExprOp(e,t,r,n){if(nonNull(u._in.binop)>n&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const s=this.startNodeAt(t,r);s.expression=e;const i=this.tsTryNextParseConstantContext();if(i){s.typeAnnotation=i}else{s.typeAnnotation=this.tsNextThenParseType()}this.finishNode(s,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(s,t,r,n)}return super.parseExprOp(e,t,r,n)}checkReservedWord(e,t,r,n){}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(this.match(u.name)||this.match(u.star)||this.match(u.braceL)){let t=this.lookahead();if(this.isContextual("type")&&t.type!==u.comma&&!(t.type===u.name&&t.value==="from")&&t.type!==u.eq){e.importKind="type";this.next();t=this.lookahead()}if(this.match(u.name)&&t.type===u.eq){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(t.start,Ue.TypeImportCannotSpecifyDefaultAndNamed)}return t}parseExport(e){if(this.match(u._import)){this.next();if(this.isContextual("type")&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(u.eq)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual("as")){const t=e;this.expectContextual("namespace");t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual("type")&&this.lookahead().type===u.braceL){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===u._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.state.value==="interface"){const e=this.startNode();this.next();const t=this.tsParseInterfaceDeclaration(e);if(t)return t}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===u._const){const e=this.lookahead();if(e.type===u.name&&e.value==="enum"){const e=this.startNode();this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!e[t]})}parseClassMember(e,t,r){const n=["declare","private","public","protected","override","abstract","readonly"];this.tsParseModifiers(t,n.concat(["static"]));const s=()=>{const s=!!t.static;if(s&&this.eat(u.braceL)){if(this.tsHasSomeModifiers(t,n)){this.raise(this.state.pos,Ue.StaticBlockCannotHaveModifier)}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,r,s)}};if(t.declare){this.tsInAmbientContext(s)}else{s()}}parseClassMemberWithIsStatic(e,t,r,n){const s=this.tsTryParseIndexSignature(t);if(s){e.body.push(s);if(t.abstract){this.raise(t.start,Ue.IndexSignatureHasAbstract)}if(t.accessibility){this.raise(t.start,Ue.IndexSignatureHasAccessibility,t.accessibility)}if(t.declare){this.raise(t.start,Ue.IndexSignatureHasDeclare)}if(t.override){this.raise(t.start,Ue.IndexSignatureHasOverride)}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(t.start,Ue.NonAbstractClassHasAbstractMethod)}if(t.override){if(!r.hadSuperClass){this.raise(t.start,Ue.OverrideNotInSubClass)}}super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){const t=this.eat(u.question);if(t)e.optional=true;if(e.readonly&&this.match(u.parenL)){this.raise(e.start,Ue.ClassMethodHasReadonly)}if(e.declare&&this.match(u.parenL)){this.raise(e.start,Ue.ClassMethodHasDeclare)}}parseExpressionStatement(e,t){const r=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return r||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,r,n){if(!this.state.maybeInArrowParameters||!this.match(u.question)){return super.parseConditional(e,t,r,n)}const s=this.tryParse(()=>super.parseConditional(e,t,r));if(!s.node){if(s.error){super.setOptionalParametersError(n,s.error)}return e}if(s.error)this.state=s.failState;return s.node}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start;const r=this.state.startLoc;const n=this.eatContextual("declare");if(n&&(this.isContextual("declare")||!this.shouldParseExportDeclaration())){throw this.raise(this.state.start,Ue.ExpectedAmbientAfterExportDeclare)}let s;if(this.match(u.name)){s=this.tsTryParseExportDeclaration()}if(!s){s=super.parseExportDeclaration(e)}if(s&&(s.type==="TSInterfaceDeclaration"||s.type==="TSTypeAliasDeclaration"||n)){e.exportKind="type"}if(s&&n){this.resetStartLocation(s,t,r);s.declare=true}return s}parseClassId(e,t,r){if((!t||r)&&this.isContextual("implements")){return}super.parseClassId(e,t,r,e.declare?ae:Z);const n=this.tsTryParseTypeParameters();if(n)e.typeParameters=n}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(u.bang)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(u.eq)){this.raise(this.state.start,Ue.DeclareClassFieldHasInitializer)}if(e.abstract&&this.match(u.eq)){const{key:t}=e;this.raise(this.state.start,Ue.AbstractPropertyHasInitializer,t.type==="Identifier"&&!e.computed?t.name:`[${this.input.slice(t.start,t.end)}]`)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(e.start,Ue.PrivateElementHasAbstract)}if(e.accessibility){this.raise(e.start,Ue.PrivateElementHasAccessibility,e.accessibility)}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,n,s,i){const a=this.tsTryParseTypeParameters();if(a&&s){this.raise(a.start,Ue.ConstructorHasTypeParameters)}if(t.declare&&(t.kind==="get"||t.kind==="set")){this.raise(t.start,Ue.DeclareAccessor,t.kind)}if(a)t.typeParameters=a;super.pushClassMethod(e,t,r,n,s,i)}pushClassPrivateMethod(e,t,r,n){const s=this.tsTryParseTypeParameters();if(s)t.typeParameters=s;super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.tsParseTypeArguments()}if(this.eatContextual("implements")){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&this.eat(u.bang)){e.definite=true}const r=this.tsTryParseTypeAnnotation();if(r){e.id.typeAnnotation=r;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(u.colon)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,r,n,s,i,a,o;let l;let p;let f;if(this.hasPlugin("jsx")&&(this.match(u.jsxTagStart)||this.isRelational("<"))){l=this.state.clone();p=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!p.error)return p.node;const{context:t}=this.state;if(t[t.length-1]===b.j_oTag){t.length-=2}else if(t[t.length-1]===b.j_expr){t.length-=1}}if(!((t=p)!=null&&t.error)&&!this.isRelational("<")){return super.parseMaybeAssign(...e)}let c;l=l||this.state.clone();const d=this.tryParse(t=>{var r,n;c=this.tsParseTypeParameters();const s=super.parseMaybeAssign(...e);if(s.type!=="ArrowFunctionExpression"||(r=s.extra)!=null&&r.parenthesized){t()}if(((n=c)==null?void 0:n.params.length)!==0){this.resetStartLocationFromNode(s,c)}s.typeParameters=c;return s},l);if(!d.error&&!d.aborted)return d.node;if(!p){assert(!this.hasPlugin("jsx"));f=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!f.error)return f.node}if((r=p)!=null&&r.node){this.state=p.failState;return p.node}if(d.node){this.state=d.failState;return d.node}if((n=f)!=null&&n.node){this.state=f.failState;return f.node}if((s=p)!=null&&s.thrown)throw p.error;if(d.thrown)throw d.error;if((i=f)!=null&&i.thrown)throw f.error;throw((a=p)==null?void 0:a.error)||d.error||((o=f)==null?void 0:o.error)}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.isRelational("<")){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(u.colon);if(this.canInsertSemicolon()||!this.match(u.arrow))e();return t});if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(e.start,Ue.PatternIsOptional)}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}isAssignable(e,t){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,t);case"TSParameterProperty":return true;default:return super.isAssignable(e,t)}}toAssignable(e,t=false){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...r){var n;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...r);return;case"TSAsExpression":case"TSTypeAssertion":if(!r[0]&&t!=="parenthesized expression"&&!((n=e.extra)!=null&&n.parenthesized)){this.raise(e.start,T.InvalidLhs,t);break}this.checkLVal(e.expression,"parenthesized expression",...r);return;case"TSNonNullExpression":this.checkLVal(e.expression,t,...r);return;default:super.checkLVal(e,t,...r);return}}parseBindingAtom(){switch(this.state.type){case u._this:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(u.parenL)){const r=super.parseMaybeDecoratorArguments(e);r.typeParameters=t;return r}this.unexpected(this.state.start,u.parenL)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(u.comma)&&this.lookaheadCharCode()===e){this.next()}else{super.checkCommaAfterRest(e)}}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.bang)||this.match(u.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.startthis.isAssignable(e,true))}return super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(u.colon)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.isRelational("<")){const t=this.tsTryParseAndCatch(()=>this.tsParseTypeArguments());if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const n=r[0];const s=n&&this.isThisParam(n);return s?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,...t){const r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,...t)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e){if(this.match(u._class)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual("interface")){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(e.start,Ue.NonClassMethodPropertyHasAbstractModifer);this.next();return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,u._class)}}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(t.start,Ue.AbstractMethodHasImplementation,e.type==="Identifier"&&!t.computed?e.name:`[${this.input.slice(e.start,e.end)}]`)}}return t}tsParseTypeParameterName(){const e=this.parseIdentifier();return e.name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}});u.placeholder=new TokenType("%%",{startsExpr:true});const qe=makeErrorTemplates({ClassNameIsRequired:"A class name is required."},m.SyntaxError);var ze=e=>(class extends e{parsePlaceholder(e){if(this.match(u.placeholder)){const t=this.startNode();this.next();this.assertNoSpace("Unexpected space in placeholder.");t.name=super.parseIdentifier(true);this.assertNoSpace("Unexpected space in placeholder.");this.expect(u.placeholder);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(u.placeholder,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){if(e.type!=="Placeholder")super.checkLVal(...arguments)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern";return e}return super.toAssignable(...arguments)}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual("let")){return false}if(e)return false;const t=this.lookahead();if(t.type===u.placeholder){return true}return false}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(u.colon)){const r=e;r.label=this.finishPlaceholder(t,"Identifier");this.next();r.body=this.parseStatement("label");return this.finishNode(r,"LabeledStatement")}this.semicolon();e.name=t.name;return this.finishPlaceholder(e,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(e,t,r){const n=t?"ClassDeclaration":"ClassExpression";this.next();this.takeDecorators(e);const s=this.state.strict;const i=this.parsePlaceholder("Identifier");if(i){if(this.match(u._extends)||this.match(u.placeholder)||this.match(u.braceL)){e.id=i}else if(r||!t){e.id=null;e.body=this.finishPlaceholder(i,"ClassBody");return this.finishNode(e,n)}else{this.unexpected(null,qe.ClassNameIsRequired)}}else{this.parseClassId(e,t,r)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,s);return this.finishNode(e,n)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(u.comma)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const r=this.startNode();r.exported=t;e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(u._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(u.placeholder.label,this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter(e=>e.exported.type==="Placeholder")}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual("from")&&!this.match(u.comma)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const r=this.startNodeAtNode(t);r.local=t;this.finishNode(r,"ImportDefaultSpecifier");e.specifiers.push(r);if(this.eat(u.comma)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual("from");e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}});var Ge=e=>(class extends e{parseV8Intrinsic(){if(this.match(u.modulo)){const e=this.state.start;const t=this.startNode();this.eat(u.modulo);if(this.match(u.name)){const e=this.parseIdentifierName(this.state.start);const r=this.createIdentifier(t,e);r.type="V8IntrinsicIdentifier";if(this.match(u.parenL)){return r}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}});function hasPlugin(e,t){return e.some(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}})}function getPluginOption(e,t,r){const n=e.find(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}});if(n&&Array.isArray(n)){return n[1][r]}return null}const $e=["minimal","fsharp","hack","smart"];const He=["%","#"];const Qe=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option,"+" whose value must be a boolean. If you are migrating from"+" Babylon/Babel 6 or want to use the old decorators proposal, you"+" should use the 'decorators-legacy' plugin instead of 'decorators'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")){const t=getPluginOption(e,"pipelineOperator","proposal");if(!$e.includes(t)){const e=$e.map(e=>`"${e}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}const r=hasPlugin(e,"recordAndTuple")&&getPluginOption(e,"recordAndTuple","syntaxType")==="hash";if(t==="hack"){if(hasPlugin(e,"placeholders")){throw new Error("Cannot combine placeholders plugin and Hack-style pipes.")}if(hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.")}const t=getPluginOption(e,"pipelineOperator","topicToken");if(!He.includes(t)){const e=He.map(e=>`"${e}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${e}.`)}if(t==="#"&&r){throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}}else if(t==="smart"&&r){throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}}if(hasPlugin(e,"recordAndTuple")&&!Qe.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Qe.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const Ze={estree:S,jsx:Je,flow:Re,typescript:We,v8intrinsic:Ge,placeholders:ze};const et=Object.keys(Ze);const tt={sourceType:"script",sourceFilename:undefined,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false,attachComment:true};function getOptions(e){const t={};for(const r of Object.keys(tt)){t[r]=e&&e[r]!=null?e[r]:tt[r]}return t}const rt=e=>{return e.type==="ParenthesizedExpression"?rt(e.expression):e};class LValParser extends NodeUtils{toAssignable(e,t=false){var r,n;let s=undefined;if(e.type==="ParenthesizedExpression"||(r=e.extra)!=null&&r.parenthesized){s=rt(e);if(t){if(s.type==="Identifier"){this.expressionScope.recordParenthesizedIdentifierError(e.start,T.InvalidParenthesizedAssignment)}else if(s.type!=="MemberExpression"){this.raise(e.start,T.InvalidParenthesizedAssignment)}}else{this.raise(e.start,T.InvalidParenthesizedAssignment)}}switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(let r=0,n=e.properties.length,s=n-1;r{return e.type!=="ObjectMethod"&&(r===t||e.type!=="SpreadElement")&&this.isAssignable(e)})}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every(e=>e===null||this.isAssignable(e));case"AssignmentExpression":return e.operator==="=";case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return false}}toReferencedList(e,t){return e}toReferencedListDeep(e,t){this.toReferencedList(e,t);for(const t of e){if((t==null?void 0:t.type)==="ArrayExpression"){this.toReferencedListDeep(t.elements)}}}parseSpread(e,t){const r=this.startNode();this.next();r.argument=this.parseMaybeAssignAllowIn(e,undefined,t);return this.finishNode(r,"SpreadElement")}parseRestBinding(){const e=this.startNode();this.next();e.argument=this.parseBindingAtom();return this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case u.bracketL:{const e=this.startNode();this.next();e.elements=this.parseBindingList(u.bracketR,93,true);return this.finishNode(e,"ArrayPattern")}case u.braceL:return this.parseObjectLike(u.braceR,true)}return this.parseIdentifier()}parseBindingList(e,t,r,n){const s=[];let i=true;while(!this.eat(e)){if(i){i=false}else{this.expect(u.comma)}if(r&&this.match(u.comma)){s.push(null)}else if(this.eat(e)){break}else if(this.match(u.ellipsis)){s.push(this.parseAssignableListItemTypes(this.parseRestBinding()));this.checkCommaAfterRest(t);this.expect(e);break}else{const e=[];if(this.match(u.at)&&this.hasPlugin("decorators")){this.raise(this.state.start,T.UnsupportedParameterDecorator)}while(this.match(u.at)){e.push(this.parseDecorator())}s.push(this.parseAssignableListItem(n,e))}}return s}parseAssignableListItem(e,t){const r=this.parseMaybeDefault();this.parseAssignableListItemTypes(r);const n=this.parseMaybeDefault(r.start,r.loc.start,r);if(t.length){r.decorators=t}return n}parseAssignableListItemTypes(e){return e}parseMaybeDefault(e,t,r){var n,s,i;t=(n=t)!=null?n:this.state.startLoc;e=(s=e)!=null?s:this.state.start;r=(i=r)!=null?i:this.parseBindingAtom();if(!this.eat(u.eq))return r;const a=this.startNodeAt(e,t);a.left=r;a.right=this.parseMaybeAssignAllowIn();return this.finishNode(a,"AssignmentPattern")}checkLVal(e,t,r=oe,n,s,i=false){switch(e.type){case"Identifier":{const{name:t}=e;if(this.state.strict&&(i?isStrictBindReservedWord(t,this.inModule):isStrictBindOnlyReservedWord(t))){this.raise(e.start,r===oe?T.StrictEvalArguments:T.StrictEvalArgumentsBinding,t)}if(n){if(n.has(t)){this.raise(e.start,T.ParamDupe)}else{n.add(t)}}if(s&&t==="let"){this.raise(e.start,T.LetInLexicalBinding)}if(!(r&oe)){this.scope.declareName(t,r,e.start)}break}case"MemberExpression":if(r!==oe){this.raise(e.start,T.InvalidPropertyBindingPattern)}break;case"ObjectPattern":for(let t of e.properties){if(this.isObjectProperty(t))t=t.value;else if(this.isObjectMethod(t))continue;this.checkLVal(t,"object destructuring pattern",r,n,s)}break;case"ArrayPattern":for(const t of e.elements){if(t){this.checkLVal(t,"array destructuring pattern",r,n,s)}}break;case"AssignmentPattern":this.checkLVal(e.left,"assignment pattern",r,n);break;case"RestElement":this.checkLVal(e.argument,"rest element",r,n);break;case"ParenthesizedExpression":this.checkLVal(e.expression,"parenthesized expression",r,n);break;default:{this.raise(e.start,r===oe?T.InvalidLhs:T.InvalidLhsBinding,t)}}}checkToRestConversion(e){if(e.argument.type!=="Identifier"&&e.argument.type!=="MemberExpression"){this.raise(e.argument.start,T.InvalidRestAssignmentPattern)}}checkCommaAfterRest(e){if(this.match(u.comma)){if(this.lookaheadCharCode()===e){this.raiseTrailingCommaAfterRest(this.state.start)}else{this.raiseRestNotLast(this.state.start)}}}raiseRestNotLast(e){throw this.raise(e,T.ElementAfterRest)}raiseTrailingCommaAfterRest(e){this.raise(e,T.RestTrailingComma)}}class ExpressionParser extends LValParser{checkProto(e,t,r,n){if(e.type==="SpreadElement"||this.isObjectMethod(e)||e.computed||e.shorthand){return}const s=e.key;const i=s.type==="Identifier"?s.name:s.value;if(i==="__proto__"){if(t){this.raise(s.start,T.RecordNoProto);return}if(r.used){if(n){if(n.doubleProto===-1){n.doubleProto=s.start}}else{this.raise(s.start,T.DuplicateProto)}}r.used=true}}shouldExitDescending(e,t){return e.type==="ArrowFunctionExpression"&&e.start===t}getExpression(){this.enterInitialScopes();this.nextToken();const e=this.parseExpression();if(!this.match(u.eof)){this.unexpected()}this.finalizeRemainingComments();e.comments=this.state.comments;e.errors=this.state.errors;if(this.options.tokens){e.tokens=this.tokens}return e}parseExpression(e,t){if(e){return this.disallowInAnd(()=>this.parseExpressionBase(t))}return this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start;const r=this.state.startLoc;const n=this.parseMaybeAssign(e);if(this.match(u.comma)){const s=this.startNodeAt(t,r);s.expressions=[n];while(this.eat(u.comma)){s.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(s.expressions);return this.finishNode(s,"SequenceExpression")}return n}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd(()=>this.parseMaybeAssign(e,t))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd(()=>this.parseMaybeAssign(e,t))}setOptionalParametersError(e,t){var r;e.optionalParameters=(r=t==null?void 0:t.pos)!=null?r:this.state.start}parseMaybeAssign(e,t){const r=this.state.start;const n=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,r,n)}return e}}let s;if(e){s=false}else{e=new ExpressionErrors;s=true}if(this.match(u.parenL)||this.match(u.name)){this.state.potentialArrowAt=this.state.start}let i=this.parseMaybeConditional(e);if(t){i=t.call(this,i,r,n)}if(this.state.type.isAssign){const t=this.startNodeAt(r,n);const s=this.state.value;t.operator=s;const a=i.type==="BinaryExpression"&&i.operator==="|>"&&this.getPluginOption("pipelineOperator","proposal")==="hack";if(a){throw this.raise(this.state.start,T.PipeBodyIsTighter,s)}if(this.match(u.eq)){t.left=this.toAssignable(i,true);e.doubleProto=-1}else{t.left=i}if(e.shorthandAssign>=t.left.start){e.shorthandAssign=-1}this.checkLVal(i,"assignment expression");this.next();t.right=this.parseMaybeAssign();return this.finishNode(t,"AssignmentExpression")}else if(s){this.checkExpressionErrors(e,true)}return i}parseMaybeConditional(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const s=this.parseExprOps(e);if(this.shouldExitDescending(s,n)){return s}return this.parseConditional(s,t,r,e)}parseConditional(e,t,r,n){if(this.eat(u.question)){const n=this.startNodeAt(t,r);n.test=e;n.consequent=this.parseMaybeAssignAllowIn();this.expect(u.colon);n.alternate=this.parseMaybeAssign();return this.finishNode(n,"ConditionalExpression")}return e}parseExprOps(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const s=this.parseMaybeUnary(e);if(this.shouldExitDescending(s,n)){return s}return this.parseExprOp(s,t,r,-1)}parseExprOp(e,t,r,n){let s=this.state.type.binop;if(s!=null&&(this.prodParam.hasIn||!this.match(u._in))){if(s>n){const i=this.state.type;if(i===u.pipeline){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,r);a.left=e;a.operator=this.state.value;const o=i===u.logicalOR||i===u.logicalAND;const l=i===u.nullishCoalescing;if(l){s=u.logicalAND.binop}this.next();if(i===u.pipeline&&this.getPluginOption("pipelineOperator","proposal")==="minimal"){if(this.match(u.name)&&this.state.value==="await"&&this.prodParam.hasAwait){throw this.raise(this.state.start,T.UnexpectedAwaitAfterPipelineBody)}}a.right=this.parseExprOpRightExpr(i,s);this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");const p=this.state.type;if(l&&(p===u.logicalOR||p===u.logicalAND)||o&&p===u.nullishCoalescing){throw this.raise(this.state.start,T.MixingCoalesceWithLogical)}return this.parseExprOp(a,t,r,n)}}return e}parseExprOpRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;switch(e){case u.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>{const n=this.parseHackPipeBody(e,t);this.checkHackPipeBodyEarlyErrors(r);return n});case"smart":return this.withTopicBindingContext(()=>{const s=this.parseHackPipeBody(e,t);return this.parseSmartPipelineBodyInStyle(s,r,n)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(t)})}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),r,n,e.rightAssociative?t-1:t)}parseHackPipeBody(e,t){const r=this.prodParam.hasYield;const n=r&&this.isContextual("yield");if(n){throw this.raise(this.state.start,T.PipeBodyIsTighter,this.state.value)}else{return this.parseExprOpBaseRightExpr(e,t)}}checkExponentialAfterUnary(e){if(this.match(u.exponent)){this.raise(e.argument.start,T.UnexpectedTokenUnaryExponentiation)}}parseMaybeUnary(e,t){const r=this.state.start;const n=this.state.startLoc;const s=this.isContextual("await");if(s&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r,n);if(!t)this.checkExponentialAfterUnary(e);return e}const i=this.match(u.incDec);const a=this.startNode();if(this.state.type.prefix){a.operator=this.state.value;a.prefix=true;if(this.match(u._throw)){this.expectPlugin("throwExpressions")}const r=this.match(u._delete);this.next();a.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&r){const e=a.argument;if(e.type==="Identifier"){this.raise(a.start,T.StrictDelete)}else if(this.hasPropertyAsPrivateName(e)){this.raise(a.start,T.DeletePrivateField)}}if(!i){if(!t)this.checkExponentialAfterUnary(a);return this.finishNode(a,"UnaryExpression")}}const o=this.parseUpdate(a,i,e);if(s){const e=this.hasPlugin("v8intrinsic")?this.state.type.startsExpr:this.state.type.startsExpr&&!this.match(u.modulo);if(e&&!this.isAmbiguousAwait()){this.raiseOverwrite(r,T.AwaitNotInAsyncContext);return this.parseAwait(r,n)}}return o}parseUpdate(e,t,r){if(t){this.checkLVal(e.argument,"prefix operation");return this.finishNode(e,"UpdateExpression")}const n=this.state.start;const s=this.state.startLoc;let i=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,false))return i;while(this.state.type.postfix&&!this.canInsertSemicolon()){const e=this.startNodeAt(n,s);e.operator=this.state.value;e.prefix=false;e.argument=i;this.checkLVal(i,"postfix operation");this.next();i=this.finishNode(e,"UpdateExpression")}return i}parseExprSubscripts(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const s=this.parseExprAtom(e);if(this.shouldExitDescending(s,n)){return s}return this.parseSubscripts(s,t,r)}parseSubscripts(e,t,r,n){const s={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,r,n,s);s.maybeAsyncArrow=false}while(!s.stop);return e}parseSubscript(e,t,r,n,s){if(!n&&this.eat(u.doubleColon)){return this.parseBind(e,t,r,n,s)}else if(this.match(u.backQuote)){return this.parseTaggedTemplateExpression(e,t,r,s)}let i=false;if(this.match(u.questionDot)){if(n&&this.lookaheadCharCode()===40){s.stop=true;return e}s.optionalChainMember=i=true;this.next()}if(!n&&this.match(u.parenL)){return this.parseCoverCallAndAsyncArrowHead(e,t,r,s,i)}else if(i||this.match(u.bracketL)||this.eat(u.dot)){return this.parseMember(e,t,r,s,i)}else{s.stop=true;return e}}parseMember(e,t,r,n,s){const i=this.startNodeAt(t,r);const a=this.eat(u.bracketL);i.object=e;i.computed=a;const o=!a&&this.match(u.privateName)&&this.state.value;const l=a?this.parseExpression():o?this.parsePrivateName():this.parseIdentifier(true);if(o!==false){if(i.object.type==="Super"){this.raise(t,T.SuperPrivateField)}this.classScope.usePrivateName(o,l.start)}i.property=l;if(a){this.expect(u.bracketR)}if(n.optionalChainMember){i.optional=s;return this.finishNode(i,"OptionalMemberExpression")}else{return this.finishNode(i,"MemberExpression")}}parseBind(e,t,r,n,s){const i=this.startNodeAt(t,r);i.object=e;i.callee=this.parseNoCallExpr();s.stop=true;return this.parseSubscripts(this.finishNode(i,"BindExpression"),t,r,n)}parseCoverCallAndAsyncArrowHead(e,t,r,n,s){const i=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,r);o.callee=e;if(n.maybeAsyncArrow){this.expressionScope.enter(newAsyncArrowScope());a=new ExpressionErrors}if(n.optionalChainMember){o.optional=s}if(s){o.arguments=this.parseCallExpressionArguments(u.parenR)}else{o.arguments=this.parseCallExpressionArguments(u.parenR,e.type==="Import",e.type!=="Super",o,a)}this.finishCallExpression(o,n.optionalChainMember);if(n.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!s){n.stop=true;this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),o)}else{if(n.maybeAsyncArrow){this.checkExpressionErrors(a,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=i;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,n){const s=this.startNodeAt(t,r);s.tag=e;s.quasi=this.parseTemplate(true);if(n.optionalChainMember){this.raise(t,T.OptionalChainingNoTemplate)}return this.finishNode(s,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(e.start,T.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument")}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(t.start,T.ImportCallSpreadArgument)}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,s){const i=[];let a=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(this.state.lastTokStart,T.ImportCallArgumentTrailingComma)}if(n){this.addExtra(n,"trailingComma",this.state.lastTokStart)}this.next();break}}i.push(this.parseExprListItem(false,s,r))}this.state.inFSharpPipelineDirectBody=o;return i}shouldParseAsyncArrow(){return this.match(u.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;this.resetPreviousNodeTrailingComments(t);this.expect(u.arrow);this.parseArrowExpression(e,t.arguments,true,(r=t.extra)==null?void 0:r.trailingComma);setInnerComments(e,t.innerComments);setInnerComments(e,t.callee.trailingComments);return e}parseNoCallExpr(){const e=this.state.start;const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,true)}parseExprAtom(e){let t;switch(this.state.type){case u._super:return this.parseSuper();case u._import:t=this.startNode();this.next();if(this.match(u.dot)){return this.parseImportMetaProperty(t)}if(!this.match(u.parenL)){this.raise(this.state.lastTokStart,T.UnsupportedImport)}return this.finishNode(t,"Import");case u._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case u.name:{if(this.isContextual("module")&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak()){return this.parseModuleExpression()}const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const r=this.parseIdentifier();if(!t&&r.name==="async"&&!this.canInsertSemicolon()){if(this.match(u._function)){this.resetPreviousNodeTrailingComments(r);this.next();return this.parseFunction(this.startNodeAtNode(r),undefined,true)}else if(this.match(u.name)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(r))}else{return r}}else if(this.match(u._do)){this.resetPreviousNodeTrailingComments(r);return this.parseDo(this.startNodeAtNode(r),true)}}if(e&&this.match(u.arrow)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(r),[r],false)}return r}case u._do:{return this.parseDo(this.startNode(),false)}case u.slash:case u.slashAssign:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case u.num:return this.parseNumericLiteral(this.state.value);case u.bigint:return this.parseBigIntLiteral(this.state.value);case u.decimal:return this.parseDecimalLiteral(this.state.value);case u.string:return this.parseStringLiteral(this.state.value);case u._null:return this.parseNullLiteral();case u._true:return this.parseBooleanLiteral(true);case u._false:return this.parseBooleanLiteral(false);case u.parenL:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case u.bracketBarL:case u.bracketHashL:{return this.parseArrayLike(this.state.type===u.bracketBarL?u.bracketBarR:u.bracketR,false,true,e)}case u.bracketL:{return this.parseArrayLike(u.bracketR,true,false,e)}case u.braceBarL:case u.braceHashL:{return this.parseObjectLike(this.state.type===u.braceBarL?u.braceBarR:u.braceR,false,true,e)}case u.braceL:{return this.parseObjectLike(u.braceR,false,false,e)}case u._function:return this.parseFunctionOrFunctionSent();case u.at:this.parseDecorators();case u._class:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case u._new:return this.parseNewOrNewTarget();case u.backQuote:return this.parseTemplate(false);case u.doubleColon:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(e.start,T.UnsupportedBind)}}case u.privateName:{const{value:e,start:r}=this.state;t=this.parsePrivateName();if(this.match(u._in)){this.classScope.usePrivateName(e,r)}else{this.raise(r,T.PrivateInExpectedIn,e)}return t}case u.moduloAssign:if(this.getPluginOption("pipelineOperator","proposal")==="hack"&&this.getPluginOption("pipelineOperator","topicToken")==="%"){this.state.value="%";this.state.type=u.modulo;this.state.pos--;this.state.end--;this.state.endLoc.column--}else{throw this.unexpected()}case u.modulo:case u.hash:{const e=this.getPluginOption("pipelineOperator","proposal");if(e){t=this.startNode();const r=this.state.start;const n=this.state.type;this.next();return this.finishTopicReference(t,r,e,n)}}case u.relational:{if(this.state.value==="<"){const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}}}default:throw this.unexpected()}}finishTopicReference(e,t,r,n){if(this.testTopicReferenceConfiguration(r,t,n)){let n;if(r==="smart"){n="PipelinePrimaryTopicReference"}else{n="TopicReference"}if(!this.topicReferenceIsAllowedInCurrentContext()){if(r==="smart"){this.raise(t,T.PrimaryTopicNotAllowed)}else{this.raise(t,T.PipeTopicUnbound)}}this.registerTopicReference();return this.finishNode(e,n)}else{throw this.raise(t,T.PipeTopicUnconfiguredToken,n.label)}}testTopicReferenceConfiguration(e,t,r){switch(e){case"hack":{const e=this.getPluginOption("pipelineOperator","topicToken");return r.label===e}case"smart":return r===u.hash;default:throw this.raise(t,T.PipeTopicRequiresHackPipes)}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const t=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(this.state.pos,T.LineTerminatorBeforeArrow)}this.expect(u.arrow);this.parseArrowExpression(e,t,true);return e}parseDo(e,t){this.expectPlugin("doExpressions");if(t){this.expectPlugin("asyncDoExpressions")}e.async=t;this.next();const r=this.state.labels;this.state.labels=[];if(t){this.prodParam.enter(Ne);e.body=this.parseBlock();this.prodParam.exit()}else{e.body=this.parseBlock()}this.state.labels=r;return this.finishNode(e,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(u.parenL)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,T.SuperNotAllowed)}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,T.UnexpectedSuper)}if(!this.match(u.parenL)&&!this.match(u.bracketL)&&!this.match(u.dot)){this.raise(e.start,T.UnsupportedSuper)}return this.finishNode(e,"Super")}parseMaybePrivateName(e){const t=this.match(u.privateName);if(t){if(!e){this.raise(this.state.start+1,T.UnexpectedPrivateField)}return this.parsePrivateName()}else{return this.parseIdentifier(true)}}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(this.state.start+1,new Position(this.state.curLine,this.state.start+1-this.state.lineStart));const r=this.state.value;this.next();e.id=this.createIdentifier(t,r);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;if(t.name==="function"&&r==="sent"){if(this.isContextual(r)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}}const n=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==r||n){this.raise(e.property.start,T.UnsupportedMetaProperty,t.name,r)}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual("meta")){if(!this.inModule){this.raise(t.start,h.ImportMetaOutsideModule)}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){this.addExtra(r,"rawValue",e);this.addExtra(r,"raw",this.input.slice(r.start,this.state.end));r.value=e;this.next();return this.finishNode(r,t)}parseLiteral(e,t){const r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start;const r=this.state.startLoc;let n;this.next();this.expressionScope.enter(newArrowHeadScope());const s=this.state.maybeInArrowParameters;const i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const a=this.state.start;const o=this.state.startLoc;const l=[];const p=new ExpressionErrors;let f=true;let c;let d;while(!this.match(u.parenR)){if(f){f=false}else{this.expect(u.comma,p.optionalParameters===-1?null:p.optionalParameters);if(this.match(u.parenR)){d=this.state.start;break}}if(this.match(u.ellipsis)){const e=this.state.start;const t=this.state.startLoc;c=this.state.start;l.push(this.parseParenItem(this.parseRestBinding(),e,t));this.checkCommaAfterRest(41);break}else{l.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem))}}const y=this.state.lastTokEnd;const m=this.state.lastTokEndLoc;this.expect(u.parenR);this.state.maybeInArrowParameters=s;this.state.inFSharpPipelineDirectBody=i;let T=this.startNodeAt(t,r);if(e&&this.shouldParseArrow(l)&&(T=this.parseArrow(T))){this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(T,l,false);return T}this.expressionScope.exit();if(!l.length){this.unexpected(this.state.lastTokStart)}if(d)this.unexpected(d);if(c)this.unexpected(c);this.checkExpressionErrors(p,true);this.toReferencedListDeep(l,true);if(l.length>1){n=this.startNodeAt(a,o);n.expressions=l;this.finishNode(n,"SequenceExpression");n.end=y;n.loc.end=m}else{n=l[0]}if(!this.options.createParenthesizedExpressions){this.addExtra(n,"parenthesized",true);this.addExtra(n,"parenStart",t);return n}const h=this.startNodeAt(t,r);h.expression=n;this.finishNode(h,"ParenthesizedExpression");return h}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(u.arrow)){return e}}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){this.raise(r.start,T.UnexpectedNewTarget)}return r}return this.parseNew(e)}parseNew(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(e.callee.start,T.ImportCallNotNewExpression)}else if(this.isOptionalChain(e.callee)){this.raise(this.state.lastTokEnd,T.OptionalChainingNoNew)}else if(this.eat(u.questionDot)){this.raise(this.state.start,T.OptionalChainingNoNew)}this.parseNewArguments(e);return this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(u.parenL)){const t=this.parseExprList(u.parenR);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}}parseTemplateElement(e){const t=this.startNode();if(this.state.value===null){if(!e){this.raise(this.state.start+1,T.InvalidEscapeSequenceTemplate)}}t.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,"\n"),cooked:this.state.value};this.next();t.tail=this.match(u.backQuote);return this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next();t.expressions=[];let r=this.parseTemplateElement(e);t.quasis=[r];while(!r.tail){this.expect(u.dollarBraceL);t.expressions.push(this.parseTemplateSubstitution());this.expect(u.braceR);t.quasis.push(r=this.parseTemplateElement(e))}this.next();return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const i=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}}const s=this.parsePropertyDefinition(t,n);if(!t){this.checkProto(s,r,i,n)}if(r&&!this.isObjectProperty(s)&&s.type!=="SpreadElement"){this.raise(s.start,T.InvalidRecordProperty)}if(s.shorthand){this.addExtra(s,"shorthand",true)}o.properties.push(s)}this.next();this.state.inFSharpPipelineDirectBody=s;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(r){l="RecordExpression"}return this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(u.bracketL)||this.match(u.star))}parsePropertyDefinition(e,t){let r=[];if(this.match(u.at)){if(this.hasPlugin("decorators")){this.raise(this.state.start,T.UnsupportedPropertyDecorator)}while(this.match(u.at)){r.push(this.parseDecorator())}}const n=this.startNode();let s=false;let i=false;let a=false;let o;let l;if(this.match(u.ellipsis)){if(r.length)this.unexpected();if(e){this.next();n.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(n,"RestElement")}return this.parseSpread()}if(r.length){n.decorators=r;r=[]}n.method=false;if(e||t){o=this.state.start;l=this.state.startLoc}if(!e){s=this.eat(u.star)}const p=this.state.containsEsc;const f=this.parsePropertyName(n,false);if(!e&&!s&&!p&&this.maybeAsyncOrAccessorProp(n)){const e=f.name;if(e==="async"&&!this.hasPrecedingLineBreak()){i=true;this.resetPreviousNodeTrailingComments(f);s=this.eat(u.star);this.parsePropertyName(n,false)}if(e==="get"||e==="set"){a=true;this.resetPreviousNodeTrailingComments(f);n.kind=e;if(this.match(u.star)){s=true;this.raise(this.state.pos,T.AccessorIsGenerator,e);this.next()}this.parsePropertyName(n,false)}}this.parseObjPropValue(n,o,l,s,i,e,a,t);return n}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e);const n=this.getObjectOrClassMethodParams(e);const s=e.start;if(n.length!==r){if(e.kind==="get"){this.raise(s,T.BadGetterArity)}else{this.raise(s,T.BadSetterArity)}}if(e.kind==="set"&&((t=n[n.length-1])==null?void 0:t.type)==="RestElement"){this.raise(s,T.BadSetterRestParameter)}}parseObjectMethod(e,t,r,n,s){if(s){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(r||t||this.match(u.parenL)){if(n)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,r,false,false,"ObjectMethod")}}parseObjectProperty(e,t,r,n,s){e.shorthand=false;if(this.eat(u.colon)){e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(s);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.start,true,false);if(n){e.value=this.parseMaybeDefault(t,r,cloneIdentifier(e.key))}else if(this.match(u.eq)&&s){if(s.shorthandAssign===-1){s.shorthandAssign=this.state.start}e.value=this.parseMaybeDefault(t,r,cloneIdentifier(e.key))}else{e.value=cloneIdentifier(e.key)}e.shorthand=true;return this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,r,n,s,i,a,o){const l=this.parseObjectMethod(e,n,s,i,a)||this.parseObjectProperty(e,t,r,i,o);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(u.bracketL)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(u.bracketR)}else{const r=this.state.inPropertyName;this.state.inPropertyName=true;const n=this.state.type;e.key=n===u.num||n===u.string||n===u.bigint||n===u.decimal?this.parseExprAtom():this.parseMaybePrivateName(t);if(n!==u.privateName){e.computed=false}this.state.inPropertyName=r}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,r,n,s,i,a=false){this.initFunction(e,r);e.generator=!!t;const o=n;this.scope.enter(L|F|(a?k:0)|(s?B:0));this.prodParam.enter(functionFlags(r,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,i,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const i=this.startNode();this.next();i.elements=this.parseExprList(e,!r,n,i);this.state.inFSharpPipelineDirectBody=s;return this.finishNode(i,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(L|_);let s=functionFlags(r,false);if(!this.match(u.bracketL)&&this.prodParam.hasIn){s|=Le}this.prodParam.enter(s);this.initFunction(e,r);const i=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,n)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=i;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){e.params=this.toAssignableList(t,r,false)}parseFunctionBodyAndFinish(e,t,r=false){this.parseFunctionBody(e,false,r);this.finishNode(e,t)}parseFunctionBody(e,t,r=false){const n=t&&!this.match(u.braceL);this.expressionScope.enter(newExpressionScope());if(n){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const n=this.state.strict;const s=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|Ce);e.body=this.parseBlock(true,false,s=>{const i=!this.isSimpleParamList(e.params);if(s&&i){const t=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(t,T.IllegalLanguageModeDirective)}const a=!n&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!r&&!i,t,a);if(this.state.strict&&e.id){this.checkLVal(e.id,"function name",le,undefined,undefined,a)}});this.prodParam.exit();this.expressionScope.exit();this.state.labels=s}}isSimpleParamList(e){for(let t=0,r=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(t,T.YieldBindingIdentifier);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(t,T.AwaitBindingIdentifier);return}else if(this.scope.inStaticBlock){this.raise(t,T.AwaitBindingIdentifierInStaticBlock);return}else{this.expressionScope.recordAsyncArrowParametersError(t,T.AwaitBindingIdentifier)}}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(t,T.ArgumentsInClass);return}}if(r&&isKeyword(e)){this.raise(t,T.UnexpectedKeyword,e);return}const s=!this.state.strict?isReservedWord:n?isStrictBindReservedWord:isStrictReservedWord;if(s(e,this.inModule)){this.raise(t,T.UnexpectedReservedWord,e)}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e,t){const r=this.startNodeAt(e,t);this.expressionScope.recordParameterInitializerError(r.start,T.AwaitExpressionFormalParameter);if(this.eat(u.star)){this.raise(r.start,T.ObsoleteAwaitStar)}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){r.argument=this.parseMaybeUnary(null,true)}return this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(u.plusMin)||this.match(u.parenL)||this.match(u.bracketL)||this.match(u.backQuote)||this.match(u.regexp)||this.match(u.slash)||this.hasPlugin("v8intrinsic")&&this.match(u.modulo)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,T.YieldInParameter);this.next();let t=false;let r=null;if(!this.hasPrecedingLineBreak()){t=this.eat(u.star);switch(this.state.type){case u.semi:case u.eof:case u.braceR:case u.parenR:case u.bracketR:case u.braceBarR:case u.colon:case u.comma:if(!t)break;default:r=this.parseMaybeAssign()}}e.delegate=t;e.argument=r;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.getPluginOption("pipelineOperator","proposal")==="smart"){if(e.type==="SequenceExpression"){this.raise(t,T.PipelineHeadSequenceExpression)}}}checkHackPipeBodyEarlyErrors(e){if(this.match(u.arrow)){throw this.raise(this.state.start,T.PipeBodyIsTighter,u.arrow.label)}else if(!this.topicReferenceWasUsedInCurrentContext()){this.raise(e,T.PipeTopicUnused)}}parseSmartPipelineBodyInStyle(e,t,r){const n=this.startNodeAt(t,r);if(this.isSimpleReference(e)){n.callee=e;return this.finishNode(n,"PipelineBareFunction")}else{this.checkSmartPipeTopicBodyEarlyErrors(t);n.expression=e;return this.finishNode(n,"PipelineTopicExpression")}}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(u.arrow)){throw this.raise(this.state.start,T.PipelineBodyNoArrow)}else if(!this.topicReferenceWasUsedInCurrentContext()){this.raise(e,T.PipelineTopicUnused)}}withTopicBindingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(e){const t=this.getPluginOption("pipelineOperator","proposal");if(t==="smart"){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}else{return e()}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const r=Le&~t;if(r){this.prodParam.enter(t|Le);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const r=Le&t;if(r){this.prodParam.enter(t&~Le);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const s=this.parseExprOp(this.parseMaybeUnary(),t,r,e);this.state.inFSharpPipelineDirectBody=n;return s}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(u.braceL);const t=this.initializeScopes(true);this.enterInitialScopes();const r=this.startNode();try{e.body=this.parseProgram(r,u.braceR,"module")}finally{t()}this.eat(u.braceR);return this.finishNode(e,"ModuleExpression")}}const nt={kind:"loop"},st={kind:"switch"};const it=0,at=1,ot=2,lt=4;const ut=/[\uD800-\uDFFF]/u;const pt=/in(?:stanceof)?/y;function babel7CompatTokens(e){{for(let t=0;t0){for(const[e]of Array.from(this.scope.undefinedExports)){const t=this.scope.undefinedExports.get(e);this.raise(t,T.ModuleExportUndefined,e)}}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e;t.type="Directive";t.value=t.expression;delete t.expression;const r=t.value;const n=this.input.slice(r.start,r.end);const s=r.value=n.slice(1,-1);this.addExtra(r,"raw",n);this.addExtra(r,"rawValue",s);r.type="DirectiveLiteral";return t}parseInterpreterDirective(){if(!this.match(u.interpreterDirective)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual("let")){return false}return this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart();const r=this.codePointAtPos(t);if(r===92||r===91){return true}if(e)return false;if(r===123)return true;if(isIdentifierStart(r)){pt.lastIndex=t;if(pt.test(this.input)){const e=this.codePointAtPos(pt.lastIndex);if(!isIdentifierChar(e)&&e!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(u.at)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type;const n=this.startNode();let s;if(this.isLet(e)){r=u._var;s="let"}switch(r){case u._break:case u._continue:return this.parseBreakContinueStatement(n,r.keyword);case u._debugger:return this.parseDebuggerStatement(n);case u._do:return this.parseDoStatement(n);case u._for:return this.parseForStatement(n);case u._function:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(this.state.start,T.StrictFunction)}else if(e!=="if"&&e!=="label"){this.raise(this.state.start,T.SloppyFunction)}}return this.parseFunctionStatement(n,false,!e);case u._class:if(e)this.unexpected();return this.parseClass(n,true);case u._if:return this.parseIfStatement(n);case u._return:return this.parseReturnStatement(n);case u._switch:return this.parseSwitchStatement(n);case u._throw:return this.parseThrowStatement(n);case u._try:return this.parseTryStatement(n);case u._const:case u._var:s=s||this.state.value;if(e&&s!=="var"){this.raise(this.state.start,T.UnexpectedLexicalDeclaration)}return this.parseVarStatement(n,s);case u._while:return this.parseWhileStatement(n);case u._with:return this.parseWithStatement(n);case u.braceL:return this.parseBlock();case u.semi:return this.parseEmptyStatement(n);case u._import:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case u._export:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(this.state.start,T.UnexpectedImportExport)}this.next();let e;if(r===u._import){e=this.parseImport(n);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(n);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(n);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(this.state.start,T.AsyncFunctionInSingleStatementContext)}this.next();return this.parseFunctionStatement(n,true,!e)}}}const i=this.state.value;const a=this.parseExpression();if(r===u.name&&a.type==="Identifier"&&this.eat(u.colon)){return this.parseLabeledStatement(n,i,a,e)}else{return this.parseExpressionStatement(n,a)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(e.start,h.ImportOutsideModule)}}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];if(t.length){e.decorators=t;this.resetStartLocationFromNode(e,t[0]);this.state.decoratorStack[this.state.decoratorStack.length-1]=[]}}canHaveLeadingDecorator(){return this.match(u._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(u.at)){const e=this.parseDecorator();t.push(e)}if(this.match(u._export)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,T.DecoratorExportClass)}}else if(!this.canHaveLeadingDecorator()){throw this.raise(this.state.start,T.UnexpectedLeadingDecorator)}}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start;const r=this.state.startLoc;let n;if(this.eat(u.parenL)){n=this.parseExpression();this.expect(u.parenR)}else{n=this.parseIdentifier(false);while(this.eat(u.dot)){const e=this.startNodeAt(t,r);e.object=n;e.property=this.parseIdentifier(true);e.computed=false;n=this.finishNode(e,"MemberExpression")}}e.expression=this.parseMaybeDecoratorArguments(n);this.state.decoratorStack.pop()}else{e.expression=this.parseExprSubscripts()}return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(u.parenL)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(u.parenR,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){const r=t==="break";this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,r?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){const r=t==="break";let n;for(n=0;nthis.parseStatement("do"));this.state.labels.pop();this.expect(u._while);e.test=this.parseHeaderExpression();this.eat(u.semi);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(nt);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual("await")){t=this.state.lastTokStart}this.scope.enter(N);this.expect(u.parenL);if(this.match(u.semi)){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}const r=this.isContextual("let");const n=r&&this.isLetKeyword();if(this.match(u._var)||this.match(u._const)||n){const r=this.startNode();const s=n?"let":this.state.value;this.next();this.parseVar(r,true,s);this.finishNode(r,"VariableDeclaration");if((this.match(u._in)||this.isContextual("of"))&&r.declarations.length===1){return this.parseForIn(e,r,t)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)}const s=this.match(u.name)&&!this.state.containsEsc;const i=new ExpressionErrors;const a=this.parseExpression(true,i);const o=this.isContextual("of");if(o){if(r){this.raise(a.start,T.ForOfLet)}else if(t===-1&&s&&a.type==="Identifier"&&a.name==="async"){this.raise(a.start,T.ForOfAsync)}}if(o||this.match(u._in)){this.toAssignable(a,true);const r=o?"for-of statement":"for-in statement";this.checkLVal(a,r);return this.parseForIn(e,a,t)}else{this.checkExpressionErrors(i,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)}parseFunctionStatement(e,t,r){this.next();return this.parseFunction(e,at|(r?0:ot),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(u._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(this.state.start,T.IllegalReturn)}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(u.braceL);this.state.labels.push(st);this.scope.enter(N);let r;for(let e;!this.match(u.braceR);){if(this.match(u._case)||this.match(u._default)){const n=this.match(u._case);if(r)this.finishNode(r,"SwitchCase");t.push(r=this.startNode());r.consequent=[];this.next();if(n){r.test=this.parseExpression()}else{if(e){this.raise(this.state.lastTokStart,T.MultipleDefaultsInSwitch)}e=true;r.test=null}this.expect(u.colon)}else{if(r){r.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(r)this.finishNode(r,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(this.state.lastTokEnd,T.NewlineAfterThrow)}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?M:0);this.checkLVal(e,"catch clause",ee);return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(u._catch)){const t=this.startNode();this.next();if(this.match(u.parenL)){this.expect(u.parenL);t.param=this.parseCatchClauseParam();this.expect(u.parenR)}else{t.param=null;this.scope.enter(N)}t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(false,false));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(u._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,T.NoCatchOrFinally)}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(nt);e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("while"));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(this.state.start,T.StrictWith)}this.next();e.object=this.parseHeaderExpression();e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("with"));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(const e of this.state.labels){if(e.name===t){this.raise(r.start,T.LabelRedeclaration,t)}}const s=this.state.type.isLoop?"loop":this.match(u._switch)?"switch":null;for(let t=this.state.labels.length-1;t>=0;t--){const r=this.state.labels[t];if(r.statementStart===e.start){r.statementStart=this.state.start;r.kind=s}else{break}}this.state.labels.push({name:t,kind:s,statementStart:this.state.start});e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label");this.state.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,r){const n=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(u.braceL);if(t){this.scope.enter(N)}this.parseBlockBody(n,e,false,u.braceR,r);if(t){this.scope.exit()}return this.finishNode(n,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,s){const i=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(i,t?a:undefined,r,n,s)}parseBlockOrModuleBlockBody(e,t,r,n,s){const i=this.state.strict;let a=false;let o=false;while(!this.match(n)){const n=this.parseStatement(null,r);if(t&&!o){if(this.isValidDirective(n)){const e=this.stmtToDirective(n);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(n)}if(s){s.call(this,a)}if(!i){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(u.semi)?null:this.parseExpression();this.semicolon(false);e.update=this.match(u.parenR)?null:this.parseExpression();this.expect(u.parenR);e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const n=this.match(u._in);this.next();if(n){if(r>-1)this.unexpected(r)}else{e.await=r>-1}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,T.ForInOfLoopInitializer,n?"for-in":"for-of")}else if(t.type==="AssignmentPattern"){this.raise(t.start,T.InvalidLhs,"for-loop")}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(u.parenR);e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){const n=e.declarations=[];const s=this.hasPlugin("typescript");e.kind=r;for(;;){const e=this.startNode();this.parseVarId(e,r);if(this.eat(u.eq)){e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn()}else{if(r==="const"&&!(this.match(u._in)||this.isContextual("of"))){if(!s){this.raise(this.state.lastTokEnd,T.DeclarationMissingInitializer,"Const declarations")}}else if(e.id.type!=="Identifier"&&!(t&&(this.match(u._in)||this.isContextual("of")))){this.raise(this.state.lastTokEnd,T.DeclarationMissingInitializer,"Complex binding patterns")}e.init=null}n.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(u.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,"variable declaration",t==="var"?te:ee,undefined,t!=="var")}parseFunction(e,t=it,r=false){const n=t&at;const s=t&ot;const i=!!n&&!(t<);this.initFunction(e,r);if(this.match(u.star)&&s){this.raise(this.state.start,T.GeneratorInSingleStatementContext)}e.generator=this.eat(u.star);if(n){e.id=this.parseFunctionId(i)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(L);this.prodParam.enter(functionFlags(r,e.generator));if(!n){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")});this.prodParam.exit();this.scope.exit();if(n&&!s){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||this.match(u.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(u.parenL);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(u.parenR,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?te:ee:re,e.id.start)}parseClass(e,t,r){this.next();this.takeDecorators(e);const n=this.state.strict;this.state.strict=true;this.parseClassId(e,t,r);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,n);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(u.eq)||this.match(u.semi)||this.match(u.braceR)}isClassMethod(){return this.match(u.parenL)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const r={hadConstructor:false,hadSuperClass:e};let n=[];const s=this.startNode();s.body=[];this.expect(u.braceL);this.withSmartMixTopicForbiddingContext(()=>{while(!this.match(u.braceR)){if(this.eat(u.semi)){if(n.length>0){throw this.raise(this.state.lastTokEnd,T.DecoratorSemicolon)}continue}if(this.match(u.at)){n.push(this.parseDecorator());continue}const e=this.startNode();if(n.length){e.decorators=n;this.resetStartLocationFromNode(e,n[0]);n=[]}this.parseClassMember(s,e,r);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(e.start,T.DecoratorConstructor)}}});this.state.strict=t;this.next();if(n.length){throw this.raise(this.state.start,T.TrailingDecorator)}this.classScope.exit();return this.finishNode(s,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(true);if(this.isClassMethod()){const n=t;n.kind="method";n.computed=false;n.key=r;n.static=false;this.pushClassMethod(e,n,false,false,false,false);return true}else if(this.isClassProperty()){const n=t;n.computed=false;n.key=r;n.static=false;e.body.push(this.parseClassProperty(n));return true}this.resetPreviousNodeTrailingComments(r);return false}parseClassMember(e,t,r){const n=this.isContextual("static");if(n){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(u.braceL)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){const s=t;const i=t;const a=t;const o=t;const l=s;const p=s;t.static=n;if(this.eat(u.star)){l.kind="method";const t=this.match(u.privateName);this.parseClassElementName(l);if(t){this.pushClassPrivateMethod(e,i,true,false);return}if(this.isNonstaticConstructor(s)){this.raise(s.key.start,T.ConstructorIsGenerator)}this.pushClassMethod(e,s,true,false,false,false);return}const f=this.match(u.name)&&!this.state.containsEsc;const c=this.match(u.privateName);const d=this.parseClassElementName(t);const y=this.state.start;this.parsePostMemberNameModifiers(p);if(this.isClassMethod()){l.kind="method";if(c){this.pushClassPrivateMethod(e,i,false,false);return}const n=this.isNonstaticConstructor(s);let a=false;if(n){s.kind="constructor";if(r.hadConstructor&&!this.hasPlugin("typescript")){this.raise(d.start,T.DuplicateConstructor)}if(n&&this.hasPlugin("typescript")&&t.override){this.raise(d.start,T.OverrideOnConstructor)}r.hadConstructor=true;a=r.hadSuperClass}this.pushClassMethod(e,s,false,false,n,a)}else if(this.isClassProperty()){if(c){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(f&&d.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(d);const t=this.eat(u.star);if(p.optional){this.unexpected(y)}l.kind="method";const r=this.match(u.privateName);this.parseClassElementName(l);this.parsePostMemberNameModifiers(p);if(r){this.pushClassPrivateMethod(e,i,t,true)}else{if(this.isNonstaticConstructor(s)){this.raise(s.key.start,T.ConstructorIsAsync)}this.pushClassMethod(e,s,t,true,false,false)}}else if(f&&(d.name==="get"||d.name==="set")&&!(this.match(u.star)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(d);l.kind=d.name;const t=this.match(u.privateName);this.parseClassElementName(s);if(t){this.pushClassPrivateMethod(e,i,false,false)}else{if(this.isNonstaticConstructor(s)){this.raise(s.key.start,T.ConstructorIsAccessor)}this.pushClassMethod(e,s,false,false,false,false)}this.checkGetterSetterParams(s)}else if(this.isLineTerminator()){if(c){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:r,start:n}=this.state;if((t===u.name||t===u.string)&&e.static&&r==="prototype"){this.raise(n,T.StaticPrototype)}if(t===u.privateName&&r==="constructor"){this.raise(n,T.ConstructorClassPrivateField)}return this.parsePropertyName(e,true)}parseClassStaticBlock(e,t){var r;this.expectPlugin("classStaticBlock",t.start);this.scope.enter(k|R|F);const n=this.state.labels;this.state.labels=[];this.prodParam.enter(we);const s=t.body=[];this.parseBlockOrModuleBlockBody(s,undefined,false,u.braceR);this.prodParam.exit();this.scope.exit();this.state.labels=n;e.body.push(this.finishNode(t,"StaticBlock"));if((r=t.decorators)!=null&&r.length){this.raise(t.start,T.DecoratorStaticBlock)}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(t.key.start,T.ConstructorClassField)}e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const r=this.parseClassPrivateProperty(t);e.body.push(r);this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),Ee,r.key.start)}pushClassMethod(e,t,r,n,s,i){e.body.push(this.parseMethod(t,r,n,s,i,"ClassMethod",true))}pushClassPrivateMethod(e,t,r,n){const s=this.parseMethod(t,r,n,false,false,"ClassPrivateMethod",true);e.body.push(s);const i=s.kind==="get"?s.static?Te:Se:s.kind==="set"?s.static?he:be:Ee;this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),i,s.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(k|F);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(we);e.value=this.eat(u.eq)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,r,n=Z){if(this.match(u.name)){e.id=this.parseIdentifier();if(t){this.checkLVal(e.id,"class name",n)}}else{if(r||!t){e.id=null}else{this.unexpected(null,T.MissingClassName)}}}parseClassSuper(e){e.superClass=this.eat(u._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.eatExportStar(e);const s=n&&this.maybeParseExportNamespaceSpecifier(e);const i=r&&(!s||this.eat(u.comma));const a=t||n;if(n&&!s){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!n&&!o||s&&i&&!o){throw this.unexpected(null,u.braceL)}let l;if(a||o){l=false;this.parseExportFrom(e,a)}else{l=this.maybeParseExportDeclaration(e)}if(a||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(u._default)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,u.braceL)}eatExportStar(e){return this.eat(u.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(u.braceL)){if(!e.specifiers)e.specifiers=[];e.specifiers.push(...this.parseExportSpecifiers());e.source=null;e.declaration=null;return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual("async"))return false;const e=this.nextTokenStart();return!p.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(u._function)||t){this.next();if(t){this.next()}return this.parseFunction(e,at|lt,t)}else if(this.match(u._class)){return this.parseClass(e,true,true)}else if(this.match(u.at)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,T.DecoratorBeforeExport)}this.parseDecorators(false);return this.parseClass(e,true,true)}else if(this.match(u._const)||this.match(u._var)||this.isLet()){throw this.raise(this.state.start,T.UnsupportedDefaultExport)}else{const e=this.parseMaybeAssignAllowIn();this.semicolon();return e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(u.name)){const e=this.state.value;if(e==="async"&&!this.state.containsEsc||e==="let"){return false}if((e==="type"||e==="interface")&&!this.state.containsEsc){const e=this.lookahead();if(e.type===u.name&&e.value!=="from"||e.type===u.braceL){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(u._default)){return false}const e=this.nextTokenStart();const t=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||this.match(u.name)&&t){return true}if(this.match(u._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return t===34||t===39}return false}parseExportFrom(e,t){if(this.eatContextual("from")){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else{if(t){this.unexpected()}else{e.source=null}}this.semicolon()}shouldParseExportDeclaration(){if(this.match(u.at)){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){this.unexpected(this.state.start,T.DecoratorBeforeExport)}else{return true}}}return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t){if(r){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var s;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((s=t.extra)!=null&&s.parenthesized)){this.raise(t.start,T.ExportDefaultFromAsIdentifier)}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const r=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,r);if(!n&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(t.start,T.ExportBindingIsString,e.value,r)}else{this.checkReservedWord(e.name,e.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}const i=this.state.decoratorStack[this.state.decoratorStack.length-1];if(i.length){throw this.raise(e.start,T.UnsupportedDecoratorExport)}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){this.raise(e.start,t==="default"?T.DuplicateDefaultExport:T.DuplicateExport,t)}this.exportedIdentifiers.add(t)}parseExportSpecifiers(){const e=[];let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{this.expect(u.comma);if(this.eat(u.braceR))break}const r=this.startNode();const n=this.match(u.string);const s=this.parseModuleExportName();r.local=s;if(this.eatContextual("as")){r.exported=this.parseModuleExportName()}else if(n){r.exported=cloneStringLiteral(s)}else{r.exported=cloneIdentifier(s)}e.push(this.finishNode(r,"ExportSpecifier"))}return e}parseModuleExportName(){if(this.match(u.string)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(ut);if(t){this.raise(e.start,T.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16))}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(u.string)){const t=this.maybeParseDefaultImportSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.maybeParseStarImportSpecifier(e);if(r&&!n)this.parseNamedImportSpecifiers(e);this.expectContextual("from")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(u.string))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(u.name)}parseImportSpecifierLocal(e,t,r,n){t.local=this.parseIdentifier();this.checkLVal(t.local,n,ee);e.specifiers.push(this.finishNode(t,r))}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(u.braceR)){break}const r=this.startNode();const n=this.state.value;if(t.has(n)){this.raise(this.state.start,T.ModuleAttributesWithDuplicateKeys,n)}t.add(n);if(this.match(u.string)){r.key=this.parseStringLiteral(n)}else{r.key=this.parseIdentifier(true)}this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,T.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseModuleAttributes(){if(this.match(u._with)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const r=this.startNode();r.key=this.parseIdentifier(true);if(r.key.name!=="type"){this.raise(r.key.start,T.ModuleAttributeDifferentFromType,r.key.name)}if(t.has(r.key.name)){this.raise(r.key.start,T.ModuleAttributesWithDuplicateKeys,r.key.name)}t.add(r.key.name);this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,T.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseImportAssertions(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(u.braceL);const e=this.parseAssertEntries();this.eat(u.braceR);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(u.star)){const t=this.startNode();this.next();this.expectContextual("as");this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{if(this.eat(u.colon)){throw this.raise(this.state.start,T.DestructureNamedImport)}this.expect(u.comma);if(this.eat(u.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();const r=this.match(u.string);t.imported=this.parseModuleExportName();if(this.eatContextual("as")){t.local=this.parseIdentifier()}else{const{imported:e}=t;if(r){throw this.raise(t.start,T.ImportBindingIsString,e.value)}this.checkReservedWord(e.name,t.start,true,true);t.local=cloneIdentifier(e)}this.checkLVal(t.local,"import specifier",ee);e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const r of e){const[e,n]=Array.isArray(r)?r:[r,{}];if(!t.has(e))t.set(e,n||{})}return t}function parse(e,t){var r;if(((r=t)==null?void 0:r.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const r=getParser(t,e);const n=r.parse();if(r.sawUnambiguousESM){return n}if(r.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{n.program.sourceType="script"}return n}catch(r){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw r}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const r=getParser(t,e);if(r.options.strictMode){r.state.strict=true}return r.getExpression()}function getParser(e,t){let r=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);r=getParserClass(e.plugins)}return new r(e,t)}const ft={};function getParserClass(e){const t=et.filter(t=>hasPlugin(e,t));const r=t.join("/");let n=ft[r];if(!n){n=Parser;for(const e of t){n=Ze[e](n)}ft[r]=n}return n}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=u},87790:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(20336);var s=r(35078);var i=r(28571);var a=r(64696);function matchAffectedArguments(e){const t=e.findIndex(e=>a.types.isSpreadElement(e));return t>=0&&t!==e.length-1}function shouldTransform(e){let t=e;const r=[];while(t.isOptionalMemberExpression()||t.isOptionalCallExpression()){const{node:e}=t;r.push(e);if(t.isOptionalMemberExpression()){t=i.skipTransparentExprWrappers(t.get("object"))}else if(t.isOptionalCallExpression()){t=i.skipTransparentExprWrappers(t.get("callee"))}}for(let e=0;e{e.assertVersion(7);const t=e.assumption("noDocumentAll");const r=e.assumption("pureGetters");return{name:"bugfix-v8-spread-parameters-in-optional-chaining",visitor:{"OptionalCallExpression|OptionalMemberExpression"(e){if(shouldTransform(e)){s.transform(e,{noDocumentAll:t,pureGetters:r})}}}}});t.default=o},21928:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var n=r(36860);let s=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const i=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const s=Object.assign({},n,e.end);const{linesAbove:i=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const u=s.line;const p=s.column;let f=Math.max(o-(i+1),0);let c=Math.min(t.length,u+a);if(o===-1){f=0}if(u===-1){c=t.length}const d=u-o;const y={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){y[r]=true}else if(e===0){const e=t[r-1].length;y[r]=[l,e-l+1]}else if(e===d){y[r]=[0,p]}else{const n=t[r-e].length;y[r]=[0,n]}}}else{if(l===p){if(l){y[o]=[l,0]}else{y[o]=true}}else{y[o]=[l,p-l]}}return{start:f,end:c,markerLines:y}}function codeFrameColumns(e,t,r={}){const s=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const a=(0,n.getChalk)(r);const o=getDefs(a);const l=(e,t)=>{return s?e(t):t};const u=e.split(i);const{start:p,end:f,markerLines:c}=getMarkerLines(t,u,r);const d=t.start&&typeof t.start.column==="number";const y=String(f).length;const m=s?(0,n.default)(e,r):e;let T=m.split(i).slice(p,f).map((e,t)=>{const n=p+1+t;const s=` ${n}`.slice(-y);const i=` ${s} |`;const a=c[n];const u=!c[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const s=a[1]||1;t=["\n ",l(o.gutter,i.replace(/\d/g," "))," ",n,l(o.marker,"^").repeat(s)].join("");if(u&&r.message){t+=" "+l(o.message,r.message)}}return[l(o.marker,">"),l(o.gutter,i),e.length>0?` ${e}`:"",t].join("")}else{return` ${l(o.gutter,i)}${e.length>0?` ${e}`:""}`}}).join("\n");if(r.message&&!d){T=`${" ".repeat(y+1)}${r.message}\n${T}`}if(s){return a.reset(T)}else{return T}}function _default(e,t,r,n={}){if(!s){s=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const i={start:{column:r,line:t}};return codeFrameColumns(e,i,n)}},93644:(e,t,r)=>{e.exports=r(64172)},97456:(e,t,r)=>{e.exports=r(13768)},62309:()=>{},37612:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeWeakCache=makeWeakCache;t.makeWeakCacheSync=makeWeakCacheSync;t.makeStrongCache=makeStrongCache;t.makeStrongCacheSync=makeStrongCacheSync;t.assertSimpleType=assertSimpleType;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(35090);var s=r(69693);const i=e=>{return _gensync()(e).sync};function*genTrue(){return true}function makeWeakCache(e){return makeCachedFunction(WeakMap,e)}function makeWeakCacheSync(e){return i(makeWeakCache(e))}function makeStrongCache(e){return makeCachedFunction(Map,e)}function makeStrongCacheSync(e){return i(makeStrongCache(e))}function makeCachedFunction(e,t){const r=new e;const i=new e;const a=new e;return function*cachedFunction(e,o){const l=yield*(0,n.isAsync)();const u=l?i:r;const p=yield*getCachedValueOrWait(l,u,a,e,o);if(p.valid)return p.value;const f=new CacheConfigurator(o);const c=t(e,f);let d;let y;if((0,s.isIterableIterator)(c)){const t=c;y=yield*(0,n.onFirstPause)(t,()=>{d=setupAsyncLocks(f,a,e)})}else{y=c}updateFunctionCache(u,f,e,y);if(d){a.delete(e);d.release(y)}return y}}function*getCachedValue(e,t,r){const n=e.get(t);if(n){for(const{value:e,valid:t}of n){if(yield*t(r))return{valid:true,value:e}}}return{valid:false,value:null}}function*getCachedValueOrWait(e,t,r,s,i){const a=yield*getCachedValue(t,s,i);if(a.valid){return a}if(e){const e=yield*getCachedValue(r,s,i);if(e.valid){const t=yield*(0,n.waitFor)(e.value.promise);return{valid:true,value:t}}}return{valid:false,value:null}}function setupAsyncLocks(e,t,r){const n=new Lock;updateFunctionCache(t,e,r,n);return n}function updateFunctionCache(e,t,r,n){if(!t.configured())t.forever();let s=e.get(r);t.deactivate();switch(t.mode()){case"forever":s=[{value:n,valid:genTrue}];e.set(r,s);break;case"invalidate":s=[{value:n,valid:t.validator()}];e.set(r,s);break;case"valid":if(s){s.push({value:n,valid:t.validator()})}else{s=[{value:n,valid:t.validator()}];e.set(r,s)}}}class CacheConfigurator{constructor(e){this._active=true;this._never=false;this._forever=false;this._invalidate=false;this._configured=false;this._pairs=[];this._data=void 0;this._data=e}simple(){return makeSimpleConfigurator(this)}mode(){if(this._never)return"never";if(this._forever)return"forever";if(this._invalidate)return"invalidate";return"valid"}forever(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never){throw new Error("Caching has already been configured with .never()")}this._forever=true;this._configured=true}never(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._forever){throw new Error("Caching has already been configured with .forever()")}this._never=true;this._configured=true}using(e){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never||this._forever){throw new Error("Caching has already been configured with .never or .forever()")}this._configured=true;const t=e(this._data);const r=(0,n.maybeAsync)(e,`You appear to be using an async cache handler, but Babel has been called synchronously`);if((0,n.isThenable)(t)){return t.then(e=>{this._pairs.push([e,r]);return e})}this._pairs.push([t,r]);return t}invalidate(e){this._invalidate=true;return this.using(e)}validator(){const e=this._pairs;return function*(t){for(const[r,n]of e){if(r!==(yield*n(t)))return false}return true}}deactivate(){this._active=false}configured(){return this._configured}}function makeSimpleConfigurator(e){function cacheFn(t){if(typeof t==="boolean"){if(t)e.forever();else e.never();return}return e.using(()=>assertSimpleType(t()))}cacheFn.forever=(()=>e.forever());cacheFn.never=(()=>e.never());cacheFn.using=(t=>e.using(()=>assertSimpleType(t())));cacheFn.invalidate=(t=>e.invalidate(()=>assertSimpleType(t())));return cacheFn}function assertSimpleType(e){if((0,n.isThenable)(e)){throw new Error(`You appear to be using an async cache handler, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously handle your caching logic.`)}if(e!=null&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"){throw new Error("Cache keys must be either string, boolean, number, null, or undefined.")}return e}class Lock{constructor(){this.released=false;this.promise=void 0;this._resolve=void 0;this.promise=new Promise(e=>{this._resolve=e})}release(e){this.released=true;this._resolve(e)}}},59411:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPresetChain=buildPresetChain;t.buildRootChain=buildRootChain;t.buildPresetChainWalker=void 0;function _path(){const e=r(85622);_path=function(){return e};return e}function _debug(){const e=r(31185);_debug=function(){return e};return e}var n=r(1351);var s=r(296);var i=r(39342);var a=r(54949);var o=r(37612);var l=r(12942);const u=_debug()("babel:config:config-chain");function*buildPresetChain(e,t){const r=yield*p(e,t);if(!r)return null;return{plugins:dedupDescriptors(r.plugins),presets:dedupDescriptors(r.presets),options:r.options.map(e=>normalizeOptions(e)),files:new Set}}const p=makeChainWalker({root:e=>f(e),env:(e,t)=>c(e)(t),overrides:(e,t)=>d(e)(t),overridesEnv:(e,t,r)=>y(e)(t)(r),createLogger:()=>()=>{}});t.buildPresetChainWalker=p;const f=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.alias,l.createUncachedDescriptors));const c=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const d=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const y=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(r=>buildOverrideEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t,r))));function*buildRootChain(e,t){let r,n;const s=new i.ConfigPrinter;const o=yield*S({options:e,dirname:t.cwd},t,undefined,s);if(!o)return null;const l=yield*s.output();let u;if(typeof e.configFile==="string"){u=yield*(0,a.loadConfig)(e.configFile,t.cwd,t.envName,t.caller)}else if(e.configFile!==false){u=yield*(0,a.findRootConfig)(t.root,t.envName,t.caller)}let{babelrc:p,babelrcRoots:f}=e;let c=t.cwd;const d=emptyChain();const y=new i.ConfigPrinter;if(u){const e=m(u);const n=yield*loadFileChain(e,t,undefined,y);if(!n)return null;r=yield*y.output();if(p===undefined){p=e.options.babelrc}if(f===undefined){c=e.dirname;f=e.options.babelrcRoots}mergeChain(d,n)}let h,b;let E=false;const g=emptyChain();if((p===true||p===undefined)&&typeof t.filename==="string"){const e=yield*(0,a.findPackageData)(t.filename);if(e&&babelrcLoadEnabled(t,e,f,c)){({ignore:h,config:b}=yield*(0,a.findRelativeConfig)(e,t.envName,t.caller));if(h){g.files.add(h.filepath)}if(h&&shouldIgnore(t,h.ignore,null,h.dirname)){E=true}if(b&&!E){const e=T(b);const r=new i.ConfigPrinter;const s=yield*loadFileChain(e,t,undefined,r);if(!s){E=true}else{n=yield*r.output();mergeChain(g,s)}}if(b&&E){g.files.add(b.filepath)}}}if(t.showConfig){console.log(`Babel configs on "${t.filename}" (ascending priority):\n`+[r,n,l].filter(e=>!!e).join("\n\n")+"\n-----End Babel configs-----")}const P=mergeChain(mergeChain(mergeChain(emptyChain(),d),g),o);return{plugins:E?[]:dedupDescriptors(P.plugins),presets:E?[]:dedupDescriptors(P.presets),options:E?[]:P.options.map(e=>normalizeOptions(e)),fileHandling:E?"ignored":"transpile",ignore:h||undefined,babelrc:b||undefined,config:u||undefined,files:P.files}}function babelrcLoadEnabled(e,t,r,n){if(typeof r==="boolean")return r;const i=e.root;if(r===undefined){return t.directories.indexOf(i)!==-1}let a=r;if(!Array.isArray(a)){a=[a]}a=a.map(e=>{return typeof e==="string"?_path().resolve(n,e):e});if(a.length===1&&a[0]===i){return t.directories.indexOf(i)!==-1}return a.some(r=>{if(typeof r==="string"){r=(0,s.default)(r,n)}return t.directories.some(t=>{return matchPattern(r,n,t,e)})})}const m=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("configfile",e.options)}));const T=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("babelrcfile",e.options)}));const h=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("extendsfile",e.options)}));const S=makeChainWalker({root:e=>buildRootDescriptors(e,"base",l.createCachedDescriptors),env:(e,t)=>buildEnvDescriptors(e,"base",l.createCachedDescriptors,t),overrides:(e,t)=>buildOverrideDescriptors(e,"base",l.createCachedDescriptors,t),overridesEnv:(e,t,r)=>buildOverrideEnvDescriptors(e,"base",l.createCachedDescriptors,t,r),createLogger:(e,t,r)=>buildProgrammaticLogger(e,t,r)});const b=makeChainWalker({root:e=>E(e),env:(e,t)=>g(e)(t),overrides:(e,t)=>P(e)(t),overridesEnv:(e,t,r)=>x(e)(t)(r),createLogger:(e,t,r)=>buildFileLogger(e.filepath,t,r)});function*loadFileChain(e,t,r,n){const s=yield*b(e,t,r,n);if(s){s.files.add(e.filepath)}return s}const E=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.filepath,l.createUncachedDescriptors));const g=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const P=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const x=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(r=>buildOverrideEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t,r))));function buildFileLogger(e,t,r){if(!r){return()=>{}}return r.configure(t.showConfig,i.ChainFormatter.Config,{filepath:e})}function buildRootDescriptors({dirname:e,options:t},r,n){return n(e,t,r)}function buildProgrammaticLogger(e,t,r){var n;if(!r){return()=>{}}return r.configure(t.showConfig,i.ChainFormatter.Programmatic,{callerName:(n=t.caller)==null?void 0:n.name})}function buildEnvDescriptors({dirname:e,options:t},r,n,s){const i=t.env&&t.env[s];return i?n(e,i,`${r}.env["${s}"]`):null}function buildOverrideDescriptors({dirname:e,options:t},r,n,s){const i=t.overrides&&t.overrides[s];if(!i)throw new Error("Assertion failure - missing override");return n(e,i,`${r}.overrides[${s}]`)}function buildOverrideEnvDescriptors({dirname:e,options:t},r,n,s,i){const a=t.overrides&&t.overrides[s];if(!a)throw new Error("Assertion failure - missing override");const o=a.env&&a.env[i];return o?n(e,o,`${r}.overrides[${s}].env["${i}"]`):null}function makeChainWalker({root:e,env:t,overrides:r,overridesEnv:n,createLogger:s}){return function*(i,a,o=new Set,l){const{dirname:u}=i;const p=[];const f=e(i);if(configIsApplicable(f,u,a)){p.push({config:f,envName:undefined,index:undefined});const e=t(i,a.envName);if(e&&configIsApplicable(e,u,a)){p.push({config:e,envName:a.envName,index:undefined})}(f.options.overrides||[]).forEach((e,t)=>{const s=r(i,t);if(configIsApplicable(s,u,a)){p.push({config:s,index:t,envName:undefined});const e=n(i,t,a.envName);if(e&&configIsApplicable(e,u,a)){p.push({config:e,index:t,envName:a.envName})}}})}if(p.some(({config:{options:{ignore:e,only:t}}})=>shouldIgnore(a,e,t,u))){return null}const c=emptyChain();const d=s(i,a,l);for(const{config:e,index:t,envName:r}of p){if(!(yield*mergeExtendsChain(c,e.options,u,a,o,l))){return null}d(e,t,r);yield*mergeChainOpts(c,e)}return c}}function*mergeExtendsChain(e,t,r,n,s,i){if(t.extends===undefined)return true;const o=yield*(0,a.loadConfig)(t.extends,r,n.envName,n.caller);if(s.has(o)){throw new Error(`Configuration cycle detected loading ${o.filepath}.\n`+`File already loaded following the config chain:\n`+Array.from(s,e=>` - ${e.filepath}`).join("\n"))}s.add(o);const l=yield*loadFileChain(h(o),n,s,i);s.delete(o);if(!l)return false;mergeChain(e,l);return true}function mergeChain(e,t){e.options.push(...t.options);e.plugins.push(...t.plugins);e.presets.push(...t.presets);for(const r of t.files){e.files.add(r)}return e}function*mergeChainOpts(e,{options:t,plugins:r,presets:n}){e.options.push(t);e.plugins.push(...yield*r());e.presets.push(...yield*n());return e}function emptyChain(){return{options:[],presets:[],plugins:[],files:new Set}}function normalizeOptions(e){const t=Object.assign({},e);delete t.extends;delete t.env;delete t.overrides;delete t.plugins;delete t.presets;delete t.passPerPreset;delete t.ignore;delete t.only;delete t.test;delete t.include;delete t.exclude;if(Object.prototype.hasOwnProperty.call(t,"sourceMap")){t.sourceMaps=t.sourceMap;delete t.sourceMap}return t}function dedupDescriptors(e){const t=new Map;const r=[];for(const n of e){if(typeof n.value==="function"){const e=n.value;let s=t.get(e);if(!s){s=new Map;t.set(e,s)}let i=s.get(n.name);if(!i){i={value:n};r.push(i);if(!n.ownPass)s.set(n.name,i)}else{i.value=n}}else{r.push({value:n})}}return r.reduce((e,t)=>{e.push(t.value);return e},[])}function configIsApplicable({options:e},t,r){return(e.test===undefined||configFieldIsApplicable(r,e.test,t))&&(e.include===undefined||configFieldIsApplicable(r,e.include,t))&&(e.exclude===undefined||!configFieldIsApplicable(r,e.exclude,t))}function configFieldIsApplicable(e,t,r){const n=Array.isArray(t)?t:[t];return matchesPatterns(e,n,r)}function shouldIgnore(e,t,r,n){if(t&&matchesPatterns(e,t,n)){var s;const r=`No config is applied to "${(s=e.filename)!=null?s:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(t)}\` from "${n}"`;u(r);if(e.showConfig){console.log(r)}return true}if(r&&!matchesPatterns(e,r,n)){var i;const t=`No config is applied to "${(i=e.filename)!=null?i:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(r)}\` from "${n}"`;u(t);if(e.showConfig){console.log(t)}return true}return false}function matchesPatterns(e,t,r){return t.some(t=>matchPattern(t,r,e.filename,e))}function matchPattern(e,t,r,n){if(typeof e==="function"){return!!e(r,{dirname:t,envName:n.envName,caller:n.caller})}if(typeof r!=="string"){throw new Error(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`)}if(typeof e==="string"){e=(0,s.default)(e,t)}return e.test(r)}},12942:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createCachedDescriptors=createCachedDescriptors;t.createUncachedDescriptors=createUncachedDescriptors;t.createDescriptor=createDescriptor;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(54949);var s=r(86393);var i=r(37612);var a=r(69354);function isEqualDescriptor(e,t){return e.name===t.name&&e.value===t.value&&e.options===t.options&&e.dirname===t.dirname&&e.alias===t.alias&&e.ownPass===t.ownPass&&(e.file&&e.file.request)===(t.file&&t.file.request)&&(e.file&&e.file.resolved)===(t.file&&t.file.resolved)}function*handlerOf(e){return e}function optionsWithResolvedBrowserslistConfigFile(e,t){if(typeof e.browserslistConfigFile==="string"){e.browserslistConfigFile=(0,a.resolveBrowserslistConfigFile)(e.browserslistConfigFile,t)}return e}function createCachedDescriptors(e,t,r){const{plugins:n,presets:s,passPerPreset:i}=t;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),plugins:n?()=>p(n,e)(r):()=>handlerOf([]),presets:s?()=>l(s,e)(r)(!!i):()=>handlerOf([])}}function createUncachedDescriptors(e,t,r){let n;let s;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),*plugins(){if(!n){n=yield*createPluginDescriptors(t.plugins||[],e,r)}return n},*presets(){if(!s){s=yield*createPresetDescriptors(t.presets||[],e,r,!!t.passPerPreset)}return s}}}const o=new WeakMap;const l=(0,i.makeWeakCacheSync)((e,t)=>{const r=t.using(e=>e);return(0,i.makeStrongCacheSync)(t=>(0,i.makeStrongCache)(function*(n){const s=yield*createPresetDescriptors(e,r,t,n);return s.map(e=>loadCachedDescriptor(o,e))}))});const u=new WeakMap;const p=(0,i.makeWeakCacheSync)((e,t)=>{const r=t.using(e=>e);return(0,i.makeStrongCache)(function*(t){const n=yield*createPluginDescriptors(e,r,t);return n.map(e=>loadCachedDescriptor(u,e))})});const f={};function loadCachedDescriptor(e,t){const{value:r,options:n=f}=t;if(n===false)return t;let s=e.get(r);if(!s){s=new WeakMap;e.set(r,s)}let i=s.get(n);if(!i){i=[];s.set(n,i)}if(i.indexOf(t)===-1){const e=i.filter(e=>isEqualDescriptor(e,t));if(e.length>0){return e[0]}i.push(t)}return t}function*createPresetDescriptors(e,t,r,n){return yield*createDescriptors("preset",e,t,r,n)}function*createPluginDescriptors(e,t,r){return yield*createDescriptors("plugin",e,t,r)}function*createDescriptors(e,t,r,n,s){const i=yield*_gensync().all(t.map((t,i)=>createDescriptor(t,r,{type:e,alias:`${n}$${i}`,ownPass:!!s})));assertNoDuplicates(i);return i}function*createDescriptor(e,t,{type:r,alias:i,ownPass:a}){const o=(0,s.getItemDescriptor)(e);if(o){return o}let l;let u;let p=e;if(Array.isArray(p)){if(p.length===3){[p,u,l]=p}else{[p,u]=p}}let f=undefined;let c=null;if(typeof p==="string"){if(typeof r!=="string"){throw new Error("To resolve a string-based item, the type of item must be given")}const e=r==="plugin"?n.loadPlugin:n.loadPreset;const s=p;({filepath:c,value:p}=yield*e(p,t));f={request:s,resolved:c}}if(!p){throw new Error(`Unexpected falsy value: ${String(p)}`)}if(typeof p==="object"&&p.__esModule){if(p.default){p=p.default}else{throw new Error("Must export a default export when using ES6 modules.")}}if(typeof p!=="object"&&typeof p!=="function"){throw new Error(`Unsupported format: ${typeof p}. Expected an object or a function.`)}if(c!==null&&typeof p==="object"&&p){throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${c}`)}return{name:l,alias:c||i,value:p,options:u,dirname:t,ownPass:a,file:f}}function assertNoDuplicates(e){const t=new Map;for(const r of e){if(typeof r.value!=="function")continue;let n=t.get(r.value);if(!n){n=new Set;t.set(r.value,n)}if(n.has(r.name)){const t=e.filter(e=>e.value===r.value);throw new Error([`Duplicate plugin/preset detected.`,`If you'd like to use two separate instances of a plugin,`,`they need separate names, e.g.`,``,` plugins: [`,` ['some-plugin', {}],`,` ['some-plugin', {}, 'some unique name'],`,` ]`,``,`Duplicates detected are:`,`${JSON.stringify(t,null,2)}`].join("\n"))}n.add(r.name)}}},32893:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findConfigUpwards=findConfigUpwards;t.findRelativeConfig=findRelativeConfig;t.findRootConfig=findRootConfig;t.loadConfig=loadConfig;t.resolveShowConfigPath=resolveShowConfigPath;t.ROOT_CONFIG_FILENAMES=void 0;function _debug(){const e=r(31185);_debug=function(){return e};return e}function _fs(){const e=r(35747);_fs=function(){return e};return e}function _path(){const e=r(85622);_path=function(){return e};return e}function _json(){const e=r(33170);_json=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(37612);var s=r(83269);var i=r(1209);var a=r(98456);var o=r(296);var l=r(66833);function _module(){const e=r(32282);_module=function(){return e};return e}const u=_debug()("babel:config:loading:files:configuration");const p=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json"];t.ROOT_CONFIG_FILENAMES=p;const f=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json"];const c=".babelignore";function findConfigUpwards(e){let t=e;for(;;){for(const e of p){if(_fs().existsSync(_path().join(t,e))){return t}}const e=_path().dirname(t);if(t===e)break;t=e}return null}function*findRelativeConfig(e,t,r){let n=null;let s=null;const i=_path().dirname(e.filepath);for(const o of e.directories){if(!n){var a;n=yield*loadOneConfig(f,o,t,r,((a=e.pkg)==null?void 0:a.dirname)===o?m(e.pkg):null)}if(!s){const e=_path().join(o,c);s=yield*h(e);if(s){u("Found ignore %o from %o.",s.filepath,i)}}}return{config:n,ignore:s}}function findRootConfig(e,t,r){return loadOneConfig(p,e,t,r)}function*loadOneConfig(e,t,r,n,s=null){const i=yield*_gensync().all(e.map(e=>readConfig(_path().join(t,e),r,n)));const a=i.reduce((e,r)=>{if(r&&e){throw new Error(`Multiple configuration files found. Please remove one:\n`+` - ${_path().basename(e.filepath)}\n`+` - ${r.filepath}\n`+`from ${t}`)}return r||e},s);if(a){u("Found configuration %o from %o.",a.filepath,t)}return a}function*loadConfig(e,t,n,s){const i=(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(e,{paths:[t]});const a=yield*readConfig(i,n,s);if(!a){throw new Error(`Config file ${i} contains no configuration data`)}u("Loaded config %o from %o.",e,t);return a}function readConfig(e,t,r){const n=_path().extname(e);return n===".js"||n===".cjs"||n===".mjs"?y(e,{envName:t,caller:r}):T(e)}const d=new Set;const y=(0,n.makeStrongCache)(function*readConfigJS(e,t){if(!_fs().existsSync(e)){t.never();return null}if(d.has(e)){t.never();u("Auto-ignoring usage of config %o.",e);return{filepath:e,dirname:_path().dirname(e),options:{}}}let r;try{d.add(e);r=yield*(0,a.default)(e,"You appear to be using a native ECMAScript module configuration "+"file, which is only supported when running Babel asynchronously.")}catch(t){t.message=`${e}: Error while loading config - ${t.message}`;throw t}finally{d.delete(e)}let n=false;if(typeof r==="function"){yield*[];r=r((0,s.makeConfigAPI)(t));n=true}if(!r||typeof r!=="object"||Array.isArray(r)){throw new Error(`${e}: Configuration should be an exported JavaScript object.`)}if(typeof r.then==="function"){throw new Error(`You appear to be using an async configuration, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously return your config.`)}if(n&&!t.configured())throwConfigError();return{filepath:e,dirname:_path().dirname(e),options:r}});const m=(0,n.makeWeakCacheSync)(e=>{const t=e.options["babel"];if(typeof t==="undefined")return null;if(typeof t!=="object"||Array.isArray(t)||t===null){throw new Error(`${e.filepath}: .babel property must be an object`)}return{filepath:e.filepath,dirname:e.dirname,options:t}});const T=(0,i.makeStaticFileCache)((e,t)=>{let r;try{r=_json().parse(t)}catch(t){t.message=`${e}: Error while parsing config - ${t.message}`;throw t}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new Error(`${e}: Config returned typeof ${typeof r}`)}if(Array.isArray(r)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:r}});const h=(0,i.makeStaticFileCache)((e,t)=>{const r=_path().dirname(e);const n=t.split("\n").map(e=>e.replace(/#(.*?)$/,"").trim()).filter(e=>!!e);for(const e of n){if(e[0]==="!"){throw new Error(`Negation of file paths is not supported.`)}}return{filepath:e,dirname:_path().dirname(e),ignore:n.map(e=>(0,o.default)(e,r))}});function*resolveShowConfigPath(e){const t=process.env.BABEL_SHOW_CONFIG_FOR;if(t!=null){const r=_path().resolve(e,t);const n=yield*l.stat(r);if(!n.isFile()){throw new Error(`${r}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`)}return r}return null}function throwConfigError(){throw new Error(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don't call this function again.\n api.cache(true);\n\n // Don't cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === "production");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};`)}},20134:(e,t,r)=>{"use strict";var n;n={value:true};t.Z=import_;function import_(e){return r(29513)(e)}},54949:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"findPackageData",{enumerable:true,get:function(){return n.findPackageData}});Object.defineProperty(t,"findConfigUpwards",{enumerable:true,get:function(){return s.findConfigUpwards}});Object.defineProperty(t,"findRelativeConfig",{enumerable:true,get:function(){return s.findRelativeConfig}});Object.defineProperty(t,"findRootConfig",{enumerable:true,get:function(){return s.findRootConfig}});Object.defineProperty(t,"loadConfig",{enumerable:true,get:function(){return s.loadConfig}});Object.defineProperty(t,"resolveShowConfigPath",{enumerable:true,get:function(){return s.resolveShowConfigPath}});Object.defineProperty(t,"ROOT_CONFIG_FILENAMES",{enumerable:true,get:function(){return s.ROOT_CONFIG_FILENAMES}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return i.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return i.resolvePreset}});Object.defineProperty(t,"loadPlugin",{enumerable:true,get:function(){return i.loadPlugin}});Object.defineProperty(t,"loadPreset",{enumerable:true,get:function(){return i.loadPreset}});var n=r(97511);var s=r(32893);var i=r(37541);({})},98456:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadCjsOrMjsDefault;var n=r(35090);function _path(){const e=r(85622);_path=function(){return e};return e}function _url(){const e=r(78835);_url=function(){return e};return e}function _module(){const e=r(32282);_module=function(){return e};return e}function asyncGeneratorStep(e,t,r,n,s,i,a){try{var o=e[i](a);var l=o.value}catch(e){r(e);return}if(o.done){t(l)}else{Promise.resolve(l).then(n,s)}}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise(function(n,s){var i=e.apply(t,r);function _next(e){asyncGeneratorStep(i,n,s,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(i,n,s,_next,_throw,"throw",e)}_next(undefined)})}}let s;try{s=r(20134).Z}catch(e){}function*loadCjsOrMjsDefault(e,t,r=false){switch(guessJSModuleType(e)){case"cjs":return loadCjsDefault(e,r);case"unknown":try{return loadCjsDefault(e,r)}catch(e){if(e.code!=="ERR_REQUIRE_ESM")throw e}case"mjs":if(yield*(0,n.isAsync)()){return yield*(0,n.waitFor)(loadMjsDefault(e))}throw new Error(t)}}function guessJSModuleType(e){switch(_path().extname(e)){case".cjs":return"cjs";case".mjs":return"mjs";default:return"unknown"}}function loadCjsDefault(e,t){const r=require(e);return r!=null&&r.__esModule?r.default||(t?r:undefined):r}function loadMjsDefault(e){return _loadMjsDefault.apply(this,arguments)}function _loadMjsDefault(){_loadMjsDefault=_asyncToGenerator(function*(e){if(!s){throw new Error("Internal error: Native ECMAScript modules aren't supported"+" by this platform.\n")}const t=yield s((0,_url().pathToFileURL)(e));return t.default});return _loadMjsDefault.apply(this,arguments)}},97511:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findPackageData=findPackageData;function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(1209);const s="package.json";function*findPackageData(e){let t=null;const r=[];let n=true;let a=_path().dirname(e);while(!t&&_path().basename(a)!=="node_modules"){r.push(a);t=yield*i(_path().join(a,s));const e=_path().dirname(a);if(a===e){n=false;break}a=e}return{filepath:e,directories:r,pkg:t,isPackage:n}}const i=(0,n.makeStaticFileCache)((e,t)=>{let r;try{r=JSON.parse(t)}catch(t){t.message=`${e}: Error while parsing JSON - ${t.message}`;throw t}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new Error(`${e}: Config returned typeof ${typeof r}`)}if(Array.isArray(r)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:r}})},37541:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolvePlugin=resolvePlugin;t.resolvePreset=resolvePreset;t.loadPlugin=loadPlugin;t.loadPreset=loadPreset;function _debug(){const e=r(31185);_debug=function(){return e};return e}function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(98456);function _module(){const e=r(32282);_module=function(){return e};return e}const s=_debug()("babel:config:loading:files:plugins");const i=/^module:/;const a=/^(?!@|module:|[^/]+\/|babel-plugin-)/;const o=/^(?!@|module:|[^/]+\/|babel-preset-)/;const l=/^(@babel\/)(?!plugin-|[^/]+\/)/;const u=/^(@babel\/)(?!preset-|[^/]+\/)/;const p=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/;const f=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/;const c=/^(@(?!babel$)[^/]+)$/;function resolvePlugin(e,t){return resolveStandardizedName("plugin",e,t)}function resolvePreset(e,t){return resolveStandardizedName("preset",e,t)}function*loadPlugin(e,t){const r=resolvePlugin(e,t);if(!r){throw new Error(`Plugin ${e} not found relative to ${t}`)}const n=yield*requireModule("plugin",r);s("Loaded plugin %o from %o.",e,t);return{filepath:r,value:n}}function*loadPreset(e,t){const r=resolvePreset(e,t);if(!r){throw new Error(`Preset ${e} not found relative to ${t}`)}const n=yield*requireModule("preset",r);s("Loaded preset %o from %o.",e,t);return{filepath:r,value:n}}function standardizeName(e,t){if(_path().isAbsolute(t))return t;const r=e==="preset";return t.replace(r?o:a,`babel-${e}-`).replace(r?u:l,`$1${e}-`).replace(r?f:p,`$1babel-${e}-`).replace(c,`$1/babel-${e}`).replace(i,"")}function resolveStandardizedName(e,t,n=process.cwd()){const s=standardizeName(e,t);try{return(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(s,{paths:[n]})}catch(i){if(i.code!=="MODULE_NOT_FOUND")throw i;if(s!==t){let e=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(t,{paths:[n]});e=true}catch(e){}if(e){i.message+=`\n- If you want to resolve "${t}", use "module:${t}"`}}let a=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(standardizeName(e,"@babel/"+t),{paths:[n]});a=true}catch(e){}if(a){i.message+=`\n- Did you mean "@babel/${t}"?`}let o=false;const l=e==="preset"?"plugin":"preset";try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(standardizeName(l,t),{paths:[n]});o=true}catch(e){}if(o){i.message+=`\n- Did you accidentally pass a ${l} as a ${e}?`}throw i}}const d=new Set;function*requireModule(e,t){if(d.has(t)){throw new Error(`Reentrant ${e} detected trying to load "${t}". This module is not ignored `+"and is trying to load itself while compiling itself, leading to a dependency cycle. "+'We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.')}try{d.add(t);return yield*(0,n.default)(t,`You appear to be using a native ECMAScript module ${e}, `+"which is only supported when running Babel asynchronously.",true)}catch(e){e.message=`[BABEL]: ${e.message} (While processing: ${t})`;throw e}finally{d.delete(t)}}},1209:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeStaticFileCache=makeStaticFileCache;var n=r(37612);var s=r(66833);function _fs2(){const e=r(35747);_fs2=function(){return e};return e}function makeStaticFileCache(e){return(0,n.makeStrongCache)(function*(t,r){const n=r.invalidate(()=>fileMtime(t));if(n===null){return null}return e(t,yield*s.readFile(t,"utf8"))})}function fileMtime(e){if(!_fs2().existsSync(e))return null;try{return+_fs2().statSync(e).mtime}catch(e){if(e.code!=="ENOENT"&&e.code!=="ENOTDIR")throw e}return null}},40192:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(35090);var s=r(69693);var i=r(64696);var a=r(85532);var o=r(86393);var l=r(59411);function _traverse(){const e=r(4267);_traverse=function(){return e};return e}var u=r(37612);var p=r(1351);var f=r(95077);var c=r(83269);var d=r(14651);var y=r(62309);var m=_gensync()(function*loadFullConfig(e){var t;const r=yield*(0,d.default)(e);if(!r){return null}const{options:n,context:i,fileHandling:a}=r;if(a==="ignored"){return null}const l={};const{plugins:u,presets:f}=n;if(!u||!f){throw new Error("Assertion failure - plugins and presets exist")}const c=Object.assign({},i,{targets:n.targets});const y=e=>{const t=(0,o.getItemDescriptor)(e);if(!t){throw new Error("Assertion failure - must be config item")}return t};const m=f.map(y);const T=u.map(y);const h=[[]];const S=[];const b=yield*enhanceError(i,function*recursePresetDescriptors(e,t){const r=[];for(let n=0;n0){h.splice(1,0,...r.map(e=>e.pass).filter(e=>e!==t));for(const{preset:e,pass:t}of r){if(!e)return true;t.push(...e.plugins);const r=yield*recursePresetDescriptors(e.presets,t);if(r)return true;e.options.forEach(e=>{(0,s.mergeOptions)(l,e)})}}})(m,h[0]);if(b)return null;const E=l;(0,s.mergeOptions)(E,n);const g=Object.assign({},c,{assumptions:(t=E.assumptions)!=null?t:{}});yield*enhanceError(i,function*loadPluginDescriptors(){h[0].unshift(...T);for(const e of h){const t=[];S.push(t);for(let r=0;re.length>0).map(e=>({plugins:e}));E.passPerPreset=E.presets.length>0;return{options:E,passes:S}});t.default=m;function enhanceError(e,t){return function*(r,n){try{return yield*t(r,n)}catch(t){if(!/^\[BABEL\]/.test(t.message)){t.message=`[BABEL] ${e.filename||"unknown"}: ${t.message}`}throw t}}}const T=e=>(0,u.makeWeakCache)(function*({value:t,options:r,dirname:s,alias:a},o){if(r===false)throw new Error("Assertion failure");r=r||{};let l=t;if(typeof t==="function"){const u=(0,n.maybeAsync)(t,`You appear to be using an async plugin/preset, but Babel has been called synchronously`);const p=Object.assign({},i,e(o));try{l=yield*u(p,r,s)}catch(e){if(a){e.message+=` (While processing: ${JSON.stringify(a)})`}throw e}}if(!l||typeof l!=="object"){throw new Error("Plugin/Preset did not return an object.")}if((0,n.isThenable)(l)){yield*[];throw new Error(`You appear to be using a promise as a plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version. `+`As an alternative, you can prefix the promise with "await". `+`(While processing: ${JSON.stringify(a)})`)}return{value:l,options:r,dirname:s,alias:a}});const h=T(c.makePluginAPI);const S=T(c.makePresetAPI);function*loadPluginDescriptor(e,t){if(e.value instanceof a.default){if(e.options){throw new Error("Passed options to an existing Plugin instance will not work.")}return e.value}return yield*b(yield*h(e,t),t)}const b=(0,u.makeWeakCache)(function*({value:e,options:t,dirname:r,alias:s},i){const o=(0,f.validatePluginObject)(e);const l=Object.assign({},o);if(l.visitor){l.visitor=_traverse().default.explode(Object.assign({},l.visitor))}if(l.inherits){const e={name:undefined,alias:`${s}$inherits`,value:l.inherits,options:t,dirname:r};const a=yield*(0,n.forwardAsync)(loadPluginDescriptor,t=>{return i.invalidate(r=>t(e,r))});l.pre=chain(a.pre,l.pre);l.post=chain(a.post,l.post);l.manipulateOptions=chain(a.manipulateOptions,l.manipulateOptions);l.visitor=_traverse().default.visitors.merge([a.visitor||{},l.visitor||{}])}return new a.default(l,t,s)});const E=(e,t)=>{if(e.test||e.include||e.exclude){const e=t.name?`"${t.name}"`:"/* your preset */";throw new Error([`Preset ${e} requires a filename to be set when babel is called directly,`,`\`\`\``,`babel.transform(code, { filename: 'file.ts', presets: [${e}] });`,`\`\`\``,`See https://babeljs.io/docs/en/options#filename for more information.`].join("\n"))}};const g=(e,t,r)=>{if(!t.filename){const{options:t}=e;E(t,r);if(t.overrides){t.overrides.forEach(e=>E(e,r))}}};function*loadPresetDescriptor(e,t){const r=P(yield*S(e,t));g(r,t,e);return yield*(0,l.buildPresetChain)(r,t)}const P=(0,u.makeWeakCacheSync)(({value:e,dirname:t,alias:r})=>{return{options:(0,p.validate)("preset",e),alias:r,dirname:t}});function chain(e,t){const r=[e,t].filter(Boolean);if(r.length<=1)return r[0];return function(...e){for(const t of r){t.apply(this,e)}}}},83269:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeConfigAPI=makeConfigAPI;t.makePresetAPI=makePresetAPI;t.makePluginAPI=makePluginAPI;function _semver(){const e=r(62519);_semver=function(){return e};return e}var n=r(64696);var s=r(37612);var i=r(62309);function makeConfigAPI(e){const t=t=>e.using(e=>{if(typeof t==="undefined")return e.envName;if(typeof t==="function"){return(0,s.assertSimpleType)(t(e.envName))}if(!Array.isArray(t))t=[t];return t.some(t=>{if(typeof t!=="string"){throw new Error("Unexpected non-string value")}return t===e.envName})});const r=t=>e.using(e=>(0,s.assertSimpleType)(t(e.caller)));return{version:n.version,cache:e.simple(),env:t,async:()=>false,caller:r,assertVersion:assertVersion}}function makePresetAPI(e){const t=()=>JSON.parse(e.using(e=>JSON.stringify(e.targets)));return Object.assign({},makeConfigAPI(e),{targets:t})}function makePluginAPI(e){const t=t=>e.using(e=>e.assumptions[t]);return Object.assign({},makePresetAPI(e),{assumption:t})}function assertVersion(e){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}if(_semver().satisfies(n.version,e))return;const t=Error.stackTraceLimit;if(typeof t==="number"&&t<25){Error.stackTraceLimit=25}const r=new Error(`Requires Babel "${e}", but was loaded with "${n.version}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`);if(typeof t==="number"){Error.stackTraceLimit=t}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:n.version,range:e})}},23890:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getEnv=getEnv;function getEnv(e="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||e}},12152:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createConfigItem=createConfigItem;Object.defineProperty(t,"default",{enumerable:true,get:function(){return n.default}});t.createConfigItemAsync=t.createConfigItemSync=t.loadOptionsAsync=t.loadOptionsSync=t.loadOptions=t.loadPartialConfigAsync=t.loadPartialConfigSync=t.loadPartialConfig=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(40192);var s=r(14651);var i=r(86393);const a=_gensync()(function*(e){var t;const r=yield*(0,n.default)(e);return(t=r==null?void 0:r.options)!=null?t:null});const o=_gensync()(i.createConfigItem);const l=e=>(t,r)=>{if(r===undefined&&typeof t==="function"){r=t;t=undefined}return r?e.errback(t,r):e.sync(t)};const u=l(s.loadPartialConfig);t.loadPartialConfig=u;const p=s.loadPartialConfig.sync;t.loadPartialConfigSync=p;const f=s.loadPartialConfig.async;t.loadPartialConfigAsync=f;const c=l(a);t.loadOptions=c;const d=a.sync;t.loadOptionsSync=d;const y=a.async;t.loadOptionsAsync=y;const m=o.sync;t.createConfigItemSync=m;const T=o.async;t.createConfigItemAsync=T;function createConfigItem(e,t,r){if(r!==undefined){return o.errback(e,t,r)}else if(typeof t==="function"){return o.errback(e,undefined,r)}else{return o.sync(e,t)}}},86393:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createItemFromDescriptor=createItemFromDescriptor;t.createConfigItem=createConfigItem;t.getItemDescriptor=getItemDescriptor;function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(12942);function createItemFromDescriptor(e){return new ConfigItem(e)}function*createConfigItem(e,{dirname:t=".",type:r}={}){const s=yield*(0,n.createDescriptor)(e,_path().resolve(t),{type:r,alias:"programmatic item"});return createItemFromDescriptor(s)}function getItemDescriptor(e){if(e!=null&&e[s]){return e._descriptor}return undefined}const s=Symbol.for("@babel/core@7 - ConfigItem");class ConfigItem{constructor(e){this._descriptor=void 0;this[s]=true;this.value=void 0;this.options=void 0;this.dirname=void 0;this.name=void 0;this.file=void 0;this._descriptor=e;Object.defineProperty(this,"_descriptor",{enumerable:false});Object.defineProperty(this,s,{enumerable:false});this.value=this._descriptor.value;this.options=this._descriptor.options;this.dirname=this._descriptor.dirname;this.name=this._descriptor.name;this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:undefined;Object.freeze(this)}}Object.freeze(ConfigItem.prototype)},14651:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadPrivatePartialConfig;t.loadPartialConfig=void 0;function _path(){const e=r(85622);_path=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(85532);var s=r(69693);var i=r(86393);var a=r(59411);var o=r(23890);var l=r(1351);var u=r(54949);var p=r(69354);function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var s,i;for(i=0;i=0)continue;r[s]=e[s]}return r}function resolveRootMode(e,t){switch(t){case"root":return e;case"upward-optional":{const t=(0,u.findConfigUpwards)(e);return t===null?e:t}case"upward":{const t=(0,u.findConfigUpwards)(e);if(t!==null)return t;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not `+`be found when searching upward from "${e}".\n`+`One of the following config files must be in the directory tree: `+`"${u.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error(`Assertion failure - unknown rootMode value.`)}}function*loadPrivatePartialConfig(e){if(e!=null&&(typeof e!=="object"||Array.isArray(e))){throw new Error("Babel options must be an object, null, or undefined")}const t=e?(0,l.validate)("arguments",e):{};const{envName:r=(0,o.getEnv)(),cwd:n=".",root:f=".",rootMode:c="root",caller:d,cloneInputAst:y=true}=t;const m=_path().resolve(n);const T=resolveRootMode(_path().resolve(m,f),c);const h=typeof t.filename==="string"?_path().resolve(n,t.filename):undefined;const S=yield*(0,u.resolveShowConfigPath)(m);const b={filename:h,cwd:m,root:T,envName:r,caller:d,showConfig:S===h};const E=yield*(0,a.buildRootChain)(t,b);if(!E)return null;const g={assumptions:{}};E.options.forEach(e=>{(0,s.mergeOptions)(g,e)});const P=Object.assign({},g,{targets:(0,p.resolveTargets)(g,T),cloneInputAst:y,babelrc:false,configFile:false,browserslistConfigFile:false,passPerPreset:false,envName:b.envName,cwd:b.cwd,root:b.root,rootMode:"root",filename:typeof b.filename==="string"?b.filename:undefined,plugins:E.plugins.map(e=>(0,i.createItemFromDescriptor)(e)),presets:E.presets.map(e=>(0,i.createItemFromDescriptor)(e))});return{options:P,context:b,fileHandling:E.fileHandling,ignore:E.ignore,babelrc:E.babelrc,config:E.config,files:E.files}}const f=_gensync()(function*(e){let t=false;if(typeof e==="object"&&e!==null&&!Array.isArray(e)){var r=e;({showIgnoredFiles:t}=r);e=_objectWithoutPropertiesLoose(r,["showIgnoredFiles"]);r}const s=yield*loadPrivatePartialConfig(e);if(!s)return null;const{options:i,babelrc:a,ignore:o,config:l,fileHandling:u,files:p}=s;if(u==="ignored"&&!t){return null}(i.plugins||[]).forEach(e=>{if(e.value instanceof n.default){throw new Error("Passing cached plugin instances is not supported in "+"babel.loadPartialConfig()")}});return new PartialConfig(i,a?a.filepath:undefined,o?o.filepath:undefined,l?l.filepath:undefined,u,p)});t.loadPartialConfig=f;class PartialConfig{constructor(e,t,r,n,s,i){this.options=void 0;this.babelrc=void 0;this.babelignore=void 0;this.config=void 0;this.fileHandling=void 0;this.files=void 0;this.options=e;this.babelignore=r;this.babelrc=t;this.config=n;this.fileHandling=s;this.files=i;Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==undefined||this.config!==undefined}}Object.freeze(PartialConfig.prototype)},296:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=pathToPattern;function _path(){const e=r(85622);_path=function(){return e};return e}const n=`\\${_path().sep}`;const s=`(?:${n}|$)`;const i=`[^${n}]+`;const a=`(?:${i}${n})`;const o=`(?:${i}${s})`;const l=`${a}*?`;const u=`${a}*?${o}?`;function escapeRegExp(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}function pathToPattern(e,t){const r=_path().resolve(t,e).split(_path().sep);return new RegExp(["^",...r.map((e,t)=>{const p=t===r.length-1;if(e==="**")return p?u:l;if(e==="*")return p?o:a;if(e.indexOf("*.")===0){return i+escapeRegExp(e.slice(1))+(p?s:n)}return escapeRegExp(e)+(p?s:n)})].join(""))}},85532:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Plugin{constructor(e,t,r){this.key=void 0;this.manipulateOptions=void 0;this.post=void 0;this.pre=void 0;this.visitor=void 0;this.parserOverride=void 0;this.generatorOverride=void 0;this.options=void 0;this.key=e.name||r;this.manipulateOptions=e.manipulateOptions;this.post=e.post;this.pre=e.pre;this.visitor=e.visitor||{};this.parserOverride=e.parserOverride;this.generatorOverride=e.generatorOverride;this.options=t}}t.default=Plugin},39342:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConfigPrinter=t.ChainFormatter=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n={Programmatic:0,Config:1};t.ChainFormatter=n;const s={title(e,t,r){let s="";if(e===n.Programmatic){s="programmatic options";if(t){s+=" from "+t}}else{s="config "+r}return s},loc(e,t){let r="";if(e!=null){r+=`.overrides[${e}]`}if(t!=null){r+=`.env["${t}"]`}return r},*optionsAndDescriptors(e){const t=Object.assign({},e.options);delete t.overrides;delete t.env;const r=[...yield*e.plugins()];if(r.length){t.plugins=r.map(e=>descriptorToConfig(e))}const n=[...yield*e.presets()];if(n.length){t.presets=[...n].map(e=>descriptorToConfig(e))}return JSON.stringify(t,undefined,2)}};function descriptorToConfig(e){var t;let r=(t=e.file)==null?void 0:t.request;if(r==null){if(typeof e.value==="object"){r=e.value}else if(typeof e.value==="function"){r=`[Function: ${e.value.toString().substr(0,50)} ... ]`}}if(r==null){r="[Unknown]"}if(e.options===undefined){return r}else if(e.name==null){return[r,e.options]}else{return[r,e.options,e.name]}}class ConfigPrinter{constructor(){this._stack=[]}configure(e,t,{callerName:r,filepath:n}){if(!e)return()=>{};return(e,s,i)=>{this._stack.push({type:t,callerName:r,filepath:n,content:e,index:s,envName:i})}}static*format(e){let t=s.title(e.type,e.callerName,e.filepath);const r=s.loc(e.index,e.envName);if(r)t+=` ${r}`;const n=yield*s.optionsAndDescriptors(e.content);return`${t}\n${n}`}*output(){if(this._stack.length===0)return"";const e=yield*_gensync().all(this._stack.map(e=>ConfigPrinter.format(e)));return e.join("\n\n")}}t.ConfigPrinter=ConfigPrinter},69354:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveBrowserslistConfigFile=resolveBrowserslistConfigFile;t.resolveTargets=resolveTargets;function _path(){const e=r(85622);_path=function(){return e};return e}function _helperCompilationTargets(){const e=r(97001);_helperCompilationTargets=function(){return e};return e}({});function resolveBrowserslistConfigFile(e,t){return _path().resolve(t,e)}function resolveTargets(e,t){let r=e.targets;if(typeof r==="string"||Array.isArray(r)){r={browsers:r}}if(r&&r.esmodules){r=Object.assign({},r,{esmodules:"intersect"})}const{browserslistConfigFile:n}=e;let s;let i=false;if(typeof n==="string"){s=n}else{i=n===false}return(0,_helperCompilationTargets().default)(r,{ignoreBrowserslistConfig:i,configFile:s,configPath:t,browserslistEnv:e.browserslistEnv})}},69693:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.mergeOptions=mergeOptions;t.isIterableIterator=isIterableIterator;function mergeOptions(e,t){for(const r of Object.keys(t)){if((r==="parserOpts"||r==="generatorOpts"||r==="assumptions")&&t[r]){const n=t[r];const s=e[r]||(e[r]={});mergeDefaultFields(s,n)}else{const n=t[r];if(n!==undefined)e[r]=n}}}function mergeDefaultFields(e,t){for(const r of Object.keys(t)){const n=t[r];if(n!==undefined)e[r]=n}}function isIterableIterator(e){return!!e&&typeof e.next==="function"&&typeof e[Symbol.iterator]==="function"}},15236:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.msg=msg;t.access=access;t.assertRootMode=assertRootMode;t.assertSourceMaps=assertSourceMaps;t.assertCompact=assertCompact;t.assertSourceType=assertSourceType;t.assertCallerMetadata=assertCallerMetadata;t.assertInputSourceMap=assertInputSourceMap;t.assertString=assertString;t.assertFunction=assertFunction;t.assertBoolean=assertBoolean;t.assertObject=assertObject;t.assertArray=assertArray;t.assertIgnoreList=assertIgnoreList;t.assertConfigApplicableTest=assertConfigApplicableTest;t.assertConfigFileSearch=assertConfigFileSearch;t.assertBabelrcSearch=assertBabelrcSearch;t.assertPluginList=assertPluginList;t.assertTargets=assertTargets;t.assertAssumptions=assertAssumptions;function _helperCompilationTargets(){const e=r(97001);_helperCompilationTargets=function(){return e};return e}var n=r(1351);function msg(e){switch(e.type){case"root":return``;case"env":return`${msg(e.parent)}.env["${e.name}"]`;case"overrides":return`${msg(e.parent)}.overrides[${e.index}]`;case"option":return`${msg(e.parent)}.${e.name}`;case"access":return`${msg(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${e.type}`)}}function access(e,t){return{type:"access",name:t,parent:e}}function assertRootMode(e,t){if(t!==undefined&&t!=="root"&&t!=="upward"&&t!=="upward-optional"){throw new Error(`${msg(e)} must be a "root", "upward", "upward-optional" or undefined`)}return t}function assertSourceMaps(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="inline"&&t!=="both"){throw new Error(`${msg(e)} must be a boolean, "inline", "both", or undefined`)}return t}function assertCompact(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="auto"){throw new Error(`${msg(e)} must be a boolean, "auto", or undefined`)}return t}function assertSourceType(e,t){if(t!==undefined&&t!=="module"&&t!=="script"&&t!=="unambiguous"){throw new Error(`${msg(e)} must be "module", "script", "unambiguous", or undefined`)}return t}function assertCallerMetadata(e,t){const r=assertObject(e,t);if(r){if(typeof r.name!=="string"){throw new Error(`${msg(e)} set but does not contain "name" property string`)}for(const t of Object.keys(r)){const n=access(e,t);const s=r[t];if(s!=null&&typeof s!=="boolean"&&typeof s!=="string"&&typeof s!=="number"){throw new Error(`${msg(n)} must be null, undefined, a boolean, a string, or a number.`)}}}return t}function assertInputSourceMap(e,t){if(t!==undefined&&typeof t!=="boolean"&&(typeof t!=="object"||!t)){throw new Error(`${msg(e)} must be a boolean, object, or undefined`)}return t}function assertString(e,t){if(t!==undefined&&typeof t!=="string"){throw new Error(`${msg(e)} must be a string, or undefined`)}return t}function assertFunction(e,t){if(t!==undefined&&typeof t!=="function"){throw new Error(`${msg(e)} must be a function, or undefined`)}return t}function assertBoolean(e,t){if(t!==undefined&&typeof t!=="boolean"){throw new Error(`${msg(e)} must be a boolean, or undefined`)}return t}function assertObject(e,t){if(t!==undefined&&(typeof t!=="object"||Array.isArray(t)||!t)){throw new Error(`${msg(e)} must be an object, or undefined`)}return t}function assertArray(e,t){if(t!=null&&!Array.isArray(t)){throw new Error(`${msg(e)} must be an array, or undefined`)}return t}function assertIgnoreList(e,t){const r=assertArray(e,t);if(r){r.forEach((t,r)=>assertIgnoreItem(access(e,r),t))}return r}function assertIgnoreItem(e,t){if(typeof t!=="string"&&typeof t!=="function"&&!(t instanceof RegExp)){throw new Error(`${msg(e)} must be an array of string/Function/RegExp values, or undefined`)}return t}function assertConfigApplicableTest(e,t){if(t===undefined)return t;if(Array.isArray(t)){t.forEach((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a string/Function/RegExp, or an array of those`)}return t}function checkValidTest(e){return typeof e==="string"||typeof e==="function"||e instanceof RegExp}function assertConfigFileSearch(e,t){if(t!==undefined&&typeof t!=="boolean"&&typeof t!=="string"){throw new Error(`${msg(e)} must be a undefined, a boolean, a string, `+`got ${JSON.stringify(t)}`)}return t}function assertBabelrcSearch(e,t){if(t===undefined||typeof t==="boolean")return t;if(Array.isArray(t)){t.forEach((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a undefined, a boolean, a string/Function/RegExp `+`or an array of those, got ${JSON.stringify(t)}`)}return t}function assertPluginList(e,t){const r=assertArray(e,t);if(r){r.forEach((t,r)=>assertPluginItem(access(e,r),t))}return r}function assertPluginItem(e,t){if(Array.isArray(t)){if(t.length===0){throw new Error(`${msg(e)} must include an object`)}if(t.length>3){throw new Error(`${msg(e)} may only be a two-tuple or three-tuple`)}assertPluginTarget(access(e,0),t[0]);if(t.length>1){const r=t[1];if(r!==undefined&&r!==false&&(typeof r!=="object"||Array.isArray(r)||r===null)){throw new Error(`${msg(access(e,1))} must be an object, false, or undefined`)}}if(t.length===3){const r=t[2];if(r!==undefined&&typeof r!=="string"){throw new Error(`${msg(access(e,2))} must be a string, or undefined`)}}}else{assertPluginTarget(e,t)}return t}function assertPluginTarget(e,t){if((typeof t!=="object"||!t)&&typeof t!=="string"&&typeof t!=="function"){throw new Error(`${msg(e)} must be a string, object, function`)}return t}function assertTargets(e,t){if((0,_helperCompilationTargets().isBrowsersQueryValid)(t))return t;if(typeof t!=="object"||!t||Array.isArray(t)){throw new Error(`${msg(e)} must be a string, an array of strings or an object`)}const r=access(e,"browsers");const n=access(e,"esmodules");assertBrowsersList(r,t.browsers);assertBoolean(n,t.esmodules);for(const r of Object.keys(t)){const n=t[r];const s=access(e,r);if(r==="esmodules")assertBoolean(s,n);else if(r==="browsers")assertBrowsersList(s,n);else if(!Object.hasOwnProperty.call(_helperCompilationTargets().TargetNames,r)){const e=Object.keys(_helperCompilationTargets().TargetNames).join(", ");throw new Error(`${msg(s)} is not a valid target. Supported targets are ${e}`)}else assertBrowserVersion(s,n)}return t}function assertBrowsersList(e,t){if(t!==undefined&&!(0,_helperCompilationTargets().isBrowsersQueryValid)(t)){throw new Error(`${msg(e)} must be undefined, a string or an array of strings`)}}function assertBrowserVersion(e,t){if(typeof t==="number"&&Math.round(t)===t)return;if(typeof t==="string")return;throw new Error(`${msg(e)} must be a string or an integer number`)}function assertAssumptions(e,t){if(t===undefined)return;if(typeof t!=="object"||t===null){throw new Error(`${msg(e)} must be an object or undefined.`)}let r=e;do{r=r.parent}while(r.type!=="root");const s=r.source==="preset";for(const r of Object.keys(t)){const i=access(e,r);if(!n.assumptionsNames.has(r)){throw new Error(`${msg(i)} is not a supported assumption.`)}if(typeof t[r]!=="boolean"){throw new Error(`${msg(i)} must be a boolean.`)}if(s&&t[r]===false){throw new Error(`${msg(i)} cannot be set to 'false' inside presets.`)}}return t}},1351:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.checkNoUnwrappedItemOptionPairs=checkNoUnwrappedItemOptionPairs;t.assumptionsNames=void 0;var n=r(85532);var s=r(68970);var i=r(15236);const a={cwd:i.assertString,root:i.assertString,rootMode:i.assertRootMode,configFile:i.assertConfigFileSearch,caller:i.assertCallerMetadata,filename:i.assertString,filenameRelative:i.assertString,code:i.assertBoolean,ast:i.assertBoolean,cloneInputAst:i.assertBoolean,envName:i.assertString};const o={babelrc:i.assertBoolean,babelrcRoots:i.assertBabelrcSearch};const l={extends:i.assertString,ignore:i.assertIgnoreList,only:i.assertIgnoreList,targets:i.assertTargets,browserslistConfigFile:i.assertConfigFileSearch,browserslistEnv:i.assertString};const u={inputSourceMap:i.assertInputSourceMap,presets:i.assertPluginList,plugins:i.assertPluginList,passPerPreset:i.assertBoolean,assumptions:i.assertAssumptions,env:assertEnvSet,overrides:assertOverridesList,test:i.assertConfigApplicableTest,include:i.assertConfigApplicableTest,exclude:i.assertConfigApplicableTest,retainLines:i.assertBoolean,comments:i.assertBoolean,shouldPrintComment:i.assertFunction,compact:i.assertCompact,minified:i.assertBoolean,auxiliaryCommentBefore:i.assertString,auxiliaryCommentAfter:i.assertString,sourceType:i.assertSourceType,wrapPluginVisitorMethod:i.assertFunction,highlightCode:i.assertBoolean,sourceMaps:i.assertSourceMaps,sourceMap:i.assertSourceMaps,sourceFileName:i.assertString,sourceRoot:i.assertString,parserOpts:i.assertObject,generatorOpts:i.assertObject};{Object.assign(u,{getModuleId:i.assertFunction,moduleRoot:i.assertString,moduleIds:i.assertBoolean,moduleId:i.assertString})}const p=new Set(["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noNewArrows","objectRestNoSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"]);t.assumptionsNames=p;function getSource(e){return e.type==="root"?e.source:getSource(e.parent)}function validate(e,t){return validateNested({type:"root",source:e},t)}function validateNested(e,t){const r=getSource(e);assertNoDuplicateSourcemap(t);Object.keys(t).forEach(n=>{const s={type:"option",name:n,parent:e};if(r==="preset"&&l[n]){throw new Error(`${(0,i.msg)(s)} is not allowed in preset options`)}if(r!=="arguments"&&a[n]){throw new Error(`${(0,i.msg)(s)} is only allowed in root programmatic options`)}if(r!=="arguments"&&r!=="configfile"&&o[n]){if(r==="babelrcfile"||r==="extendsfile"){throw new Error(`${(0,i.msg)(s)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, `+`or babel.config.js/config file options`)}throw new Error(`${(0,i.msg)(s)} is only allowed in root programmatic options, or babel.config.js/config file options`)}const p=u[n]||l[n]||o[n]||a[n]||throwUnknownError;p(s,t[n])});return t}function throwUnknownError(e){const t=e.name;if(s.default[t]){const{message:r,version:n=5}=s.default[t];throw new Error(`Using removed Babel ${n} option: ${(0,i.msg)(e)} - ${r}`)}else{const t=new Error(`Unknown option: ${(0,i.msg)(e)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);t.code="BABEL_UNKNOWN_OPTION";throw t}}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function assertNoDuplicateSourcemap(e){if(has(e,"sourceMap")&&has(e,"sourceMaps")){throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}}function assertEnvSet(e,t){if(e.parent.type==="env"){throw new Error(`${(0,i.msg)(e)} is not allowed inside of another .env block`)}const r=e.parent;const n=(0,i.assertObject)(e,t);if(n){for(const t of Object.keys(n)){const s=(0,i.assertObject)((0,i.access)(e,t),n[t]);if(!s)continue;const a={type:"env",name:t,parent:r};validateNested(a,s)}}return n}function assertOverridesList(e,t){if(e.parent.type==="env"){throw new Error(`${(0,i.msg)(e)} is not allowed inside an .env block`)}if(e.parent.type==="overrides"){throw new Error(`${(0,i.msg)(e)} is not allowed inside an .overrides block`)}const r=e.parent;const n=(0,i.assertArray)(e,t);if(n){for(const[t,s]of n.entries()){const n=(0,i.access)(e,t);const a=(0,i.assertObject)(n,s);if(!a)throw new Error(`${(0,i.msg)(n)} must be an object`);const o={type:"overrides",index:t,parent:r};validateNested(o,a)}}return n}function checkNoUnwrappedItemOptionPairs(e,t,r,n){if(t===0)return;const s=e[t-1];const i=e[t];if(s.file&&s.options===undefined&&typeof i.value==="object"){n.message+=`\n- Maybe you meant to use\n`+`"${r}": [\n ["${s.file.request}", ${JSON.stringify(i.value,undefined,2)}]\n]\n`+`To be a valid ${r}, its name and options should be wrapped in a pair of brackets`}}},95077:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validatePluginObject=validatePluginObject;var n=r(15236);const s={name:n.assertString,manipulateOptions:n.assertFunction,pre:n.assertFunction,post:n.assertFunction,inherits:n.assertFunction,visitor:assertVisitorMap,parserOverride:n.assertFunction,generatorOverride:n.assertFunction};function assertVisitorMap(e,t){const r=(0,n.assertObject)(e,t);if(r){Object.keys(r).forEach(e=>assertVisitorHandler(e,r[e]));if(r.enter||r.exit){throw new Error(`${(0,n.msg)(e)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`)}}return r}function assertVisitorHandler(e,t){if(t&&typeof t==="object"){Object.keys(t).forEach(t=>{if(t!=="enter"&&t!=="exit"){throw new Error(`.visitor["${e}"] may only have .enter and/or .exit handlers.`)}})}else if(typeof t!=="function"){throw new Error(`.visitor["${e}"] must be a function`)}return t}function validatePluginObject(e){const t={type:"root",source:"plugin"};Object.keys(e).forEach(r=>{const n=s[r];if(n){const s={type:"option",name:r,parent:t};n(s,e[r])}else{const e=new Error(`.${r} is not a valid Plugin property`);e.code="BABEL_UNKNOWN_PLUGIN_PROPERTY";throw e}});return e}},68970:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. "+"Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. "+"Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using "+"or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. "+"Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. "+"Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the "+"tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling "+"that calls Babel to assign `map.file` themselves."}};t.default=r},35090:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.maybeAsync=maybeAsync;t.forwardAsync=forwardAsync;t.isThenable=isThenable;t.waitFor=t.onFirstPause=t.isAsync=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n=e=>e;const s=_gensync()(function*(e){return yield*e});const i=_gensync()({sync:()=>false,errback:e=>e(null,true)});t.isAsync=i;function maybeAsync(e,t){return _gensync()({sync(...r){const n=e.apply(this,r);if(isThenable(n))throw new Error(t);return n},async(...t){return Promise.resolve(e.apply(this,t))}})}const a=_gensync()({sync:e=>e("sync"),async:e=>e("async")});function forwardAsync(e,t){const r=_gensync()(e);return a(e=>{const n=r[e];return t(n)})}const o=_gensync()({name:"onFirstPause",arity:2,sync:function(e){return s.sync(e)},errback:function(e,t,r){let n=false;s.errback(e,(e,t)=>{n=true;r(e,t)});if(!n){t()}}});t.onFirstPause=o;const l=_gensync()({sync:n,async:n});t.waitFor=l;function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},66833:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stat=t.readFile=void 0;function _fs(){const e=r(35747);_fs=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n=_gensync()({sync:_fs().readFileSync,errback:_fs().readFile});t.readFile=n;const s=_gensync()({sync:_fs().statSync,errback:_fs().stat});t.stat=s},64696:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Plugin=Plugin;Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"buildExternalHelpers",{enumerable:true,get:function(){return s.default}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return i.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return i.resolvePreset}});Object.defineProperty(t,"getEnv",{enumerable:true,get:function(){return a.getEnv}});Object.defineProperty(t,"tokTypes",{enumerable:true,get:function(){return _parser().tokTypes}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return _traverse().default}});Object.defineProperty(t,"template",{enumerable:true,get:function(){return _template().default}});Object.defineProperty(t,"createConfigItem",{enumerable:true,get:function(){return o.createConfigItem}});Object.defineProperty(t,"createConfigItemSync",{enumerable:true,get:function(){return o.createConfigItemSync}});Object.defineProperty(t,"createConfigItemAsync",{enumerable:true,get:function(){return o.createConfigItemAsync}});Object.defineProperty(t,"loadPartialConfig",{enumerable:true,get:function(){return o.loadPartialConfig}});Object.defineProperty(t,"loadPartialConfigSync",{enumerable:true,get:function(){return o.loadPartialConfigSync}});Object.defineProperty(t,"loadPartialConfigAsync",{enumerable:true,get:function(){return o.loadPartialConfigAsync}});Object.defineProperty(t,"loadOptions",{enumerable:true,get:function(){return o.loadOptions}});Object.defineProperty(t,"loadOptionsSync",{enumerable:true,get:function(){return o.loadOptionsSync}});Object.defineProperty(t,"loadOptionsAsync",{enumerable:true,get:function(){return o.loadOptionsAsync}});Object.defineProperty(t,"transform",{enumerable:true,get:function(){return l.transform}});Object.defineProperty(t,"transformSync",{enumerable:true,get:function(){return l.transformSync}});Object.defineProperty(t,"transformAsync",{enumerable:true,get:function(){return l.transformAsync}});Object.defineProperty(t,"transformFile",{enumerable:true,get:function(){return u.transformFile}});Object.defineProperty(t,"transformFileSync",{enumerable:true,get:function(){return u.transformFileSync}});Object.defineProperty(t,"transformFileAsync",{enumerable:true,get:function(){return u.transformFileAsync}});Object.defineProperty(t,"transformFromAst",{enumerable:true,get:function(){return p.transformFromAst}});Object.defineProperty(t,"transformFromAstSync",{enumerable:true,get:function(){return p.transformFromAstSync}});Object.defineProperty(t,"transformFromAstAsync",{enumerable:true,get:function(){return p.transformFromAstAsync}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return f.parse}});Object.defineProperty(t,"parseSync",{enumerable:true,get:function(){return f.parseSync}});Object.defineProperty(t,"parseAsync",{enumerable:true,get:function(){return f.parseAsync}});t.types=t.OptionManager=t.DEFAULT_EXTENSIONS=t.version=void 0;var n=r(25614);var s=r(57673);var i=r(54949);var a=r(23890);function _types(){const e=r(91306);_types=function(){return e};return e}Object.defineProperty(t,"types",{enumerable:true,get:function(){return _types()}});function _parser(){const e=r(26240);_parser=function(){return e};return e}function _traverse(){const e=r(4267);_traverse=function(){return e};return e}function _template(){const e=r(36900);_template=function(){return e};return e}var o=r(12152);var l=r(81692);var u=r(23292);var p=r(54402);var f=r(75934);const c="7.14.6";t.version=c;const d=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);t.DEFAULT_EXTENSIONS=d;class OptionManager{init(e){return(0,o.loadOptions)(e)}}t.OptionManager=OptionManager;function Plugin(e){throw new Error(`The (${e}) Babel 5 plugin is being run with an unsupported Babel version.`)}},75934:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseAsync=t.parseSync=t.parse=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(12152);var s=r(36341);var i=r(73096);const a=_gensync()(function*parse(e,t){const r=yield*(0,n.default)(t);if(r===null){return null}return yield*(0,s.default)(r.passes,(0,i.default)(r),e)});const o=function parse(e,t,r){if(typeof t==="function"){r=t;t=undefined}if(r===undefined)return a.sync(e,t);a.errback(e,t,r)};t.parse=o;const l=a.sync;t.parseSync=l;const u=a.async;t.parseAsync=u},36341:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parser;function _parser(){const e=r(26240);_parser=function(){return e};return e}function _codeFrame(){const e=r(21928);_codeFrame=function(){return e};return e}var n=r(69267);function*parser(e,{parserOpts:t,highlightCode:r=true,filename:s="unknown"},i){try{const a=[];for(const r of e){for(const e of r){const{parserOverride:r}=e;if(r){const e=r(i,t,_parser().parse);if(e!==undefined)a.push(e)}}}if(a.length===0){return(0,_parser().parse)(i,t)}else if(a.length===1){yield*[];if(typeof a[0].then==="function"){throw new Error(`You appear to be using an async parser plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}return a[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(e){if(e.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"){e.message+="\nConsider renaming the file to '.mjs', or setting sourceType:module "+"or sourceType:unambiguous in your Babel config for this file."}const{loc:t,missingPlugin:a}=e;if(t){const o=(0,_codeFrame().codeFrameColumns)(i,{start:{line:t.line,column:t.column+1}},{highlightCode:r});if(a){e.message=`${s}: `+(0,n.default)(a[0],t,o)}else{e.message=`${s}: ${e.message}\n\n`+o}e.code="BABEL_PARSE_ERROR"}throw e}}},69267:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateMissingPluginMessage;const r={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",url:"https://git.io/JYer8"}},classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-private-methods",url:"https://git.io/JvpRG"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://git.io/JTLB6"},transform:{name:"@babel/plugin-proposal-class-static-block",url:"https://git.io/JTLBP"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://git.io/JfKOH"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://git.io/vb4y9"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://git.io/vb4ST"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://git.io/vb4yh"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://git.io/vb4S3"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://git.io/vb4Sv"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://git.io/vb4SO"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://git.io/vb4yH"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://git.io/vb4Sf"},transform:{name:"@babel/plugin-proposal-export-namespace-from",url:"https://git.io/vb4SG"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://git.io/vb4yb"},transform:{name:"@babel/preset-flow",url:"https://git.io/JfeDn"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://git.io/vb4y7"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://git.io/vb4St"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://git.io/vb4yN"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://git.io/vb4SZ"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://git.io/vbKK6"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://git.io/vb4yA"},transform:{name:"@babel/preset-react",url:"https://git.io/JfeDR"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://git.io/JUbkv"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://git.io/JTL8G"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://git.io/vb4Sq"},transform:{name:"@babel/plugin-proposal-numeric-separator",url:"https://git.io/vb4yS"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://git.io/vb4Sc"},transform:{name:"@babel/plugin-proposal-optional-chaining",url:"https://git.io/vb4Sk"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://git.io/vb4yj"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://git.io/vb4SU"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://git.io/JfK3q"},transform:{name:"@babel/plugin-proposal-private-property-in-object",url:"https://git.io/JfK3O"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://git.io/JvKp3"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://git.io/vb4SJ"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://git.io/vb4yF"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://git.io/vb4SC"},transform:{name:"@babel/preset-typescript",url:"https://git.io/JfeDz"}},asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://git.io/vb4SY"},transform:{name:"@babel/plugin-proposal-async-generator-functions",url:"https://git.io/vb4yp"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://git.io/vAlBp"},transform:{name:"@babel/plugin-proposal-logical-assignment-operators",url:"https://git.io/vAlRe"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://git.io/vb4yx"},transform:{name:"@babel/plugin-proposal-nullish-coalescing-operator",url:"https://git.io/vb4Se"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://git.io/vb4y5"},transform:{name:"@babel/plugin-proposal-object-rest-spread",url:"https://git.io/vb4Ss"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://git.io/vb4Sn"},transform:{name:"@babel/plugin-proposal-optional-catch-binding",url:"https://git.io/vb4SI"}}};r.privateIn.syntax=r.privateIn.transform;const n=({name:e,url:t})=>`${e} (${t})`;function generateMissingPluginMessage(e,t,s){let i=`Support for the experimental syntax '${e}' isn't currently enabled `+`(${t.line}:${t.column+1}):\n\n`+s;const a=r[e];if(a){const{syntax:e,transform:t}=a;if(e){const r=n(e);if(t){const e=n(t);const s=t.name.startsWith("@babel/plugin")?"plugins":"presets";i+=`\n\nAdd ${e} to the '${s}' section of your Babel config to enable transformation.\nIf you want to leave it as-is, add ${r} to the 'plugins' section to enable parsing.`}else{i+=`\n\nAdd ${r} to the 'plugins' section of your Babel config `+`to enable parsing.`}}}return i}},57673:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=_default;function helpers(){const e=n(24574);helpers=function(){return e};return e}function _generator(){const e=n(23656);_generator=function(){return e};return e}function _template(){const e=n(36900);_template=function(){return e};return e}function t(){const e=n(91306);t=function(){return e};return e}var s=n(25614);const i=e=>(0,_template().default)` + `}},71804:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.get=get;t.minVersion=minVersion;t.getDependencies=getDependencies;t.ensure=ensure;t.default=t.list=void 0;var r=s(4267);var i=s(19761);var n=s(71432);function makePath(e){const t=[];for(;e.parentPath;e=e.parentPath){t.push(e.key);if(e.inList)t.push(e.listKey)}return t.reverse().join(".")}let a=undefined;function getHelperMetadata(e){const t=new Set;const s=new Set;const i=new Map;let a;let o;const l=[];const c=[];const p=[];const u={ImportDeclaration(e){const t=e.node.source.value;if(!n.default[t]){throw e.buildCodeFrameError(`Unknown helper ${t}`)}if(e.get("specifiers").length!==1||!e.get("specifiers.0").isImportDefaultSpecifier()){throw e.buildCodeFrameError("Helpers can only import a default value")}const s=e.node.specifiers[0].local;i.set(s,t);c.push(makePath(e))},ExportDefaultDeclaration(e){const t=e.get("declaration");if(t.isFunctionDeclaration()){if(!t.node.id){throw t.buildCodeFrameError("Helpers should give names to their exported func declaration")}a=t.node.id.name}o=makePath(e)},ExportAllDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},ExportNamedDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},Statement(e){if(e.isModuleDeclaration())return;e.skip()}};const h={Program(e){const t=e.scope.getAllBindings();Object.keys(t).forEach(e=>{if(e===a)return;if(i.has(t[e].identifier))return;s.add(e)})},ReferencedIdentifier(e){const s=e.node.name;const r=e.scope.getBinding(s,true);if(!r){t.add(s)}else if(i.has(r.identifier)){p.push(makePath(e))}},AssignmentExpression(e){const t=e.get("left");if(!(a in t.getBindingIdentifiers()))return;if(!t.isIdentifier()){throw t.buildCodeFrameError("Only simple assignments to exports are allowed in helpers")}const s=e.scope.getBinding(a);if(s!=null&&s.scope.path.isProgram()){l.push(makePath(e))}}};(0,r.default)(e.ast,u,e.scope);(0,r.default)(e.ast,h,e.scope);if(!o)throw new Error("Helpers must default-export something.");l.reverse();return{globals:Array.from(t),localBindingNames:Array.from(s),dependencies:i,exportBindingAssignments:l,exportPath:o,exportName:a,importBindingsReferences:p,importPaths:c}}function permuteHelperAST(e,t,s,n,a){if(n&&!s){throw new Error("Unexpected local bindings for module-based helpers.")}if(!s)return;const{localBindingNames:o,dependencies:l,exportBindingAssignments:c,exportPath:p,exportName:u,importBindingsReferences:h,importPaths:f}=t;const d={};l.forEach((e,t)=>{d[t.name]=typeof a==="function"&&a(e)||t});const y={};const m=new Set(n||[]);o.forEach(e=>{let t=e;while(m.has(t))t="_"+t;if(t!==e)y[e]=t});if(s.type==="Identifier"&&u!==s.name){y[u]=s.name}const g={Program(e){const t=e.get(p);const r=f.map(t=>e.get(t));const n=h.map(t=>e.get(t));const a=t.get("declaration");if(s.type==="Identifier"){if(a.isFunctionDeclaration()){t.replaceWith(a)}else{t.replaceWith(i.variableDeclaration("var",[i.variableDeclarator(s,a.node)]))}}else if(s.type==="MemberExpression"){if(a.isFunctionDeclaration()){c.forEach(t=>{const r=e.get(t);r.replaceWith(i.assignmentExpression("=",s,r.node))});t.replaceWith(a);e.pushContainer("body",i.expressionStatement(i.assignmentExpression("=",s,i.identifier(u))))}else{t.replaceWith(i.expressionStatement(i.assignmentExpression("=",s,a.node)))}}else{throw new Error("Unexpected helper format.")}Object.keys(y).forEach(t=>{e.scope.rename(t,y[t])});for(const e of r)e.remove();for(const e of n){const t=i.cloneNode(d[e.node.name]);e.replaceWith(t)}e.stop()}};(0,r.default)(e.ast,g,e.scope)}const o=Object.create(null);function loadHelper(e){if(!o[e]){const t=n.default[e];if(!t){throw Object.assign(new ReferenceError(`Unknown helper ${e}`),{code:"BABEL_HELPER_UNKNOWN",helper:e})}const s=()=>{const s={ast:i.file(t.ast())};if(a){return new a({filename:`babel-helper://${e}`},s)}return s};const r=getHelperMetadata(s());o[e]={build(e,t,i){const n=s();permuteHelperAST(n,r,t,i,e);return{nodes:n.ast.program.body,globals:r.globals}},minVersion(){return t.minVersion},dependencies:r.dependencies}}return o[e]}function get(e,t,s,r){return loadHelper(e).build(t,s,r)}function minVersion(e){return loadHelper(e).minVersion()}function getDependencies(e){return Array.from(loadHelper(e).dependencies.values())}function ensure(e,t){if(!a){a=t}loadHelper(e)}const l=Object.keys(n.default).map(e=>e.replace(/^_/,"")).filter(e=>e!=="__esModule");t.list=l;var c=get;t.default=c},36860:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldHighlight=shouldHighlight;t.getChalk=getChalk;t.default=highlight;var r=s(52388);var i=s(17010);var n=s(72242);const a=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let c;{const e=/^[a-z][\w-]*$/i;const t=function(t,s,r){if(t.type==="name"){if((0,i.isKeyword)(t.value)||(0,i.isStrictReservedWord)(t.value,true)||a.has(t.value)){return"keyword"}if(e.test(t.value)&&(r[s-1]==="<"||r.substr(s-2,2)=="t(e)).join("\n")}else{s+=i}}return s}function shouldHighlight(e){return!!n.supportsColor||e.forceColor}function getChalk(e){return e.forceColor?new n.constructor({enabled:true,level:1}):n}function highlight(e,t={}){if(shouldHighlight(t)){const s=getChalk(t);const r=getDefs(s);return highlightTokens(r,e)}else{return e}}},49665:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let r="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+s+"]");const n=new RegExp("["+s+r+"]");s=r=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let s=65536;for(let r=0,i=t.length;re)return false;s+=t[r+1];if(s>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&n.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return r.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return r.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return r.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var r=s(49665);var i=s(76402)},76402:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const s={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const r=new Set(s.keyword);const i=new Set(s.strict);const n=new Set(s.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return n.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return r.has(e)}},20639:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const s=true;const r=true;const i=true;const n=true;const a=true;const o=true;class TokenType{constructor(e,t={}){this.label=void 0;this.keyword=void 0;this.beforeExpr=void 0;this.startsExpr=void 0;this.rightAssociative=void 0;this.isLoop=void 0;this.isAssign=void 0;this.prefix=void 0;this.postfix=void 0;this.binop=void 0;this.updateContext=void 0;this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.rightAssociative=!!t.rightAssociative;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop!=null?t.binop:null;this.updateContext=null}}const l=new Map;function createKeyword(e,t={}){t.keyword=e;const s=new TokenType(e,t);l.set(e,s);return s}function createBinop(e,t){return new TokenType(e,{beforeExpr:s,binop:t})}const c={num:new TokenType("num",{startsExpr:r}),bigint:new TokenType("bigint",{startsExpr:r}),decimal:new TokenType("decimal",{startsExpr:r}),regexp:new TokenType("regexp",{startsExpr:r}),string:new TokenType("string",{startsExpr:r}),name:new TokenType("name",{startsExpr:r}),privateName:new TokenType("#name",{startsExpr:r}),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:s,startsExpr:r}),bracketHashL:new TokenType("#[",{beforeExpr:s,startsExpr:r}),bracketBarL:new TokenType("[|",{beforeExpr:s,startsExpr:r}),bracketR:new TokenType("]"),bracketBarR:new TokenType("|]"),braceL:new TokenType("{",{beforeExpr:s,startsExpr:r}),braceBarL:new TokenType("{|",{beforeExpr:s,startsExpr:r}),braceHashL:new TokenType("#{",{beforeExpr:s,startsExpr:r}),braceR:new TokenType("}",{beforeExpr:s}),braceBarR:new TokenType("|}"),parenL:new TokenType("(",{beforeExpr:s,startsExpr:r}),parenR:new TokenType(")"),comma:new TokenType(",",{beforeExpr:s}),semi:new TokenType(";",{beforeExpr:s}),colon:new TokenType(":",{beforeExpr:s}),doubleColon:new TokenType("::",{beforeExpr:s}),dot:new TokenType("."),question:new TokenType("?",{beforeExpr:s}),questionDot:new TokenType("?."),arrow:new TokenType("=>",{beforeExpr:s}),template:new TokenType("template"),ellipsis:new TokenType("...",{beforeExpr:s}),backQuote:new TokenType("`",{startsExpr:r}),dollarBraceL:new TokenType("${",{beforeExpr:s,startsExpr:r}),at:new TokenType("@"),hash:new TokenType("#",{startsExpr:r}),interpreterDirective:new TokenType("#!..."),eq:new TokenType("=",{beforeExpr:s,isAssign:n}),assign:new TokenType("_=",{beforeExpr:s,isAssign:n}),slashAssign:new TokenType("_=",{beforeExpr:s,isAssign:n}),moduloAssign:new TokenType("_=",{beforeExpr:s,isAssign:n}),incDec:new TokenType("++/--",{prefix:a,postfix:o,startsExpr:r}),bang:new TokenType("!",{beforeExpr:s,prefix:a,startsExpr:r}),tilde:new TokenType("~",{beforeExpr:s,prefix:a,startsExpr:r}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:s,binop:9,prefix:a,startsExpr:r}),modulo:new TokenType("%",{binop:10,startsExpr:r}),star:new TokenType("*",{binop:10}),slash:createBinop("/",10),exponent:new TokenType("**",{beforeExpr:s,binop:11,rightAssociative:true}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:s}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:s}),_do:createKeyword("do",{isLoop:i,beforeExpr:s}),_else:createKeyword("else",{beforeExpr:s}),_finally:createKeyword("finally"),_for:createKeyword("for",{isLoop:i}),_function:createKeyword("function",{startsExpr:r}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:s}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:s,prefix:a,startsExpr:r}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_while:createKeyword("while",{isLoop:i}),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:s,startsExpr:r}),_this:createKeyword("this",{startsExpr:r}),_super:createKeyword("super",{startsExpr:r}),_class:createKeyword("class",{startsExpr:r}),_extends:createKeyword("extends",{beforeExpr:s}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:r}),_null:createKeyword("null",{startsExpr:r}),_true:createKeyword("true",{startsExpr:r}),_false:createKeyword("false",{startsExpr:r}),_in:createKeyword("in",{beforeExpr:s,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:s,binop:7}),_typeof:createKeyword("typeof",{beforeExpr:s,prefix:a,startsExpr:r}),_void:createKeyword("void",{beforeExpr:s,prefix:a,startsExpr:r}),_delete:createKeyword("delete",{beforeExpr:s,prefix:a,startsExpr:r})};const p=/\r\n?|[\n\u2028\u2029]/;const u=new RegExp(p.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const h=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;const f=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y;const d=new RegExp("(?=("+f.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function isWhitespace(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return true;default:return false}}class Position{constructor(e,t){this.line=void 0;this.column=void 0;this.line=e;this.column=t}}class SourceLocation{constructor(e,t){this.start=void 0;this.end=void 0;this.filename=void 0;this.identifierName=void 0;this.start=e;this.end=t}}function getLineInfo(e,t){let s=1;let r=0;let i;u.lastIndex=0;while((i=u.exec(e))&&i.index0){r=t[--i]}if(r===null||r.start>s.start){setInnerComments(e,s.comments)}else{setTrailingComments(r,s.comments)}}class CommentsParser extends BaseParser{addComment(e){if(this.filename)e.loc.filename=this.filename;this.state.comments.push(e)}processComment(e){const{commentStack:t}=this.state;const s=t.length;if(s===0)return;let r=s-1;const i=t[r];if(i.start===e.end){i.leadingNode=e;r--}const{start:n}=e;for(;r>=0;r--){const s=t[r];const i=s.end;if(i>n){s.containingNode=e;this.finalizeComment(s);t.splice(r,1)}else{if(i===n){s.trailingNode=e}break}}}finalizeComment(e){const{comments:t}=e;if(e.leadingNode!==null||e.trailingNode!==null){if(e.leadingNode!==null){setTrailingComments(e.leadingNode,t)}if(e.trailingNode!==null){e.trailingNode.leadingComments=t}}else{const{containingNode:s,start:r}=e;if(this.input.charCodeAt(r-1)===44){switch(s.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":adjustInnerComments(s,s.properties,e);break;case"CallExpression":case"OptionalCallExpression":adjustInnerComments(s,s.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":adjustInnerComments(s,s.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":adjustInnerComments(s,s.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":adjustInnerComments(s,s.specifiers,e);break;default:{setInnerComments(s,t)}}}else{setInnerComments(s,t)}}}finalizeRemainingComments(){const{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--){this.finalizeComment(e[t])}this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){const{commentStack:t}=this.state;const{length:s}=t;if(s===0)return;const r=t[s-1];if(r.leadingNode===e){r.leadingNode=null}}}const y=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const m=makeErrorTemplates({AccessorIsGenerator:"A %0ter cannot be a generator.",ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accesor must not have any formal parameters.",BadSetterArity:"A 'set' accesor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accesor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:"'%0' require an initialization value.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:"`%0` has already been exported. Exported identifiers must be unique.",DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '%0' as '%1' } from 'some-module'`?",ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:"'%0' loop variable declaration may not have an initializer.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:"Unsyntactic %0.",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:'A string literal cannot be used as an imported binding.\n- Did you mean `import { "%0" as foo }`?',ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:"`import()` requires exactly %0.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidDecimal:"Invalid decimal.",InvalidDigit:"Expected number in radix %0.",InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:"Escape sequence in keyword %0.",InvalidIdentifier:"Invalid identifier %0.",InvalidLhs:"Invalid left-hand side in %0.",InvalidLhsBinding:"Binding invalid left-hand side in %0.",InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:"Unexpected character '%0'.",InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:"Private name #%0 is not defined.",InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:"Label '%0' is already declared.",LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:'Duplicate key "%0" is not allowed in module attributes.',ModuleExportNameHasLoneSurrogate:"An export name cannot include a lone surrogate, found '\\u%0'.",ModuleExportUndefined:"Export '%0' is not defined.",MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PipeBodyIsTighter:"Unexpected %0 after pipeline body; any %0 expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:'Invalid topic token %0. In order to use %0 as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "%0" }.',PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PrivateInExpectedIn:"Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`).",PrivateNameRedeclaration:"Duplicate private name #%0.",RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:"Assigning to '%0' in strict mode.",StrictEvalArgumentsBinding:"Binding '%0' in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:"Unexpected keyword '%0'.",UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Private names can only be used as the name of a class element (i.e. class C { #p = 42; #m() {} } )\n or a property of member expression (i.e. this.#p).",UnexpectedReservedWord:"Unexpected reserved word '%0'.",UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:"Unexpected token '%0'.",UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:"The only valid meta property for %0 is %0.%1.",UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",VarRedeclaration:"Identifier '%0' has already been declared.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},y.SyntaxError);const g=makeErrorTemplates({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},y.SourceTypeModuleError);function makeErrorTemplates(e,t){const s={};Object.keys(e).forEach(r=>{s[r]=Object.freeze({code:t,reasonCode:r,template:e[r]})});return Object.freeze(s)}class ParserError extends CommentsParser{getLocationForPosition(e){let t;if(e===this.state.start)t=this.state.startLoc;else if(e===this.state.lastTokStart)t=this.state.lastTokStartLoc;else if(e===this.state.end)t=this.state.endLoc;else if(e===this.state.lastTokEnd)t=this.state.lastTokEndLoc;else t=getLineInfo(this.input,e);return t}raise(e,{code:t,reasonCode:s,template:r},...i){return this.raiseWithData(e,{code:t,reasonCode:s},r,...i)}raiseOverwrite(e,{code:t,template:s},...r){const i=this.getLocationForPosition(e);const n=s.replace(/%(\d+)/g,(e,t)=>r[t])+` (${i.line}:${i.column})`;if(this.options.errorRecovery){const t=this.state.errors;for(let s=t.length-1;s>=0;s--){const r=t[s];if(r.pos===e){return Object.assign(r,{message:n})}else if(r.posr[t])+` (${i.line}:${i.column})`;return this._raise(Object.assign({loc:i,pos:e},t),n)}_raise(e,t){const s=new SyntaxError(t);Object.assign(s,e);if(this.options.errorRecovery){if(!this.isLookahead)this.state.errors.push(s);return s}else{throw s}}}var b=e=>(class extends e{parseRegExpLiteral({pattern:e,flags:t}){let s=null;try{s=new RegExp(e,t)}catch(e){}const r=this.estreeParseLiteral(s);r.regex={pattern:e,flags:t};return r}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const s=this.estreeParseLiteral(t);s.bigint=String(s.value||e);return s}parseDecimalLiteral(e){const t=null;const s=this.estreeParseLiteral(t);s.decimal=String(s.value||e);return s}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;const s=this.startNodeAt(e.start,e.loc.start);const r=this.startNodeAt(t.start,t.loc.start);r.value=t.extra.expressionValue;r.raw=t.extra.raw;s.expression=this.finishNodeAt(r,"Literal",t.end,t.loc.end);s.directive=t.extra.raw.slice(1,-1);return this.finishNodeAt(s,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}stmtToDirective(e){const t=e.expression.value;const s=super.stmtToDirective(e);this.addExtra(s.value,"expressionValue",t);return s}parseBlockBody(e,...t){super.parseBlockBody(e,...t);const s=e.directives.map(e=>this.directiveToStmt(e));e.body=s.concat(e.body);delete e.directives}pushClassMethod(e,t,s,r,i,n){this.parseMethod(t,s,r,i,n,"ClassMethod",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parseMaybePrivateName(...e){const t=super.parseMaybePrivateName(...e);if(t.type==="PrivateName"&&this.getPluginOption("estree","classFeatures")){return this.convertPrivateNameToPrivateIdentifier(t)}return t}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}return e.name}parseLiteral(e,t){const s=super.parseLiteral(e,t);s.raw=s.extra.raw;delete s.extra;return s}parseFunctionBody(e,t,s=false){super.parseFunctionBody(e,t,s);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,s,r,i,n,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,s,r,i,n,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(n==="ClassPrivateMethod"){e.computed=false}n="MethodDefinition";return this.finishNode(e,n)}parseClassProperty(...e){const t=super.parseClassProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition"}return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition";t.computed=false}return t}parseObjectMethod(e,t,s,r,i){const n=super.parseObjectMethod(e,t,s,r,i);if(n){n.type="Property";if(n.kind==="method")n.kind="init";n.shorthand=false}return n}parseObjectProperty(e,t,s,r,i){const n=super.parseObjectProperty(e,t,s,r,i);if(n){n.kind="init";n.type="Property"}return n}isAssignable(e,t){if(e!=null&&this.isObjectProperty(e)){return this.isAssignable(e.value,t)}return super.isAssignable(e,t)}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){this.toAssignable(e.value,t);return e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){if(e.kind==="get"||e.kind==="set"){this.raise(e.key.start,m.PatternHasAccessor)}else if(e.method){this.raise(e.key.start,m.PatternHasMethod)}else{super.toAssignableObjectExpressionProp(e,...t)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];if(this.hasPlugin("importAssertions")){var s;e.attributes=(s=e.arguments[1])!=null?s:null}delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,s,r,i){const n=super.parseSubscript(e,t,s,r,i);if(i.optionalChainMember){if(n.type==="OptionalMemberExpression"||n.type==="OptionalCallExpression"){n.type=n.type.substring(8)}if(i.stop){const e=this.startNodeAtNode(n);e.expression=n;return this.finishNode(e,"ChainExpression")}}else if(n.type==="MemberExpression"||n.type==="CallExpression"){n.optional=false}return n}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}});class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const x={brace:new TokContext("{"),template:new TokContext("`",true)};c.braceR.updateContext=(e=>{e.pop()});c.braceL.updateContext=c.braceHashL.updateContext=c.dollarBraceL.updateContext=(e=>{e.push(x.brace)});c.backQuote.updateContext=(e=>{if(e[e.length-1]===x.template){e.pop()}else{e.push(x.template)}});let v="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let w="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const P=new RegExp("["+v+"]");const E=new RegExp("["+v+w+"]");v=w=null;const A=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const T=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let s=65536;for(let r=0,i=t.length;re)return false;s+=t[r+1];if(s>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&P.test(String.fromCharCode(e))}return isInAstralSet(e,A)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&E.test(String.fromCharCode(e))}return isInAstralSet(e,A)||isInAstralSet(e,T)}const C={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const k=new Set(C.keyword);const I=new Set(C.strict);const j=new Set(C.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||I.has(e)}function isStrictBindOnlyReservedWord(e){return j.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return k.has(e)}function isIteratorStart(e,t){return e===64&&t===64}const O=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function canBeReservedWord(e){return O.has(e)}const S=0,_=1,R=2,D=4,N=8,F=16,M=32,L=64,B=128,U=256,W=_|R|U;const q=1,H=2,z=4,V=8,K=16,$=64,G=128,J=256,X=512,Y=1024,Q=2048;const Z=q|H|V|G,ee=q|0|V|0,te=q|0|z|0,se=q|0|K|0,re=0|H|0|G,ie=0|H|0|0,ne=q|H|V|J,ae=0|0|0|Y,oe=0|0|0|$,le=q|0|0|$,ce=ne|X,pe=0|0|0|Y,ue=Q;const he=4,fe=2,de=1,ye=fe|de;const me=fe|he,ge=de|he,be=fe,xe=de,ve=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.scopeStack=[];this.undefinedExports=new Map;this.undefinedPrivateNames=new Map;this.raise=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&R)>0}get allowSuper(){return(this.currentThisScopeFlags()&F)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&M)>0}get inClass(){return(this.currentThisScopeFlags()&L)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&L)>0&&(e&R)===0}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&B){return true}if(t&(W|L)){return false}}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&R)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&R||!this.inModule&&e.flags&_)}declareName(e,t,s){let r=this.currentScope();if(t&V||t&K){this.checkRedeclarationInScope(r,e,t,s);if(t&K){r.functions.add(e)}else{r.lexical.add(e)}if(t&V){this.maybeExportDefined(r,e)}}else if(t&z){for(let i=this.scopeStack.length-1;i>=0;--i){r=this.scopeStack[i];this.checkRedeclarationInScope(r,e,t,s);r.var.add(e);this.maybeExportDefined(r,e);if(r.flags&W)break}}if(this.inModule&&r.flags&_){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.inModule&&e.flags&_){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,s,r){if(this.isRedeclaredInScope(e,t,s)){this.raise(r,m.VarRedeclaration,t)}}isRedeclaredInScope(e,t,s){if(!(s&q))return false;if(s&V){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(s&K){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&N&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const s=this.scopeStack[0];if(!s.lexical.has(t)&&!s.var.has(t)&&!s.functions.has(t)){this.undefinedExports.set(t,e.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&W){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(W|L)&&!(t&D)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,s){const r=this.currentScope();if(t&Q){this.checkRedeclarationInScope(r,e,t,s);this.maybeExportDefined(r,e);r.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,s){if(super.isRedeclaredInScope(...arguments))return true;if(s&Q){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}class State{constructor(){this.strict=void 0;this.curLine=void 0;this.startLoc=void 0;this.endLoc=void 0;this.errors=[];this.potentialArrowAt=-1;this.noArrowAt=[];this.noArrowParamsConversionAt=[];this.maybeInArrowParameters=false;this.inType=false;this.noAnonFunctionType=false;this.inPropertyName=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.decoratorStack=[[]];this.comments=[];this.commentStack=[];this.pos=0;this.lineStart=0;this.type=c.eof;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.lastTokEnd=0;this.context=[x.brace];this.exprAllowed=true;this.containsEsc=false;this.strictErrors=new Map;this.tokensLength=0}init(e){this.strict=e.strictMode===false?false:e.strictMode===true?true:e.sourceType==="module";this.curLine=e.startLine;this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new Position(this.curLine,this.pos-this.lineStart)}clone(e){const t=new State;const s=Object.keys(this);for(let r=0,i=s.length;r=48&&e<=57};const Pe=new Set([103,109,115,105,121,117,100]);const Ee={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]};const Ae={};Ae.bin=[48,49];Ae.oct=[...Ae.bin,50,51,52,53,54,55];Ae.dec=[...Ae.oct,56,57];Ae.hex=[...Ae.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends ParserError{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(this.state))}this.state.lastTokEnd=this.state.end;this.state.lastTokStart=this.state.start;this.state.lastTokEndLoc=this.state.endLoc;this.state.lastTokStartLoc=this.state.startLoc;this.nextToken()}eat(e){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){h.lastIndex=e;return h.test(this.input)?h.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(t,e));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(!e.preserveSpace)this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(c.eof);return}if(e===x.template){this.readTmplToken()}else{this.getTokenFromCode(this.codePointAtPos(this.state.pos))}}skipBlockComment(){let e;if(!this.isLookahead)e=this.state.curPosition();const t=this.state.pos;const s=this.input.indexOf("*/",t+2);if(s===-1)throw this.raise(t,m.UnterminatedComment);this.state.pos=s+2;u.lastIndex=t+2;while(u.test(this.input)&&u.lastIndex<=s){++this.state.curLine;this.state.lineStart=u.lastIndex}if(this.isLookahead)return;const r={type:"CommentBlock",value:this.input.slice(t+2,s),start:t,end:s+2,loc:new SourceLocation(e,this.state.curPosition())};if(this.options.tokens)this.pushToken(r);return r}skipLineComment(e){const t=this.state.pos;let s;if(!this.isLookahead)s=this.state.curPosition();let r=this.input.charCodeAt(this.state.pos+=e);if(this.state.pose)){const e=this.skipLineComment(3);if(e!==undefined){this.addComment(e);if(this.options.attachComment)t.push(e)}}else{break e}}else if(s===60&&!this.inModule){const e=this.state.pos;if(this.input.charCodeAt(e+1)===33&&this.input.charCodeAt(e+2)===45&&this.input.charCodeAt(e+3)===45){const e=this.skipLineComment(4);if(e!==undefined){this.addComment(e);if(this.options.attachComment)t.push(e)}}else{break e}}else{break e}}}if(t.length>0){const s=this.state.pos;const r={start:e,end:s,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(r)}}finishToken(e,t){this.state.end=this.state.pos;const s=this.state.type;this.state.type=e;this.state.value=t;if(!this.isLookahead){this.state.endLoc=this.state.curPosition();this.updateContext(s)}}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter()){return}const e=this.state.pos+1;const t=this.codePointAtPos(e);if(t>=48&&t<=57){throw this.raise(this.state.pos,m.UnexpectedDigitAfterHash)}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(this.state.pos,t===123?m.RecordExpressionHashIncorrectStartSyntaxType:m.TupleExpressionHashIncorrectStartSyntaxType)}this.state.pos+=2;if(t===123){this.finishToken(c.braceHashL)}else{this.finishToken(c.bracketHashL)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(c.privateName,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(c.privateName,this.readWord1())}else{this.finishOp(c.hash,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(c.ellipsis)}else{++this.state.pos;this.finishToken(c.dot)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(c.slashAssign,2)}else{this.finishOp(c.slash,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos=48&&t<=57)){this.state.pos+=2;this.finishToken(c.questionDot)}else{++this.state.pos;this.finishToken(c.question)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(c.parenL);return;case 41:++this.state.pos;this.finishToken(c.parenR);return;case 59:++this.state.pos;this.finishToken(c.semi);return;case 44:++this.state.pos;this.finishToken(c.comma);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,m.TupleExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(c.bracketBarL)}else{++this.state.pos;this.finishToken(c.bracketL)}return;case 93:++this.state.pos;this.finishToken(c.bracketR);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,m.RecordExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(c.braceBarL)}else{++this.state.pos;this.finishToken(c.braceL)}return;case 125:++this.state.pos;this.finishToken(c.braceR);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(c.doubleColon,2)}else{++this.state.pos;this.finishToken(c.colon)}return;case 63:this.readToken_question();return;case 96:++this.state.pos;this.finishToken(c.backQuote);return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:case 62:this.readToken_lt_gt(e);return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(c.tilde,1);return;case 64:++this.state.pos;this.finishToken(c.at);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(this.state.pos,m.InvalidOrUnexpectedToken,String.fromCodePoint(e))}finishOp(e,t){const s=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t;this.finishToken(e,s)}readRegexp(){const e=this.state.start+1;let t,s;let{pos:r}=this.state;for(;;++r){if(r>=this.length){throw this.raise(e,m.UnterminatedRegExp)}const i=this.input.charCodeAt(r);if(isNewLine(i)){throw this.raise(e,m.UnterminatedRegExp)}if(t){t=false}else{if(i===91){s=true}else if(i===93&&s){s=false}else if(i===47&&!s){break}t=i===92}}const i=this.input.slice(e,r);++r;let n="";while(r-1||n.indexOf(t)>-1||Number.isNaN(t)){this.raise(this.state.pos,m.UnexpectedNumericSeparator)}if(!r){this.raise(this.state.pos,m.NumericSeparatorInEscapeSequence)}++this.state.pos;continue}if(t>=97){c=t-97+10}else if(t>=65){c=t-65+10}else if(we(t)){c=t-48}else{c=Infinity}if(c>=e){if(this.options.errorRecovery&&c<=9){c=0;this.raise(this.state.start+i+2,m.InvalidDigit,e)}else if(s){c=0;o=true}else{break}}++this.state.pos;l=l*e+c}if(this.state.pos===i||t!=null&&this.state.pos-i!==t||o){return null}return l}readRadixNumber(e){const t=this.state.pos;let s=false;this.state.pos+=2;const r=this.readInt(e);if(r==null){this.raise(this.state.start+2,m.InvalidDigit,e)}const i=this.input.charCodeAt(this.state.pos);if(i===110){++this.state.pos;s=true}else if(i===109){throw this.raise(t,m.InvalidDecimal)}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,m.NumberIdentifier)}if(s){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(c.bigint,e);return}this.finishToken(c.num,r)}readNumber(e){const t=this.state.pos;let s=false;let r=false;let i=false;let n=false;let a=false;if(!e&&this.readInt(10)===null){this.raise(t,m.InvalidNumber)}const o=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(o){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(t,m.StrictOctalLiteral);if(!this.state.strict){const s=e.indexOf("_");if(s>0){this.raise(s+t,m.ZeroDigitNumericSeparator)}}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!a){++this.state.pos;this.readInt(10);s=true;l=this.input.charCodeAt(this.state.pos)}if((l===69||l===101)&&!a){l=this.input.charCodeAt(++this.state.pos);if(l===43||l===45){++this.state.pos}if(this.readInt(10)===null){this.raise(t,m.InvalidOrMissingExponent)}s=true;n=true;l=this.input.charCodeAt(this.state.pos)}if(l===110){if(s||o){this.raise(t,m.InvalidBigIntLiteral)}++this.state.pos;r=true}if(l===109){this.expectPlugin("decimal",this.state.pos);if(n||o){this.raise(t,m.InvalidDecimal)}++this.state.pos;i=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,m.NumberIdentifier)}const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(r){this.finishToken(c.bigint,p);return}if(i){this.finishToken(c.decimal,p);return}const u=a?parseInt(p,8):parseFloat(p);this.finishToken(c.num,u)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let s;if(t===123){const t=++this.state.pos;s=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(s!==null&&s>1114111){if(e){this.raise(t,m.InvalidCodePoint)}else{return null}}}else{s=this.readHexChar(4,false,e)}return s}readString(e){let t="",s=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,m.UnterminatedString)}const r=this.input.charCodeAt(this.state.pos);if(r===e)break;if(r===92){t+=this.input.slice(s,this.state.pos);t+=this.readEscapedChar(false);s=this.state.pos}else if(r===8232||r===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(r)){throw this.raise(this.state.start,m.UnterminatedString)}else{++this.state.pos}}t+=this.input.slice(s,this.state.pos++);this.finishToken(c.string,t)}readTmplToken(){let e="",t=this.state.pos,s=false;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,m.UnterminatedTemplate)}const r=this.input.charCodeAt(this.state.pos);if(r===96||r===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(c.template)){if(r===36){this.state.pos+=2;this.finishToken(c.dollarBraceL);return}else{++this.state.pos;this.finishToken(c.backQuote);return}}e+=this.input.slice(t,this.state.pos);this.finishToken(c.template,s?null:e);return}if(r===92){e+=this.input.slice(t,this.state.pos);const r=this.readEscapedChar(true);if(r===null){s=true}else{e+=r}t=this.state.pos}else if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(r){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(r);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,t){if(this.state.strict&&!this.state.strictErrors.has(e)){this.raise(e,t)}else{this.state.strictErrors.set(e,t)}}readEscapedChar(e){const t=!e;const s=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(s){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:this.state.lineStart=this.state.pos;++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(e){return null}else{this.recordStrictModeErrors(this.state.pos-1,m.StrictNumericEscape)}default:if(s>=48&&s<=55){const t=this.state.pos-1;const s=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let r=s[0];let i=parseInt(r,8);if(i>255){r=r.slice(0,-1);i=parseInt(r,8)}this.state.pos+=r.length-1;const n=this.input.charCodeAt(this.state.pos);if(r!=="0"||n===56||n===57){if(e){return null}else{this.recordStrictModeErrors(t,m.StrictNumericEscape)}}return String.fromCharCode(i)}return String.fromCharCode(s)}}readHexChar(e,t,s){const r=this.state.pos;const i=this.readInt(16,e,t,false);if(i===null){if(s){this.raise(r,m.InvalidEscapeSequence)}else{this.state.pos=r-1}}return i}readWord1(e){this.state.containsEsc=false;let t="";const s=this.state.pos;let r=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos{this.raise(s,t);let r=e.length-2;let i=e[r];while(i.canBeArrowParameterDeclaration()){i.clearDeclarationError(s);i=e[--r]}})}}function newParameterDeclarationScope(){return new ExpressionScope(Ie)}function newArrowHeadScope(){return new ArrowHeadParsingScope(Ce)}function newAsyncArrowScope(){return new ArrowHeadParsingScope(ke)}function newExpressionScope(){return new ExpressionScope}const je=0,Oe=1,Se=2,_e=4,Re=8;class ProductionParameterHandler{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&Se)>0}get hasYield(){return(this.currentFlags()&Oe)>0}get hasReturn(){return(this.currentFlags()&_e)>0}get hasIn(){return(this.currentFlags()&Re)>0}}function functionFlags(e,t){return(e?Se:0)|(t?Oe:0)}class UtilParser extends Tokenizer{addExtra(e,t,s){if(!e)return;const r=e.extra=e.extra||{};r[t]=s}isRelational(e){return this.match(c.relational)&&this.state.value===e}expectRelational(e){if(this.isRelational(e)){this.next()}else{this.unexpected(null,c.relational)}}isContextual(e){return this.match(c.name)&&this.state.value===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const s=e+t.length;if(this.input.slice(e,s)===t){const e=this.input.charCodeAt(s);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)&&this.eat(c.name)}expectContextual(e,t){if(!this.eatContextual(e))this.unexpected(null,t)}canInsertSemicolon(){return this.match(c.eof)||this.match(c.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return p.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){d.lastIndex=this.state.end;return d.test(this.input)}isLineTerminator(){return this.eat(c.semi)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(c.semi))return;this.raise(this.state.lastTokEnd,m.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){if(this.state.start>this.state.lastTokEnd){this.raise(this.state.lastTokEnd,{code:y.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}}unexpected(e,t={code:y.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){if(t instanceof TokenType){t={code:y.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${t.label}"`}}throw this.raise(e!=null?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e)){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`)}return true}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e))){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:e},`This experimental syntax requires enabling one of the following parser plugin(s): '${e.join(", ")}'`)}}tryParse(e,t=this.state.clone()){const s={node:null};try{const r=e((e=null)=>{s.node=e;throw s});if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:r,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:r,error:null,thrown:false,aborted:false,failState:null}}catch(e){const r=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:r}}if(e===s){return{node:s.node,error:null,thrown:false,aborted:true,failState:r}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssign:s,doubleProto:r,optionalParameters:i}=e;if(!t){return s>=0||r>=0||i>=0}if(s>=0){this.unexpected(s)}if(r>=0){this.raise(r,m.DuplicateProto)}if(i>=0){this.unexpected(i)}}isLiteralPropertyName(){return this.match(c.name)||!!this.state.type.keyword||this.match(c.string)||this.match(c.num)||this.match(c.bigint)||this.match(c.decimal)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const s=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const r=this.inModule;this.inModule=e;const i=this.scope;const n=this.getScopeHandler();this.scope=new n(this.raise.bind(this),this.inModule);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this.raise.bind(this));const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this.raise.bind(this));return()=>{this.state.labels=t;this.exportedIdentifiers=s;this.inModule=r;this.scope=i;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=je;if(this.inModule){e|=Se}this.scope.enter(_);this.prodParam.enter(e)}}class ExpressionErrors{constructor(){this.shorthandAssign=-1;this.doubleProto=-1;this.optionalParameters=-1}}class Node{constructor(e,t,s){this.type="";this.start=t;this.end=0;this.loc=new SourceLocation(s);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}}const De=Node.prototype;{De.__clone=function(){const e=new Node;const t=Object.keys(this);for(let s=0,r=t.length;s async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:"`declare export %0` is not supported. Use `%1` instead.",UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."},y.SyntaxError);function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return(e.type===c.name||!!e.type.keyword)&&e.value!=="from"}const Me={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const s=[];const r=[];for(let i=0;i(class extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==c.string&&e!==c.semi&&e!==c.interpreterDirective){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=Le.exec(e.value);if(!t) ;else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||c.colon);const s=this.flowParseType();this.state.inType=t;return s}flowParsePredicate(){const e=this.startNode();const t=this.state.start;this.next();this.expectContextual("checks");if(this.state.lastTokStart>t+1){this.raise(t,Fe.UnexpectedSpaceBetweenModuloChecks)}if(this.eat(c.parenL)){e.value=this.parseExpression();this.expect(c.parenR);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(c.colon);let t=null;let s=null;if(this.match(c.modulo)){this.state.inType=e;s=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(c.modulo)){s=this.flowParsePredicate()}}return[t,s]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const s=this.startNode();const r=this.startNode();if(this.isRelational("<")){s.typeParameters=this.flowParseTypeParameterDeclaration()}else{s.typeParameters=null}this.expect(c.parenL);const i=this.flowParseFunctionTypeParams();s.params=i.params;s.rest=i.rest;s.this=i._this;this.expect(c.parenR);[s.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser();r.typeAnnotation=this.finishNode(s,"FunctionTypeAnnotation");t.typeAnnotation=this.finishNode(r,"TypeAnnotation");this.resetEndLocation(t);this.semicolon();this.scope.declareName(e.id.name,ue,e.id.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(c._class)){return this.flowParseDeclareClass(e)}else if(this.match(c._function)){return this.flowParseDeclareFunction(e)}else if(this.match(c._var)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual("module")){if(this.match(c.dot)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(this.state.lastTokStart,Fe.NestedDeclareModule)}return this.flowParseDeclareModule(e)}}else if(this.isContextual("type")){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual("opaque")){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual("interface")){return this.flowParseDeclareInterface(e)}else if(this.match(c._export)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,te,e.id.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(S);if(this.match(c.string)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const s=t.body=[];this.expect(c.braceL);while(!this.match(c.braceR)){let e=this.startNode();if(this.match(c._import)){this.next();if(!this.isContextual("type")&&!this.match(c._typeof)){this.raise(this.state.lastTokStart,Fe.InvalidNonTypeImportInDeclareModule)}this.parseImport(e)}else{this.expectContextual("declare",Fe.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}s.push(e)}this.scope.exit();this.expect(c.braceR);this.finishNode(t,"BlockStatement");let r=null;let i=false;s.forEach(e=>{if(isEsModuleType(e)){if(r==="CommonJS"){this.raise(e.start,Fe.AmbiguousDeclareModuleKind)}r="ES"}else if(e.type==="DeclareModuleExports"){if(i){this.raise(e.start,Fe.DuplicateDeclareModuleExports)}if(r==="ES"){this.raise(e.start,Fe.AmbiguousDeclareModuleKind)}r="CommonJS";i=true}});e.kind=r||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(c._export);if(this.eat(c._default)){if(this.match(c._function)||this.match(c._class)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(c._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value;const t=Me[e];throw this.raise(this.state.start,Fe.UnsupportedDeclareExportKind,e,t)}if(this.match(c._var)||this.match(c._function)||this.match(c._class)||this.isContextual("opaque")){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(c.star)||this.match(c.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque")){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual("exports");e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?se:ee,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(c._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(c.comma))}if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(c.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(c.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(this.state.start,Fe.UnexpectedReservedUnderscore)}}checkReservedType(e,t,s){if(!Ne.has(e))return;this.raise(t,s?Fe.AssignReservedType:Fe.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.start,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,ee,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(c.eq);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual("type");e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,ee,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(c.colon)){e.supertype=this.flowParseTypeInitialiser(c.colon)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(c.eq)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.start;const s=this.startNode();const r=this.flowParseVariance();const i=this.flowParseTypeAnnotatableIdentifier();s.name=i.name;s.variance=r;s.bound=i.typeAnnotation;if(this.match(c.eq)){this.eat(c.eq);s.default=this.flowParseType()}else{if(e){this.raise(t,Fe.MissingTypeParamDefault)}}return this.finishNode(s,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.isRelational("<")||this.match(c.jsxTagStart)){this.next()}else{this.unexpected()}let s=false;do{const e=this.flowParseTypeParameter(s);t.params.push(e);if(e.default){s=true}if(!this.isRelational(">")){this.expect(c.comma)}}while(!this.isRelational(">"));this.expectRelational(">");this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");const s=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.isRelational(">")){e.params.push(this.flowParseType());if(!this.isRelational(">")){this.expect(c.comma)}}this.state.noAnonFunctionType=s;this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");while(!this.isRelational(">")){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.isRelational(">")){this.expect(c.comma)}}this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual("interface");e.extends=[];if(this.eat(c._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(c.comma))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(c.num)||this.match(c.string)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,s){e.static=t;if(this.lookahead().type===c.colon){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(c.bracketR);e.value=this.flowParseTypeInitialiser();e.variance=s;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(c.bracketR);this.expect(c.bracketR);if(this.isRelational("<")||this.match(c.parenL)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(c.question)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(c.parenL);if(this.match(c._this)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(c.parenR)){this.expect(c.comma)}}while(!this.match(c.parenR)&&!this.match(c.ellipsis)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(c.parenR)){this.expect(c.comma)}}if(this.eat(c.ellipsis)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(c.parenR);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const s=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(s);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:s,allowProto:r,allowInexact:i}){const n=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let p=false;if(t&&this.match(c.braceBarL)){this.expect(c.braceBarL);o=c.braceBarR;l=true}else{this.expect(c.braceL);o=c.braceR;l=false}a.exact=l;while(!this.match(o)){let t=false;let n=null;let o=null;const u=this.startNode();if(r&&this.isContextual("proto")){const t=this.lookahead();if(t.type!==c.colon&&t.type!==c.question){this.next();n=this.state.start;e=false}}if(e&&this.isContextual("static")){const e=this.lookahead();if(e.type!==c.colon&&e.type!==c.question){this.next();t=true}}const h=this.flowParseVariance();if(this.eat(c.bracketL)){if(n!=null){this.unexpected(n)}if(this.eat(c.bracketL)){if(h){this.unexpected(h.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(u,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(u,t,h))}}else if(this.match(c.parenL)||this.isRelational("<")){if(n!=null){this.unexpected(n)}if(h){this.unexpected(h.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(u,t))}else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();if(t.type===c.name||t.type===c.string||t.type===c.num){e=this.state.value;this.next()}}const r=this.flowParseObjectTypeProperty(u,t,n,h,e,s,i!=null?i:!l);if(r===null){p=true;o=this.state.lastTokStart}else{a.properties.push(r)}}this.flowObjectTypeSemicolon();if(o&&!this.match(c.braceR)&&!this.match(c.braceBarR)){this.raise(o,Fe.UnexpectedExplicitInexactInObject)}}this.expect(o);if(s){a.inexact=p}const u=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=n;return u}flowParseObjectTypeProperty(e,t,s,r,i,n,a){if(this.eat(c.ellipsis)){const t=this.match(c.comma)||this.match(c.semi)||this.match(c.braceR)||this.match(c.braceBarR);if(t){if(!n){this.raise(this.state.lastTokStart,Fe.InexactInsideNonObject)}else if(!a){this.raise(this.state.lastTokStart,Fe.InexactInsideExact)}if(r){this.raise(r.start,Fe.InexactVariance)}return null}if(!n){this.raise(this.state.lastTokStart,Fe.UnexpectedSpreadType)}if(s!=null){this.unexpected(s)}if(r){this.raise(r.start,Fe.SpreadVariance)}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=s!=null;e.kind=i;let a=false;if(this.isRelational("<")||this.match(c.parenL)){e.method=true;if(s!=null){this.unexpected(s)}if(r){this.unexpected(r.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(i==="get"||i==="set"){this.flowCheckGetterSetterParams(e)}if(!n&&e.key.name==="constructor"&&e.value.this){this.raise(e.value.this.start,Fe.ThisParamBannedInConstructor)}}else{if(i!=="init")this.unexpected();e.method=false;if(this.eat(c.question)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=r}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const s=e.start;const r=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.value.this.start,e.kind==="get"?Fe.GetterMayNotHaveThisParam:Fe.SetterMayNotHaveThisParam)}if(r!==t){if(e.kind==="get"){this.raise(s,m.BadGetterArity)}else{this.raise(s,m.BadSetterArity)}}if(e.kind==="set"&&e.value.rest){this.raise(s,m.BadSetterRestParameter)}}flowObjectTypeSemicolon(){if(!this.eat(c.semi)&&!this.eat(c.comma)&&!this.match(c.braceR)&&!this.match(c.braceBarR)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,s){e=e||this.state.start;t=t||this.state.startLoc;let r=s||this.flowParseRestrictedIdentifier(true);while(this.eat(c.dot)){const s=this.startNodeAt(e,t);s.qualification=r;s.id=this.flowParseRestrictedIdentifier(true);r=this.finishNode(s,"QualifiedTypeIdentifier")}return r}flowParseGenericType(e,t,s){const r=this.startNodeAt(e,t);r.typeParameters=null;r.id=this.flowParseQualifiedTypeIdentifier(e,t,s);if(this.isRelational("<")){r.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(r,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(c._typeof);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(c.bracketL);while(this.state.possuper.parseFunctionBody(e,true,s))}return super.parseFunctionBody(e,false,s)}parseFunctionBodyAndFinish(e,t,s=false){if(this.match(c.colon)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(e,t,s)}parseStatement(e,t){if(this.state.strict&&this.match(c.name)&&this.state.value==="interface"){const e=this.lookahead();if(e.type===c.name||isKeyword(e.value)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const s=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(s)){this.flowPragma=null}return s}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(c._class)||this.match(c.name)||this.match(c._function)||this.match(c._var)||this.match(c._export)){return this.flowParseDeclare(e)}}else if(this.match(c.name)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){if(this.match(c.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"||this.shouldParseEnums()&&this.state.value==="enum")){return false}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,s,r){if(!this.match(c.question))return e;if(this.state.maybeInArrowParameters){const t=this.lookaheadCharCode();if(t===44||t===61||t===58||t===41){this.setOptionalParametersError(r);return e}}this.expect(c.question);const i=this.state.clone();const n=this.state.noArrowAt;const a=this.startNodeAt(t,s);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[p,u]=this.getArrowLikeExpressions(o);if(l||u.length>0){const e=[...n];if(u.length>0){this.state=i;this.state.noArrowAt=e;for(let t=0;t1){this.raise(i.start,Fe.AmbiguousConditionalArrow)}if(l&&p.length===1){this.state=i;this.state.noArrowAt=e.concat(p[0].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=n;this.expect(c.colon);a.test=e;a.consequent=o;a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(undefined,undefined));return this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(c.colon);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const s=[e];const r=[];while(s.length!==0){const e=s.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{r.push(e)}s.push(e.body)}else if(e.type==="ConditionalExpression"){s.push(e.consequent);s.push(e.alternate)}}if(t){r.forEach(e=>this.finishArrowValidation(e));return[r,[]]}return partition(r,e=>e.params.every(e=>this.isAssignable(e,true)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingComma,false);this.scope.enter(R|D);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let s;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);s=t();this.state.noArrowParamsConversionAt.pop()}else{s=t()}return s}parseParenItem(e,t,s){e=super.parseParenItem(e,t,s);if(this.eat(c.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(c.colon)){const r=this.startNodeAt(t,s);r.expression=e;r.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(r,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();this.next();if(this.match(c.braceL)){e.specifiers=this.parseExportSpecifiers();this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual("enum")){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual("type")&&this.lookahead().type===c.star){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const t=this.state.start;const s=super.maybeParseExportNamespaceSpecifier(e);if(s&&e.exportKind==="type"){this.unexpected(t)}return s}parseClassId(e,t,s){super.parseClassId(e,t,s);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}}parseClassMember(e,t,s){const r=this.state.start;if(this.isContextual("declare")){if(this.parseClassMemberFromModifier(e,t)){return}t.declare=true}super.parseClassMember(e,t,s);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(r,Fe.DeclareClassElement)}else if(t.value){this.raise(t.value.start,Fe.DeclareClassFieldInitializer)}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(this.state.pos,m.InvalidIdentifier,t)}this.finishToken(c.name,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(c.braceBarL,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(c.relational,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(c.questionDot,2)}return this.finishOp(c.question,1)}else if(isIteratorStart(e,t)){this.state.pos+=2;return this.readIterator()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){if(e.type==="TypeCastExpression"){return this.isAssignable(e.expression,t)}else{return super.isAssignable(e,t)}}toAssignable(e,t=false){if(e.type==="TypeCastExpression"){return super.toAssignable(this.typeCastToParameter(e),t)}else{return super.toAssignable(e,t)}}toAssignableList(e,t,s){for(let t=0;t1||!t)){this.raise(i.typeAnnotation.start,Fe.TypeCastInPattern)}}return e}parseArrayLike(e,t,s,r){const i=super.parseArrayLike(e,t,s,r);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(i.elements)}return i}checkLVal(e,...t){if(e.type!=="TypeCastExpression"){return super.checkLVal(e,...t)}}parseClassProperty(e){if(this.match(c.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(c.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(c.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(c.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,s,r,i,n){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,s,r,i,n);if(t.params&&i){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Fe.ThisParamBannedInConstructor)}}else if(t.type==="MethodDefinition"&&i&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Fe.ThisParamBannedInConstructor)}}}pushClassPrivateMethod(e,t,s,r){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,s,r)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(c.comma))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const s=t[0];if(this.isThisParam(s)&&e.kind==="get"){this.raise(s.start,Fe.GetterMayNotHaveThisParam)}else if(this.isThisParam(s)){this.raise(s.start,Fe.SetterMayNotHaveThisParam)}}}parsePropertyName(e,t){const s=this.flowParseVariance();const r=super.parsePropertyName(e,t);e.variance=s;return r}parseObjPropValue(e,t,s,r,i,n,a,o){if(e.variance){this.unexpected(e.variance.start)}delete e.variance;let l;if(this.isRelational("<")&&!a){l=this.flowParseTypeParameterDeclaration();if(!this.match(c.parenL))this.unexpected()}super.parseObjPropValue(e,t,s,r,i,n,a,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(c.question)){if(e.type!=="Identifier"){this.raise(e.start,Fe.OptionalBindingPattern)}if(this.isThisParam(e)){this.raise(e.start,Fe.ThisParamMayNotBeOptional)}e.optional=true}if(this.match(c.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(e.start,Fe.ThisParamAnnotationRequired)}if(this.match(c.eq)&&this.isThisParam(e)){this.raise(e.start,Fe.ThisParamNoDefault)}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,s){const r=super.parseMaybeDefault(e,t,s);if(r.type==="AssignmentPattern"&&r.typeAnnotation&&r.right.startsuper.parseMaybeAssign(e,t),r);if(!i.error)return i.node;const{context:s}=this.state;const n=s[s.length-1];if(n===x.j_oTag){s.length-=2}else if(n===x.j_expr){s.length-=1}}if((s=i)!=null&&s.error||this.isRelational("<")){var n,a;r=r||this.state.clone();let s;const o=this.tryParse(r=>{var i;s=this.flowParseTypeParameterDeclaration();const n=this.forwardNoArrowParamsConversionAt(s,()=>{const r=super.parseMaybeAssign(e,t);this.resetStartLocationFromNode(r,s);return r});if((i=n.extra)!=null&&i.parenthesized)r();const a=this.maybeUnwrapTypeCastExpression(n);if(a.type!=="ArrowFunctionExpression")r();a.typeParameters=s;this.resetStartLocationFromNode(a,s);return n},r);let l=null;if(o.node&&this.maybeUnwrapTypeCastExpression(o.node).type==="ArrowFunctionExpression"){if(!o.error&&!o.aborted){if(o.node.async){this.raise(s.start,Fe.UnexpectedTypeParameterBeforeAsyncArrowFunction)}return o.node}l=o.node}if((n=i)!=null&&n.node){this.state=i.failState;return i.node}if(l){this.state=o.failState;return l}if((a=i)!=null&&a.thrown)throw i.error;if(o.thrown)throw o.error;throw this.raise(s.start,Fe.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(c.colon)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const s=this.startNode();[s.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(c.arrow))this.unexpected();return s});if(t.thrown)return null;if(t.error)this.state=t.failState;e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(c.colon)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,s){if(s&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t0){this.raise(e.params[t].start,Fe.ThisParamMustBeFirst)}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,s,r){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const r=this.startNodeAt(t,s);r.callee=e;r.arguments=this.parseCallExpressionArguments(c.parenR,false);e=this.finishNode(r,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.isRelational("<")){const i=this.state.clone();const n=this.tryParse(e=>this.parseAsyncArrowWithTypeParameters(t,s)||e(),i);if(!n.error&&!n.aborted)return n.node;const a=this.tryParse(()=>super.parseSubscripts(e,t,s,r),i);if(a.node&&!a.error)return a.node;if(n.node){this.state=n.failState;return n.node}if(a.node){this.state=a.failState;return a.node}throw n.error||a.error}return super.parseSubscripts(e,t,s,r)}parseSubscript(e,t,s,r,i){if(this.match(c.questionDot)&&this.isLookaheadToken_lt()){i.optionalChainMember=true;if(r){i.stop=true;return e}this.next();const n=this.startNodeAt(t,s);n.callee=e;n.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(c.parenL);n.arguments=this.parseCallExpressionArguments(c.parenR,false);n.optional=true;return this.finishCallExpression(n,true)}else if(!r&&this.shouldParseTypes()&&this.isRelational("<")){const r=this.startNodeAt(t,s);r.callee=e;const n=this.tryParse(()=>{r.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew();this.expect(c.parenL);r.arguments=this.parseCallExpressionArguments(c.parenR,false);if(i.optionalChainMember)r.optional=false;return this.finishCallExpression(r,i.optionalChainMember)});if(n.node){if(n.error)this.state=n.failState;return n.node}}return super.parseSubscript(e,t,s,r,i)}parseNewArguments(e){let t=null;if(this.shouldParseTypes()&&this.isRelational("<")){t=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node}e.typeArguments=t;super.parseNewArguments(e)}parseAsyncArrowWithTypeParameters(e,t){const s=this.startNodeAt(e,t);this.parseFunctionParams(s);if(!this.parseArrow(s))return;return this.parseArrowExpression(s,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(c.braceBarR,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const s=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(this.state.pos,Fe.UnterminatedFlowComment)}return s}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){this.unexpected(null,Fe.NestedFlowComment)}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1){throw this.raise(this.state.pos-2,m.UnterminatedComment)}this.state.pos=e+3;return}return super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const s=this.input.charCodeAt(t+e);const r=this.input.charCodeAt(t+e+1);if(s===58&&r===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(s===58&&r!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(this.state.pos,m.UnterminatedComment)}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:s}){this.raise(e,Fe.EnumBooleanMemberNotInitialized,s,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:s}){const r=s[0].toUpperCase()+s.slice(1);this.raise(e,Fe.EnumInvalidMemberName,s,r,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:s}){this.raise(e,Fe.EnumDuplicateMemberName,s,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,Fe.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:s}){return this.raise(e,s===null?Fe.EnumInvalidExplicitTypeUnknownSupplied:Fe.EnumInvalidExplicitType,t,s)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:s,memberName:r}){let i=null;switch(s){case"boolean":case"number":case"string":i=Fe.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":i=Fe.EnumInvalidMemberInitializerSymbolType;break;default:i=Fe.EnumInvalidMemberInitializerUnknownType}return this.raise(e,i,t,r,s)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:s}){this.raise(e,Fe.EnumNumberMemberNotInitialized,t,s)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,Fe.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start;const t=()=>this.match(c.comma)||this.match(c.braceR);switch(this.state.type){case c.num:{const s=this.parseNumericLiteral(this.state.value);if(t()){return{type:"number",pos:s.start,value:s}}return{type:"invalid",pos:e}}case c.string:{const s=this.parseStringLiteral(this.state.value);if(t()){return{type:"string",pos:s.start,value:s}}return{type:"invalid",pos:e}}case c._true:case c._false:{const s=this.parseBooleanLiteral(this.match(c._true));if(t()){return{type:"boolean",pos:s.start,value:s}}return{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;const t=this.parseIdentifier(true);const s=this.eat(c.eq)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:s}}flowEnumCheckExplicitTypeMismatch(e,t,s){const{explicitType:r}=t;if(r===null){return}if(r!==s){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const s=new Set;const r={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let i=false;while(!this.match(c.braceR)){if(this.eat(c.ellipsis)){i=true;break}const n=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.flowEnumErrorInvalidMemberName(a.start,{enumName:e,memberName:l})}if(s.has(l)){this.flowEnumErrorDuplicateMemberName(a.start,{enumName:e,memberName:l})}s.add(l);const p={enumName:e,explicitType:t,memberName:l};n.id=a;switch(o.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"boolean");n.init=o.value;r.booleanMembers.push(this.finishNode(n,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"number");n.init=o.value;r.numberMembers.push(this.finishNode(n,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"string");n.init=o.value;r.stringMembers.push(this.finishNode(n,"EnumStringMember"));break}case"invalid":{throw this.flowEnumErrorInvalidMemberInitializer(o.pos,p)}case"none":{switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.pos,p);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.pos,p);break;default:r.defaultedMembers.push(this.finishNode(n,"EnumDefaultedMember"))}}}if(!this.match(c.braceR)){this.expect(c.comma)}}return{members:r,hasUnknownMembers:i}}flowEnumStringMembers(e,t,{enumName:s}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:s})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:s})}return e}}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual("of")){if(!this.match(c.name)){throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t})}return t}return null}flowEnumBody(e,{enumName:t,nameLoc:s}){const r=this.flowEnumParseExplicitType({enumName:t});this.expect(c.braceL);const{members:i,hasUnknownMembers:n}=this.flowEnumMembers({enumName:t,explicitType:r});e.hasUnknownMembers=n;switch(r){case"boolean":e.explicitType=true;e.members=i.booleanMembers;this.expect(c.braceR);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=i.numberMembers;this.expect(c.braceR);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(c.braceR);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=i.defaultedMembers;this.expect(c.braceR);return this.finishNode(e,"EnumSymbolBody");default:{const r=()=>{e.members=[];this.expect(c.braceR);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const n=i.booleanMembers.length;const a=i.numberMembers.length;const o=i.stringMembers.length;const l=i.defaultedMembers.length;if(!n&&!a&&!o&&!l){return r()}else if(!n&&!a){e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(c.braceR);return this.finishNode(e,"EnumStringBody")}else if(!a&&!o&&n>=l){for(const e of i.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.booleanMembers;this.expect(c.braceR);return this.finishNode(e,"EnumBooleanBody")}else if(!n&&!o&&a>=l){for(const e of i.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.numberMembers;this.expect(c.braceR);return this.finishNode(e,"EnumNumberBody")}else{this.flowEnumErrorInconsistentMemberValues(s,{enumName:t});return r()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start});return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}});const Ue={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"};const We=/^[\da-fA-F]+$/;const qe=/^\d+$/;const He=makeErrorTemplates({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:"Expected corresponding JSX closing tag for <%0>.",MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"},y.SyntaxError);x.j_oTag=new TokContext("...",true);c.jsxName=new TokenType("jsxName");c.jsxText=new TokenType("jsxText",{beforeExpr:true});c.jsxTagStart=new TokenType("jsxTagStart",{startsExpr:true});c.jsxTagEnd=new TokenType("jsxTagEnd");c.jsxTagStart.updateContext=(e=>{e.push(x.j_expr,x.j_oTag)});function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var ze=e=>(class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,He.UnterminatedJsxContent)}const s=this.input.charCodeAt(this.state.pos);switch(s){case 60:case 123:if(this.state.pos===this.state.start){if(s===60&&this.state.exprAllowed){++this.state.pos;return this.finishToken(c.jsxTagStart)}return super.getTokenFromCode(s)}e+=this.input.slice(t,this.state.pos);return this.finishToken(c.jsxText,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(s)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let s;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;s=e?"\n":"\r\n"}else{s=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return s}jsxReadString(e){let t="";let s=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,m.UnterminatedString)}const r=this.input.charCodeAt(this.state.pos);if(r===e)break;if(r===38){t+=this.input.slice(s,this.state.pos);t+=this.jsxReadEntity();s=this.state.pos}else if(isNewLine(r)){t+=this.input.slice(s,this.state.pos);t+=this.jsxReadNewLine(false);s=this.state.pos}else{++this.state.pos}}t+=this.input.slice(s,this.state.pos++);return this.finishToken(c.string,t)}jsxReadEntity(){let e="";let t=0;let s;let r=this.input[this.state.pos];const i=++this.state.pos;while(this.state.pos(class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return this.match(c.name)}tsTokenCanFollowModifier(){return(this.match(c.bracketL)||this.match(c.braceL)||this.match(c.star)||this.match(c.ellipsis)||this.match(c.privateName)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e){if(!this.match(c.name)){return undefined}const t=this.state.value;if(e.indexOf(t)!==-1&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return t}return undefined}tsParseModifiers(e,t,s,r){const i=(t,s,r,i)=>{if(s===r&&e[i]){this.raise(t,Ve.InvalidModifiersOrder,r,i)}};const n=(t,s,r,i)=>{if(e[r]&&s===i||e[i]&&s===r){this.raise(t,Ve.IncompatibleModifiers,r,i)}};for(;;){const a=this.state.start;const o=this.tsParseModifier(t.concat(s!=null?s:[]));if(!o)break;if(tsIsAccessModifier(o)){if(e.accessibility){this.raise(a,Ve.DuplicateAccessibilityModifier)}else{i(a,o,o,"override");i(a,o,o,"static");i(a,o,o,"readonly");e.accessibility=o}}else{if(Object.hasOwnProperty.call(e,o)){this.raise(a,Ve.DuplicateModifier,o)}else{i(a,o,"static","readonly");i(a,o,"static","override");i(a,o,"override","readonly");i(a,o,"abstract","override");n(a,o,"declare","override");n(a,o,"static","abstract")}e[o]=true}if(s!=null&&s.includes(o)){this.raise(a,r,o)}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(c.braceR);case"HeritageClauseElement":return this.match(c.braceL);case"TupleElementTypes":return this.match(c.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const s=[];while(!this.tsIsListTerminator(e)){s.push(t())}return s}tsParseDelimitedList(e,t){return nonNull(this.tsParseDelimitedListWorker(e,t,true))}tsParseDelimitedListWorker(e,t,s){const r=[];for(;;){if(this.tsIsListTerminator(e)){break}const i=t();if(i==null){return undefined}r.push(i);if(this.eat(c.comma)){continue}if(this.tsIsListTerminator(e)){break}if(s){this.expect(c.comma)}return undefined}return r}tsParseBracketedList(e,t,s,r){if(!r){if(s){this.expect(c.bracketL)}else{this.expectRelational("<")}}const i=this.tsParseDelimitedList(e,t);if(s){this.expect(c.bracketR)}else{this.expectRelational(">")}return i}tsParseImportType(){const e=this.startNode();this.expect(c._import);this.expect(c.parenL);if(!this.match(c.string)){this.raise(this.state.start,Ve.UnsupportedImportTypeArgument)}e.argument=this.parseExprAtom();this.expect(c.parenR);if(this.eat(c.dot)){e.qualifier=this.tsParseEntityName(true)}if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();while(this.eat(c.dot)){const s=this.startNodeAtNode(t);s.left=t;s.right=this.parseIdentifier(e);t=this.finishNode(s,"TSQualifiedName")}return t}tsParseTypeReference(){const e=this.startNode();e.typeName=this.tsParseEntityName(false);if(!this.hasPrecedingLineBreak()&&this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(c._typeof);if(this.match(c._import)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName(true)}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();e.name=this.tsParseTypeParameterName();e.constraint=this.tsEatThenParseType(c._extends);e.default=this.tsEatThenParseType(c.eq);return this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<")){return this.tsParseTypeParameters()}}tsParseTypeParameters(){const e=this.startNode();if(this.isRelational("<")||this.match(c.jsxTagStart)){this.next()}else{this.unexpected()}e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),false,true);if(e.params.length===0){this.raise(e.start,Ve.EmptyTypeParameters)}return this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type===c._const){this.next();return this.tsParseTypeReference()}return null}tsFillSignature(e,t){const s=e===c.arrow;t.typeParameters=this.tsTryParseTypeParameters();this.expect(c.parenL);t.parameters=this.tsParseBindingListForSignature();if(s){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(c.parenR,41).map(e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(e.start,Ve.UnsupportedSignatureParameterKind,e.type)}return e})}tsParseTypeMemberSemicolon(){if(!this.eat(c.comma)&&!this.isLineTerminator()){this.expect(c.semi)}}tsParseSignatureMember(e,t){this.tsFillSignature(c.colon,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();return this.eat(c.name)&&this.match(c.colon)}tsTryParseIndexSignature(e){if(!(this.match(c.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(c.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(c.bracketR);e.parameters=[t];const s=this.tsTryParseTypeAnnotation();if(s)e.typeAnnotation=s;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(c.question))e.optional=true;const s=e;if(this.match(c.parenL)||this.isRelational("<")){if(t){this.raise(e.start,Ve.ReadonlyForMethodSignature)}const r=s;if(r.kind&&this.isRelational("<")){this.raise(this.state.pos,Ve.AccesorCannotHaveTypeParameters)}this.tsFillSignature(c.colon,r);this.tsParseTypeMemberSemicolon();if(r.kind==="get"){if(r.parameters.length>0){this.raise(this.state.pos,m.BadGetterArity);if(this.isThisParam(r.parameters[0])){this.raise(this.state.pos,Ve.AccesorCannotDeclareThisParameter)}}}else if(r.kind==="set"){if(r.parameters.length!==1){this.raise(this.state.pos,m.BadSetterArity)}else{const e=r.parameters[0];if(this.isThisParam(e)){this.raise(this.state.pos,Ve.AccesorCannotDeclareThisParameter)}if(e.type==="Identifier"&&e.optional){this.raise(this.state.pos,Ve.SetAccesorCannotHaveOptionalParameter)}if(e.type==="RestElement"){this.raise(this.state.pos,Ve.SetAccesorCannotHaveRestParameter)}}if(r.typeAnnotation){this.raise(r.typeAnnotation.start,Ve.SetAccesorCannotHaveReturnType)}}else{r.kind="method"}return this.finishNode(r,"TSMethodSignature")}else{const e=s;if(t)e.readonly=true;const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(c.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(c._new)){const t=this.startNode();this.next();if(this.match(c.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],Ve.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e,false);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;this.parsePropertyName(e,false)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(c.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(c.braceR);return e}tsIsStartOfMappedType(){this.next();if(this.eat(c.plusMin)){return this.isContextual("readonly")}if(this.isContextual("readonly")){this.next()}if(!this.match(c.bracketL)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(c._in)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.tsParseTypeParameterName();e.constraint=this.tsExpectThenParseType(c._in);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(c.braceL);if(this.match(c.plusMin)){e.readonly=this.state.value;this.next();this.expectContextual("readonly")}else if(this.eatContextual("readonly")){e.readonly=true}this.expect(c.bracketL);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual("as")?this.tsParseType():null;this.expect(c.bracketR);if(this.match(c.plusMin)){e.optional=this.state.value;this.next();this.expect(c.question)}else if(this.eat(c.question)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(c.braceR);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let s=null;e.elementTypes.forEach(e=>{var r;let{type:i}=e;if(t&&i!=="TSRestType"&&i!=="TSOptionalType"&&!(i==="TSNamedTupleMember"&&e.optional)){this.raise(e.start,Ve.OptionalTypeBeforeRequired)}t=t||i==="TSNamedTupleMember"&&e.optional||i==="TSOptionalType";if(i==="TSRestType"){e=e.typeAnnotation;i=e.type}const n=i==="TSNamedTupleMember";s=(r=s)!=null?r:n;if(s!==n){this.raise(e.start,Ve.MixedLabeledAndUnlabeledElements)}});return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const s=this.eat(c.ellipsis);let r=this.tsParseType();const i=this.eat(c.question);const n=this.eat(c.colon);if(n){const e=this.startNodeAtNode(r);e.optional=i;if(r.type==="TSTypeReference"&&!r.typeParameters&&r.typeName.type==="Identifier"){e.label=r.typeName}else{this.raise(r.start,Ve.InvalidTupleMemberLabel);e.label=r}e.elementType=this.tsParseType();r=this.finishNode(e,"TSNamedTupleMember")}else if(i){const e=this.startNodeAtNode(r);e.typeAnnotation=r;r=this.finishNode(e,"TSOptionalType")}if(s){const s=this.startNodeAt(e,t);s.typeAnnotation=r;r=this.finishNode(s,"TSRestType")}return r}tsParseParenthesizedType(){const e=this.startNode();this.expect(c.parenL);e.typeAnnotation=this.tsParseType();this.expect(c.parenR);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const s=this.startNode();if(e==="TSConstructorType"){s.abstract=!!t;if(t)this.next();this.next()}this.tsFillSignature(c.arrow,s);return this.finishNode(s,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case c.num:case c.bigint:case c.string:case c._true:case c._false:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case c.name:case c._void:case c._null:{const e=this.match(c._void)?"TSVoidKeyword":this.match(c._null)?"TSNullKeyword":keywordTypeFromName(this.state.value);if(e!==undefined&&this.lookaheadCharCode()!==46){const t=this.startNode();this.next();return this.finishNode(t,e)}return this.tsParseTypeReference()}case c.string:case c.num:case c.bigint:case c._true:case c._false:return this.tsParseLiteralTypeNode();case c.plusMin:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==c.num&&t.type!==c.bigint){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case c._this:return this.tsParseThisTypeOrThisTypePredicate();case c._typeof:return this.tsParseTypeQuery();case c._import:return this.tsParseImportType();case c.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case c.bracketL:return this.tsParseTupleType();case c.parenL:return this.tsParseParenthesizedType();case c.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(c.bracketL)){if(this.match(c.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(c.bracketR);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(c.bracketR);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(e){const t=this.startNode();this.expectContextual(e);t.operator=e;t.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(e==="readonly"){this.tsCheckTypeAnnotationForReadOnly(t)}return this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,Ve.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();t.name=this.tsParseTypeParameterName();e.typeParameter=this.finishNode(t,"TSTypeParameter");return this.finishNode(e,"TSInferType")}tsParseTypeOperatorOrHigher(){const e=["keyof","unique","readonly"].find(e=>this.isContextual(e));return e?this.tsParseTypeOperator(e):this.isContextual("infer")?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}tsParseUnionOrIntersectionType(e,t,s){const r=this.startNode();const i=this.eat(s);const n=[];do{n.push(t())}while(this.eat(s));if(n.length===1&&!i){return n[0]}r.types=n;return this.finishNode(r,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),c.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),c.bitwiseOR)}tsIsStartOfFunctionType(){if(this.isRelational("<")){return true}return this.match(c.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(c.name)||this.match(c._this)){this.next();return true}if(this.match(c.braceL)){let e=1;this.next();while(e>0){if(this.match(c.braceL)){++e}else if(this.match(c.braceR)){--e}this.next()}return true}if(this.match(c.bracketL)){let e=1;this.next();while(e>0){if(this.match(c.bracketL)){++e}else if(this.match(c.bracketR)){--e}this.next()}return true}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(c.parenR)||this.match(c.ellipsis)){return true}if(this.tsSkipParameterStart()){if(this.match(c.colon)||this.match(c.comma)||this.match(c.question)||this.match(c.eq)){return true}if(this.match(c.parenR)){this.next();if(this.match(c.arrow)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const s=this.startNode();const r=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(r&&this.match(c._this)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){s.parameterName=e;s.asserts=true;s.typeAnnotation=null;e=this.finishNode(s,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,s);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i){if(!r){return this.tsParseTypeAnnotation(false,t)}s.parameterName=this.parseIdentifier();s.asserts=r;s.typeAnnotation=null;t.typeAnnotation=this.finishNode(s,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const n=this.tsParseTypeAnnotation(false);s.parameterName=i;s.typeAnnotation=n;s.asserts=r;t.typeAnnotation=this.finishNode(s,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(c.colon)?this.tsParseTypeOrTypePredicateAnnotation(c.colon):undefined}tsTryParseTypeAnnotation(){return this.match(c.colon)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(c.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(!this.match(c.name)||this.state.value!=="asserts"||this.hasPrecedingLineBreak()){return false}const e=this.state.containsEsc;this.next();if(!this.match(c.name)&&!this.match(c._this)){return false}if(e){this.raise(this.state.lastTokStart,m.InvalidEscapedReservedWord,"asserts")}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType(()=>{if(e)this.expect(c.colon);t.typeAnnotation=this.tsParseType()});return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(c._extends)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsParseNonConditionalType();this.expect(c.question);t.trueType=this.tsParseType();this.expect(c.colon);t.falseType=this.tsParseType();return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual("abstract")&&this.lookahead().type===c._new}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(c._new)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expectRelational(">");e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start;const s=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));if(!s.length){this.raise(t,Ve.EmptyHeritageClauseType,e)}return s}tsParseExpressionWithTypeArguments(){const e=this.startNode();e.expression=this.tsParseEntityName(false);if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){if(this.match(c.name)){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript interface declaration",re)}else{e.id=null;this.raise(this.state.start,Ve.MissingInterfaceName)}e.typeParameters=this.tsTryParseTypeParameters();if(this.eat(c._extends)){e.extends=this.tsParseHeritageClause("extends")}const t=this.startNode();t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(t,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript type alias",ie);e.typeParameters=this.tsTryParseTypeParameters();e.typeAnnotation=this.tsInType(()=>{this.expect(c.eq);if(this.isContextual("intrinsic")&&this.lookahead().type!==c.dot){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()});this.semicolon();return this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){const t=this.state.inType;this.state.inType=true;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>{e();return this.tsParseType()})}tsParseEnumMember(){const e=this.startNode();e.id=this.match(c.string)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(c.eq)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){if(t)e.const=true;e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript enum declaration",t?ce:ne);this.expect(c.braceL);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(c.braceR);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(S);this.expect(c.braceL);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,c.braceR);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkLVal(e.id,"module or namespace declaration",pe)}if(this.eat(c.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(U);this.prodParam.enter(je);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual("global")){e.global=true;e.id=this.parseIdentifier()}else if(this.match(c.string)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(c.braceL)){this.scope.enter(U);this.prodParam.enter(je);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkLVal(e.id,"import equals declaration",ee);this.expect(c.eq);const s=this.tsParseModuleReference();if(e.importKind==="type"&&s.type!=="TSExternalModuleReference"){this.raise(s.start,Ve.ImportAliasHasImportType)}e.moduleReference=s;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual("require");this.expect(c.parenL);if(!this.match(c.string)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(c.parenR);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const s=e();this.state=t;return s}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const s=e();if(s!==undefined&&s!==false){return s}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let s;if(this.isContextual("let")){t=c._var;s="let"}return this.tsInAmbientContext(()=>{switch(t){case c._function:e.declare=true;return this.parseFunctionStatement(e,false,true);case c._class:e.declare=true;return this.parseClass(e,true,false);case c._const:if(this.match(c._const)&&this.isLookaheadContextual("enum")){this.expect(c._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}case c._var:s=s||this.state.value;return this.parseVarStatement(e,s);case c.name:{const t=this.state.value;if(t==="global"){return this.tsParseAmbientExternalModuleDeclaration(e)}else{return this.tsParseDeclaration(e,t,true)}}}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(c.braceL)){this.scope.enter(U);this.prodParam.enter(je);const s=e;s.global=true;s.id=t;s.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(s,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,s){switch(t){case"abstract":if(this.tsCheckLineTerminator(s)&&(this.match(c._class)||this.match(c.name))){return this.tsParseAbstractDeclaration(e)}break;case"enum":if(s||this.match(c.name)){if(s)this.next();return this.tsParseEnumDeclaration(e,false)}break;case"interface":if(this.tsCheckLineTerminator(s)&&this.match(c.name)){return this.tsParseInterfaceDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(s)){if(this.match(c.string)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(this.match(c.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(s)&&this.match(c.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(s)&&this.match(c.name)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<")){return undefined}const s=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const r=this.tsTryParseAndCatch(()=>{const s=this.startNodeAt(e,t);s.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(s);s.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(c.arrow);return s});this.state.maybeInArrowParameters=s;if(!r){return undefined}return this.parseArrowExpression(r,null,true)}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType(()=>this.tsInNoContext(()=>{this.expectRelational("<");return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}));if(e.params.length===0){this.raise(e.start,Ve.EmptyTypeArguments)}this.expectRelational(">");return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(c.name)){switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return true}}return false}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const s=this.state.start;const r=this.state.startLoc;let i;let n=false;let a=false;if(e!==undefined){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]);i=t.accessibility;a=t.override;n=t.readonly;if(e===false&&(i||n||a)){this.raise(s,Ve.UnexpectedParameterModifier)}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(i||n||a){const e=this.startNodeAt(s,r);if(t.length){e.decorators=t}if(i)e.accessibility=i;if(n)e.readonly=n;if(a)e.override=a;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(e.start,Ve.UnsupportedParameterPropertyKind)}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}parseFunctionBodyAndFinish(e,t,s=false){if(this.match(c.colon)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(c.colon)}const r=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"?"TSDeclareMethod":undefined;if(r&&!this.match(c.braceL)&&this.isLineTerminator()){this.finishNode(e,r);return}if(r==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(e.start,Ve.DeclareFunctionHasImplementation);if(e.declare){super.parseFunctionBodyAndFinish(e,r,s);return}}super.parseFunctionBodyAndFinish(e,t,s)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkLVal(e.id,"function name",ae)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(e.typeAnnotation.start,Ve.UnexpectedTypeAnnotation)}})}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,s,r,i){if(!this.hasPrecedingLineBreak()&&this.match(c.bang)){this.state.exprAllowed=false;this.next();const r=this.startNodeAt(t,s);r.expression=e;return this.finishNode(r,"TSNonNullExpression")}let n=false;if(this.match(c.questionDot)&&this.lookaheadCharCode()===60){if(r){i.stop=true;return e}i.optionalChainMember=n=true;this.next()}if(this.isRelational("<")){let a;const o=this.tsTryParseAndCatch(()=>{if(!r&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,s);if(e){return e}}const o=this.startNodeAt(t,s);o.callee=e;const l=this.tsParseTypeArguments();if(l){if(n&&!this.match(c.parenL)){a=this.state.pos;this.unexpected()}if(!r&&this.eat(c.parenL)){o.arguments=this.parseCallExpressionArguments(c.parenR,false);this.tsCheckForInvalidTypeCasts(o.arguments);o.typeParameters=l;if(i.optionalChainMember){o.optional=n}return this.finishCallExpression(o,i.optionalChainMember)}else if(this.match(c.backQuote)){const r=this.parseTaggedTemplateExpression(e,t,s,i);r.typeParameters=l;return r}}this.unexpected()});if(a){this.unexpected(a,c.parenL)}if(o)return o}return super.parseSubscript(e,t,s,r,i)}parseNewArguments(e){if(this.isRelational("<")){const t=this.tsTryParseAndCatch(()=>{const e=this.tsParseTypeArguments();if(!this.match(c.parenL))this.unexpected();return e});if(t){e.typeParameters=t}}super.parseNewArguments(e)}parseExprOp(e,t,s,r){if(nonNull(c._in.binop)>r&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const i=this.startNodeAt(t,s);i.expression=e;const n=this.tsTryNextParseConstantContext();if(n){i.typeAnnotation=n}else{i.typeAnnotation=this.tsNextThenParseType()}this.finishNode(i,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(i,t,s,r)}return super.parseExprOp(e,t,s,r)}checkReservedWord(e,t,s,r){}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(this.match(c.name)||this.match(c.star)||this.match(c.braceL)){let t=this.lookahead();if(this.isContextual("type")&&t.type!==c.comma&&!(t.type===c.name&&t.value==="from")&&t.type!==c.eq){e.importKind="type";this.next();t=this.lookahead()}if(this.match(c.name)&&t.type===c.eq){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(t.start,Ve.TypeImportCannotSpecifyDefaultAndNamed)}return t}parseExport(e){if(this.match(c._import)){this.next();if(this.isContextual("type")&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(c.eq)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual("as")){const t=e;this.expectContextual("namespace");t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual("type")&&this.lookahead().type===c.braceL){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===c._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.state.value==="interface"){const e=this.startNode();this.next();const t=this.tsParseInterfaceDeclaration(e);if(t)return t}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===c._const){const e=this.lookahead();if(e.type===c.name&&e.value==="enum"){const e=this.startNode();this.expect(c._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!e[t]})}parseClassMember(e,t,s){const r=["declare","private","public","protected","override","abstract","readonly"];this.tsParseModifiers(t,r.concat(["static"]));const i=()=>{const i=!!t.static;if(i&&this.eat(c.braceL)){if(this.tsHasSomeModifiers(t,r)){this.raise(this.state.pos,Ve.StaticBlockCannotHaveModifier)}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,s,i)}};if(t.declare){this.tsInAmbientContext(i)}else{i()}}parseClassMemberWithIsStatic(e,t,s,r){const i=this.tsTryParseIndexSignature(t);if(i){e.body.push(i);if(t.abstract){this.raise(t.start,Ve.IndexSignatureHasAbstract)}if(t.accessibility){this.raise(t.start,Ve.IndexSignatureHasAccessibility,t.accessibility)}if(t.declare){this.raise(t.start,Ve.IndexSignatureHasDeclare)}if(t.override){this.raise(t.start,Ve.IndexSignatureHasOverride)}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(t.start,Ve.NonAbstractClassHasAbstractMethod)}if(t.override){if(!s.hadSuperClass){this.raise(t.start,Ve.OverrideNotInSubClass)}}super.parseClassMemberWithIsStatic(e,t,s,r)}parsePostMemberNameModifiers(e){const t=this.eat(c.question);if(t)e.optional=true;if(e.readonly&&this.match(c.parenL)){this.raise(e.start,Ve.ClassMethodHasReadonly)}if(e.declare&&this.match(c.parenL)){this.raise(e.start,Ve.ClassMethodHasDeclare)}}parseExpressionStatement(e,t){const s=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return s||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,s,r){if(!this.state.maybeInArrowParameters||!this.match(c.question)){return super.parseConditional(e,t,s,r)}const i=this.tryParse(()=>super.parseConditional(e,t,s));if(!i.node){if(i.error){super.setOptionalParametersError(r,i.error)}return e}if(i.error)this.state=i.failState;return i.node}parseParenItem(e,t,s){e=super.parseParenItem(e,t,s);if(this.eat(c.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(c.colon)){const r=this.startNodeAt(t,s);r.expression=e;r.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(r,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start;const s=this.state.startLoc;const r=this.eatContextual("declare");if(r&&(this.isContextual("declare")||!this.shouldParseExportDeclaration())){throw this.raise(this.state.start,Ve.ExpectedAmbientAfterExportDeclare)}let i;if(this.match(c.name)){i=this.tsTryParseExportDeclaration()}if(!i){i=super.parseExportDeclaration(e)}if(i&&(i.type==="TSInterfaceDeclaration"||i.type==="TSTypeAliasDeclaration"||r)){e.exportKind="type"}if(i&&r){this.resetStartLocation(i,t,s);i.declare=true}return i}parseClassId(e,t,s){if((!t||s)&&this.isContextual("implements")){return}super.parseClassId(e,t,s,e.declare?ae:Z);const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(c.bang)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(c.eq)){this.raise(this.state.start,Ve.DeclareClassFieldHasInitializer)}if(e.abstract&&this.match(c.eq)){const{key:t}=e;this.raise(this.state.start,Ve.AbstractPropertyHasInitializer,t.type==="Identifier"&&!e.computed?t.name:`[${this.input.slice(t.start,t.end)}]`)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(e.start,Ve.PrivateElementHasAbstract)}if(e.accessibility){this.raise(e.start,Ve.PrivateElementHasAccessibility,e.accessibility)}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,s,r,i,n){const a=this.tsTryParseTypeParameters();if(a&&i){this.raise(a.start,Ve.ConstructorHasTypeParameters)}if(t.declare&&(t.kind==="get"||t.kind==="set")){this.raise(t.start,Ve.DeclareAccessor,t.kind)}if(a)t.typeParameters=a;super.pushClassMethod(e,t,s,r,i,n)}pushClassPrivateMethod(e,t,s,r){const i=this.tsTryParseTypeParameters();if(i)t.typeParameters=i;super.pushClassPrivateMethod(e,t,s,r)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.tsParseTypeArguments()}if(this.eatContextual("implements")){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const s=this.tsTryParseTypeParameters();if(s)e.typeParameters=s;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const s=this.tsTryParseTypeParameters();if(s)e.typeParameters=s;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&this.eat(c.bang)){e.definite=true}const s=this.tsTryParseTypeAnnotation();if(s){e.id.typeAnnotation=s;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(c.colon)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,s,r,i,n,a,o;let l;let p;let u;if(this.hasPlugin("jsx")&&(this.match(c.jsxTagStart)||this.isRelational("<"))){l=this.state.clone();p=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!p.error)return p.node;const{context:t}=this.state;if(t[t.length-1]===x.j_oTag){t.length-=2}else if(t[t.length-1]===x.j_expr){t.length-=1}}if(!((t=p)!=null&&t.error)&&!this.isRelational("<")){return super.parseMaybeAssign(...e)}let h;l=l||this.state.clone();const f=this.tryParse(t=>{var s,r;h=this.tsParseTypeParameters();const i=super.parseMaybeAssign(...e);if(i.type!=="ArrowFunctionExpression"||(s=i.extra)!=null&&s.parenthesized){t()}if(((r=h)==null?void 0:r.params.length)!==0){this.resetStartLocationFromNode(i,h)}i.typeParameters=h;return i},l);if(!f.error&&!f.aborted)return f.node;if(!p){assert(!this.hasPlugin("jsx"));u=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!u.error)return u.node}if((s=p)!=null&&s.node){this.state=p.failState;return p.node}if(f.node){this.state=f.failState;return f.node}if((r=u)!=null&&r.node){this.state=u.failState;return u.node}if((i=p)!=null&&i.thrown)throw p.error;if(f.thrown)throw f.error;if((n=u)!=null&&n.thrown)throw u.error;throw((a=p)==null?void 0:a.error)||f.error||((o=u)==null?void 0:o.error)}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.isRelational("<")){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(c.colon)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(c.colon);if(this.canInsertSemicolon()||!this.match(c.arrow))e();return t});if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(c.question)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(e.start,Ve.PatternIsOptional)}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}isAssignable(e,t){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,t);case"TSParameterProperty":return true;default:return super.isAssignable(e,t)}}toAssignable(e,t=false){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...s){var r;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...s);return;case"TSAsExpression":case"TSTypeAssertion":if(!s[0]&&t!=="parenthesized expression"&&!((r=e.extra)!=null&&r.parenthesized)){this.raise(e.start,m.InvalidLhs,t);break}this.checkLVal(e.expression,"parenthesized expression",...s);return;case"TSNonNullExpression":this.checkLVal(e.expression,t,...s);return;default:super.checkLVal(e,t,...s);return}}parseBindingAtom(){switch(this.state.type){case c._this:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(c.parenL)){const s=super.parseMaybeDecoratorArguments(e);s.typeParameters=t;return s}this.unexpected(this.state.start,c.parenL)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(c.comma)&&this.lookaheadCharCode()===e){this.next()}else{super.checkCommaAfterRest(e)}}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(c.bang)||this.match(c.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.startthis.isAssignable(e,true))}return super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(c.colon)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.isRelational("<")){const t=this.tsTryParseAndCatch(()=>this.tsParseTypeArguments());if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const s=this.getObjectOrClassMethodParams(e);const r=s[0];const i=r&&this.isThisParam(r);return i?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,...t){const s=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,...t)}finally{this.state.inAbstractClass=s}}tsParseAbstractDeclaration(e){if(this.match(c._class)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual("interface")){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(e.start,Ve.NonClassMethodPropertyHasAbstractModifer);this.next();return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,c._class)}}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(t.start,Ve.AbstractMethodHasImplementation,e.type==="Identifier"&&!t.computed?e.name:`[${this.input.slice(e.start,e.end)}]`)}}return t}tsParseTypeParameterName(){const e=this.parseIdentifier();return e.name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}});c.placeholder=new TokenType("%%",{startsExpr:true});const $e=makeErrorTemplates({ClassNameIsRequired:"A class name is required."},y.SyntaxError);var Ge=e=>(class extends e{parsePlaceholder(e){if(this.match(c.placeholder)){const t=this.startNode();this.next();this.assertNoSpace("Unexpected space in placeholder.");t.name=super.parseIdentifier(true);this.assertNoSpace("Unexpected space in placeholder.");this.expect(c.placeholder);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const s=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return s?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(c.placeholder,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){if(e.type!=="Placeholder")super.checkLVal(...arguments)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern";return e}return super.toAssignable(...arguments)}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual("let")){return false}if(e)return false;const t=this.lookahead();if(t.type===c.placeholder){return true}return false}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(c.colon)){const s=e;s.label=this.finishPlaceholder(t,"Identifier");this.next();s.body=this.parseStatement("label");return this.finishNode(s,"LabeledStatement")}this.semicolon();e.name=t.name;return this.finishPlaceholder(e,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(e,t,s){const r=t?"ClassDeclaration":"ClassExpression";this.next();this.takeDecorators(e);const i=this.state.strict;const n=this.parsePlaceholder("Identifier");if(n){if(this.match(c._extends)||this.match(c.placeholder)||this.match(c.braceL)){e.id=n}else if(s||!t){e.id=null;e.body=this.finishPlaceholder(n,"ClassBody");return this.finishNode(e,r)}else{this.unexpected(null,$e.ClassNameIsRequired)}}else{this.parseClassId(e,t,s)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,i);return this.finishNode(e,r)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(c.comma)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const s=this.startNode();s.exported=t;e.specifiers=[this.finishNode(s,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(c._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(c.placeholder.label,this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter(e=>e.exported.type==="Placeholder")}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual("from")&&!this.match(c.comma)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const s=this.startNodeAtNode(t);s.local=t;this.finishNode(s,"ImportDefaultSpecifier");e.specifiers.push(s);if(this.eat(c.comma)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual("from");e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}});var Je=e=>(class extends e{parseV8Intrinsic(){if(this.match(c.modulo)){const e=this.state.start;const t=this.startNode();this.eat(c.modulo);if(this.match(c.name)){const e=this.parseIdentifierName(this.state.start);const s=this.createIdentifier(t,e);s.type="V8IntrinsicIdentifier";if(this.match(c.parenL)){return s}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}});function hasPlugin(e,t){return e.some(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}})}function getPluginOption(e,t,s){const r=e.find(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}});if(r&&Array.isArray(r)){return r[1][s]}return null}const Xe=["minimal","fsharp","hack","smart"];const Ye=["%","#"];const Qe=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option,"+" whose value must be a boolean. If you are migrating from"+" Babylon/Babel 6 or want to use the old decorators proposal, you"+" should use the 'decorators-legacy' plugin instead of 'decorators'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")){const t=getPluginOption(e,"pipelineOperator","proposal");if(!Xe.includes(t)){const e=Xe.map(e=>`"${e}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}const s=hasPlugin(e,"recordAndTuple")&&getPluginOption(e,"recordAndTuple","syntaxType")==="hash";if(t==="hack"){if(hasPlugin(e,"placeholders")){throw new Error("Cannot combine placeholders plugin and Hack-style pipes.")}if(hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.")}const t=getPluginOption(e,"pipelineOperator","topicToken");if(!Ye.includes(t)){const e=Ye.map(e=>`"${e}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${e}.`)}if(t==="#"&&s){throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}}else if(t==="smart"&&s){throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}}if(hasPlugin(e,"recordAndTuple")&&!Qe.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Qe.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const Ze={estree:b,jsx:ze,flow:Be,typescript:Ke,v8intrinsic:Je,placeholders:Ge};const et=Object.keys(Ze);const tt={sourceType:"script",sourceFilename:undefined,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false,attachComment:true};function getOptions(e){const t={};for(const s of Object.keys(tt)){t[s]=e&&e[s]!=null?e[s]:tt[s]}return t}const st=e=>{return e.type==="ParenthesizedExpression"?st(e.expression):e};class LValParser extends NodeUtils{toAssignable(e,t=false){var s,r;let i=undefined;if(e.type==="ParenthesizedExpression"||(s=e.extra)!=null&&s.parenthesized){i=st(e);if(t){if(i.type==="Identifier"){this.expressionScope.recordParenthesizedIdentifierError(e.start,m.InvalidParenthesizedAssignment)}else if(i.type!=="MemberExpression"){this.raise(e.start,m.InvalidParenthesizedAssignment)}}else{this.raise(e.start,m.InvalidParenthesizedAssignment)}}switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(let s=0,r=e.properties.length,i=r-1;s{return e.type!=="ObjectMethod"&&(s===t||e.type!=="SpreadElement")&&this.isAssignable(e)})}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every(e=>e===null||this.isAssignable(e));case"AssignmentExpression":return e.operator==="=";case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return false}}toReferencedList(e,t){return e}toReferencedListDeep(e,t){this.toReferencedList(e,t);for(const t of e){if((t==null?void 0:t.type)==="ArrayExpression"){this.toReferencedListDeep(t.elements)}}}parseSpread(e,t){const s=this.startNode();this.next();s.argument=this.parseMaybeAssignAllowIn(e,undefined,t);return this.finishNode(s,"SpreadElement")}parseRestBinding(){const e=this.startNode();this.next();e.argument=this.parseBindingAtom();return this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case c.bracketL:{const e=this.startNode();this.next();e.elements=this.parseBindingList(c.bracketR,93,true);return this.finishNode(e,"ArrayPattern")}case c.braceL:return this.parseObjectLike(c.braceR,true)}return this.parseIdentifier()}parseBindingList(e,t,s,r){const i=[];let n=true;while(!this.eat(e)){if(n){n=false}else{this.expect(c.comma)}if(s&&this.match(c.comma)){i.push(null)}else if(this.eat(e)){break}else if(this.match(c.ellipsis)){i.push(this.parseAssignableListItemTypes(this.parseRestBinding()));this.checkCommaAfterRest(t);this.expect(e);break}else{const e=[];if(this.match(c.at)&&this.hasPlugin("decorators")){this.raise(this.state.start,m.UnsupportedParameterDecorator)}while(this.match(c.at)){e.push(this.parseDecorator())}i.push(this.parseAssignableListItem(r,e))}}return i}parseAssignableListItem(e,t){const s=this.parseMaybeDefault();this.parseAssignableListItemTypes(s);const r=this.parseMaybeDefault(s.start,s.loc.start,s);if(t.length){s.decorators=t}return r}parseAssignableListItemTypes(e){return e}parseMaybeDefault(e,t,s){var r,i,n;t=(r=t)!=null?r:this.state.startLoc;e=(i=e)!=null?i:this.state.start;s=(n=s)!=null?n:this.parseBindingAtom();if(!this.eat(c.eq))return s;const a=this.startNodeAt(e,t);a.left=s;a.right=this.parseMaybeAssignAllowIn();return this.finishNode(a,"AssignmentPattern")}checkLVal(e,t,s=oe,r,i,n=false){switch(e.type){case"Identifier":{const{name:t}=e;if(this.state.strict&&(n?isStrictBindReservedWord(t,this.inModule):isStrictBindOnlyReservedWord(t))){this.raise(e.start,s===oe?m.StrictEvalArguments:m.StrictEvalArgumentsBinding,t)}if(r){if(r.has(t)){this.raise(e.start,m.ParamDupe)}else{r.add(t)}}if(i&&t==="let"){this.raise(e.start,m.LetInLexicalBinding)}if(!(s&oe)){this.scope.declareName(t,s,e.start)}break}case"MemberExpression":if(s!==oe){this.raise(e.start,m.InvalidPropertyBindingPattern)}break;case"ObjectPattern":for(let t of e.properties){if(this.isObjectProperty(t))t=t.value;else if(this.isObjectMethod(t))continue;this.checkLVal(t,"object destructuring pattern",s,r,i)}break;case"ArrayPattern":for(const t of e.elements){if(t){this.checkLVal(t,"array destructuring pattern",s,r,i)}}break;case"AssignmentPattern":this.checkLVal(e.left,"assignment pattern",s,r);break;case"RestElement":this.checkLVal(e.argument,"rest element",s,r);break;case"ParenthesizedExpression":this.checkLVal(e.expression,"parenthesized expression",s,r);break;default:{this.raise(e.start,s===oe?m.InvalidLhs:m.InvalidLhsBinding,t)}}}checkToRestConversion(e){if(e.argument.type!=="Identifier"&&e.argument.type!=="MemberExpression"){this.raise(e.argument.start,m.InvalidRestAssignmentPattern)}}checkCommaAfterRest(e){if(this.match(c.comma)){if(this.lookaheadCharCode()===e){this.raiseTrailingCommaAfterRest(this.state.start)}else{this.raiseRestNotLast(this.state.start)}}}raiseRestNotLast(e){throw this.raise(e,m.ElementAfterRest)}raiseTrailingCommaAfterRest(e){this.raise(e,m.RestTrailingComma)}}class ExpressionParser extends LValParser{checkProto(e,t,s,r){if(e.type==="SpreadElement"||this.isObjectMethod(e)||e.computed||e.shorthand){return}const i=e.key;const n=i.type==="Identifier"?i.name:i.value;if(n==="__proto__"){if(t){this.raise(i.start,m.RecordNoProto);return}if(s.used){if(r){if(r.doubleProto===-1){r.doubleProto=i.start}}else{this.raise(i.start,m.DuplicateProto)}}s.used=true}}shouldExitDescending(e,t){return e.type==="ArrowFunctionExpression"&&e.start===t}getExpression(){this.enterInitialScopes();this.nextToken();const e=this.parseExpression();if(!this.match(c.eof)){this.unexpected()}this.finalizeRemainingComments();e.comments=this.state.comments;e.errors=this.state.errors;if(this.options.tokens){e.tokens=this.tokens}return e}parseExpression(e,t){if(e){return this.disallowInAnd(()=>this.parseExpressionBase(t))}return this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start;const s=this.state.startLoc;const r=this.parseMaybeAssign(e);if(this.match(c.comma)){const i=this.startNodeAt(t,s);i.expressions=[r];while(this.eat(c.comma)){i.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(i.expressions);return this.finishNode(i,"SequenceExpression")}return r}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd(()=>this.parseMaybeAssign(e,t))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd(()=>this.parseMaybeAssign(e,t))}setOptionalParametersError(e,t){var s;e.optionalParameters=(s=t==null?void 0:t.pos)!=null?s:this.state.start}parseMaybeAssign(e,t){const s=this.state.start;const r=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,s,r)}return e}}let i;if(e){i=false}else{e=new ExpressionErrors;i=true}if(this.match(c.parenL)||this.match(c.name)){this.state.potentialArrowAt=this.state.start}let n=this.parseMaybeConditional(e);if(t){n=t.call(this,n,s,r)}if(this.state.type.isAssign){const t=this.startNodeAt(s,r);const i=this.state.value;t.operator=i;const a=n.type==="BinaryExpression"&&n.operator==="|>"&&this.getPluginOption("pipelineOperator","proposal")==="hack";if(a){throw this.raise(this.state.start,m.PipeBodyIsTighter,i)}if(this.match(c.eq)){t.left=this.toAssignable(n,true);e.doubleProto=-1}else{t.left=n}if(e.shorthandAssign>=t.left.start){e.shorthandAssign=-1}this.checkLVal(n,"assignment expression");this.next();t.right=this.parseMaybeAssign();return this.finishNode(t,"AssignmentExpression")}else if(i){this.checkExpressionErrors(e,true)}return n}parseMaybeConditional(e){const t=this.state.start;const s=this.state.startLoc;const r=this.state.potentialArrowAt;const i=this.parseExprOps(e);if(this.shouldExitDescending(i,r)){return i}return this.parseConditional(i,t,s,e)}parseConditional(e,t,s,r){if(this.eat(c.question)){const r=this.startNodeAt(t,s);r.test=e;r.consequent=this.parseMaybeAssignAllowIn();this.expect(c.colon);r.alternate=this.parseMaybeAssign();return this.finishNode(r,"ConditionalExpression")}return e}parseExprOps(e){const t=this.state.start;const s=this.state.startLoc;const r=this.state.potentialArrowAt;const i=this.parseMaybeUnary(e);if(this.shouldExitDescending(i,r)){return i}return this.parseExprOp(i,t,s,-1)}parseExprOp(e,t,s,r){let i=this.state.type.binop;if(i!=null&&(this.prodParam.hasIn||!this.match(c._in))){if(i>r){const n=this.state.type;if(n===c.pipeline){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,s);a.left=e;a.operator=this.state.value;const o=n===c.logicalOR||n===c.logicalAND;const l=n===c.nullishCoalescing;if(l){i=c.logicalAND.binop}this.next();if(n===c.pipeline&&this.getPluginOption("pipelineOperator","proposal")==="minimal"){if(this.match(c.name)&&this.state.value==="await"&&this.prodParam.hasAwait){throw this.raise(this.state.start,m.UnexpectedAwaitAfterPipelineBody)}}a.right=this.parseExprOpRightExpr(n,i);this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");const p=this.state.type;if(l&&(p===c.logicalOR||p===c.logicalAND)||o&&p===c.nullishCoalescing){throw this.raise(this.state.start,m.MixingCoalesceWithLogical)}return this.parseExprOp(a,t,s,r)}}return e}parseExprOpRightExpr(e,t){const s=this.state.start;const r=this.state.startLoc;switch(e){case c.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>{const r=this.parseHackPipeBody(e,t);this.checkHackPipeBodyEarlyErrors(s);return r});case"smart":return this.withTopicBindingContext(()=>{const i=this.parseHackPipeBody(e,t);return this.parseSmartPipelineBodyInStyle(i,s,r)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(t)})}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const s=this.state.start;const r=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),s,r,e.rightAssociative?t-1:t)}parseHackPipeBody(e,t){const s=this.prodParam.hasYield;const r=s&&this.isContextual("yield");if(r){throw this.raise(this.state.start,m.PipeBodyIsTighter,this.state.value)}else{return this.parseExprOpBaseRightExpr(e,t)}}checkExponentialAfterUnary(e){if(this.match(c.exponent)){this.raise(e.argument.start,m.UnexpectedTokenUnaryExponentiation)}}parseMaybeUnary(e,t){const s=this.state.start;const r=this.state.startLoc;const i=this.isContextual("await");if(i&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(s,r);if(!t)this.checkExponentialAfterUnary(e);return e}const n=this.match(c.incDec);const a=this.startNode();if(this.state.type.prefix){a.operator=this.state.value;a.prefix=true;if(this.match(c._throw)){this.expectPlugin("throwExpressions")}const s=this.match(c._delete);this.next();a.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&s){const e=a.argument;if(e.type==="Identifier"){this.raise(a.start,m.StrictDelete)}else if(this.hasPropertyAsPrivateName(e)){this.raise(a.start,m.DeletePrivateField)}}if(!n){if(!t)this.checkExponentialAfterUnary(a);return this.finishNode(a,"UnaryExpression")}}const o=this.parseUpdate(a,n,e);if(i){const e=this.hasPlugin("v8intrinsic")?this.state.type.startsExpr:this.state.type.startsExpr&&!this.match(c.modulo);if(e&&!this.isAmbiguousAwait()){this.raiseOverwrite(s,m.AwaitNotInAsyncContext);return this.parseAwait(s,r)}}return o}parseUpdate(e,t,s){if(t){this.checkLVal(e.argument,"prefix operation");return this.finishNode(e,"UpdateExpression")}const r=this.state.start;const i=this.state.startLoc;let n=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,false))return n;while(this.state.type.postfix&&!this.canInsertSemicolon()){const e=this.startNodeAt(r,i);e.operator=this.state.value;e.prefix=false;e.argument=n;this.checkLVal(n,"postfix operation");this.next();n=this.finishNode(e,"UpdateExpression")}return n}parseExprSubscripts(e){const t=this.state.start;const s=this.state.startLoc;const r=this.state.potentialArrowAt;const i=this.parseExprAtom(e);if(this.shouldExitDescending(i,r)){return i}return this.parseSubscripts(i,t,s)}parseSubscripts(e,t,s,r){const i={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,s,r,i);i.maybeAsyncArrow=false}while(!i.stop);return e}parseSubscript(e,t,s,r,i){if(!r&&this.eat(c.doubleColon)){return this.parseBind(e,t,s,r,i)}else if(this.match(c.backQuote)){return this.parseTaggedTemplateExpression(e,t,s,i)}let n=false;if(this.match(c.questionDot)){if(r&&this.lookaheadCharCode()===40){i.stop=true;return e}i.optionalChainMember=n=true;this.next()}if(!r&&this.match(c.parenL)){return this.parseCoverCallAndAsyncArrowHead(e,t,s,i,n)}else if(n||this.match(c.bracketL)||this.eat(c.dot)){return this.parseMember(e,t,s,i,n)}else{i.stop=true;return e}}parseMember(e,t,s,r,i){const n=this.startNodeAt(t,s);const a=this.eat(c.bracketL);n.object=e;n.computed=a;const o=!a&&this.match(c.privateName)&&this.state.value;const l=a?this.parseExpression():o?this.parsePrivateName():this.parseIdentifier(true);if(o!==false){if(n.object.type==="Super"){this.raise(t,m.SuperPrivateField)}this.classScope.usePrivateName(o,l.start)}n.property=l;if(a){this.expect(c.bracketR)}if(r.optionalChainMember){n.optional=i;return this.finishNode(n,"OptionalMemberExpression")}else{return this.finishNode(n,"MemberExpression")}}parseBind(e,t,s,r,i){const n=this.startNodeAt(t,s);n.object=e;n.callee=this.parseNoCallExpr();i.stop=true;return this.parseSubscripts(this.finishNode(n,"BindExpression"),t,s,r)}parseCoverCallAndAsyncArrowHead(e,t,s,r,i){const n=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,s);o.callee=e;if(r.maybeAsyncArrow){this.expressionScope.enter(newAsyncArrowScope());a=new ExpressionErrors}if(r.optionalChainMember){o.optional=i}if(i){o.arguments=this.parseCallExpressionArguments(c.parenR)}else{o.arguments=this.parseCallExpressionArguments(c.parenR,e.type==="Import",e.type!=="Super",o,a)}this.finishCallExpression(o,r.optionalChainMember);if(r.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!i){r.stop=true;this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,s),o)}else{if(r.maybeAsyncArrow){this.checkExpressionErrors(a,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=n;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,s,r){const i=this.startNodeAt(t,s);i.tag=e;i.quasi=this.parseTemplate(true);if(r.optionalChainMember){this.raise(t,m.OptionalChainingNoTemplate)}return this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(e.start,m.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument")}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(t.start,m.ImportCallSpreadArgument)}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,s,r,i){const n=[];let a=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(a){a=false}else{this.expect(c.comma);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(this.state.lastTokStart,m.ImportCallArgumentTrailingComma)}if(r){this.addExtra(r,"trailingComma",this.state.lastTokStart)}this.next();break}}n.push(this.parseExprListItem(false,i,s))}this.state.inFSharpPipelineDirectBody=o;return n}shouldParseAsyncArrow(){return this.match(c.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var s;this.resetPreviousNodeTrailingComments(t);this.expect(c.arrow);this.parseArrowExpression(e,t.arguments,true,(s=t.extra)==null?void 0:s.trailingComma);setInnerComments(e,t.innerComments);setInnerComments(e,t.callee.trailingComments);return e}parseNoCallExpr(){const e=this.state.start;const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,true)}parseExprAtom(e){let t;switch(this.state.type){case c._super:return this.parseSuper();case c._import:t=this.startNode();this.next();if(this.match(c.dot)){return this.parseImportMetaProperty(t)}if(!this.match(c.parenL)){this.raise(this.state.lastTokStart,m.UnsupportedImport)}return this.finishNode(t,"Import");case c._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case c.name:{if(this.isContextual("module")&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak()){return this.parseModuleExpression()}const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const s=this.parseIdentifier();if(!t&&s.name==="async"&&!this.canInsertSemicolon()){if(this.match(c._function)){this.resetPreviousNodeTrailingComments(s);this.next();return this.parseFunction(this.startNodeAtNode(s),undefined,true)}else if(this.match(c.name)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(s))}else{return s}}else if(this.match(c._do)){this.resetPreviousNodeTrailingComments(s);return this.parseDo(this.startNodeAtNode(s),true)}}if(e&&this.match(c.arrow)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(s),[s],false)}return s}case c._do:{return this.parseDo(this.startNode(),false)}case c.slash:case c.slashAssign:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case c.num:return this.parseNumericLiteral(this.state.value);case c.bigint:return this.parseBigIntLiteral(this.state.value);case c.decimal:return this.parseDecimalLiteral(this.state.value);case c.string:return this.parseStringLiteral(this.state.value);case c._null:return this.parseNullLiteral();case c._true:return this.parseBooleanLiteral(true);case c._false:return this.parseBooleanLiteral(false);case c.parenL:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case c.bracketBarL:case c.bracketHashL:{return this.parseArrayLike(this.state.type===c.bracketBarL?c.bracketBarR:c.bracketR,false,true,e)}case c.bracketL:{return this.parseArrayLike(c.bracketR,true,false,e)}case c.braceBarL:case c.braceHashL:{return this.parseObjectLike(this.state.type===c.braceBarL?c.braceBarR:c.braceR,false,true,e)}case c.braceL:{return this.parseObjectLike(c.braceR,false,false,e)}case c._function:return this.parseFunctionOrFunctionSent();case c.at:this.parseDecorators();case c._class:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case c._new:return this.parseNewOrNewTarget();case c.backQuote:return this.parseTemplate(false);case c.doubleColon:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(e.start,m.UnsupportedBind)}}case c.privateName:{const{value:e,start:s}=this.state;t=this.parsePrivateName();if(this.match(c._in)){this.classScope.usePrivateName(e,s)}else{this.raise(s,m.PrivateInExpectedIn,e)}return t}case c.moduloAssign:if(this.getPluginOption("pipelineOperator","proposal")==="hack"&&this.getPluginOption("pipelineOperator","topicToken")==="%"){this.state.value="%";this.state.type=c.modulo;this.state.pos--;this.state.end--;this.state.endLoc.column--}else{throw this.unexpected()}case c.modulo:case c.hash:{const e=this.getPluginOption("pipelineOperator","proposal");if(e){t=this.startNode();const s=this.state.start;const r=this.state.type;this.next();return this.finishTopicReference(t,s,e,r)}}case c.relational:{if(this.state.value==="<"){const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}}}default:throw this.unexpected()}}finishTopicReference(e,t,s,r){if(this.testTopicReferenceConfiguration(s,t,r)){let r;if(s==="smart"){r="PipelinePrimaryTopicReference"}else{r="TopicReference"}if(!this.topicReferenceIsAllowedInCurrentContext()){if(s==="smart"){this.raise(t,m.PrimaryTopicNotAllowed)}else{this.raise(t,m.PipeTopicUnbound)}}this.registerTopicReference();return this.finishNode(e,r)}else{throw this.raise(t,m.PipeTopicUnconfiguredToken,r.label)}}testTopicReferenceConfiguration(e,t,s){switch(e){case"hack":{const e=this.getPluginOption("pipelineOperator","topicToken");return s.label===e}case"smart":return s===c.hash;default:throw this.raise(t,m.PipeTopicRequiresHackPipes)}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const t=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(this.state.pos,m.LineTerminatorBeforeArrow)}this.expect(c.arrow);this.parseArrowExpression(e,t,true);return e}parseDo(e,t){this.expectPlugin("doExpressions");if(t){this.expectPlugin("asyncDoExpressions")}e.async=t;this.next();const s=this.state.labels;this.state.labels=[];if(t){this.prodParam.enter(Se);e.body=this.parseBlock();this.prodParam.exit()}else{e.body=this.parseBlock()}this.state.labels=s;return this.finishNode(e,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(c.parenL)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,m.SuperNotAllowed)}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,m.UnexpectedSuper)}if(!this.match(c.parenL)&&!this.match(c.bracketL)&&!this.match(c.dot)){this.raise(e.start,m.UnsupportedSuper)}return this.finishNode(e,"Super")}parseMaybePrivateName(e){const t=this.match(c.privateName);if(t){if(!e){this.raise(this.state.start+1,m.UnexpectedPrivateField)}return this.parsePrivateName()}else{return this.parseIdentifier(true)}}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(this.state.start+1,new Position(this.state.curLine,this.state.start+1-this.state.lineStart));const s=this.state.value;this.next();e.id=this.createIdentifier(t,s);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(c.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,s){e.meta=t;if(t.name==="function"&&s==="sent"){if(this.isContextual(s)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}}const r=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==s||r){this.raise(e.property.start,m.UnsupportedMetaProperty,t.name,s)}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual("meta")){if(!this.inModule){this.raise(t.start,g.ImportMetaOutsideModule)}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,s){this.addExtra(s,"rawValue",e);this.addExtra(s,"raw",this.input.slice(s.start,this.state.end));s.value=e;this.next();return this.finishNode(s,t)}parseLiteral(e,t){const s=this.startNode();return this.parseLiteralAtNode(e,t,s)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start;const s=this.state.startLoc;let r;this.next();this.expressionScope.enter(newArrowHeadScope());const i=this.state.maybeInArrowParameters;const n=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const a=this.state.start;const o=this.state.startLoc;const l=[];const p=new ExpressionErrors;let u=true;let h;let f;while(!this.match(c.parenR)){if(u){u=false}else{this.expect(c.comma,p.optionalParameters===-1?null:p.optionalParameters);if(this.match(c.parenR)){f=this.state.start;break}}if(this.match(c.ellipsis)){const e=this.state.start;const t=this.state.startLoc;h=this.state.start;l.push(this.parseParenItem(this.parseRestBinding(),e,t));this.checkCommaAfterRest(41);break}else{l.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem))}}const d=this.state.lastTokEnd;const y=this.state.lastTokEndLoc;this.expect(c.parenR);this.state.maybeInArrowParameters=i;this.state.inFSharpPipelineDirectBody=n;let m=this.startNodeAt(t,s);if(e&&this.shouldParseArrow(l)&&(m=this.parseArrow(m))){this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(m,l,false);return m}this.expressionScope.exit();if(!l.length){this.unexpected(this.state.lastTokStart)}if(f)this.unexpected(f);if(h)this.unexpected(h);this.checkExpressionErrors(p,true);this.toReferencedListDeep(l,true);if(l.length>1){r=this.startNodeAt(a,o);r.expressions=l;this.finishNode(r,"SequenceExpression");r.end=d;r.loc.end=y}else{r=l[0]}if(!this.options.createParenthesizedExpressions){this.addExtra(r,"parenthesized",true);this.addExtra(r,"parenStart",t);return r}const g=this.startNodeAt(t,s);g.expression=r;this.finishNode(g,"ParenthesizedExpression");return g}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(c.arrow)){return e}}parseParenItem(e,t,s){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(c.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const s=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){this.raise(s.start,m.UnexpectedNewTarget)}return s}return this.parseNew(e)}parseNew(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(e.callee.start,m.ImportCallNotNewExpression)}else if(this.isOptionalChain(e.callee)){this.raise(this.state.lastTokEnd,m.OptionalChainingNoNew)}else if(this.eat(c.questionDot)){this.raise(this.state.start,m.OptionalChainingNoNew)}this.parseNewArguments(e);return this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(c.parenL)){const t=this.parseExprList(c.parenR);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}}parseTemplateElement(e){const t=this.startNode();if(this.state.value===null){if(!e){this.raise(this.state.start+1,m.InvalidEscapeSequenceTemplate)}}t.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,"\n"),cooked:this.state.value};this.next();t.tail=this.match(c.backQuote);return this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next();t.expressions=[];let s=this.parseTemplateElement(e);t.quasis=[s];while(!s.tail){this.expect(c.dollarBraceL);t.expressions.push(this.parseTemplateSubstitution());this.expect(c.braceR);t.quasis.push(s=this.parseTemplateElement(e))}this.next();return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,s,r){if(s){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const n=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(c.comma);if(this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}}const i=this.parsePropertyDefinition(t,r);if(!t){this.checkProto(i,s,n,r)}if(s&&!this.isObjectProperty(i)&&i.type!=="SpreadElement"){this.raise(i.start,m.InvalidRecordProperty)}if(i.shorthand){this.addExtra(i,"shorthand",true)}o.properties.push(i)}this.next();this.state.inFSharpPipelineDirectBody=i;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(s){l="RecordExpression"}return this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(c.bracketL)||this.match(c.star))}parsePropertyDefinition(e,t){let s=[];if(this.match(c.at)){if(this.hasPlugin("decorators")){this.raise(this.state.start,m.UnsupportedPropertyDecorator)}while(this.match(c.at)){s.push(this.parseDecorator())}}const r=this.startNode();let i=false;let n=false;let a=false;let o;let l;if(this.match(c.ellipsis)){if(s.length)this.unexpected();if(e){this.next();r.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(r,"RestElement")}return this.parseSpread()}if(s.length){r.decorators=s;s=[]}r.method=false;if(e||t){o=this.state.start;l=this.state.startLoc}if(!e){i=this.eat(c.star)}const p=this.state.containsEsc;const u=this.parsePropertyName(r,false);if(!e&&!i&&!p&&this.maybeAsyncOrAccessorProp(r)){const e=u.name;if(e==="async"&&!this.hasPrecedingLineBreak()){n=true;this.resetPreviousNodeTrailingComments(u);i=this.eat(c.star);this.parsePropertyName(r,false)}if(e==="get"||e==="set"){a=true;this.resetPreviousNodeTrailingComments(u);r.kind=e;if(this.match(c.star)){i=true;this.raise(this.state.pos,m.AccessorIsGenerator,e);this.next()}this.parsePropertyName(r,false)}}this.parseObjPropValue(r,o,l,i,n,e,a,t);return r}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const s=this.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const i=e.start;if(r.length!==s){if(e.kind==="get"){this.raise(i,m.BadGetterArity)}else{this.raise(i,m.BadSetterArity)}}if(e.kind==="set"&&((t=r[r.length-1])==null?void 0:t.type)==="RestElement"){this.raise(i,m.BadSetterRestParameter)}}parseObjectMethod(e,t,s,r,i){if(i){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(s||t||this.match(c.parenL)){if(r)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,s,false,false,"ObjectMethod")}}parseObjectProperty(e,t,s,r,i){e.shorthand=false;if(this.eat(c.colon)){e.value=r?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(i);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.start,true,false);if(r){e.value=this.parseMaybeDefault(t,s,cloneIdentifier(e.key))}else if(this.match(c.eq)&&i){if(i.shorthandAssign===-1){i.shorthandAssign=this.state.start}e.value=this.parseMaybeDefault(t,s,cloneIdentifier(e.key))}else{e.value=cloneIdentifier(e.key)}e.shorthand=true;return this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,s,r,i,n,a,o){const l=this.parseObjectMethod(e,r,i,n,a)||this.parseObjectProperty(e,t,s,n,o);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(c.bracketL)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(c.bracketR)}else{const s=this.state.inPropertyName;this.state.inPropertyName=true;const r=this.state.type;e.key=r===c.num||r===c.string||r===c.bigint||r===c.decimal?this.parseExprAtom():this.parseMaybePrivateName(t);if(r!==c.privateName){e.computed=false}this.state.inPropertyName=s}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,s,r,i,n,a=false){this.initFunction(e,s);e.generator=!!t;const o=r;this.scope.enter(R|F|(a?L:0)|(i?M:0));this.prodParam.enter(functionFlags(s,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,n,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,s,r){if(s){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const n=this.startNode();this.next();n.elements=this.parseExprList(e,!s,r,n);this.state.inFSharpPipelineDirectBody=i;return this.finishNode(n,s?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,s,r){this.scope.enter(R|D);let i=functionFlags(s,false);if(!this.match(c.bracketL)&&this.prodParam.hasIn){i|=Re}this.prodParam.enter(i);this.initFunction(e,s);const n=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,r)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=n;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,s){e.params=this.toAssignableList(t,s,false)}parseFunctionBodyAndFinish(e,t,s=false){this.parseFunctionBody(e,false,s);this.finishNode(e,t)}parseFunctionBody(e,t,s=false){const r=t&&!this.match(c.braceL);this.expressionScope.enter(newExpressionScope());if(r){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const r=this.state.strict;const i=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|_e);e.body=this.parseBlock(true,false,i=>{const n=!this.isSimpleParamList(e.params);if(i&&n){const t=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(t,m.IllegalLanguageModeDirective)}const a=!r&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!s&&!n,t,a);if(this.state.strict&&e.id){this.checkLVal(e.id,"function name",le,undefined,undefined,a)}});this.prodParam.exit();this.expressionScope.exit();this.state.labels=i}}isSimpleParamList(e){for(let t=0,s=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(t,m.YieldBindingIdentifier);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(t,m.AwaitBindingIdentifier);return}else if(this.scope.inStaticBlock){this.raise(t,m.AwaitBindingIdentifierInStaticBlock);return}else{this.expressionScope.recordAsyncArrowParametersError(t,m.AwaitBindingIdentifier)}}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(t,m.ArgumentsInClass);return}}if(s&&isKeyword(e)){this.raise(t,m.UnexpectedKeyword,e);return}const i=!this.state.strict?isReservedWord:r?isStrictBindReservedWord:isStrictReservedWord;if(i(e,this.inModule)){this.raise(t,m.UnexpectedReservedWord,e)}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e,t){const s=this.startNodeAt(e,t);this.expressionScope.recordParameterInitializerError(s.start,m.AwaitExpressionFormalParameter);if(this.eat(c.star)){this.raise(s.start,m.ObsoleteAwaitStar)}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){s.argument=this.parseMaybeUnary(null,true)}return this.finishNode(s,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(c.plusMin)||this.match(c.parenL)||this.match(c.bracketL)||this.match(c.backQuote)||this.match(c.regexp)||this.match(c.slash)||this.hasPlugin("v8intrinsic")&&this.match(c.modulo)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,m.YieldInParameter);this.next();let t=false;let s=null;if(!this.hasPrecedingLineBreak()){t=this.eat(c.star);switch(this.state.type){case c.semi:case c.eof:case c.braceR:case c.parenR:case c.bracketR:case c.braceBarR:case c.colon:case c.comma:if(!t)break;default:s=this.parseMaybeAssign()}}e.delegate=t;e.argument=s;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.getPluginOption("pipelineOperator","proposal")==="smart"){if(e.type==="SequenceExpression"){this.raise(t,m.PipelineHeadSequenceExpression)}}}checkHackPipeBodyEarlyErrors(e){if(this.match(c.arrow)){throw this.raise(this.state.start,m.PipeBodyIsTighter,c.arrow.label)}else if(!this.topicReferenceWasUsedInCurrentContext()){this.raise(e,m.PipeTopicUnused)}}parseSmartPipelineBodyInStyle(e,t,s){const r=this.startNodeAt(t,s);if(this.isSimpleReference(e)){r.callee=e;return this.finishNode(r,"PipelineBareFunction")}else{this.checkSmartPipeTopicBodyEarlyErrors(t);r.expression=e;return this.finishNode(r,"PipelineTopicExpression")}}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(c.arrow)){throw this.raise(this.state.start,m.PipelineBodyNoArrow)}else if(!this.topicReferenceWasUsedInCurrentContext()){this.raise(e,m.PipelineTopicUnused)}}withTopicBindingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(e){const t=this.getPluginOption("pipelineOperator","proposal");if(t==="smart"){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}else{return e()}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const s=Re&~t;if(s){this.prodParam.enter(t|Re);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const s=Re&t;if(s){this.prodParam.enter(t&~Re);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const s=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const i=this.parseExprOp(this.parseMaybeUnary(),t,s,e);this.state.inFSharpPipelineDirectBody=r;return i}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(c.braceL);const t=this.initializeScopes(true);this.enterInitialScopes();const s=this.startNode();try{e.body=this.parseProgram(s,c.braceR,"module")}finally{t()}this.eat(c.braceR);return this.finishNode(e,"ModuleExpression")}}const rt={kind:"loop"},it={kind:"switch"};const nt=0,at=1,ot=2,lt=4;const ct=/[\uD800-\uDFFF]/u;const pt=/in(?:stanceof)?/y;function babel7CompatTokens(e){{for(let t=0;t0){for(const[e]of Array.from(this.scope.undefinedExports)){const t=this.scope.undefinedExports.get(e);this.raise(t,m.ModuleExportUndefined,e)}}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e;t.type="Directive";t.value=t.expression;delete t.expression;const s=t.value;const r=this.input.slice(s.start,s.end);const i=s.value=r.slice(1,-1);this.addExtra(s,"raw",r);this.addExtra(s,"rawValue",i);s.type="DirectiveLiteral";return t}parseInterpreterDirective(){if(!this.match(c.interpreterDirective)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual("let")){return false}return this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart();const s=this.codePointAtPos(t);if(s===92||s===91){return true}if(e)return false;if(s===123)return true;if(isIdentifierStart(s)){pt.lastIndex=t;if(pt.test(this.input)){const e=this.codePointAtPos(pt.lastIndex);if(!isIdentifierChar(e)&&e!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(c.at)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let s=this.state.type;const r=this.startNode();let i;if(this.isLet(e)){s=c._var;i="let"}switch(s){case c._break:case c._continue:return this.parseBreakContinueStatement(r,s.keyword);case c._debugger:return this.parseDebuggerStatement(r);case c._do:return this.parseDoStatement(r);case c._for:return this.parseForStatement(r);case c._function:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(this.state.start,m.StrictFunction)}else if(e!=="if"&&e!=="label"){this.raise(this.state.start,m.SloppyFunction)}}return this.parseFunctionStatement(r,false,!e);case c._class:if(e)this.unexpected();return this.parseClass(r,true);case c._if:return this.parseIfStatement(r);case c._return:return this.parseReturnStatement(r);case c._switch:return this.parseSwitchStatement(r);case c._throw:return this.parseThrowStatement(r);case c._try:return this.parseTryStatement(r);case c._const:case c._var:i=i||this.state.value;if(e&&i!=="var"){this.raise(this.state.start,m.UnexpectedLexicalDeclaration)}return this.parseVarStatement(r,i);case c._while:return this.parseWhileStatement(r);case c._with:return this.parseWithStatement(r);case c.braceL:return this.parseBlock();case c.semi:return this.parseEmptyStatement(r);case c._import:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case c._export:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(this.state.start,m.UnexpectedImportExport)}this.next();let e;if(s===c._import){e=this.parseImport(r);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(r);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(r);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(this.state.start,m.AsyncFunctionInSingleStatementContext)}this.next();return this.parseFunctionStatement(r,true,!e)}}}const n=this.state.value;const a=this.parseExpression();if(s===c.name&&a.type==="Identifier"&&this.eat(c.colon)){return this.parseLabeledStatement(r,n,a,e)}else{return this.parseExpressionStatement(r,a)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(e.start,g.ImportOutsideModule)}}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];if(t.length){e.decorators=t;this.resetStartLocationFromNode(e,t[0]);this.state.decoratorStack[this.state.decoratorStack.length-1]=[]}}canHaveLeadingDecorator(){return this.match(c._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(c.at)){const e=this.parseDecorator();t.push(e)}if(this.match(c._export)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,m.DecoratorExportClass)}}else if(!this.canHaveLeadingDecorator()){throw this.raise(this.state.start,m.UnexpectedLeadingDecorator)}}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start;const s=this.state.startLoc;let r;if(this.eat(c.parenL)){r=this.parseExpression();this.expect(c.parenR)}else{r=this.parseIdentifier(false);while(this.eat(c.dot)){const e=this.startNodeAt(t,s);e.object=r;e.property=this.parseIdentifier(true);e.computed=false;r=this.finishNode(e,"MemberExpression")}}e.expression=this.parseMaybeDecoratorArguments(r);this.state.decoratorStack.pop()}else{e.expression=this.parseExprSubscripts()}return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(c.parenL)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(c.parenR,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){const s=t==="break";this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,s?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){const s=t==="break";let r;for(r=0;rthis.parseStatement("do"));this.state.labels.pop();this.expect(c._while);e.test=this.parseHeaderExpression();this.eat(c.semi);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(rt);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual("await")){t=this.state.lastTokStart}this.scope.enter(S);this.expect(c.parenL);if(this.match(c.semi)){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}const s=this.isContextual("let");const r=s&&this.isLetKeyword();if(this.match(c._var)||this.match(c._const)||r){const s=this.startNode();const i=r?"let":this.state.value;this.next();this.parseVar(s,true,i);this.finishNode(s,"VariableDeclaration");if((this.match(c._in)||this.isContextual("of"))&&s.declarations.length===1){return this.parseForIn(e,s,t)}if(t>-1){this.unexpected(t)}return this.parseFor(e,s)}const i=this.match(c.name)&&!this.state.containsEsc;const n=new ExpressionErrors;const a=this.parseExpression(true,n);const o=this.isContextual("of");if(o){if(s){this.raise(a.start,m.ForOfLet)}else if(t===-1&&i&&a.type==="Identifier"&&a.name==="async"){this.raise(a.start,m.ForOfAsync)}}if(o||this.match(c._in)){this.toAssignable(a,true);const s=o?"for-of statement":"for-in statement";this.checkLVal(a,s);return this.parseForIn(e,a,t)}else{this.checkExpressionErrors(n,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)}parseFunctionStatement(e,t,s){this.next();return this.parseFunction(e,at|(s?0:ot),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(c._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(this.state.start,m.IllegalReturn)}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(c.braceL);this.state.labels.push(it);this.scope.enter(S);let s;for(let e;!this.match(c.braceR);){if(this.match(c._case)||this.match(c._default)){const r=this.match(c._case);if(s)this.finishNode(s,"SwitchCase");t.push(s=this.startNode());s.consequent=[];this.next();if(r){s.test=this.parseExpression()}else{if(e){this.raise(this.state.lastTokStart,m.MultipleDefaultsInSwitch)}e=true;s.test=null}this.expect(c.colon)}else{if(s){s.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(s)this.finishNode(s,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(this.state.lastTokEnd,m.NewlineAfterThrow)}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?N:0);this.checkLVal(e,"catch clause",ee);return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(c._catch)){const t=this.startNode();this.next();if(this.match(c.parenL)){this.expect(c.parenL);t.param=this.parseCatchClauseParam();this.expect(c.parenR)}else{t.param=null;this.scope.enter(S)}t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(false,false));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(c._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,m.NoCatchOrFinally)}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(rt);e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("while"));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(this.state.start,m.StrictWith)}this.next();e.object=this.parseHeaderExpression();e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("with"));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,s,r){for(const e of this.state.labels){if(e.name===t){this.raise(s.start,m.LabelRedeclaration,t)}}const i=this.state.type.isLoop?"loop":this.match(c._switch)?"switch":null;for(let t=this.state.labels.length-1;t>=0;t--){const s=this.state.labels[t];if(s.statementStart===e.start){s.statementStart=this.state.start;s.kind=i}else{break}}this.state.labels.push({name:t,kind:i,statementStart:this.state.start});e.body=this.parseStatement(r?r.indexOf("label")===-1?r+"label":r:"label");this.state.labels.pop();e.label=s;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,s){const r=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(c.braceL);if(t){this.scope.enter(S)}this.parseBlockBody(r,e,false,c.braceR,s);if(t){this.scope.exit()}return this.finishNode(r,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,s,r,i){const n=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(n,t?a:undefined,s,r,i)}parseBlockOrModuleBlockBody(e,t,s,r,i){const n=this.state.strict;let a=false;let o=false;while(!this.match(r)){const r=this.parseStatement(null,s);if(t&&!o){if(this.isValidDirective(r)){const e=this.stmtToDirective(r);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(r)}if(i){i.call(this,a)}if(!n){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(c.semi)?null:this.parseExpression();this.semicolon(false);e.update=this.match(c.parenR)?null:this.parseExpression();this.expect(c.parenR);e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,s){const r=this.match(c._in);this.next();if(r){if(s>-1)this.unexpected(s)}else{e.await=s>-1}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,m.ForInOfLoopInitializer,r?"for-in":"for-of")}else if(t.type==="AssignmentPattern"){this.raise(t.start,m.InvalidLhs,"for-loop")}e.left=t;e.right=r?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(c.parenR);e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,r?"ForInStatement":"ForOfStatement")}parseVar(e,t,s){const r=e.declarations=[];const i=this.hasPlugin("typescript");e.kind=s;for(;;){const e=this.startNode();this.parseVarId(e,s);if(this.eat(c.eq)){e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn()}else{if(s==="const"&&!(this.match(c._in)||this.isContextual("of"))){if(!i){this.raise(this.state.lastTokEnd,m.DeclarationMissingInitializer,"Const declarations")}}else if(e.id.type!=="Identifier"&&!(t&&(this.match(c._in)||this.isContextual("of")))){this.raise(this.state.lastTokEnd,m.DeclarationMissingInitializer,"Complex binding patterns")}e.init=null}r.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(c.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,"variable declaration",t==="var"?te:ee,undefined,t!=="var")}parseFunction(e,t=nt,s=false){const r=t&at;const i=t&ot;const n=!!r&&!(t<);this.initFunction(e,s);if(this.match(c.star)&&i){this.raise(this.state.start,m.GeneratorInSingleStatementContext)}e.generator=this.eat(c.star);if(r){e.id=this.parseFunctionId(n)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(R);this.prodParam.enter(functionFlags(s,e.generator));if(!r){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,r?"FunctionDeclaration":"FunctionExpression")});this.prodParam.exit();this.scope.exit();if(r&&!i){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||this.match(c.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(c.parenL);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(c.parenR,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?te:ee:se,e.id.start)}parseClass(e,t,s){this.next();this.takeDecorators(e);const r=this.state.strict;this.state.strict=true;this.parseClassId(e,t,s);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,r);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(c.eq)||this.match(c.semi)||this.match(c.braceR)}isClassMethod(){return this.match(c.parenL)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const s={hadConstructor:false,hadSuperClass:e};let r=[];const i=this.startNode();i.body=[];this.expect(c.braceL);this.withSmartMixTopicForbiddingContext(()=>{while(!this.match(c.braceR)){if(this.eat(c.semi)){if(r.length>0){throw this.raise(this.state.lastTokEnd,m.DecoratorSemicolon)}continue}if(this.match(c.at)){r.push(this.parseDecorator());continue}const e=this.startNode();if(r.length){e.decorators=r;this.resetStartLocationFromNode(e,r[0]);r=[]}this.parseClassMember(i,e,s);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(e.start,m.DecoratorConstructor)}}});this.state.strict=t;this.next();if(r.length){throw this.raise(this.state.start,m.TrailingDecorator)}this.classScope.exit();return this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){const s=this.parseIdentifier(true);if(this.isClassMethod()){const r=t;r.kind="method";r.computed=false;r.key=s;r.static=false;this.pushClassMethod(e,r,false,false,false,false);return true}else if(this.isClassProperty()){const r=t;r.computed=false;r.key=s;r.static=false;e.body.push(this.parseClassProperty(r));return true}this.resetPreviousNodeTrailingComments(s);return false}parseClassMember(e,t,s){const r=this.isContextual("static");if(r){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(c.braceL)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,s,r)}parseClassMemberWithIsStatic(e,t,s,r){const i=t;const n=t;const a=t;const o=t;const l=i;const p=i;t.static=r;if(this.eat(c.star)){l.kind="method";const t=this.match(c.privateName);this.parseClassElementName(l);if(t){this.pushClassPrivateMethod(e,n,true,false);return}if(this.isNonstaticConstructor(i)){this.raise(i.key.start,m.ConstructorIsGenerator)}this.pushClassMethod(e,i,true,false,false,false);return}const u=this.match(c.name)&&!this.state.containsEsc;const h=this.match(c.privateName);const f=this.parseClassElementName(t);const d=this.state.start;this.parsePostMemberNameModifiers(p);if(this.isClassMethod()){l.kind="method";if(h){this.pushClassPrivateMethod(e,n,false,false);return}const r=this.isNonstaticConstructor(i);let a=false;if(r){i.kind="constructor";if(s.hadConstructor&&!this.hasPlugin("typescript")){this.raise(f.start,m.DuplicateConstructor)}if(r&&this.hasPlugin("typescript")&&t.override){this.raise(f.start,m.OverrideOnConstructor)}s.hadConstructor=true;a=s.hadSuperClass}this.pushClassMethod(e,i,false,false,r,a)}else if(this.isClassProperty()){if(h){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(u&&f.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(f);const t=this.eat(c.star);if(p.optional){this.unexpected(d)}l.kind="method";const s=this.match(c.privateName);this.parseClassElementName(l);this.parsePostMemberNameModifiers(p);if(s){this.pushClassPrivateMethod(e,n,t,true)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,m.ConstructorIsAsync)}this.pushClassMethod(e,i,t,true,false,false)}}else if(u&&(f.name==="get"||f.name==="set")&&!(this.match(c.star)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(f);l.kind=f.name;const t=this.match(c.privateName);this.parseClassElementName(i);if(t){this.pushClassPrivateMethod(e,n,false,false)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,m.ConstructorIsAccessor)}this.pushClassMethod(e,i,false,false,false,false)}this.checkGetterSetterParams(i)}else if(this.isLineTerminator()){if(h){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:s,start:r}=this.state;if((t===c.name||t===c.string)&&e.static&&s==="prototype"){this.raise(r,m.StaticPrototype)}if(t===c.privateName&&s==="constructor"){this.raise(r,m.ConstructorClassPrivateField)}return this.parsePropertyName(e,true)}parseClassStaticBlock(e,t){var s;this.expectPlugin("classStaticBlock",t.start);this.scope.enter(L|B|F);const r=this.state.labels;this.state.labels=[];this.prodParam.enter(je);const i=t.body=[];this.parseBlockOrModuleBlockBody(i,undefined,false,c.braceR);this.prodParam.exit();this.scope.exit();this.state.labels=r;e.body.push(this.finishNode(t,"StaticBlock"));if((s=t.decorators)!=null&&s.length){this.raise(t.start,m.DecoratorStaticBlock)}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(t.key.start,m.ConstructorClassField)}e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const s=this.parseClassPrivateProperty(t);e.body.push(s);this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),ve,s.key.start)}pushClassMethod(e,t,s,r,i,n){e.body.push(this.parseMethod(t,s,r,i,n,"ClassMethod",true))}pushClassPrivateMethod(e,t,s,r){const i=this.parseMethod(t,s,r,false,false,"ClassPrivateMethod",true);e.body.push(i);const n=i.kind==="get"?i.static?me:be:i.kind==="set"?i.static?ge:xe:ve;this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),n,i.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(L|F);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(je);e.value=this.eat(c.eq)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,s,r=Z){if(this.match(c.name)){e.id=this.parseIdentifier();if(t){this.checkLVal(e.id,"class name",r)}}else{if(s||!t){e.id=null}else{this.unexpected(null,m.MissingClassName)}}}parseClassSuper(e){e.superClass=this.eat(c._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const s=!t||this.eat(c.comma);const r=s&&this.eatExportStar(e);const i=r&&this.maybeParseExportNamespaceSpecifier(e);const n=s&&(!i||this.eat(c.comma));const a=t||r;if(r&&!i){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&s&&!r&&!o||i&&n&&!o){throw this.unexpected(null,c.braceL)}let l;if(a||o){l=false;this.parseExportFrom(e,a)}else{l=this.maybeParseExportDeclaration(e)}if(a||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(c._default)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,c.braceL)}eatExportStar(e){return this.eat(c.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(c.braceL)){if(!e.specifiers)e.specifiers=[];e.specifiers.push(...this.parseExportSpecifiers());e.source=null;e.declaration=null;return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual("async"))return false;const e=this.nextTokenStart();return!p.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(c._function)||t){this.next();if(t){this.next()}return this.parseFunction(e,at|lt,t)}else if(this.match(c._class)){return this.parseClass(e,true,true)}else if(this.match(c.at)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,m.DecoratorBeforeExport)}this.parseDecorators(false);return this.parseClass(e,true,true)}else if(this.match(c._const)||this.match(c._var)||this.isLet()){throw this.raise(this.state.start,m.UnsupportedDefaultExport)}else{const e=this.parseMaybeAssignAllowIn();this.semicolon();return e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(c.name)){const e=this.state.value;if(e==="async"&&!this.state.containsEsc||e==="let"){return false}if((e==="type"||e==="interface")&&!this.state.containsEsc){const e=this.lookahead();if(e.type===c.name&&e.value!=="from"||e.type===c.braceL){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(c._default)){return false}const e=this.nextTokenStart();const t=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||this.match(c.name)&&t){return true}if(this.match(c._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return t===34||t===39}return false}parseExportFrom(e,t){if(this.eatContextual("from")){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else{if(t){this.unexpected()}else{e.source=null}}this.semicolon()}shouldParseExportDeclaration(){if(this.match(c.at)){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){this.unexpected(this.state.start,m.DecoratorBeforeExport)}else{return true}}}return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isLet()||this.isAsyncFunction()}checkExport(e,t,s,r){if(t){if(s){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var i;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((i=t.extra)!=null&&i.parenthesized)){this.raise(t.start,m.ExportDefaultFromAsIdentifier)}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const s=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,s);if(!r&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(t.start,m.ExportBindingIsString,e.value,s)}else{this.checkReservedWord(e.name,e.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}const n=this.state.decoratorStack[this.state.decoratorStack.length-1];if(n.length){throw this.raise(e.start,m.UnsupportedDecoratorExport)}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){this.raise(e.start,t==="default"?m.DuplicateDefaultExport:m.DuplicateExport,t)}this.exportedIdentifiers.add(t)}parseExportSpecifiers(){const e=[];let t=true;this.expect(c.braceL);while(!this.eat(c.braceR)){if(t){t=false}else{this.expect(c.comma);if(this.eat(c.braceR))break}const s=this.startNode();const r=this.match(c.string);const i=this.parseModuleExportName();s.local=i;if(this.eatContextual("as")){s.exported=this.parseModuleExportName()}else if(r){s.exported=cloneStringLiteral(i)}else{s.exported=cloneIdentifier(i)}e.push(this.finishNode(s,"ExportSpecifier"))}return e}parseModuleExportName(){if(this.match(c.string)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(ct);if(t){this.raise(e.start,m.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16))}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(c.string)){const t=this.maybeParseDefaultImportSpecifier(e);const s=!t||this.eat(c.comma);const r=s&&this.maybeParseStarImportSpecifier(e);if(s&&!r)this.parseNamedImportSpecifiers(e);this.expectContextual("from")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(c.string))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(c.name)}parseImportSpecifierLocal(e,t,s,r){t.local=this.parseIdentifier();this.checkLVal(t.local,r,ee);e.specifiers.push(this.finishNode(t,s))}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(c.braceR)){break}const s=this.startNode();const r=this.state.value;if(t.has(r)){this.raise(this.state.start,m.ModuleAttributesWithDuplicateKeys,r)}t.add(r);if(this.match(c.string)){s.key=this.parseStringLiteral(r)}else{s.key=this.parseIdentifier(true)}this.expect(c.colon);if(!this.match(c.string)){throw this.unexpected(this.state.start,m.ModuleAttributeInvalidValue)}s.value=this.parseStringLiteral(this.state.value);this.finishNode(s,"ImportAttribute");e.push(s)}while(this.eat(c.comma));return e}maybeParseModuleAttributes(){if(this.match(c._with)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const s=this.startNode();s.key=this.parseIdentifier(true);if(s.key.name!=="type"){this.raise(s.key.start,m.ModuleAttributeDifferentFromType,s.key.name)}if(t.has(s.key.name)){this.raise(s.key.start,m.ModuleAttributesWithDuplicateKeys,s.key.name)}t.add(s.key.name);this.expect(c.colon);if(!this.match(c.string)){throw this.unexpected(this.state.start,m.ModuleAttributeInvalidValue)}s.value=this.parseStringLiteral(this.state.value);this.finishNode(s,"ImportAttribute");e.push(s)}while(this.eat(c.comma));return e}maybeParseImportAssertions(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(c.braceL);const e=this.parseAssertEntries();this.eat(c.braceR);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(c.star)){const t=this.startNode();this.next();this.expectContextual("as");this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(c.braceL);while(!this.eat(c.braceR)){if(t){t=false}else{if(this.eat(c.colon)){throw this.raise(this.state.start,m.DestructureNamedImport)}this.expect(c.comma);if(this.eat(c.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();const s=this.match(c.string);t.imported=this.parseModuleExportName();if(this.eatContextual("as")){t.local=this.parseIdentifier()}else{const{imported:e}=t;if(s){throw this.raise(t.start,m.ImportBindingIsString,e.value)}this.checkReservedWord(e.name,t.start,true,true);t.local=cloneIdentifier(e)}this.checkLVal(t.local,"import specifier",ee);e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const s of e){const[e,r]=Array.isArray(s)?s:[s,{}];if(!t.has(e))t.set(e,r||{})}return t}function parse(e,t){var s;if(((s=t)==null?void 0:s.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const s=getParser(t,e);const r=s.parse();if(s.sawUnambiguousESM){return r}if(s.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{r.program.sourceType="script"}return r}catch(s){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw s}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const s=getParser(t,e);if(s.options.strictMode){s.state.strict=true}return s.getExpression()}function getParser(e,t){let s=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);s=getParserClass(e.plugins)}return new s(e,t)}const ut={};function getParserClass(e){const t=et.filter(t=>hasPlugin(e,t));const s=t.join("/");let r=ut[s];if(!r){r=Parser;for(const e of t){r=Ze[e](r)}ut[s]=r}return r}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=c},87790:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=s(20336);var i=s(35078);var n=s(28571);var a=s(64696);function matchAffectedArguments(e){const t=e.findIndex(e=>a.types.isSpreadElement(e));return t>=0&&t!==e.length-1}function shouldTransform(e){let t=e;const s=[];while(t.isOptionalMemberExpression()||t.isOptionalCallExpression()){const{node:e}=t;s.push(e);if(t.isOptionalMemberExpression()){t=n.skipTransparentExprWrappers(t.get("object"))}else if(t.isOptionalCallExpression()){t=n.skipTransparentExprWrappers(t.get("callee"))}}for(let e=0;e{e.assertVersion(7);const t=e.assumption("noDocumentAll");const s=e.assumption("pureGetters");return{name:"bugfix-v8-spread-parameters-in-optional-chaining",visitor:{"OptionalCallExpression|OptionalMemberExpression"(e){if(shouldTransform(e)){i.transform(e,{noDocumentAll:t,pureGetters:s})}}}}});t.default=o},21928:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var r=s(36860);let i=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const n=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,s){const r=Object.assign({column:0,line:-1},e.start);const i=Object.assign({},r,e.end);const{linesAbove:n=2,linesBelow:a=3}=s||{};const o=r.line;const l=r.column;const c=i.line;const p=i.column;let u=Math.max(o-(n+1),0);let h=Math.min(t.length,c+a);if(o===-1){u=0}if(c===-1){h=t.length}const f=c-o;const d={};if(f){for(let e=0;e<=f;e++){const s=e+o;if(!l){d[s]=true}else if(e===0){const e=t[s-1].length;d[s]=[l,e-l+1]}else if(e===f){d[s]=[0,p]}else{const r=t[s-e].length;d[s]=[0,r]}}}else{if(l===p){if(l){d[o]=[l,0]}else{d[o]=true}}else{d[o]=[l,p-l]}}return{start:u,end:h,markerLines:d}}function codeFrameColumns(e,t,s={}){const i=(s.highlightCode||s.forceColor)&&(0,r.shouldHighlight)(s);const a=(0,r.getChalk)(s);const o=getDefs(a);const l=(e,t)=>{return i?e(t):t};const c=e.split(n);const{start:p,end:u,markerLines:h}=getMarkerLines(t,c,s);const f=t.start&&typeof t.start.column==="number";const d=String(u).length;const y=i?(0,r.default)(e,s):e;let m=y.split(n).slice(p,u).map((e,t)=>{const r=p+1+t;const i=` ${r}`.slice(-d);const n=` ${i} |`;const a=h[r];const c=!h[r+1];if(a){let t="";if(Array.isArray(a)){const r=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const i=a[1]||1;t=["\n ",l(o.gutter,n.replace(/\d/g," "))," ",r,l(o.marker,"^").repeat(i)].join("");if(c&&s.message){t+=" "+l(o.message,s.message)}}return[l(o.marker,">"),l(o.gutter,n),e.length>0?` ${e}`:"",t].join("")}else{return` ${l(o.gutter,n)}${e.length>0?` ${e}`:""}`}}).join("\n");if(s.message&&!f){m=`${" ".repeat(d+1)}${s.message}\n${m}`}if(i){return a.reset(m)}else{return m}}function _default(e,t,s,r={}){if(!i){i=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}s=Math.max(s,0);const n={start:{column:s,line:t}};return codeFrameColumns(e,n,r)}},93644:(e,t,s)=>{e.exports=s(64172)},97456:(e,t,s)=>{e.exports=s(13768)},62309:()=>{},37612:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeWeakCache=makeWeakCache;t.makeWeakCacheSync=makeWeakCacheSync;t.makeStrongCache=makeStrongCache;t.makeStrongCacheSync=makeStrongCacheSync;t.assertSimpleType=assertSimpleType;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(35090);var i=s(69693);const n=e=>{return _gensync()(e).sync};function*genTrue(){return true}function makeWeakCache(e){return makeCachedFunction(WeakMap,e)}function makeWeakCacheSync(e){return n(makeWeakCache(e))}function makeStrongCache(e){return makeCachedFunction(Map,e)}function makeStrongCacheSync(e){return n(makeStrongCache(e))}function makeCachedFunction(e,t){const s=new e;const n=new e;const a=new e;return function*cachedFunction(e,o){const l=yield*(0,r.isAsync)();const c=l?n:s;const p=yield*getCachedValueOrWait(l,c,a,e,o);if(p.valid)return p.value;const u=new CacheConfigurator(o);const h=t(e,u);let f;let d;if((0,i.isIterableIterator)(h)){const t=h;d=yield*(0,r.onFirstPause)(t,()=>{f=setupAsyncLocks(u,a,e)})}else{d=h}updateFunctionCache(c,u,e,d);if(f){a.delete(e);f.release(d)}return d}}function*getCachedValue(e,t,s){const r=e.get(t);if(r){for(const{value:e,valid:t}of r){if(yield*t(s))return{valid:true,value:e}}}return{valid:false,value:null}}function*getCachedValueOrWait(e,t,s,i,n){const a=yield*getCachedValue(t,i,n);if(a.valid){return a}if(e){const e=yield*getCachedValue(s,i,n);if(e.valid){const t=yield*(0,r.waitFor)(e.value.promise);return{valid:true,value:t}}}return{valid:false,value:null}}function setupAsyncLocks(e,t,s){const r=new Lock;updateFunctionCache(t,e,s,r);return r}function updateFunctionCache(e,t,s,r){if(!t.configured())t.forever();let i=e.get(s);t.deactivate();switch(t.mode()){case"forever":i=[{value:r,valid:genTrue}];e.set(s,i);break;case"invalidate":i=[{value:r,valid:t.validator()}];e.set(s,i);break;case"valid":if(i){i.push({value:r,valid:t.validator()})}else{i=[{value:r,valid:t.validator()}];e.set(s,i)}}}class CacheConfigurator{constructor(e){this._active=true;this._never=false;this._forever=false;this._invalidate=false;this._configured=false;this._pairs=[];this._data=void 0;this._data=e}simple(){return makeSimpleConfigurator(this)}mode(){if(this._never)return"never";if(this._forever)return"forever";if(this._invalidate)return"invalidate";return"valid"}forever(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never){throw new Error("Caching has already been configured with .never()")}this._forever=true;this._configured=true}never(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._forever){throw new Error("Caching has already been configured with .forever()")}this._never=true;this._configured=true}using(e){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never||this._forever){throw new Error("Caching has already been configured with .never or .forever()")}this._configured=true;const t=e(this._data);const s=(0,r.maybeAsync)(e,`You appear to be using an async cache handler, but Babel has been called synchronously`);if((0,r.isThenable)(t)){return t.then(e=>{this._pairs.push([e,s]);return e})}this._pairs.push([t,s]);return t}invalidate(e){this._invalidate=true;return this.using(e)}validator(){const e=this._pairs;return function*(t){for(const[s,r]of e){if(s!==(yield*r(t)))return false}return true}}deactivate(){this._active=false}configured(){return this._configured}}function makeSimpleConfigurator(e){function cacheFn(t){if(typeof t==="boolean"){if(t)e.forever();else e.never();return}return e.using(()=>assertSimpleType(t()))}cacheFn.forever=(()=>e.forever());cacheFn.never=(()=>e.never());cacheFn.using=(t=>e.using(()=>assertSimpleType(t())));cacheFn.invalidate=(t=>e.invalidate(()=>assertSimpleType(t())));return cacheFn}function assertSimpleType(e){if((0,r.isThenable)(e)){throw new Error(`You appear to be using an async cache handler, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously handle your caching logic.`)}if(e!=null&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"){throw new Error("Cache keys must be either string, boolean, number, null, or undefined.")}return e}class Lock{constructor(){this.released=false;this.promise=void 0;this._resolve=void 0;this.promise=new Promise(e=>{this._resolve=e})}release(e){this.released=true;this._resolve(e)}}},59411:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPresetChain=buildPresetChain;t.buildRootChain=buildRootChain;t.buildPresetChainWalker=void 0;function _path(){const e=s(85622);_path=function(){return e};return e}function _debug(){const e=s(31185);_debug=function(){return e};return e}var r=s(1351);var i=s(296);var n=s(39342);var a=s(54949);var o=s(37612);var l=s(31689);const c=_debug()("babel:config:config-chain");function*buildPresetChain(e,t){const s=yield*p(e,t);if(!s)return null;return{plugins:dedupDescriptors(s.plugins),presets:dedupDescriptors(s.presets),options:s.options.map(e=>normalizeOptions(e)),files:new Set}}const p=makeChainWalker({root:e=>u(e),env:(e,t)=>h(e)(t),overrides:(e,t)=>f(e)(t),overridesEnv:(e,t,s)=>d(e)(t)(s),createLogger:()=>()=>{}});t.buildPresetChainWalker=p;const u=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.alias,l.createUncachedDescriptors));const h=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const f=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const d=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(s=>buildOverrideEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t,s))));function*buildRootChain(e,t){let s,r;const i=new n.ConfigPrinter;const o=yield*b({options:e,dirname:t.cwd},t,undefined,i);if(!o)return null;const l=yield*i.output();let c;if(typeof e.configFile==="string"){c=yield*(0,a.loadConfig)(e.configFile,t.cwd,t.envName,t.caller)}else if(e.configFile!==false){c=yield*(0,a.findRootConfig)(t.root,t.envName,t.caller)}let{babelrc:p,babelrcRoots:u}=e;let h=t.cwd;const f=emptyChain();const d=new n.ConfigPrinter;if(c){const e=y(c);const r=yield*loadFileChain(e,t,undefined,d);if(!r)return null;s=yield*d.output();if(p===undefined){p=e.options.babelrc}if(u===undefined){h=e.dirname;u=e.options.babelrcRoots}mergeChain(f,r)}let g,x;let v=false;const w=emptyChain();if((p===true||p===undefined)&&typeof t.filename==="string"){const e=yield*(0,a.findPackageData)(t.filename);if(e&&babelrcLoadEnabled(t,e,u,h)){({ignore:g,config:x}=yield*(0,a.findRelativeConfig)(e,t.envName,t.caller));if(g){w.files.add(g.filepath)}if(g&&shouldIgnore(t,g.ignore,null,g.dirname)){v=true}if(x&&!v){const e=m(x);const s=new n.ConfigPrinter;const i=yield*loadFileChain(e,t,undefined,s);if(!i){v=true}else{r=yield*s.output();mergeChain(w,i)}}if(x&&v){w.files.add(x.filepath)}}}if(t.showConfig){console.log(`Babel configs on "${t.filename}" (ascending priority):\n`+[s,r,l].filter(e=>!!e).join("\n\n")+"\n-----End Babel configs-----")}const P=mergeChain(mergeChain(mergeChain(emptyChain(),f),w),o);return{plugins:v?[]:dedupDescriptors(P.plugins),presets:v?[]:dedupDescriptors(P.presets),options:v?[]:P.options.map(e=>normalizeOptions(e)),fileHandling:v?"ignored":"transpile",ignore:g||undefined,babelrc:x||undefined,config:c||undefined,files:P.files}}function babelrcLoadEnabled(e,t,s,r){if(typeof s==="boolean")return s;const n=e.root;if(s===undefined){return t.directories.indexOf(n)!==-1}let a=s;if(!Array.isArray(a)){a=[a]}a=a.map(e=>{return typeof e==="string"?_path().resolve(r,e):e});if(a.length===1&&a[0]===n){return t.directories.indexOf(n)!==-1}return a.some(s=>{if(typeof s==="string"){s=(0,i.default)(s,r)}return t.directories.some(t=>{return matchPattern(s,r,t,e)})})}const y=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,r.validate)("configfile",e.options)}));const m=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,r.validate)("babelrcfile",e.options)}));const g=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,r.validate)("extendsfile",e.options)}));const b=makeChainWalker({root:e=>buildRootDescriptors(e,"base",l.createCachedDescriptors),env:(e,t)=>buildEnvDescriptors(e,"base",l.createCachedDescriptors,t),overrides:(e,t)=>buildOverrideDescriptors(e,"base",l.createCachedDescriptors,t),overridesEnv:(e,t,s)=>buildOverrideEnvDescriptors(e,"base",l.createCachedDescriptors,t,s),createLogger:(e,t,s)=>buildProgrammaticLogger(e,t,s)});const x=makeChainWalker({root:e=>v(e),env:(e,t)=>w(e)(t),overrides:(e,t)=>P(e)(t),overridesEnv:(e,t,s)=>E(e)(t)(s),createLogger:(e,t,s)=>buildFileLogger(e.filepath,t,s)});function*loadFileChain(e,t,s,r){const i=yield*x(e,t,s,r);if(i){i.files.add(e.filepath)}return i}const v=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.filepath,l.createUncachedDescriptors));const w=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const P=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const E=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(s=>buildOverrideEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t,s))));function buildFileLogger(e,t,s){if(!s){return()=>{}}return s.configure(t.showConfig,n.ChainFormatter.Config,{filepath:e})}function buildRootDescriptors({dirname:e,options:t},s,r){return r(e,t,s)}function buildProgrammaticLogger(e,t,s){var r;if(!s){return()=>{}}return s.configure(t.showConfig,n.ChainFormatter.Programmatic,{callerName:(r=t.caller)==null?void 0:r.name})}function buildEnvDescriptors({dirname:e,options:t},s,r,i){const n=t.env&&t.env[i];return n?r(e,n,`${s}.env["${i}"]`):null}function buildOverrideDescriptors({dirname:e,options:t},s,r,i){const n=t.overrides&&t.overrides[i];if(!n)throw new Error("Assertion failure - missing override");return r(e,n,`${s}.overrides[${i}]`)}function buildOverrideEnvDescriptors({dirname:e,options:t},s,r,i,n){const a=t.overrides&&t.overrides[i];if(!a)throw new Error("Assertion failure - missing override");const o=a.env&&a.env[n];return o?r(e,o,`${s}.overrides[${i}].env["${n}"]`):null}function makeChainWalker({root:e,env:t,overrides:s,overridesEnv:r,createLogger:i}){return function*(n,a,o=new Set,l){const{dirname:c}=n;const p=[];const u=e(n);if(configIsApplicable(u,c,a)){p.push({config:u,envName:undefined,index:undefined});const e=t(n,a.envName);if(e&&configIsApplicable(e,c,a)){p.push({config:e,envName:a.envName,index:undefined})}(u.options.overrides||[]).forEach((e,t)=>{const i=s(n,t);if(configIsApplicable(i,c,a)){p.push({config:i,index:t,envName:undefined});const e=r(n,t,a.envName);if(e&&configIsApplicable(e,c,a)){p.push({config:e,index:t,envName:a.envName})}}})}if(p.some(({config:{options:{ignore:e,only:t}}})=>shouldIgnore(a,e,t,c))){return null}const h=emptyChain();const f=i(n,a,l);for(const{config:e,index:t,envName:s}of p){if(!(yield*mergeExtendsChain(h,e.options,c,a,o,l))){return null}f(e,t,s);yield*mergeChainOpts(h,e)}return h}}function*mergeExtendsChain(e,t,s,r,i,n){if(t.extends===undefined)return true;const o=yield*(0,a.loadConfig)(t.extends,s,r.envName,r.caller);if(i.has(o)){throw new Error(`Configuration cycle detected loading ${o.filepath}.\n`+`File already loaded following the config chain:\n`+Array.from(i,e=>` - ${e.filepath}`).join("\n"))}i.add(o);const l=yield*loadFileChain(g(o),r,i,n);i.delete(o);if(!l)return false;mergeChain(e,l);return true}function mergeChain(e,t){e.options.push(...t.options);e.plugins.push(...t.plugins);e.presets.push(...t.presets);for(const s of t.files){e.files.add(s)}return e}function*mergeChainOpts(e,{options:t,plugins:s,presets:r}){e.options.push(t);e.plugins.push(...yield*s());e.presets.push(...yield*r());return e}function emptyChain(){return{options:[],presets:[],plugins:[],files:new Set}}function normalizeOptions(e){const t=Object.assign({},e);delete t.extends;delete t.env;delete t.overrides;delete t.plugins;delete t.presets;delete t.passPerPreset;delete t.ignore;delete t.only;delete t.test;delete t.include;delete t.exclude;if(Object.prototype.hasOwnProperty.call(t,"sourceMap")){t.sourceMaps=t.sourceMap;delete t.sourceMap}return t}function dedupDescriptors(e){const t=new Map;const s=[];for(const r of e){if(typeof r.value==="function"){const e=r.value;let i=t.get(e);if(!i){i=new Map;t.set(e,i)}let n=i.get(r.name);if(!n){n={value:r};s.push(n);if(!r.ownPass)i.set(r.name,n)}else{n.value=r}}else{s.push({value:r})}}return s.reduce((e,t)=>{e.push(t.value);return e},[])}function configIsApplicable({options:e},t,s){return(e.test===undefined||configFieldIsApplicable(s,e.test,t))&&(e.include===undefined||configFieldIsApplicable(s,e.include,t))&&(e.exclude===undefined||!configFieldIsApplicable(s,e.exclude,t))}function configFieldIsApplicable(e,t,s){const r=Array.isArray(t)?t:[t];return matchesPatterns(e,r,s)}function shouldIgnore(e,t,s,r){if(t&&matchesPatterns(e,t,r)){var i;const s=`No config is applied to "${(i=e.filename)!=null?i:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(t)}\` from "${r}"`;c(s);if(e.showConfig){console.log(s)}return true}if(s&&!matchesPatterns(e,s,r)){var n;const t=`No config is applied to "${(n=e.filename)!=null?n:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(s)}\` from "${r}"`;c(t);if(e.showConfig){console.log(t)}return true}return false}function matchesPatterns(e,t,s){return t.some(t=>matchPattern(t,s,e.filename,e))}function matchPattern(e,t,s,r){if(typeof e==="function"){return!!e(s,{dirname:t,envName:r.envName,caller:r.caller})}if(typeof s!=="string"){throw new Error(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`)}if(typeof e==="string"){e=(0,i.default)(e,t)}return e.test(s)}},31689:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createCachedDescriptors=createCachedDescriptors;t.createUncachedDescriptors=createUncachedDescriptors;t.createDescriptor=createDescriptor;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(54949);var i=s(47949);var n=s(37612);var a=s(69354);function isEqualDescriptor(e,t){return e.name===t.name&&e.value===t.value&&e.options===t.options&&e.dirname===t.dirname&&e.alias===t.alias&&e.ownPass===t.ownPass&&(e.file&&e.file.request)===(t.file&&t.file.request)&&(e.file&&e.file.resolved)===(t.file&&t.file.resolved)}function*handlerOf(e){return e}function optionsWithResolvedBrowserslistConfigFile(e,t){if(typeof e.browserslistConfigFile==="string"){e.browserslistConfigFile=(0,a.resolveBrowserslistConfigFile)(e.browserslistConfigFile,t)}return e}function createCachedDescriptors(e,t,s){const{plugins:r,presets:i,passPerPreset:n}=t;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),plugins:r?()=>p(r,e)(s):()=>handlerOf([]),presets:i?()=>l(i,e)(s)(!!n):()=>handlerOf([])}}function createUncachedDescriptors(e,t,s){let r;let i;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),*plugins(){if(!r){r=yield*createPluginDescriptors(t.plugins||[],e,s)}return r},*presets(){if(!i){i=yield*createPresetDescriptors(t.presets||[],e,s,!!t.passPerPreset)}return i}}}const o=new WeakMap;const l=(0,n.makeWeakCacheSync)((e,t)=>{const s=t.using(e=>e);return(0,n.makeStrongCacheSync)(t=>(0,n.makeStrongCache)(function*(r){const i=yield*createPresetDescriptors(e,s,t,r);return i.map(e=>loadCachedDescriptor(o,e))}))});const c=new WeakMap;const p=(0,n.makeWeakCacheSync)((e,t)=>{const s=t.using(e=>e);return(0,n.makeStrongCache)(function*(t){const r=yield*createPluginDescriptors(e,s,t);return r.map(e=>loadCachedDescriptor(c,e))})});const u={};function loadCachedDescriptor(e,t){const{value:s,options:r=u}=t;if(r===false)return t;let i=e.get(s);if(!i){i=new WeakMap;e.set(s,i)}let n=i.get(r);if(!n){n=[];i.set(r,n)}if(n.indexOf(t)===-1){const e=n.filter(e=>isEqualDescriptor(e,t));if(e.length>0){return e[0]}n.push(t)}return t}function*createPresetDescriptors(e,t,s,r){return yield*createDescriptors("preset",e,t,s,r)}function*createPluginDescriptors(e,t,s){return yield*createDescriptors("plugin",e,t,s)}function*createDescriptors(e,t,s,r,i){const n=yield*_gensync().all(t.map((t,n)=>createDescriptor(t,s,{type:e,alias:`${r}$${n}`,ownPass:!!i})));assertNoDuplicates(n);return n}function*createDescriptor(e,t,{type:s,alias:n,ownPass:a}){const o=(0,i.getItemDescriptor)(e);if(o){return o}let l;let c;let p=e;if(Array.isArray(p)){if(p.length===3){[p,c,l]=p}else{[p,c]=p}}let u=undefined;let h=null;if(typeof p==="string"){if(typeof s!=="string"){throw new Error("To resolve a string-based item, the type of item must be given")}const e=s==="plugin"?r.loadPlugin:r.loadPreset;const i=p;({filepath:h,value:p}=yield*e(p,t));u={request:i,resolved:h}}if(!p){throw new Error(`Unexpected falsy value: ${String(p)}`)}if(typeof p==="object"&&p.__esModule){if(p.default){p=p.default}else{throw new Error("Must export a default export when using ES6 modules.")}}if(typeof p!=="object"&&typeof p!=="function"){throw new Error(`Unsupported format: ${typeof p}. Expected an object or a function.`)}if(h!==null&&typeof p==="object"&&p){throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${h}`)}return{name:l,alias:h||n,value:p,options:c,dirname:t,ownPass:a,file:u}}function assertNoDuplicates(e){const t=new Map;for(const s of e){if(typeof s.value!=="function")continue;let r=t.get(s.value);if(!r){r=new Set;t.set(s.value,r)}if(r.has(s.name)){const t=e.filter(e=>e.value===s.value);throw new Error([`Duplicate plugin/preset detected.`,`If you'd like to use two separate instances of a plugin,`,`they need separate names, e.g.`,``,` plugins: [`,` ['some-plugin', {}],`,` ['some-plugin', {}, 'some unique name'],`,` ]`,``,`Duplicates detected are:`,`${JSON.stringify(t,null,2)}`].join("\n"))}r.add(s.name)}}},32893:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findConfigUpwards=findConfigUpwards;t.findRelativeConfig=findRelativeConfig;t.findRootConfig=findRootConfig;t.loadConfig=loadConfig;t.resolveShowConfigPath=resolveShowConfigPath;t.ROOT_CONFIG_FILENAMES=void 0;function _debug(){const e=s(31185);_debug=function(){return e};return e}function _fs(){const e=s(35747);_fs=function(){return e};return e}function _path(){const e=s(85622);_path=function(){return e};return e}function _json(){const e=s(33170);_json=function(){return e};return e}function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(37612);var i=s(83269);var n=s(1209);var a=s(98456);var o=s(296);var l=s(66833);function _module(){const e=s(32282);_module=function(){return e};return e}const c=_debug()("babel:config:loading:files:configuration");const p=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json"];t.ROOT_CONFIG_FILENAMES=p;const u=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json"];const h=".babelignore";function findConfigUpwards(e){let t=e;for(;;){for(const e of p){if(_fs().existsSync(_path().join(t,e))){return t}}const e=_path().dirname(t);if(t===e)break;t=e}return null}function*findRelativeConfig(e,t,s){let r=null;let i=null;const n=_path().dirname(e.filepath);for(const o of e.directories){if(!r){var a;r=yield*loadOneConfig(u,o,t,s,((a=e.pkg)==null?void 0:a.dirname)===o?y(e.pkg):null)}if(!i){const e=_path().join(o,h);i=yield*g(e);if(i){c("Found ignore %o from %o.",i.filepath,n)}}}return{config:r,ignore:i}}function findRootConfig(e,t,s){return loadOneConfig(p,e,t,s)}function*loadOneConfig(e,t,s,r,i=null){const n=yield*_gensync().all(e.map(e=>readConfig(_path().join(t,e),s,r)));const a=n.reduce((e,s)=>{if(s&&e){throw new Error(`Multiple configuration files found. Please remove one:\n`+` - ${_path().basename(e.filepath)}\n`+` - ${s.filepath}\n`+`from ${t}`)}return s||e},i);if(a){c("Found configuration %o from %o.",a.filepath,t)}return a}function*loadConfig(e,t,r,i){const n=(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(e,{paths:[t]});const a=yield*readConfig(n,r,i);if(!a){throw new Error(`Config file ${n} contains no configuration data`)}c("Loaded config %o from %o.",e,t);return a}function readConfig(e,t,s){const r=_path().extname(e);return r===".js"||r===".cjs"||r===".mjs"?d(e,{envName:t,caller:s}):m(e)}const f=new Set;const d=(0,r.makeStrongCache)(function*readConfigJS(e,t){if(!_fs().existsSync(e)){t.never();return null}if(f.has(e)){t.never();c("Auto-ignoring usage of config %o.",e);return{filepath:e,dirname:_path().dirname(e),options:{}}}let s;try{f.add(e);s=yield*(0,a.default)(e,"You appear to be using a native ECMAScript module configuration "+"file, which is only supported when running Babel asynchronously.")}catch(t){t.message=`${e}: Error while loading config - ${t.message}`;throw t}finally{f.delete(e)}let r=false;if(typeof s==="function"){yield*[];s=s((0,i.makeConfigAPI)(t));r=true}if(!s||typeof s!=="object"||Array.isArray(s)){throw new Error(`${e}: Configuration should be an exported JavaScript object.`)}if(typeof s.then==="function"){throw new Error(`You appear to be using an async configuration, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously return your config.`)}if(r&&!t.configured())throwConfigError();return{filepath:e,dirname:_path().dirname(e),options:s}});const y=(0,r.makeWeakCacheSync)(e=>{const t=e.options["babel"];if(typeof t==="undefined")return null;if(typeof t!=="object"||Array.isArray(t)||t===null){throw new Error(`${e.filepath}: .babel property must be an object`)}return{filepath:e.filepath,dirname:e.dirname,options:t}});const m=(0,n.makeStaticFileCache)((e,t)=>{let s;try{s=_json().parse(t)}catch(t){t.message=`${e}: Error while parsing config - ${t.message}`;throw t}if(!s)throw new Error(`${e}: No config detected`);if(typeof s!=="object"){throw new Error(`${e}: Config returned typeof ${typeof s}`)}if(Array.isArray(s)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:s}});const g=(0,n.makeStaticFileCache)((e,t)=>{const s=_path().dirname(e);const r=t.split("\n").map(e=>e.replace(/#(.*?)$/,"").trim()).filter(e=>!!e);for(const e of r){if(e[0]==="!"){throw new Error(`Negation of file paths is not supported.`)}}return{filepath:e,dirname:_path().dirname(e),ignore:r.map(e=>(0,o.default)(e,s))}});function*resolveShowConfigPath(e){const t=process.env.BABEL_SHOW_CONFIG_FOR;if(t!=null){const s=_path().resolve(e,t);const r=yield*l.stat(s);if(!r.isFile()){throw new Error(`${s}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`)}return s}return null}function throwConfigError(){throw new Error(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don't call this function again.\n api.cache(true);\n\n // Don't cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === "production");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};`)}},20134:(e,t,s)=>{"use strict";var r;r={value:true};t.Z=import_;function import_(e){return s(29513)(e)}},54949:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"findPackageData",{enumerable:true,get:function(){return r.findPackageData}});Object.defineProperty(t,"findConfigUpwards",{enumerable:true,get:function(){return i.findConfigUpwards}});Object.defineProperty(t,"findRelativeConfig",{enumerable:true,get:function(){return i.findRelativeConfig}});Object.defineProperty(t,"findRootConfig",{enumerable:true,get:function(){return i.findRootConfig}});Object.defineProperty(t,"loadConfig",{enumerable:true,get:function(){return i.loadConfig}});Object.defineProperty(t,"resolveShowConfigPath",{enumerable:true,get:function(){return i.resolveShowConfigPath}});Object.defineProperty(t,"ROOT_CONFIG_FILENAMES",{enumerable:true,get:function(){return i.ROOT_CONFIG_FILENAMES}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return n.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return n.resolvePreset}});Object.defineProperty(t,"loadPlugin",{enumerable:true,get:function(){return n.loadPlugin}});Object.defineProperty(t,"loadPreset",{enumerable:true,get:function(){return n.loadPreset}});var r=s(97511);var i=s(32893);var n=s(37541);({})},98456:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadCjsOrMjsDefault;var r=s(35090);function _path(){const e=s(85622);_path=function(){return e};return e}function _url(){const e=s(78835);_url=function(){return e};return e}function _module(){const e=s(32282);_module=function(){return e};return e}function asyncGeneratorStep(e,t,s,r,i,n,a){try{var o=e[n](a);var l=o.value}catch(e){s(e);return}if(o.done){t(l)}else{Promise.resolve(l).then(r,i)}}function _asyncToGenerator(e){return function(){var t=this,s=arguments;return new Promise(function(r,i){var n=e.apply(t,s);function _next(e){asyncGeneratorStep(n,r,i,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(n,r,i,_next,_throw,"throw",e)}_next(undefined)})}}let i;try{i=s(20134).Z}catch(e){}function*loadCjsOrMjsDefault(e,t,s=false){switch(guessJSModuleType(e)){case"cjs":return loadCjsDefault(e,s);case"unknown":try{return loadCjsDefault(e,s)}catch(e){if(e.code!=="ERR_REQUIRE_ESM")throw e}case"mjs":if(yield*(0,r.isAsync)()){return yield*(0,r.waitFor)(loadMjsDefault(e))}throw new Error(t)}}function guessJSModuleType(e){switch(_path().extname(e)){case".cjs":return"cjs";case".mjs":return"mjs";default:return"unknown"}}function loadCjsDefault(e,t){const s=require(e);return s!=null&&s.__esModule?s.default||(t?s:undefined):s}function loadMjsDefault(e){return _loadMjsDefault.apply(this,arguments)}function _loadMjsDefault(){_loadMjsDefault=_asyncToGenerator(function*(e){if(!i){throw new Error("Internal error: Native ECMAScript modules aren't supported"+" by this platform.\n")}const t=yield i((0,_url().pathToFileURL)(e));return t.default});return _loadMjsDefault.apply(this,arguments)}},97511:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findPackageData=findPackageData;function _path(){const e=s(85622);_path=function(){return e};return e}var r=s(1209);const i="package.json";function*findPackageData(e){let t=null;const s=[];let r=true;let a=_path().dirname(e);while(!t&&_path().basename(a)!=="node_modules"){s.push(a);t=yield*n(_path().join(a,i));const e=_path().dirname(a);if(a===e){r=false;break}a=e}return{filepath:e,directories:s,pkg:t,isPackage:r}}const n=(0,r.makeStaticFileCache)((e,t)=>{let s;try{s=JSON.parse(t)}catch(t){t.message=`${e}: Error while parsing JSON - ${t.message}`;throw t}if(!s)throw new Error(`${e}: No config detected`);if(typeof s!=="object"){throw new Error(`${e}: Config returned typeof ${typeof s}`)}if(Array.isArray(s)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:s}})},37541:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolvePlugin=resolvePlugin;t.resolvePreset=resolvePreset;t.loadPlugin=loadPlugin;t.loadPreset=loadPreset;function _debug(){const e=s(31185);_debug=function(){return e};return e}function _path(){const e=s(85622);_path=function(){return e};return e}var r=s(98456);function _module(){const e=s(32282);_module=function(){return e};return e}const i=_debug()("babel:config:loading:files:plugins");const n=/^module:/;const a=/^(?!@|module:|[^/]+\/|babel-plugin-)/;const o=/^(?!@|module:|[^/]+\/|babel-preset-)/;const l=/^(@babel\/)(?!plugin-|[^/]+\/)/;const c=/^(@babel\/)(?!preset-|[^/]+\/)/;const p=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/;const u=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/;const h=/^(@(?!babel$)[^/]+)$/;function resolvePlugin(e,t){return resolveStandardizedName("plugin",e,t)}function resolvePreset(e,t){return resolveStandardizedName("preset",e,t)}function*loadPlugin(e,t){const s=resolvePlugin(e,t);if(!s){throw new Error(`Plugin ${e} not found relative to ${t}`)}const r=yield*requireModule("plugin",s);i("Loaded plugin %o from %o.",e,t);return{filepath:s,value:r}}function*loadPreset(e,t){const s=resolvePreset(e,t);if(!s){throw new Error(`Preset ${e} not found relative to ${t}`)}const r=yield*requireModule("preset",s);i("Loaded preset %o from %o.",e,t);return{filepath:s,value:r}}function standardizeName(e,t){if(_path().isAbsolute(t))return t;const s=e==="preset";return t.replace(s?o:a,`babel-${e}-`).replace(s?c:l,`$1${e}-`).replace(s?u:p,`$1babel-${e}-`).replace(h,`$1/babel-${e}`).replace(n,"")}function resolveStandardizedName(e,t,r=process.cwd()){const i=standardizeName(e,t);try{return(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(i,{paths:[r]})}catch(n){if(n.code!=="MODULE_NOT_FOUND")throw n;if(i!==t){let e=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(t,{paths:[r]});e=true}catch(e){}if(e){n.message+=`\n- If you want to resolve "${t}", use "module:${t}"`}}let a=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(standardizeName(e,"@babel/"+t),{paths:[r]});a=true}catch(e){}if(a){n.message+=`\n- Did you mean "@babel/${t}"?`}let o=false;const l=e==="preset"?"plugin":"preset";try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(standardizeName(l,t),{paths:[r]});o=true}catch(e){}if(o){n.message+=`\n- Did you accidentally pass a ${l} as a ${e}?`}throw n}}const f=new Set;function*requireModule(e,t){if(f.has(t)){throw new Error(`Reentrant ${e} detected trying to load "${t}". This module is not ignored `+"and is trying to load itself while compiling itself, leading to a dependency cycle. "+'We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.')}try{f.add(t);return yield*(0,r.default)(t,`You appear to be using a native ECMAScript module ${e}, `+"which is only supported when running Babel asynchronously.",true)}catch(e){e.message=`[BABEL]: ${e.message} (While processing: ${t})`;throw e}finally{f.delete(t)}}},1209:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeStaticFileCache=makeStaticFileCache;var r=s(37612);var i=s(66833);function _fs2(){const e=s(35747);_fs2=function(){return e};return e}function makeStaticFileCache(e){return(0,r.makeStrongCache)(function*(t,s){const r=s.invalidate(()=>fileMtime(t));if(r===null){return null}return e(t,yield*i.readFile(t,"utf8"))})}function fileMtime(e){if(!_fs2().existsSync(e))return null;try{return+_fs2().statSync(e).mtime}catch(e){if(e.code!=="ENOENT"&&e.code!=="ENOTDIR")throw e}return null}},40192:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(35090);var i=s(69693);var n=s(64696);var a=s(85532);var o=s(47949);var l=s(59411);function _traverse(){const e=s(4267);_traverse=function(){return e};return e}var c=s(37612);var p=s(1351);var u=s(95077);var h=s(83269);var f=s(14651);var d=s(62309);var y=_gensync()(function*loadFullConfig(e){var t;const s=yield*(0,f.default)(e);if(!s){return null}const{options:r,context:n,fileHandling:a}=s;if(a==="ignored"){return null}const l={};const{plugins:c,presets:u}=r;if(!c||!u){throw new Error("Assertion failure - plugins and presets exist")}const h=Object.assign({},n,{targets:r.targets});const d=e=>{const t=(0,o.getItemDescriptor)(e);if(!t){throw new Error("Assertion failure - must be config item")}return t};const y=u.map(d);const m=c.map(d);const g=[[]];const b=[];const x=yield*enhanceError(n,function*recursePresetDescriptors(e,t){const s=[];for(let r=0;r0){g.splice(1,0,...s.map(e=>e.pass).filter(e=>e!==t));for(const{preset:e,pass:t}of s){if(!e)return true;t.push(...e.plugins);const s=yield*recursePresetDescriptors(e.presets,t);if(s)return true;e.options.forEach(e=>{(0,i.mergeOptions)(l,e)})}}})(y,g[0]);if(x)return null;const v=l;(0,i.mergeOptions)(v,r);const w=Object.assign({},h,{assumptions:(t=v.assumptions)!=null?t:{}});yield*enhanceError(n,function*loadPluginDescriptors(){g[0].unshift(...m);for(const e of g){const t=[];b.push(t);for(let s=0;se.length>0).map(e=>({plugins:e}));v.passPerPreset=v.presets.length>0;return{options:v,passes:b}});t.default=y;function enhanceError(e,t){return function*(s,r){try{return yield*t(s,r)}catch(t){if(!/^\[BABEL\]/.test(t.message)){t.message=`[BABEL] ${e.filename||"unknown"}: ${t.message}`}throw t}}}const m=e=>(0,c.makeWeakCache)(function*({value:t,options:s,dirname:i,alias:a},o){if(s===false)throw new Error("Assertion failure");s=s||{};let l=t;if(typeof t==="function"){const c=(0,r.maybeAsync)(t,`You appear to be using an async plugin/preset, but Babel has been called synchronously`);const p=Object.assign({},n,e(o));try{l=yield*c(p,s,i)}catch(e){if(a){e.message+=` (While processing: ${JSON.stringify(a)})`}throw e}}if(!l||typeof l!=="object"){throw new Error("Plugin/Preset did not return an object.")}if((0,r.isThenable)(l)){yield*[];throw new Error(`You appear to be using a promise as a plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version. `+`As an alternative, you can prefix the promise with "await". `+`(While processing: ${JSON.stringify(a)})`)}return{value:l,options:s,dirname:i,alias:a}});const g=m(h.makePluginAPI);const b=m(h.makePresetAPI);function*loadPluginDescriptor(e,t){if(e.value instanceof a.default){if(e.options){throw new Error("Passed options to an existing Plugin instance will not work.")}return e.value}return yield*x(yield*g(e,t),t)}const x=(0,c.makeWeakCache)(function*({value:e,options:t,dirname:s,alias:i},n){const o=(0,u.validatePluginObject)(e);const l=Object.assign({},o);if(l.visitor){l.visitor=_traverse().default.explode(Object.assign({},l.visitor))}if(l.inherits){const e={name:undefined,alias:`${i}$inherits`,value:l.inherits,options:t,dirname:s};const a=yield*(0,r.forwardAsync)(loadPluginDescriptor,t=>{return n.invalidate(s=>t(e,s))});l.pre=chain(a.pre,l.pre);l.post=chain(a.post,l.post);l.manipulateOptions=chain(a.manipulateOptions,l.manipulateOptions);l.visitor=_traverse().default.visitors.merge([a.visitor||{},l.visitor||{}])}return new a.default(l,t,i)});const v=(e,t)=>{if(e.test||e.include||e.exclude){const e=t.name?`"${t.name}"`:"/* your preset */";throw new Error([`Preset ${e} requires a filename to be set when babel is called directly,`,`\`\`\``,`babel.transform(code, { filename: 'file.ts', presets: [${e}] });`,`\`\`\``,`See https://babeljs.io/docs/en/options#filename for more information.`].join("\n"))}};const w=(e,t,s)=>{if(!t.filename){const{options:t}=e;v(t,s);if(t.overrides){t.overrides.forEach(e=>v(e,s))}}};function*loadPresetDescriptor(e,t){const s=P(yield*b(e,t));w(s,t,e);return yield*(0,l.buildPresetChain)(s,t)}const P=(0,c.makeWeakCacheSync)(({value:e,dirname:t,alias:s})=>{return{options:(0,p.validate)("preset",e),alias:s,dirname:t}});function chain(e,t){const s=[e,t].filter(Boolean);if(s.length<=1)return s[0];return function(...e){for(const t of s){t.apply(this,e)}}}},83269:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeConfigAPI=makeConfigAPI;t.makePresetAPI=makePresetAPI;t.makePluginAPI=makePluginAPI;function _semver(){const e=s(62519);_semver=function(){return e};return e}var r=s(64696);var i=s(37612);var n=s(62309);function makeConfigAPI(e){const t=t=>e.using(e=>{if(typeof t==="undefined")return e.envName;if(typeof t==="function"){return(0,i.assertSimpleType)(t(e.envName))}if(!Array.isArray(t))t=[t];return t.some(t=>{if(typeof t!=="string"){throw new Error("Unexpected non-string value")}return t===e.envName})});const s=t=>e.using(e=>(0,i.assertSimpleType)(t(e.caller)));return{version:r.version,cache:e.simple(),env:t,async:()=>false,caller:s,assertVersion:assertVersion}}function makePresetAPI(e){const t=()=>JSON.parse(e.using(e=>JSON.stringify(e.targets)));return Object.assign({},makeConfigAPI(e),{targets:t})}function makePluginAPI(e){const t=t=>e.using(e=>e.assumptions[t]);return Object.assign({},makePresetAPI(e),{assumption:t})}function assertVersion(e){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}if(_semver().satisfies(r.version,e))return;const t=Error.stackTraceLimit;if(typeof t==="number"&&t<25){Error.stackTraceLimit=25}const s=new Error(`Requires Babel "${e}", but was loaded with "${r.version}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`);if(typeof t==="number"){Error.stackTraceLimit=t}throw Object.assign(s,{code:"BABEL_VERSION_UNSUPPORTED",version:r.version,range:e})}},23890:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getEnv=getEnv;function getEnv(e="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||e}},12152:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createConfigItem=createConfigItem;Object.defineProperty(t,"default",{enumerable:true,get:function(){return r.default}});t.createConfigItemAsync=t.createConfigItemSync=t.loadOptionsAsync=t.loadOptionsSync=t.loadOptions=t.loadPartialConfigAsync=t.loadPartialConfigSync=t.loadPartialConfig=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(40192);var i=s(14651);var n=s(47949);const a=_gensync()(function*(e){var t;const s=yield*(0,r.default)(e);return(t=s==null?void 0:s.options)!=null?t:null});const o=_gensync()(n.createConfigItem);const l=e=>(t,s)=>{if(s===undefined&&typeof t==="function"){s=t;t=undefined}return s?e.errback(t,s):e.sync(t)};const c=l(i.loadPartialConfig);t.loadPartialConfig=c;const p=i.loadPartialConfig.sync;t.loadPartialConfigSync=p;const u=i.loadPartialConfig.async;t.loadPartialConfigAsync=u;const h=l(a);t.loadOptions=h;const f=a.sync;t.loadOptionsSync=f;const d=a.async;t.loadOptionsAsync=d;const y=o.sync;t.createConfigItemSync=y;const m=o.async;t.createConfigItemAsync=m;function createConfigItem(e,t,s){if(s!==undefined){return o.errback(e,t,s)}else if(typeof t==="function"){return o.errback(e,undefined,s)}else{return o.sync(e,t)}}},47949:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createItemFromDescriptor=createItemFromDescriptor;t.createConfigItem=createConfigItem;t.getItemDescriptor=getItemDescriptor;function _path(){const e=s(85622);_path=function(){return e};return e}var r=s(31689);function createItemFromDescriptor(e){return new ConfigItem(e)}function*createConfigItem(e,{dirname:t=".",type:s}={}){const i=yield*(0,r.createDescriptor)(e,_path().resolve(t),{type:s,alias:"programmatic item"});return createItemFromDescriptor(i)}function getItemDescriptor(e){if(e!=null&&e[i]){return e._descriptor}return undefined}const i=Symbol.for("@babel/core@7 - ConfigItem");class ConfigItem{constructor(e){this._descriptor=void 0;this[i]=true;this.value=void 0;this.options=void 0;this.dirname=void 0;this.name=void 0;this.file=void 0;this._descriptor=e;Object.defineProperty(this,"_descriptor",{enumerable:false});Object.defineProperty(this,i,{enumerable:false});this.value=this._descriptor.value;this.options=this._descriptor.options;this.dirname=this._descriptor.dirname;this.name=this._descriptor.name;this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:undefined;Object.freeze(this)}}Object.freeze(ConfigItem.prototype)},14651:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadPrivatePartialConfig;t.loadPartialConfig=void 0;function _path(){const e=s(85622);_path=function(){return e};return e}function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(85532);var i=s(69693);var n=s(47949);var a=s(59411);var o=s(23890);var l=s(1351);var c=s(54949);var p=s(69354);function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var s={};var r=Object.keys(e);var i,n;for(n=0;n=0)continue;s[i]=e[i]}return s}function resolveRootMode(e,t){switch(t){case"root":return e;case"upward-optional":{const t=(0,c.findConfigUpwards)(e);return t===null?e:t}case"upward":{const t=(0,c.findConfigUpwards)(e);if(t!==null)return t;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not `+`be found when searching upward from "${e}".\n`+`One of the following config files must be in the directory tree: `+`"${c.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error(`Assertion failure - unknown rootMode value.`)}}function*loadPrivatePartialConfig(e){if(e!=null&&(typeof e!=="object"||Array.isArray(e))){throw new Error("Babel options must be an object, null, or undefined")}const t=e?(0,l.validate)("arguments",e):{};const{envName:s=(0,o.getEnv)(),cwd:r=".",root:u=".",rootMode:h="root",caller:f,cloneInputAst:d=true}=t;const y=_path().resolve(r);const m=resolveRootMode(_path().resolve(y,u),h);const g=typeof t.filename==="string"?_path().resolve(r,t.filename):undefined;const b=yield*(0,c.resolveShowConfigPath)(y);const x={filename:g,cwd:y,root:m,envName:s,caller:f,showConfig:b===g};const v=yield*(0,a.buildRootChain)(t,x);if(!v)return null;const w={assumptions:{}};v.options.forEach(e=>{(0,i.mergeOptions)(w,e)});const P=Object.assign({},w,{targets:(0,p.resolveTargets)(w,m),cloneInputAst:d,babelrc:false,configFile:false,browserslistConfigFile:false,passPerPreset:false,envName:x.envName,cwd:x.cwd,root:x.root,rootMode:"root",filename:typeof x.filename==="string"?x.filename:undefined,plugins:v.plugins.map(e=>(0,n.createItemFromDescriptor)(e)),presets:v.presets.map(e=>(0,n.createItemFromDescriptor)(e))});return{options:P,context:x,fileHandling:v.fileHandling,ignore:v.ignore,babelrc:v.babelrc,config:v.config,files:v.files}}const u=_gensync()(function*(e){let t=false;if(typeof e==="object"&&e!==null&&!Array.isArray(e)){var s=e;({showIgnoredFiles:t}=s);e=_objectWithoutPropertiesLoose(s,["showIgnoredFiles"]);s}const i=yield*loadPrivatePartialConfig(e);if(!i)return null;const{options:n,babelrc:a,ignore:o,config:l,fileHandling:c,files:p}=i;if(c==="ignored"&&!t){return null}(n.plugins||[]).forEach(e=>{if(e.value instanceof r.default){throw new Error("Passing cached plugin instances is not supported in "+"babel.loadPartialConfig()")}});return new PartialConfig(n,a?a.filepath:undefined,o?o.filepath:undefined,l?l.filepath:undefined,c,p)});t.loadPartialConfig=u;class PartialConfig{constructor(e,t,s,r,i,n){this.options=void 0;this.babelrc=void 0;this.babelignore=void 0;this.config=void 0;this.fileHandling=void 0;this.files=void 0;this.options=e;this.babelignore=s;this.babelrc=t;this.config=r;this.fileHandling=i;this.files=n;Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==undefined||this.config!==undefined}}Object.freeze(PartialConfig.prototype)},296:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=pathToPattern;function _path(){const e=s(85622);_path=function(){return e};return e}const r=`\\${_path().sep}`;const i=`(?:${r}|$)`;const n=`[^${r}]+`;const a=`(?:${n}${r})`;const o=`(?:${n}${i})`;const l=`${a}*?`;const c=`${a}*?${o}?`;function escapeRegExp(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}function pathToPattern(e,t){const s=_path().resolve(t,e).split(_path().sep);return new RegExp(["^",...s.map((e,t)=>{const p=t===s.length-1;if(e==="**")return p?c:l;if(e==="*")return p?o:a;if(e.indexOf("*.")===0){return n+escapeRegExp(e.slice(1))+(p?i:r)}return escapeRegExp(e)+(p?i:r)})].join(""))}},85532:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Plugin{constructor(e,t,s){this.key=void 0;this.manipulateOptions=void 0;this.post=void 0;this.pre=void 0;this.visitor=void 0;this.parserOverride=void 0;this.generatorOverride=void 0;this.options=void 0;this.key=e.name||s;this.manipulateOptions=e.manipulateOptions;this.post=e.post;this.pre=e.pre;this.visitor=e.visitor||{};this.parserOverride=e.parserOverride;this.generatorOverride=e.generatorOverride;this.options=t}}t.default=Plugin},39342:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConfigPrinter=t.ChainFormatter=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}const r={Programmatic:0,Config:1};t.ChainFormatter=r;const i={title(e,t,s){let i="";if(e===r.Programmatic){i="programmatic options";if(t){i+=" from "+t}}else{i="config "+s}return i},loc(e,t){let s="";if(e!=null){s+=`.overrides[${e}]`}if(t!=null){s+=`.env["${t}"]`}return s},*optionsAndDescriptors(e){const t=Object.assign({},e.options);delete t.overrides;delete t.env;const s=[...yield*e.plugins()];if(s.length){t.plugins=s.map(e=>descriptorToConfig(e))}const r=[...yield*e.presets()];if(r.length){t.presets=[...r].map(e=>descriptorToConfig(e))}return JSON.stringify(t,undefined,2)}};function descriptorToConfig(e){var t;let s=(t=e.file)==null?void 0:t.request;if(s==null){if(typeof e.value==="object"){s=e.value}else if(typeof e.value==="function"){s=`[Function: ${e.value.toString().substr(0,50)} ... ]`}}if(s==null){s="[Unknown]"}if(e.options===undefined){return s}else if(e.name==null){return[s,e.options]}else{return[s,e.options,e.name]}}class ConfigPrinter{constructor(){this._stack=[]}configure(e,t,{callerName:s,filepath:r}){if(!e)return()=>{};return(e,i,n)=>{this._stack.push({type:t,callerName:s,filepath:r,content:e,index:i,envName:n})}}static*format(e){let t=i.title(e.type,e.callerName,e.filepath);const s=i.loc(e.index,e.envName);if(s)t+=` ${s}`;const r=yield*i.optionsAndDescriptors(e.content);return`${t}\n${r}`}*output(){if(this._stack.length===0)return"";const e=yield*_gensync().all(this._stack.map(e=>ConfigPrinter.format(e)));return e.join("\n\n")}}t.ConfigPrinter=ConfigPrinter},69354:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveBrowserslistConfigFile=resolveBrowserslistConfigFile;t.resolveTargets=resolveTargets;function _path(){const e=s(85622);_path=function(){return e};return e}function _helperCompilationTargets(){const e=s(97001);_helperCompilationTargets=function(){return e};return e}({});function resolveBrowserslistConfigFile(e,t){return _path().resolve(t,e)}function resolveTargets(e,t){let s=e.targets;if(typeof s==="string"||Array.isArray(s)){s={browsers:s}}if(s&&s.esmodules){s=Object.assign({},s,{esmodules:"intersect"})}const{browserslistConfigFile:r}=e;let i;let n=false;if(typeof r==="string"){i=r}else{n=r===false}return(0,_helperCompilationTargets().default)(s,{ignoreBrowserslistConfig:n,configFile:i,configPath:t,browserslistEnv:e.browserslistEnv})}},69693:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.mergeOptions=mergeOptions;t.isIterableIterator=isIterableIterator;function mergeOptions(e,t){for(const s of Object.keys(t)){if((s==="parserOpts"||s==="generatorOpts"||s==="assumptions")&&t[s]){const r=t[s];const i=e[s]||(e[s]={});mergeDefaultFields(i,r)}else{const r=t[s];if(r!==undefined)e[s]=r}}}function mergeDefaultFields(e,t){for(const s of Object.keys(t)){const r=t[s];if(r!==undefined)e[s]=r}}function isIterableIterator(e){return!!e&&typeof e.next==="function"&&typeof e[Symbol.iterator]==="function"}},15236:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.msg=msg;t.access=access;t.assertRootMode=assertRootMode;t.assertSourceMaps=assertSourceMaps;t.assertCompact=assertCompact;t.assertSourceType=assertSourceType;t.assertCallerMetadata=assertCallerMetadata;t.assertInputSourceMap=assertInputSourceMap;t.assertString=assertString;t.assertFunction=assertFunction;t.assertBoolean=assertBoolean;t.assertObject=assertObject;t.assertArray=assertArray;t.assertIgnoreList=assertIgnoreList;t.assertConfigApplicableTest=assertConfigApplicableTest;t.assertConfigFileSearch=assertConfigFileSearch;t.assertBabelrcSearch=assertBabelrcSearch;t.assertPluginList=assertPluginList;t.assertTargets=assertTargets;t.assertAssumptions=assertAssumptions;function _helperCompilationTargets(){const e=s(97001);_helperCompilationTargets=function(){return e};return e}var r=s(1351);function msg(e){switch(e.type){case"root":return``;case"env":return`${msg(e.parent)}.env["${e.name}"]`;case"overrides":return`${msg(e.parent)}.overrides[${e.index}]`;case"option":return`${msg(e.parent)}.${e.name}`;case"access":return`${msg(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${e.type}`)}}function access(e,t){return{type:"access",name:t,parent:e}}function assertRootMode(e,t){if(t!==undefined&&t!=="root"&&t!=="upward"&&t!=="upward-optional"){throw new Error(`${msg(e)} must be a "root", "upward", "upward-optional" or undefined`)}return t}function assertSourceMaps(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="inline"&&t!=="both"){throw new Error(`${msg(e)} must be a boolean, "inline", "both", or undefined`)}return t}function assertCompact(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="auto"){throw new Error(`${msg(e)} must be a boolean, "auto", or undefined`)}return t}function assertSourceType(e,t){if(t!==undefined&&t!=="module"&&t!=="script"&&t!=="unambiguous"){throw new Error(`${msg(e)} must be "module", "script", "unambiguous", or undefined`)}return t}function assertCallerMetadata(e,t){const s=assertObject(e,t);if(s){if(typeof s.name!=="string"){throw new Error(`${msg(e)} set but does not contain "name" property string`)}for(const t of Object.keys(s)){const r=access(e,t);const i=s[t];if(i!=null&&typeof i!=="boolean"&&typeof i!=="string"&&typeof i!=="number"){throw new Error(`${msg(r)} must be null, undefined, a boolean, a string, or a number.`)}}}return t}function assertInputSourceMap(e,t){if(t!==undefined&&typeof t!=="boolean"&&(typeof t!=="object"||!t)){throw new Error(`${msg(e)} must be a boolean, object, or undefined`)}return t}function assertString(e,t){if(t!==undefined&&typeof t!=="string"){throw new Error(`${msg(e)} must be a string, or undefined`)}return t}function assertFunction(e,t){if(t!==undefined&&typeof t!=="function"){throw new Error(`${msg(e)} must be a function, or undefined`)}return t}function assertBoolean(e,t){if(t!==undefined&&typeof t!=="boolean"){throw new Error(`${msg(e)} must be a boolean, or undefined`)}return t}function assertObject(e,t){if(t!==undefined&&(typeof t!=="object"||Array.isArray(t)||!t)){throw new Error(`${msg(e)} must be an object, or undefined`)}return t}function assertArray(e,t){if(t!=null&&!Array.isArray(t)){throw new Error(`${msg(e)} must be an array, or undefined`)}return t}function assertIgnoreList(e,t){const s=assertArray(e,t);if(s){s.forEach((t,s)=>assertIgnoreItem(access(e,s),t))}return s}function assertIgnoreItem(e,t){if(typeof t!=="string"&&typeof t!=="function"&&!(t instanceof RegExp)){throw new Error(`${msg(e)} must be an array of string/Function/RegExp values, or undefined`)}return t}function assertConfigApplicableTest(e,t){if(t===undefined)return t;if(Array.isArray(t)){t.forEach((t,s)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,s))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a string/Function/RegExp, or an array of those`)}return t}function checkValidTest(e){return typeof e==="string"||typeof e==="function"||e instanceof RegExp}function assertConfigFileSearch(e,t){if(t!==undefined&&typeof t!=="boolean"&&typeof t!=="string"){throw new Error(`${msg(e)} must be a undefined, a boolean, a string, `+`got ${JSON.stringify(t)}`)}return t}function assertBabelrcSearch(e,t){if(t===undefined||typeof t==="boolean")return t;if(Array.isArray(t)){t.forEach((t,s)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,s))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a undefined, a boolean, a string/Function/RegExp `+`or an array of those, got ${JSON.stringify(t)}`)}return t}function assertPluginList(e,t){const s=assertArray(e,t);if(s){s.forEach((t,s)=>assertPluginItem(access(e,s),t))}return s}function assertPluginItem(e,t){if(Array.isArray(t)){if(t.length===0){throw new Error(`${msg(e)} must include an object`)}if(t.length>3){throw new Error(`${msg(e)} may only be a two-tuple or three-tuple`)}assertPluginTarget(access(e,0),t[0]);if(t.length>1){const s=t[1];if(s!==undefined&&s!==false&&(typeof s!=="object"||Array.isArray(s)||s===null)){throw new Error(`${msg(access(e,1))} must be an object, false, or undefined`)}}if(t.length===3){const s=t[2];if(s!==undefined&&typeof s!=="string"){throw new Error(`${msg(access(e,2))} must be a string, or undefined`)}}}else{assertPluginTarget(e,t)}return t}function assertPluginTarget(e,t){if((typeof t!=="object"||!t)&&typeof t!=="string"&&typeof t!=="function"){throw new Error(`${msg(e)} must be a string, object, function`)}return t}function assertTargets(e,t){if((0,_helperCompilationTargets().isBrowsersQueryValid)(t))return t;if(typeof t!=="object"||!t||Array.isArray(t)){throw new Error(`${msg(e)} must be a string, an array of strings or an object`)}const s=access(e,"browsers");const r=access(e,"esmodules");assertBrowsersList(s,t.browsers);assertBoolean(r,t.esmodules);for(const s of Object.keys(t)){const r=t[s];const i=access(e,s);if(s==="esmodules")assertBoolean(i,r);else if(s==="browsers")assertBrowsersList(i,r);else if(!Object.hasOwnProperty.call(_helperCompilationTargets().TargetNames,s)){const e=Object.keys(_helperCompilationTargets().TargetNames).join(", ");throw new Error(`${msg(i)} is not a valid target. Supported targets are ${e}`)}else assertBrowserVersion(i,r)}return t}function assertBrowsersList(e,t){if(t!==undefined&&!(0,_helperCompilationTargets().isBrowsersQueryValid)(t)){throw new Error(`${msg(e)} must be undefined, a string or an array of strings`)}}function assertBrowserVersion(e,t){if(typeof t==="number"&&Math.round(t)===t)return;if(typeof t==="string")return;throw new Error(`${msg(e)} must be a string or an integer number`)}function assertAssumptions(e,t){if(t===undefined)return;if(typeof t!=="object"||t===null){throw new Error(`${msg(e)} must be an object or undefined.`)}let s=e;do{s=s.parent}while(s.type!=="root");const i=s.source==="preset";for(const s of Object.keys(t)){const n=access(e,s);if(!r.assumptionsNames.has(s)){throw new Error(`${msg(n)} is not a supported assumption.`)}if(typeof t[s]!=="boolean"){throw new Error(`${msg(n)} must be a boolean.`)}if(i&&t[s]===false){throw new Error(`${msg(n)} cannot be set to 'false' inside presets.`)}}return t}},1351:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.checkNoUnwrappedItemOptionPairs=checkNoUnwrappedItemOptionPairs;t.assumptionsNames=void 0;var r=s(85532);var i=s(68970);var n=s(15236);const a={cwd:n.assertString,root:n.assertString,rootMode:n.assertRootMode,configFile:n.assertConfigFileSearch,caller:n.assertCallerMetadata,filename:n.assertString,filenameRelative:n.assertString,code:n.assertBoolean,ast:n.assertBoolean,cloneInputAst:n.assertBoolean,envName:n.assertString};const o={babelrc:n.assertBoolean,babelrcRoots:n.assertBabelrcSearch};const l={extends:n.assertString,ignore:n.assertIgnoreList,only:n.assertIgnoreList,targets:n.assertTargets,browserslistConfigFile:n.assertConfigFileSearch,browserslistEnv:n.assertString};const c={inputSourceMap:n.assertInputSourceMap,presets:n.assertPluginList,plugins:n.assertPluginList,passPerPreset:n.assertBoolean,assumptions:n.assertAssumptions,env:assertEnvSet,overrides:assertOverridesList,test:n.assertConfigApplicableTest,include:n.assertConfigApplicableTest,exclude:n.assertConfigApplicableTest,retainLines:n.assertBoolean,comments:n.assertBoolean,shouldPrintComment:n.assertFunction,compact:n.assertCompact,minified:n.assertBoolean,auxiliaryCommentBefore:n.assertString,auxiliaryCommentAfter:n.assertString,sourceType:n.assertSourceType,wrapPluginVisitorMethod:n.assertFunction,highlightCode:n.assertBoolean,sourceMaps:n.assertSourceMaps,sourceMap:n.assertSourceMaps,sourceFileName:n.assertString,sourceRoot:n.assertString,parserOpts:n.assertObject,generatorOpts:n.assertObject};{Object.assign(c,{getModuleId:n.assertFunction,moduleRoot:n.assertString,moduleIds:n.assertBoolean,moduleId:n.assertString})}const p=new Set(["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noNewArrows","objectRestNoSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"]);t.assumptionsNames=p;function getSource(e){return e.type==="root"?e.source:getSource(e.parent)}function validate(e,t){return validateNested({type:"root",source:e},t)}function validateNested(e,t){const s=getSource(e);assertNoDuplicateSourcemap(t);Object.keys(t).forEach(r=>{const i={type:"option",name:r,parent:e};if(s==="preset"&&l[r]){throw new Error(`${(0,n.msg)(i)} is not allowed in preset options`)}if(s!=="arguments"&&a[r]){throw new Error(`${(0,n.msg)(i)} is only allowed in root programmatic options`)}if(s!=="arguments"&&s!=="configfile"&&o[r]){if(s==="babelrcfile"||s==="extendsfile"){throw new Error(`${(0,n.msg)(i)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, `+`or babel.config.js/config file options`)}throw new Error(`${(0,n.msg)(i)} is only allowed in root programmatic options, or babel.config.js/config file options`)}const p=c[r]||l[r]||o[r]||a[r]||throwUnknownError;p(i,t[r])});return t}function throwUnknownError(e){const t=e.name;if(i.default[t]){const{message:s,version:r=5}=i.default[t];throw new Error(`Using removed Babel ${r} option: ${(0,n.msg)(e)} - ${s}`)}else{const t=new Error(`Unknown option: ${(0,n.msg)(e)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);t.code="BABEL_UNKNOWN_OPTION";throw t}}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function assertNoDuplicateSourcemap(e){if(has(e,"sourceMap")&&has(e,"sourceMaps")){throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}}function assertEnvSet(e,t){if(e.parent.type==="env"){throw new Error(`${(0,n.msg)(e)} is not allowed inside of another .env block`)}const s=e.parent;const r=(0,n.assertObject)(e,t);if(r){for(const t of Object.keys(r)){const i=(0,n.assertObject)((0,n.access)(e,t),r[t]);if(!i)continue;const a={type:"env",name:t,parent:s};validateNested(a,i)}}return r}function assertOverridesList(e,t){if(e.parent.type==="env"){throw new Error(`${(0,n.msg)(e)} is not allowed inside an .env block`)}if(e.parent.type==="overrides"){throw new Error(`${(0,n.msg)(e)} is not allowed inside an .overrides block`)}const s=e.parent;const r=(0,n.assertArray)(e,t);if(r){for(const[t,i]of r.entries()){const r=(0,n.access)(e,t);const a=(0,n.assertObject)(r,i);if(!a)throw new Error(`${(0,n.msg)(r)} must be an object`);const o={type:"overrides",index:t,parent:s};validateNested(o,a)}}return r}function checkNoUnwrappedItemOptionPairs(e,t,s,r){if(t===0)return;const i=e[t-1];const n=e[t];if(i.file&&i.options===undefined&&typeof n.value==="object"){r.message+=`\n- Maybe you meant to use\n`+`"${s}": [\n ["${i.file.request}", ${JSON.stringify(n.value,undefined,2)}]\n]\n`+`To be a valid ${s}, its name and options should be wrapped in a pair of brackets`}}},95077:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validatePluginObject=validatePluginObject;var r=s(15236);const i={name:r.assertString,manipulateOptions:r.assertFunction,pre:r.assertFunction,post:r.assertFunction,inherits:r.assertFunction,visitor:assertVisitorMap,parserOverride:r.assertFunction,generatorOverride:r.assertFunction};function assertVisitorMap(e,t){const s=(0,r.assertObject)(e,t);if(s){Object.keys(s).forEach(e=>assertVisitorHandler(e,s[e]));if(s.enter||s.exit){throw new Error(`${(0,r.msg)(e)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`)}}return s}function assertVisitorHandler(e,t){if(t&&typeof t==="object"){Object.keys(t).forEach(t=>{if(t!=="enter"&&t!=="exit"){throw new Error(`.visitor["${e}"] may only have .enter and/or .exit handlers.`)}})}else if(typeof t!=="function"){throw new Error(`.visitor["${e}"] must be a function`)}return t}function validatePluginObject(e){const t={type:"root",source:"plugin"};Object.keys(e).forEach(s=>{const r=i[s];if(r){const i={type:"option",name:s,parent:t};r(i,e[s])}else{const e=new Error(`.${s} is not a valid Plugin property`);e.code="BABEL_UNKNOWN_PLUGIN_PROPERTY";throw e}});return e}},68970:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var s={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. "+"Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. "+"Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using "+"or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. "+"Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. "+"Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the "+"tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling "+"that calls Babel to assign `map.file` themselves."}};t.default=s},35090:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.maybeAsync=maybeAsync;t.forwardAsync=forwardAsync;t.isThenable=isThenable;t.waitFor=t.onFirstPause=t.isAsync=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}const r=e=>e;const i=_gensync()(function*(e){return yield*e});const n=_gensync()({sync:()=>false,errback:e=>e(null,true)});t.isAsync=n;function maybeAsync(e,t){return _gensync()({sync(...s){const r=e.apply(this,s);if(isThenable(r))throw new Error(t);return r},async(...t){return Promise.resolve(e.apply(this,t))}})}const a=_gensync()({sync:e=>e("sync"),async:e=>e("async")});function forwardAsync(e,t){const s=_gensync()(e);return a(e=>{const r=s[e];return t(r)})}const o=_gensync()({name:"onFirstPause",arity:2,sync:function(e){return i.sync(e)},errback:function(e,t,s){let r=false;i.errback(e,(e,t)=>{r=true;s(e,t)});if(!r){t()}}});t.onFirstPause=o;const l=_gensync()({sync:r,async:r});t.waitFor=l;function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},66833:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stat=t.readFile=void 0;function _fs(){const e=s(35747);_fs=function(){return e};return e}function _gensync(){const e=s(67941);_gensync=function(){return e};return e}const r=_gensync()({sync:_fs().readFileSync,errback:_fs().readFile});t.readFile=r;const i=_gensync()({sync:_fs().statSync,errback:_fs().stat});t.stat=i},64696:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Plugin=Plugin;Object.defineProperty(t,"File",{enumerable:true,get:function(){return r.default}});Object.defineProperty(t,"buildExternalHelpers",{enumerable:true,get:function(){return i.default}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return n.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return n.resolvePreset}});Object.defineProperty(t,"getEnv",{enumerable:true,get:function(){return a.getEnv}});Object.defineProperty(t,"tokTypes",{enumerable:true,get:function(){return _parser().tokTypes}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return _traverse().default}});Object.defineProperty(t,"template",{enumerable:true,get:function(){return _template().default}});Object.defineProperty(t,"createConfigItem",{enumerable:true,get:function(){return o.createConfigItem}});Object.defineProperty(t,"createConfigItemSync",{enumerable:true,get:function(){return o.createConfigItemSync}});Object.defineProperty(t,"createConfigItemAsync",{enumerable:true,get:function(){return o.createConfigItemAsync}});Object.defineProperty(t,"loadPartialConfig",{enumerable:true,get:function(){return o.loadPartialConfig}});Object.defineProperty(t,"loadPartialConfigSync",{enumerable:true,get:function(){return o.loadPartialConfigSync}});Object.defineProperty(t,"loadPartialConfigAsync",{enumerable:true,get:function(){return o.loadPartialConfigAsync}});Object.defineProperty(t,"loadOptions",{enumerable:true,get:function(){return o.loadOptions}});Object.defineProperty(t,"loadOptionsSync",{enumerable:true,get:function(){return o.loadOptionsSync}});Object.defineProperty(t,"loadOptionsAsync",{enumerable:true,get:function(){return o.loadOptionsAsync}});Object.defineProperty(t,"transform",{enumerable:true,get:function(){return l.transform}});Object.defineProperty(t,"transformSync",{enumerable:true,get:function(){return l.transformSync}});Object.defineProperty(t,"transformAsync",{enumerable:true,get:function(){return l.transformAsync}});Object.defineProperty(t,"transformFile",{enumerable:true,get:function(){return c.transformFile}});Object.defineProperty(t,"transformFileSync",{enumerable:true,get:function(){return c.transformFileSync}});Object.defineProperty(t,"transformFileAsync",{enumerable:true,get:function(){return c.transformFileAsync}});Object.defineProperty(t,"transformFromAst",{enumerable:true,get:function(){return p.transformFromAst}});Object.defineProperty(t,"transformFromAstSync",{enumerable:true,get:function(){return p.transformFromAstSync}});Object.defineProperty(t,"transformFromAstAsync",{enumerable:true,get:function(){return p.transformFromAstAsync}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return u.parse}});Object.defineProperty(t,"parseSync",{enumerable:true,get:function(){return u.parseSync}});Object.defineProperty(t,"parseAsync",{enumerable:true,get:function(){return u.parseAsync}});t.types=t.OptionManager=t.DEFAULT_EXTENSIONS=t.version=void 0;var r=s(25614);var i=s(57673);var n=s(54949);var a=s(23890);function _types(){const e=s(19761);_types=function(){return e};return e}Object.defineProperty(t,"types",{enumerable:true,get:function(){return _types()}});function _parser(){const e=s(26240);_parser=function(){return e};return e}function _traverse(){const e=s(4267);_traverse=function(){return e};return e}function _template(){const e=s(36900);_template=function(){return e};return e}var o=s(12152);var l=s(81692);var c=s(23292);var p=s(54402);var u=s(75934);const h="7.14.6";t.version=h;const f=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);t.DEFAULT_EXTENSIONS=f;class OptionManager{init(e){return(0,o.loadOptions)(e)}}t.OptionManager=OptionManager;function Plugin(e){throw new Error(`The (${e}) Babel 5 plugin is being run with an unsupported Babel version.`)}},75934:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseAsync=t.parseSync=t.parse=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(12152);var i=s(36341);var n=s(73096);const a=_gensync()(function*parse(e,t){const s=yield*(0,r.default)(t);if(s===null){return null}return yield*(0,i.default)(s.passes,(0,n.default)(s),e)});const o=function parse(e,t,s){if(typeof t==="function"){s=t;t=undefined}if(s===undefined)return a.sync(e,t);a.errback(e,t,s)};t.parse=o;const l=a.sync;t.parseSync=l;const c=a.async;t.parseAsync=c},36341:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parser;function _parser(){const e=s(26240);_parser=function(){return e};return e}function _codeFrame(){const e=s(21928);_codeFrame=function(){return e};return e}var r=s(69267);function*parser(e,{parserOpts:t,highlightCode:s=true,filename:i="unknown"},n){try{const a=[];for(const s of e){for(const e of s){const{parserOverride:s}=e;if(s){const e=s(n,t,_parser().parse);if(e!==undefined)a.push(e)}}}if(a.length===0){return(0,_parser().parse)(n,t)}else if(a.length===1){yield*[];if(typeof a[0].then==="function"){throw new Error(`You appear to be using an async parser plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}return a[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(e){if(e.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"){e.message+="\nConsider renaming the file to '.mjs', or setting sourceType:module "+"or sourceType:unambiguous in your Babel config for this file."}const{loc:t,missingPlugin:a}=e;if(t){const o=(0,_codeFrame().codeFrameColumns)(n,{start:{line:t.line,column:t.column+1}},{highlightCode:s});if(a){e.message=`${i}: `+(0,r.default)(a[0],t,o)}else{e.message=`${i}: ${e.message}\n\n`+o}e.code="BABEL_PARSE_ERROR"}throw e}}},69267:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateMissingPluginMessage;const s={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",url:"https://git.io/JYer8"}},classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-private-methods",url:"https://git.io/JvpRG"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://git.io/JTLB6"},transform:{name:"@babel/plugin-proposal-class-static-block",url:"https://git.io/JTLBP"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://git.io/JfKOH"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://git.io/vb4y9"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://git.io/vb4ST"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://git.io/vb4yh"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://git.io/vb4S3"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://git.io/vb4Sv"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://git.io/vb4SO"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://git.io/vb4yH"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://git.io/vb4Sf"},transform:{name:"@babel/plugin-proposal-export-namespace-from",url:"https://git.io/vb4SG"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://git.io/vb4yb"},transform:{name:"@babel/preset-flow",url:"https://git.io/JfeDn"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://git.io/vb4y7"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://git.io/vb4St"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://git.io/vb4yN"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://git.io/vb4SZ"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://git.io/vbKK6"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://git.io/vb4yA"},transform:{name:"@babel/preset-react",url:"https://git.io/JfeDR"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://git.io/JUbkv"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://git.io/JTL8G"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://git.io/vb4Sq"},transform:{name:"@babel/plugin-proposal-numeric-separator",url:"https://git.io/vb4yS"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://git.io/vb4Sc"},transform:{name:"@babel/plugin-proposal-optional-chaining",url:"https://git.io/vb4Sk"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://git.io/vb4yj"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://git.io/vb4SU"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://git.io/JfK3q"},transform:{name:"@babel/plugin-proposal-private-property-in-object",url:"https://git.io/JfK3O"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://git.io/JvKp3"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://git.io/vb4SJ"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://git.io/vb4yF"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://git.io/vb4SC"},transform:{name:"@babel/preset-typescript",url:"https://git.io/JfeDz"}},asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://git.io/vb4SY"},transform:{name:"@babel/plugin-proposal-async-generator-functions",url:"https://git.io/vb4yp"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://git.io/vAlBp"},transform:{name:"@babel/plugin-proposal-logical-assignment-operators",url:"https://git.io/vAlRe"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://git.io/vb4yx"},transform:{name:"@babel/plugin-proposal-nullish-coalescing-operator",url:"https://git.io/vb4Se"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://git.io/vb4y5"},transform:{name:"@babel/plugin-proposal-object-rest-spread",url:"https://git.io/vb4Ss"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://git.io/vb4Sn"},transform:{name:"@babel/plugin-proposal-optional-catch-binding",url:"https://git.io/vb4SI"}}};s.privateIn.syntax=s.privateIn.transform;const r=({name:e,url:t})=>`${e} (${t})`;function generateMissingPluginMessage(e,t,i){let n=`Support for the experimental syntax '${e}' isn't currently enabled `+`(${t.line}:${t.column+1}):\n\n`+i;const a=s[e];if(a){const{syntax:e,transform:t}=a;if(e){const s=r(e);if(t){const e=r(t);const i=t.name.startsWith("@babel/plugin")?"plugins":"presets";n+=`\n\nAdd ${e} to the '${i}' section of your Babel config to enable transformation.\nIf you want to leave it as-is, add ${s} to the 'plugins' section to enable parsing.`}else{n+=`\n\nAdd ${s} to the 'plugins' section of your Babel config `+`to enable parsing.`}}}return n}},57673:(e,s,r)=>{"use strict";Object.defineProperty(s,"__esModule",{value:true});s.default=_default;function helpers(){const e=r(24574);helpers=function(){return e};return e}function _generator(){const e=r(23656);_generator=function(){return e};return e}function _template(){const e=r(36900);_template=function(){return e};return e}function t(){const e=r(19761);t=function(){return e};return e}var i=r(25614);const n=e=>(0,_template().default)` (function (root, factory) { if (typeof define === "function" && define.amd) { define(AMD_ARGUMENTS, factory); @@ -5932,27 +5932,27 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m })(UMD_ROOT, function (FACTORY_PARAMETERS) { FACTORY_BODY }); - `(e);function buildGlobal(e){const r=t().identifier("babelHelpers");const n=[];const s=t().functionExpression(null,[t().identifier("global")],t().blockStatement(n));const i=t().program([t().expressionStatement(t().callExpression(s,[t().conditionalExpression(t().binaryExpression("===",t().unaryExpression("typeof",t().identifier("global")),t().stringLiteral("undefined")),t().identifier("self"),t().identifier("global"))]))]);n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().assignmentExpression("=",t().memberExpression(t().identifier("global"),r),t().objectExpression([])))]));buildHelpers(n,r,e);return i}function buildModule(e){const r=[];const n=buildHelpers(r,null,e);r.unshift(t().exportNamedDeclaration(null,Object.keys(n).map(e=>{return t().exportSpecifier(t().cloneNode(n[e]),t().identifier(e))})));return t().program(r,[],"module")}function buildUmd(e){const r=t().identifier("babelHelpers");const n=[];n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().identifier("global"))]));buildHelpers(n,r,e);return t().program([i({FACTORY_PARAMETERS:t().identifier("global"),BROWSER_ARGUMENTS:t().assignmentExpression("=",t().memberExpression(t().identifier("root"),r),t().objectExpression([])),COMMON_ARGUMENTS:t().identifier("exports"),AMD_ARGUMENTS:t().arrayExpression([t().stringLiteral("exports")]),FACTORY_BODY:n,UMD_ROOT:t().identifier("this")})])}function buildVar(e){const r=t().identifier("babelHelpers");const n=[];n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().objectExpression([]))]));const s=t().program(n);buildHelpers(n,r,e);n.push(t().expressionStatement(r));return s}function buildHelpers(e,r,n){const i=e=>{return r?t().memberExpression(r,t().identifier(e)):t().identifier(`_${e}`)};const a={};helpers().list.forEach(function(t){if(n&&n.indexOf(t)<0)return;const r=a[t]=i(t);helpers().ensure(t,s.default);const{nodes:o}=helpers().get(t,i,r);e.push(...o)});return a}function _default(e,t="global"){let r;const n={global:buildGlobal,module:buildModule,umd:buildUmd,var:buildVar}[t];if(n){r=n(e)}else{throw new Error(`Unsupported output type ${t}`)}return(0,_generator().default)(r).code}},54402:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFromAstAsync=t.transformFromAstSync=t.transformFromAst=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(12152);var s=r(48002);const i=_gensync()(function*(e,t,r){const i=yield*(0,n.default)(r);if(i===null)return null;if(!e)throw new Error("No AST given");return yield*(0,s.run)(i,t,e)});const a=function transformFromAst(e,t,r,n){if(typeof r==="function"){n=r;r=undefined}if(n===undefined){return i.sync(e,t,r)}i.errback(e,t,r,n)};t.transformFromAst=a;const o=i.sync;t.transformFromAstSync=o;const l=i.async;t.transformFromAstAsync=l},23292:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFileAsync=t.transformFileSync=t.transformFile=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(12152);var s=r(48002);var i=r(66833);({});const a=_gensync()(function*(e,t){const r=Object.assign({},t,{filename:e});const a=yield*(0,n.default)(r);if(a===null)return null;const o=yield*i.readFile(e,"utf8");return yield*(0,s.run)(a,o)});const o=a.errback;t.transformFile=o;const l=a.sync;t.transformFileSync=l;const u=a.async;t.transformFileAsync=u},81692:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformAsync=t.transformSync=t.transform=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(12152);var s=r(48002);const i=_gensync()(function*transform(e,t){const r=yield*(0,n.default)(t);if(r===null)return null;return yield*(0,s.run)(r,e)});const a=function transform(e,t,r){if(typeof t==="function"){r=t;t=undefined}if(r===undefined)return i.sync(e,t);i.errback(e,t,r)};t.transform=a;const o=i.sync;t.transformSync=o;const l=i.async;t.transformAsync=l},13007:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadBlockHoistPlugin;function _traverse(){const e=r(4267);_traverse=function(){return e};return e}var n=r(85532);let s;function loadBlockHoistPlugin(){if(!s){s=new n.default(Object.assign({},i,{visitor:_traverse().default.explode(i.visitor)}),{})}return s}function priority(e){const t=e==null?void 0:e._blockHoist;if(t==null)return 1;if(t===true)return 2;return t}function stableSort(e){const t=Object.create(null);for(let r=0;r+e).sort((e,t)=>t-e);let n=0;for(const s of r){const r=t[s];for(const t of r){e[n++]=t}}return e}const i={name:"internal.blockHoist",visitor:{Block:{exit({node:e}){const{body:t}=e;let r=Math.pow(2,30)-1;let n=false;for(let e=0;er){n=true;break}r=i}if(!n)return;e.body=stableSort(t.slice())}}}}},25614:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=void 0;function helpers(){const e=n(24574);helpers=function(){return e};return e}function _traverse(){const e=n(4267);_traverse=function(){return e};return e}function _codeFrame(){const e=n(21928);_codeFrame=function(){return e};return e}function t(){const e=n(91306);t=function(){return e};return e}function _helperModuleTransforms(){const e=n(68330);_helperModuleTransforms=function(){return e};return e}function _semver(){const e=n(62519);_semver=function(){return e};return e}const s={enter(e,t){const r=e.node.loc;if(r){t.loc=r;e.stop()}}};class File{constructor(e,{code:t,ast:r,inputMap:n}){this._map=new Map;this.opts=void 0;this.declarations={};this.path=null;this.ast={};this.scope=void 0;this.metadata={};this.code="";this.inputMap=null;this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)};this.opts=e;this.code=t;this.ast=r;this.inputMap=n;this.path=_traverse().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext();this.scope=this.path.scope}get shebang(){const{interpreter:e}=this.path.node;return e?e.value:""}set shebang(e){if(e){this.path.get("interpreter").replaceWith(t().interpreterDirective(e))}else{this.path.get("interpreter").remove()}}set(e,t){if(e==="helpersNamespace"){throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility."+"If you are using @babel/plugin-external-helpers you will need to use a newer "+"version than the one you currently have installed. "+"If you have your own implementation, you'll want to explore using 'helperGenerator' "+"alongside 'file.availableHelper()'.")}this._map.set(e,t)}get(e){return this._map.get(e)}has(e){return this._map.has(e)}getModuleName(){return(0,_helperModuleTransforms().getModuleName)(this.opts,this.opts)}addImport(){throw new Error("This API has been removed. If you're looking for this "+"functionality in Babel 7, you should import the "+"'@babel/helper-module-imports' module and use the functions exposed "+" from that module, such as 'addNamed' or 'addDefault'.")}availableHelper(e,t){let r;try{r=helpers().minVersion(e)}catch(e){if(e.code!=="BABEL_HELPER_UNKNOWN")throw e;return false}if(typeof t!=="string")return true;if(_semver().valid(t))t=`^${t}`;return!_semver().intersects(`<${r}`,t)&&!_semver().intersects(`>=8.0.0`,t)}addHelper(e){const r=this.declarations[e];if(r)return t().cloneNode(r);const n=this.get("helperGenerator");if(n){const t=n(e);if(t)return t}helpers().ensure(e,File);const s=this.declarations[e]=this.scope.generateUidIdentifier(e);const i={};for(const t of helpers().getDependencies(e)){i[t]=this.addHelper(t)}const{nodes:a,globals:o}=helpers().get(e,e=>i[e],s,Object.keys(this.scope.getAllBindings()));o.forEach(e=>{if(this.path.scope.hasBinding(e,true)){this.path.scope.rename(e)}});a.forEach(e=>{e._compact=true});this.path.unshiftContainer("body",a);this.path.get("body").forEach(e=>{if(a.indexOf(e.node)===-1)return;if(e.isVariableDeclaration())this.scope.registerDeclaration(e)});return s}addTemplateObject(){throw new Error("This function has been moved into the template literal transform itself.")}buildCodeFrameError(e,t,r=SyntaxError){let n=e&&(e.loc||e._loc);if(!n&&e){const r={loc:null};(0,_traverse().default)(e,s,this.scope,r);n=r.loc;let i="This is an error on an internal node. Probably an internal error.";if(n)i+=" Location has been estimated.";t+=` (${i})`}if(n){const{highlightCode:e=true}=this.opts;t+="\n"+(0,_codeFrame().codeFrameColumns)(this.code,{start:{line:n.start.line,column:n.start.column+1},end:n.end&&n.start.line===n.end.line?{line:n.end.line,column:n.end.column+1}:undefined},{highlightCode:e})}return new r(t)}}r.default=File},102:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateCode;function _convertSourceMap(){const e=r(36301);_convertSourceMap=function(){return e};return e}function _generator(){const e=r(23656);_generator=function(){return e};return e}var n=r(88574);function generateCode(e,t){const{opts:r,ast:s,code:i,inputMap:a}=t;const o=[];for(const t of e){for(const e of t){const{generatorOverride:t}=e;if(t){const e=t(s,r.generatorOpts,i,_generator().default);if(e!==undefined)o.push(e)}}}let l;if(o.length===0){l=(0,_generator().default)(s,r.generatorOpts,i)}else if(o.length===1){l=o[0];if(typeof l.then==="function"){throw new Error(`You appear to be using an async codegen plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version.`)}}else{throw new Error("More than one plugin attempted to override codegen.")}let{code:u,map:p}=l;if(p&&a){p=(0,n.default)(a.toObject(),p)}if(r.sourceMaps==="inline"||r.sourceMaps==="both"){u+="\n"+_convertSourceMap().fromObject(p).toComment()}if(r.sourceMaps==="inline"){p=null}return{outputCode:u,outputMap:p}}},88574:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=mergeSourceMap;function _sourceMap(){const e=r(96241);_sourceMap=function(){return e};return e}function mergeSourceMap(e,t){const r=buildMappingData(e);const n=buildMappingData(t);const s=new(_sourceMap().SourceMapGenerator);for(const{source:e}of r.sources){if(typeof e.content==="string"){s.setSourceContent(e.path,e.content)}}if(n.sources.length===1){const e=n.sources[0];const t=new Map;eachInputGeneratedRange(r,(r,n,i)=>{eachOverlappingGeneratedOutputRange(e,r,e=>{const r=makeMappingKey(e);if(t.has(r))return;t.set(r,e);s.addMapping({source:i.path,original:{line:n.line,column:n.columnStart},generated:{line:e.line,column:e.columnStart},name:n.name})})});for(const e of t.values()){if(e.columnEnd===Infinity){continue}const r={line:e.line,columnStart:e.columnEnd};const n=makeMappingKey(r);if(t.has(n)){continue}s.addMapping({generated:{line:r.line,column:r.columnStart}})}}const i=s.toJSON();if(typeof r.sourceRoot==="string"){i.sourceRoot=r.sourceRoot}return i}function makeMappingKey(e){return`${e.line}/${e.columnStart}`}function eachOverlappingGeneratedOutputRange(e,t,r){const n=filterApplicableOriginalRanges(e,t);for(const{generated:e}of n){for(const t of e){r(t)}}}function filterApplicableOriginalRanges({mappings:e},{line:t,columnStart:r,columnEnd:n}){return filterSortedArray(e,({original:e})=>{if(t>e.line)return-1;if(t=e.columnEnd)return-1;if(n<=e.columnStart)return 1;return 0})}function eachInputGeneratedRange(e,t){for(const{source:r,mappings:n}of e.sources){for(const{original:e,generated:s}of n){for(const n of s){t(n,e,r)}}}}function buildMappingData(e){const t=new(_sourceMap().SourceMapConsumer)(Object.assign({},e,{sourceRoot:null}));const r=new Map;const n=new Map;let s=null;t.computeColumnSpans();t.eachMapping(e=>{if(e.originalLine===null)return;let i=r.get(e.source);if(!i){i={path:e.source,content:t.sourceContentFor(e.source,true)};r.set(e.source,i)}let a=n.get(i);if(!a){a={source:i,mappings:[]};n.set(i,a)}const o={line:e.originalLine,columnStart:e.originalColumn,columnEnd:Infinity,name:e.name};if(s&&s.source===i&&s.mapping.line===e.originalLine){s.mapping.columnEnd=e.originalColumn}s={source:i,mapping:o};a.mappings.push({original:o,generated:t.allGeneratedPositionsFor({source:e.source,line:e.originalLine,column:e.originalColumn}).map(e=>({line:e.line,columnStart:e.column,columnEnd:e.lastColumn+1}))})},null,_sourceMap().SourceMapConsumer.ORIGINAL_ORDER);return{file:e.file,sourceRoot:e.sourceRoot,sources:Array.from(n.values())}}function findInsertionLocation(e,t){let r=0;let n=e.length;while(r=0){n=s}else{r=s+1}}let s=r;if(s=0&&t(e[s])>=0){s--}return s+1}return s}function filterSortedArray(e,t){const r=findInsertionLocation(e,t);const n=[];for(let s=r;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.run=run;function _traverse(){const e=r(4267);_traverse=function(){return e};return e}var n=r(8305);var s=r(13007);var i=r(73096);var a=r(18888);var o=r(102);function*run(e,t,r){const n=yield*(0,a.default)(e.passes,(0,i.default)(e),t,r);const s=n.opts;try{yield*transformFile(n,e.passes)}catch(e){var l;e.message=`${(l=s.filename)!=null?l:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_TRANSFORM_ERROR"}throw e}let u,p;try{if(s.code!==false){({outputCode:u,outputMap:p}=(0,o.default)(e.passes,n))}}catch(e){var f;e.message=`${(f=s.filename)!=null?f:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_GENERATE_ERROR"}throw e}return{metadata:n.metadata,options:s,ast:s.ast===true?n.ast:null,code:u===undefined?null:u,map:p===undefined?null:p,sourceType:n.ast.program.sourceType}}function*transformFile(e,t){for(const r of t){const t=[];const i=[];const a=[];for(const o of r.concat([(0,s.default)()])){const r=new n.default(e,o.key,o.options);t.push([o,r]);i.push(r);a.push(o.visitor)}for(const[r,n]of t){const t=r.pre;if(t){const r=t.call(n,e);yield*[];if(isThenable(r)){throw new Error(`You appear to be using an plugin with an async .pre, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}const o=_traverse().default.visitors.merge(a,i,e.opts.wrapPluginVisitorMethod);(0,_traverse().default)(e.ast,o,e.scope);for(const[r,n]of t){const t=r.post;if(t){const r=t.call(n,e);yield*[];if(isThenable(r)){throw new Error(`You appear to be using an plugin with an async .post, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}}}function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},18888:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=normalizeFile;function _fs(){const e=n(35747);_fs=function(){return e};return e}function _path(){const e=n(85622);_path=function(){return e};return e}function _debug(){const e=n(31185);_debug=function(){return e};return e}function t(){const e=n(91306);t=function(){return e};return e}function _convertSourceMap(){const e=n(36301);_convertSourceMap=function(){return e};return e}var s=n(25614);var i=n(36341);var a=n(70172);const o=_debug()("babel:transform:file");const l=1e6;function*normalizeFile(e,r,n,f){n=`${n||""}`;if(f){if(f.type==="Program"){f=t().file(f,[],[])}else if(f.type!=="File"){throw new Error("AST root must be a Program or File node")}if(r.cloneInputAst){f=(0,a.default)(f)}}else{f=yield*(0,i.default)(e,r,n)}let c=null;if(r.inputSourceMap!==false){if(typeof r.inputSourceMap==="object"){c=_convertSourceMap().fromObject(r.inputSourceMap)}if(!c){const e=extractComments(u,f);if(e){try{c=_convertSourceMap().fromComment(e)}catch(e){o("discarding unknown inline input sourcemap",e)}}}if(!c){const e=extractComments(p,f);if(typeof r.filename==="string"&&e){try{const t=p.exec(e);const n=_fs().readFileSync(_path().resolve(_path().dirname(r.filename),t[1]));if(n.length>l){o("skip merging input map > 1 MB")}else{c=_convertSourceMap().fromJSON(n)}}catch(e){o("discarding unknown file input sourcemap",e)}}else if(e){o("discarding un-loadable file input sourcemap")}}}return new s.default(r,{code:n,ast:f,inputMap:c})}const u=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/;const p=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function extractCommentsFromList(e,t,r){if(t){t=t.filter(({value:t})=>{if(e.test(t)){r=t;return false}return true})}return[t,r]}function extractComments(e,r){let n=null;t().traverseFast(r,t=>{[t.leadingComments,n]=extractCommentsFromList(e,t.leadingComments,n);[t.innerComments,n]=extractCommentsFromList(e,t.innerComments,n);[t.trailingComments,n]=extractCommentsFromList(e,t.trailingComments,n)});return n}},73096:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=normalizeOptions;function _path(){const e=r(85622);_path=function(){return e};return e}function normalizeOptions(e){const{filename:t,cwd:r,filenameRelative:n=(typeof t==="string"?_path().relative(r,t):"unknown"),sourceType:s="module",inputSourceMap:i,sourceMaps:a=!!i,sourceRoot:o=e.options.moduleRoot,sourceFileName:l=_path().basename(n),comments:u=true,compact:p="auto"}=e.options;const f=e.options;const c=Object.assign({},f,{parserOpts:Object.assign({sourceType:_path().extname(n)===".mjs"?"module":s,sourceFileName:t,plugins:[]},f.parserOpts),generatorOpts:Object.assign({filename:t,auxiliaryCommentBefore:f.auxiliaryCommentBefore,auxiliaryCommentAfter:f.auxiliaryCommentAfter,retainLines:f.retainLines,comments:u,shouldPrintComment:f.shouldPrintComment,compact:p,minified:f.minified,sourceMaps:a,sourceRoot:o,sourceFileName:l},f.generatorOpts)});for(const t of e.passes){for(const e of t){if(e.manipulateOptions){e.manipulateOptions(c,c.parserOpts)}}}return c}},8305:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class PluginPass{constructor(e,t,r){this._map=new Map;this.key=void 0;this.file=void 0;this.opts=void 0;this.cwd=void 0;this.filename=void 0;this.key=t;this.file=e;this.opts=r||{};this.cwd=e.opts.cwd;this.filename=e.opts.filename}set(e,t){this._map.set(e,t)}get(e){return this._map.get(e)}availableHelper(e,t){return this.file.availableHelper(e,t)}addHelper(e){return this.file.addHelper(e)}addImport(){return this.file.addImport()}buildCodeFrameError(e,t,r){return this.file.buildCodeFrameError(e,t,r)}}t.default=PluginPass;{PluginPass.prototype.getModuleName=function getModuleName(){return this.file.getModuleName()}}},93330:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;const r="$$ babel internal serialized type"+Math.random();function serialize(e,t){if(typeof t!=="bigint")return t;return{[r]:"BigInt",value:t.toString()}}function revive(e,t){if(!t||typeof t!=="object")return t;if(t[r]!=="BigInt")return t;return BigInt(t.value)}function _default(e){return JSON.parse(JSON.stringify(e,serialize),revive)}},70172:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;function _v(){const e=r(68987);_v=function(){return e};return e}var n=r(93330);function _default(e){if(_v().deserialize&&_v().serialize){return _v().deserialize(_v().serialize(e))}return(0,n.default)(e)}},54065:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getInclusionReasons=getInclusionReasons;var n=r(62519);var s=r(20928);var i=r(72819);function getInclusionReasons(e,t,r){const a=r[e]||{};return Object.keys(t).reduce((e,r)=>{const o=(0,i.getLowestImplementedVersion)(a,r);const l=t[r];if(!o){e[r]=(0,s.prettifyVersion)(l)}else{const t=(0,i.isUnreleasedVersion)(o,r);const a=(0,i.isUnreleasedVersion)(l,r);if(!a&&(t||n.lt(l.toString(),(0,i.semverify)(o)))){e[r]=(0,s.prettifyVersion)(l)}}return e},{})}},22396:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.targetsSupported=targetsSupported;t.isRequired=isRequired;t.default=filterItems;var n=r(62519);var s=r(97456);var i=r(72819);function targetsSupported(e,t){const r=Object.keys(e);if(r.length===0){return false}const s=r.filter(r=>{const s=(0,i.getLowestImplementedVersion)(t,r);if(!s){return true}const a=e[r];if((0,i.isUnreleasedVersion)(a,r)){return false}if((0,i.isUnreleasedVersion)(s,r)){return true}if(!n.valid(a.toString())){throw new Error(`Invalid version passed for target "${r}": "${a}". `+"Versions must be in semver format (major.minor.patch)")}return n.gt((0,i.semverify)(s),a.toString())});return s.length===0}function isRequired(e,t,{compatData:r=s,includes:n,excludes:i}={}){if(i!=null&&i.has(e))return false;if(n!=null&&n.has(e))return true;return!targetsSupported(t,r[e])}function filterItems(e,t,r,n,s,i,a){const o=new Set;const l={compatData:e,includes:t,excludes:r};for(const t in e){if(isRequired(t,n,l)){o.add(t)}else if(a){const e=a.get(t);if(e){o.add(e)}}}if(s){s.forEach(e=>!r.has(e)&&o.add(e))}if(i){i.forEach(e=>!t.has(e)&&o.delete(e))}return o}},97001:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isBrowsersQueryValid=isBrowsersQueryValid;t.default=getTargets;Object.defineProperty(t,"unreleasedLabels",{enumerable:true,get:function(){return o.unreleasedLabels}});Object.defineProperty(t,"TargetNames",{enumerable:true,get:function(){return l.TargetNames}});Object.defineProperty(t,"prettifyTargets",{enumerable:true,get:function(){return u.prettifyTargets}});Object.defineProperty(t,"getInclusionReasons",{enumerable:true,get:function(){return p.getInclusionReasons}});Object.defineProperty(t,"filterItems",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"isRequired",{enumerable:true,get:function(){return f.isRequired}});var n=r(3561);var s=r(69562);var i=r(93644);var a=r(72819);var o=r(11518);var l=r(15472);var u=r(20928);var p=r(54065);var f=r(22396);const c=i["es6.module"];const d=new s.OptionValidator("@babel/helper-compilation-targets");function validateTargetNames(e){const t=Object.keys(l.TargetNames);for(const r of Object.keys(e)){if(!(r in l.TargetNames)){throw new Error(d.formatMessage(`'${r}' is not a valid target\n- Did you mean '${(0,s.findSuggestion)(r,t)}'?`))}}return e}function isBrowsersQueryValid(e){return typeof e==="string"||Array.isArray(e)&&e.every(e=>typeof e==="string")}function validateBrowsers(e){d.invariant(e===undefined||isBrowsersQueryValid(e),`'${String(e)}' is not a valid browserslist query`);return e}function getLowestVersions(e){return e.reduce((e,t)=>{const[r,n]=t.split(" ");const s=o.browserNameMap[r];if(!s){return e}try{const t=n.split("-")[0].toLowerCase();const i=(0,a.isUnreleasedVersion)(t,r);if(!e[s]){e[s]=i?t:(0,a.semverify)(t);return e}const o=e[s];const l=(0,a.isUnreleasedVersion)(o,r);if(l&&i){e[s]=(0,a.getLowestUnreleased)(o,t,r)}else if(l){e[s]=(0,a.semverify)(t)}else if(!l&&!i){const r=(0,a.semverify)(t);e[s]=(0,a.semverMin)(o,r)}}catch(e){}return e},{})}function outputDecimalWarning(e){if(!e.length){return}console.warn("Warning, the following targets are using a decimal version:\n");e.forEach(({target:e,value:t})=>console.warn(` ${e}: ${t}`));console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`)}function semverifyTarget(e,t){try{return(0,a.semverify)(t)}catch(r){throw new Error(d.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}const y={__default(e,t){const r=(0,a.isUnreleasedVersion)(t,e)?t.toLowerCase():semverifyTarget(e,t);return[e,r]},node(e,t){const r=t===true||t==="current"?process.versions.node:semverifyTarget(e,t);return[e,r]}};function generateTargets(e){const t=Object.assign({},e);delete t.esmodules;delete t.browsers;return t}function resolveTargets(e){const t=n(e,{mobileToDesktop:true});return getLowestVersions(t)}function getTargets(e={},t={}){var r;let{browsers:s,esmodules:i}=e;const{configPath:o="."}=t;validateBrowsers(s);const l=generateTargets(e);let u=validateTargetNames(l);const p=!!s;const f=p||Object.keys(u).length>0;const d=!t.ignoreBrowserslistConfig&&!f;if(!s&&d){s=n.loadConfig({config:t.configFile,path:o,env:t.browserslistEnv});if(s==null){{s=[]}}}if(i&&(i!=="intersect"||!((r=s)!=null&&r.length))){s=Object.keys(c).map(e=>`${e} >= ${c[e]}`).join(", ");i=false}if(s){const e=resolveTargets(s);if(i==="intersect"){for(const t of Object.keys(e)){const r=e[t];if(c[t]){e[t]=(0,a.getHighestUnreleased)(r,(0,a.semverify)(c[t]),t)}else{delete e[t]}}}u=Object.assign(e,u)}const m={};const T=[];for(const e of Object.keys(u).sort()){var h;const t=u[e];if(typeof t==="number"&&t%1!==0){T.push({target:e,value:t})}const r=(h=y[e])!=null?h:y.__default;const[n,s]=r(e,t);if(s){m[n]=s}}outputDecimalWarning(T);return m}},15472:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TargetNames=void 0;const r={node:"node",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung"};t.TargetNames=r},20928:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.prettifyVersion=prettifyVersion;t.prettifyTargets=prettifyTargets;var n=r(62519);var s=r(11518);function prettifyVersion(e){if(typeof e!=="string"){return e}const t=[n.major(e)];const r=n.minor(e);const s=n.patch(e);if(r||s){t.push(r)}if(s){t.push(s)}return t.join(".")}function prettifyTargets(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];const i=s.unreleasedLabels[r];if(typeof n==="string"&&i!==n){n=prettifyVersion(n)}t[r]=n;return t},{})}},11518:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.browserNameMap=t.unreleasedLabels=void 0;const r={safari:"tp"};t.unreleasedLabels=r;const n={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",op_mob:"opera",opera:"opera",safari:"safari",samsung:"samsung"};t.browserNameMap=n},72819:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.semverMin=semverMin;t.semverify=semverify;t.isUnreleasedVersion=isUnreleasedVersion;t.getLowestUnreleased=getLowestUnreleased;t.getHighestUnreleased=getHighestUnreleased;t.getLowestImplementedVersion=getLowestImplementedVersion;var n=r(62519);var s=r(69562);var i=r(11518);const a=/^(\d+|\d+.\d+)$/;const o=new s.OptionValidator("@babel/helper-compilation-targets");function semverMin(e,t){return e&&n.lt(e,t)?e:t}function semverify(e){if(typeof e==="string"&&n.valid(e)){return e}o.invariant(typeof e==="number"||typeof e==="string"&&a.test(e),`'${e}' is not a valid version`);const t=e.toString().split(".");while(t.length<3){t.push("0")}return t.join(".")}function isUnreleasedVersion(e,t){const r=i.unreleasedLabels[t];return!!r&&r===e.toString().toLowerCase()}function getLowestUnreleased(e,t,r){const n=i.unreleasedLabels[r];const s=[e,t].some(e=>e===n);if(s){return e===s?t:e||t}return semverMin(e,t)}function getHighestUnreleased(e,t,r){return getLowestUnreleased(e,t,r)===e?t:e}function getLowestImplementedVersion(e,t){const r=e[t];if(!r&&t==="android"){return e.chrome}return r}},89457:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getModuleName;{const e=getModuleName;t.default=getModuleName=function getModuleName(t,r){var n,s,i,a;return e(t,{moduleId:(n=r.moduleId)!=null?n:t.moduleId,moduleIds:(s=r.moduleIds)!=null?s:t.moduleIds,getModuleId:(i=r.getModuleId)!=null?i:t.getModuleId,moduleRoot:(a=r.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:r,filenameRelative:n=r,sourceRoot:s=t.moduleRoot}=e;const{moduleId:i,moduleIds:a=!!i,getModuleId:o,moduleRoot:l=s}=t;if(!a)return null;if(i!=null&&!o){return i}let u=l!=null?l+"/":"";if(n){const e=s!=null?new RegExp("^"+s+"/?"):"";u+=n.replace(e,"").replace(/\.(\w*?)$/,"")}u=u.replace(/\\/g,"/");if(o){return o(u)||u}else{return u}}},68330:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;t.ensureStatementsHoisted=ensureStatementsHoisted;t.wrapInterop=wrapInterop;t.buildNamespaceInitStatements=buildNamespaceInitStatements;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.isModule}});Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return u.hasExports}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return u.isSideEffectImport}});Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});var n=r(42357);var s=r(91306);var i=r(36900);var a=r(49834);var o=r(7850);var l=r(53074);var u=r(26366);var p=r(89457);function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:r,strict:i,allowTopLevelThis:p,strictMode:f,noInterop:c,importInterop:d=(c?"none":"babel"),lazy:y,esNamespaceOnly:m,constantReexports:T=t,enumerableModuleMeta:h=t}){(0,u.validateImportInteropOption)(d);n((0,a.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const S=(0,u.default)(e,r,{importInterop:d,initializeReexports:T,lazy:y,esNamespaceOnly:m});if(!p){(0,o.default)(e)}(0,l.default)(e,S);if(f!==false){const t=e.node.directives.some(e=>{return e.value.value==="use strict"});if(!t){e.unshiftContainer("directives",s.directive(s.directiveLiteral("use strict")))}}const b=[];if((0,u.hasExports)(S)&&!i){b.push(buildESModuleHeader(S,h))}const E=buildExportNameListDeclaration(e,S);if(E){S.exportNameListName=E.name;b.push(E.statement)}b.push(...buildExportInitializationStatements(e,S,T));return{meta:S,headers:b}}function ensureStatementsHoisted(e){e.forEach(e=>{e._blockHoist=3})}function wrapInterop(e,t,r){if(r==="none"){return null}if(r==="node-namespace"){return s.callExpression(e.hub.addHelper("interopRequireWildcard"),[t,s.booleanLiteral(true)])}else if(r==="node-default"){return null}let n;if(r==="default"){n="interopRequireDefault"}else if(r==="namespace"){n="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${r}`)}return s.callExpression(e.hub.addHelper(n),[t])}function buildNamespaceInitStatements(e,t,r=false){const n=[];let a=s.identifier(t.name);if(t.lazy)a=s.callExpression(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;n.push(i.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:s.cloneNode(a)}))}if(r){n.push(...c(e,t,true))}for(const r of t.reexportNamespace){n.push((t.lazy?i.default.statement` + `(e);function buildGlobal(e){const s=t().identifier("babelHelpers");const r=[];const i=t().functionExpression(null,[t().identifier("global")],t().blockStatement(r));const n=t().program([t().expressionStatement(t().callExpression(i,[t().conditionalExpression(t().binaryExpression("===",t().unaryExpression("typeof",t().identifier("global")),t().stringLiteral("undefined")),t().identifier("self"),t().identifier("global"))]))]);r.push(t().variableDeclaration("var",[t().variableDeclarator(s,t().assignmentExpression("=",t().memberExpression(t().identifier("global"),s),t().objectExpression([])))]));buildHelpers(r,s,e);return n}function buildModule(e){const s=[];const r=buildHelpers(s,null,e);s.unshift(t().exportNamedDeclaration(null,Object.keys(r).map(e=>{return t().exportSpecifier(t().cloneNode(r[e]),t().identifier(e))})));return t().program(s,[],"module")}function buildUmd(e){const s=t().identifier("babelHelpers");const r=[];r.push(t().variableDeclaration("var",[t().variableDeclarator(s,t().identifier("global"))]));buildHelpers(r,s,e);return t().program([n({FACTORY_PARAMETERS:t().identifier("global"),BROWSER_ARGUMENTS:t().assignmentExpression("=",t().memberExpression(t().identifier("root"),s),t().objectExpression([])),COMMON_ARGUMENTS:t().identifier("exports"),AMD_ARGUMENTS:t().arrayExpression([t().stringLiteral("exports")]),FACTORY_BODY:r,UMD_ROOT:t().identifier("this")})])}function buildVar(e){const s=t().identifier("babelHelpers");const r=[];r.push(t().variableDeclaration("var",[t().variableDeclarator(s,t().objectExpression([]))]));const i=t().program(r);buildHelpers(r,s,e);r.push(t().expressionStatement(s));return i}function buildHelpers(e,s,r){const n=e=>{return s?t().memberExpression(s,t().identifier(e)):t().identifier(`_${e}`)};const a={};helpers().list.forEach(function(t){if(r&&r.indexOf(t)<0)return;const s=a[t]=n(t);helpers().ensure(t,i.default);const{nodes:o}=helpers().get(t,n,s);e.push(...o)});return a}function _default(e,t="global"){let s;const r={global:buildGlobal,module:buildModule,umd:buildUmd,var:buildVar}[t];if(r){s=r(e)}else{throw new Error(`Unsupported output type ${t}`)}return(0,_generator().default)(s).code}},54402:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFromAstAsync=t.transformFromAstSync=t.transformFromAst=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(12152);var i=s(48002);const n=_gensync()(function*(e,t,s){const n=yield*(0,r.default)(s);if(n===null)return null;if(!e)throw new Error("No AST given");return yield*(0,i.run)(n,t,e)});const a=function transformFromAst(e,t,s,r){if(typeof s==="function"){r=s;s=undefined}if(r===undefined){return n.sync(e,t,s)}n.errback(e,t,s,r)};t.transformFromAst=a;const o=n.sync;t.transformFromAstSync=o;const l=n.async;t.transformFromAstAsync=l},23292:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFileAsync=t.transformFileSync=t.transformFile=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(12152);var i=s(48002);var n=s(66833);({});const a=_gensync()(function*(e,t){const s=Object.assign({},t,{filename:e});const a=yield*(0,r.default)(s);if(a===null)return null;const o=yield*n.readFile(e,"utf8");return yield*(0,i.run)(a,o)});const o=a.errback;t.transformFile=o;const l=a.sync;t.transformFileSync=l;const c=a.async;t.transformFileAsync=c},81692:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformAsync=t.transformSync=t.transform=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(12152);var i=s(48002);const n=_gensync()(function*transform(e,t){const s=yield*(0,r.default)(t);if(s===null)return null;return yield*(0,i.run)(s,e)});const a=function transform(e,t,s){if(typeof t==="function"){s=t;t=undefined}if(s===undefined)return n.sync(e,t);n.errback(e,t,s)};t.transform=a;const o=n.sync;t.transformSync=o;const l=n.async;t.transformAsync=l},13007:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadBlockHoistPlugin;function _traverse(){const e=s(4267);_traverse=function(){return e};return e}var r=s(85532);let i;function loadBlockHoistPlugin(){if(!i){i=new r.default(Object.assign({},n,{visitor:_traverse().default.explode(n.visitor)}),{})}return i}function priority(e){const t=e==null?void 0:e._blockHoist;if(t==null)return 1;if(t===true)return 2;return t}function stableSort(e){const t=Object.create(null);for(let s=0;s+e).sort((e,t)=>t-e);let r=0;for(const i of s){const s=t[i];for(const t of s){e[r++]=t}}return e}const n={name:"internal.blockHoist",visitor:{Block:{exit({node:e}){const{body:t}=e;let s=Math.pow(2,30)-1;let r=false;for(let e=0;es){r=true;break}s=n}if(!r)return;e.body=stableSort(t.slice())}}}}},25614:(e,s,r)=>{"use strict";Object.defineProperty(s,"__esModule",{value:true});s.default=void 0;function helpers(){const e=r(24574);helpers=function(){return e};return e}function _traverse(){const e=r(4267);_traverse=function(){return e};return e}function _codeFrame(){const e=r(21928);_codeFrame=function(){return e};return e}function t(){const e=r(19761);t=function(){return e};return e}function _helperModuleTransforms(){const e=r(68330);_helperModuleTransforms=function(){return e};return e}function _semver(){const e=r(62519);_semver=function(){return e};return e}const i={enter(e,t){const s=e.node.loc;if(s){t.loc=s;e.stop()}}};class File{constructor(e,{code:t,ast:s,inputMap:r}){this._map=new Map;this.opts=void 0;this.declarations={};this.path=null;this.ast={};this.scope=void 0;this.metadata={};this.code="";this.inputMap=null;this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)};this.opts=e;this.code=t;this.ast=s;this.inputMap=r;this.path=_traverse().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext();this.scope=this.path.scope}get shebang(){const{interpreter:e}=this.path.node;return e?e.value:""}set shebang(e){if(e){this.path.get("interpreter").replaceWith(t().interpreterDirective(e))}else{this.path.get("interpreter").remove()}}set(e,t){if(e==="helpersNamespace"){throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility."+"If you are using @babel/plugin-external-helpers you will need to use a newer "+"version than the one you currently have installed. "+"If you have your own implementation, you'll want to explore using 'helperGenerator' "+"alongside 'file.availableHelper()'.")}this._map.set(e,t)}get(e){return this._map.get(e)}has(e){return this._map.has(e)}getModuleName(){return(0,_helperModuleTransforms().getModuleName)(this.opts,this.opts)}addImport(){throw new Error("This API has been removed. If you're looking for this "+"functionality in Babel 7, you should import the "+"'@babel/helper-module-imports' module and use the functions exposed "+" from that module, such as 'addNamed' or 'addDefault'.")}availableHelper(e,t){let s;try{s=helpers().minVersion(e)}catch(e){if(e.code!=="BABEL_HELPER_UNKNOWN")throw e;return false}if(typeof t!=="string")return true;if(_semver().valid(t))t=`^${t}`;return!_semver().intersects(`<${s}`,t)&&!_semver().intersects(`>=8.0.0`,t)}addHelper(e){const s=this.declarations[e];if(s)return t().cloneNode(s);const r=this.get("helperGenerator");if(r){const t=r(e);if(t)return t}helpers().ensure(e,File);const i=this.declarations[e]=this.scope.generateUidIdentifier(e);const n={};for(const t of helpers().getDependencies(e)){n[t]=this.addHelper(t)}const{nodes:a,globals:o}=helpers().get(e,e=>n[e],i,Object.keys(this.scope.getAllBindings()));o.forEach(e=>{if(this.path.scope.hasBinding(e,true)){this.path.scope.rename(e)}});a.forEach(e=>{e._compact=true});this.path.unshiftContainer("body",a);this.path.get("body").forEach(e=>{if(a.indexOf(e.node)===-1)return;if(e.isVariableDeclaration())this.scope.registerDeclaration(e)});return i}addTemplateObject(){throw new Error("This function has been moved into the template literal transform itself.")}buildCodeFrameError(e,t,s=SyntaxError){let r=e&&(e.loc||e._loc);if(!r&&e){const s={loc:null};(0,_traverse().default)(e,i,this.scope,s);r=s.loc;let n="This is an error on an internal node. Probably an internal error.";if(r)n+=" Location has been estimated.";t+=` (${n})`}if(r){const{highlightCode:e=true}=this.opts;t+="\n"+(0,_codeFrame().codeFrameColumns)(this.code,{start:{line:r.start.line,column:r.start.column+1},end:r.end&&r.start.line===r.end.line?{line:r.end.line,column:r.end.column+1}:undefined},{highlightCode:e})}return new s(t)}}s.default=File},102:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateCode;function _convertSourceMap(){const e=s(36301);_convertSourceMap=function(){return e};return e}function _generator(){const e=s(23656);_generator=function(){return e};return e}var r=s(88574);function generateCode(e,t){const{opts:s,ast:i,code:n,inputMap:a}=t;const o=[];for(const t of e){for(const e of t){const{generatorOverride:t}=e;if(t){const e=t(i,s.generatorOpts,n,_generator().default);if(e!==undefined)o.push(e)}}}let l;if(o.length===0){l=(0,_generator().default)(i,s.generatorOpts,n)}else if(o.length===1){l=o[0];if(typeof l.then==="function"){throw new Error(`You appear to be using an async codegen plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version.`)}}else{throw new Error("More than one plugin attempted to override codegen.")}let{code:c,map:p}=l;if(p&&a){p=(0,r.default)(a.toObject(),p)}if(s.sourceMaps==="inline"||s.sourceMaps==="both"){c+="\n"+_convertSourceMap().fromObject(p).toComment()}if(s.sourceMaps==="inline"){p=null}return{outputCode:c,outputMap:p}}},88574:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=mergeSourceMap;function _sourceMap(){const e=s(96241);_sourceMap=function(){return e};return e}function mergeSourceMap(e,t){const s=buildMappingData(e);const r=buildMappingData(t);const i=new(_sourceMap().SourceMapGenerator);for(const{source:e}of s.sources){if(typeof e.content==="string"){i.setSourceContent(e.path,e.content)}}if(r.sources.length===1){const e=r.sources[0];const t=new Map;eachInputGeneratedRange(s,(s,r,n)=>{eachOverlappingGeneratedOutputRange(e,s,e=>{const s=makeMappingKey(e);if(t.has(s))return;t.set(s,e);i.addMapping({source:n.path,original:{line:r.line,column:r.columnStart},generated:{line:e.line,column:e.columnStart},name:r.name})})});for(const e of t.values()){if(e.columnEnd===Infinity){continue}const s={line:e.line,columnStart:e.columnEnd};const r=makeMappingKey(s);if(t.has(r)){continue}i.addMapping({generated:{line:s.line,column:s.columnStart}})}}const n=i.toJSON();if(typeof s.sourceRoot==="string"){n.sourceRoot=s.sourceRoot}return n}function makeMappingKey(e){return`${e.line}/${e.columnStart}`}function eachOverlappingGeneratedOutputRange(e,t,s){const r=filterApplicableOriginalRanges(e,t);for(const{generated:e}of r){for(const t of e){s(t)}}}function filterApplicableOriginalRanges({mappings:e},{line:t,columnStart:s,columnEnd:r}){return filterSortedArray(e,({original:e})=>{if(t>e.line)return-1;if(t=e.columnEnd)return-1;if(r<=e.columnStart)return 1;return 0})}function eachInputGeneratedRange(e,t){for(const{source:s,mappings:r}of e.sources){for(const{original:e,generated:i}of r){for(const r of i){t(r,e,s)}}}}function buildMappingData(e){const t=new(_sourceMap().SourceMapConsumer)(Object.assign({},e,{sourceRoot:null}));const s=new Map;const r=new Map;let i=null;t.computeColumnSpans();t.eachMapping(e=>{if(e.originalLine===null)return;let n=s.get(e.source);if(!n){n={path:e.source,content:t.sourceContentFor(e.source,true)};s.set(e.source,n)}let a=r.get(n);if(!a){a={source:n,mappings:[]};r.set(n,a)}const o={line:e.originalLine,columnStart:e.originalColumn,columnEnd:Infinity,name:e.name};if(i&&i.source===n&&i.mapping.line===e.originalLine){i.mapping.columnEnd=e.originalColumn}i={source:n,mapping:o};a.mappings.push({original:o,generated:t.allGeneratedPositionsFor({source:e.source,line:e.originalLine,column:e.originalColumn}).map(e=>({line:e.line,columnStart:e.column,columnEnd:e.lastColumn+1}))})},null,_sourceMap().SourceMapConsumer.ORIGINAL_ORDER);return{file:e.file,sourceRoot:e.sourceRoot,sources:Array.from(r.values())}}function findInsertionLocation(e,t){let s=0;let r=e.length;while(s=0){r=i}else{s=i+1}}let i=s;if(i=0&&t(e[i])>=0){i--}return i+1}return i}function filterSortedArray(e,t){const s=findInsertionLocation(e,t);const r=[];for(let i=s;i{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.run=run;function _traverse(){const e=s(4267);_traverse=function(){return e};return e}var r=s(8305);var i=s(13007);var n=s(73096);var a=s(18888);var o=s(102);function*run(e,t,s){const r=yield*(0,a.default)(e.passes,(0,n.default)(e),t,s);const i=r.opts;try{yield*transformFile(r,e.passes)}catch(e){var l;e.message=`${(l=i.filename)!=null?l:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_TRANSFORM_ERROR"}throw e}let c,p;try{if(i.code!==false){({outputCode:c,outputMap:p}=(0,o.default)(e.passes,r))}}catch(e){var u;e.message=`${(u=i.filename)!=null?u:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_GENERATE_ERROR"}throw e}return{metadata:r.metadata,options:i,ast:i.ast===true?r.ast:null,code:c===undefined?null:c,map:p===undefined?null:p,sourceType:r.ast.program.sourceType}}function*transformFile(e,t){for(const s of t){const t=[];const n=[];const a=[];for(const o of s.concat([(0,i.default)()])){const s=new r.default(e,o.key,o.options);t.push([o,s]);n.push(s);a.push(o.visitor)}for(const[s,r]of t){const t=s.pre;if(t){const s=t.call(r,e);yield*[];if(isThenable(s)){throw new Error(`You appear to be using an plugin with an async .pre, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}const o=_traverse().default.visitors.merge(a,n,e.opts.wrapPluginVisitorMethod);(0,_traverse().default)(e.ast,o,e.scope);for(const[s,r]of t){const t=s.post;if(t){const s=t.call(r,e);yield*[];if(isThenable(s)){throw new Error(`You appear to be using an plugin with an async .post, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}}}function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},18888:(e,s,r)=>{"use strict";Object.defineProperty(s,"__esModule",{value:true});s.default=normalizeFile;function _fs(){const e=r(35747);_fs=function(){return e};return e}function _path(){const e=r(85622);_path=function(){return e};return e}function _debug(){const e=r(31185);_debug=function(){return e};return e}function t(){const e=r(19761);t=function(){return e};return e}function _convertSourceMap(){const e=r(36301);_convertSourceMap=function(){return e};return e}var i=r(25614);var n=r(36341);var a=r(70172);const o=_debug()("babel:transform:file");const l=1e6;function*normalizeFile(e,s,r,u){r=`${r||""}`;if(u){if(u.type==="Program"){u=t().file(u,[],[])}else if(u.type!=="File"){throw new Error("AST root must be a Program or File node")}if(s.cloneInputAst){u=(0,a.default)(u)}}else{u=yield*(0,n.default)(e,s,r)}let h=null;if(s.inputSourceMap!==false){if(typeof s.inputSourceMap==="object"){h=_convertSourceMap().fromObject(s.inputSourceMap)}if(!h){const e=extractComments(c,u);if(e){try{h=_convertSourceMap().fromComment(e)}catch(e){o("discarding unknown inline input sourcemap",e)}}}if(!h){const e=extractComments(p,u);if(typeof s.filename==="string"&&e){try{const t=p.exec(e);const r=_fs().readFileSync(_path().resolve(_path().dirname(s.filename),t[1]));if(r.length>l){o("skip merging input map > 1 MB")}else{h=_convertSourceMap().fromJSON(r)}}catch(e){o("discarding unknown file input sourcemap",e)}}else if(e){o("discarding un-loadable file input sourcemap")}}}return new i.default(s,{code:r,ast:u,inputMap:h})}const c=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/;const p=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function extractCommentsFromList(e,t,s){if(t){t=t.filter(({value:t})=>{if(e.test(t)){s=t;return false}return true})}return[t,s]}function extractComments(e,s){let r=null;t().traverseFast(s,t=>{[t.leadingComments,r]=extractCommentsFromList(e,t.leadingComments,r);[t.innerComments,r]=extractCommentsFromList(e,t.innerComments,r);[t.trailingComments,r]=extractCommentsFromList(e,t.trailingComments,r)});return r}},73096:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=normalizeOptions;function _path(){const e=s(85622);_path=function(){return e};return e}function normalizeOptions(e){const{filename:t,cwd:s,filenameRelative:r=(typeof t==="string"?_path().relative(s,t):"unknown"),sourceType:i="module",inputSourceMap:n,sourceMaps:a=!!n,sourceRoot:o=e.options.moduleRoot,sourceFileName:l=_path().basename(r),comments:c=true,compact:p="auto"}=e.options;const u=e.options;const h=Object.assign({},u,{parserOpts:Object.assign({sourceType:_path().extname(r)===".mjs"?"module":i,sourceFileName:t,plugins:[]},u.parserOpts),generatorOpts:Object.assign({filename:t,auxiliaryCommentBefore:u.auxiliaryCommentBefore,auxiliaryCommentAfter:u.auxiliaryCommentAfter,retainLines:u.retainLines,comments:c,shouldPrintComment:u.shouldPrintComment,compact:p,minified:u.minified,sourceMaps:a,sourceRoot:o,sourceFileName:l},u.generatorOpts)});for(const t of e.passes){for(const e of t){if(e.manipulateOptions){e.manipulateOptions(h,h.parserOpts)}}}return h}},8305:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class PluginPass{constructor(e,t,s){this._map=new Map;this.key=void 0;this.file=void 0;this.opts=void 0;this.cwd=void 0;this.filename=void 0;this.key=t;this.file=e;this.opts=s||{};this.cwd=e.opts.cwd;this.filename=e.opts.filename}set(e,t){this._map.set(e,t)}get(e){return this._map.get(e)}availableHelper(e,t){return this.file.availableHelper(e,t)}addHelper(e){return this.file.addHelper(e)}addImport(){return this.file.addImport()}buildCodeFrameError(e,t,s){return this.file.buildCodeFrameError(e,t,s)}}t.default=PluginPass;{PluginPass.prototype.getModuleName=function getModuleName(){return this.file.getModuleName()}}},93330:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;const s="$$ babel internal serialized type"+Math.random();function serialize(e,t){if(typeof t!=="bigint")return t;return{[s]:"BigInt",value:t.toString()}}function revive(e,t){if(!t||typeof t!=="object")return t;if(t[s]!=="BigInt")return t;return BigInt(t.value)}function _default(e){return JSON.parse(JSON.stringify(e,serialize),revive)}},70172:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;function _v(){const e=s(68987);_v=function(){return e};return e}var r=s(93330);function _default(e){if(_v().deserialize&&_v().serialize){return _v().deserialize(_v().serialize(e))}return(0,r.default)(e)}},54065:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getInclusionReasons=getInclusionReasons;var r=s(62519);var i=s(20928);var n=s(72819);function getInclusionReasons(e,t,s){const a=s[e]||{};return Object.keys(t).reduce((e,s)=>{const o=(0,n.getLowestImplementedVersion)(a,s);const l=t[s];if(!o){e[s]=(0,i.prettifyVersion)(l)}else{const t=(0,n.isUnreleasedVersion)(o,s);const a=(0,n.isUnreleasedVersion)(l,s);if(!a&&(t||r.lt(l.toString(),(0,n.semverify)(o)))){e[s]=(0,i.prettifyVersion)(l)}}return e},{})}},22396:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.targetsSupported=targetsSupported;t.isRequired=isRequired;t.default=filterItems;var r=s(62519);var i=s(97456);var n=s(72819);function targetsSupported(e,t){const s=Object.keys(e);if(s.length===0){return false}const i=s.filter(s=>{const i=(0,n.getLowestImplementedVersion)(t,s);if(!i){return true}const a=e[s];if((0,n.isUnreleasedVersion)(a,s)){return false}if((0,n.isUnreleasedVersion)(i,s)){return true}if(!r.valid(a.toString())){throw new Error(`Invalid version passed for target "${s}": "${a}". `+"Versions must be in semver format (major.minor.patch)")}return r.gt((0,n.semverify)(i),a.toString())});return i.length===0}function isRequired(e,t,{compatData:s=i,includes:r,excludes:n}={}){if(n!=null&&n.has(e))return false;if(r!=null&&r.has(e))return true;return!targetsSupported(t,s[e])}function filterItems(e,t,s,r,i,n,a){const o=new Set;const l={compatData:e,includes:t,excludes:s};for(const t in e){if(isRequired(t,r,l)){o.add(t)}else if(a){const e=a.get(t);if(e){o.add(e)}}}if(i){i.forEach(e=>!s.has(e)&&o.add(e))}if(n){n.forEach(e=>!t.has(e)&&o.delete(e))}return o}},97001:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isBrowsersQueryValid=isBrowsersQueryValid;t.default=getTargets;Object.defineProperty(t,"unreleasedLabels",{enumerable:true,get:function(){return o.unreleasedLabels}});Object.defineProperty(t,"TargetNames",{enumerable:true,get:function(){return l.TargetNames}});Object.defineProperty(t,"prettifyTargets",{enumerable:true,get:function(){return c.prettifyTargets}});Object.defineProperty(t,"getInclusionReasons",{enumerable:true,get:function(){return p.getInclusionReasons}});Object.defineProperty(t,"filterItems",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"isRequired",{enumerable:true,get:function(){return u.isRequired}});var r=s(3561);var i=s(69562);var n=s(93644);var a=s(72819);var o=s(11518);var l=s(15472);var c=s(20928);var p=s(54065);var u=s(22396);const h=n["es6.module"];const f=new i.OptionValidator("@babel/helper-compilation-targets");function validateTargetNames(e){const t=Object.keys(l.TargetNames);for(const s of Object.keys(e)){if(!(s in l.TargetNames)){throw new Error(f.formatMessage(`'${s}' is not a valid target\n- Did you mean '${(0,i.findSuggestion)(s,t)}'?`))}}return e}function isBrowsersQueryValid(e){return typeof e==="string"||Array.isArray(e)&&e.every(e=>typeof e==="string")}function validateBrowsers(e){f.invariant(e===undefined||isBrowsersQueryValid(e),`'${String(e)}' is not a valid browserslist query`);return e}function getLowestVersions(e){return e.reduce((e,t)=>{const[s,r]=t.split(" ");const i=o.browserNameMap[s];if(!i){return e}try{const t=r.split("-")[0].toLowerCase();const n=(0,a.isUnreleasedVersion)(t,s);if(!e[i]){e[i]=n?t:(0,a.semverify)(t);return e}const o=e[i];const l=(0,a.isUnreleasedVersion)(o,s);if(l&&n){e[i]=(0,a.getLowestUnreleased)(o,t,s)}else if(l){e[i]=(0,a.semverify)(t)}else if(!l&&!n){const s=(0,a.semverify)(t);e[i]=(0,a.semverMin)(o,s)}}catch(e){}return e},{})}function outputDecimalWarning(e){if(!e.length){return}console.warn("Warning, the following targets are using a decimal version:\n");e.forEach(({target:e,value:t})=>console.warn(` ${e}: ${t}`));console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`)}function semverifyTarget(e,t){try{return(0,a.semverify)(t)}catch(s){throw new Error(f.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}const d={__default(e,t){const s=(0,a.isUnreleasedVersion)(t,e)?t.toLowerCase():semverifyTarget(e,t);return[e,s]},node(e,t){const s=t===true||t==="current"?process.versions.node:semverifyTarget(e,t);return[e,s]}};function generateTargets(e){const t=Object.assign({},e);delete t.esmodules;delete t.browsers;return t}function resolveTargets(e){const t=r(e,{mobileToDesktop:true});return getLowestVersions(t)}function getTargets(e={},t={}){var s;let{browsers:i,esmodules:n}=e;const{configPath:o="."}=t;validateBrowsers(i);const l=generateTargets(e);let c=validateTargetNames(l);const p=!!i;const u=p||Object.keys(c).length>0;const f=!t.ignoreBrowserslistConfig&&!u;if(!i&&f){i=r.loadConfig({config:t.configFile,path:o,env:t.browserslistEnv});if(i==null){{i=[]}}}if(n&&(n!=="intersect"||!((s=i)!=null&&s.length))){i=Object.keys(h).map(e=>`${e} >= ${h[e]}`).join(", ");n=false}if(i){const e=resolveTargets(i);if(n==="intersect"){for(const t of Object.keys(e)){const s=e[t];if(h[t]){e[t]=(0,a.getHighestUnreleased)(s,(0,a.semverify)(h[t]),t)}else{delete e[t]}}}c=Object.assign(e,c)}const y={};const m=[];for(const e of Object.keys(c).sort()){var g;const t=c[e];if(typeof t==="number"&&t%1!==0){m.push({target:e,value:t})}const s=(g=d[e])!=null?g:d.__default;const[r,i]=s(e,t);if(i){y[r]=i}}outputDecimalWarning(m);return y}},15472:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TargetNames=void 0;const s={node:"node",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung"};t.TargetNames=s},20928:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.prettifyVersion=prettifyVersion;t.prettifyTargets=prettifyTargets;var r=s(62519);var i=s(11518);function prettifyVersion(e){if(typeof e!=="string"){return e}const t=[r.major(e)];const s=r.minor(e);const i=r.patch(e);if(s||i){t.push(s)}if(i){t.push(i)}return t.join(".")}function prettifyTargets(e){return Object.keys(e).reduce((t,s)=>{let r=e[s];const n=i.unreleasedLabels[s];if(typeof r==="string"&&n!==r){r=prettifyVersion(r)}t[s]=r;return t},{})}},11518:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.browserNameMap=t.unreleasedLabels=void 0;const s={safari:"tp"};t.unreleasedLabels=s;const r={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",op_mob:"opera",opera:"opera",safari:"safari",samsung:"samsung"};t.browserNameMap=r},72819:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.semverMin=semverMin;t.semverify=semverify;t.isUnreleasedVersion=isUnreleasedVersion;t.getLowestUnreleased=getLowestUnreleased;t.getHighestUnreleased=getHighestUnreleased;t.getLowestImplementedVersion=getLowestImplementedVersion;var r=s(62519);var i=s(69562);var n=s(11518);const a=/^(\d+|\d+.\d+)$/;const o=new i.OptionValidator("@babel/helper-compilation-targets");function semverMin(e,t){return e&&r.lt(e,t)?e:t}function semverify(e){if(typeof e==="string"&&r.valid(e)){return e}o.invariant(typeof e==="number"||typeof e==="string"&&a.test(e),`'${e}' is not a valid version`);const t=e.toString().split(".");while(t.length<3){t.push("0")}return t.join(".")}function isUnreleasedVersion(e,t){const s=n.unreleasedLabels[t];return!!s&&s===e.toString().toLowerCase()}function getLowestUnreleased(e,t,s){const r=n.unreleasedLabels[s];const i=[e,t].some(e=>e===r);if(i){return e===i?t:e||t}return semverMin(e,t)}function getHighestUnreleased(e,t,s){return getLowestUnreleased(e,t,s)===e?t:e}function getLowestImplementedVersion(e,t){const s=e[t];if(!s&&t==="android"){return e.chrome}return s}},89457:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getModuleName;{const e=getModuleName;t.default=getModuleName=function getModuleName(t,s){var r,i,n,a;return e(t,{moduleId:(r=s.moduleId)!=null?r:t.moduleId,moduleIds:(i=s.moduleIds)!=null?i:t.moduleIds,getModuleId:(n=s.getModuleId)!=null?n:t.getModuleId,moduleRoot:(a=s.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:s,filenameRelative:r=s,sourceRoot:i=t.moduleRoot}=e;const{moduleId:n,moduleIds:a=!!n,getModuleId:o,moduleRoot:l=i}=t;if(!a)return null;if(n!=null&&!o){return n}let c=l!=null?l+"/":"";if(r){const e=i!=null?new RegExp("^"+i+"/?"):"";c+=r.replace(e,"").replace(/\.(\w*?)$/,"")}c=c.replace(/\\/g,"/");if(o){return o(c)||c}else{return c}}},68330:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;t.ensureStatementsHoisted=ensureStatementsHoisted;t.wrapInterop=wrapInterop;t.buildNamespaceInitStatements=buildNamespaceInitStatements;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.isModule}});Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return c.hasExports}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return c.isSideEffectImport}});Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});var r=s(42357);var i=s(19761);var n=s(36900);var a=s(49834);var o=s(7850);var l=s(53074);var c=s(26366);var p=s(89457);function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:s,strict:n,allowTopLevelThis:p,strictMode:u,noInterop:h,importInterop:f=(h?"none":"babel"),lazy:d,esNamespaceOnly:y,constantReexports:m=t,enumerableModuleMeta:g=t}){(0,c.validateImportInteropOption)(f);r((0,a.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const b=(0,c.default)(e,s,{importInterop:f,initializeReexports:m,lazy:d,esNamespaceOnly:y});if(!p){(0,o.default)(e)}(0,l.default)(e,b);if(u!==false){const t=e.node.directives.some(e=>{return e.value.value==="use strict"});if(!t){e.unshiftContainer("directives",i.directive(i.directiveLiteral("use strict")))}}const x=[];if((0,c.hasExports)(b)&&!n){x.push(buildESModuleHeader(b,g))}const v=buildExportNameListDeclaration(e,b);if(v){b.exportNameListName=v.name;x.push(v.statement)}x.push(...buildExportInitializationStatements(e,b,m));return{meta:b,headers:x}}function ensureStatementsHoisted(e){e.forEach(e=>{e._blockHoist=3})}function wrapInterop(e,t,s){if(s==="none"){return null}if(s==="node-namespace"){return i.callExpression(e.hub.addHelper("interopRequireWildcard"),[t,i.booleanLiteral(true)])}else if(s==="node-default"){return null}let r;if(s==="default"){r="interopRequireDefault"}else if(s==="namespace"){r="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${s}`)}return i.callExpression(e.hub.addHelper(r),[t])}function buildNamespaceInitStatements(e,t,s=false){const r=[];let a=i.identifier(t.name);if(t.lazy)a=i.callExpression(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;r.push(n.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:i.cloneNode(a)}))}if(s){r.push(...h(e,t,true))}for(const s of t.reexportNamespace){r.push((t.lazy?n.default.statement` Object.defineProperty(EXPORTS, "NAME", { enumerable: true, get: function() { return NAMESPACE; } }); - `:i.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:r,NAMESPACE:s.cloneNode(a)}))}if(t.reexportAll){const i=buildNamespaceReexport(e,s.cloneNode(a),r);i.loc=t.reexportAll.loc;n.push(i)}return n}const f={constant:i.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:i.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:(0,i.default)` + `:n.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:s,NAMESPACE:i.cloneNode(a)}))}if(t.reexportAll){const n=buildNamespaceReexport(e,i.cloneNode(a),s);n.loc=t.reexportAll.loc;r.push(n)}return r}const u={constant:n.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:n.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:(0,n.default)` Object.defineProperty(EXPORTS, "EXPORT_NAME", { enumerable: true, get: function() { return NAMESPACE_IMPORT; }, }); - `};const c=(e,t,r)=>{const n=t.lazy?s.callExpression(s.identifier(t.name),[]):s.identifier(t.name);const{stringSpecifiers:i}=e;return Array.from(t.reexports,([a,o])=>{let l=s.cloneNode(n);if(o==="default"&&t.interop==="node-default"){}else if(i.has(o)){l=s.memberExpression(l,s.stringLiteral(o),true)}else{l=s.memberExpression(l,s.identifier(o))}const u={EXPORTS:e.exportName,EXPORT_NAME:a,NAMESPACE_IMPORT:l};if(r||s.isIdentifier(l)){if(i.has(a)){return f.constantComputed(u)}else{return f.constant(u)}}else{return f.spec(u)}})};function buildESModuleHeader(e,t=false){return(t?i.default.statement` + `};const h=(e,t,s)=>{const r=t.lazy?i.callExpression(i.identifier(t.name),[]):i.identifier(t.name);const{stringSpecifiers:n}=e;return Array.from(t.reexports,([a,o])=>{let l=i.cloneNode(r);if(o==="default"&&t.interop==="node-default"){}else if(n.has(o)){l=i.memberExpression(l,i.stringLiteral(o),true)}else{l=i.memberExpression(l,i.identifier(o))}const c={EXPORTS:e.exportName,EXPORT_NAME:a,NAMESPACE_IMPORT:l};if(s||i.isIdentifier(l)){if(n.has(a)){return u.constantComputed(c)}else{return u.constant(c)}}else{return u.spec(c)}})};function buildESModuleHeader(e,t=false){return(t?n.default.statement` EXPORTS.__esModule = true; - `:i.default.statement` + `:n.default.statement` Object.defineProperty(EXPORTS, "__esModule", { value: true, }); - `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,r){return(r?i.default.statement` + `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,s){return(s?n.default.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; @@ -5960,7 +5960,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m EXPORTS[key] = NAMESPACE[key]; }); - `:i.default.statement` + `:n.default.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; @@ -5973,13 +5973,13 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }, }); }); - `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,i.default)` + `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,n.default)` if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return; - `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const r=Object.create(null);for(const e of t.local.values()){for(const t of e.names){r[t]=true}}let n=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){r[t]=true}for(const t of e.reexportNamespace){r[t]=true}n=n||!!e.reexportAll}if(!n||Object.keys(r).length===0)return null;const i=e.scope.generateUidIdentifier("exportNames");delete r.default;return{name:i.name,statement:s.variableDeclaration("var",[s.variableDeclarator(i,s.valueToNode(r))])}}function buildExportInitializationStatements(e,t,r=false){const n=[];const i=[];for(const[e,r]of t.local){if(r.kind==="import"){}else if(r.kind==="hoisted"){n.push(buildInitStatement(t,r.names,s.identifier(e)))}else{i.push(...r.names)}}for(const e of t.source.values()){if(!r){n.push(...c(t,e,false))}for(const t of e.reexportNamespace){i.push(t)}}n.push(...chunk(i,100).map(r=>{return buildInitStatement(t,r,e.scope.buildUndefinedNode())}));return n}const d={computed:i.default.expression`EXPORTS["NAME"] = VALUE`,default:i.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,r){const{stringSpecifiers:n,exportName:i}=e;return s.expressionStatement(t.reduce((e,t)=>{const r={EXPORTS:i,NAME:t,VALUE:e};if(n.has(t)){return d.computed(r)}else{return d.default(r)}},r))}function chunk(e,t){const r=[];for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;t.default=normalizeModuleAndLoadMetadata;var n=r(85622);var s=r(89701);var i=r(76729);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t){if(typeof e==="function"){return validateImportInteropOption(e(t))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:r,initializeReexports:n=false,lazy:s=false,esNamespaceOnly:i=false}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const a=new Set;nameAnonymousExports(e);const{local:o,source:l,hasExports:u}=getModuleMetadata(e,{initializeReexports:n,lazy:s},a);removeModuleDeclarations(e);for(const[,e]of l){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(r,e.source);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(i&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:u,local:o,source:l,stringSpecifiers:a}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const r=e.node.value;if(!(0,s.isIdentifierName)(r)){t.add(r)}return r}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:r},s){const i=getLocalExportMetadata(e,r,s);const a=new Map;const o=t=>{const r=t.value;let s=a.get(r);if(!s){s={name:e.scope.generateUidIdentifier((0,n.basename)(r,(0,n.extname)(r))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:r};a.set(r,s)}return s};let l=false;e.get("body").forEach(e=>{if(e.isImportDeclaration()){const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{if(e.isImportDefaultSpecifier()){const r=e.get("local").node.name;t.imports.set(r,"default");const n=i.get(r);if(n){i.delete(r);n.names.forEach(e=>{t.reexports.set(e,"default")})}}else if(e.isImportNamespaceSpecifier()){const r=e.get("local").node.name;t.importsNamespace.add(r);const n=i.get(r);if(n){i.delete(r);n.names.forEach(e=>{t.reexportNamespace.add(e)})}}else if(e.isImportSpecifier()){const r=getExportSpecifierName(e.get("imported"),s);const n=e.get("local").node.name;t.imports.set(n,r);const a=i.get(n);if(a){i.delete(n);a.names.forEach(e=>{t.reexports.set(e,r)})}}})}else if(e.isExportAllDeclaration()){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{assertExportSpecifier(e);const r=getExportSpecifierName(e.get("local"),s);const n=getExportSpecifierName(e.get("exported"),s);t.reexports.set(n,r);if(n==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}})}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}});for(const e of a.values()){let t=false;let r=false;if(e.importsNamespace.size>0){t=true;r=true}if(e.reexportAll){r=true}for(const n of e.imports.values()){if(n==="default")t=true;else r=true}for(const n of e.reexports.values()){if(n==="default")t=true;else r=true}if(t&&r){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,r]of a){if(t!==false&&!(isSideEffectImport(r)||r.reexportAll)){if(t===true){r.lazy=!/\./.test(e)}else if(Array.isArray(t)){r.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){r.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:l,local:i,source:a}}function getLocalExportMetadata(e,t,r){const n=new Map;e.get("body").forEach(e=>{let r;if(e.isImportDeclaration()){r="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach(e=>{assertExportSpecifier(e);n.set(e.get("local").node.name,"block")});return}}if(e.isFunctionDeclaration()){r="hoisted"}else if(e.isClassDeclaration()){r="block"}else if(e.isVariableDeclaration({kind:"var"})){r="var"}else if(e.isVariableDeclaration()){r="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach(e=>{n.set(e,r)})});const s=new Map;const i=e=>{const t=e.node.name;let r=s.get(t);if(!r){const i=n.get(t);if(i===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}r={names:[],kind:i};s.set(t,r)}return r};e.get("body").forEach(e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const r=t.getOuterBindingIdentifierPaths();Object.keys(r).forEach(e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}i(r[e]).names.push(e)})}else{e.get("specifiers").forEach(e=>{const t=e.get("local");const n=e.get("exported");const s=i(t);const a=getExportSpecifierName(n,r);if(a==="__esModule"){throw n.buildCodeFrameError('Illegal export "__esModule".')}s.names.push(a)})}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){i(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}});return s}function nameAnonymousExports(e){e.get("body").forEach(e=>{if(!e.isExportDefaultDeclaration())return;(0,i.default)(e)})}function removeModuleDeclarations(e){e.get("body").forEach(e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}})}},53074:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteLiveReferences;var n=r(42357);var s=r(91306);var i=r(36900);var a=r(58216);function rewriteLiveReferences(e,t){const r=new Map;const n=new Map;const i=t=>{e.requeue(t)};for(const[e,n]of t.source){for(const[t,s]of n.imports){r.set(t,[e,s,null])}for(const t of n.importsNamespace){r.set(t,[e,null,t])}}for(const[e,r]of t.local){let t=n.get(e);if(!t){t=[];n.set(e,t)}t.push(...r.names)}const l={metadata:t,requeueInParent:i,scope:e.scope,exported:n};e.traverse(o,l);(0,a.default)(e,new Set([...Array.from(r.keys()),...Array.from(n.keys())]));const u={seen:new WeakSet,metadata:t,requeueInParent:i,scope:e.scope,imported:r,exported:n,buildImportReference:([e,r,n],i)=>{const a=t.source.get(e);if(n){if(a.lazy)i=s.callExpression(i,[]);return i}let o=s.identifier(a.name);if(a.lazy)o=s.callExpression(o,[]);if(r==="default"&&a.interop==="node-default"){return o}const l=t.stringSpecifiers.has(r);return s.memberExpression(o,l?s.stringLiteral(r):s.identifier(r),l)}};e.traverse(p,u)}const o={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;const{id:i}=e.node;if(!i)throw new Error("Expected class to have a name");const a=i.name;const o=r.get(a)||[];if(o.length>0){const r=s.expressionStatement(l(n,o,s.identifier(a)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(i=>{const a=r.get(i)||[];if(a.length>0){const r=s.expressionStatement(l(n,a,s.identifier(i)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}})}};const l=(e,t,r)=>{return(t||[]).reduce((t,r)=>{const{stringSpecifiers:n}=e;const i=n.has(r);return s.assignmentExpression("=",s.memberExpression(s.identifier(e.exportName),i?s.stringLiteral(r):s.identifier(r),i),t)},r)};const u=e=>{return i.default.expression.ast` + `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const s=Object.create(null);for(const e of t.local.values()){for(const t of e.names){s[t]=true}}let r=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){s[t]=true}for(const t of e.reexportNamespace){s[t]=true}r=r||!!e.reexportAll}if(!r||Object.keys(s).length===0)return null;const n=e.scope.generateUidIdentifier("exportNames");delete s.default;return{name:n.name,statement:i.variableDeclaration("var",[i.variableDeclarator(n,i.valueToNode(s))])}}function buildExportInitializationStatements(e,t,s=false){const r=[];const n=[];for(const[e,s]of t.local){if(s.kind==="import"){}else if(s.kind==="hoisted"){r.push(buildInitStatement(t,s.names,i.identifier(e)))}else{n.push(...s.names)}}for(const e of t.source.values()){if(!s){r.push(...h(t,e,false))}for(const t of e.reexportNamespace){n.push(t)}}r.push(...chunk(n,100).map(s=>{return buildInitStatement(t,s,e.scope.buildUndefinedNode())}));return r}const f={computed:n.default.expression`EXPORTS["NAME"] = VALUE`,default:n.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,s){const{stringSpecifiers:r,exportName:n}=e;return i.expressionStatement(t.reduce((e,t)=>{const s={EXPORTS:n,NAME:t,VALUE:e};if(r.has(t)){return f.computed(s)}else{return f.default(s)}},s))}function chunk(e,t){const s=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;t.default=normalizeModuleAndLoadMetadata;var r=s(85622);var i=s(89701);var n=s(76729);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t){if(typeof e==="function"){return validateImportInteropOption(e(t))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:s,initializeReexports:r=false,lazy:i=false,esNamespaceOnly:n=false}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const a=new Set;nameAnonymousExports(e);const{local:o,source:l,hasExports:c}=getModuleMetadata(e,{initializeReexports:r,lazy:i},a);removeModuleDeclarations(e);for(const[,e]of l){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(s,e.source);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(n&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:c,local:o,source:l,stringSpecifiers:a}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const s=e.node.value;if(!(0,i.isIdentifierName)(s)){t.add(s)}return s}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:s},i){const n=getLocalExportMetadata(e,s,i);const a=new Map;const o=t=>{const s=t.value;let i=a.get(s);if(!i){i={name:e.scope.generateUidIdentifier((0,r.basename)(s,(0,r.extname)(s))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:s};a.set(s,i)}return i};let l=false;e.get("body").forEach(e=>{if(e.isImportDeclaration()){const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{if(e.isImportDefaultSpecifier()){const s=e.get("local").node.name;t.imports.set(s,"default");const r=n.get(s);if(r){n.delete(s);r.names.forEach(e=>{t.reexports.set(e,"default")})}}else if(e.isImportNamespaceSpecifier()){const s=e.get("local").node.name;t.importsNamespace.add(s);const r=n.get(s);if(r){n.delete(s);r.names.forEach(e=>{t.reexportNamespace.add(e)})}}else if(e.isImportSpecifier()){const s=getExportSpecifierName(e.get("imported"),i);const r=e.get("local").node.name;t.imports.set(r,s);const a=n.get(r);if(a){n.delete(r);a.names.forEach(e=>{t.reexports.set(e,s)})}}})}else if(e.isExportAllDeclaration()){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{assertExportSpecifier(e);const s=getExportSpecifierName(e.get("local"),i);const r=getExportSpecifierName(e.get("exported"),i);t.reexports.set(r,s);if(r==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}})}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}});for(const e of a.values()){let t=false;let s=false;if(e.importsNamespace.size>0){t=true;s=true}if(e.reexportAll){s=true}for(const r of e.imports.values()){if(r==="default")t=true;else s=true}for(const r of e.reexports.values()){if(r==="default")t=true;else s=true}if(t&&s){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,s]of a){if(t!==false&&!(isSideEffectImport(s)||s.reexportAll)){if(t===true){s.lazy=!/\./.test(e)}else if(Array.isArray(t)){s.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){s.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:l,local:n,source:a}}function getLocalExportMetadata(e,t,s){const r=new Map;e.get("body").forEach(e=>{let s;if(e.isImportDeclaration()){s="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach(e=>{assertExportSpecifier(e);r.set(e.get("local").node.name,"block")});return}}if(e.isFunctionDeclaration()){s="hoisted"}else if(e.isClassDeclaration()){s="block"}else if(e.isVariableDeclaration({kind:"var"})){s="var"}else if(e.isVariableDeclaration()){s="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach(e=>{r.set(e,s)})});const i=new Map;const n=e=>{const t=e.node.name;let s=i.get(t);if(!s){const n=r.get(t);if(n===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}s={names:[],kind:n};i.set(t,s)}return s};e.get("body").forEach(e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const s=t.getOuterBindingIdentifierPaths();Object.keys(s).forEach(e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}n(s[e]).names.push(e)})}else{e.get("specifiers").forEach(e=>{const t=e.get("local");const r=e.get("exported");const i=n(t);const a=getExportSpecifierName(r,s);if(a==="__esModule"){throw r.buildCodeFrameError('Illegal export "__esModule".')}i.names.push(a)})}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){n(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}});return i}function nameAnonymousExports(e){e.get("body").forEach(e=>{if(!e.isExportDefaultDeclaration())return;(0,n.default)(e)})}function removeModuleDeclarations(e){e.get("body").forEach(e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}})}},53074:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteLiveReferences;var r=s(42357);var i=s(19761);var n=s(36900);var a=s(58216);function rewriteLiveReferences(e,t){const s=new Map;const r=new Map;const n=t=>{e.requeue(t)};for(const[e,r]of t.source){for(const[t,i]of r.imports){s.set(t,[e,i,null])}for(const t of r.importsNamespace){s.set(t,[e,null,t])}}for(const[e,s]of t.local){let t=r.get(e);if(!t){t=[];r.set(e,t)}t.push(...s.names)}const l={metadata:t,requeueInParent:n,scope:e.scope,exported:r};e.traverse(o,l);(0,a.default)(e,new Set([...Array.from(s.keys()),...Array.from(r.keys())]));const c={seen:new WeakSet,metadata:t,requeueInParent:n,scope:e.scope,imported:s,exported:r,buildImportReference:([e,s,r],n)=>{const a=t.source.get(e);if(r){if(a.lazy)n=i.callExpression(n,[]);return n}let o=i.identifier(a.name);if(a.lazy)o=i.callExpression(o,[]);if(s==="default"&&a.interop==="node-default"){return o}const l=t.stringSpecifiers.has(s);return i.memberExpression(o,l?i.stringLiteral(s):i.identifier(s),l)}};e.traverse(p,c)}const o={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:s,metadata:r}=this;const{id:n}=e.node;if(!n)throw new Error("Expected class to have a name");const a=n.name;const o=s.get(a)||[];if(o.length>0){const s=i.expressionStatement(l(r,o,i.identifier(a)));s._blockHoist=e.node._blockHoist;t(e.insertAfter(s)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:s,metadata:r}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(n=>{const a=s.get(n)||[];if(a.length>0){const s=i.expressionStatement(l(r,a,i.identifier(n)));s._blockHoist=e.node._blockHoist;t(e.insertAfter(s)[0])}})}};const l=(e,t,s)=>{return(t||[]).reduce((t,s)=>{const{stringSpecifiers:r}=e;const n=r.has(s);return i.assignmentExpression("=",i.memberExpression(i.identifier(e.exportName),n?i.stringLiteral(s):i.identifier(s),n),t)},s)};const c=e=>{return n.default.expression.ast` (function() { throw new Error('"' + '${e}' + '" is read-only.'); })() - `};const p={ReferencedIdentifier(e){const{seen:t,buildImportReference:r,scope:n,imported:i,requeueInParent:a}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const l=i.get(o);if(l){const t=e.scope.getBinding(o);const i=n.getBinding(o);if(i!==t)return;const u=r(l,e.node);u.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&s.isMemberExpression(u)){e.replaceWith(s.sequenceExpression([s.numericLiteral(0),u]))}else if(e.isJSXIdentifier()&&s.isMemberExpression(u)){const{object:t,property:r}=u;e.replaceWith(s.jsxMemberExpression(s.jsxIdentifier(t.name),s.jsxIdentifier(r.name)))}else{e.replaceWith(u)}a(e);e.skip()}},AssignmentExpression:{exit(e){const{scope:t,seen:r,imported:i,exported:a,requeueInParent:o,buildImportReference:p}=this;if(r.has(e.node))return;r.add(e.node);const f=e.get("left");if(f.isMemberExpression())return;if(f.isIdentifier()){const r=f.node.name;if(t.getBinding(r)!==e.scope.getBinding(r)){return}const c=a.get(r);const d=i.get(r);if((c==null?void 0:c.length)>0||d){n(e.node.operator==="=","Path was not simplified");const t=e.node;if(d){t.left=p(d,t.left);t.right=s.sequenceExpression([t.right,u(r)])}e.replaceWith(l(this.metadata,c,t));o(e)}}else{const r=f.getOuterBindingIdentifiers();const n=Object.keys(r).filter(r=>t.getBinding(r)===e.scope.getBinding(r));const p=n.find(e=>i.has(e));if(p){e.node.right=s.sequenceExpression([e.node.right,u(p)])}const c=[];n.forEach(e=>{const t=a.get(e)||[];if(t.length>0){c.push(l(this.metadata,t,s.identifier(e)))}});if(c.length>0){let t=s.sequenceExpression(c);if(e.parentPath.isExpressionStatement()){t=s.expressionStatement(t);t._blockHoist=e.parentPath.node._blockHoist}const r=e.insertAfter(t)[0];o(r)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:r}=e;const{left:n}=r;const{exported:i,scope:a}=this;if(!s.isVariableDeclaration(n)){let r=false;const o=e.get("body");const l=o.scope;for(const e of Object.keys(s.getOuterBindingIdentifiers(n))){if(i.get(e)&&a.getBinding(e)===t.getBinding(e)){r=true;if(l.hasOwnBinding(e)){l.rename(e)}}}if(!r){return}const u=t.generateUidIdentifierBasedOnNode(n);o.unshiftContainer("body",s.expressionStatement(s.assignmentExpression("=",n,u)));e.get("left").replaceWith(s.variableDeclaration("let",[s.variableDeclarator(s.cloneNode(u))]));t.registerDeclaration(e.get("left"))}}}},7850:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteThis;var n=r(846);var s=r(4267);var i=r(91306);function rewriteThis(e){(0,s.default)(e.node,Object.assign({},a,{noScope:true}))}const a=s.default.visitors.merge([n.environmentVisitor,{ThisExpression(e){e.replaceWith(i.unaryExpression("void",i.numericLiteral(0),true))}}])},58216:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=simplifyAccess;var n=r(91306);function simplifyAccess(e,t){e.traverse(s,{scope:e.scope,bindingNames:t,seen:new WeakSet})}const s={UpdateExpression:{exit(e){const{scope:t,bindingNames:r}=this;const s=e.get("argument");if(!s.isIdentifier())return;const i=s.node.name;if(!r.has(i))return;if(t.getBinding(i)!==e.scope.getBinding(i)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(n.assignmentExpression(t,s.node,n.numericLiteral(1)))}else if(e.node.prefix){e.replaceWith(n.assignmentExpression("=",n.identifier(i),n.binaryExpression(e.node.operator[0],n.unaryExpression("+",s.node),n.numericLiteral(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(s.node,"old");const r=t.name;e.scope.push({id:t});const i=n.binaryExpression(e.node.operator[0],n.identifier(r),n.numericLiteral(1));e.replaceWith(n.sequenceExpression([n.assignmentExpression("=",n.identifier(r),n.unaryExpression("+",s.node)),n.assignmentExpression("=",n.cloneNode(s.node),i),n.identifier(r)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:r,bindingNames:s}=this;if(e.node.operator==="=")return;if(r.has(e.node))return;r.add(e.node);const i=e.get("left");if(!i.isIdentifier())return;const a=i.node.name;if(!s.has(a))return;if(t.getBinding(a)!==e.scope.getBinding(a)){return}e.node.right=n.binaryExpression(e.node.operator.slice(0,-1),n.cloneNode(e.node.left),e.node.right);e.node.operator="="}}}},47326:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(47326);var s=r(77862)},77862:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},34165:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.wrapRegExp=t.typeof=t.objectSpread2=t.jsx=void 0;var n=r(36900);const s={minVersion:"7.0.0-beta.0",ast:()=>n.default.program.ast('\nvar REACT_ELEMENT_TYPE;\nexport default function _createRawReactElement(type, props, key, children) {\n if (!REACT_ELEMENT_TYPE) {\n REACT_ELEMENT_TYPE =\n (typeof Symbol === "function" &&\n \n Symbol["for"] &&\n Symbol["for"]("react.element")) ||\n 0xeac7;\n }\n var defaultProps = type && type.defaultProps;\n var childrenLength = arguments.length - 3;\n if (!props && childrenLength !== 0) {\n \n \n props = { children: void 0 };\n }\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = new Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 3];\n }\n props.children = childArray;\n }\n if (props && defaultProps) {\n for (var propName in defaultProps) {\n if (props[propName] === void 0) {\n props[propName] = defaultProps[propName];\n }\n }\n } else if (!props) {\n props = defaultProps || {};\n }\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key === undefined ? null : "" + key,\n ref: null,\n props: props,\n _owner: null,\n };\n}\n')};t.jsx=s;const i={minVersion:"7.5.0",ast:()=>n.default.program.ast('\nimport defineProperty from "defineProperty";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(\n target,\n key,\n Object.getOwnPropertyDescriptor(source, key)\n );\n });\n }\n }\n return target;\n}\n')};t.objectSpread2=i;const a={minVersion:"7.0.0-beta.0",ast:()=>n.default.program.ast('\nexport default function _typeof(obj) {\n "@babel/helpers - typeof";\n if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj &&\n typeof Symbol === "function" &&\n obj.constructor === Symbol &&\n obj !== Symbol.prototype\n ? "symbol"\n : typeof obj;\n };\n }\n return _typeof(obj);\n}\n')};t.typeof=a;const o={minVersion:"7.2.6",ast:()=>n.default.program.ast('\nimport setPrototypeOf from "setPrototypeOf";\nimport inherits from "inherits";\nexport default function _wrapRegExp() {\n _wrapRegExp = function (re, groups) {\n return new BabelRegExp(re, undefined, groups);\n };\n var _super = RegExp.prototype;\n var _groups = new WeakMap();\n function BabelRegExp(re, flags, groups) {\n var _this = new RegExp(re, flags);\n \n _groups.set(_this, groups || _groups.get(re));\n return setPrototypeOf(_this, BabelRegExp.prototype);\n }\n inherits(BabelRegExp, RegExp);\n BabelRegExp.prototype.exec = function (str) {\n var result = _super.exec.call(this, str);\n if (result) result.groups = buildGroups(result, this);\n return result;\n };\n BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {\n if (typeof substitution === "string") {\n var groups = _groups.get(this);\n return _super[Symbol.replace].call(\n this,\n str,\n substitution.replace(/\\$<([^>]+)>/g, function (_, name) {\n return "$" + groups[name];\n })\n );\n } else if (typeof substitution === "function") {\n var _this = this;\n return _super[Symbol.replace].call(this, str, function () {\n var args = arguments;\n \n if (typeof args[args.length - 1] !== "object") {\n args = [].slice.call(args);\n args.push(buildGroups(args, _this));\n }\n return substitution.apply(this, args);\n });\n } else {\n return _super[Symbol.replace].call(this, str, substitution);\n }\n };\n function buildGroups(result, re) {\n \n \n var g = _groups.get(re);\n return Object.keys(g).reduce(function (groups, name) {\n groups[name] = result[g[name]];\n return groups;\n }, Object.create(null));\n }\n return _wrapRegExp.apply(this, arguments);\n}\n')};t.wrapRegExp=o},19749:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(36900);var s=r(34165);const i=Object.assign({__proto__:null},s);var a=i;t.default=a;const o=e=>t=>({minVersion:e,ast:()=>n.default.program.ast(t)});i.asyncIterator=o("7.0.0-beta.0")` + `};const p={ReferencedIdentifier(e){const{seen:t,buildImportReference:s,scope:r,imported:n,requeueInParent:a}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const l=n.get(o);if(l){const t=e.scope.getBinding(o);const n=r.getBinding(o);if(n!==t)return;const c=s(l,e.node);c.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&i.isMemberExpression(c)){e.replaceWith(i.sequenceExpression([i.numericLiteral(0),c]))}else if(e.isJSXIdentifier()&&i.isMemberExpression(c)){const{object:t,property:s}=c;e.replaceWith(i.jsxMemberExpression(i.jsxIdentifier(t.name),i.jsxIdentifier(s.name)))}else{e.replaceWith(c)}a(e);e.skip()}},AssignmentExpression:{exit(e){const{scope:t,seen:s,imported:n,exported:a,requeueInParent:o,buildImportReference:p}=this;if(s.has(e.node))return;s.add(e.node);const u=e.get("left");if(u.isMemberExpression())return;if(u.isIdentifier()){const s=u.node.name;if(t.getBinding(s)!==e.scope.getBinding(s)){return}const h=a.get(s);const f=n.get(s);if((h==null?void 0:h.length)>0||f){r(e.node.operator==="=","Path was not simplified");const t=e.node;if(f){t.left=p(f,t.left);t.right=i.sequenceExpression([t.right,c(s)])}e.replaceWith(l(this.metadata,h,t));o(e)}}else{const s=u.getOuterBindingIdentifiers();const r=Object.keys(s).filter(s=>t.getBinding(s)===e.scope.getBinding(s));const p=r.find(e=>n.has(e));if(p){e.node.right=i.sequenceExpression([e.node.right,c(p)])}const h=[];r.forEach(e=>{const t=a.get(e)||[];if(t.length>0){h.push(l(this.metadata,t,i.identifier(e)))}});if(h.length>0){let t=i.sequenceExpression(h);if(e.parentPath.isExpressionStatement()){t=i.expressionStatement(t);t._blockHoist=e.parentPath.node._blockHoist}const s=e.insertAfter(t)[0];o(s)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:s}=e;const{left:r}=s;const{exported:n,scope:a}=this;if(!i.isVariableDeclaration(r)){let s=false;const o=e.get("body");const l=o.scope;for(const e of Object.keys(i.getOuterBindingIdentifiers(r))){if(n.get(e)&&a.getBinding(e)===t.getBinding(e)){s=true;if(l.hasOwnBinding(e)){l.rename(e)}}}if(!s){return}const c=t.generateUidIdentifierBasedOnNode(r);o.unshiftContainer("body",i.expressionStatement(i.assignmentExpression("=",r,c)));e.get("left").replaceWith(i.variableDeclaration("let",[i.variableDeclarator(i.cloneNode(c))]));t.registerDeclaration(e.get("left"))}}}},7850:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteThis;var r=s(846);var i=s(4267);var n=s(19761);function rewriteThis(e){(0,i.default)(e.node,Object.assign({},a,{noScope:true}))}const a=i.default.visitors.merge([r.environmentVisitor,{ThisExpression(e){e.replaceWith(n.unaryExpression("void",n.numericLiteral(0),true))}}])},58216:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=simplifyAccess;var r=s(19761);function simplifyAccess(e,t){e.traverse(i,{scope:e.scope,bindingNames:t,seen:new WeakSet})}const i={UpdateExpression:{exit(e){const{scope:t,bindingNames:s}=this;const i=e.get("argument");if(!i.isIdentifier())return;const n=i.node.name;if(!s.has(n))return;if(t.getBinding(n)!==e.scope.getBinding(n)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(r.assignmentExpression(t,i.node,r.numericLiteral(1)))}else if(e.node.prefix){e.replaceWith(r.assignmentExpression("=",r.identifier(n),r.binaryExpression(e.node.operator[0],r.unaryExpression("+",i.node),r.numericLiteral(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(i.node,"old");const s=t.name;e.scope.push({id:t});const n=r.binaryExpression(e.node.operator[0],r.identifier(s),r.numericLiteral(1));e.replaceWith(r.sequenceExpression([r.assignmentExpression("=",r.identifier(s),r.unaryExpression("+",i.node)),r.assignmentExpression("=",r.cloneNode(i.node),n),r.identifier(s)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:s,bindingNames:i}=this;if(e.node.operator==="=")return;if(s.has(e.node))return;s.add(e.node);const n=e.get("left");if(!n.isIdentifier())return;const a=n.node.name;if(!i.has(a))return;if(t.getBinding(a)!==e.scope.getBinding(a)){return}e.node.right=r.binaryExpression(e.node.operator.slice(0,-1),r.cloneNode(e.node.left),e.node.right);e.node.operator="="}}}},47326:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let r="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+s+"]");const n=new RegExp("["+s+r+"]");s=r=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let s=65536;for(let r=0,i=t.length;re)return false;s+=t[r+1];if(s>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&n.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return r.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return r.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return r.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var r=s(47326);var i=s(77862)},77862:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const s={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const r=new Set(s.keyword);const i=new Set(s.strict);const n=new Set(s.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return n.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return r.has(e)}},34165:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.wrapRegExp=t.typeof=t.objectSpread2=t.jsx=void 0;var r=s(36900);const i={minVersion:"7.0.0-beta.0",ast:()=>r.default.program.ast('\nvar REACT_ELEMENT_TYPE;\nexport default function _createRawReactElement(type, props, key, children) {\n if (!REACT_ELEMENT_TYPE) {\n REACT_ELEMENT_TYPE =\n (typeof Symbol === "function" &&\n \n Symbol["for"] &&\n Symbol["for"]("react.element")) ||\n 0xeac7;\n }\n var defaultProps = type && type.defaultProps;\n var childrenLength = arguments.length - 3;\n if (!props && childrenLength !== 0) {\n \n \n props = { children: void 0 };\n }\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = new Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 3];\n }\n props.children = childArray;\n }\n if (props && defaultProps) {\n for (var propName in defaultProps) {\n if (props[propName] === void 0) {\n props[propName] = defaultProps[propName];\n }\n }\n } else if (!props) {\n props = defaultProps || {};\n }\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key === undefined ? null : "" + key,\n ref: null,\n props: props,\n _owner: null,\n };\n}\n')};t.jsx=i;const n={minVersion:"7.5.0",ast:()=>r.default.program.ast('\nimport defineProperty from "defineProperty";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(\n target,\n key,\n Object.getOwnPropertyDescriptor(source, key)\n );\n });\n }\n }\n return target;\n}\n')};t.objectSpread2=n;const a={minVersion:"7.0.0-beta.0",ast:()=>r.default.program.ast('\nexport default function _typeof(obj) {\n "@babel/helpers - typeof";\n if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj &&\n typeof Symbol === "function" &&\n obj.constructor === Symbol &&\n obj !== Symbol.prototype\n ? "symbol"\n : typeof obj;\n };\n }\n return _typeof(obj);\n}\n')};t.typeof=a;const o={minVersion:"7.2.6",ast:()=>r.default.program.ast('\nimport setPrototypeOf from "setPrototypeOf";\nimport inherits from "inherits";\nexport default function _wrapRegExp() {\n _wrapRegExp = function (re, groups) {\n return new BabelRegExp(re, undefined, groups);\n };\n var _super = RegExp.prototype;\n var _groups = new WeakMap();\n function BabelRegExp(re, flags, groups) {\n var _this = new RegExp(re, flags);\n \n _groups.set(_this, groups || _groups.get(re));\n return setPrototypeOf(_this, BabelRegExp.prototype);\n }\n inherits(BabelRegExp, RegExp);\n BabelRegExp.prototype.exec = function (str) {\n var result = _super.exec.call(this, str);\n if (result) result.groups = buildGroups(result, this);\n return result;\n };\n BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {\n if (typeof substitution === "string") {\n var groups = _groups.get(this);\n return _super[Symbol.replace].call(\n this,\n str,\n substitution.replace(/\\$<([^>]+)>/g, function (_, name) {\n return "$" + groups[name];\n })\n );\n } else if (typeof substitution === "function") {\n var _this = this;\n return _super[Symbol.replace].call(this, str, function () {\n var args = arguments;\n \n if (typeof args[args.length - 1] !== "object") {\n args = [].slice.call(args);\n args.push(buildGroups(args, _this));\n }\n return substitution.apply(this, args);\n });\n } else {\n return _super[Symbol.replace].call(this, str, substitution);\n }\n };\n function buildGroups(result, re) {\n \n \n var g = _groups.get(re);\n return Object.keys(g).reduce(function (groups, name) {\n groups[name] = result[g[name]];\n return groups;\n }, Object.create(null));\n }\n return _wrapRegExp.apply(this, arguments);\n}\n')};t.wrapRegExp=o},19749:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(36900);var i=s(34165);const n=Object.assign({__proto__:null},i);var a=n;t.default=a;const o=e=>t=>({minVersion:e,ast:()=>r.default.program.ast(t)});n.asyncIterator=o("7.0.0-beta.0")` export default function _asyncIterator(iterable) { var method; if (typeof Symbol !== "undefined") { @@ -5991,11 +5991,11 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m if (method == null) throw new TypeError("Object is not async iterable"); return method.call(iterable); } -`;i.AwaitValue=o("7.0.0-beta.0")` +`;n.AwaitValue=o("7.0.0-beta.0")` export default function _AwaitValue(value) { this.wrapped = value; } -`;i.AsyncGenerator=o("7.0.0-beta.0")` +`;n.AsyncGenerator=o("7.0.0-beta.0")` import AwaitValue from "AwaitValue"; export default function AsyncGenerator(gen) { @@ -6075,7 +6075,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m AsyncGenerator.prototype.next = function (arg) { return this._invoke("next", arg); }; AsyncGenerator.prototype.throw = function (arg) { return this._invoke("throw", arg); }; AsyncGenerator.prototype.return = function (arg) { return this._invoke("return", arg); }; -`;i.wrapAsyncGenerator=o("7.0.0-beta.0")` +`;n.wrapAsyncGenerator=o("7.0.0-beta.0")` import AsyncGenerator from "AsyncGenerator"; export default function _wrapAsyncGenerator(fn) { @@ -6083,13 +6083,13 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return new AsyncGenerator(fn.apply(this, arguments)); }; } -`;i.awaitAsyncGenerator=o("7.0.0-beta.0")` +`;n.awaitAsyncGenerator=o("7.0.0-beta.0")` import AwaitValue from "AwaitValue"; export default function _awaitAsyncGenerator(value) { return new AwaitValue(value); } -`;i.asyncGeneratorDelegate=o("7.0.0-beta.0")` +`;n.asyncGeneratorDelegate=o("7.0.0-beta.0")` export default function _asyncGeneratorDelegate(inner, awaitWrap) { var iter = {}, waiting = false; @@ -6131,7 +6131,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return iter; } -`;i.asyncToGenerator=o("7.0.0-beta.0")` +`;n.asyncToGenerator=o("7.0.0-beta.0")` function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); @@ -6164,13 +6164,13 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }); }; } -`;i.classCallCheck=o("7.0.0-beta.0")` +`;n.classCallCheck=o("7.0.0-beta.0")` export default function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -`;i.createClass=o("7.0.0-beta.0")` +`;n.createClass=o("7.0.0-beta.0")` function _defineProperties(target, props) { for (var i = 0; i < props.length; i ++) { var descriptor = props[i]; @@ -6186,7 +6186,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } -`;i.defineEnumerableProperties=o("7.0.0-beta.0")` +`;n.defineEnumerableProperties=o("7.0.0-beta.0")` export default function _defineEnumerableProperties(obj, descs) { for (var key in descs) { var desc = descs[key]; @@ -6210,7 +6210,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return obj; } -`;i.defaults=o("7.0.0-beta.0")` +`;n.defaults=o("7.0.0-beta.0")` export default function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { @@ -6222,7 +6222,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return obj; } -`;i.defineProperty=o("7.0.0-beta.0")` +`;n.defineProperty=o("7.0.0-beta.0")` export default function _defineProperty(obj, key, value) { // Shortcircuit the slow defineProperty path when possible. // We are trying to avoid issues where setters defined on the @@ -6241,7 +6241,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return obj; } -`;i.extends=o("7.0.0-beta.0")` +`;n.extends=o("7.0.0-beta.0")` export default function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { @@ -6257,7 +6257,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return _extends.apply(this, arguments); } -`;i.objectSpread=o("7.0.0-beta.0")` +`;n.objectSpread=o("7.0.0-beta.0")` import defineProperty from "defineProperty"; export default function _objectSpread(target) { @@ -6275,7 +6275,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return target; } -`;i.inherits=o("7.0.0-beta.0")` +`;n.inherits=o("7.0.0-beta.0")` import setPrototypeOf from "setPrototypeOf"; export default function _inherits(subClass, superClass) { @@ -6291,7 +6291,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }); if (superClass) setPrototypeOf(subClass, superClass); } -`;i.inheritsLoose=o("7.0.0-beta.0")` +`;n.inheritsLoose=o("7.0.0-beta.0")` import setPrototypeOf from "setPrototypeOf"; export default function _inheritsLoose(subClass, superClass) { @@ -6299,7 +6299,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m subClass.prototype.constructor = subClass; setPrototypeOf(subClass, superClass); } -`;i.getPrototypeOf=o("7.0.0-beta.0")` +`;n.getPrototypeOf=o("7.0.0-beta.0")` export default function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf @@ -6308,7 +6308,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }; return _getPrototypeOf(o); } -`;i.setPrototypeOf=o("7.0.0-beta.0")` +`;n.setPrototypeOf=o("7.0.0-beta.0")` export default function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; @@ -6316,7 +6316,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }; return _setPrototypeOf(o, p); } -`;i.isNativeReflectConstruct=o("7.9.0")` +`;n.isNativeReflectConstruct=o("7.9.0")` export default function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; @@ -6342,7 +6342,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return false; } } -`;i.construct=o("7.0.0-beta.0")` +`;n.construct=o("7.0.0-beta.0")` import setPrototypeOf from "setPrototypeOf"; import isNativeReflectConstruct from "isNativeReflectConstruct"; @@ -6365,12 +6365,12 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m // present in the original call. return _construct.apply(null, arguments); } -`;i.isNativeFunction=o("7.0.0-beta.0")` +`;n.isNativeFunction=o("7.0.0-beta.0")` export default function _isNativeFunction(fn) { // Note: This function returns "true" for core-js functions. return Function.toString.call(fn).indexOf("[native code]") !== -1; } -`;i.wrapNativeSuper=o("7.0.0-beta.0")` +`;n.wrapNativeSuper=o("7.0.0-beta.0")` import getPrototypeOf from "getPrototypeOf"; import setPrototypeOf from "setPrototypeOf"; import isNativeFunction from "isNativeFunction"; @@ -6405,7 +6405,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return _wrapNativeSuper(Class) } -`;i.instanceof=o("7.0.0-beta.0")` +`;n.instanceof=o("7.0.0-beta.0")` export default function _instanceof(left, right) { if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) { return !!right[Symbol.hasInstance](left); @@ -6413,11 +6413,11 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return left instanceof right; } } -`;i.interopRequireDefault=o("7.0.0-beta.0")` +`;n.interopRequireDefault=o("7.0.0-beta.0")` export default function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -`;i.interopRequireWildcard=o("7.14.0")` +`;n.interopRequireWildcard=o("7.14.0")` function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; @@ -6462,17 +6462,17 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return newObj; } -`;i.newArrowCheck=o("7.0.0-beta.0")` +`;n.newArrowCheck=o("7.0.0-beta.0")` export default function _newArrowCheck(innerThis, boundThis) { if (innerThis !== boundThis) { throw new TypeError("Cannot instantiate an arrow function"); } } -`;i.objectDestructuringEmpty=o("7.0.0-beta.0")` +`;n.objectDestructuringEmpty=o("7.0.0-beta.0")` export default function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure undefined"); } -`;i.objectWithoutPropertiesLoose=o("7.0.0-beta.0")` +`;n.objectWithoutPropertiesLoose=o("7.0.0-beta.0")` export default function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; @@ -6488,7 +6488,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return target; } -`;i.objectWithoutProperties=o("7.0.0-beta.0")` +`;n.objectWithoutProperties=o("7.0.0-beta.0")` import objectWithoutPropertiesLoose from "objectWithoutPropertiesLoose"; export default function _objectWithoutProperties(source, excluded) { @@ -6509,14 +6509,14 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return target; } -`;i.assertThisInitialized=o("7.0.0-beta.0")` +`;n.assertThisInitialized=o("7.0.0-beta.0")` export default function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } -`;i.possibleConstructorReturn=o("7.0.0-beta.0")` +`;n.possibleConstructorReturn=o("7.0.0-beta.0")` import assertThisInitialized from "assertThisInitialized"; export default function _possibleConstructorReturn(self, call) { @@ -6525,7 +6525,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return assertThisInitialized(self); } -`;i.createSuper=o("7.9.0")` +`;n.createSuper=o("7.9.0")` import getPrototypeOf from "getPrototypeOf"; import isNativeReflectConstruct from "isNativeReflectConstruct"; import possibleConstructorReturn from "possibleConstructorReturn"; @@ -6545,7 +6545,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return possibleConstructorReturn(this, result); } } - `;i.superPropBase=o("7.0.0-beta.0")` + `;n.superPropBase=o("7.0.0-beta.0")` import getPrototypeOf from "getPrototypeOf"; export default function _superPropBase(object, property) { @@ -6556,7 +6556,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return object; } -`;i.get=o("7.0.0-beta.0")` +`;n.get=o("7.0.0-beta.0")` import superPropBase from "superPropBase"; export default function _get(target, property, receiver) { @@ -6578,7 +6578,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return _get(target, property, receiver || target); } -`;i.set=o("7.0.0-beta.0")` +`;n.set=o("7.0.0-beta.0")` import superPropBase from "superPropBase"; import defineProperty from "defineProperty"; @@ -6633,47 +6633,47 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return value; } -`;i.taggedTemplateLiteral=o("7.0.0-beta.0")` +`;n.taggedTemplateLiteral=o("7.0.0-beta.0")` export default function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } -`;i.taggedTemplateLiteralLoose=o("7.0.0-beta.0")` +`;n.taggedTemplateLiteralLoose=o("7.0.0-beta.0")` export default function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } strings.raw = raw; return strings; } -`;i.readOnlyError=o("7.0.0-beta.0")` +`;n.readOnlyError=o("7.0.0-beta.0")` export default function _readOnlyError(name) { throw new TypeError("\\"" + name + "\\" is read-only"); } -`;i.writeOnlyError=o("7.12.13")` +`;n.writeOnlyError=o("7.12.13")` export default function _writeOnlyError(name) { throw new TypeError("\\"" + name + "\\" is write-only"); } -`;i.classNameTDZError=o("7.0.0-beta.0")` +`;n.classNameTDZError=o("7.0.0-beta.0")` export default function _classNameTDZError(name) { throw new Error("Class \\"" + name + "\\" cannot be referenced in computed property keys."); } -`;i.temporalUndefined=o("7.0.0-beta.0")` +`;n.temporalUndefined=o("7.0.0-beta.0")` // This function isn't mean to be called, but to be used as a reference. // We can't use a normal object because it isn't hoisted. export default function _temporalUndefined() {} -`;i.tdz=o("7.5.5")` +`;n.tdz=o("7.5.5")` export default function _tdzError(name) { throw new ReferenceError(name + " is not defined - temporal dead zone"); } -`;i.temporalRef=o("7.0.0-beta.0")` +`;n.temporalRef=o("7.0.0-beta.0")` import undef from "temporalUndefined"; import err from "tdz"; export default function _temporalRef(val, name) { return val === undef ? err(name) : val; } -`;i.slicedToArray=o("7.0.0-beta.0")` +`;n.slicedToArray=o("7.0.0-beta.0")` import arrayWithHoles from "arrayWithHoles"; import iterableToArrayLimit from "iterableToArrayLimit"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -6687,7 +6687,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableRest() ); } -`;i.slicedToArrayLoose=o("7.0.0-beta.0")` +`;n.slicedToArrayLoose=o("7.0.0-beta.0")` import arrayWithHoles from "arrayWithHoles"; import iterableToArrayLimitLoose from "iterableToArrayLimitLoose"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -6701,7 +6701,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableRest() ); } -`;i.toArray=o("7.0.0-beta.0")` +`;n.toArray=o("7.0.0-beta.0")` import arrayWithHoles from "arrayWithHoles"; import iterableToArray from "iterableToArray"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -6715,7 +6715,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableRest() ); } -`;i.toConsumableArray=o("7.0.0-beta.0")` +`;n.toConsumableArray=o("7.0.0-beta.0")` import arrayWithoutHoles from "arrayWithoutHoles"; import iterableToArray from "iterableToArray"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -6729,17 +6729,17 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableSpread() ); } -`;i.arrayWithoutHoles=o("7.0.0-beta.0")` +`;n.arrayWithoutHoles=o("7.0.0-beta.0")` import arrayLikeToArray from "arrayLikeToArray"; export default function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return arrayLikeToArray(arr); } -`;i.arrayWithHoles=o("7.0.0-beta.0")` +`;n.arrayWithHoles=o("7.0.0-beta.0")` export default function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } -`;i.maybeArrayLike=o("7.9.0")` +`;n.maybeArrayLike=o("7.9.0")` import arrayLikeToArray from "arrayLikeToArray"; export default function _maybeArrayLike(next, arr, i) { @@ -6749,11 +6749,11 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return next(arr, i); } -`;i.iterableToArray=o("7.0.0-beta.0")` +`;n.iterableToArray=o("7.0.0-beta.0")` export default function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } -`;i.iterableToArrayLimit=o("7.0.0-beta.0")` +`;n.iterableToArrayLimit=o("7.0.0-beta.0")` export default function _iterableToArrayLimit(arr, i) { // this is an expanded form of \`for...of\` that properly supports abrupt completions of // iterators etc. variable names have been minimised to reduce the size of this massive @@ -6789,7 +6789,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return _arr; } -`;i.iterableToArrayLimitLoose=o("7.0.0-beta.0")` +`;n.iterableToArrayLimitLoose=o("7.0.0-beta.0")` export default function _iterableToArrayLimitLoose(arr, i) { var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); if (_i == null) return; @@ -6801,7 +6801,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return _arr; } -`;i.unsupportedIterableToArray=o("7.9.0")` +`;n.unsupportedIterableToArray=o("7.9.0")` import arrayLikeToArray from "arrayLikeToArray"; export default function _unsupportedIterableToArray(o, minLen) { @@ -6813,25 +6813,25 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); } -`;i.arrayLikeToArray=o("7.9.0")` +`;n.arrayLikeToArray=o("7.9.0")` export default function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } -`;i.nonIterableSpread=o("7.0.0-beta.0")` +`;n.nonIterableSpread=o("7.0.0-beta.0")` export default function _nonIterableSpread() { throw new TypeError( "Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ); } -`;i.nonIterableRest=o("7.0.0-beta.0")` +`;n.nonIterableRest=o("7.0.0-beta.0")` export default function _nonIterableRest() { throw new TypeError( "Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ); } -`;i.createForOfIteratorHelper=o("7.9.0")` +`;n.createForOfIteratorHelper=o("7.9.0")` import unsupportedIterableToArray from "unsupportedIterableToArray"; // s: start (create the iterator) @@ -6890,7 +6890,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } }; } -`;i.createForOfIteratorHelperLoose=o("7.9.0")` +`;n.createForOfIteratorHelperLoose=o("7.9.0")` import unsupportedIterableToArray from "unsupportedIterableToArray"; export default function _createForOfIteratorHelperLoose(o, allowArrayLike) { @@ -6914,7 +6914,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } -`;i.skipFirstGeneratorNext=o("7.0.0-beta.0")` +`;n.skipFirstGeneratorNext=o("7.0.0-beta.0")` export default function _skipFirstGeneratorNext(fn) { return function () { var it = fn.apply(this, arguments); @@ -6922,7 +6922,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return it; } } -`;i.toPrimitive=o("7.1.5")` +`;n.toPrimitive=o("7.1.5")` export default function _toPrimitive( input, hint /*: "default" | "string" | "number" | void */ @@ -6936,21 +6936,21 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return (hint === "string" ? String : Number)(input); } -`;i.toPropertyKey=o("7.1.5")` +`;n.toPropertyKey=o("7.1.5")` import toPrimitive from "toPrimitive"; export default function _toPropertyKey(arg) { var key = toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); } -`;i.initializerWarningHelper=o("7.0.0-beta.0")` +`;n.initializerWarningHelper=o("7.0.0-beta.0")` export default function _initializerWarningHelper(descriptor, context){ throw new Error( 'Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.' ); } -`;i.initializerDefineProperty=o("7.0.0-beta.0")` +`;n.initializerDefineProperty=o("7.0.0-beta.0")` export default function _initializerDefineProperty(target, property, descriptor, context){ if (!descriptor) return; @@ -6961,7 +6961,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m value: descriptor.initializer ? descriptor.initializer.call(context) : void 0, }); } -`;i.applyDecoratedDescriptor=o("7.0.0-beta.0")` +`;n.applyDecoratedDescriptor=o("7.0.0-beta.0")` export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context){ var desc = {}; Object.keys(descriptor).forEach(function(key){ @@ -6989,26 +6989,26 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return desc; } -`;i.classPrivateFieldLooseKey=o("7.0.0-beta.0")` +`;n.classPrivateFieldLooseKey=o("7.0.0-beta.0")` var id = 0; export default function _classPrivateFieldKey(name) { return "__private_" + (id++) + "_" + name; } -`;i.classPrivateFieldLooseBase=o("7.0.0-beta.0")` +`;n.classPrivateFieldLooseBase=o("7.0.0-beta.0")` export default function _classPrivateFieldBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; } -`;i.classPrivateFieldGet=o("7.0.0-beta.0")` +`;n.classPrivateFieldGet=o("7.0.0-beta.0")` import classApplyDescriptorGet from "classApplyDescriptorGet"; import classExtractFieldDescriptor from "classExtractFieldDescriptor"; export default function _classPrivateFieldGet(receiver, privateMap) { var descriptor = classExtractFieldDescriptor(receiver, privateMap, "get"); return classApplyDescriptorGet(receiver, descriptor); } -`;i.classPrivateFieldSet=o("7.0.0-beta.0")` +`;n.classPrivateFieldSet=o("7.0.0-beta.0")` import classApplyDescriptorSet from "classApplyDescriptorSet"; import classExtractFieldDescriptor from "classExtractFieldDescriptor"; export default function _classPrivateFieldSet(receiver, privateMap, value) { @@ -7016,21 +7016,21 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classApplyDescriptorSet(receiver, descriptor, value); return value; } -`;i.classPrivateFieldDestructureSet=o("7.4.4")` +`;n.classPrivateFieldDestructureSet=o("7.4.4")` import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet"; import classExtractFieldDescriptor from "classExtractFieldDescriptor"; export default function _classPrivateFieldDestructureSet(receiver, privateMap) { var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set"); return classApplyDescriptorDestructureSet(receiver, descriptor); } -`;i.classExtractFieldDescriptor=o("7.13.10")` +`;n.classExtractFieldDescriptor=o("7.13.10")` export default function _classExtractFieldDescriptor(receiver, privateMap, action) { if (!privateMap.has(receiver)) { throw new TypeError("attempted to " + action + " private field on non-instance"); } return privateMap.get(receiver); } -`;i.classStaticPrivateFieldSpecGet=o("7.0.2")` +`;n.classStaticPrivateFieldSpecGet=o("7.0.2")` import classApplyDescriptorGet from "classApplyDescriptorGet"; import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; @@ -7039,7 +7039,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classCheckPrivateStaticFieldDescriptor(descriptor, "get"); return classApplyDescriptorGet(receiver, descriptor); } -`;i.classStaticPrivateFieldSpecSet=o("7.0.2")` +`;n.classStaticPrivateFieldSpecSet=o("7.0.2")` import classApplyDescriptorSet from "classApplyDescriptorSet"; import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; @@ -7049,24 +7049,24 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classApplyDescriptorSet(receiver, descriptor, value); return value; } -`;i.classStaticPrivateMethodGet=o("7.3.2")` +`;n.classStaticPrivateMethodGet=o("7.3.2")` import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; export default function _classStaticPrivateMethodGet(receiver, classConstructor, method) { classCheckPrivateStaticAccess(receiver, classConstructor); return method; } -`;i.classStaticPrivateMethodSet=o("7.3.2")` +`;n.classStaticPrivateMethodSet=o("7.3.2")` export default function _classStaticPrivateMethodSet() { throw new TypeError("attempted to set read only static private field"); } -`;i.classApplyDescriptorGet=o("7.13.10")` +`;n.classApplyDescriptorGet=o("7.13.10")` export default function _classApplyDescriptorGet(receiver, descriptor) { if (descriptor.get) { return descriptor.get.call(receiver); } return descriptor.value; } -`;i.classApplyDescriptorSet=o("7.13.10")` +`;n.classApplyDescriptorSet=o("7.13.10")` export default function _classApplyDescriptorSet(receiver, descriptor, value) { if (descriptor.set) { descriptor.set.call(receiver, value); @@ -7080,7 +7080,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m descriptor.value = value; } } -`;i.classApplyDescriptorDestructureSet=o("7.13.10")` +`;n.classApplyDescriptorDestructureSet=o("7.13.10")` export default function _classApplyDescriptorDestructureSet(receiver, descriptor) { if (descriptor.set) { if (!("__destrObj" in descriptor)) { @@ -7102,7 +7102,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return descriptor; } } -`;i.classStaticPrivateFieldDestructureSet=o("7.13.10")` +`;n.classStaticPrivateFieldDestructureSet=o("7.13.10")` import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet"; import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; @@ -7111,19 +7111,19 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classCheckPrivateStaticFieldDescriptor(descriptor, "set"); return classApplyDescriptorDestructureSet(receiver, descriptor); } -`;i.classCheckPrivateStaticAccess=o("7.13.10")` +`;n.classCheckPrivateStaticAccess=o("7.13.10")` export default function _classCheckPrivateStaticAccess(receiver, classConstructor) { if (receiver !== classConstructor) { throw new TypeError("Private static access of wrong provenance"); } } -`;i.classCheckPrivateStaticFieldDescriptor=o("7.13.10")` +`;n.classCheckPrivateStaticFieldDescriptor=o("7.13.10")` export default function _classCheckPrivateStaticFieldDescriptor(descriptor, action) { if (descriptor === undefined) { throw new TypeError("attempted to " + action + " private static field before its declaration"); } } -`;i.decorate=o("7.1.5")` +`;n.decorate=o("7.1.5")` import toArray from "toArray"; import toPropertyKey from "toPropertyKey"; @@ -7795,20 +7795,20 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return value; } -`;i.classPrivateMethodGet=o("7.1.6")` +`;n.classPrivateMethodGet=o("7.1.6")` export default function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; } -`;{i.classPrivateMethodSet=o("7.1.6")` +`;{n.classPrivateMethodSet=o("7.1.6")` export default function _classPrivateMethodSet() { throw new TypeError("attempted to reassign private method"); } - `}},24574:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.get=get;t.minVersion=minVersion;t.getDependencies=getDependencies;t.ensure=ensure;t.default=t.list=void 0;var n=r(4267);var s=r(91306);var i=r(19749);function makePath(e){const t=[];for(;e.parentPath;e=e.parentPath){t.push(e.key);if(e.inList)t.push(e.listKey)}return t.reverse().join(".")}let a=undefined;function getHelperMetadata(e){const t=new Set;const r=new Set;const s=new Map;let a;let o;const l=[];const u=[];const p=[];const f={ImportDeclaration(e){const t=e.node.source.value;if(!i.default[t]){throw e.buildCodeFrameError(`Unknown helper ${t}`)}if(e.get("specifiers").length!==1||!e.get("specifiers.0").isImportDefaultSpecifier()){throw e.buildCodeFrameError("Helpers can only import a default value")}const r=e.node.specifiers[0].local;s.set(r,t);u.push(makePath(e))},ExportDefaultDeclaration(e){const t=e.get("declaration");if(t.isFunctionDeclaration()){if(!t.node.id){throw t.buildCodeFrameError("Helpers should give names to their exported func declaration")}a=t.node.id.name}o=makePath(e)},ExportAllDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},ExportNamedDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},Statement(e){if(e.isModuleDeclaration())return;e.skip()}};const c={Program(e){const t=e.scope.getAllBindings();Object.keys(t).forEach(e=>{if(e===a)return;if(s.has(t[e].identifier))return;r.add(e)})},ReferencedIdentifier(e){const r=e.node.name;const n=e.scope.getBinding(r,true);if(!n){t.add(r)}else if(s.has(n.identifier)){p.push(makePath(e))}},AssignmentExpression(e){const t=e.get("left");if(!(a in t.getBindingIdentifiers()))return;if(!t.isIdentifier()){throw t.buildCodeFrameError("Only simple assignments to exports are allowed in helpers")}const r=e.scope.getBinding(a);if(r!=null&&r.scope.path.isProgram()){l.push(makePath(e))}}};(0,n.default)(e.ast,f,e.scope);(0,n.default)(e.ast,c,e.scope);if(!o)throw new Error("Helpers must default-export something.");l.reverse();return{globals:Array.from(t),localBindingNames:Array.from(r),dependencies:s,exportBindingAssignments:l,exportPath:o,exportName:a,importBindingsReferences:p,importPaths:u}}function permuteHelperAST(e,t,r,i,a){if(i&&!r){throw new Error("Unexpected local bindings for module-based helpers.")}if(!r)return;const{localBindingNames:o,dependencies:l,exportBindingAssignments:u,exportPath:p,exportName:f,importBindingsReferences:c,importPaths:d}=t;const y={};l.forEach((e,t)=>{y[t.name]=typeof a==="function"&&a(e)||t});const m={};const T=new Set(i||[]);o.forEach(e=>{let t=e;while(T.has(t))t="_"+t;if(t!==e)m[e]=t});if(r.type==="Identifier"&&f!==r.name){m[f]=r.name}const h={Program(e){const t=e.get(p);const n=d.map(t=>e.get(t));const i=c.map(t=>e.get(t));const a=t.get("declaration");if(r.type==="Identifier"){if(a.isFunctionDeclaration()){t.replaceWith(a)}else{t.replaceWith(s.variableDeclaration("var",[s.variableDeclarator(r,a.node)]))}}else if(r.type==="MemberExpression"){if(a.isFunctionDeclaration()){u.forEach(t=>{const n=e.get(t);n.replaceWith(s.assignmentExpression("=",r,n.node))});t.replaceWith(a);e.pushContainer("body",s.expressionStatement(s.assignmentExpression("=",r,s.identifier(f))))}else{t.replaceWith(s.expressionStatement(s.assignmentExpression("=",r,a.node)))}}else{throw new Error("Unexpected helper format.")}Object.keys(m).forEach(t=>{e.scope.rename(t,m[t])});for(const e of n)e.remove();for(const e of i){const t=s.cloneNode(y[e.node.name]);e.replaceWith(t)}e.stop()}};(0,n.default)(e.ast,h,e.scope)}const o=Object.create(null);function loadHelper(e){if(!o[e]){const t=i.default[e];if(!t){throw Object.assign(new ReferenceError(`Unknown helper ${e}`),{code:"BABEL_HELPER_UNKNOWN",helper:e})}const r=()=>{const r={ast:s.file(t.ast())};if(a){return new a({filename:`babel-helper://${e}`},r)}return r};const n=getHelperMetadata(r());o[e]={build(e,t,s){const i=r();permuteHelperAST(i,n,t,s,e);return{nodes:i.ast.program.body,globals:n.globals}},minVersion(){return t.minVersion},dependencies:n.dependencies}}return o[e]}function get(e,t,r,n){return loadHelper(e).build(t,r,n)}function minVersion(e){return loadHelper(e).minVersion()}function getDependencies(e){return Array.from(loadHelper(e).dependencies.values())}function ensure(e,t){if(!a){a=t}loadHelper(e)}const l=Object.keys(i.default).map(e=>e.replace(/^_/,"")).filter(e=>e!=="__esModule");t.list=l;var u=get;t.default=u},26240:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r=true;const n=true;const s=true;const i=true;const a=true;const o=true;class TokenType{constructor(e,t={}){this.label=void 0;this.keyword=void 0;this.beforeExpr=void 0;this.startsExpr=void 0;this.rightAssociative=void 0;this.isLoop=void 0;this.isAssign=void 0;this.prefix=void 0;this.postfix=void 0;this.binop=void 0;this.updateContext=void 0;this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.rightAssociative=!!t.rightAssociative;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop!=null?t.binop:null;this.updateContext=null}}const l=new Map;function createKeyword(e,t={}){t.keyword=e;const r=new TokenType(e,t);l.set(e,r);return r}function createBinop(e,t){return new TokenType(e,{beforeExpr:r,binop:t})}const u={num:new TokenType("num",{startsExpr:n}),bigint:new TokenType("bigint",{startsExpr:n}),decimal:new TokenType("decimal",{startsExpr:n}),regexp:new TokenType("regexp",{startsExpr:n}),string:new TokenType("string",{startsExpr:n}),name:new TokenType("name",{startsExpr:n}),privateName:new TokenType("#name",{startsExpr:n}),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:r,startsExpr:n}),bracketHashL:new TokenType("#[",{beforeExpr:r,startsExpr:n}),bracketBarL:new TokenType("[|",{beforeExpr:r,startsExpr:n}),bracketR:new TokenType("]"),bracketBarR:new TokenType("|]"),braceL:new TokenType("{",{beforeExpr:r,startsExpr:n}),braceBarL:new TokenType("{|",{beforeExpr:r,startsExpr:n}),braceHashL:new TokenType("#{",{beforeExpr:r,startsExpr:n}),braceR:new TokenType("}",{beforeExpr:r}),braceBarR:new TokenType("|}"),parenL:new TokenType("(",{beforeExpr:r,startsExpr:n}),parenR:new TokenType(")"),comma:new TokenType(",",{beforeExpr:r}),semi:new TokenType(";",{beforeExpr:r}),colon:new TokenType(":",{beforeExpr:r}),doubleColon:new TokenType("::",{beforeExpr:r}),dot:new TokenType("."),question:new TokenType("?",{beforeExpr:r}),questionDot:new TokenType("?."),arrow:new TokenType("=>",{beforeExpr:r}),template:new TokenType("template"),ellipsis:new TokenType("...",{beforeExpr:r}),backQuote:new TokenType("`",{startsExpr:n}),dollarBraceL:new TokenType("${",{beforeExpr:r,startsExpr:n}),at:new TokenType("@"),hash:new TokenType("#",{startsExpr:n}),interpreterDirective:new TokenType("#!..."),eq:new TokenType("=",{beforeExpr:r,isAssign:i}),assign:new TokenType("_=",{beforeExpr:r,isAssign:i}),slashAssign:new TokenType("_=",{beforeExpr:r,isAssign:i}),incDec:new TokenType("++/--",{prefix:a,postfix:o,startsExpr:n}),bang:new TokenType("!",{beforeExpr:r,prefix:a,startsExpr:n}),tilde:new TokenType("~",{beforeExpr:r,prefix:a,startsExpr:n}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:r,binop:9,prefix:a,startsExpr:n}),modulo:new TokenType("%",{beforeExpr:r,binop:10,startsExpr:n}),star:new TokenType("*",{binop:10}),slash:createBinop("/",10),exponent:new TokenType("**",{beforeExpr:r,binop:11,rightAssociative:true}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:r}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:r}),_do:createKeyword("do",{isLoop:s,beforeExpr:r}),_else:createKeyword("else",{beforeExpr:r}),_finally:createKeyword("finally"),_for:createKeyword("for",{isLoop:s}),_function:createKeyword("function",{startsExpr:n}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:r}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:r,prefix:a,startsExpr:n}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_while:createKeyword("while",{isLoop:s}),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:r,startsExpr:n}),_this:createKeyword("this",{startsExpr:n}),_super:createKeyword("super",{startsExpr:n}),_class:createKeyword("class",{startsExpr:n}),_extends:createKeyword("extends",{beforeExpr:r}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:n}),_null:createKeyword("null",{startsExpr:n}),_true:createKeyword("true",{startsExpr:n}),_false:createKeyword("false",{startsExpr:n}),_in:createKeyword("in",{beforeExpr:r,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:r,binop:7}),_typeof:createKeyword("typeof",{beforeExpr:r,prefix:a,startsExpr:n}),_void:createKeyword("void",{beforeExpr:r,prefix:a,startsExpr:n}),_delete:createKeyword("delete",{beforeExpr:r,prefix:a,startsExpr:n})};const p=/\r\n?|[\n\u2028\u2029]/;const f=new RegExp(p.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const c=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function isWhitespace(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return true;default:return false}}class Position{constructor(e,t){this.line=void 0;this.column=void 0;this.line=e;this.column=t}}class SourceLocation{constructor(e,t){this.start=void 0;this.end=void 0;this.filename=void 0;this.identifierName=void 0;this.start=e;this.end=t}}function getLineInfo(e,t){let r=1;let n=0;let s;f.lastIndex=0;while((s=f.exec(e))&&s.index0){n=t[--s]}if(n===null){return}for(let e=0;e0){n.trailingComments=i}else if(n.trailingComments!==undefined){n.trailingComments=[]}}processComment(e){if(e.type==="Program"&&e.body.length>0)return;const t=this.state.commentStack;let r,n,s,i,a;if(this.state.trailingComments.length>0){if(this.state.trailingComments[0].start>=e.end){s=this.state.trailingComments;this.state.trailingComments=[]}else{this.state.trailingComments.length=0}}else if(t.length>0){const r=last(t);if(r.trailingComments&&r.trailingComments[0].start>=e.end){s=r.trailingComments;delete r.trailingComments}}if(t.length>0&&last(t).start>=e.start){r=t.pop()}while(t.length>0&&last(t).start>=e.start){n=t.pop()}if(!n&&r)n=r;if(r){switch(e.type){case"ObjectExpression":this.adjustCommentsAfterTrailingComma(e,e.properties);break;case"ObjectPattern":this.adjustCommentsAfterTrailingComma(e,e.properties,true);break;case"CallExpression":this.adjustCommentsAfterTrailingComma(e,e.arguments);break;case"ArrayExpression":this.adjustCommentsAfterTrailingComma(e,e.elements);break;case"ArrayPattern":this.adjustCommentsAfterTrailingComma(e,e.elements,true);break}}else if(this.state.commentPreviousNode&&(this.state.commentPreviousNode.type==="ImportSpecifier"&&e.type!=="ImportSpecifier"||this.state.commentPreviousNode.type==="ExportSpecifier"&&e.type!=="ExportSpecifier")){this.adjustCommentsAfterTrailingComma(e,[this.state.commentPreviousNode])}if(n){if(n.leadingComments){if(n!==e&&n.leadingComments.length>0&&last(n.leadingComments).end<=e.start){e.leadingComments=n.leadingComments;delete n.leadingComments}else{for(i=n.leadingComments.length-2;i>=0;--i){if(n.leadingComments[i].end<=e.start){e.leadingComments=n.leadingComments.splice(0,i+1);break}}}}}else if(this.state.leadingComments.length>0){if(last(this.state.leadingComments).end<=e.start){if(this.state.commentPreviousNode){for(a=0;a0){e.leadingComments=this.state.leadingComments;this.state.leadingComments=[]}}else{for(i=0;ie.start){break}}const t=this.state.leadingComments.slice(0,i);if(t.length){e.leadingComments=t}s=this.state.leadingComments.slice(i);if(s.length===0){s=null}}}this.state.commentPreviousNode=e;if(s){if(s.length&&s[0].start>=e.start&&last(s).end<=e.end){e.innerComments=s}else{const t=s.findIndex(t=>t.end>=e.end);if(t>0){e.innerComments=s.slice(0,t);e.trailingComments=s.slice(t)}else{e.trailingComments=s}}}t.push(e)}}const d=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const y=makeErrorTemplates({AccessorIsGenerator:"A %0ter cannot be a generator.",ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accesor must not have any formal parameters.",BadSetterArity:"A 'set' accesor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accesor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:"'%0' require an initialization value.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:"`%0` has already been exported. Exported identifiers must be unique.",DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '%0' as '%1' } from 'some-module'`?",ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:"'%0' loop variable declaration may not have an initializer.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:"Unsyntactic %0.",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:'A string literal cannot be used as an imported binding.\n- Did you mean `import { "%0" as foo }`?',ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:"`import()` requires exactly %0.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidDecimal:"Invalid decimal.",InvalidDigit:"Expected number in radix %0.",InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:"Escape sequence in keyword %0.",InvalidIdentifier:"Invalid identifier %0.",InvalidLhs:"Invalid left-hand side in %0.",InvalidLhsBinding:"Binding invalid left-hand side in %0.",InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:"Unexpected character '%0'.",InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:"Private name #%0 is not defined.",InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:"Label '%0' is already declared.",LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:'Duplicate key "%0" is not allowed in module attributes.',ModuleExportNameHasLoneSurrogate:"An export name cannot include a lone surrogate, found '\\u%0'.",ModuleExportUndefined:"Export '%0' is not defined.",MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:"Primary Topic Reference found but pipelineOperator not passed 'smart' for 'proposal' option.",PrivateInExpectedIn:"Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`).",PrivateNameRedeclaration:"Duplicate private name #%0.",RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:"Assigning to '%0' in strict mode.",StrictEvalArgumentsBinding:"Binding '%0' in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:"Unexpected keyword '%0'.",UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Private names can only be used as the name of a class element (i.e. class C { #p = 42; #m() {} } )\n or a property of member expression (i.e. this.#p).",UnexpectedReservedWord:"Unexpected reserved word '%0'.",UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:"Unexpected token '%0'.",UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:"The only valid meta property for %0 is %0.%1.",UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",VarRedeclaration:"Identifier '%0' has already been declared.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},d.SyntaxError);const m=makeErrorTemplates({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},d.SourceTypeModuleError);function makeErrorTemplates(e,t){const r={};Object.keys(e).forEach(n=>{r[n]=Object.freeze({code:t,reasonCode:n,template:e[n]})});return Object.freeze(r)}class ParserError extends CommentsParser{getLocationForPosition(e){let t;if(e===this.state.start)t=this.state.startLoc;else if(e===this.state.lastTokStart)t=this.state.lastTokStartLoc;else if(e===this.state.end)t=this.state.endLoc;else if(e===this.state.lastTokEnd)t=this.state.lastTokEndLoc;else t=getLineInfo(this.input,e);return t}raise(e,{code:t,reasonCode:r,template:n},...s){return this.raiseWithData(e,{code:t,reasonCode:r},n,...s)}raiseOverwrite(e,{code:t,template:r},...n){const s=this.getLocationForPosition(e);const i=r.replace(/%(\d+)/g,(e,t)=>n[t])+` (${s.line}:${s.column})`;if(this.options.errorRecovery){const t=this.state.errors;for(let r=t.length-1;r>=0;r--){const n=t[r];if(n.pos===e){return Object.assign(n,{message:i})}else if(n.posn[t])+` (${s.line}:${s.column})`;return this._raise(Object.assign({loc:s,pos:e},t),i)}_raise(e,t){const r=new SyntaxError(t);Object.assign(r,e);if(this.options.errorRecovery){if(!this.isLookahead)this.state.errors.push(r);return r}else{throw r}}}var T=e=>(class extends e{parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const n=this.estreeParseLiteral(r);n.regex={pattern:e,flags:t};return n}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);r.bigint=String(r.value||e);return r}parseDecimalLiteral(e){const t=null;const r=this.estreeParseLiteral(t);r.decimal=String(r.value||e);return r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;const r=this.startNodeAt(e.start,e.loc.start);const n=this.startNodeAt(t.start,t.loc.start);n.value=t.extra.expressionValue;n.raw=t.extra.raw;r.expression=this.finishNodeAt(n,"Literal",t.end,t.loc.end);r.directive=t.extra.raw.slice(1,-1);return this.finishNodeAt(r,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}stmtToDirective(e){const t=super.stmtToDirective(e);const r=e.expression.value;this.addExtra(t.value,"expressionValue",r);return t}parseBlockBody(e,...t){super.parseBlockBody(e,...t);const r=e.directives.map(e=>this.directiveToStmt(e));e.body=r.concat(e.body);delete e.directives}pushClassMethod(e,t,r,n,s,i){this.parseMethod(t,r,n,s,i,"ClassMethod",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parseMaybePrivateName(...e){const t=super.parseMaybePrivateName(...e);if(t.type==="PrivateName"&&this.getPluginOption("estree","classFeatures")){return this.convertPrivateNameToPrivateIdentifier(t)}return t}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}return e.name}parseLiteral(e,t){const r=super.parseLiteral(e,t);r.raw=r.extra.raw;delete r.extra;return r}parseFunctionBody(e,t,r=false){super.parseFunctionBody(e,t,r);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,r,n,s,i,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,r,n,s,i,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(i==="ClassPrivateMethod"){e.computed=false}i="MethodDefinition";return this.finishNode(e,i)}parseClassProperty(...e){const t=super.parseClassProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition"}return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition";t.computed=false}return t}parseObjectMethod(e,t,r,n,s){const i=super.parseObjectMethod(e,t,r,n,s);if(i){i.type="Property";if(i.kind==="method")i.kind="init";i.shorthand=false}return i}parseObjectProperty(e,t,r,n,s){const i=super.parseObjectProperty(e,t,r,n,s);if(i){i.kind="init";i.type="Property"}return i}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){this.toAssignable(e.value,t);return e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){if(e.kind==="get"||e.kind==="set"){this.raise(e.key.start,y.PatternHasAccessor)}else if(e.method){this.raise(e.key.start,y.PatternHasMethod)}else{super.toAssignableObjectExpressionProp(e,...t)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];if(this.hasPlugin("importAssertions")){var r;e.attributes=(r=e.arguments[1])!=null?r:null}delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,r,n,s){const i=super.parseSubscript(e,t,r,n,s);if(s.optionalChainMember){if(i.type==="OptionalMemberExpression"||i.type==="OptionalCallExpression"){i.type=i.type.substring(8)}if(s.stop){const e=this.startNodeAtNode(i);e.expression=i;return this.finishNode(e,"ChainExpression")}}else if(i.type==="MemberExpression"||i.type==="CallExpression"){i.optional=false}return i}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}});class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const h={brace:new TokContext("{"),templateQuasi:new TokContext("${"),template:new TokContext("`",true)};u.braceR.updateContext=(e=>{if(e.length>1){e.pop()}});u.braceL.updateContext=u.braceHashL.updateContext=(e=>{e.push(h.brace)});u.dollarBraceL.updateContext=(e=>{e.push(h.templateQuasi)});u.backQuote.updateContext=(e=>{if(e[e.length-1]===h.template){e.pop()}else{e.push(h.template)}});let S="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let b="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const E=new RegExp("["+S+"]");const g=new RegExp("["+S+b+"]");S=b=null;const P=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const x=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&E.test(String.fromCharCode(e))}return isInAstralSet(e,P)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&g.test(String.fromCharCode(e))}return isInAstralSet(e,P)||isInAstralSet(e,x)}const v={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const A=new Set(v.keyword);const O=new Set(v.strict);const I=new Set(v.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||O.has(e)}function isStrictBindOnlyReservedWord(e){return I.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return A.has(e)}function isIteratorStart(e,t){return e===64&&t===64}const D=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function canBeReservedWord(e){return D.has(e)}const w=0,j=1,N=2,C=4,L=8,_=16,M=32,F=64,B=128,k=256,R=j|N|k;const K=1,V=2,X=4,Y=8,J=16,U=64,W=128,q=256,z=512,G=1024,$=2048;const H=K|V|Y|W,Q=K|0|Y|0,Z=K|0|X|0,ee=K|0|J|0,te=0|V|0|W,re=0|V|0|0,ne=K|V|Y|q,se=0|0|0|G,ie=0|0|0|U,ae=K|0|0|U,oe=ne|z,le=0|0|0|G,ue=$;const pe=4,fe=2,ce=1,de=fe|ce;const ye=fe|pe,me=ce|pe,Te=fe,he=ce,Se=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.scopeStack=[];this.undefinedExports=new Map;this.undefinedPrivateNames=new Map;this.raise=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&N)>0}get allowSuper(){return(this.currentThisScopeFlags()&_)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&M)>0}get inClass(){return(this.currentThisScopeFlags()&F)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&F)>0&&(e&N)===0}get inStaticBlock(){return(this.currentThisScopeFlags()&B)>0}get inNonArrowFunction(){return(this.currentThisScopeFlags()&N)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&N||!this.inModule&&e.flags&j)}declareName(e,t,r){let n=this.currentScope();if(t&Y||t&J){this.checkRedeclarationInScope(n,e,t,r);if(t&J){n.functions.add(e)}else{n.lexical.add(e)}if(t&Y){this.maybeExportDefined(n,e)}}else if(t&X){for(let s=this.scopeStack.length-1;s>=0;--s){n=this.scopeStack[s];this.checkRedeclarationInScope(n,e,t,r);n.var.add(e);this.maybeExportDefined(n,e);if(n.flags&R)break}}if(this.inModule&&n.flags&j){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.inModule&&e.flags&j){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,r,n){if(this.isRedeclaredInScope(e,t,r)){this.raise(n,y.VarRedeclaration,t)}}isRedeclaredInScope(e,t,r){if(!(r&K))return false;if(r&Y){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(r&J){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&L&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const r=this.scopeStack[0];if(!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)){this.undefinedExports.set(t,e.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&R){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(R|F)&&!(t&C)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,r){const n=this.currentScope();if(t&$){this.checkRedeclarationInScope(n,e,t,r);this.maybeExportDefined(n,e);n.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,r){if(super.isRedeclaredInScope(...arguments))return true;if(r&$){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}const be=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]);const Ee=makeErrorTemplates({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:"Cannot overwrite reserved type %0.",DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:"Boolean enum members need to be initialized. Use either `%0 = true,` or `%0 = false,` in enum `%1`.",EnumDuplicateMemberName:"Enum member names need to be unique, but the name `%0` has already been used before in enum `%1`.",EnumInconsistentMemberValues:"Enum `%0` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.",EnumInvalidExplicitType:"Enum type `%1` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidExplicitTypeUnknownSupplied:"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidMemberInitializerPrimaryType:"Enum `%0` has type `%2`, so the initializer of `%1` needs to be a %2 literal.",EnumInvalidMemberInitializerSymbolType:"Symbol enum members cannot be initialized. Use `%1,` in enum `%0`.",EnumInvalidMemberInitializerUnknownType:"The enum member initializer for `%1` needs to be a literal (either a boolean, number, or string) in enum `%0`.",EnumInvalidMemberName:"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%0`, consider using `%1`, in enum `%2`.",EnumNumberMemberNotInitialized:"Number enum members need to be initialized, e.g. `%1 = 1` in enum `%0`.",EnumStringMemberInconsistentlyInitailized:"String enum members need to consistently either all use initializers, or use no initializers, in enum `%0`.",GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",OptionalBindingPattern:"A binding pattern parameter cannot be optional in an implementation signature.",SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:"Unexpected reserved type %0.",UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:"`declare export %0` is not supported. Use `%1` instead.",UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."},d.SyntaxError);function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return(e.type===u.name||!!e.type.keyword)&&e.value!=="from"}const ge={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const r=[];const n=[];for(let s=0;s(class extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==u.string&&e!==u.semi&&e!==u.interpreterDirective){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=Pe.exec(e.value);if(!t) ;else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||u.colon);const r=this.flowParseType();this.state.inType=t;return r}flowParsePredicate(){const e=this.startNode();const t=this.state.start;this.next();this.expectContextual("checks");if(this.state.lastTokStart>t+1){this.raise(t,Ee.UnexpectedSpaceBetweenModuloChecks)}if(this.eat(u.parenL)){e.value=this.parseExpression();this.expect(u.parenR);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(u.colon);let t=null;let r=null;if(this.match(u.modulo)){this.state.inType=e;r=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(u.modulo)){r=this.flowParsePredicate()}}return[t,r]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const r=this.startNode();const n=this.startNode();if(this.isRelational("<")){r.typeParameters=this.flowParseTypeParameterDeclaration()}else{r.typeParameters=null}this.expect(u.parenL);const s=this.flowParseFunctionTypeParams();r.params=s.params;r.rest=s.rest;r.this=s._this;this.expect(u.parenR);[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser();n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation");t.typeAnnotation=this.finishNode(n,"TypeAnnotation");this.resetEndLocation(t);this.semicolon();this.scope.declareName(e.id.name,ue,e.id.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(u._class)){return this.flowParseDeclareClass(e)}else if(this.match(u._function)){return this.flowParseDeclareFunction(e)}else if(this.match(u._var)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual("module")){if(this.match(u.dot)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(this.state.lastTokStart,Ee.NestedDeclareModule)}return this.flowParseDeclareModule(e)}}else if(this.isContextual("type")){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual("opaque")){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual("interface")){return this.flowParseDeclareInterface(e)}else if(this.match(u._export)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,Z,e.id.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(w);if(this.match(u.string)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const r=t.body=[];this.expect(u.braceL);while(!this.match(u.braceR)){let e=this.startNode();if(this.match(u._import)){this.next();if(!this.isContextual("type")&&!this.match(u._typeof)){this.raise(this.state.lastTokStart,Ee.InvalidNonTypeImportInDeclareModule)}this.parseImport(e)}else{this.expectContextual("declare",Ee.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}r.push(e)}this.scope.exit();this.expect(u.braceR);this.finishNode(t,"BlockStatement");let n=null;let s=false;r.forEach(e=>{if(isEsModuleType(e)){if(n==="CommonJS"){this.raise(e.start,Ee.AmbiguousDeclareModuleKind)}n="ES"}else if(e.type==="DeclareModuleExports"){if(s){this.raise(e.start,Ee.DuplicateDeclareModuleExports)}if(n==="ES"){this.raise(e.start,Ee.AmbiguousDeclareModuleKind)}n="CommonJS";s=true}});e.kind=n||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(u._export);if(this.eat(u._default)){if(this.match(u._function)||this.match(u._class)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(u._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value;const t=ge[e];throw this.raise(this.state.start,Ee.UnsupportedDeclareExportKind,e,t)}if(this.match(u._var)||this.match(u._function)||this.match(u._class)||this.isContextual("opaque")){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(u.star)||this.match(u.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque")){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual("exports");e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?ee:Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(u.comma))}if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(this.state.start,Ee.UnexpectedReservedUnderscore)}}checkReservedType(e,t,r){if(!be.has(e))return;this.raise(t,r?Ee.AssignReservedType:Ee.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.start,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(u.eq);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual("type");e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(u.colon)){e.supertype=this.flowParseTypeInitialiser(u.colon)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(u.eq)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.start;const r=this.startNode();const n=this.flowParseVariance();const s=this.flowParseTypeAnnotatableIdentifier();r.name=s.name;r.variance=n;r.bound=s.typeAnnotation;if(this.match(u.eq)){this.eat(u.eq);r.default=this.flowParseType()}else{if(e){this.raise(t,Ee.MissingTypeParamDefault)}}return this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}let r=false;do{const e=this.flowParseTypeParameter(r);t.params.push(e);if(e.default){r=true}if(!this.isRelational(">")){this.expect(u.comma)}}while(!this.isRelational(">"));this.expectRelational(">");this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");const r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.isRelational(">")){e.params.push(this.flowParseType());if(!this.isRelational(">")){this.expect(u.comma)}}this.state.noAnonFunctionType=r;this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");while(!this.isRelational(">")){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.isRelational(">")){this.expect(u.comma)}}this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual("interface");e.extends=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(u.num)||this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,r){e.static=t;if(this.lookahead().type===u.colon){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(u.bracketR);e.value=this.flowParseTypeInitialiser();e.variance=r;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(u.bracketR);this.expect(u.bracketR);if(this.isRelational("<")||this.match(u.parenL)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(u.question)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(u.parenL);if(this.match(u._this)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(u.parenR)){this.expect(u.comma)}}while(!this.match(u.parenR)&&!this.match(u.ellipsis)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(u.parenR)){this.expect(u.comma)}}if(this.eat(u.ellipsis)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(u.parenR);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const r=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(r);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:n,allowInexact:s}){const i=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let p=false;if(t&&this.match(u.braceBarL)){this.expect(u.braceBarL);o=u.braceBarR;l=true}else{this.expect(u.braceL);o=u.braceR;l=false}a.exact=l;while(!this.match(o)){let t=false;let i=null;let o=null;const f=this.startNode();if(n&&this.isContextual("proto")){const t=this.lookahead();if(t.type!==u.colon&&t.type!==u.question){this.next();i=this.state.start;e=false}}if(e&&this.isContextual("static")){const e=this.lookahead();if(e.type!==u.colon&&e.type!==u.question){this.next();t=true}}const c=this.flowParseVariance();if(this.eat(u.bracketL)){if(i!=null){this.unexpected(i)}if(this.eat(u.bracketL)){if(c){this.unexpected(c.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(f,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(f,t,c))}}else if(this.match(u.parenL)||this.isRelational("<")){if(i!=null){this.unexpected(i)}if(c){this.unexpected(c.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(f,t))}else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();if(t.type===u.name||t.type===u.string||t.type===u.num){e=this.state.value;this.next()}}const n=this.flowParseObjectTypeProperty(f,t,i,c,e,r,s!=null?s:!l);if(n===null){p=true;o=this.state.lastTokStart}else{a.properties.push(n)}}this.flowObjectTypeSemicolon();if(o&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.raise(o,Ee.UnexpectedExplicitInexactInObject)}}this.expect(o);if(r){a.inexact=p}const f=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=i;return f}flowParseObjectTypeProperty(e,t,r,n,s,i,a){if(this.eat(u.ellipsis)){const t=this.match(u.comma)||this.match(u.semi)||this.match(u.braceR)||this.match(u.braceBarR);if(t){if(!i){this.raise(this.state.lastTokStart,Ee.InexactInsideNonObject)}else if(!a){this.raise(this.state.lastTokStart,Ee.InexactInsideExact)}if(n){this.raise(n.start,Ee.InexactVariance)}return null}if(!i){this.raise(this.state.lastTokStart,Ee.UnexpectedSpreadType)}if(r!=null){this.unexpected(r)}if(n){this.raise(n.start,Ee.SpreadVariance)}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=r!=null;e.kind=s;let a=false;if(this.isRelational("<")||this.match(u.parenL)){e.method=true;if(r!=null){this.unexpected(r)}if(n){this.unexpected(n.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(s==="get"||s==="set"){this.flowCheckGetterSetterParams(e)}if(!i&&e.key.name==="constructor"&&e.value.this){this.raise(e.value.this.start,Ee.ThisParamBannedInConstructor)}}else{if(s!=="init")this.unexpected();e.method=false;if(this.eat(u.question)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=n}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const r=e.start;const n=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.value.this.start,e.kind==="get"?Ee.GetterMayNotHaveThisParam:Ee.SetterMayNotHaveThisParam)}if(n!==t){if(e.kind==="get"){this.raise(r,y.BadGetterArity)}else{this.raise(r,y.BadSetterArity)}}if(e.kind==="set"&&e.value.rest){this.raise(r,y.BadSetterRestParameter)}}flowObjectTypeSemicolon(){if(!this.eat(u.semi)&&!this.eat(u.comma)&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start;t=t||this.state.startLoc;let n=r||this.flowParseRestrictedIdentifier(true);while(this.eat(u.dot)){const r=this.startNodeAt(e,t);r.qualification=n;r.id=this.flowParseRestrictedIdentifier(true);n=this.finishNode(r,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t,r){const n=this.startNodeAt(e,t);n.typeParameters=null;n.id=this.flowParseQualifiedTypeIdentifier(e,t,r);if(this.isRelational("<")){n.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(u._typeof);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(u.bracketL);while(this.state.possuper.parseFunctionBody(e,true,r))}return super.parseFunctionBody(e,false,r)}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(e,t,r)}parseStatement(e,t){if(this.state.strict&&this.match(u.name)&&this.state.value==="interface"){const e=this.lookahead();if(e.type===u.name||isKeyword(e.value)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const r=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(r)){this.flowPragma=null}return r}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(u._class)||this.match(u.name)||this.match(u._function)||this.match(u._var)||this.match(u._export)){return this.flowParseDeclare(e)}}else if(this.match(u.name)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){if(this.match(u.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"||this.shouldParseEnums()&&this.state.value==="enum")){return false}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,n){if(!this.match(u.question))return e;if(n){const s=this.tryParse(()=>super.parseConditional(e,t,r));if(!s.node){n.start=s.error.pos||this.state.start;return e}if(s.error)this.state=s.failState;return s.node}this.expect(u.question);const s=this.state.clone();const i=this.state.noArrowAt;const a=this.startNodeAt(t,r);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[p,f]=this.getArrowLikeExpressions(o);if(l||f.length>0){const e=[...i];if(f.length>0){this.state=s;this.state.noArrowAt=e;for(let t=0;t1){this.raise(s.start,Ee.AmbiguousConditionalArrow)}if(l&&p.length===1){this.state=s;this.state.noArrowAt=e.concat(p[0].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=i;this.expect(u.colon);a.test=e;a.consequent=o;a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(undefined,undefined,undefined));return this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(u.colon);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e];const n=[];while(r.length!==0){const e=r.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{n.push(e)}r.push(e.body)}else if(e.type==="ConditionalExpression"){r.push(e.consequent);r.push(e.alternate)}}if(t){n.forEach(e=>this.finishArrowValidation(e));return[n,[]]}return partition(n,e=>e.params.every(e=>this.isAssignable(e,true)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingComma,false);this.scope.enter(N|C);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);r=t();this.state.noArrowParamsConversionAt.pop()}else{r=t()}return r}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(n,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();this.next();if(this.match(u.braceL)){e.specifiers=this.parseExportSpecifiers();this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual("enum")){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual("type")&&this.lookahead().type===u.star){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const t=this.state.start;const r=super.maybeParseExportNamespaceSpecifier(e);if(r&&e.exportKind==="type"){this.unexpected(t)}return r}parseClassId(e,t,r){super.parseClassId(e,t,r);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}}parseClassMember(e,t,r){const n=this.state.start;if(this.isContextual("declare")){if(this.parseClassMemberFromModifier(e,t)){return}t.declare=true}super.parseClassMember(e,t,r);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(n,Ee.DeclareClassElement)}else if(t.value){this.raise(t.value.start,Ee.DeclareClassFieldInitializer)}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(this.state.pos,y.InvalidIdentifier,t)}this.finishToken(u.name,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(u.braceBarL,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(u.relational,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(u.questionDot,2)}return this.finishOp(u.question,1)}else if(isIteratorStart(e,t)){this.state.pos+=2;return this.readIterator()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":return true;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every((e,r)=>{return e.type!=="ObjectMethod"&&(r===t||e.type==="SpreadElement")&&this.isAssignable(e)})}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every(e=>this.isAssignable(e));case"AssignmentExpression":return e.operator==="=";case"ParenthesizedExpression":case"TypeCastExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return false}}toAssignable(e,t=false){if(e.type==="TypeCastExpression"){return super.toAssignable(this.typeCastToParameter(e),t)}else{return super.toAssignable(e,t)}}toAssignableList(e,t,r){for(let t=0;t1||!t)){this.raise(s.typeAnnotation.start,Ee.TypeCastInPattern)}}return e}parseArrayLike(e,t,r,n){const s=super.parseArrayLike(e,t,r,n);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(s.elements)}return s}checkLVal(e,...t){if(e.type!=="TypeCastExpression"){return super.checkLVal(e,...t)}}parseClassProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(u.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,s,i){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,r,n,s,i);if(t.params&&s){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Ee.ThisParamBannedInConstructor)}}else if(t.type==="MethodDefinition"&&s&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Ee.ThisParamBannedInConstructor)}}}pushClassPrivateMethod(e,t,r,n){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(u.comma))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const r=t[0];if(this.isThisParam(r)&&e.kind==="get"){this.raise(r.start,Ee.GetterMayNotHaveThisParam)}else if(this.isThisParam(r)){this.raise(r.start,Ee.SetterMayNotHaveThisParam)}}}parsePropertyName(e,t){const r=this.flowParseVariance();const n=super.parsePropertyName(e,t);e.variance=r;return n}parseObjPropValue(e,t,r,n,s,i,a,o){if(e.variance){this.unexpected(e.variance.start)}delete e.variance;let l;if(this.isRelational("<")&&!a){l=this.flowParseTypeParameterDeclaration();if(!this.match(u.parenL))this.unexpected()}super.parseObjPropValue(e,t,r,n,s,i,a,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"){this.raise(e.start,Ee.OptionalBindingPattern)}if(this.isThisParam(e)){this.raise(e.start,Ee.ThisParamMayNotBeOptional)}e.optional=true}if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(e.start,Ee.ThisParamAnnotationRequired)}if(this.match(u.eq)&&this.isThisParam(e)){this.raise(e.start,Ee.ThisParamNoDefault)}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,r){const n=super.parseMaybeDefault(e,t,r);if(n.type==="AssignmentPattern"&&n.typeAnnotation&&n.right.startsuper.parseMaybeAssign(e,t,r),s);if(!i.error)return i.node;const{context:n}=this.state;if(n[n.length-1]===h.j_oTag){n.length-=2}else if(n[n.length-1]===h.j_expr){n.length-=1}}if((n=i)!=null&&n.error||this.isRelational("<")){var a,o;s=s||this.state.clone();let n;const l=this.tryParse(s=>{var i;n=this.flowParseTypeParameterDeclaration();const a=this.forwardNoArrowParamsConversionAt(n,()=>{const s=super.parseMaybeAssign(e,t,r);this.resetStartLocationFromNode(s,n);return s});if(a.type!=="ArrowFunctionExpression"&&(i=a.extra)!=null&&i.parenthesized){s()}const o=this.maybeUnwrapTypeCastExpression(a);o.typeParameters=n;this.resetStartLocationFromNode(o,n);return a},s);let u=null;if(l.node&&this.maybeUnwrapTypeCastExpression(l.node).type==="ArrowFunctionExpression"){if(!l.error&&!l.aborted){if(l.node.async){this.raise(n.start,Ee.UnexpectedTypeParameterBeforeAsyncArrowFunction)}return l.node}u=l.node}if((a=i)!=null&&a.node){this.state=i.failState;return i.node}if(u){this.state=l.failState;return u}if((o=i)!=null&&o.thrown)throw i.error;if(l.thrown)throw l.error;throw this.raise(n.start,Ee.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t,r)}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(u.arrow))this.unexpected();return r});if(t.thrown)return null;if(t.error)this.state=t.failState;e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(){return this.match(u.colon)||super.shouldParseArrow()}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,r){if(r&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t0){this.raise(e.params[t].start,Ee.ThisParamMustBeFirst)}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,r,n){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const n=this.startNodeAt(t,r);n.callee=e;n.arguments=this.parseCallExpressionArguments(u.parenR,false);e=this.finishNode(n,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.isRelational("<")){const s=this.state.clone();const i=this.tryParse(e=>this.parseAsyncArrowWithTypeParameters(t,r)||e(),s);if(!i.error&&!i.aborted)return i.node;const a=this.tryParse(()=>super.parseSubscripts(e,t,r,n),s);if(a.node&&!a.error)return a.node;if(i.node){this.state=i.failState;return i.node}if(a.node){this.state=a.failState;return a.node}throw i.error||a.error}return super.parseSubscripts(e,t,r,n)}parseSubscript(e,t,r,n,s){if(this.match(u.questionDot)&&this.isLookaheadToken_lt()){s.optionalChainMember=true;if(n){s.stop=true;return e}this.next();const i=this.startNodeAt(t,r);i.callee=e;i.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(u.parenL);i.arguments=this.parseCallExpressionArguments(u.parenR,false);i.optional=true;return this.finishCallExpression(i,true)}else if(!n&&this.shouldParseTypes()&&this.isRelational("<")){const n=this.startNodeAt(t,r);n.callee=e;const i=this.tryParse(()=>{n.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew();this.expect(u.parenL);n.arguments=this.parseCallExpressionArguments(u.parenR,false);if(s.optionalChainMember)n.optional=false;return this.finishCallExpression(n,s.optionalChainMember)});if(i.node){if(i.error)this.state=i.failState;return i.node}}return super.parseSubscript(e,t,r,n,s)}parseNewArguments(e){let t=null;if(this.shouldParseTypes()&&this.isRelational("<")){t=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node}e.typeArguments=t;super.parseNewArguments(e)}parseAsyncArrowWithTypeParameters(e,t){const r=this.startNodeAt(e,t);this.parseFunctionParams(r);if(!this.parseArrow(r))return;return this.parseArrowExpression(r,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(u.braceBarR,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(this.state.pos,Ee.UnterminatedFlowComment)}return r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){this.unexpected(null,Ee.NestedFlowComment)}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1){throw this.raise(this.state.pos-2,y.UnterminatedComment)}this.state.pos=e+3;return}super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const r=this.input.charCodeAt(t+e);const n=this.input.charCodeAt(t+e+1);if(r===58&&n===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(r===58&&n!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(this.state.pos,y.UnterminatedComment)}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumBooleanMemberNotInitialized,r,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:r}){const n=r[0].toUpperCase()+r.slice(1);this.raise(e,Ee.EnumInvalidMemberName,r,n,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumDuplicateMemberName,r,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,Ee.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:r}){return this.raise(e,r===null?Ee.EnumInvalidExplicitTypeUnknownSupplied:Ee.EnumInvalidExplicitType,t,r)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:r,memberName:n}){let s=null;switch(r){case"boolean":case"number":case"string":s=Ee.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":s=Ee.EnumInvalidMemberInitializerSymbolType;break;default:s=Ee.EnumInvalidMemberInitializerUnknownType}return this.raise(e,s,t,n,r)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumNumberMemberNotInitialized,t,r)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,Ee.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start;const t=()=>this.match(u.comma)||this.match(u.braceR);switch(this.state.type){case u.num:{const r=this.parseNumericLiteral(this.state.value);if(t()){return{type:"number",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u.string:{const r=this.parseStringLiteral(this.state.value);if(t()){return{type:"string",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u._true:case u._false:{const r=this.parseBooleanLiteral(this.match(u._true));if(t()){return{type:"boolean",pos:r.start,value:r}}return{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;const t=this.parseIdentifier(true);const r=this.eat(u.eq)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:r}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:n}=t;if(n===null){return}if(n!==r){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set;const n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let s=false;while(!this.match(u.braceR)){if(this.eat(u.ellipsis)){s=true;break}const i=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.flowEnumErrorInvalidMemberName(a.start,{enumName:e,memberName:l})}if(r.has(l)){this.flowEnumErrorDuplicateMemberName(a.start,{enumName:e,memberName:l})}r.add(l);const p={enumName:e,explicitType:t,memberName:l};i.id=a;switch(o.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"boolean");i.init=o.value;n.booleanMembers.push(this.finishNode(i,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"number");i.init=o.value;n.numberMembers.push(this.finishNode(i,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"string");i.init=o.value;n.stringMembers.push(this.finishNode(i,"EnumStringMember"));break}case"invalid":{throw this.flowEnumErrorInvalidMemberInitializer(o.pos,p)}case"none":{switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.pos,p);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.pos,p);break;default:n.defaultedMembers.push(this.finishNode(i,"EnumDefaultedMember"))}}}if(!this.match(u.braceR)){this.expect(u.comma)}}return{members:n,hasUnknownMembers:s}}flowEnumStringMembers(e,t,{enumName:r}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:r})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:r})}return e}}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual("of")){if(!this.match(u.name)){throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t})}return t}return null}flowEnumBody(e,{enumName:t,nameLoc:r}){const n=this.flowEnumParseExplicitType({enumName:t});this.expect(u.braceL);const{members:s,hasUnknownMembers:i}=this.flowEnumMembers({enumName:t,explicitType:n});e.hasUnknownMembers=i;switch(n){case"boolean":e.explicitType=true;e.members=s.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=s.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=s.defaultedMembers;this.expect(u.braceR);return this.finishNode(e,"EnumSymbolBody");default:{const n=()=>{e.members=[];this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const i=s.booleanMembers.length;const a=s.numberMembers.length;const o=s.stringMembers.length;const l=s.defaultedMembers.length;if(!i&&!a&&!o&&!l){return n()}else if(!i&&!a){e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")}else if(!a&&!o&&i>=l){for(const e of s.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=s.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody")}else if(!i&&!o&&a>=l){for(const e of s.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=s.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody")}else{this.flowEnumErrorInconsistentMemberValues(r,{enumName:t});return n()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start});return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}});const ve={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"};class State{constructor(){this.strict=void 0;this.curLine=void 0;this.startLoc=void 0;this.endLoc=void 0;this.errors=[];this.potentialArrowAt=-1;this.noArrowAt=[];this.noArrowParamsConversionAt=[];this.maybeInArrowParameters=false;this.inPipeline=false;this.inType=false;this.noAnonFunctionType=false;this.inPropertyName=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.decoratorStack=[[]];this.comments=[];this.trailingComments=[];this.leadingComments=[];this.commentStack=[];this.commentPreviousNode=null;this.pos=0;this.lineStart=0;this.type=u.eof;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.lastTokEnd=0;this.context=[h.brace];this.exprAllowed=true;this.containsEsc=false;this.strictErrors=new Map;this.tokensLength=0}init(e){this.strict=e.strictMode===false?false:e.sourceType==="module";this.curLine=e.startLine;this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new Position(this.curLine,this.pos-this.lineStart)}clone(e){const t=new State;const r=Object.keys(this);for(let n=0,s=r.length;n.",MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"},d.SyntaxError);h.j_oTag=new TokContext("...",true);u.jsxName=new TokenType("jsxName");u.jsxText=new TokenType("jsxText",{beforeExpr:true});u.jsxTagStart=new TokenType("jsxTagStart",{startsExpr:true});u.jsxTagEnd=new TokenType("jsxTagEnd");u.jsxTagStart.updateContext=(e=>{e.push(h.j_expr);e.push(h.j_oTag)});function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var De=e=>(class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,Ie.UnterminatedJsxContent)}const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){if(r===60&&this.state.exprAllowed){++this.state.pos;return this.finishToken(u.jsxTagStart)}return super.getTokenFromCode(r)}e+=this.input.slice(t,this.state.pos);return this.finishToken(u.jsxText,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;r=e?"\n":"\r\n"}else{r=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return r}jsxReadString(e){let t="";let r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===38){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadEntity();r=this.state.pos}else if(isNewLine(n)){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadNewLine(false);r=this.state.pos}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);return this.finishToken(u.string,t)}jsxReadEntity(){let e="";let t=0;let r;let n=this.input[this.state.pos];const s=++this.state.pos;while(this.state.pos0}get hasYield(){return(this.currentFlags()&je)>0}get hasReturn(){return(this.currentFlags()&Ce)>0}get hasIn(){return(this.currentFlags()&Le)>0}}function functionFlags(e,t){return(e?Ne:0)|(t?je:0)}function nonNull(e){if(e==null){throw new Error(`Unexpected ${e} value.`)}return e}function assert(e){if(!e){throw new Error("Assert fail")}}const _e=makeErrorTemplates({AbstractMethodHasImplementation:"Method '%0' cannot have an implementation because it is marked abstract.",AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:"'declare' is not allowed in %0ters.",DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:"Accessibility modifier already seen.",DuplicateModifier:"Duplicate modifier: '%0'.",EmptyHeritageClauseType:"'%0' list cannot be empty.",EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",IncompatibleModifiers:"'%0' modifier cannot be used with '%1' modifier.",IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:"Index signatures cannot have an accessibility modifier ('%0').",IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InvalidModifierOnTypeMember:"'%0' modifier cannot appear on a type member.",InvalidModifiersOrder:"'%0' modifier must precede '%1' modifier.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:"Private elements cannot have an accessibility modifier ('%0').",ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got %0."},d.SyntaxError);function keywordTypeFromName(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return undefined}}function tsIsAccessModifier(e){return e==="private"||e==="public"||e==="protected"}var Me=e=>(class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return this.match(u.name)}tsTokenCanFollowModifier(){return(this.match(u.bracketL)||this.match(u.braceL)||this.match(u.star)||this.match(u.ellipsis)||this.match(u.privateName)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e){if(!this.match(u.name)){return undefined}const t=this.state.value;if(e.indexOf(t)!==-1&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return t}return undefined}tsParseModifiers(e,t,r,n){const s=(t,r,n,s)=>{if(r===n&&e[s]){this.raise(t,_e.InvalidModifiersOrder,n,s)}};const i=(t,r,n,s)=>{if(e[n]&&r===s||e[s]&&r===n){this.raise(t,_e.IncompatibleModifiers,n,s)}};for(;;){const a=this.state.start;const o=this.tsParseModifier(t.concat(r!=null?r:[]));if(!o)break;if(tsIsAccessModifier(o)){if(e.accessibility){this.raise(a,_e.DuplicateAccessibilityModifier)}else{s(a,o,o,"override");s(a,o,o,"static");s(a,o,o,"readonly");e.accessibility=o}}else{if(Object.hasOwnProperty.call(e,o)){this.raise(a,_e.DuplicateModifier,o)}else{s(a,o,"static","readonly");s(a,o,"static","override");s(a,o,"override","readonly");s(a,o,"abstract","override");i(a,o,"declare","override");i(a,o,"static","abstract")}e[o]=true}if(r!=null&&r.includes(o)){this.raise(a,n,o)}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(u.braceR);case"HeritageClauseElement":return this.match(u.braceL);case"TupleElementTypes":return this.match(u.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const r=[];while(!this.tsIsListTerminator(e)){r.push(t())}return r}tsParseDelimitedList(e,t){return nonNull(this.tsParseDelimitedListWorker(e,t,true))}tsParseDelimitedListWorker(e,t,r){const n=[];for(;;){if(this.tsIsListTerminator(e)){break}const s=t();if(s==null){return undefined}n.push(s);if(this.eat(u.comma)){continue}if(this.tsIsListTerminator(e)){break}if(r){this.expect(u.comma)}return undefined}return n}tsParseBracketedList(e,t,r,n){if(!n){if(r){this.expect(u.bracketL)}else{this.expectRelational("<")}}const s=this.tsParseDelimitedList(e,t);if(r){this.expect(u.bracketR)}else{this.expectRelational(">")}return s}tsParseImportType(){const e=this.startNode();this.expect(u._import);this.expect(u.parenL);if(!this.match(u.string)){this.raise(this.state.start,_e.UnsupportedImportTypeArgument)}e.argument=this.parseExprAtom();this.expect(u.parenR);if(this.eat(u.dot)){e.qualifier=this.tsParseEntityName(true)}if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();while(this.eat(u.dot)){const r=this.startNodeAtNode(t);r.left=t;r.right=this.parseIdentifier(e);t=this.finishNode(r,"TSQualifiedName")}return t}tsParseTypeReference(){const e=this.startNode();e.typeName=this.tsParseEntityName(false);if(!this.hasPrecedingLineBreak()&&this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(u._typeof);if(this.match(u._import)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName(true)}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsEatThenParseType(u._extends);e.default=this.tsEatThenParseType(u.eq);return this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<")){return this.tsParseTypeParameters()}}tsParseTypeParameters(){const e=this.startNode();if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),false,true);if(e.params.length===0){this.raise(e.start,_e.EmptyTypeParameters)}return this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type===u._const){this.next();return this.tsParseTypeReference()}return null}tsFillSignature(e,t){const r=e===u.arrow;t.typeParameters=this.tsTryParseTypeParameters();this.expect(u.parenL);t.parameters=this.tsParseBindingListForSignature();if(r){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(u.parenR,41).map(e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(e.start,_e.UnsupportedSignatureParameterKind,e.type)}return e})}tsParseTypeMemberSemicolon(){if(!this.eat(u.comma)&&!this.isLineTerminator()){this.expect(u.semi)}}tsParseSignatureMember(e,t){this.tsFillSignature(u.colon,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();return this.eat(u.name)&&this.match(u.colon)}tsTryParseIndexSignature(e){if(!(this.match(u.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(u.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(u.bracketR);e.parameters=[t];const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(u.question))e.optional=true;const r=e;if(this.match(u.parenL)||this.isRelational("<")){if(t){this.raise(e.start,_e.ReadonlyForMethodSignature)}const n=r;if(n.kind&&this.isRelational("<")){this.raise(this.state.pos,_e.AccesorCannotHaveTypeParameters)}this.tsFillSignature(u.colon,n);this.tsParseTypeMemberSemicolon();if(n.kind==="get"){if(n.parameters.length>0){this.raise(this.state.pos,y.BadGetterArity);if(this.isThisParam(n.parameters[0])){this.raise(this.state.pos,_e.AccesorCannotDeclareThisParameter)}}}else if(n.kind==="set"){if(n.parameters.length!==1){this.raise(this.state.pos,y.BadSetterArity)}else{const e=n.parameters[0];if(this.isThisParam(e)){this.raise(this.state.pos,_e.AccesorCannotDeclareThisParameter)}if(e.type==="Identifier"&&e.optional){this.raise(this.state.pos,_e.SetAccesorCannotHaveOptionalParameter)}if(e.type==="RestElement"){this.raise(this.state.pos,_e.SetAccesorCannotHaveRestParameter)}}if(n.typeAnnotation){this.raise(n.typeAnnotation.start,_e.SetAccesorCannotHaveReturnType)}}else{n.kind="method"}return this.finishNode(n,"TSMethodSignature")}else{const e=r;if(t)e.readonly=true;const n=this.tsTryParseTypeAnnotation();if(n)e.typeAnnotation=n;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(u._new)){const t=this.startNode();this.next();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],_e.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e,false);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;this.parsePropertyName(e,false)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(u.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(u.braceR);return e}tsIsStartOfMappedType(){this.next();if(this.eat(u.plusMin)){return this.isContextual("readonly")}if(this.isContextual("readonly")){this.next()}if(!this.match(u.bracketL)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(u._in)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsExpectThenParseType(u._in);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(u.braceL);if(this.match(u.plusMin)){e.readonly=this.state.value;this.next();this.expectContextual("readonly")}else if(this.eatContextual("readonly")){e.readonly=true}this.expect(u.bracketL);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual("as")?this.tsParseType():null;this.expect(u.bracketR);if(this.match(u.plusMin)){e.optional=this.state.value;this.next();this.expect(u.question)}else if(this.eat(u.question)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(u.braceR);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let r=null;e.elementTypes.forEach(e=>{var n;let{type:s}=e;if(t&&s!=="TSRestType"&&s!=="TSOptionalType"&&!(s==="TSNamedTupleMember"&&e.optional)){this.raise(e.start,_e.OptionalTypeBeforeRequired)}t=t||s==="TSNamedTupleMember"&&e.optional||s==="TSOptionalType";if(s==="TSRestType"){e=e.typeAnnotation;s=e.type}const i=s==="TSNamedTupleMember";r=(n=r)!=null?n:i;if(r!==i){this.raise(e.start,_e.MixedLabeledAndUnlabeledElements)}});return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const r=this.eat(u.ellipsis);let n=this.tsParseType();const s=this.eat(u.question);const i=this.eat(u.colon);if(i){const e=this.startNodeAtNode(n);e.optional=s;if(n.type==="TSTypeReference"&&!n.typeParameters&&n.typeName.type==="Identifier"){e.label=n.typeName}else{this.raise(n.start,_e.InvalidTupleMemberLabel);e.label=n}e.elementType=this.tsParseType();n=this.finishNode(e,"TSNamedTupleMember")}else if(s){const e=this.startNodeAtNode(n);e.typeAnnotation=n;n=this.finishNode(e,"TSOptionalType")}if(r){const r=this.startNodeAt(e,t);r.typeAnnotation=n;n=this.finishNode(r,"TSRestType")}return n}tsParseParenthesizedType(){const e=this.startNode();this.expect(u.parenL);e.typeAnnotation=this.tsParseType();this.expect(u.parenR);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const r=this.startNode();if(e==="TSConstructorType"){r.abstract=!!t;if(t)this.next();this.next()}this.tsFillSignature(u.arrow,r);return this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case u.num:case u.bigint:case u.string:case u._true:case u._false:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case u.name:case u._void:case u._null:{const e=this.match(u._void)?"TSVoidKeyword":this.match(u._null)?"TSNullKeyword":keywordTypeFromName(this.state.value);if(e!==undefined&&this.lookaheadCharCode()!==46){const t=this.startNode();this.next();return this.finishNode(t,e)}return this.tsParseTypeReference()}case u.string:case u.num:case u.bigint:case u._true:case u._false:return this.tsParseLiteralTypeNode();case u.plusMin:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==u.num&&t.type!==u.bigint){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case u._this:return this.tsParseThisTypeOrThisTypePredicate();case u._typeof:return this.tsParseTypeQuery();case u._import:return this.tsParseImportType();case u.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case u.bracketL:return this.tsParseTupleType();case u.parenL:return this.tsParseParenthesizedType();case u.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(u.bracketL)){if(this.match(u.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(u.bracketR);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(u.bracketR);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(e){const t=this.startNode();this.expectContextual(e);t.operator=e;t.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(e==="readonly"){this.tsCheckTypeAnnotationForReadOnly(t)}return this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,_e.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();t.name=this.parseIdentifierName(t.start);e.typeParameter=this.finishNode(t,"TSTypeParameter");return this.finishNode(e,"TSInferType")}tsParseTypeOperatorOrHigher(){const e=["keyof","unique","readonly"].find(e=>this.isContextual(e));return e?this.tsParseTypeOperator(e):this.isContextual("infer")?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}tsParseUnionOrIntersectionType(e,t,r){const n=this.startNode();const s=this.eat(r);const i=[];do{i.push(t())}while(this.eat(r));if(i.length===1&&!s){return i[0]}n.types=i;return this.finishNode(n,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),u.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),u.bitwiseOR)}tsIsStartOfFunctionType(){if(this.isRelational("<")){return true}return this.match(u.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(u.name)||this.match(u._this)){this.next();return true}if(this.match(u.braceL)){let e=1;this.next();while(e>0){if(this.match(u.braceL)){++e}else if(this.match(u.braceR)){--e}this.next()}return true}if(this.match(u.bracketL)){let e=1;this.next();while(e>0){if(this.match(u.bracketL)){++e}else if(this.match(u.bracketR)){--e}this.next()}return true}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(u.parenR)||this.match(u.ellipsis)){return true}if(this.tsSkipParameterStart()){if(this.match(u.colon)||this.match(u.comma)||this.match(u.question)||this.match(u.eq)){return true}if(this.match(u.parenR)){this.next();if(this.match(u.arrow)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const r=this.startNode();const n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(u._this)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){r.parameterName=e;r.asserts=true;r.typeAnnotation=null;e=this.finishNode(r,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,r);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const s=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!s){if(!n){return this.tsParseTypeAnnotation(false,t)}r.parameterName=this.parseIdentifier();r.asserts=n;r.typeAnnotation=null;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsParseTypeAnnotation(false);r.parameterName=s;r.typeAnnotation=i;r.asserts=n;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(u.colon)?this.tsParseTypeOrTypePredicateAnnotation(u.colon):undefined}tsTryParseTypeAnnotation(){return this.match(u.colon)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(u.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(!this.match(u.name)||this.state.value!=="asserts"||this.hasPrecedingLineBreak()){return false}const e=this.state.containsEsc;this.next();if(!this.match(u.name)&&!this.match(u._this)){return false}if(e){this.raise(this.state.lastTokStart,y.InvalidEscapedReservedWord,"asserts")}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType(()=>{if(e)this.expect(u.colon);t.typeAnnotation=this.tsParseType()});return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(u._extends)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsParseNonConditionalType();this.expect(u.question);t.trueType=this.tsParseType();this.expect(u.colon);t.falseType=this.tsParseType();return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual("abstract")&&this.lookahead().type===u._new}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(u._new)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expectRelational(">");e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start;const r=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));if(!r.length){this.raise(t,_e.EmptyHeritageClauseType,e)}return r}tsParseExpressionWithTypeArguments(){const e=this.startNode();e.expression=this.tsParseEntityName(false);if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript interface declaration",te);e.typeParameters=this.tsTryParseTypeParameters();if(this.eat(u._extends)){e.extends=this.tsParseHeritageClause("extends")}const t=this.startNode();t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(t,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript type alias",re);e.typeParameters=this.tsTryParseTypeParameters();e.typeAnnotation=this.tsInType(()=>{this.expect(u.eq);if(this.isContextual("intrinsic")&&this.lookahead().type!==u.dot){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()});this.semicolon();return this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){const t=this.state.inType;this.state.inType=true;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>{e();return this.tsParseType()})}tsParseEnumMember(){const e=this.startNode();e.id=this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(u.eq)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){if(t)e.const=true;e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript enum declaration",t?oe:ne);this.expect(u.braceL);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(u.braceR);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(w);this.expect(u.braceL);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,u.braceR);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkLVal(e.id,"module or namespace declaration",le)}if(this.eat(u.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(k);this.prodParam.enter(we);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual("global")){e.global=true;e.id=this.parseIdentifier()}else if(this.match(u.string)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(u.braceL)){this.scope.enter(k);this.prodParam.enter(we);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkLVal(e.id,"import equals declaration",Q);this.expect(u.eq);const r=this.tsParseModuleReference();if(e.importKind==="type"&&r.type!=="TSExternalModuleReference"){this.raise(r.start,_e.ImportAliasHasImportType)}e.moduleReference=r;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual("require");this.expect(u.parenL);if(!this.match(u.string)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(u.parenR);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const r=e();this.state=t;return r}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const r=e();if(r!==undefined&&r!==false){return r}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let r;if(this.isContextual("let")){t=u._var;r="let"}return this.tsInAmbientContext(()=>{switch(t){case u._function:e.declare=true;return this.parseFunctionStatement(e,false,true);case u._class:e.declare=true;return this.parseClass(e,true,false);case u._const:if(this.match(u._const)&&this.isLookaheadContextual("enum")){this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}case u._var:r=r||this.state.value;return this.parseVarStatement(e,r);case u.name:{const t=this.state.value;if(t==="global"){return this.tsParseAmbientExternalModuleDeclaration(e)}else{return this.tsParseDeclaration(e,t,true)}}}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(u.braceL)){this.scope.enter(k);this.prodParam.enter(we);const r=e;r.global=true;r.id=t;r.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(u._class)||this.match(u.name))){return this.tsParseAbstractDeclaration(e)}break;case"enum":if(r||this.match(u.name)){if(r)this.next();return this.tsParseEnumDeclaration(e,false)}break;case"interface":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseInterfaceDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(u.string)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<")){return undefined}const r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const n=this.tsTryParseAndCatch(()=>{const r=this.startNodeAt(e,t);r.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(r);r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(u.arrow);return r});this.state.maybeInArrowParameters=r;if(!n){return undefined}return this.parseArrowExpression(n,null,true)}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType(()=>this.tsInNoContext(()=>{this.expectRelational("<");return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}));if(e.params.length===0){this.raise(e.start,_e.EmptyTypeArguments)}this.expectRelational(">");return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(u.name)){switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return true}}return false}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.start;const n=this.state.startLoc;let s;let i=false;let a=false;if(e!==undefined){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]);s=t.accessibility;a=t.override;i=t.readonly;if(e===false&&(s||i||a)){this.raise(r,_e.UnexpectedParameterModifier)}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(s||i||a){const e=this.startNodeAt(r,n);if(t.length){e.decorators=t}if(s)e.accessibility=s;if(i)e.readonly=i;if(a)e.override=a;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(e.start,_e.UnsupportedParameterPropertyKind)}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(u.colon)}const n=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"?"TSDeclareMethod":undefined;if(n&&!this.match(u.braceL)&&this.isLineTerminator()){this.finishNode(e,n);return}if(n==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(e.start,_e.DeclareFunctionHasImplementation);if(e.declare){super.parseFunctionBodyAndFinish(e,n,r);return}}super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkLVal(e.id,"function name",se)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(e.typeAnnotation.start,_e.UnexpectedTypeAnnotation)}})}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,r,n,s){if(!this.hasPrecedingLineBreak()&&this.match(u.bang)){this.state.exprAllowed=false;this.next();const n=this.startNodeAt(t,r);n.expression=e;return this.finishNode(n,"TSNonNullExpression")}if(this.isRelational("<")){const i=this.tsTryParseAndCatch(()=>{if(!n&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,r);if(e){return e}}const i=this.startNodeAt(t,r);i.callee=e;const a=this.tsParseTypeArguments();if(a){if(!n&&this.eat(u.parenL)){i.arguments=this.parseCallExpressionArguments(u.parenR,false);this.tsCheckForInvalidTypeCasts(i.arguments);i.typeParameters=a;if(s.optionalChainMember){i.optional=false}return this.finishCallExpression(i,s.optionalChainMember)}else if(this.match(u.backQuote)){const n=this.parseTaggedTemplateExpression(e,t,r,s);n.typeParameters=a;return n}}this.unexpected()});if(i)return i}return super.parseSubscript(e,t,r,n,s)}parseNewArguments(e){if(this.isRelational("<")){const t=this.tsTryParseAndCatch(()=>{const e=this.tsParseTypeArguments();if(!this.match(u.parenL))this.unexpected();return e});if(t){e.typeParameters=t}}super.parseNewArguments(e)}parseExprOp(e,t,r,n){if(nonNull(u._in.binop)>n&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const s=this.startNodeAt(t,r);s.expression=e;const i=this.tsTryNextParseConstantContext();if(i){s.typeAnnotation=i}else{s.typeAnnotation=this.tsNextThenParseType()}this.finishNode(s,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(s,t,r,n)}return super.parseExprOp(e,t,r,n)}checkReservedWord(e,t,r,n){}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(this.match(u.name)||this.match(u.star)||this.match(u.braceL)){let t=this.lookahead();if(this.isContextual("type")&&t.type!==u.comma&&!(t.type===u.name&&t.value==="from")&&t.type!==u.eq){e.importKind="type";this.next();t=this.lookahead()}if(this.match(u.name)&&t.type===u.eq){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(t.start,_e.TypeImportCannotSpecifyDefaultAndNamed)}return t}parseExport(e){if(this.match(u._import)){this.next();if(this.isContextual("type")&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(u.eq)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual("as")){const t=e;this.expectContextual("namespace");t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual("type")&&this.lookahead().type===u.braceL){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===u._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.state.value==="interface"){const e=this.tsParseDeclaration(this.startNode(),this.state.value,true);if(e)return e}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===u._const){const e=this.lookahead();if(e.type===u.name&&e.value==="enum"){const e=this.startNode();this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!e[t]})}parseClassMember(e,t,r){const n=["declare","private","public","protected","override","abstract","readonly"];this.tsParseModifiers(t,n.concat(["static"]));const s=()=>{const s=!!t.static;if(s&&this.eat(u.braceL)){if(this.tsHasSomeModifiers(t,n)){this.raise(this.state.pos,_e.StaticBlockCannotHaveModifier)}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,r,s)}};if(t.declare){this.tsInAmbientContext(s)}else{s()}}parseClassMemberWithIsStatic(e,t,r,n){const s=this.tsTryParseIndexSignature(t);if(s){e.body.push(s);if(t.abstract){this.raise(t.start,_e.IndexSignatureHasAbstract)}if(t.accessibility){this.raise(t.start,_e.IndexSignatureHasAccessibility,t.accessibility)}if(t.declare){this.raise(t.start,_e.IndexSignatureHasDeclare)}if(t.override){this.raise(t.start,_e.IndexSignatureHasOverride)}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(t.start,_e.NonAbstractClassHasAbstractMethod)}if(t.override){if(!r.hadSuperClass){this.raise(t.start,_e.OverrideNotInSubClass)}}super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){const t=this.eat(u.question);if(t)e.optional=true;if(e.readonly&&this.match(u.parenL)){this.raise(e.start,_e.ClassMethodHasReadonly)}if(e.declare&&this.match(u.parenL)){this.raise(e.start,_e.ClassMethodHasDeclare)}}parseExpressionStatement(e,t){const r=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return r||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,r,n){if(!n||!this.match(u.question)){return super.parseConditional(e,t,r,n)}const s=this.tryParse(()=>super.parseConditional(e,t,r));if(!s.node){n.start=s.error.pos||this.state.start;return e}if(s.error)this.state=s.failState;return s.node}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start;const r=this.state.startLoc;const n=this.eatContextual("declare");if(n&&(this.isContextual("declare")||!this.shouldParseExportDeclaration())){throw this.raise(this.state.start,_e.ExpectedAmbientAfterExportDeclare)}let s;if(this.match(u.name)){s=this.tsTryParseExportDeclaration()}if(!s){s=super.parseExportDeclaration(e)}if(s&&(s.type==="TSInterfaceDeclaration"||s.type==="TSTypeAliasDeclaration"||n)){e.exportKind="type"}if(s&&n){this.resetStartLocation(s,t,r);s.declare=true}return s}parseClassId(e,t,r){if((!t||r)&&this.isContextual("implements")){return}super.parseClassId(e,t,r,e.declare?se:H);const n=this.tsTryParseTypeParameters();if(n)e.typeParameters=n}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(u.bang)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(u.eq)){this.raise(this.state.start,_e.DeclareClassFieldHasInitializer)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(e.start,_e.PrivateElementHasAbstract)}if(e.accessibility){this.raise(e.start,_e.PrivateElementHasAccessibility,e.accessibility)}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,n,s,i){const a=this.tsTryParseTypeParameters();if(a&&s){this.raise(a.start,_e.ConstructorHasTypeParameters)}if(t.declare&&(t.kind==="get"||t.kind==="set")){this.raise(t.start,_e.DeclareAccessor,t.kind)}if(a)t.typeParameters=a;super.pushClassMethod(e,t,r,n,s,i)}pushClassPrivateMethod(e,t,r,n){const s=this.tsTryParseTypeParameters();if(s)t.typeParameters=s;super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.tsParseTypeArguments()}if(this.eatContextual("implements")){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&this.eat(u.bang)){e.definite=true}const r=this.tsTryParseTypeAnnotation();if(r){e.id.typeAnnotation=r;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(u.colon)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,r,n,s,i,a,o;let l;let p;let f;if(this.hasPlugin("jsx")&&(this.match(u.jsxTagStart)||this.isRelational("<"))){l=this.state.clone();p=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!p.error)return p.node;const{context:t}=this.state;if(t[t.length-1]===h.j_oTag){t.length-=2}else if(t[t.length-1]===h.j_expr){t.length-=1}}if(!((t=p)!=null&&t.error)&&!this.isRelational("<")){return super.parseMaybeAssign(...e)}let c;l=l||this.state.clone();const d=this.tryParse(t=>{var r,n;c=this.tsParseTypeParameters();const s=super.parseMaybeAssign(...e);if(s.type!=="ArrowFunctionExpression"||(r=s.extra)!=null&&r.parenthesized){t()}if(((n=c)==null?void 0:n.params.length)!==0){this.resetStartLocationFromNode(s,c)}s.typeParameters=c;return s},l);if(!d.error&&!d.aborted)return d.node;if(!p){assert(!this.hasPlugin("jsx"));f=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!f.error)return f.node}if((r=p)!=null&&r.node){this.state=p.failState;return p.node}if(d.node){this.state=d.failState;return d.node}if((n=f)!=null&&n.node){this.state=f.failState;return f.node}if((s=p)!=null&&s.thrown)throw p.error;if(d.thrown)throw d.error;if((i=f)!=null&&i.thrown)throw f.error;throw((a=p)==null?void 0:a.error)||d.error||((o=f)==null?void 0:o.error)}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.isRelational("<")){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(u.colon);if(this.canInsertSemicolon()||!this.match(u.arrow))e();return t});if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(e.start,_e.PatternIsOptional)}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}toAssignable(e,t=false){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...r){var n;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...r);return;case"TSAsExpression":case"TSTypeAssertion":if(!r[0]&&t!=="parenthesized expression"&&!((n=e.extra)!=null&&n.parenthesized)){this.raise(e.start,y.InvalidLhs,t);break}this.checkLVal(e.expression,"parenthesized expression",...r);return;case"TSNonNullExpression":this.checkLVal(e.expression,t,...r);return;default:super.checkLVal(e,t,...r);return}}parseBindingAtom(){switch(this.state.type){case u._this:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(u.parenL)){const r=super.parseMaybeDecoratorArguments(e);r.typeParameters=t;return r}this.unexpected(this.state.start,u.parenL)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(u.comma)&&this.lookaheadCharCode()===e){this.next()}else{super.checkCommaAfterRest(e)}}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.bang)||this.match(u.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.startthis.tsParseTypeArguments());if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const n=r[0];const s=n&&this.isThisParam(n);return s?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,...t){const r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,...t)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e){if(this.match(u._class)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual("interface")){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(e.start,_e.NonClassMethodPropertyHasAbstractModifer);this.next();return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,u._class)}}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(t.start,_e.AbstractMethodHasImplementation,e.type==="Identifier"?e.name:`[${this.input.slice(e.start,e.end)}]`)}}return t}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}});u.placeholder=new TokenType("%%",{startsExpr:true});const Fe=makeErrorTemplates({ClassNameIsRequired:"A class name is required."},d.SyntaxError);var Be=e=>(class extends e{parsePlaceholder(e){if(this.match(u.placeholder)){const t=this.startNode();this.next();this.assertNoSpace("Unexpected space in placeholder.");t.name=super.parseIdentifier(true);this.assertNoSpace("Unexpected space in placeholder.");this.expect(u.placeholder);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(u.placeholder,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){if(e.type!=="Placeholder")super.checkLVal(...arguments)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern";return e}return super.toAssignable(...arguments)}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual("let")){return false}if(e)return false;const t=this.lookahead();if(t.type===u.placeholder){return true}return false}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(u.colon)){const r=e;r.label=this.finishPlaceholder(t,"Identifier");this.next();r.body=this.parseStatement("label");return this.finishNode(r,"LabeledStatement")}this.semicolon();e.name=t.name;return this.finishPlaceholder(e,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(e,t,r){const n=t?"ClassDeclaration":"ClassExpression";this.next();this.takeDecorators(e);const s=this.state.strict;const i=this.parsePlaceholder("Identifier");if(i){if(this.match(u._extends)||this.match(u.placeholder)||this.match(u.braceL)){e.id=i}else if(r||!t){e.id=null;e.body=this.finishPlaceholder(i,"ClassBody");return this.finishNode(e,n)}else{this.unexpected(null,Fe.ClassNameIsRequired)}}else{this.parseClassId(e,t,r)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,s);return this.finishNode(e,n)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(u.comma)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const r=this.startNode();r.exported=t;e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(u._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(u.placeholder.label,this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter(e=>e.exported.type==="Placeholder")}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual("from")&&!this.match(u.comma)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const r=this.startNodeAtNode(t);r.local=t;this.finishNode(r,"ImportDefaultSpecifier");e.specifiers.push(r);if(this.eat(u.comma)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual("from");e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}});var ke=e=>(class extends e{parseV8Intrinsic(){if(this.match(u.modulo)){const e=this.state.start;const t=this.startNode();this.eat(u.modulo);if(this.match(u.name)){const e=this.parseIdentifierName(this.state.start);const r=this.createIdentifier(t,e);r.type="V8IntrinsicIdentifier";if(this.match(u.parenL)){return r}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}});function hasPlugin(e,t){return e.some(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}})}function getPluginOption(e,t,r){const n=e.find(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}});if(n&&Array.isArray(n)){return n[1][r]}return null}const Re=["minimal","smart","fsharp"];const Ke=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option,"+" whose value must be a boolean. If you are migrating from"+" Babylon/Babel 6 or want to use the old decorators proposal, you"+" should use the 'decorators-legacy' plugin instead of 'decorators'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")&&!Re.includes(getPluginOption(e,"pipelineOperator","proposal"))){throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: "+Re.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}}if(hasPlugin(e,"recordAndTuple")&&!Ke.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Ke.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const Ve={estree:T,jsx:De,flow:xe,typescript:Me,v8intrinsic:ke,placeholders:Be};const Xe=Object.keys(Ve);const Ye={sourceType:"script",sourceFilename:undefined,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false};function getOptions(e){const t={};for(const r of Object.keys(Ye)){t[r]=e&&e[r]!=null?e[r]:Ye[r]}return t}var Je=function isDigit(e){return e>=48&&e<=57};const Ue=new Set([103,109,115,105,121,117,100]);const We={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]};const qe={};qe.bin=[48,49];qe.oct=[...qe.bin,50,51,52,53,54,55];qe.dec=[...qe.oct,56,57];qe.hex=[...qe.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends ParserError{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(this.state))}this.state.lastTokEnd=this.state.end;this.state.lastTokStart=this.state.start;this.state.lastTokEndLoc=this.state.endLoc;this.state.lastTokStartLoc=this.state.startLoc;this.nextToken()}eat(e){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){c.lastIndex=e;const t=c.exec(this.input);return e+t[0].length}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(t,e));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(!e.preserveSpace)this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(u.eof);return}if(e===h.template){this.readTmplToken()}else{this.getTokenFromCode(this.codePointAtPos(this.state.pos))}}pushComment(e,t,r,n,s,i){const a={type:e?"CommentBlock":"CommentLine",value:t,start:r,end:n,loc:new SourceLocation(s,i)};if(this.options.tokens)this.pushToken(a);this.state.comments.push(a);this.addComment(a)}skipBlockComment(){let e;if(!this.isLookahead)e=this.state.curPosition();const t=this.state.pos;const r=this.input.indexOf("*/",this.state.pos+2);if(r===-1)throw this.raise(t,y.UnterminatedComment);this.state.pos=r+2;f.lastIndex=t;let n;while((n=f.exec(this.input))&&n.index=48&&t<=57){throw this.raise(this.state.pos,y.UnexpectedDigitAfterHash)}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(this.state.pos,t===123?y.RecordExpressionHashIncorrectStartSyntaxType:y.TupleExpressionHashIncorrectStartSyntaxType)}this.state.pos+=2;if(t===123){this.finishToken(u.braceHashL)}else{this.finishToken(u.bracketHashL)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(u.privateName,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(u.privateName,this.readWord1())}else{this.finishOp(u.hash,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(u.ellipsis)}else{++this.state.pos;this.finishToken(u.dot)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(u.slashAssign,2)}else{this.finishOp(u.slash,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos=48&&t<=57)){this.state.pos+=2;this.finishToken(u.questionDot)}else{++this.state.pos;this.finishToken(u.question)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(u.parenL);return;case 41:++this.state.pos;this.finishToken(u.parenR);return;case 59:++this.state.pos;this.finishToken(u.semi);return;case 44:++this.state.pos;this.finishToken(u.comma);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,y.TupleExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.bracketBarL)}else{++this.state.pos;this.finishToken(u.bracketL)}return;case 93:++this.state.pos;this.finishToken(u.bracketR);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,y.RecordExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.braceBarL)}else{++this.state.pos;this.finishToken(u.braceL)}return;case 125:++this.state.pos;this.finishToken(u.braceR);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(u.doubleColon,2)}else{++this.state.pos;this.finishToken(u.colon)}return;case 63:this.readToken_question();return;case 96:++this.state.pos;this.finishToken(u.backQuote);return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:case 62:this.readToken_lt_gt(e);return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(u.tilde,1);return;case 64:++this.state.pos;this.finishToken(u.at);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(this.state.pos,y.InvalidOrUnexpectedToken,String.fromCodePoint(e))}finishOp(e,t){const r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t;this.finishToken(e,r)}readRegexp(){const e=this.state.start+1;let t,r;let{pos:n}=this.state;for(;;++n){if(n>=this.length){throw this.raise(e,y.UnterminatedRegExp)}const s=this.input.charCodeAt(n);if(isNewLine(s)){throw this.raise(e,y.UnterminatedRegExp)}if(t){t=false}else{if(s===91){r=true}else if(s===93&&r){r=false}else if(s===47&&!r){break}t=s===92}}const s=this.input.slice(e,n);++n;let i="";while(n-1||i.indexOf(t)>-1||Number.isNaN(t)){this.raise(this.state.pos,y.UnexpectedNumericSeparator)}if(!n){this.raise(this.state.pos,y.NumericSeparatorInEscapeSequence)}++this.state.pos;continue}if(t>=97){u=t-97+10}else if(t>=65){u=t-65+10}else if(Je(t)){u=t-48}else{u=Infinity}if(u>=e){if(this.options.errorRecovery&&u<=9){u=0;this.raise(this.state.start+s+2,y.InvalidDigit,e)}else if(r){u=0;o=true}else{break}}++this.state.pos;l=l*e+u}if(this.state.pos===s||t!=null&&this.state.pos-s!==t||o){return null}return l}readRadixNumber(e){const t=this.state.pos;let r=false;this.state.pos+=2;const n=this.readInt(e);if(n==null){this.raise(this.state.start+2,y.InvalidDigit,e)}const s=this.input.charCodeAt(this.state.pos);if(s===110){++this.state.pos;r=true}else if(s===109){throw this.raise(t,y.InvalidDecimal)}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,y.NumberIdentifier)}if(r){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(u.bigint,e);return}this.finishToken(u.num,n)}readNumber(e){const t=this.state.pos;let r=false;let n=false;let s=false;let i=false;let a=false;if(!e&&this.readInt(10)===null){this.raise(t,y.InvalidNumber)}const o=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(o){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(t,y.StrictOctalLiteral);if(!this.state.strict){const r=e.indexOf("_");if(r>0){this.raise(r+t,y.ZeroDigitNumericSeparator)}}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!a){++this.state.pos;this.readInt(10);r=true;l=this.input.charCodeAt(this.state.pos)}if((l===69||l===101)&&!a){l=this.input.charCodeAt(++this.state.pos);if(l===43||l===45){++this.state.pos}if(this.readInt(10)===null){this.raise(t,y.InvalidOrMissingExponent)}r=true;i=true;l=this.input.charCodeAt(this.state.pos)}if(l===110){if(r||o){this.raise(t,y.InvalidBigIntLiteral)}++this.state.pos;n=true}if(l===109){this.expectPlugin("decimal",this.state.pos);if(i||o){this.raise(t,y.InvalidDecimal)}++this.state.pos;s=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,y.NumberIdentifier)}const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n){this.finishToken(u.bigint,p);return}if(s){this.finishToken(u.decimal,p);return}const f=a?parseInt(p,8):parseFloat(p);this.finishToken(u.num,f)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let r;if(t===123){const t=++this.state.pos;r=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(r!==null&&r>1114111){if(e){this.raise(t,y.InvalidCodePoint)}else{return null}}}else{r=this.readHexChar(4,false,e)}return r}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===92){t+=this.input.slice(r,this.state.pos);t+=this.readEscapedChar(false);r=this.state.pos}else if(n===8232||n===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(n)){throw this.raise(this.state.start,y.UnterminatedString)}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);this.finishToken(u.string,t)}readTmplToken(){let e="",t=this.state.pos,r=false;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedTemplate)}const n=this.input.charCodeAt(this.state.pos);if(n===96||n===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(u.template)){if(n===36){this.state.pos+=2;this.finishToken(u.dollarBraceL);return}else{++this.state.pos;this.finishToken(u.backQuote);return}}e+=this.input.slice(t,this.state.pos);this.finishToken(u.template,r?null:e);return}if(n===92){e+=this.input.slice(t,this.state.pos);const n=this.readEscapedChar(true);if(n===null){r=true}else{e+=n}t=this.state.pos}else if(isNewLine(n)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(n){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(n);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,t){if(this.state.strict&&!this.state.strictErrors.has(e)){this.raise(e,t)}else{this.state.strictErrors.set(e,t)}}readEscapedChar(e){const t=!e;const r=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(r){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:this.state.lineStart=this.state.pos;++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(e){return null}else{this.recordStrictModeErrors(this.state.pos-1,y.StrictNumericEscape)}default:if(r>=48&&r<=55){const t=this.state.pos-1;const r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let n=r[0];let s=parseInt(n,8);if(s>255){n=n.slice(0,-1);s=parseInt(n,8)}this.state.pos+=n.length-1;const i=this.input.charCodeAt(this.state.pos);if(n!=="0"||i===56||i===57){if(e){return null}else{this.recordStrictModeErrors(t,y.StrictNumericEscape)}}return String.fromCharCode(s)}return String.fromCharCode(r)}}readHexChar(e,t,r){const n=this.state.pos;const s=this.readInt(16,e,t,false);if(s===null){if(r){this.raise(n,y.InvalidEscapeSequence)}else{this.state.pos=n-1}}return s}readWord1(e){this.state.containsEsc=false;let t="";const r=this.state.pos;let n=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos{this.raise(r,t);let n=e.length-2;let s=e[n];while(s.canBeArrowParameterDeclaration()){s.clearDeclarationError(r);s=e[--n]}})}}function newParameterDeclarationScope(){return new ExpressionScope(He)}function newArrowHeadScope(){return new ArrowHeadParsingScope(Ge)}function newAsyncArrowScope(){return new ArrowHeadParsingScope($e)}function newExpressionScope(){return new ExpressionScope}class UtilParser extends Tokenizer{addExtra(e,t,r){if(!e)return;const n=e.extra=e.extra||{};n[t]=r}isRelational(e){return this.match(u.relational)&&this.state.value===e}expectRelational(e){if(this.isRelational(e)){this.next()}else{this.unexpected(null,u.relational)}}isContextual(e){return this.match(u.name)&&this.state.value===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;if(this.input.slice(e,r)===t){const e=this.input.charCodeAt(r);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)&&this.eat(u.name)}expectContextual(e,t){if(!this.eatContextual(e))this.unexpected(null,t)}canInsertSemicolon(){return this.match(u.eof)||this.match(u.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return p.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){return p.test(this.input.slice(this.state.end,this.nextTokenStart()))}isLineTerminator(){return this.eat(u.semi)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(u.semi))return;this.raise(this.state.lastTokEnd,y.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){if(this.state.start>this.state.lastTokEnd){this.raise(this.state.lastTokEnd,{code:d.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}}unexpected(e,t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){if(t instanceof TokenType){t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${t.label}"`}}throw this.raise(e!=null?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e)){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`)}return true}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e))){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:e},`This experimental syntax requires enabling one of the following parser plugin(s): '${e.join(", ")}'`)}}tryParse(e,t=this.state.clone()){const r={node:null};try{const n=e((e=null)=>{r.node=e;throw r});if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:n,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:n,error:null,thrown:false,aborted:false,failState:null}}catch(e){const n=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:n}}if(e===r){return{node:r.node,error:null,thrown:false,aborted:true,failState:n}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssign:r,doubleProto:n}=e;if(!t)return r>=0||n>=0;if(r>=0){this.unexpected(r)}if(n>=0){this.raise(n,y.DuplicateProto)}}isLiteralPropertyName(){return this.match(u.name)||!!this.state.type.keyword||this.match(u.string)||this.match(u.num)||this.match(u.bigint)||this.match(u.decimal)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const n=this.inModule;this.inModule=e;const s=this.scope;const i=this.getScopeHandler();this.scope=new i(this.raise.bind(this),this.inModule);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this.raise.bind(this));const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this.raise.bind(this));return()=>{this.state.labels=t;this.exportedIdentifiers=r;this.inModule=n;this.scope=s;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=we;if(this.hasPlugin("topLevelAwait")&&this.inModule){e|=Ne}this.scope.enter(j);this.prodParam.enter(e)}}class ExpressionErrors{constructor(){this.shorthandAssign=-1;this.doubleProto=-1}}class Node{constructor(e,t,r){this.type=void 0;this.start=void 0;this.end=void 0;this.loc=void 0;this.range=void 0;this.leadingComments=void 0;this.trailingComments=void 0;this.innerComments=void 0;this.extra=void 0;this.type="";this.start=t;this.end=0;this.loc=new SourceLocation(r);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}__clone(){const e=new Node;const t=Object.keys(this);for(let r=0,n=t.length;r{return e.type==="ParenthesizedExpression"?Qe(e.expression):e};class LValParser extends NodeUtils{toAssignable(e,t=false){var r,n;let s=undefined;if(e.type==="ParenthesizedExpression"||(r=e.extra)!=null&&r.parenthesized){s=Qe(e);if(t){if(s.type==="Identifier"){this.expressionScope.recordParenthesizedIdentifierError(e.start,y.InvalidParenthesizedAssignment)}else if(s.type!=="MemberExpression"){this.raise(e.start,y.InvalidParenthesizedAssignment)}}else{this.raise(e.start,y.InvalidParenthesizedAssignment)}}switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":break;case"ObjectExpression":e.type="ObjectPattern";for(let r=0,n=e.properties.length,s=n-1;rthis.parseExpressionBase(t))}return this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start;const r=this.state.startLoc;const n=this.parseMaybeAssign(e);if(this.match(u.comma)){const s=this.startNodeAt(t,r);s.expressions=[n];while(this.eat(u.comma)){s.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(s.expressions);return this.finishNode(s,"SequenceExpression")}return n}parseMaybeAssignDisallowIn(e,t,r){return this.disallowInAnd(()=>this.parseMaybeAssign(e,t,r))}parseMaybeAssignAllowIn(e,t,r){return this.allowInAnd(()=>this.parseMaybeAssign(e,t,r))}parseMaybeAssign(e,t,r){const n=this.state.start;const s=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,n,s)}return e}}let i;if(e){i=false}else{e=new ExpressionErrors;i=true}if(this.match(u.parenL)||this.match(u.name)){this.state.potentialArrowAt=this.state.start}let a=this.parseMaybeConditional(e,r);if(t){a=t.call(this,a,n,s)}if(this.state.type.isAssign){const t=this.startNodeAt(n,s);const r=this.state.value;t.operator=r;if(this.match(u.eq)){t.left=this.toAssignable(a,true);e.doubleProto=-1}else{t.left=a}if(e.shorthandAssign>=t.left.start){e.shorthandAssign=-1}this.checkLVal(a,"assignment expression");this.next();t.right=this.parseMaybeAssign();return this.finishNode(t,"AssignmentExpression")}else if(i){this.checkExpressionErrors(e,true)}return a}parseMaybeConditional(e,t){const r=this.state.start;const n=this.state.startLoc;const s=this.state.potentialArrowAt;const i=this.parseExprOps(e);if(this.shouldExitDescending(i,s)){return i}return this.parseConditional(i,r,n,t)}parseConditional(e,t,r,n){if(this.eat(u.question)){const n=this.startNodeAt(t,r);n.test=e;n.consequent=this.parseMaybeAssignAllowIn();this.expect(u.colon);n.alternate=this.parseMaybeAssign();return this.finishNode(n,"ConditionalExpression")}return e}parseExprOps(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const s=this.parseMaybeUnary(e);if(this.shouldExitDescending(s,n)){return s}return this.parseExprOp(s,t,r,-1)}parseExprOp(e,t,r,n){let s=this.state.type.binop;if(s!=null&&(this.prodParam.hasIn||!this.match(u._in))){if(s>n){const i=this.state.type;if(i===u.pipeline){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.state.inPipeline=true;this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,r);a.left=e;a.operator=this.state.value;const o=i===u.logicalOR||i===u.logicalAND;const l=i===u.nullishCoalescing;if(l){s=u.logicalAND.binop}this.next();if(i===u.pipeline&&this.getPluginOption("pipelineOperator","proposal")==="minimal"){if(this.match(u.name)&&this.state.value==="await"&&this.prodParam.hasAwait){throw this.raise(this.state.start,y.UnexpectedAwaitAfterPipelineBody)}}a.right=this.parseExprOpRightExpr(i,s);this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");const p=this.state.type;if(l&&(p===u.logicalOR||p===u.logicalAND)||o&&p===u.nullishCoalescing){throw this.raise(this.state.start,y.MixingCoalesceWithLogical)}return this.parseExprOp(a,t,r,n)}}return e}parseExprOpRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;switch(e){case u.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"smart":return this.withTopicPermittingContext(()=>{return this.parseSmartPipelineBody(this.parseExprOpBaseRightExpr(e,t),r,n)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(t)})}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),r,n,e.rightAssociative?t-1:t)}checkExponentialAfterUnary(e){if(this.match(u.exponent)){this.raise(e.argument.start,y.UnexpectedTokenUnaryExponentiation)}}parseMaybeUnary(e,t){const r=this.state.start;const n=this.state.startLoc;const s=this.isContextual("await");if(s&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r,n);if(!t)this.checkExponentialAfterUnary(e);return e}if(this.isContextual("module")&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak()){return this.parseModuleExpression()}const i=this.match(u.incDec);const a=this.startNode();if(this.state.type.prefix){a.operator=this.state.value;a.prefix=true;if(this.match(u._throw)){this.expectPlugin("throwExpressions")}const r=this.match(u._delete);this.next();a.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&r){const e=a.argument;if(e.type==="Identifier"){this.raise(a.start,y.StrictDelete)}else if(this.hasPropertyAsPrivateName(e)){this.raise(a.start,y.DeletePrivateField)}}if(!i){if(!t)this.checkExponentialAfterUnary(a);return this.finishNode(a,"UnaryExpression")}}const o=this.parseUpdate(a,i,e);if(s){const e=this.hasPlugin("v8intrinsic")?this.state.type.startsExpr:this.state.type.startsExpr&&!this.match(u.modulo);if(e&&!this.isAmbiguousAwait()){this.raiseOverwrite(r,this.hasPlugin("topLevelAwait")?y.AwaitNotInAsyncContext:y.AwaitNotInAsyncFunction);return this.parseAwait(r,n)}}return o}parseUpdate(e,t,r){if(t){this.checkLVal(e.argument,"prefix operation");return this.finishNode(e,"UpdateExpression")}const n=this.state.start;const s=this.state.startLoc;let i=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,false))return i;while(this.state.type.postfix&&!this.canInsertSemicolon()){const e=this.startNodeAt(n,s);e.operator=this.state.value;e.prefix=false;e.argument=i;this.checkLVal(i,"postfix operation");this.next();i=this.finishNode(e,"UpdateExpression")}return i}parseExprSubscripts(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const s=this.parseExprAtom(e);if(this.shouldExitDescending(s,n)){return s}return this.parseSubscripts(s,t,r)}parseSubscripts(e,t,r,n){const s={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,r,n,s);s.maybeAsyncArrow=false}while(!s.stop);return e}parseSubscript(e,t,r,n,s){if(!n&&this.eat(u.doubleColon)){return this.parseBind(e,t,r,n,s)}else if(this.match(u.backQuote)){return this.parseTaggedTemplateExpression(e,t,r,s)}let i=false;if(this.match(u.questionDot)){if(n&&this.lookaheadCharCode()===40){s.stop=true;return e}s.optionalChainMember=i=true;this.next()}if(!n&&this.match(u.parenL)){return this.parseCoverCallAndAsyncArrowHead(e,t,r,s,i)}else if(i||this.match(u.bracketL)||this.eat(u.dot)){return this.parseMember(e,t,r,s,i)}else{s.stop=true;return e}}parseMember(e,t,r,n,s){const i=this.startNodeAt(t,r);const a=this.eat(u.bracketL);i.object=e;i.computed=a;const o=!a&&this.match(u.privateName)&&this.state.value;const l=a?this.parseExpression():o?this.parsePrivateName():this.parseIdentifier(true);if(o!==false){if(i.object.type==="Super"){this.raise(t,y.SuperPrivateField)}this.classScope.usePrivateName(o,l.start)}i.property=l;if(a){this.expect(u.bracketR)}if(n.optionalChainMember){i.optional=s;return this.finishNode(i,"OptionalMemberExpression")}else{return this.finishNode(i,"MemberExpression")}}parseBind(e,t,r,n,s){const i=this.startNodeAt(t,r);i.object=e;i.callee=this.parseNoCallExpr();s.stop=true;return this.parseSubscripts(this.finishNode(i,"BindExpression"),t,r,n)}parseCoverCallAndAsyncArrowHead(e,t,r,n,s){const i=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,r);o.callee=e;if(n.maybeAsyncArrow){this.expressionScope.enter(newAsyncArrowScope());a=new ExpressionErrors}if(n.optionalChainMember){o.optional=s}if(s){o.arguments=this.parseCallExpressionArguments(u.parenR)}else{o.arguments=this.parseCallExpressionArguments(u.parenR,e.type==="Import",e.type!=="Super",o,a)}this.finishCallExpression(o,n.optionalChainMember);if(n.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!s){n.stop=true;this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),o)}else{if(n.maybeAsyncArrow){this.checkExpressionErrors(a,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=i;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,n){const s=this.startNodeAt(t,r);s.tag=e;s.quasi=this.parseTemplate(true);if(n.optionalChainMember){this.raise(t,y.OptionalChainingNoTemplate)}return this.finishNode(s,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(e.start,y.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument")}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(t.start,y.ImportCallSpreadArgument)}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,s){const i=[];let a=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(this.state.lastTokStart,y.ImportCallArgumentTrailingComma)}if(n){this.addExtra(n,"trailingComma",this.state.lastTokStart)}this.next();break}}i.push(this.parseExprListItem(false,s,{start:0},r))}this.state.inFSharpPipelineDirectBody=o;return i}shouldParseAsyncArrow(){return this.match(u.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;this.expect(u.arrow);this.parseArrowExpression(e,t.arguments,true,(r=t.extra)==null?void 0:r.trailingComma);return e}parseNoCallExpr(){const e=this.state.start;const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,true)}parseExprAtom(e){let t;switch(this.state.type){case u._super:return this.parseSuper();case u._import:t=this.startNode();this.next();if(this.match(u.dot)){return this.parseImportMetaProperty(t)}if(!this.match(u.parenL)){this.raise(this.state.lastTokStart,y.UnsupportedImport)}return this.finishNode(t,"Import");case u._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case u.name:{const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const r=this.parseIdentifier();if(!t&&r.name==="async"&&!this.canInsertSemicolon()){if(this.match(u._function)){this.next();return this.parseFunction(this.startNodeAtNode(r),undefined,true)}else if(this.match(u.name)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(r)}else{return r}}else if(this.match(u._do)){return this.parseDo(true)}}if(e&&this.match(u.arrow)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(r),[r],false)}return r}case u._do:{return this.parseDo(false)}case u.slash:case u.slashAssign:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case u.num:return this.parseNumericLiteral(this.state.value);case u.bigint:return this.parseBigIntLiteral(this.state.value);case u.decimal:return this.parseDecimalLiteral(this.state.value);case u.string:return this.parseStringLiteral(this.state.value);case u._null:return this.parseNullLiteral();case u._true:return this.parseBooleanLiteral(true);case u._false:return this.parseBooleanLiteral(false);case u.parenL:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case u.bracketBarL:case u.bracketHashL:{return this.parseArrayLike(this.state.type===u.bracketBarL?u.bracketBarR:u.bracketR,false,true,e)}case u.bracketL:{return this.parseArrayLike(u.bracketR,true,false,e)}case u.braceBarL:case u.braceHashL:{return this.parseObjectLike(this.state.type===u.braceBarL?u.braceBarR:u.braceR,false,true,e)}case u.braceL:{return this.parseObjectLike(u.braceR,false,false,e)}case u._function:return this.parseFunctionOrFunctionSent();case u.at:this.parseDecorators();case u._class:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case u._new:return this.parseNewOrNewTarget();case u.backQuote:return this.parseTemplate(false);case u.doubleColon:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(e.start,y.UnsupportedBind)}}case u.privateName:{const e=this.state.start;const r=this.state.value;t=this.parsePrivateName();if(this.match(u._in)){this.expectPlugin("privateIn");this.classScope.usePrivateName(r,t.start)}else if(this.hasPlugin("privateIn")){this.raise(this.state.start,y.PrivateInExpectedIn,r)}else{throw this.unexpected(e)}return t}case u.hash:{if(this.state.inPipeline){t=this.startNode();if(this.getPluginOption("pipelineOperator","proposal")!=="smart"){this.raise(t.start,y.PrimaryTopicRequiresSmartPipeline)}this.next();if(!this.primaryTopicReferenceIsAllowedInCurrentTopicContext()){this.raise(t.start,y.PrimaryTopicNotAllowed)}this.registerTopicReference();return this.finishNode(t,"PipelinePrimaryTopicReference")}}case u.relational:{if(this.state.value==="<"){const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}}}default:throw this.unexpected()}}parseAsyncArrowUnaryFunction(e){const t=this.startNodeAtNode(e);this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const r=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(this.state.pos,y.LineTerminatorBeforeArrow)}this.expect(u.arrow);this.parseArrowExpression(t,r,true);return t}parseDo(e){this.expectPlugin("doExpressions");if(e){this.expectPlugin("asyncDoExpressions")}const t=this.startNode();t.async=e;this.next();const r=this.state.labels;this.state.labels=[];if(e){this.prodParam.enter(Ne);t.body=this.parseBlock();this.prodParam.exit()}else{t.body=this.parseBlock()}this.state.labels=r;return this.finishNode(t,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(u.parenL)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,y.SuperNotAllowed)}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,y.UnexpectedSuper)}if(!this.match(u.parenL)&&!this.match(u.bracketL)&&!this.match(u.dot)){this.raise(e.start,y.UnsupportedSuper)}return this.finishNode(e,"Super")}parseMaybePrivateName(e){const t=this.match(u.privateName);if(t){if(!e){this.raise(this.state.start+1,y.UnexpectedPrivateField)}return this.parsePrivateName()}else{return this.parseIdentifier(true)}}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(this.state.start+1,new Position(this.state.curLine,this.state.start+1-this.state.lineStart));const r=this.state.value;this.next();e.id=this.createIdentifier(t,r);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;if(t.name==="function"&&r==="sent"){if(this.isContextual(r)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}}const n=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==r||n){this.raise(e.property.start,y.UnsupportedMetaProperty,t.name,r)}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual("meta")){if(!this.inModule){this.raise(t.start,m.ImportMetaOutsideModule)}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){this.addExtra(r,"rawValue",e);this.addExtra(r,"raw",this.input.slice(r.start,this.state.end));r.value=e;this.next();return this.finishNode(r,t)}parseLiteral(e,t){const r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start;const r=this.state.startLoc;let n;this.next();this.expressionScope.enter(newArrowHeadScope());const s=this.state.maybeInArrowParameters;const i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const a=this.state.start;const o=this.state.startLoc;const l=[];const p=new ExpressionErrors;const f={start:0};let c=true;let d;let y;while(!this.match(u.parenR)){if(c){c=false}else{this.expect(u.comma,f.start||null);if(this.match(u.parenR)){y=this.state.start;break}}if(this.match(u.ellipsis)){const e=this.state.start;const t=this.state.startLoc;d=this.state.start;l.push(this.parseParenItem(this.parseRestBinding(),e,t));this.checkCommaAfterRest(41);break}else{l.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem,f))}}const m=this.state.lastTokEnd;const T=this.state.lastTokEndLoc;this.expect(u.parenR);this.state.maybeInArrowParameters=s;this.state.inFSharpPipelineDirectBody=i;let h=this.startNodeAt(t,r);if(e&&this.shouldParseArrow()&&(h=this.parseArrow(h))){this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(h,l,false);return h}this.expressionScope.exit();if(!l.length){this.unexpected(this.state.lastTokStart)}if(y)this.unexpected(y);if(d)this.unexpected(d);this.checkExpressionErrors(p,true);if(f.start)this.unexpected(f.start);this.toReferencedListDeep(l,true);if(l.length>1){n=this.startNodeAt(a,o);n.expressions=l;this.finishNodeAt(n,"SequenceExpression",m,T)}else{n=l[0]}if(!this.options.createParenthesizedExpressions){this.addExtra(n,"parenthesized",true);this.addExtra(n,"parenStart",t);return n}const S=this.startNodeAt(t,r);S.expression=n;this.finishNode(S,"ParenthesizedExpression");return S}shouldParseArrow(){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(u.arrow)){return e}}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){this.raise(r.start,y.UnexpectedNewTarget)}return r}return this.parseNew(e)}parseNew(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(e.callee.start,y.ImportCallNotNewExpression)}else if(this.isOptionalChain(e.callee)){this.raise(this.state.lastTokEnd,y.OptionalChainingNoNew)}else if(this.eat(u.questionDot)){this.raise(this.state.start,y.OptionalChainingNoNew)}this.parseNewArguments(e);return this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(u.parenL)){const t=this.parseExprList(u.parenR);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}}parseTemplateElement(e){const t=this.startNode();if(this.state.value===null){if(!e){this.raise(this.state.start+1,y.InvalidEscapeSequenceTemplate)}}t.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,"\n"),cooked:this.state.value};this.next();t.tail=this.match(u.backQuote);return this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next();t.expressions=[];let r=this.parseTemplateElement(e);t.quasis=[r];while(!r.tail){this.expect(u.dollarBraceL);t.expressions.push(this.parseTemplateSubstitution());this.expect(u.braceR);t.quasis.push(r=this.parseTemplateElement(e))}this.next();return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const i=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}}const s=this.parsePropertyDefinition(t,n);if(!t){this.checkProto(s,r,i,n)}if(r&&!this.isObjectProperty(s)&&s.type!=="SpreadElement"){this.raise(s.start,y.InvalidRecordProperty)}if(s.shorthand){this.addExtra(s,"shorthand",true)}o.properties.push(s)}this.next();this.state.inFSharpPipelineDirectBody=s;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(r){l="RecordExpression"}return this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(u.bracketL)||this.match(u.star))}parsePropertyDefinition(e,t){let r=[];if(this.match(u.at)){if(this.hasPlugin("decorators")){this.raise(this.state.start,y.UnsupportedPropertyDecorator)}while(this.match(u.at)){r.push(this.parseDecorator())}}const n=this.startNode();let s=false;let i=false;let a=false;let o;let l;if(this.match(u.ellipsis)){if(r.length)this.unexpected();if(e){this.next();n.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(n,"RestElement")}return this.parseSpread()}if(r.length){n.decorators=r;r=[]}n.method=false;if(e||t){o=this.state.start;l=this.state.startLoc}if(!e){s=this.eat(u.star)}const p=this.state.containsEsc;const f=this.parsePropertyName(n,false);if(!e&&!s&&!p&&this.maybeAsyncOrAccessorProp(n)){const e=f.name;if(e==="async"&&!this.hasPrecedingLineBreak()){i=true;s=this.eat(u.star);this.parsePropertyName(n,false)}if(e==="get"||e==="set"){a=true;n.kind=e;if(this.match(u.star)){s=true;this.raise(this.state.pos,y.AccessorIsGenerator,e);this.next()}this.parsePropertyName(n,false)}}this.parseObjPropValue(n,o,l,s,i,e,a,t);return n}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e);const n=this.getObjectOrClassMethodParams(e);const s=e.start;if(n.length!==r){if(e.kind==="get"){this.raise(s,y.BadGetterArity)}else{this.raise(s,y.BadSetterArity)}}if(e.kind==="set"&&((t=n[n.length-1])==null?void 0:t.type)==="RestElement"){this.raise(s,y.BadSetterRestParameter)}}parseObjectMethod(e,t,r,n,s){if(s){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(r||t||this.match(u.parenL)){if(n)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,r,false,false,"ObjectMethod")}}parseObjectProperty(e,t,r,n,s){e.shorthand=false;if(this.eat(u.colon)){e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(s);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.start,true,false);if(n){e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else if(this.match(u.eq)&&s){if(s.shorthandAssign===-1){s.shorthandAssign=this.state.start}e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else{e.value=e.key.__clone()}e.shorthand=true;return this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,r,n,s,i,a,o){const l=this.parseObjectMethod(e,n,s,i,a)||this.parseObjectProperty(e,t,r,i,o);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(u.bracketL)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(u.bracketR)}else{const r=this.state.inPropertyName;this.state.inPropertyName=true;const n=this.state.type;e.key=n===u.num||n===u.string||n===u.bigint||n===u.decimal?this.parseExprAtom():this.parseMaybePrivateName(t);if(n!==u.privateName){e.computed=false}this.state.inPropertyName=r}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,r,n,s,i,a=false){this.initFunction(e,r);e.generator=!!t;const o=n;this.scope.enter(N|_|(a?F:0)|(s?M:0));this.prodParam.enter(functionFlags(r,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,i,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const i=this.startNode();this.next();i.elements=this.parseExprList(e,!r,n,i);this.state.inFSharpPipelineDirectBody=s;return this.finishNode(i,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(N|C);let s=functionFlags(r,false);if(!this.match(u.bracketL)&&this.prodParam.hasIn){s|=Le}this.prodParam.enter(s);this.initFunction(e,r);const i=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,n)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=i;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){e.params=this.toAssignableList(t,r,false)}parseFunctionBodyAndFinish(e,t,r=false){this.parseFunctionBody(e,false,r);this.finishNode(e,t)}parseFunctionBody(e,t,r=false){const n=t&&!this.match(u.braceL);this.expressionScope.enter(newExpressionScope());if(n){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const n=this.state.strict;const s=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|Ce);e.body=this.parseBlock(true,false,s=>{const i=!this.isSimpleParamList(e.params);if(s&&i){const t=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(t,y.IllegalLanguageModeDirective)}const a=!n&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!r&&!i,t,a);if(this.state.strict&&e.id){this.checkLVal(e.id,"function name",ae,undefined,undefined,a)}});this.prodParam.exit();this.expressionScope.exit();this.state.labels=s}}isSimpleParamList(e){for(let t=0,r=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(t,y.YieldBindingIdentifier);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(t,y.AwaitBindingIdentifier);return}else if(this.scope.inStaticBlock&&!this.scope.inNonArrowFunction){this.raise(t,y.AwaitBindingIdentifierInStaticBlock);return}else{this.expressionScope.recordAsyncArrowParametersError(t,y.AwaitBindingIdentifier)}}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(t,y.ArgumentsInClass);return}}if(r&&isKeyword(e)){this.raise(t,y.UnexpectedKeyword,e);return}const s=!this.state.strict?isReservedWord:n?isStrictBindReservedWord:isStrictReservedWord;if(s(e,this.inModule)){this.raise(t,y.UnexpectedReservedWord,e)}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e,t){const r=this.startNodeAt(e,t);this.expressionScope.recordParameterInitializerError(r.start,y.AwaitExpressionFormalParameter);if(this.eat(u.star)){this.raise(r.start,y.ObsoleteAwaitStar)}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){r.argument=this.parseMaybeUnary(null,true)}return this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(u.plusMin)||this.match(u.parenL)||this.match(u.bracketL)||this.match(u.backQuote)||this.match(u.regexp)||this.match(u.slash)||this.hasPlugin("v8intrinsic")&&this.match(u.modulo)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,y.YieldInParameter);this.next();let t=false;let r=null;if(!this.hasPrecedingLineBreak()){t=this.eat(u.star);switch(this.state.type){case u.semi:case u.eof:case u.braceR:case u.parenR:case u.bracketR:case u.braceBarR:case u.colon:case u.comma:if(!t)break;default:r=this.parseMaybeAssign()}}e.delegate=t;e.argument=r;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.getPluginOption("pipelineOperator","proposal")==="smart"){if(e.type==="SequenceExpression"){this.raise(t,y.PipelineHeadSequenceExpression)}}}parseSmartPipelineBody(e,t,r){this.checkSmartPipelineBodyEarlyErrors(e,t);return this.parseSmartPipelineBodyInStyle(e,t,r)}checkSmartPipelineBodyEarlyErrors(e,t){if(this.match(u.arrow)){throw this.raise(this.state.start,y.PipelineBodyNoArrow)}else if(e.type==="SequenceExpression"){this.raise(t,y.PipelineBodySequenceExpression)}}parseSmartPipelineBodyInStyle(e,t,r){const n=this.startNodeAt(t,r);const s=this.isSimpleReference(e);if(s){n.callee=e}else{if(!this.topicReferenceWasUsedInCurrentTopicContext()){this.raise(t,y.PipelineTopicUnused)}n.expression=e}return this.finishNode(n,s?"PipelineBareFunction":"PipelineTopicExpression")}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}withTopicPermittingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withTopicForbiddingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const r=Le&~t;if(r){this.prodParam.enter(t|Le);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const r=Le&t;if(r){this.prodParam.enter(t&~Le);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}primaryTopicReferenceIsAllowedInCurrentTopicContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentTopicContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const s=this.parseExprOp(this.parseMaybeUnary(),t,r,e);this.state.inFSharpPipelineDirectBody=n;return s}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(u.braceL);const t=this.initializeScopes(true);this.enterInitialScopes();const r=this.startNode();try{e.body=this.parseProgram(r,u.braceR,"module")}finally{t()}this.eat(u.braceR);return this.finishNode(e,"ModuleExpression")}}const Ze={kind:"loop"},et={kind:"switch"};const tt=0,rt=1,nt=2,st=4;const it=/[\uD800-\uDFFF]/u;const at=/in(?:stanceof)?/y;function babel7CompatTokens(e){{for(let t=0;t0){for(const[e]of Array.from(this.scope.undefinedExports)){const t=this.scope.undefinedExports.get(e);this.raise(t,y.ModuleExportUndefined,e)}}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e.expression;const r=this.startNodeAt(t.start,t.loc.start);const n=this.startNodeAt(e.start,e.loc.start);const s=this.input.slice(t.start,t.end);const i=r.value=s.slice(1,-1);this.addExtra(r,"raw",s);this.addExtra(r,"rawValue",i);n.value=this.finishNodeAt(r,"DirectiveLiteral",t.end,t.loc.end);return this.finishNodeAt(n,"Directive",e.end,e.loc.end)}parseInterpreterDirective(){if(!this.match(u.interpreterDirective)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual("let")){return false}return this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart();const r=this.codePointAtPos(t);if(r===92||r===91){return true}if(e)return false;if(r===123)return true;if(isIdentifierStart(r)){at.lastIndex=t;const e=at.exec(this.input);if(e!==null){const r=this.codePointAtPos(t+e[0].length);if(!isIdentifierChar(r)&&r!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(u.at)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type;const n=this.startNode();let s;if(this.isLet(e)){r=u._var;s="let"}switch(r){case u._break:case u._continue:return this.parseBreakContinueStatement(n,r.keyword);case u._debugger:return this.parseDebuggerStatement(n);case u._do:return this.parseDoStatement(n);case u._for:return this.parseForStatement(n);case u._function:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(this.state.start,y.StrictFunction)}else if(e!=="if"&&e!=="label"){this.raise(this.state.start,y.SloppyFunction)}}return this.parseFunctionStatement(n,false,!e);case u._class:if(e)this.unexpected();return this.parseClass(n,true);case u._if:return this.parseIfStatement(n);case u._return:return this.parseReturnStatement(n);case u._switch:return this.parseSwitchStatement(n);case u._throw:return this.parseThrowStatement(n);case u._try:return this.parseTryStatement(n);case u._const:case u._var:s=s||this.state.value;if(e&&s!=="var"){this.raise(this.state.start,y.UnexpectedLexicalDeclaration)}return this.parseVarStatement(n,s);case u._while:return this.parseWhileStatement(n);case u._with:return this.parseWithStatement(n);case u.braceL:return this.parseBlock();case u.semi:return this.parseEmptyStatement(n);case u._import:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case u._export:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(this.state.start,y.UnexpectedImportExport)}this.next();let e;if(r===u._import){e=this.parseImport(n);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(n);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(n);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(this.state.start,y.AsyncFunctionInSingleStatementContext)}this.next();return this.parseFunctionStatement(n,true,!e)}}}const i=this.state.value;const a=this.parseExpression();if(r===u.name&&a.type==="Identifier"&&this.eat(u.colon)){return this.parseLabeledStatement(n,i,a,e)}else{return this.parseExpressionStatement(n,a)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(e.start,m.ImportOutsideModule)}}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];if(t.length){e.decorators=t;this.resetStartLocationFromNode(e,t[0]);this.state.decoratorStack[this.state.decoratorStack.length-1]=[]}}canHaveLeadingDecorator(){return this.match(u._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(u.at)){const e=this.parseDecorator();t.push(e)}if(this.match(u._export)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,y.DecoratorExportClass)}}else if(!this.canHaveLeadingDecorator()){throw this.raise(this.state.start,y.UnexpectedLeadingDecorator)}}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start;const r=this.state.startLoc;let n;if(this.eat(u.parenL)){n=this.parseExpression();this.expect(u.parenR)}else{n=this.parseIdentifier(false);while(this.eat(u.dot)){const e=this.startNodeAt(t,r);e.object=n;e.property=this.parseIdentifier(true);e.computed=false;n=this.finishNode(e,"MemberExpression")}}e.expression=this.parseMaybeDecoratorArguments(n);this.state.decoratorStack.pop()}else{e.expression=this.parseExprSubscripts()}return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(u.parenL)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(u.parenR,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){const r=t==="break";this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,r?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){const r=t==="break";let n;for(n=0;nthis.parseStatement("do"));this.state.labels.pop();this.expect(u._while);e.test=this.parseHeaderExpression();this.eat(u.semi);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(Ze);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual("await")){t=this.state.lastTokStart}this.scope.enter(w);this.expect(u.parenL);if(this.match(u.semi)){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}const r=this.isContextual("let");const n=r&&this.isLetKeyword();if(this.match(u._var)||this.match(u._const)||n){const r=this.startNode();const s=n?"let":this.state.value;this.next();this.parseVar(r,true,s);this.finishNode(r,"VariableDeclaration");if((this.match(u._in)||this.isContextual("of"))&&r.declarations.length===1){return this.parseForIn(e,r,t)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)}const s=this.match(u.name)&&!this.state.containsEsc;const i=new ExpressionErrors;const a=this.parseExpression(true,i);const o=this.isContextual("of");if(o){if(r){this.raise(a.start,y.ForOfLet)}else if(t===-1&&s&&a.type==="Identifier"&&a.name==="async"){this.raise(a.start,y.ForOfAsync)}}if(o||this.match(u._in)){this.toAssignable(a,true);const r=o?"for-of statement":"for-in statement";this.checkLVal(a,r);return this.parseForIn(e,a,t)}else{this.checkExpressionErrors(i,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)}parseFunctionStatement(e,t,r){this.next();return this.parseFunction(e,rt|(r?0:nt),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(u._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(this.state.start,y.IllegalReturn)}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(u.braceL);this.state.labels.push(et);this.scope.enter(w);let r;for(let e;!this.match(u.braceR);){if(this.match(u._case)||this.match(u._default)){const n=this.match(u._case);if(r)this.finishNode(r,"SwitchCase");t.push(r=this.startNode());r.consequent=[];this.next();if(n){r.test=this.parseExpression()}else{if(e){this.raise(this.state.lastTokStart,y.MultipleDefaultsInSwitch)}e=true;r.test=null}this.expect(u.colon)}else{if(r){r.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(r)this.finishNode(r,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(this.state.lastTokEnd,y.NewlineAfterThrow)}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?L:0);this.checkLVal(e,"catch clause",Q);return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(u._catch)){const t=this.startNode();this.next();if(this.match(u.parenL)){this.expect(u.parenL);t.param=this.parseCatchClauseParam();this.expect(u.parenR)}else{t.param=null;this.scope.enter(w)}t.body=this.withTopicForbiddingContext(()=>this.parseBlock(false,false));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(u._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,y.NoCatchOrFinally)}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(Ze);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("while"));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(this.state.start,y.StrictWith)}this.next();e.object=this.parseHeaderExpression();e.body=this.withTopicForbiddingContext(()=>this.parseStatement("with"));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(const e of this.state.labels){if(e.name===t){this.raise(r.start,y.LabelRedeclaration,t)}}const s=this.state.type.isLoop?"loop":this.match(u._switch)?"switch":null;for(let t=this.state.labels.length-1;t>=0;t--){const r=this.state.labels[t];if(r.statementStart===e.start){r.statementStart=this.state.start;r.kind=s}else{break}}this.state.labels.push({name:t,kind:s,statementStart:this.state.start});e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label");this.state.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,r){const n=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(u.braceL);if(t){this.scope.enter(w)}this.parseBlockBody(n,e,false,u.braceR,r);if(t){this.scope.exit()}return this.finishNode(n,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,s){const i=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(i,t?a:undefined,r,n,s)}parseBlockOrModuleBlockBody(e,t,r,n,s){const i=this.state.strict;let a=false;let o=false;while(!this.match(n)){const n=this.parseStatement(null,r);if(t&&!o){if(this.isValidDirective(n)){const e=this.stmtToDirective(n);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(n)}if(s){s.call(this,a)}if(!i){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(u.semi)?null:this.parseExpression();this.semicolon(false);e.update=this.match(u.parenR)?null:this.parseExpression();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const n=this.match(u._in);this.next();if(n){if(r>-1)this.unexpected(r)}else{e.await=r>-1}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,y.ForInOfLoopInitializer,n?"for-in":"for-of")}else if(t.type==="AssignmentPattern"){this.raise(t.start,y.InvalidLhs,"for-loop")}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){const n=e.declarations=[];const s=this.hasPlugin("typescript");e.kind=r;for(;;){const e=this.startNode();this.parseVarId(e,r);if(this.eat(u.eq)){e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn()}else{if(r==="const"&&!(this.match(u._in)||this.isContextual("of"))){if(!s){this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Const declarations")}}else if(e.id.type!=="Identifier"&&!(t&&(this.match(u._in)||this.isContextual("of")))){this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Complex binding patterns")}e.init=null}n.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(u.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,"variable declaration",t==="var"?Z:Q,undefined,t!=="var")}parseFunction(e,t=tt,r=false){const n=t&rt;const s=t&nt;const i=!!n&&!(t&st);this.initFunction(e,r);if(this.match(u.star)&&s){this.raise(this.state.start,y.GeneratorInSingleStatementContext)}e.generator=this.eat(u.star);if(n){e.id=this.parseFunctionId(i)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(N);this.prodParam.enter(functionFlags(r,e.generator));if(!n){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")});this.prodParam.exit();this.scope.exit();if(n&&!s){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||this.match(u.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(u.parenL);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(u.parenR,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?Z:Q:ee,e.id.start)}parseClass(e,t,r){this.next();this.takeDecorators(e);const n=this.state.strict;this.state.strict=true;this.parseClassId(e,t,r);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,n);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(u.eq)||this.match(u.semi)||this.match(u.braceR)}isClassMethod(){return this.match(u.parenL)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const r={hadConstructor:false,hadSuperClass:e};let n=[];const s=this.startNode();s.body=[];this.expect(u.braceL);this.withTopicForbiddingContext(()=>{while(!this.match(u.braceR)){if(this.eat(u.semi)){if(n.length>0){throw this.raise(this.state.lastTokEnd,y.DecoratorSemicolon)}continue}if(this.match(u.at)){n.push(this.parseDecorator());continue}const e=this.startNode();if(n.length){e.decorators=n;this.resetStartLocationFromNode(e,n[0]);n=[]}this.parseClassMember(s,e,r);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(e.start,y.DecoratorConstructor)}}});this.state.strict=t;this.next();if(n.length){throw this.raise(this.state.start,y.TrailingDecorator)}this.classScope.exit();return this.finishNode(s,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(true);if(this.isClassMethod()){const n=t;n.kind="method";n.computed=false;n.key=r;n.static=false;this.pushClassMethod(e,n,false,false,false,false);return true}else if(this.isClassProperty()){const n=t;n.computed=false;n.key=r;n.static=false;e.body.push(this.parseClassProperty(n));return true}return false}parseClassMember(e,t,r){const n=this.isContextual("static");if(n){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(u.braceL)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){const s=t;const i=t;const a=t;const o=t;const l=s;const p=s;t.static=n;if(this.eat(u.star)){l.kind="method";const t=this.match(u.privateName);this.parseClassElementName(l);if(t){this.pushClassPrivateMethod(e,i,true,false);return}if(this.isNonstaticConstructor(s)){this.raise(s.key.start,y.ConstructorIsGenerator)}this.pushClassMethod(e,s,true,false,false,false);return}const f=this.state.containsEsc;const c=this.match(u.privateName);const d=this.parseClassElementName(t);const m=d.type==="Identifier";const T=this.state.start;this.parsePostMemberNameModifiers(p);if(this.isClassMethod()){l.kind="method";if(c){this.pushClassPrivateMethod(e,i,false,false);return}const n=this.isNonstaticConstructor(s);let a=false;if(n){s.kind="constructor";if(r.hadConstructor&&!this.hasPlugin("typescript")){this.raise(d.start,y.DuplicateConstructor)}if(n&&this.hasPlugin("typescript")&&t.override){this.raise(d.start,y.OverrideOnConstructor)}r.hadConstructor=true;a=r.hadSuperClass}this.pushClassMethod(e,s,false,false,n,a)}else if(this.isClassProperty()){if(c){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(m&&d.name==="async"&&!f&&!this.isLineTerminator()){const t=this.eat(u.star);if(p.optional){this.unexpected(T)}l.kind="method";const r=this.match(u.privateName);this.parseClassElementName(l);this.parsePostMemberNameModifiers(p);if(r){this.pushClassPrivateMethod(e,i,t,true)}else{if(this.isNonstaticConstructor(s)){this.raise(s.key.start,y.ConstructorIsAsync)}this.pushClassMethod(e,s,t,true,false,false)}}else if(m&&(d.name==="get"||d.name==="set")&&!f&&!(this.match(u.star)&&this.isLineTerminator())){l.kind=d.name;const t=this.match(u.privateName);this.parseClassElementName(s);if(t){this.pushClassPrivateMethod(e,i,false,false)}else{if(this.isNonstaticConstructor(s)){this.raise(s.key.start,y.ConstructorIsAccessor)}this.pushClassMethod(e,s,false,false,false,false)}this.checkGetterSetterParams(s)}else if(this.isLineTerminator()){if(c){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:r,start:n}=this.state;if((t===u.name||t===u.string)&&e.static&&r==="prototype"){this.raise(n,y.StaticPrototype)}if(t===u.privateName&&r==="constructor"){this.raise(n,y.ConstructorClassPrivateField)}return this.parsePropertyName(e,true)}parseClassStaticBlock(e,t){var r;this.expectPlugin("classStaticBlock",t.start);this.scope.enter(F|B|_);const n=this.state.labels;this.state.labels=[];this.prodParam.enter(we);const s=t.body=[];this.parseBlockOrModuleBlockBody(s,undefined,false,u.braceR);this.prodParam.exit();this.scope.exit();this.state.labels=n;e.body.push(this.finishNode(t,"StaticBlock"));if((r=t.decorators)!=null&&r.length){this.raise(t.start,y.DecoratorStaticBlock)}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(t.key.start,y.ConstructorClassField)}e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const r=this.parseClassPrivateProperty(t);e.body.push(r);this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),Se,r.key.start)}pushClassMethod(e,t,r,n,s,i){e.body.push(this.parseMethod(t,r,n,s,i,"ClassMethod",true))}pushClassPrivateMethod(e,t,r,n){const s=this.parseMethod(t,r,n,false,false,"ClassPrivateMethod",true);e.body.push(s);const i=s.kind==="get"?s.static?ye:Te:s.kind==="set"?s.static?me:he:Se;this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),i,s.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(F|_);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(we);e.value=this.eat(u.eq)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,r,n=H){if(this.match(u.name)){e.id=this.parseIdentifier();if(t){this.checkLVal(e.id,"class name",n)}}else{if(r||!t){e.id=null}else{this.unexpected(null,y.MissingClassName)}}}parseClassSuper(e){e.superClass=this.eat(u._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.eatExportStar(e);const s=n&&this.maybeParseExportNamespaceSpecifier(e);const i=r&&(!s||this.eat(u.comma));const a=t||n;if(n&&!s){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!n&&!o||s&&i&&!o){throw this.unexpected(null,u.braceL)}let l;if(a||o){l=false;this.parseExportFrom(e,a)}else{l=this.maybeParseExportDeclaration(e)}if(a||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(u._default)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,u.braceL)}eatExportStar(e){return this.eat(u.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(u.braceL)){if(!e.specifiers)e.specifiers=[];e.specifiers.push(...this.parseExportSpecifiers());e.source=null;e.declaration=null;return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual("async"))return false;const e=this.nextTokenStart();return!p.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(u._function)||t){this.next();if(t){this.next()}return this.parseFunction(e,rt|st,t)}else if(this.match(u._class)){return this.parseClass(e,true,true)}else if(this.match(u.at)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,y.DecoratorBeforeExport)}this.parseDecorators(false);return this.parseClass(e,true,true)}else if(this.match(u._const)||this.match(u._var)||this.isLet()){throw this.raise(this.state.start,y.UnsupportedDefaultExport)}else{const e=this.parseMaybeAssignAllowIn();this.semicolon();return e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(u.name)){const e=this.state.value;if(e==="async"&&!this.state.containsEsc||e==="let"){return false}if((e==="type"||e==="interface")&&!this.state.containsEsc){const e=this.lookahead();if(e.type===u.name&&e.value!=="from"||e.type===u.braceL){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(u._default)){return false}const e=this.nextTokenStart();const t=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||this.match(u.name)&&t){return true}if(this.match(u._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return t===34||t===39}return false}parseExportFrom(e,t){if(this.eatContextual("from")){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else{if(t){this.unexpected()}else{e.source=null}}this.semicolon()}shouldParseExportDeclaration(){if(this.match(u.at)){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){this.unexpected(this.state.start,y.DecoratorBeforeExport)}else{return true}}}return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t){if(r){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var s;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((s=t.extra)!=null&&s.parenthesized)){this.raise(t.start,y.ExportDefaultFromAsIdentifier)}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const r=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,r);if(!n&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(t.start,y.ExportBindingIsString,e.value,r)}else{this.checkReservedWord(e.name,e.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}const i=this.state.decoratorStack[this.state.decoratorStack.length-1];if(i.length){throw this.raise(e.start,y.UnsupportedDecoratorExport)}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){this.raise(e.start,t==="default"?y.DuplicateDefaultExport:y.DuplicateExport,t)}this.exportedIdentifiers.add(t)}parseExportSpecifiers(){const e=[];let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{this.expect(u.comma);if(this.eat(u.braceR))break}const r=this.startNode();r.local=this.parseModuleExportName();r.exported=this.eatContextual("as")?this.parseModuleExportName():r.local.__clone();e.push(this.finishNode(r,"ExportSpecifier"))}return e}parseModuleExportName(){if(this.match(u.string)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(it);if(t){this.raise(e.start,y.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16))}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(u.string)){const t=this.maybeParseDefaultImportSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.maybeParseStarImportSpecifier(e);if(r&&!n)this.parseNamedImportSpecifiers(e);this.expectContextual("from")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(u.string))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(u.name)}parseImportSpecifierLocal(e,t,r,n){t.local=this.parseIdentifier();this.checkLVal(t.local,n,Q);e.specifiers.push(this.finishNode(t,r))}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(u.braceR)){break}const r=this.startNode();const n=this.state.value;if(t.has(n)){this.raise(this.state.start,y.ModuleAttributesWithDuplicateKeys,n)}t.add(n);if(this.match(u.string)){r.key=this.parseStringLiteral(n)}else{r.key=this.parseIdentifier(true)}this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseModuleAttributes(){if(this.match(u._with)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const r=this.startNode();r.key=this.parseIdentifier(true);if(r.key.name!=="type"){this.raise(r.key.start,y.ModuleAttributeDifferentFromType,r.key.name)}if(t.has(r.key.name)){this.raise(r.key.start,y.ModuleAttributesWithDuplicateKeys,r.key.name)}t.add(r.key.name);this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseImportAssertions(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(u.braceL);const e=this.parseAssertEntries();this.eat(u.braceR);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(u.star)){const t=this.startNode();this.next();this.expectContextual("as");this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{if(this.eat(u.colon)){throw this.raise(this.state.start,y.DestructureNamedImport)}this.expect(u.comma);if(this.eat(u.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();const r=this.match(u.string);t.imported=this.parseModuleExportName();if(this.eatContextual("as")){t.local=this.parseIdentifier()}else{const{imported:e}=t;if(r){throw this.raise(t.start,y.ImportBindingIsString,e.value)}this.checkReservedWord(e.name,t.start,true,true);t.local=e.__clone()}this.checkLVal(t.local,"import specifier",Q);e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const r of e){const[e,n]=Array.isArray(r)?r:[r,{}];if(!t.has(e))t.set(e,n||{})}return t}function parse(e,t){var r;if(((r=t)==null?void 0:r.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const r=getParser(t,e);const n=r.parse();if(r.sawUnambiguousESM){return n}if(r.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{n.program.sourceType="script"}return n}catch(r){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw r}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const r=getParser(t,e);if(r.options.strictMode){r.state.strict=true}return r.getExpression()}function getParser(e,t){let r=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);r=getParserClass(e.plugins)}return new r(e,t)}const ot={};function getParserClass(e){const t=Xe.filter(t=>hasPlugin(e,t));const r=t.join("/");let n=ot[r];if(!n){n=Parser;for(const e of t){n=Ve[e](n)}ot[r]=n}return n}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=u},32057:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(83627);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},30645:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(69012);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},27150:()=>{},81318:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(21589);var s=r(4118);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(70649);var s=r(71695);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},64728:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(70649);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},70649:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(81318);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},47304:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(70649)},1700:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(20771);var s=r(79405);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(70649);var s=r(81437);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},26918:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(46233);function clone(e){return(0,n.default)(e,false)}},45843:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(46233);function cloneDeep(e){return(0,n.default)(e)}},79815:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(46233);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},46233:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(21589);var s=r(20771);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},94976:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(46233);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},47756:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(89792);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},89792:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},70148:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(92603);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},35924:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(92603);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},24290:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(92603);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},75444:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(24290);var s=r(35924);var i=r(70148);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},99412:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(19029);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},56517:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(21589);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},19029:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},16869:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(29006);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},26733:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(89992);var s=r(20771);var i=r(70649);var a=r(46233);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},38022:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(49369);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},29006:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(20771);var s=r(70649);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},61330:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(20771);var s=r(70649);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},42725:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(20771);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},49369:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(91342);var s=r(89701);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},67997:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(20771);var s=r(46233);var i=r(65764);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},2130:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(26733);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},60945:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(20771);var s=r(70649);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},4430:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(91342);var s=r(70649);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},29379:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(69012);var s=r(91342);var i=r(89701);var a=r(19029);var o=r(92160);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},76974:(e,t,r)=>{"use strict";var n=r(92160);var s=r(29379);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},5150:(e,t,r)=>{"use strict";var n=r(92160);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},21589:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(29379);r(5150);r(73529);r(2636);r(76974);r(71934);var s=r(92160);var i=r(88687);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},73529:(e,t,r)=>{"use strict";var n=r(92160);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},2636:(e,t,r)=>{"use strict";var n=r(92160);var s=r(88687);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},88687:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(92160);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},71934:(e,t,r)=>{"use strict";var n=r(92160);var s=r(29379);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},92160:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(69012);var s=r(4118);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},91306:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(51511);var i=r(55331);var a=r(1700);var o=r(32057);var l=r(30645);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(64728);var p=r(11057);var f=r(2929);var c=r(70649);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(47304);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(46233);var m=r(26918);var T=r(45843);var h=r(79815);var S=r(94976);var b=r(47756);var E=r(89792);var g=r(70148);var P=r(35924);var x=r(75444);var v=r(24290);var A=r(99412);var O=r(56517);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(19029);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(16869);var w=r(38022);var j=r(29006);var N=r(61330);var C=r(42725);var L=r(49369);var _=r(67997);var M=r(2130);var F=r(60945);var B=r(4430);var k=r(21589);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(56868);var K=r(53134);var V=r(41216);var X=r(39547);var Y=r(65764);var J=r(71695);var U=r(89992);var W=r(46979);var q=r(96019);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(13259);var G=r(34748);var $=r(69012);var H=r(38037);var Q=r(38825);var Z=r(27449);var ee=r(42639);var te=r(83627);var re=r(90632);var ne=r(90573);var se=r(56427);var ie=r(33165);var ae=r(96492);var oe=r(11770);var le=r(82944);var ue=r(91342);var pe=r(68391);var fe=r(42038);var ce=r(4118);var de=r(48686);var ye=r(20771);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(27150);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},56868:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(70649);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},71695:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(20771);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},53134:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(19029);var s=r(75444);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},41216:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(70649);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},39547:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(19029);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},65764:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(13259);var s=r(39547);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},81437:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(20771);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},89992:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(20771);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(89992);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},96019:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(21589);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(21589);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},92603:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},79405:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(70649);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},48686:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(42038);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},20771:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(34748);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},69012:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(34748);var s=r(11770);var i=r(90573);var a=r(21589);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},38037:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(89992);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},38825:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(20771);var s=r(42639);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},27449:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(11770);var s=r(20771);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},42639:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(20771);var s=r(19029);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},83627:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(21589);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},90632:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(21589);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(21589);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},56427:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},33165:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(20771);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},96492:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(20771);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},11770:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(21589);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},82944:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(91342);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},91342:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(89701);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},68391:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(20771);var s=r(19029);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},42038:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(20771);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},51511:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(48686);const s=(0,n.default)("React.Component");var i=s;t.default=i},4118:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(21589);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},1236:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(39652);const s=(0,n.template)(`\n async function wrapper() {\n var ITERATOR_ABRUPT_COMPLETION = false;\n var ITERATOR_HAD_ERROR_KEY = false;\n var ITERATOR_ERROR_KEY;\n try {\n for (\n var ITERATOR_KEY = GET_ITERATOR(OBJECT), STEP_KEY;\n ITERATOR_ABRUPT_COMPLETION = !(STEP_KEY = await ITERATOR_KEY.next()).done;\n ITERATOR_ABRUPT_COMPLETION = false\n ) {\n }\n } catch (err) {\n ITERATOR_HAD_ERROR_KEY = true;\n ITERATOR_ERROR_KEY = err;\n } finally {\n try {\n if (ITERATOR_ABRUPT_COMPLETION && ITERATOR_KEY.return != null) {\n await ITERATOR_KEY.return();\n }\n } finally {\n if (ITERATOR_HAD_ERROR_KEY) {\n throw ITERATOR_ERROR_KEY;\n }\n }\n }\n }\n`);function _default(e,{getAsyncIterator:t}){const{node:r,scope:i,parent:a}=e;const o=i.generateUidIdentifier("step");const l=n.types.memberExpression(o,n.types.identifier("value"));const u=r.left;let p;if(n.types.isIdentifier(u)||n.types.isPattern(u)||n.types.isMemberExpression(u)){p=n.types.expressionStatement(n.types.assignmentExpression("=",u,l))}else if(n.types.isVariableDeclaration(u)){p=n.types.variableDeclaration(u.kind,[n.types.variableDeclarator(u.declarations[0].id,l)])}let f=s({ITERATOR_HAD_ERROR_KEY:i.generateUidIdentifier("didIteratorError"),ITERATOR_ABRUPT_COMPLETION:i.generateUidIdentifier("iteratorAbruptCompletion"),ITERATOR_ERROR_KEY:i.generateUidIdentifier("iteratorError"),ITERATOR_KEY:i.generateUidIdentifier("iterator"),GET_ITERATOR:t,OBJECT:r.right,STEP_KEY:n.types.cloneNode(o)});f=f.body.body;const c=n.types.isLabeledStatement(a);const d=f[3].block.body;const y=d[0];if(c){d[0]=n.types.labeledStatement(a.label,y)}return{replaceParent:c,node:f,declar:p,loop:y}}},71694:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(20336);var s=r(79763);var i=r(42229);var a=r(39652);var o=r(1236);var l=(0,n.declare)(e=>{e.assertVersion(7);const t={Function(e){e.skip()},YieldExpression({node:e},t){if(!e.delegate)return;const r=t.addHelper("asyncGeneratorDelegate");e.argument=a.types.callExpression(r,[a.types.callExpression(t.addHelper("asyncIterator"),[e.argument]),t.addHelper("awaitAsyncGenerator")])}};const r={Function(e){e.skip()},ForOfStatement(e,{file:t}){const{node:r}=e;if(!r.await)return;const n=(0,o.default)(e,{getAsyncIterator:t.addHelper("asyncIterator")});const{declar:s,loop:i}=n;const l=i.body;e.ensureBlock();if(s){l.body.push(s)}l.body=l.body.concat(r.body.body);a.types.inherits(i,r);a.types.inherits(i.body,r.body);if(n.replaceParent){e.parentPath.replaceWithMultiple(n.node)}else{e.replaceWithMultiple(n.node)}}};const n={Function(e,n){if(!e.node.async)return;e.traverse(r,n);if(!e.node.generator)return;e.traverse(t,n);(0,s.default)(e,{wrapAsync:n.addHelper("wrapAsyncGenerator"),wrapAwait:n.addHelper("awaitAsyncGenerator")})}};return{name:"proposal-async-generator-functions",inherits:i.default,visitor:{Program(e,t){e.traverse(n,t)}}}});t.default=l},98060:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(20336);var s=r(34971);var i=(0,n.declare)((e,t)=>{e.assertVersion(7);return(0,s.createClassFeaturePlugin)({name:"proposal-class-properties",api:e,feature:s.FEATURES.fields,loose:t.loose,manipulateOptions(e,t){t.plugins.push("classProperties","classPrivateProperties")}})});t.default=i},10790:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(20336);var s=r(41852);var i=r(34971);function generateUid(e,t){const r="";let n;let s=1;do{n=e._generateUid(r,s);s++}while(t.has(n));return n}var a=(0,n.declare)(({types:e,template:t,assertVersion:r})=>{r("^7.12.0");return{name:"proposal-class-static-block",inherits:s.default,pre(){(0,i.enableFeature)(this.file,i.FEATURES.staticBlocks,false)},visitor:{ClassBody(r){const{scope:n}=r;const s=new Set;const i=r.get("body");for(const e of i){if(e.isPrivate()){s.add(e.get("key.id").node.name)}}for(const r of i){if(!r.isStaticBlock())continue;const i=generateUid(n,s);s.add(i);const a=e.privateName(e.identifier(i));r.replaceWith(e.classPrivateProperty(a,t.expression.ast`(() => { ${r.node.body} })()`,[],true))}}}}});t.default=a},91269:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(20336);var s=r(77130);var i=r(34971);var a=r(96659);var o=(0,n.declare)(({assertVersion:e,types:t,template:r},{loose:n})=>{e(7);const o=new WeakMap;const l=new WeakMap;function unshadow(e,t,r){while(r!==t){if(r.hasOwnBinding(e))r.rename(e);r=r.parent}}function injectToFieldInit(e,r,n=false){if(e.node.value){if(n){e.get("value").insertBefore(r)}else{e.get("value").insertAfter(r)}}else{e.set("value",t.unaryExpression("void",r))}}function injectInitialization(e,r){let n;let s;for(const t of e.get("body.body")){if((t.isClassProperty()||t.isClassPrivateProperty())&&!t.node.static){n=t;break}if(!s&&t.isClassMethod({kind:"constructor"})){s=t}}if(n){injectToFieldInit(n,r,true)}else{(0,i.injectInitialization)(e,s,[t.expressionStatement(r)])}}function getWeakSetId(e,n,s,i="",l){let u=o.get(s.node);if(!u){u=n.scope.generateUidIdentifier(`${i||""} brandCheck`);o.set(s.node,u);l(s,r.expression.ast`${t.cloneNode(u)}.add(this)`);const e=t.newExpression(t.identifier("WeakSet"),[]);(0,a.default)(e);n.insertBefore(r.ast`var ${u} = ${e}`)}return t.cloneNode(u)}return{name:"proposal-private-property-in-object",inherits:s.default,pre(){(0,i.enableFeature)(this.file,i.FEATURES.privateIn,n)},visitor:{BinaryExpression(e){const{node:n}=e;if(n.operator!=="in")return;if(!t.isPrivateName(n.left))return;const{name:s}=n.left.id;let i;const a=e.findParent(e=>{if(!e.isClass())return false;i=e.get("body.body").find(({node:e})=>t.isPrivate(e)&&e.key.id.name===s);return!!i});if(a.parentPath.scope.path.isPattern()){a.replaceWith(r.ast`(() => ${a.node})()`);return}if(i.isMethod()){if(i.node.static){if(a.node.id){unshadow(a.node.id.name,a.scope,e.scope)}else{a.set("id",e.scope.generateUidIdentifier("class"))}e.replaceWith(r.expression.ast` + `}},24574:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.get=get;t.minVersion=minVersion;t.getDependencies=getDependencies;t.ensure=ensure;t.default=t.list=void 0;var r=s(4267);var i=s(19761);var n=s(19749);function makePath(e){const t=[];for(;e.parentPath;e=e.parentPath){t.push(e.key);if(e.inList)t.push(e.listKey)}return t.reverse().join(".")}let a=undefined;function getHelperMetadata(e){const t=new Set;const s=new Set;const i=new Map;let a;let o;const l=[];const c=[];const p=[];const u={ImportDeclaration(e){const t=e.node.source.value;if(!n.default[t]){throw e.buildCodeFrameError(`Unknown helper ${t}`)}if(e.get("specifiers").length!==1||!e.get("specifiers.0").isImportDefaultSpecifier()){throw e.buildCodeFrameError("Helpers can only import a default value")}const s=e.node.specifiers[0].local;i.set(s,t);c.push(makePath(e))},ExportDefaultDeclaration(e){const t=e.get("declaration");if(t.isFunctionDeclaration()){if(!t.node.id){throw t.buildCodeFrameError("Helpers should give names to their exported func declaration")}a=t.node.id.name}o=makePath(e)},ExportAllDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},ExportNamedDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},Statement(e){if(e.isModuleDeclaration())return;e.skip()}};const h={Program(e){const t=e.scope.getAllBindings();Object.keys(t).forEach(e=>{if(e===a)return;if(i.has(t[e].identifier))return;s.add(e)})},ReferencedIdentifier(e){const s=e.node.name;const r=e.scope.getBinding(s,true);if(!r){t.add(s)}else if(i.has(r.identifier)){p.push(makePath(e))}},AssignmentExpression(e){const t=e.get("left");if(!(a in t.getBindingIdentifiers()))return;if(!t.isIdentifier()){throw t.buildCodeFrameError("Only simple assignments to exports are allowed in helpers")}const s=e.scope.getBinding(a);if(s!=null&&s.scope.path.isProgram()){l.push(makePath(e))}}};(0,r.default)(e.ast,u,e.scope);(0,r.default)(e.ast,h,e.scope);if(!o)throw new Error("Helpers must default-export something.");l.reverse();return{globals:Array.from(t),localBindingNames:Array.from(s),dependencies:i,exportBindingAssignments:l,exportPath:o,exportName:a,importBindingsReferences:p,importPaths:c}}function permuteHelperAST(e,t,s,n,a){if(n&&!s){throw new Error("Unexpected local bindings for module-based helpers.")}if(!s)return;const{localBindingNames:o,dependencies:l,exportBindingAssignments:c,exportPath:p,exportName:u,importBindingsReferences:h,importPaths:f}=t;const d={};l.forEach((e,t)=>{d[t.name]=typeof a==="function"&&a(e)||t});const y={};const m=new Set(n||[]);o.forEach(e=>{let t=e;while(m.has(t))t="_"+t;if(t!==e)y[e]=t});if(s.type==="Identifier"&&u!==s.name){y[u]=s.name}const g={Program(e){const t=e.get(p);const r=f.map(t=>e.get(t));const n=h.map(t=>e.get(t));const a=t.get("declaration");if(s.type==="Identifier"){if(a.isFunctionDeclaration()){t.replaceWith(a)}else{t.replaceWith(i.variableDeclaration("var",[i.variableDeclarator(s,a.node)]))}}else if(s.type==="MemberExpression"){if(a.isFunctionDeclaration()){c.forEach(t=>{const r=e.get(t);r.replaceWith(i.assignmentExpression("=",s,r.node))});t.replaceWith(a);e.pushContainer("body",i.expressionStatement(i.assignmentExpression("=",s,i.identifier(u))))}else{t.replaceWith(i.expressionStatement(i.assignmentExpression("=",s,a.node)))}}else{throw new Error("Unexpected helper format.")}Object.keys(y).forEach(t=>{e.scope.rename(t,y[t])});for(const e of r)e.remove();for(const e of n){const t=i.cloneNode(d[e.node.name]);e.replaceWith(t)}e.stop()}};(0,r.default)(e.ast,g,e.scope)}const o=Object.create(null);function loadHelper(e){if(!o[e]){const t=n.default[e];if(!t){throw Object.assign(new ReferenceError(`Unknown helper ${e}`),{code:"BABEL_HELPER_UNKNOWN",helper:e})}const s=()=>{const s={ast:i.file(t.ast())};if(a){return new a({filename:`babel-helper://${e}`},s)}return s};const r=getHelperMetadata(s());o[e]={build(e,t,i){const n=s();permuteHelperAST(n,r,t,i,e);return{nodes:n.ast.program.body,globals:r.globals}},minVersion(){return t.minVersion},dependencies:r.dependencies}}return o[e]}function get(e,t,s,r){return loadHelper(e).build(t,s,r)}function minVersion(e){return loadHelper(e).minVersion()}function getDependencies(e){return Array.from(loadHelper(e).dependencies.values())}function ensure(e,t){if(!a){a=t}loadHelper(e)}const l=Object.keys(n.default).map(e=>e.replace(/^_/,"")).filter(e=>e!=="__esModule");t.list=l;var c=get;t.default=c},26240:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const s=true;const r=true;const i=true;const n=true;const a=true;const o=true;class TokenType{constructor(e,t={}){this.label=void 0;this.keyword=void 0;this.beforeExpr=void 0;this.startsExpr=void 0;this.rightAssociative=void 0;this.isLoop=void 0;this.isAssign=void 0;this.prefix=void 0;this.postfix=void 0;this.binop=void 0;this.updateContext=void 0;this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.rightAssociative=!!t.rightAssociative;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop!=null?t.binop:null;this.updateContext=null}}const l=new Map;function createKeyword(e,t={}){t.keyword=e;const s=new TokenType(e,t);l.set(e,s);return s}function createBinop(e,t){return new TokenType(e,{beforeExpr:s,binop:t})}const c={num:new TokenType("num",{startsExpr:r}),bigint:new TokenType("bigint",{startsExpr:r}),decimal:new TokenType("decimal",{startsExpr:r}),regexp:new TokenType("regexp",{startsExpr:r}),string:new TokenType("string",{startsExpr:r}),name:new TokenType("name",{startsExpr:r}),privateName:new TokenType("#name",{startsExpr:r}),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:s,startsExpr:r}),bracketHashL:new TokenType("#[",{beforeExpr:s,startsExpr:r}),bracketBarL:new TokenType("[|",{beforeExpr:s,startsExpr:r}),bracketR:new TokenType("]"),bracketBarR:new TokenType("|]"),braceL:new TokenType("{",{beforeExpr:s,startsExpr:r}),braceBarL:new TokenType("{|",{beforeExpr:s,startsExpr:r}),braceHashL:new TokenType("#{",{beforeExpr:s,startsExpr:r}),braceR:new TokenType("}",{beforeExpr:s}),braceBarR:new TokenType("|}"),parenL:new TokenType("(",{beforeExpr:s,startsExpr:r}),parenR:new TokenType(")"),comma:new TokenType(",",{beforeExpr:s}),semi:new TokenType(";",{beforeExpr:s}),colon:new TokenType(":",{beforeExpr:s}),doubleColon:new TokenType("::",{beforeExpr:s}),dot:new TokenType("."),question:new TokenType("?",{beforeExpr:s}),questionDot:new TokenType("?."),arrow:new TokenType("=>",{beforeExpr:s}),template:new TokenType("template"),ellipsis:new TokenType("...",{beforeExpr:s}),backQuote:new TokenType("`",{startsExpr:r}),dollarBraceL:new TokenType("${",{beforeExpr:s,startsExpr:r}),at:new TokenType("@"),hash:new TokenType("#",{startsExpr:r}),interpreterDirective:new TokenType("#!..."),eq:new TokenType("=",{beforeExpr:s,isAssign:n}),assign:new TokenType("_=",{beforeExpr:s,isAssign:n}),slashAssign:new TokenType("_=",{beforeExpr:s,isAssign:n}),incDec:new TokenType("++/--",{prefix:a,postfix:o,startsExpr:r}),bang:new TokenType("!",{beforeExpr:s,prefix:a,startsExpr:r}),tilde:new TokenType("~",{beforeExpr:s,prefix:a,startsExpr:r}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:s,binop:9,prefix:a,startsExpr:r}),modulo:new TokenType("%",{beforeExpr:s,binop:10,startsExpr:r}),star:new TokenType("*",{binop:10}),slash:createBinop("/",10),exponent:new TokenType("**",{beforeExpr:s,binop:11,rightAssociative:true}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:s}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:s}),_do:createKeyword("do",{isLoop:i,beforeExpr:s}),_else:createKeyword("else",{beforeExpr:s}),_finally:createKeyword("finally"),_for:createKeyword("for",{isLoop:i}),_function:createKeyword("function",{startsExpr:r}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:s}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:s,prefix:a,startsExpr:r}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_while:createKeyword("while",{isLoop:i}),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:s,startsExpr:r}),_this:createKeyword("this",{startsExpr:r}),_super:createKeyword("super",{startsExpr:r}),_class:createKeyword("class",{startsExpr:r}),_extends:createKeyword("extends",{beforeExpr:s}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:r}),_null:createKeyword("null",{startsExpr:r}),_true:createKeyword("true",{startsExpr:r}),_false:createKeyword("false",{startsExpr:r}),_in:createKeyword("in",{beforeExpr:s,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:s,binop:7}),_typeof:createKeyword("typeof",{beforeExpr:s,prefix:a,startsExpr:r}),_void:createKeyword("void",{beforeExpr:s,prefix:a,startsExpr:r}),_delete:createKeyword("delete",{beforeExpr:s,prefix:a,startsExpr:r})};const p=/\r\n?|[\n\u2028\u2029]/;const u=new RegExp(p.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const h=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function isWhitespace(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return true;default:return false}}class Position{constructor(e,t){this.line=void 0;this.column=void 0;this.line=e;this.column=t}}class SourceLocation{constructor(e,t){this.start=void 0;this.end=void 0;this.filename=void 0;this.identifierName=void 0;this.start=e;this.end=t}}function getLineInfo(e,t){let s=1;let r=0;let i;u.lastIndex=0;while((i=u.exec(e))&&i.index0){r=t[--i]}if(r===null){return}for(let e=0;e0){r.trailingComments=n}else if(r.trailingComments!==undefined){r.trailingComments=[]}}processComment(e){if(e.type==="Program"&&e.body.length>0)return;const t=this.state.commentStack;let s,r,i,n,a;if(this.state.trailingComments.length>0){if(this.state.trailingComments[0].start>=e.end){i=this.state.trailingComments;this.state.trailingComments=[]}else{this.state.trailingComments.length=0}}else if(t.length>0){const s=last(t);if(s.trailingComments&&s.trailingComments[0].start>=e.end){i=s.trailingComments;delete s.trailingComments}}if(t.length>0&&last(t).start>=e.start){s=t.pop()}while(t.length>0&&last(t).start>=e.start){r=t.pop()}if(!r&&s)r=s;if(s){switch(e.type){case"ObjectExpression":this.adjustCommentsAfterTrailingComma(e,e.properties);break;case"ObjectPattern":this.adjustCommentsAfterTrailingComma(e,e.properties,true);break;case"CallExpression":this.adjustCommentsAfterTrailingComma(e,e.arguments);break;case"ArrayExpression":this.adjustCommentsAfterTrailingComma(e,e.elements);break;case"ArrayPattern":this.adjustCommentsAfterTrailingComma(e,e.elements,true);break}}else if(this.state.commentPreviousNode&&(this.state.commentPreviousNode.type==="ImportSpecifier"&&e.type!=="ImportSpecifier"||this.state.commentPreviousNode.type==="ExportSpecifier"&&e.type!=="ExportSpecifier")){this.adjustCommentsAfterTrailingComma(e,[this.state.commentPreviousNode])}if(r){if(r.leadingComments){if(r!==e&&r.leadingComments.length>0&&last(r.leadingComments).end<=e.start){e.leadingComments=r.leadingComments;delete r.leadingComments}else{for(n=r.leadingComments.length-2;n>=0;--n){if(r.leadingComments[n].end<=e.start){e.leadingComments=r.leadingComments.splice(0,n+1);break}}}}}else if(this.state.leadingComments.length>0){if(last(this.state.leadingComments).end<=e.start){if(this.state.commentPreviousNode){for(a=0;a0){e.leadingComments=this.state.leadingComments;this.state.leadingComments=[]}}else{for(n=0;ne.start){break}}const t=this.state.leadingComments.slice(0,n);if(t.length){e.leadingComments=t}i=this.state.leadingComments.slice(n);if(i.length===0){i=null}}}this.state.commentPreviousNode=e;if(i){if(i.length&&i[0].start>=e.start&&last(i).end<=e.end){e.innerComments=i}else{const t=i.findIndex(t=>t.end>=e.end);if(t>0){e.innerComments=i.slice(0,t);e.trailingComments=i.slice(t)}else{e.trailingComments=i}}}t.push(e)}}const f=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const d=makeErrorTemplates({AccessorIsGenerator:"A %0ter cannot be a generator.",ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accesor must not have any formal parameters.",BadSetterArity:"A 'set' accesor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accesor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:"'%0' require an initialization value.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:"`%0` has already been exported. Exported identifiers must be unique.",DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '%0' as '%1' } from 'some-module'`?",ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:"'%0' loop variable declaration may not have an initializer.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:"Unsyntactic %0.",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:'A string literal cannot be used as an imported binding.\n- Did you mean `import { "%0" as foo }`?',ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:"`import()` requires exactly %0.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidDecimal:"Invalid decimal.",InvalidDigit:"Expected number in radix %0.",InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:"Escape sequence in keyword %0.",InvalidIdentifier:"Invalid identifier %0.",InvalidLhs:"Invalid left-hand side in %0.",InvalidLhsBinding:"Binding invalid left-hand side in %0.",InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:"Unexpected character '%0'.",InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:"Private name #%0 is not defined.",InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:"Label '%0' is already declared.",LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:'Duplicate key "%0" is not allowed in module attributes.',ModuleExportNameHasLoneSurrogate:"An export name cannot include a lone surrogate, found '\\u%0'.",ModuleExportUndefined:"Export '%0' is not defined.",MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:"Primary Topic Reference found but pipelineOperator not passed 'smart' for 'proposal' option.",PrivateInExpectedIn:"Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`).",PrivateNameRedeclaration:"Duplicate private name #%0.",RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:"Assigning to '%0' in strict mode.",StrictEvalArgumentsBinding:"Binding '%0' in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:"Unexpected keyword '%0'.",UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Private names can only be used as the name of a class element (i.e. class C { #p = 42; #m() {} } )\n or a property of member expression (i.e. this.#p).",UnexpectedReservedWord:"Unexpected reserved word '%0'.",UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:"Unexpected token '%0'.",UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:"The only valid meta property for %0 is %0.%1.",UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",VarRedeclaration:"Identifier '%0' has already been declared.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},f.SyntaxError);const y=makeErrorTemplates({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},f.SourceTypeModuleError);function makeErrorTemplates(e,t){const s={};Object.keys(e).forEach(r=>{s[r]=Object.freeze({code:t,reasonCode:r,template:e[r]})});return Object.freeze(s)}class ParserError extends CommentsParser{getLocationForPosition(e){let t;if(e===this.state.start)t=this.state.startLoc;else if(e===this.state.lastTokStart)t=this.state.lastTokStartLoc;else if(e===this.state.end)t=this.state.endLoc;else if(e===this.state.lastTokEnd)t=this.state.lastTokEndLoc;else t=getLineInfo(this.input,e);return t}raise(e,{code:t,reasonCode:s,template:r},...i){return this.raiseWithData(e,{code:t,reasonCode:s},r,...i)}raiseOverwrite(e,{code:t,template:s},...r){const i=this.getLocationForPosition(e);const n=s.replace(/%(\d+)/g,(e,t)=>r[t])+` (${i.line}:${i.column})`;if(this.options.errorRecovery){const t=this.state.errors;for(let s=t.length-1;s>=0;s--){const r=t[s];if(r.pos===e){return Object.assign(r,{message:n})}else if(r.posr[t])+` (${i.line}:${i.column})`;return this._raise(Object.assign({loc:i,pos:e},t),n)}_raise(e,t){const s=new SyntaxError(t);Object.assign(s,e);if(this.options.errorRecovery){if(!this.isLookahead)this.state.errors.push(s);return s}else{throw s}}}var m=e=>(class extends e{parseRegExpLiteral({pattern:e,flags:t}){let s=null;try{s=new RegExp(e,t)}catch(e){}const r=this.estreeParseLiteral(s);r.regex={pattern:e,flags:t};return r}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const s=this.estreeParseLiteral(t);s.bigint=String(s.value||e);return s}parseDecimalLiteral(e){const t=null;const s=this.estreeParseLiteral(t);s.decimal=String(s.value||e);return s}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;const s=this.startNodeAt(e.start,e.loc.start);const r=this.startNodeAt(t.start,t.loc.start);r.value=t.extra.expressionValue;r.raw=t.extra.raw;s.expression=this.finishNodeAt(r,"Literal",t.end,t.loc.end);s.directive=t.extra.raw.slice(1,-1);return this.finishNodeAt(s,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}stmtToDirective(e){const t=super.stmtToDirective(e);const s=e.expression.value;this.addExtra(t.value,"expressionValue",s);return t}parseBlockBody(e,...t){super.parseBlockBody(e,...t);const s=e.directives.map(e=>this.directiveToStmt(e));e.body=s.concat(e.body);delete e.directives}pushClassMethod(e,t,s,r,i,n){this.parseMethod(t,s,r,i,n,"ClassMethod",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parseMaybePrivateName(...e){const t=super.parseMaybePrivateName(...e);if(t.type==="PrivateName"&&this.getPluginOption("estree","classFeatures")){return this.convertPrivateNameToPrivateIdentifier(t)}return t}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}return e.name}parseLiteral(e,t){const s=super.parseLiteral(e,t);s.raw=s.extra.raw;delete s.extra;return s}parseFunctionBody(e,t,s=false){super.parseFunctionBody(e,t,s);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,s,r,i,n,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,s,r,i,n,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(n==="ClassPrivateMethod"){e.computed=false}n="MethodDefinition";return this.finishNode(e,n)}parseClassProperty(...e){const t=super.parseClassProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition"}return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition";t.computed=false}return t}parseObjectMethod(e,t,s,r,i){const n=super.parseObjectMethod(e,t,s,r,i);if(n){n.type="Property";if(n.kind==="method")n.kind="init";n.shorthand=false}return n}parseObjectProperty(e,t,s,r,i){const n=super.parseObjectProperty(e,t,s,r,i);if(n){n.kind="init";n.type="Property"}return n}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){this.toAssignable(e.value,t);return e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){if(e.kind==="get"||e.kind==="set"){this.raise(e.key.start,d.PatternHasAccessor)}else if(e.method){this.raise(e.key.start,d.PatternHasMethod)}else{super.toAssignableObjectExpressionProp(e,...t)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];if(this.hasPlugin("importAssertions")){var s;e.attributes=(s=e.arguments[1])!=null?s:null}delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,s,r,i){const n=super.parseSubscript(e,t,s,r,i);if(i.optionalChainMember){if(n.type==="OptionalMemberExpression"||n.type==="OptionalCallExpression"){n.type=n.type.substring(8)}if(i.stop){const e=this.startNodeAtNode(n);e.expression=n;return this.finishNode(e,"ChainExpression")}}else if(n.type==="MemberExpression"||n.type==="CallExpression"){n.optional=false}return n}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}});class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const g={brace:new TokContext("{"),templateQuasi:new TokContext("${"),template:new TokContext("`",true)};c.braceR.updateContext=(e=>{if(e.length>1){e.pop()}});c.braceL.updateContext=c.braceHashL.updateContext=(e=>{e.push(g.brace)});c.dollarBraceL.updateContext=(e=>{e.push(g.templateQuasi)});c.backQuote.updateContext=(e=>{if(e[e.length-1]===g.template){e.pop()}else{e.push(g.template)}});let b="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let x="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const v=new RegExp("["+b+"]");const w=new RegExp("["+b+x+"]");b=x=null;const P=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const E=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let s=65536;for(let r=0,i=t.length;re)return false;s+=t[r+1];if(s>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&v.test(String.fromCharCode(e))}return isInAstralSet(e,P)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&w.test(String.fromCharCode(e))}return isInAstralSet(e,P)||isInAstralSet(e,E)}const A={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const T=new Set(A.keyword);const C=new Set(A.strict);const k=new Set(A.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||C.has(e)}function isStrictBindOnlyReservedWord(e){return k.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return T.has(e)}function isIteratorStart(e,t){return e===64&&t===64}const I=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function canBeReservedWord(e){return I.has(e)}const j=0,O=1,S=2,_=4,R=8,D=16,N=32,F=64,M=128,L=256,B=O|S|L;const U=1,W=2,q=4,H=8,z=16,V=64,K=128,$=256,G=512,J=1024,X=2048;const Y=U|W|H|K,Q=U|0|H|0,Z=U|0|q|0,ee=U|0|z|0,te=0|W|0|K,se=0|W|0|0,re=U|W|H|$,ie=0|0|0|J,ne=0|0|0|V,ae=U|0|0|V,oe=re|G,le=0|0|0|J,ce=X;const pe=4,ue=2,he=1,fe=ue|he;const de=ue|pe,ye=he|pe,me=ue,ge=he,be=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.scopeStack=[];this.undefinedExports=new Map;this.undefinedPrivateNames=new Map;this.raise=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&S)>0}get allowSuper(){return(this.currentThisScopeFlags()&D)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&N)>0}get inClass(){return(this.currentThisScopeFlags()&F)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&F)>0&&(e&S)===0}get inStaticBlock(){return(this.currentThisScopeFlags()&M)>0}get inNonArrowFunction(){return(this.currentThisScopeFlags()&S)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&S||!this.inModule&&e.flags&O)}declareName(e,t,s){let r=this.currentScope();if(t&H||t&z){this.checkRedeclarationInScope(r,e,t,s);if(t&z){r.functions.add(e)}else{r.lexical.add(e)}if(t&H){this.maybeExportDefined(r,e)}}else if(t&q){for(let i=this.scopeStack.length-1;i>=0;--i){r=this.scopeStack[i];this.checkRedeclarationInScope(r,e,t,s);r.var.add(e);this.maybeExportDefined(r,e);if(r.flags&B)break}}if(this.inModule&&r.flags&O){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.inModule&&e.flags&O){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,s,r){if(this.isRedeclaredInScope(e,t,s)){this.raise(r,d.VarRedeclaration,t)}}isRedeclaredInScope(e,t,s){if(!(s&U))return false;if(s&H){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(s&z){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&R&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const s=this.scopeStack[0];if(!s.lexical.has(t)&&!s.var.has(t)&&!s.functions.has(t)){this.undefinedExports.set(t,e.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&B){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(B|F)&&!(t&_)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,s){const r=this.currentScope();if(t&X){this.checkRedeclarationInScope(r,e,t,s);this.maybeExportDefined(r,e);r.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,s){if(super.isRedeclaredInScope(...arguments))return true;if(s&X){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}const xe=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]);const ve=makeErrorTemplates({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:"Cannot overwrite reserved type %0.",DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:"Boolean enum members need to be initialized. Use either `%0 = true,` or `%0 = false,` in enum `%1`.",EnumDuplicateMemberName:"Enum member names need to be unique, but the name `%0` has already been used before in enum `%1`.",EnumInconsistentMemberValues:"Enum `%0` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.",EnumInvalidExplicitType:"Enum type `%1` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidExplicitTypeUnknownSupplied:"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidMemberInitializerPrimaryType:"Enum `%0` has type `%2`, so the initializer of `%1` needs to be a %2 literal.",EnumInvalidMemberInitializerSymbolType:"Symbol enum members cannot be initialized. Use `%1,` in enum `%0`.",EnumInvalidMemberInitializerUnknownType:"The enum member initializer for `%1` needs to be a literal (either a boolean, number, or string) in enum `%0`.",EnumInvalidMemberName:"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%0`, consider using `%1`, in enum `%2`.",EnumNumberMemberNotInitialized:"Number enum members need to be initialized, e.g. `%1 = 1` in enum `%0`.",EnumStringMemberInconsistentlyInitailized:"String enum members need to consistently either all use initializers, or use no initializers, in enum `%0`.",GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",OptionalBindingPattern:"A binding pattern parameter cannot be optional in an implementation signature.",SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:"Unexpected reserved type %0.",UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:"`declare export %0` is not supported. Use `%1` instead.",UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."},f.SyntaxError);function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return(e.type===c.name||!!e.type.keyword)&&e.value!=="from"}const we={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const s=[];const r=[];for(let i=0;i(class extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==c.string&&e!==c.semi&&e!==c.interpreterDirective){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=Pe.exec(e.value);if(!t) ;else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||c.colon);const s=this.flowParseType();this.state.inType=t;return s}flowParsePredicate(){const e=this.startNode();const t=this.state.start;this.next();this.expectContextual("checks");if(this.state.lastTokStart>t+1){this.raise(t,ve.UnexpectedSpaceBetweenModuloChecks)}if(this.eat(c.parenL)){e.value=this.parseExpression();this.expect(c.parenR);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(c.colon);let t=null;let s=null;if(this.match(c.modulo)){this.state.inType=e;s=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(c.modulo)){s=this.flowParsePredicate()}}return[t,s]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const s=this.startNode();const r=this.startNode();if(this.isRelational("<")){s.typeParameters=this.flowParseTypeParameterDeclaration()}else{s.typeParameters=null}this.expect(c.parenL);const i=this.flowParseFunctionTypeParams();s.params=i.params;s.rest=i.rest;s.this=i._this;this.expect(c.parenR);[s.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser();r.typeAnnotation=this.finishNode(s,"FunctionTypeAnnotation");t.typeAnnotation=this.finishNode(r,"TypeAnnotation");this.resetEndLocation(t);this.semicolon();this.scope.declareName(e.id.name,ce,e.id.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(c._class)){return this.flowParseDeclareClass(e)}else if(this.match(c._function)){return this.flowParseDeclareFunction(e)}else if(this.match(c._var)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual("module")){if(this.match(c.dot)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(this.state.lastTokStart,ve.NestedDeclareModule)}return this.flowParseDeclareModule(e)}}else if(this.isContextual("type")){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual("opaque")){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual("interface")){return this.flowParseDeclareInterface(e)}else if(this.match(c._export)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,Z,e.id.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(j);if(this.match(c.string)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const s=t.body=[];this.expect(c.braceL);while(!this.match(c.braceR)){let e=this.startNode();if(this.match(c._import)){this.next();if(!this.isContextual("type")&&!this.match(c._typeof)){this.raise(this.state.lastTokStart,ve.InvalidNonTypeImportInDeclareModule)}this.parseImport(e)}else{this.expectContextual("declare",ve.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}s.push(e)}this.scope.exit();this.expect(c.braceR);this.finishNode(t,"BlockStatement");let r=null;let i=false;s.forEach(e=>{if(isEsModuleType(e)){if(r==="CommonJS"){this.raise(e.start,ve.AmbiguousDeclareModuleKind)}r="ES"}else if(e.type==="DeclareModuleExports"){if(i){this.raise(e.start,ve.DuplicateDeclareModuleExports)}if(r==="ES"){this.raise(e.start,ve.AmbiguousDeclareModuleKind)}r="CommonJS";i=true}});e.kind=r||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(c._export);if(this.eat(c._default)){if(this.match(c._function)||this.match(c._class)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(c._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value;const t=we[e];throw this.raise(this.state.start,ve.UnsupportedDeclareExportKind,e,t)}if(this.match(c._var)||this.match(c._function)||this.match(c._class)||this.isContextual("opaque")){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(c.star)||this.match(c.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque")){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual("exports");e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?ee:Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(c._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(c.comma))}if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(c.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(c.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(this.state.start,ve.UnexpectedReservedUnderscore)}}checkReservedType(e,t,s){if(!xe.has(e))return;this.raise(t,s?ve.AssignReservedType:ve.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.start,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(c.eq);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual("type");e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(c.colon)){e.supertype=this.flowParseTypeInitialiser(c.colon)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(c.eq)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.start;const s=this.startNode();const r=this.flowParseVariance();const i=this.flowParseTypeAnnotatableIdentifier();s.name=i.name;s.variance=r;s.bound=i.typeAnnotation;if(this.match(c.eq)){this.eat(c.eq);s.default=this.flowParseType()}else{if(e){this.raise(t,ve.MissingTypeParamDefault)}}return this.finishNode(s,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.isRelational("<")||this.match(c.jsxTagStart)){this.next()}else{this.unexpected()}let s=false;do{const e=this.flowParseTypeParameter(s);t.params.push(e);if(e.default){s=true}if(!this.isRelational(">")){this.expect(c.comma)}}while(!this.isRelational(">"));this.expectRelational(">");this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");const s=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.isRelational(">")){e.params.push(this.flowParseType());if(!this.isRelational(">")){this.expect(c.comma)}}this.state.noAnonFunctionType=s;this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");while(!this.isRelational(">")){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.isRelational(">")){this.expect(c.comma)}}this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual("interface");e.extends=[];if(this.eat(c._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(c.comma))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(c.num)||this.match(c.string)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,s){e.static=t;if(this.lookahead().type===c.colon){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(c.bracketR);e.value=this.flowParseTypeInitialiser();e.variance=s;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(c.bracketR);this.expect(c.bracketR);if(this.isRelational("<")||this.match(c.parenL)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(c.question)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(c.parenL);if(this.match(c._this)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(c.parenR)){this.expect(c.comma)}}while(!this.match(c.parenR)&&!this.match(c.ellipsis)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(c.parenR)){this.expect(c.comma)}}if(this.eat(c.ellipsis)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(c.parenR);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const s=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(s);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:s,allowProto:r,allowInexact:i}){const n=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let p=false;if(t&&this.match(c.braceBarL)){this.expect(c.braceBarL);o=c.braceBarR;l=true}else{this.expect(c.braceL);o=c.braceR;l=false}a.exact=l;while(!this.match(o)){let t=false;let n=null;let o=null;const u=this.startNode();if(r&&this.isContextual("proto")){const t=this.lookahead();if(t.type!==c.colon&&t.type!==c.question){this.next();n=this.state.start;e=false}}if(e&&this.isContextual("static")){const e=this.lookahead();if(e.type!==c.colon&&e.type!==c.question){this.next();t=true}}const h=this.flowParseVariance();if(this.eat(c.bracketL)){if(n!=null){this.unexpected(n)}if(this.eat(c.bracketL)){if(h){this.unexpected(h.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(u,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(u,t,h))}}else if(this.match(c.parenL)||this.isRelational("<")){if(n!=null){this.unexpected(n)}if(h){this.unexpected(h.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(u,t))}else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();if(t.type===c.name||t.type===c.string||t.type===c.num){e=this.state.value;this.next()}}const r=this.flowParseObjectTypeProperty(u,t,n,h,e,s,i!=null?i:!l);if(r===null){p=true;o=this.state.lastTokStart}else{a.properties.push(r)}}this.flowObjectTypeSemicolon();if(o&&!this.match(c.braceR)&&!this.match(c.braceBarR)){this.raise(o,ve.UnexpectedExplicitInexactInObject)}}this.expect(o);if(s){a.inexact=p}const u=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=n;return u}flowParseObjectTypeProperty(e,t,s,r,i,n,a){if(this.eat(c.ellipsis)){const t=this.match(c.comma)||this.match(c.semi)||this.match(c.braceR)||this.match(c.braceBarR);if(t){if(!n){this.raise(this.state.lastTokStart,ve.InexactInsideNonObject)}else if(!a){this.raise(this.state.lastTokStart,ve.InexactInsideExact)}if(r){this.raise(r.start,ve.InexactVariance)}return null}if(!n){this.raise(this.state.lastTokStart,ve.UnexpectedSpreadType)}if(s!=null){this.unexpected(s)}if(r){this.raise(r.start,ve.SpreadVariance)}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=s!=null;e.kind=i;let a=false;if(this.isRelational("<")||this.match(c.parenL)){e.method=true;if(s!=null){this.unexpected(s)}if(r){this.unexpected(r.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(i==="get"||i==="set"){this.flowCheckGetterSetterParams(e)}if(!n&&e.key.name==="constructor"&&e.value.this){this.raise(e.value.this.start,ve.ThisParamBannedInConstructor)}}else{if(i!=="init")this.unexpected();e.method=false;if(this.eat(c.question)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=r}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const s=e.start;const r=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.value.this.start,e.kind==="get"?ve.GetterMayNotHaveThisParam:ve.SetterMayNotHaveThisParam)}if(r!==t){if(e.kind==="get"){this.raise(s,d.BadGetterArity)}else{this.raise(s,d.BadSetterArity)}}if(e.kind==="set"&&e.value.rest){this.raise(s,d.BadSetterRestParameter)}}flowObjectTypeSemicolon(){if(!this.eat(c.semi)&&!this.eat(c.comma)&&!this.match(c.braceR)&&!this.match(c.braceBarR)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,s){e=e||this.state.start;t=t||this.state.startLoc;let r=s||this.flowParseRestrictedIdentifier(true);while(this.eat(c.dot)){const s=this.startNodeAt(e,t);s.qualification=r;s.id=this.flowParseRestrictedIdentifier(true);r=this.finishNode(s,"QualifiedTypeIdentifier")}return r}flowParseGenericType(e,t,s){const r=this.startNodeAt(e,t);r.typeParameters=null;r.id=this.flowParseQualifiedTypeIdentifier(e,t,s);if(this.isRelational("<")){r.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(r,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(c._typeof);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(c.bracketL);while(this.state.possuper.parseFunctionBody(e,true,s))}return super.parseFunctionBody(e,false,s)}parseFunctionBodyAndFinish(e,t,s=false){if(this.match(c.colon)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(e,t,s)}parseStatement(e,t){if(this.state.strict&&this.match(c.name)&&this.state.value==="interface"){const e=this.lookahead();if(e.type===c.name||isKeyword(e.value)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const s=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(s)){this.flowPragma=null}return s}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(c._class)||this.match(c.name)||this.match(c._function)||this.match(c._var)||this.match(c._export)){return this.flowParseDeclare(e)}}else if(this.match(c.name)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){if(this.match(c.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"||this.shouldParseEnums()&&this.state.value==="enum")){return false}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,s,r){if(!this.match(c.question))return e;if(r){const i=this.tryParse(()=>super.parseConditional(e,t,s));if(!i.node){r.start=i.error.pos||this.state.start;return e}if(i.error)this.state=i.failState;return i.node}this.expect(c.question);const i=this.state.clone();const n=this.state.noArrowAt;const a=this.startNodeAt(t,s);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[p,u]=this.getArrowLikeExpressions(o);if(l||u.length>0){const e=[...n];if(u.length>0){this.state=i;this.state.noArrowAt=e;for(let t=0;t1){this.raise(i.start,ve.AmbiguousConditionalArrow)}if(l&&p.length===1){this.state=i;this.state.noArrowAt=e.concat(p[0].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=n;this.expect(c.colon);a.test=e;a.consequent=o;a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(undefined,undefined,undefined));return this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(c.colon);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const s=[e];const r=[];while(s.length!==0){const e=s.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{r.push(e)}s.push(e.body)}else if(e.type==="ConditionalExpression"){s.push(e.consequent);s.push(e.alternate)}}if(t){r.forEach(e=>this.finishArrowValidation(e));return[r,[]]}return partition(r,e=>e.params.every(e=>this.isAssignable(e,true)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingComma,false);this.scope.enter(S|_);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let s;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);s=t();this.state.noArrowParamsConversionAt.pop()}else{s=t()}return s}parseParenItem(e,t,s){e=super.parseParenItem(e,t,s);if(this.eat(c.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(c.colon)){const r=this.startNodeAt(t,s);r.expression=e;r.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(r,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();this.next();if(this.match(c.braceL)){e.specifiers=this.parseExportSpecifiers();this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual("enum")){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual("type")&&this.lookahead().type===c.star){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const t=this.state.start;const s=super.maybeParseExportNamespaceSpecifier(e);if(s&&e.exportKind==="type"){this.unexpected(t)}return s}parseClassId(e,t,s){super.parseClassId(e,t,s);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}}parseClassMember(e,t,s){const r=this.state.start;if(this.isContextual("declare")){if(this.parseClassMemberFromModifier(e,t)){return}t.declare=true}super.parseClassMember(e,t,s);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(r,ve.DeclareClassElement)}else if(t.value){this.raise(t.value.start,ve.DeclareClassFieldInitializer)}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(this.state.pos,d.InvalidIdentifier,t)}this.finishToken(c.name,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(c.braceBarL,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(c.relational,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(c.questionDot,2)}return this.finishOp(c.question,1)}else if(isIteratorStart(e,t)){this.state.pos+=2;return this.readIterator()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":return true;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every((e,s)=>{return e.type!=="ObjectMethod"&&(s===t||e.type==="SpreadElement")&&this.isAssignable(e)})}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every(e=>this.isAssignable(e));case"AssignmentExpression":return e.operator==="=";case"ParenthesizedExpression":case"TypeCastExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return false}}toAssignable(e,t=false){if(e.type==="TypeCastExpression"){return super.toAssignable(this.typeCastToParameter(e),t)}else{return super.toAssignable(e,t)}}toAssignableList(e,t,s){for(let t=0;t1||!t)){this.raise(i.typeAnnotation.start,ve.TypeCastInPattern)}}return e}parseArrayLike(e,t,s,r){const i=super.parseArrayLike(e,t,s,r);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(i.elements)}return i}checkLVal(e,...t){if(e.type!=="TypeCastExpression"){return super.checkLVal(e,...t)}}parseClassProperty(e){if(this.match(c.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(c.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(c.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(c.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,s,r,i,n){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,s,r,i,n);if(t.params&&i){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,ve.ThisParamBannedInConstructor)}}else if(t.type==="MethodDefinition"&&i&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,ve.ThisParamBannedInConstructor)}}}pushClassPrivateMethod(e,t,s,r){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,s,r)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(c.comma))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const s=t[0];if(this.isThisParam(s)&&e.kind==="get"){this.raise(s.start,ve.GetterMayNotHaveThisParam)}else if(this.isThisParam(s)){this.raise(s.start,ve.SetterMayNotHaveThisParam)}}}parsePropertyName(e,t){const s=this.flowParseVariance();const r=super.parsePropertyName(e,t);e.variance=s;return r}parseObjPropValue(e,t,s,r,i,n,a,o){if(e.variance){this.unexpected(e.variance.start)}delete e.variance;let l;if(this.isRelational("<")&&!a){l=this.flowParseTypeParameterDeclaration();if(!this.match(c.parenL))this.unexpected()}super.parseObjPropValue(e,t,s,r,i,n,a,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(c.question)){if(e.type!=="Identifier"){this.raise(e.start,ve.OptionalBindingPattern)}if(this.isThisParam(e)){this.raise(e.start,ve.ThisParamMayNotBeOptional)}e.optional=true}if(this.match(c.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(e.start,ve.ThisParamAnnotationRequired)}if(this.match(c.eq)&&this.isThisParam(e)){this.raise(e.start,ve.ThisParamNoDefault)}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,s){const r=super.parseMaybeDefault(e,t,s);if(r.type==="AssignmentPattern"&&r.typeAnnotation&&r.right.startsuper.parseMaybeAssign(e,t,s),i);if(!n.error)return n.node;const{context:r}=this.state;if(r[r.length-1]===g.j_oTag){r.length-=2}else if(r[r.length-1]===g.j_expr){r.length-=1}}if((r=n)!=null&&r.error||this.isRelational("<")){var a,o;i=i||this.state.clone();let r;const l=this.tryParse(i=>{var n;r=this.flowParseTypeParameterDeclaration();const a=this.forwardNoArrowParamsConversionAt(r,()=>{const i=super.parseMaybeAssign(e,t,s);this.resetStartLocationFromNode(i,r);return i});if(a.type!=="ArrowFunctionExpression"&&(n=a.extra)!=null&&n.parenthesized){i()}const o=this.maybeUnwrapTypeCastExpression(a);o.typeParameters=r;this.resetStartLocationFromNode(o,r);return a},i);let c=null;if(l.node&&this.maybeUnwrapTypeCastExpression(l.node).type==="ArrowFunctionExpression"){if(!l.error&&!l.aborted){if(l.node.async){this.raise(r.start,ve.UnexpectedTypeParameterBeforeAsyncArrowFunction)}return l.node}c=l.node}if((a=n)!=null&&a.node){this.state=n.failState;return n.node}if(c){this.state=l.failState;return c}if((o=n)!=null&&o.thrown)throw n.error;if(l.thrown)throw l.error;throw this.raise(r.start,ve.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t,s)}parseArrow(e){if(this.match(c.colon)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const s=this.startNode();[s.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(c.arrow))this.unexpected();return s});if(t.thrown)return null;if(t.error)this.state=t.failState;e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(){return this.match(c.colon)||super.shouldParseArrow()}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,s){if(s&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t0){this.raise(e.params[t].start,ve.ThisParamMustBeFirst)}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,s,r){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const r=this.startNodeAt(t,s);r.callee=e;r.arguments=this.parseCallExpressionArguments(c.parenR,false);e=this.finishNode(r,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.isRelational("<")){const i=this.state.clone();const n=this.tryParse(e=>this.parseAsyncArrowWithTypeParameters(t,s)||e(),i);if(!n.error&&!n.aborted)return n.node;const a=this.tryParse(()=>super.parseSubscripts(e,t,s,r),i);if(a.node&&!a.error)return a.node;if(n.node){this.state=n.failState;return n.node}if(a.node){this.state=a.failState;return a.node}throw n.error||a.error}return super.parseSubscripts(e,t,s,r)}parseSubscript(e,t,s,r,i){if(this.match(c.questionDot)&&this.isLookaheadToken_lt()){i.optionalChainMember=true;if(r){i.stop=true;return e}this.next();const n=this.startNodeAt(t,s);n.callee=e;n.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(c.parenL);n.arguments=this.parseCallExpressionArguments(c.parenR,false);n.optional=true;return this.finishCallExpression(n,true)}else if(!r&&this.shouldParseTypes()&&this.isRelational("<")){const r=this.startNodeAt(t,s);r.callee=e;const n=this.tryParse(()=>{r.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew();this.expect(c.parenL);r.arguments=this.parseCallExpressionArguments(c.parenR,false);if(i.optionalChainMember)r.optional=false;return this.finishCallExpression(r,i.optionalChainMember)});if(n.node){if(n.error)this.state=n.failState;return n.node}}return super.parseSubscript(e,t,s,r,i)}parseNewArguments(e){let t=null;if(this.shouldParseTypes()&&this.isRelational("<")){t=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node}e.typeArguments=t;super.parseNewArguments(e)}parseAsyncArrowWithTypeParameters(e,t){const s=this.startNodeAt(e,t);this.parseFunctionParams(s);if(!this.parseArrow(s))return;return this.parseArrowExpression(s,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(c.braceBarR,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const s=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(this.state.pos,ve.UnterminatedFlowComment)}return s}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){this.unexpected(null,ve.NestedFlowComment)}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1){throw this.raise(this.state.pos-2,d.UnterminatedComment)}this.state.pos=e+3;return}super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const s=this.input.charCodeAt(t+e);const r=this.input.charCodeAt(t+e+1);if(s===58&&r===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(s===58&&r!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(this.state.pos,d.UnterminatedComment)}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:s}){this.raise(e,ve.EnumBooleanMemberNotInitialized,s,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:s}){const r=s[0].toUpperCase()+s.slice(1);this.raise(e,ve.EnumInvalidMemberName,s,r,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:s}){this.raise(e,ve.EnumDuplicateMemberName,s,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,ve.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:s}){return this.raise(e,s===null?ve.EnumInvalidExplicitTypeUnknownSupplied:ve.EnumInvalidExplicitType,t,s)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:s,memberName:r}){let i=null;switch(s){case"boolean":case"number":case"string":i=ve.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":i=ve.EnumInvalidMemberInitializerSymbolType;break;default:i=ve.EnumInvalidMemberInitializerUnknownType}return this.raise(e,i,t,r,s)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:s}){this.raise(e,ve.EnumNumberMemberNotInitialized,t,s)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,ve.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start;const t=()=>this.match(c.comma)||this.match(c.braceR);switch(this.state.type){case c.num:{const s=this.parseNumericLiteral(this.state.value);if(t()){return{type:"number",pos:s.start,value:s}}return{type:"invalid",pos:e}}case c.string:{const s=this.parseStringLiteral(this.state.value);if(t()){return{type:"string",pos:s.start,value:s}}return{type:"invalid",pos:e}}case c._true:case c._false:{const s=this.parseBooleanLiteral(this.match(c._true));if(t()){return{type:"boolean",pos:s.start,value:s}}return{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;const t=this.parseIdentifier(true);const s=this.eat(c.eq)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:s}}flowEnumCheckExplicitTypeMismatch(e,t,s){const{explicitType:r}=t;if(r===null){return}if(r!==s){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const s=new Set;const r={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let i=false;while(!this.match(c.braceR)){if(this.eat(c.ellipsis)){i=true;break}const n=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.flowEnumErrorInvalidMemberName(a.start,{enumName:e,memberName:l})}if(s.has(l)){this.flowEnumErrorDuplicateMemberName(a.start,{enumName:e,memberName:l})}s.add(l);const p={enumName:e,explicitType:t,memberName:l};n.id=a;switch(o.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"boolean");n.init=o.value;r.booleanMembers.push(this.finishNode(n,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"number");n.init=o.value;r.numberMembers.push(this.finishNode(n,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"string");n.init=o.value;r.stringMembers.push(this.finishNode(n,"EnumStringMember"));break}case"invalid":{throw this.flowEnumErrorInvalidMemberInitializer(o.pos,p)}case"none":{switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.pos,p);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.pos,p);break;default:r.defaultedMembers.push(this.finishNode(n,"EnumDefaultedMember"))}}}if(!this.match(c.braceR)){this.expect(c.comma)}}return{members:r,hasUnknownMembers:i}}flowEnumStringMembers(e,t,{enumName:s}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:s})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:s})}return e}}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual("of")){if(!this.match(c.name)){throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t})}return t}return null}flowEnumBody(e,{enumName:t,nameLoc:s}){const r=this.flowEnumParseExplicitType({enumName:t});this.expect(c.braceL);const{members:i,hasUnknownMembers:n}=this.flowEnumMembers({enumName:t,explicitType:r});e.hasUnknownMembers=n;switch(r){case"boolean":e.explicitType=true;e.members=i.booleanMembers;this.expect(c.braceR);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=i.numberMembers;this.expect(c.braceR);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(c.braceR);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=i.defaultedMembers;this.expect(c.braceR);return this.finishNode(e,"EnumSymbolBody");default:{const r=()=>{e.members=[];this.expect(c.braceR);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const n=i.booleanMembers.length;const a=i.numberMembers.length;const o=i.stringMembers.length;const l=i.defaultedMembers.length;if(!n&&!a&&!o&&!l){return r()}else if(!n&&!a){e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(c.braceR);return this.finishNode(e,"EnumStringBody")}else if(!a&&!o&&n>=l){for(const e of i.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.booleanMembers;this.expect(c.braceR);return this.finishNode(e,"EnumBooleanBody")}else if(!n&&!o&&a>=l){for(const e of i.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.numberMembers;this.expect(c.braceR);return this.finishNode(e,"EnumNumberBody")}else{this.flowEnumErrorInconsistentMemberValues(s,{enumName:t});return r()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start});return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}});const Ae={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"};class State{constructor(){this.strict=void 0;this.curLine=void 0;this.startLoc=void 0;this.endLoc=void 0;this.errors=[];this.potentialArrowAt=-1;this.noArrowAt=[];this.noArrowParamsConversionAt=[];this.maybeInArrowParameters=false;this.inPipeline=false;this.inType=false;this.noAnonFunctionType=false;this.inPropertyName=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.decoratorStack=[[]];this.comments=[];this.trailingComments=[];this.leadingComments=[];this.commentStack=[];this.commentPreviousNode=null;this.pos=0;this.lineStart=0;this.type=c.eof;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.lastTokEnd=0;this.context=[g.brace];this.exprAllowed=true;this.containsEsc=false;this.strictErrors=new Map;this.tokensLength=0}init(e){this.strict=e.strictMode===false?false:e.sourceType==="module";this.curLine=e.startLine;this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new Position(this.curLine,this.pos-this.lineStart)}clone(e){const t=new State;const s=Object.keys(this);for(let r=0,i=s.length;r.",MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"},f.SyntaxError);g.j_oTag=new TokContext("...",true);c.jsxName=new TokenType("jsxName");c.jsxText=new TokenType("jsxText",{beforeExpr:true});c.jsxTagStart=new TokenType("jsxTagStart",{startsExpr:true});c.jsxTagEnd=new TokenType("jsxTagEnd");c.jsxTagStart.updateContext=(e=>{e.push(g.j_expr);e.push(g.j_oTag)});function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var Ie=e=>(class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,ke.UnterminatedJsxContent)}const s=this.input.charCodeAt(this.state.pos);switch(s){case 60:case 123:if(this.state.pos===this.state.start){if(s===60&&this.state.exprAllowed){++this.state.pos;return this.finishToken(c.jsxTagStart)}return super.getTokenFromCode(s)}e+=this.input.slice(t,this.state.pos);return this.finishToken(c.jsxText,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(s)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let s;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;s=e?"\n":"\r\n"}else{s=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return s}jsxReadString(e){let t="";let s=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,d.UnterminatedString)}const r=this.input.charCodeAt(this.state.pos);if(r===e)break;if(r===38){t+=this.input.slice(s,this.state.pos);t+=this.jsxReadEntity();s=this.state.pos}else if(isNewLine(r)){t+=this.input.slice(s,this.state.pos);t+=this.jsxReadNewLine(false);s=this.state.pos}else{++this.state.pos}}t+=this.input.slice(s,this.state.pos++);return this.finishToken(c.string,t)}jsxReadEntity(){let e="";let t=0;let s;let r=this.input[this.state.pos];const i=++this.state.pos;while(this.state.pos0}get hasYield(){return(this.currentFlags()&Oe)>0}get hasReturn(){return(this.currentFlags()&_e)>0}get hasIn(){return(this.currentFlags()&Re)>0}}function functionFlags(e,t){return(e?Se:0)|(t?Oe:0)}function nonNull(e){if(e==null){throw new Error(`Unexpected ${e} value.`)}return e}function assert(e){if(!e){throw new Error("Assert fail")}}const De=makeErrorTemplates({AbstractMethodHasImplementation:"Method '%0' cannot have an implementation because it is marked abstract.",AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:"'declare' is not allowed in %0ters.",DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:"Accessibility modifier already seen.",DuplicateModifier:"Duplicate modifier: '%0'.",EmptyHeritageClauseType:"'%0' list cannot be empty.",EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",IncompatibleModifiers:"'%0' modifier cannot be used with '%1' modifier.",IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:"Index signatures cannot have an accessibility modifier ('%0').",IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InvalidModifierOnTypeMember:"'%0' modifier cannot appear on a type member.",InvalidModifiersOrder:"'%0' modifier must precede '%1' modifier.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:"Private elements cannot have an accessibility modifier ('%0').",ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got %0."},f.SyntaxError);function keywordTypeFromName(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return undefined}}function tsIsAccessModifier(e){return e==="private"||e==="public"||e==="protected"}var Ne=e=>(class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return this.match(c.name)}tsTokenCanFollowModifier(){return(this.match(c.bracketL)||this.match(c.braceL)||this.match(c.star)||this.match(c.ellipsis)||this.match(c.privateName)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e){if(!this.match(c.name)){return undefined}const t=this.state.value;if(e.indexOf(t)!==-1&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return t}return undefined}tsParseModifiers(e,t,s,r){const i=(t,s,r,i)=>{if(s===r&&e[i]){this.raise(t,De.InvalidModifiersOrder,r,i)}};const n=(t,s,r,i)=>{if(e[r]&&s===i||e[i]&&s===r){this.raise(t,De.IncompatibleModifiers,r,i)}};for(;;){const a=this.state.start;const o=this.tsParseModifier(t.concat(s!=null?s:[]));if(!o)break;if(tsIsAccessModifier(o)){if(e.accessibility){this.raise(a,De.DuplicateAccessibilityModifier)}else{i(a,o,o,"override");i(a,o,o,"static");i(a,o,o,"readonly");e.accessibility=o}}else{if(Object.hasOwnProperty.call(e,o)){this.raise(a,De.DuplicateModifier,o)}else{i(a,o,"static","readonly");i(a,o,"static","override");i(a,o,"override","readonly");i(a,o,"abstract","override");n(a,o,"declare","override");n(a,o,"static","abstract")}e[o]=true}if(s!=null&&s.includes(o)){this.raise(a,r,o)}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(c.braceR);case"HeritageClauseElement":return this.match(c.braceL);case"TupleElementTypes":return this.match(c.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const s=[];while(!this.tsIsListTerminator(e)){s.push(t())}return s}tsParseDelimitedList(e,t){return nonNull(this.tsParseDelimitedListWorker(e,t,true))}tsParseDelimitedListWorker(e,t,s){const r=[];for(;;){if(this.tsIsListTerminator(e)){break}const i=t();if(i==null){return undefined}r.push(i);if(this.eat(c.comma)){continue}if(this.tsIsListTerminator(e)){break}if(s){this.expect(c.comma)}return undefined}return r}tsParseBracketedList(e,t,s,r){if(!r){if(s){this.expect(c.bracketL)}else{this.expectRelational("<")}}const i=this.tsParseDelimitedList(e,t);if(s){this.expect(c.bracketR)}else{this.expectRelational(">")}return i}tsParseImportType(){const e=this.startNode();this.expect(c._import);this.expect(c.parenL);if(!this.match(c.string)){this.raise(this.state.start,De.UnsupportedImportTypeArgument)}e.argument=this.parseExprAtom();this.expect(c.parenR);if(this.eat(c.dot)){e.qualifier=this.tsParseEntityName(true)}if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();while(this.eat(c.dot)){const s=this.startNodeAtNode(t);s.left=t;s.right=this.parseIdentifier(e);t=this.finishNode(s,"TSQualifiedName")}return t}tsParseTypeReference(){const e=this.startNode();e.typeName=this.tsParseEntityName(false);if(!this.hasPrecedingLineBreak()&&this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(c._typeof);if(this.match(c._import)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName(true)}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsEatThenParseType(c._extends);e.default=this.tsEatThenParseType(c.eq);return this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<")){return this.tsParseTypeParameters()}}tsParseTypeParameters(){const e=this.startNode();if(this.isRelational("<")||this.match(c.jsxTagStart)){this.next()}else{this.unexpected()}e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),false,true);if(e.params.length===0){this.raise(e.start,De.EmptyTypeParameters)}return this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type===c._const){this.next();return this.tsParseTypeReference()}return null}tsFillSignature(e,t){const s=e===c.arrow;t.typeParameters=this.tsTryParseTypeParameters();this.expect(c.parenL);t.parameters=this.tsParseBindingListForSignature();if(s){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(c.parenR,41).map(e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(e.start,De.UnsupportedSignatureParameterKind,e.type)}return e})}tsParseTypeMemberSemicolon(){if(!this.eat(c.comma)&&!this.isLineTerminator()){this.expect(c.semi)}}tsParseSignatureMember(e,t){this.tsFillSignature(c.colon,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();return this.eat(c.name)&&this.match(c.colon)}tsTryParseIndexSignature(e){if(!(this.match(c.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(c.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(c.bracketR);e.parameters=[t];const s=this.tsTryParseTypeAnnotation();if(s)e.typeAnnotation=s;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(c.question))e.optional=true;const s=e;if(this.match(c.parenL)||this.isRelational("<")){if(t){this.raise(e.start,De.ReadonlyForMethodSignature)}const r=s;if(r.kind&&this.isRelational("<")){this.raise(this.state.pos,De.AccesorCannotHaveTypeParameters)}this.tsFillSignature(c.colon,r);this.tsParseTypeMemberSemicolon();if(r.kind==="get"){if(r.parameters.length>0){this.raise(this.state.pos,d.BadGetterArity);if(this.isThisParam(r.parameters[0])){this.raise(this.state.pos,De.AccesorCannotDeclareThisParameter)}}}else if(r.kind==="set"){if(r.parameters.length!==1){this.raise(this.state.pos,d.BadSetterArity)}else{const e=r.parameters[0];if(this.isThisParam(e)){this.raise(this.state.pos,De.AccesorCannotDeclareThisParameter)}if(e.type==="Identifier"&&e.optional){this.raise(this.state.pos,De.SetAccesorCannotHaveOptionalParameter)}if(e.type==="RestElement"){this.raise(this.state.pos,De.SetAccesorCannotHaveRestParameter)}}if(r.typeAnnotation){this.raise(r.typeAnnotation.start,De.SetAccesorCannotHaveReturnType)}}else{r.kind="method"}return this.finishNode(r,"TSMethodSignature")}else{const e=s;if(t)e.readonly=true;const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(c.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(c._new)){const t=this.startNode();this.next();if(this.match(c.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],De.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e,false);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;this.parsePropertyName(e,false)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(c.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(c.braceR);return e}tsIsStartOfMappedType(){this.next();if(this.eat(c.plusMin)){return this.isContextual("readonly")}if(this.isContextual("readonly")){this.next()}if(!this.match(c.bracketL)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(c._in)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsExpectThenParseType(c._in);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(c.braceL);if(this.match(c.plusMin)){e.readonly=this.state.value;this.next();this.expectContextual("readonly")}else if(this.eatContextual("readonly")){e.readonly=true}this.expect(c.bracketL);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual("as")?this.tsParseType():null;this.expect(c.bracketR);if(this.match(c.plusMin)){e.optional=this.state.value;this.next();this.expect(c.question)}else if(this.eat(c.question)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(c.braceR);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let s=null;e.elementTypes.forEach(e=>{var r;let{type:i}=e;if(t&&i!=="TSRestType"&&i!=="TSOptionalType"&&!(i==="TSNamedTupleMember"&&e.optional)){this.raise(e.start,De.OptionalTypeBeforeRequired)}t=t||i==="TSNamedTupleMember"&&e.optional||i==="TSOptionalType";if(i==="TSRestType"){e=e.typeAnnotation;i=e.type}const n=i==="TSNamedTupleMember";s=(r=s)!=null?r:n;if(s!==n){this.raise(e.start,De.MixedLabeledAndUnlabeledElements)}});return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const s=this.eat(c.ellipsis);let r=this.tsParseType();const i=this.eat(c.question);const n=this.eat(c.colon);if(n){const e=this.startNodeAtNode(r);e.optional=i;if(r.type==="TSTypeReference"&&!r.typeParameters&&r.typeName.type==="Identifier"){e.label=r.typeName}else{this.raise(r.start,De.InvalidTupleMemberLabel);e.label=r}e.elementType=this.tsParseType();r=this.finishNode(e,"TSNamedTupleMember")}else if(i){const e=this.startNodeAtNode(r);e.typeAnnotation=r;r=this.finishNode(e,"TSOptionalType")}if(s){const s=this.startNodeAt(e,t);s.typeAnnotation=r;r=this.finishNode(s,"TSRestType")}return r}tsParseParenthesizedType(){const e=this.startNode();this.expect(c.parenL);e.typeAnnotation=this.tsParseType();this.expect(c.parenR);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const s=this.startNode();if(e==="TSConstructorType"){s.abstract=!!t;if(t)this.next();this.next()}this.tsFillSignature(c.arrow,s);return this.finishNode(s,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case c.num:case c.bigint:case c.string:case c._true:case c._false:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case c.name:case c._void:case c._null:{const e=this.match(c._void)?"TSVoidKeyword":this.match(c._null)?"TSNullKeyword":keywordTypeFromName(this.state.value);if(e!==undefined&&this.lookaheadCharCode()!==46){const t=this.startNode();this.next();return this.finishNode(t,e)}return this.tsParseTypeReference()}case c.string:case c.num:case c.bigint:case c._true:case c._false:return this.tsParseLiteralTypeNode();case c.plusMin:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==c.num&&t.type!==c.bigint){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case c._this:return this.tsParseThisTypeOrThisTypePredicate();case c._typeof:return this.tsParseTypeQuery();case c._import:return this.tsParseImportType();case c.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case c.bracketL:return this.tsParseTupleType();case c.parenL:return this.tsParseParenthesizedType();case c.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(c.bracketL)){if(this.match(c.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(c.bracketR);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(c.bracketR);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(e){const t=this.startNode();this.expectContextual(e);t.operator=e;t.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(e==="readonly"){this.tsCheckTypeAnnotationForReadOnly(t)}return this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,De.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();t.name=this.parseIdentifierName(t.start);e.typeParameter=this.finishNode(t,"TSTypeParameter");return this.finishNode(e,"TSInferType")}tsParseTypeOperatorOrHigher(){const e=["keyof","unique","readonly"].find(e=>this.isContextual(e));return e?this.tsParseTypeOperator(e):this.isContextual("infer")?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}tsParseUnionOrIntersectionType(e,t,s){const r=this.startNode();const i=this.eat(s);const n=[];do{n.push(t())}while(this.eat(s));if(n.length===1&&!i){return n[0]}r.types=n;return this.finishNode(r,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),c.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),c.bitwiseOR)}tsIsStartOfFunctionType(){if(this.isRelational("<")){return true}return this.match(c.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(c.name)||this.match(c._this)){this.next();return true}if(this.match(c.braceL)){let e=1;this.next();while(e>0){if(this.match(c.braceL)){++e}else if(this.match(c.braceR)){--e}this.next()}return true}if(this.match(c.bracketL)){let e=1;this.next();while(e>0){if(this.match(c.bracketL)){++e}else if(this.match(c.bracketR)){--e}this.next()}return true}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(c.parenR)||this.match(c.ellipsis)){return true}if(this.tsSkipParameterStart()){if(this.match(c.colon)||this.match(c.comma)||this.match(c.question)||this.match(c.eq)){return true}if(this.match(c.parenR)){this.next();if(this.match(c.arrow)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const s=this.startNode();const r=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(r&&this.match(c._this)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){s.parameterName=e;s.asserts=true;s.typeAnnotation=null;e=this.finishNode(s,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,s);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i){if(!r){return this.tsParseTypeAnnotation(false,t)}s.parameterName=this.parseIdentifier();s.asserts=r;s.typeAnnotation=null;t.typeAnnotation=this.finishNode(s,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const n=this.tsParseTypeAnnotation(false);s.parameterName=i;s.typeAnnotation=n;s.asserts=r;t.typeAnnotation=this.finishNode(s,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(c.colon)?this.tsParseTypeOrTypePredicateAnnotation(c.colon):undefined}tsTryParseTypeAnnotation(){return this.match(c.colon)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(c.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(!this.match(c.name)||this.state.value!=="asserts"||this.hasPrecedingLineBreak()){return false}const e=this.state.containsEsc;this.next();if(!this.match(c.name)&&!this.match(c._this)){return false}if(e){this.raise(this.state.lastTokStart,d.InvalidEscapedReservedWord,"asserts")}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType(()=>{if(e)this.expect(c.colon);t.typeAnnotation=this.tsParseType()});return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(c._extends)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsParseNonConditionalType();this.expect(c.question);t.trueType=this.tsParseType();this.expect(c.colon);t.falseType=this.tsParseType();return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual("abstract")&&this.lookahead().type===c._new}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(c._new)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expectRelational(">");e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start;const s=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));if(!s.length){this.raise(t,De.EmptyHeritageClauseType,e)}return s}tsParseExpressionWithTypeArguments(){const e=this.startNode();e.expression=this.tsParseEntityName(false);if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript interface declaration",te);e.typeParameters=this.tsTryParseTypeParameters();if(this.eat(c._extends)){e.extends=this.tsParseHeritageClause("extends")}const t=this.startNode();t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(t,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript type alias",se);e.typeParameters=this.tsTryParseTypeParameters();e.typeAnnotation=this.tsInType(()=>{this.expect(c.eq);if(this.isContextual("intrinsic")&&this.lookahead().type!==c.dot){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()});this.semicolon();return this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){const t=this.state.inType;this.state.inType=true;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>{e();return this.tsParseType()})}tsParseEnumMember(){const e=this.startNode();e.id=this.match(c.string)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(c.eq)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){if(t)e.const=true;e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript enum declaration",t?oe:re);this.expect(c.braceL);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(c.braceR);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(j);this.expect(c.braceL);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,c.braceR);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkLVal(e.id,"module or namespace declaration",le)}if(this.eat(c.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(L);this.prodParam.enter(je);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual("global")){e.global=true;e.id=this.parseIdentifier()}else if(this.match(c.string)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(c.braceL)){this.scope.enter(L);this.prodParam.enter(je);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkLVal(e.id,"import equals declaration",Q);this.expect(c.eq);const s=this.tsParseModuleReference();if(e.importKind==="type"&&s.type!=="TSExternalModuleReference"){this.raise(s.start,De.ImportAliasHasImportType)}e.moduleReference=s;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual("require");this.expect(c.parenL);if(!this.match(c.string)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(c.parenR);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const s=e();this.state=t;return s}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const s=e();if(s!==undefined&&s!==false){return s}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let s;if(this.isContextual("let")){t=c._var;s="let"}return this.tsInAmbientContext(()=>{switch(t){case c._function:e.declare=true;return this.parseFunctionStatement(e,false,true);case c._class:e.declare=true;return this.parseClass(e,true,false);case c._const:if(this.match(c._const)&&this.isLookaheadContextual("enum")){this.expect(c._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}case c._var:s=s||this.state.value;return this.parseVarStatement(e,s);case c.name:{const t=this.state.value;if(t==="global"){return this.tsParseAmbientExternalModuleDeclaration(e)}else{return this.tsParseDeclaration(e,t,true)}}}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(c.braceL)){this.scope.enter(L);this.prodParam.enter(je);const s=e;s.global=true;s.id=t;s.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(s,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,s){switch(t){case"abstract":if(this.tsCheckLineTerminator(s)&&(this.match(c._class)||this.match(c.name))){return this.tsParseAbstractDeclaration(e)}break;case"enum":if(s||this.match(c.name)){if(s)this.next();return this.tsParseEnumDeclaration(e,false)}break;case"interface":if(this.tsCheckLineTerminator(s)&&this.match(c.name)){return this.tsParseInterfaceDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(s)){if(this.match(c.string)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(this.match(c.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(s)&&this.match(c.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(s)&&this.match(c.name)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<")){return undefined}const s=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const r=this.tsTryParseAndCatch(()=>{const s=this.startNodeAt(e,t);s.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(s);s.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(c.arrow);return s});this.state.maybeInArrowParameters=s;if(!r){return undefined}return this.parseArrowExpression(r,null,true)}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType(()=>this.tsInNoContext(()=>{this.expectRelational("<");return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}));if(e.params.length===0){this.raise(e.start,De.EmptyTypeArguments)}this.expectRelational(">");return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(c.name)){switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return true}}return false}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const s=this.state.start;const r=this.state.startLoc;let i;let n=false;let a=false;if(e!==undefined){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]);i=t.accessibility;a=t.override;n=t.readonly;if(e===false&&(i||n||a)){this.raise(s,De.UnexpectedParameterModifier)}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(i||n||a){const e=this.startNodeAt(s,r);if(t.length){e.decorators=t}if(i)e.accessibility=i;if(n)e.readonly=n;if(a)e.override=a;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(e.start,De.UnsupportedParameterPropertyKind)}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}parseFunctionBodyAndFinish(e,t,s=false){if(this.match(c.colon)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(c.colon)}const r=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"?"TSDeclareMethod":undefined;if(r&&!this.match(c.braceL)&&this.isLineTerminator()){this.finishNode(e,r);return}if(r==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(e.start,De.DeclareFunctionHasImplementation);if(e.declare){super.parseFunctionBodyAndFinish(e,r,s);return}}super.parseFunctionBodyAndFinish(e,t,s)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkLVal(e.id,"function name",ie)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(e.typeAnnotation.start,De.UnexpectedTypeAnnotation)}})}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,s,r,i){if(!this.hasPrecedingLineBreak()&&this.match(c.bang)){this.state.exprAllowed=false;this.next();const r=this.startNodeAt(t,s);r.expression=e;return this.finishNode(r,"TSNonNullExpression")}if(this.isRelational("<")){const n=this.tsTryParseAndCatch(()=>{if(!r&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,s);if(e){return e}}const n=this.startNodeAt(t,s);n.callee=e;const a=this.tsParseTypeArguments();if(a){if(!r&&this.eat(c.parenL)){n.arguments=this.parseCallExpressionArguments(c.parenR,false);this.tsCheckForInvalidTypeCasts(n.arguments);n.typeParameters=a;if(i.optionalChainMember){n.optional=false}return this.finishCallExpression(n,i.optionalChainMember)}else if(this.match(c.backQuote)){const r=this.parseTaggedTemplateExpression(e,t,s,i);r.typeParameters=a;return r}}this.unexpected()});if(n)return n}return super.parseSubscript(e,t,s,r,i)}parseNewArguments(e){if(this.isRelational("<")){const t=this.tsTryParseAndCatch(()=>{const e=this.tsParseTypeArguments();if(!this.match(c.parenL))this.unexpected();return e});if(t){e.typeParameters=t}}super.parseNewArguments(e)}parseExprOp(e,t,s,r){if(nonNull(c._in.binop)>r&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const i=this.startNodeAt(t,s);i.expression=e;const n=this.tsTryNextParseConstantContext();if(n){i.typeAnnotation=n}else{i.typeAnnotation=this.tsNextThenParseType()}this.finishNode(i,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(i,t,s,r)}return super.parseExprOp(e,t,s,r)}checkReservedWord(e,t,s,r){}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(this.match(c.name)||this.match(c.star)||this.match(c.braceL)){let t=this.lookahead();if(this.isContextual("type")&&t.type!==c.comma&&!(t.type===c.name&&t.value==="from")&&t.type!==c.eq){e.importKind="type";this.next();t=this.lookahead()}if(this.match(c.name)&&t.type===c.eq){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(t.start,De.TypeImportCannotSpecifyDefaultAndNamed)}return t}parseExport(e){if(this.match(c._import)){this.next();if(this.isContextual("type")&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(c.eq)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual("as")){const t=e;this.expectContextual("namespace");t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual("type")&&this.lookahead().type===c.braceL){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===c._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.state.value==="interface"){const e=this.tsParseDeclaration(this.startNode(),this.state.value,true);if(e)return e}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===c._const){const e=this.lookahead();if(e.type===c.name&&e.value==="enum"){const e=this.startNode();this.expect(c._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!e[t]})}parseClassMember(e,t,s){const r=["declare","private","public","protected","override","abstract","readonly"];this.tsParseModifiers(t,r.concat(["static"]));const i=()=>{const i=!!t.static;if(i&&this.eat(c.braceL)){if(this.tsHasSomeModifiers(t,r)){this.raise(this.state.pos,De.StaticBlockCannotHaveModifier)}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,s,i)}};if(t.declare){this.tsInAmbientContext(i)}else{i()}}parseClassMemberWithIsStatic(e,t,s,r){const i=this.tsTryParseIndexSignature(t);if(i){e.body.push(i);if(t.abstract){this.raise(t.start,De.IndexSignatureHasAbstract)}if(t.accessibility){this.raise(t.start,De.IndexSignatureHasAccessibility,t.accessibility)}if(t.declare){this.raise(t.start,De.IndexSignatureHasDeclare)}if(t.override){this.raise(t.start,De.IndexSignatureHasOverride)}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(t.start,De.NonAbstractClassHasAbstractMethod)}if(t.override){if(!s.hadSuperClass){this.raise(t.start,De.OverrideNotInSubClass)}}super.parseClassMemberWithIsStatic(e,t,s,r)}parsePostMemberNameModifiers(e){const t=this.eat(c.question);if(t)e.optional=true;if(e.readonly&&this.match(c.parenL)){this.raise(e.start,De.ClassMethodHasReadonly)}if(e.declare&&this.match(c.parenL)){this.raise(e.start,De.ClassMethodHasDeclare)}}parseExpressionStatement(e,t){const s=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return s||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,s,r){if(!r||!this.match(c.question)){return super.parseConditional(e,t,s,r)}const i=this.tryParse(()=>super.parseConditional(e,t,s));if(!i.node){r.start=i.error.pos||this.state.start;return e}if(i.error)this.state=i.failState;return i.node}parseParenItem(e,t,s){e=super.parseParenItem(e,t,s);if(this.eat(c.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(c.colon)){const r=this.startNodeAt(t,s);r.expression=e;r.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(r,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start;const s=this.state.startLoc;const r=this.eatContextual("declare");if(r&&(this.isContextual("declare")||!this.shouldParseExportDeclaration())){throw this.raise(this.state.start,De.ExpectedAmbientAfterExportDeclare)}let i;if(this.match(c.name)){i=this.tsTryParseExportDeclaration()}if(!i){i=super.parseExportDeclaration(e)}if(i&&(i.type==="TSInterfaceDeclaration"||i.type==="TSTypeAliasDeclaration"||r)){e.exportKind="type"}if(i&&r){this.resetStartLocation(i,t,s);i.declare=true}return i}parseClassId(e,t,s){if((!t||s)&&this.isContextual("implements")){return}super.parseClassId(e,t,s,e.declare?ie:Y);const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(c.bang)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(c.eq)){this.raise(this.state.start,De.DeclareClassFieldHasInitializer)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(e.start,De.PrivateElementHasAbstract)}if(e.accessibility){this.raise(e.start,De.PrivateElementHasAccessibility,e.accessibility)}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,s,r,i,n){const a=this.tsTryParseTypeParameters();if(a&&i){this.raise(a.start,De.ConstructorHasTypeParameters)}if(t.declare&&(t.kind==="get"||t.kind==="set")){this.raise(t.start,De.DeclareAccessor,t.kind)}if(a)t.typeParameters=a;super.pushClassMethod(e,t,s,r,i,n)}pushClassPrivateMethod(e,t,s,r){const i=this.tsTryParseTypeParameters();if(i)t.typeParameters=i;super.pushClassPrivateMethod(e,t,s,r)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.tsParseTypeArguments()}if(this.eatContextual("implements")){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const s=this.tsTryParseTypeParameters();if(s)e.typeParameters=s;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const s=this.tsTryParseTypeParameters();if(s)e.typeParameters=s;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&this.eat(c.bang)){e.definite=true}const s=this.tsTryParseTypeAnnotation();if(s){e.id.typeAnnotation=s;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(c.colon)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,s,r,i,n,a,o;let l;let p;let u;if(this.hasPlugin("jsx")&&(this.match(c.jsxTagStart)||this.isRelational("<"))){l=this.state.clone();p=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!p.error)return p.node;const{context:t}=this.state;if(t[t.length-1]===g.j_oTag){t.length-=2}else if(t[t.length-1]===g.j_expr){t.length-=1}}if(!((t=p)!=null&&t.error)&&!this.isRelational("<")){return super.parseMaybeAssign(...e)}let h;l=l||this.state.clone();const f=this.tryParse(t=>{var s,r;h=this.tsParseTypeParameters();const i=super.parseMaybeAssign(...e);if(i.type!=="ArrowFunctionExpression"||(s=i.extra)!=null&&s.parenthesized){t()}if(((r=h)==null?void 0:r.params.length)!==0){this.resetStartLocationFromNode(i,h)}i.typeParameters=h;return i},l);if(!f.error&&!f.aborted)return f.node;if(!p){assert(!this.hasPlugin("jsx"));u=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!u.error)return u.node}if((s=p)!=null&&s.node){this.state=p.failState;return p.node}if(f.node){this.state=f.failState;return f.node}if((r=u)!=null&&r.node){this.state=u.failState;return u.node}if((i=p)!=null&&i.thrown)throw p.error;if(f.thrown)throw f.error;if((n=u)!=null&&n.thrown)throw u.error;throw((a=p)==null?void 0:a.error)||f.error||((o=u)==null?void 0:o.error)}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.isRelational("<")){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(c.colon)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(c.colon);if(this.canInsertSemicolon()||!this.match(c.arrow))e();return t});if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(c.question)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(e.start,De.PatternIsOptional)}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}toAssignable(e,t=false){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...s){var r;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...s);return;case"TSAsExpression":case"TSTypeAssertion":if(!s[0]&&t!=="parenthesized expression"&&!((r=e.extra)!=null&&r.parenthesized)){this.raise(e.start,d.InvalidLhs,t);break}this.checkLVal(e.expression,"parenthesized expression",...s);return;case"TSNonNullExpression":this.checkLVal(e.expression,t,...s);return;default:super.checkLVal(e,t,...s);return}}parseBindingAtom(){switch(this.state.type){case c._this:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(c.parenL)){const s=super.parseMaybeDecoratorArguments(e);s.typeParameters=t;return s}this.unexpected(this.state.start,c.parenL)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(c.comma)&&this.lookaheadCharCode()===e){this.next()}else{super.checkCommaAfterRest(e)}}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(c.bang)||this.match(c.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.startthis.tsParseTypeArguments());if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const s=this.getObjectOrClassMethodParams(e);const r=s[0];const i=r&&this.isThisParam(r);return i?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,...t){const s=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,...t)}finally{this.state.inAbstractClass=s}}tsParseAbstractDeclaration(e){if(this.match(c._class)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual("interface")){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(e.start,De.NonClassMethodPropertyHasAbstractModifer);this.next();return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,c._class)}}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(t.start,De.AbstractMethodHasImplementation,e.type==="Identifier"?e.name:`[${this.input.slice(e.start,e.end)}]`)}}return t}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}});c.placeholder=new TokenType("%%",{startsExpr:true});const Fe=makeErrorTemplates({ClassNameIsRequired:"A class name is required."},f.SyntaxError);var Me=e=>(class extends e{parsePlaceholder(e){if(this.match(c.placeholder)){const t=this.startNode();this.next();this.assertNoSpace("Unexpected space in placeholder.");t.name=super.parseIdentifier(true);this.assertNoSpace("Unexpected space in placeholder.");this.expect(c.placeholder);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const s=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return s?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(c.placeholder,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){if(e.type!=="Placeholder")super.checkLVal(...arguments)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern";return e}return super.toAssignable(...arguments)}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual("let")){return false}if(e)return false;const t=this.lookahead();if(t.type===c.placeholder){return true}return false}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(c.colon)){const s=e;s.label=this.finishPlaceholder(t,"Identifier");this.next();s.body=this.parseStatement("label");return this.finishNode(s,"LabeledStatement")}this.semicolon();e.name=t.name;return this.finishPlaceholder(e,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(e,t,s){const r=t?"ClassDeclaration":"ClassExpression";this.next();this.takeDecorators(e);const i=this.state.strict;const n=this.parsePlaceholder("Identifier");if(n){if(this.match(c._extends)||this.match(c.placeholder)||this.match(c.braceL)){e.id=n}else if(s||!t){e.id=null;e.body=this.finishPlaceholder(n,"ClassBody");return this.finishNode(e,r)}else{this.unexpected(null,Fe.ClassNameIsRequired)}}else{this.parseClassId(e,t,s)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,i);return this.finishNode(e,r)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(c.comma)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const s=this.startNode();s.exported=t;e.specifiers=[this.finishNode(s,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(c._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(c.placeholder.label,this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter(e=>e.exported.type==="Placeholder")}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual("from")&&!this.match(c.comma)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const s=this.startNodeAtNode(t);s.local=t;this.finishNode(s,"ImportDefaultSpecifier");e.specifiers.push(s);if(this.eat(c.comma)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual("from");e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}});var Le=e=>(class extends e{parseV8Intrinsic(){if(this.match(c.modulo)){const e=this.state.start;const t=this.startNode();this.eat(c.modulo);if(this.match(c.name)){const e=this.parseIdentifierName(this.state.start);const s=this.createIdentifier(t,e);s.type="V8IntrinsicIdentifier";if(this.match(c.parenL)){return s}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}});function hasPlugin(e,t){return e.some(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}})}function getPluginOption(e,t,s){const r=e.find(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}});if(r&&Array.isArray(r)){return r[1][s]}return null}const Be=["minimal","smart","fsharp"];const Ue=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option,"+" whose value must be a boolean. If you are migrating from"+" Babylon/Babel 6 or want to use the old decorators proposal, you"+" should use the 'decorators-legacy' plugin instead of 'decorators'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")&&!Be.includes(getPluginOption(e,"pipelineOperator","proposal"))){throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: "+Be.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}}if(hasPlugin(e,"recordAndTuple")&&!Ue.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Ue.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const We={estree:m,jsx:Ie,flow:Ee,typescript:Ne,v8intrinsic:Le,placeholders:Me};const qe=Object.keys(We);const He={sourceType:"script",sourceFilename:undefined,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false};function getOptions(e){const t={};for(const s of Object.keys(He)){t[s]=e&&e[s]!=null?e[s]:He[s]}return t}var ze=function isDigit(e){return e>=48&&e<=57};const Ve=new Set([103,109,115,105,121,117,100]);const Ke={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]};const $e={};$e.bin=[48,49];$e.oct=[...$e.bin,50,51,52,53,54,55];$e.dec=[...$e.oct,56,57];$e.hex=[...$e.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends ParserError{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(this.state))}this.state.lastTokEnd=this.state.end;this.state.lastTokStart=this.state.start;this.state.lastTokEndLoc=this.state.endLoc;this.state.lastTokStartLoc=this.state.startLoc;this.nextToken()}eat(e){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){h.lastIndex=e;const t=h.exec(this.input);return e+t[0].length}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(t,e));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(!e.preserveSpace)this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(c.eof);return}if(e===g.template){this.readTmplToken()}else{this.getTokenFromCode(this.codePointAtPos(this.state.pos))}}pushComment(e,t,s,r,i,n){const a={type:e?"CommentBlock":"CommentLine",value:t,start:s,end:r,loc:new SourceLocation(i,n)};if(this.options.tokens)this.pushToken(a);this.state.comments.push(a);this.addComment(a)}skipBlockComment(){let e;if(!this.isLookahead)e=this.state.curPosition();const t=this.state.pos;const s=this.input.indexOf("*/",this.state.pos+2);if(s===-1)throw this.raise(t,d.UnterminatedComment);this.state.pos=s+2;u.lastIndex=t;let r;while((r=u.exec(this.input))&&r.index=48&&t<=57){throw this.raise(this.state.pos,d.UnexpectedDigitAfterHash)}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(this.state.pos,t===123?d.RecordExpressionHashIncorrectStartSyntaxType:d.TupleExpressionHashIncorrectStartSyntaxType)}this.state.pos+=2;if(t===123){this.finishToken(c.braceHashL)}else{this.finishToken(c.bracketHashL)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(c.privateName,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(c.privateName,this.readWord1())}else{this.finishOp(c.hash,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(c.ellipsis)}else{++this.state.pos;this.finishToken(c.dot)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(c.slashAssign,2)}else{this.finishOp(c.slash,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos=48&&t<=57)){this.state.pos+=2;this.finishToken(c.questionDot)}else{++this.state.pos;this.finishToken(c.question)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(c.parenL);return;case 41:++this.state.pos;this.finishToken(c.parenR);return;case 59:++this.state.pos;this.finishToken(c.semi);return;case 44:++this.state.pos;this.finishToken(c.comma);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,d.TupleExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(c.bracketBarL)}else{++this.state.pos;this.finishToken(c.bracketL)}return;case 93:++this.state.pos;this.finishToken(c.bracketR);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,d.RecordExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(c.braceBarL)}else{++this.state.pos;this.finishToken(c.braceL)}return;case 125:++this.state.pos;this.finishToken(c.braceR);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(c.doubleColon,2)}else{++this.state.pos;this.finishToken(c.colon)}return;case 63:this.readToken_question();return;case 96:++this.state.pos;this.finishToken(c.backQuote);return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:case 62:this.readToken_lt_gt(e);return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(c.tilde,1);return;case 64:++this.state.pos;this.finishToken(c.at);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(this.state.pos,d.InvalidOrUnexpectedToken,String.fromCodePoint(e))}finishOp(e,t){const s=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t;this.finishToken(e,s)}readRegexp(){const e=this.state.start+1;let t,s;let{pos:r}=this.state;for(;;++r){if(r>=this.length){throw this.raise(e,d.UnterminatedRegExp)}const i=this.input.charCodeAt(r);if(isNewLine(i)){throw this.raise(e,d.UnterminatedRegExp)}if(t){t=false}else{if(i===91){s=true}else if(i===93&&s){s=false}else if(i===47&&!s){break}t=i===92}}const i=this.input.slice(e,r);++r;let n="";while(r-1||n.indexOf(t)>-1||Number.isNaN(t)){this.raise(this.state.pos,d.UnexpectedNumericSeparator)}if(!r){this.raise(this.state.pos,d.NumericSeparatorInEscapeSequence)}++this.state.pos;continue}if(t>=97){c=t-97+10}else if(t>=65){c=t-65+10}else if(ze(t)){c=t-48}else{c=Infinity}if(c>=e){if(this.options.errorRecovery&&c<=9){c=0;this.raise(this.state.start+i+2,d.InvalidDigit,e)}else if(s){c=0;o=true}else{break}}++this.state.pos;l=l*e+c}if(this.state.pos===i||t!=null&&this.state.pos-i!==t||o){return null}return l}readRadixNumber(e){const t=this.state.pos;let s=false;this.state.pos+=2;const r=this.readInt(e);if(r==null){this.raise(this.state.start+2,d.InvalidDigit,e)}const i=this.input.charCodeAt(this.state.pos);if(i===110){++this.state.pos;s=true}else if(i===109){throw this.raise(t,d.InvalidDecimal)}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,d.NumberIdentifier)}if(s){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(c.bigint,e);return}this.finishToken(c.num,r)}readNumber(e){const t=this.state.pos;let s=false;let r=false;let i=false;let n=false;let a=false;if(!e&&this.readInt(10)===null){this.raise(t,d.InvalidNumber)}const o=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(o){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(t,d.StrictOctalLiteral);if(!this.state.strict){const s=e.indexOf("_");if(s>0){this.raise(s+t,d.ZeroDigitNumericSeparator)}}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!a){++this.state.pos;this.readInt(10);s=true;l=this.input.charCodeAt(this.state.pos)}if((l===69||l===101)&&!a){l=this.input.charCodeAt(++this.state.pos);if(l===43||l===45){++this.state.pos}if(this.readInt(10)===null){this.raise(t,d.InvalidOrMissingExponent)}s=true;n=true;l=this.input.charCodeAt(this.state.pos)}if(l===110){if(s||o){this.raise(t,d.InvalidBigIntLiteral)}++this.state.pos;r=true}if(l===109){this.expectPlugin("decimal",this.state.pos);if(n||o){this.raise(t,d.InvalidDecimal)}++this.state.pos;i=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,d.NumberIdentifier)}const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(r){this.finishToken(c.bigint,p);return}if(i){this.finishToken(c.decimal,p);return}const u=a?parseInt(p,8):parseFloat(p);this.finishToken(c.num,u)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let s;if(t===123){const t=++this.state.pos;s=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(s!==null&&s>1114111){if(e){this.raise(t,d.InvalidCodePoint)}else{return null}}}else{s=this.readHexChar(4,false,e)}return s}readString(e){let t="",s=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,d.UnterminatedString)}const r=this.input.charCodeAt(this.state.pos);if(r===e)break;if(r===92){t+=this.input.slice(s,this.state.pos);t+=this.readEscapedChar(false);s=this.state.pos}else if(r===8232||r===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(r)){throw this.raise(this.state.start,d.UnterminatedString)}else{++this.state.pos}}t+=this.input.slice(s,this.state.pos++);this.finishToken(c.string,t)}readTmplToken(){let e="",t=this.state.pos,s=false;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,d.UnterminatedTemplate)}const r=this.input.charCodeAt(this.state.pos);if(r===96||r===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(c.template)){if(r===36){this.state.pos+=2;this.finishToken(c.dollarBraceL);return}else{++this.state.pos;this.finishToken(c.backQuote);return}}e+=this.input.slice(t,this.state.pos);this.finishToken(c.template,s?null:e);return}if(r===92){e+=this.input.slice(t,this.state.pos);const r=this.readEscapedChar(true);if(r===null){s=true}else{e+=r}t=this.state.pos}else if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(r){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(r);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,t){if(this.state.strict&&!this.state.strictErrors.has(e)){this.raise(e,t)}else{this.state.strictErrors.set(e,t)}}readEscapedChar(e){const t=!e;const s=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(s){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:this.state.lineStart=this.state.pos;++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(e){return null}else{this.recordStrictModeErrors(this.state.pos-1,d.StrictNumericEscape)}default:if(s>=48&&s<=55){const t=this.state.pos-1;const s=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let r=s[0];let i=parseInt(r,8);if(i>255){r=r.slice(0,-1);i=parseInt(r,8)}this.state.pos+=r.length-1;const n=this.input.charCodeAt(this.state.pos);if(r!=="0"||n===56||n===57){if(e){return null}else{this.recordStrictModeErrors(t,d.StrictNumericEscape)}}return String.fromCharCode(i)}return String.fromCharCode(s)}}readHexChar(e,t,s){const r=this.state.pos;const i=this.readInt(16,e,t,false);if(i===null){if(s){this.raise(r,d.InvalidEscapeSequence)}else{this.state.pos=r-1}}return i}readWord1(e){this.state.containsEsc=false;let t="";const s=this.state.pos;let r=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos{this.raise(s,t);let r=e.length-2;let i=e[r];while(i.canBeArrowParameterDeclaration()){i.clearDeclarationError(s);i=e[--r]}})}}function newParameterDeclarationScope(){return new ExpressionScope(Ye)}function newArrowHeadScope(){return new ArrowHeadParsingScope(Je)}function newAsyncArrowScope(){return new ArrowHeadParsingScope(Xe)}function newExpressionScope(){return new ExpressionScope}class UtilParser extends Tokenizer{addExtra(e,t,s){if(!e)return;const r=e.extra=e.extra||{};r[t]=s}isRelational(e){return this.match(c.relational)&&this.state.value===e}expectRelational(e){if(this.isRelational(e)){this.next()}else{this.unexpected(null,c.relational)}}isContextual(e){return this.match(c.name)&&this.state.value===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const s=e+t.length;if(this.input.slice(e,s)===t){const e=this.input.charCodeAt(s);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)&&this.eat(c.name)}expectContextual(e,t){if(!this.eatContextual(e))this.unexpected(null,t)}canInsertSemicolon(){return this.match(c.eof)||this.match(c.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return p.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){return p.test(this.input.slice(this.state.end,this.nextTokenStart()))}isLineTerminator(){return this.eat(c.semi)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(c.semi))return;this.raise(this.state.lastTokEnd,d.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){if(this.state.start>this.state.lastTokEnd){this.raise(this.state.lastTokEnd,{code:f.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}}unexpected(e,t={code:f.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){if(t instanceof TokenType){t={code:f.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${t.label}"`}}throw this.raise(e!=null?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e)){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`)}return true}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e))){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:e},`This experimental syntax requires enabling one of the following parser plugin(s): '${e.join(", ")}'`)}}tryParse(e,t=this.state.clone()){const s={node:null};try{const r=e((e=null)=>{s.node=e;throw s});if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:r,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:r,error:null,thrown:false,aborted:false,failState:null}}catch(e){const r=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:r}}if(e===s){return{node:s.node,error:null,thrown:false,aborted:true,failState:r}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssign:s,doubleProto:r}=e;if(!t)return s>=0||r>=0;if(s>=0){this.unexpected(s)}if(r>=0){this.raise(r,d.DuplicateProto)}}isLiteralPropertyName(){return this.match(c.name)||!!this.state.type.keyword||this.match(c.string)||this.match(c.num)||this.match(c.bigint)||this.match(c.decimal)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const s=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const r=this.inModule;this.inModule=e;const i=this.scope;const n=this.getScopeHandler();this.scope=new n(this.raise.bind(this),this.inModule);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this.raise.bind(this));const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this.raise.bind(this));return()=>{this.state.labels=t;this.exportedIdentifiers=s;this.inModule=r;this.scope=i;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=je;if(this.hasPlugin("topLevelAwait")&&this.inModule){e|=Se}this.scope.enter(O);this.prodParam.enter(e)}}class ExpressionErrors{constructor(){this.shorthandAssign=-1;this.doubleProto=-1}}class Node{constructor(e,t,s){this.type=void 0;this.start=void 0;this.end=void 0;this.loc=void 0;this.range=void 0;this.leadingComments=void 0;this.trailingComments=void 0;this.innerComments=void 0;this.extra=void 0;this.type="";this.start=t;this.end=0;this.loc=new SourceLocation(s);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}__clone(){const e=new Node;const t=Object.keys(this);for(let s=0,r=t.length;s{return e.type==="ParenthesizedExpression"?Qe(e.expression):e};class LValParser extends NodeUtils{toAssignable(e,t=false){var s,r;let i=undefined;if(e.type==="ParenthesizedExpression"||(s=e.extra)!=null&&s.parenthesized){i=Qe(e);if(t){if(i.type==="Identifier"){this.expressionScope.recordParenthesizedIdentifierError(e.start,d.InvalidParenthesizedAssignment)}else if(i.type!=="MemberExpression"){this.raise(e.start,d.InvalidParenthesizedAssignment)}}else{this.raise(e.start,d.InvalidParenthesizedAssignment)}}switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":break;case"ObjectExpression":e.type="ObjectPattern";for(let s=0,r=e.properties.length,i=r-1;sthis.parseExpressionBase(t))}return this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start;const s=this.state.startLoc;const r=this.parseMaybeAssign(e);if(this.match(c.comma)){const i=this.startNodeAt(t,s);i.expressions=[r];while(this.eat(c.comma)){i.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(i.expressions);return this.finishNode(i,"SequenceExpression")}return r}parseMaybeAssignDisallowIn(e,t,s){return this.disallowInAnd(()=>this.parseMaybeAssign(e,t,s))}parseMaybeAssignAllowIn(e,t,s){return this.allowInAnd(()=>this.parseMaybeAssign(e,t,s))}parseMaybeAssign(e,t,s){const r=this.state.start;const i=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,r,i)}return e}}let n;if(e){n=false}else{e=new ExpressionErrors;n=true}if(this.match(c.parenL)||this.match(c.name)){this.state.potentialArrowAt=this.state.start}let a=this.parseMaybeConditional(e,s);if(t){a=t.call(this,a,r,i)}if(this.state.type.isAssign){const t=this.startNodeAt(r,i);const s=this.state.value;t.operator=s;if(this.match(c.eq)){t.left=this.toAssignable(a,true);e.doubleProto=-1}else{t.left=a}if(e.shorthandAssign>=t.left.start){e.shorthandAssign=-1}this.checkLVal(a,"assignment expression");this.next();t.right=this.parseMaybeAssign();return this.finishNode(t,"AssignmentExpression")}else if(n){this.checkExpressionErrors(e,true)}return a}parseMaybeConditional(e,t){const s=this.state.start;const r=this.state.startLoc;const i=this.state.potentialArrowAt;const n=this.parseExprOps(e);if(this.shouldExitDescending(n,i)){return n}return this.parseConditional(n,s,r,t)}parseConditional(e,t,s,r){if(this.eat(c.question)){const r=this.startNodeAt(t,s);r.test=e;r.consequent=this.parseMaybeAssignAllowIn();this.expect(c.colon);r.alternate=this.parseMaybeAssign();return this.finishNode(r,"ConditionalExpression")}return e}parseExprOps(e){const t=this.state.start;const s=this.state.startLoc;const r=this.state.potentialArrowAt;const i=this.parseMaybeUnary(e);if(this.shouldExitDescending(i,r)){return i}return this.parseExprOp(i,t,s,-1)}parseExprOp(e,t,s,r){let i=this.state.type.binop;if(i!=null&&(this.prodParam.hasIn||!this.match(c._in))){if(i>r){const n=this.state.type;if(n===c.pipeline){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.state.inPipeline=true;this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,s);a.left=e;a.operator=this.state.value;const o=n===c.logicalOR||n===c.logicalAND;const l=n===c.nullishCoalescing;if(l){i=c.logicalAND.binop}this.next();if(n===c.pipeline&&this.getPluginOption("pipelineOperator","proposal")==="minimal"){if(this.match(c.name)&&this.state.value==="await"&&this.prodParam.hasAwait){throw this.raise(this.state.start,d.UnexpectedAwaitAfterPipelineBody)}}a.right=this.parseExprOpRightExpr(n,i);this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");const p=this.state.type;if(l&&(p===c.logicalOR||p===c.logicalAND)||o&&p===c.nullishCoalescing){throw this.raise(this.state.start,d.MixingCoalesceWithLogical)}return this.parseExprOp(a,t,s,r)}}return e}parseExprOpRightExpr(e,t){const s=this.state.start;const r=this.state.startLoc;switch(e){case c.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"smart":return this.withTopicPermittingContext(()=>{return this.parseSmartPipelineBody(this.parseExprOpBaseRightExpr(e,t),s,r)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(t)})}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const s=this.state.start;const r=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),s,r,e.rightAssociative?t-1:t)}checkExponentialAfterUnary(e){if(this.match(c.exponent)){this.raise(e.argument.start,d.UnexpectedTokenUnaryExponentiation)}}parseMaybeUnary(e,t){const s=this.state.start;const r=this.state.startLoc;const i=this.isContextual("await");if(i&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(s,r);if(!t)this.checkExponentialAfterUnary(e);return e}if(this.isContextual("module")&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak()){return this.parseModuleExpression()}const n=this.match(c.incDec);const a=this.startNode();if(this.state.type.prefix){a.operator=this.state.value;a.prefix=true;if(this.match(c._throw)){this.expectPlugin("throwExpressions")}const s=this.match(c._delete);this.next();a.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&s){const e=a.argument;if(e.type==="Identifier"){this.raise(a.start,d.StrictDelete)}else if(this.hasPropertyAsPrivateName(e)){this.raise(a.start,d.DeletePrivateField)}}if(!n){if(!t)this.checkExponentialAfterUnary(a);return this.finishNode(a,"UnaryExpression")}}const o=this.parseUpdate(a,n,e);if(i){const e=this.hasPlugin("v8intrinsic")?this.state.type.startsExpr:this.state.type.startsExpr&&!this.match(c.modulo);if(e&&!this.isAmbiguousAwait()){this.raiseOverwrite(s,this.hasPlugin("topLevelAwait")?d.AwaitNotInAsyncContext:d.AwaitNotInAsyncFunction);return this.parseAwait(s,r)}}return o}parseUpdate(e,t,s){if(t){this.checkLVal(e.argument,"prefix operation");return this.finishNode(e,"UpdateExpression")}const r=this.state.start;const i=this.state.startLoc;let n=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,false))return n;while(this.state.type.postfix&&!this.canInsertSemicolon()){const e=this.startNodeAt(r,i);e.operator=this.state.value;e.prefix=false;e.argument=n;this.checkLVal(n,"postfix operation");this.next();n=this.finishNode(e,"UpdateExpression")}return n}parseExprSubscripts(e){const t=this.state.start;const s=this.state.startLoc;const r=this.state.potentialArrowAt;const i=this.parseExprAtom(e);if(this.shouldExitDescending(i,r)){return i}return this.parseSubscripts(i,t,s)}parseSubscripts(e,t,s,r){const i={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,s,r,i);i.maybeAsyncArrow=false}while(!i.stop);return e}parseSubscript(e,t,s,r,i){if(!r&&this.eat(c.doubleColon)){return this.parseBind(e,t,s,r,i)}else if(this.match(c.backQuote)){return this.parseTaggedTemplateExpression(e,t,s,i)}let n=false;if(this.match(c.questionDot)){if(r&&this.lookaheadCharCode()===40){i.stop=true;return e}i.optionalChainMember=n=true;this.next()}if(!r&&this.match(c.parenL)){return this.parseCoverCallAndAsyncArrowHead(e,t,s,i,n)}else if(n||this.match(c.bracketL)||this.eat(c.dot)){return this.parseMember(e,t,s,i,n)}else{i.stop=true;return e}}parseMember(e,t,s,r,i){const n=this.startNodeAt(t,s);const a=this.eat(c.bracketL);n.object=e;n.computed=a;const o=!a&&this.match(c.privateName)&&this.state.value;const l=a?this.parseExpression():o?this.parsePrivateName():this.parseIdentifier(true);if(o!==false){if(n.object.type==="Super"){this.raise(t,d.SuperPrivateField)}this.classScope.usePrivateName(o,l.start)}n.property=l;if(a){this.expect(c.bracketR)}if(r.optionalChainMember){n.optional=i;return this.finishNode(n,"OptionalMemberExpression")}else{return this.finishNode(n,"MemberExpression")}}parseBind(e,t,s,r,i){const n=this.startNodeAt(t,s);n.object=e;n.callee=this.parseNoCallExpr();i.stop=true;return this.parseSubscripts(this.finishNode(n,"BindExpression"),t,s,r)}parseCoverCallAndAsyncArrowHead(e,t,s,r,i){const n=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,s);o.callee=e;if(r.maybeAsyncArrow){this.expressionScope.enter(newAsyncArrowScope());a=new ExpressionErrors}if(r.optionalChainMember){o.optional=i}if(i){o.arguments=this.parseCallExpressionArguments(c.parenR)}else{o.arguments=this.parseCallExpressionArguments(c.parenR,e.type==="Import",e.type!=="Super",o,a)}this.finishCallExpression(o,r.optionalChainMember);if(r.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!i){r.stop=true;this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,s),o)}else{if(r.maybeAsyncArrow){this.checkExpressionErrors(a,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=n;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,s,r){const i=this.startNodeAt(t,s);i.tag=e;i.quasi=this.parseTemplate(true);if(r.optionalChainMember){this.raise(t,d.OptionalChainingNoTemplate)}return this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(e.start,d.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument")}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(t.start,d.ImportCallSpreadArgument)}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,s,r,i){const n=[];let a=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(a){a=false}else{this.expect(c.comma);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(this.state.lastTokStart,d.ImportCallArgumentTrailingComma)}if(r){this.addExtra(r,"trailingComma",this.state.lastTokStart)}this.next();break}}n.push(this.parseExprListItem(false,i,{start:0},s))}this.state.inFSharpPipelineDirectBody=o;return n}shouldParseAsyncArrow(){return this.match(c.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var s;this.expect(c.arrow);this.parseArrowExpression(e,t.arguments,true,(s=t.extra)==null?void 0:s.trailingComma);return e}parseNoCallExpr(){const e=this.state.start;const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,true)}parseExprAtom(e){let t;switch(this.state.type){case c._super:return this.parseSuper();case c._import:t=this.startNode();this.next();if(this.match(c.dot)){return this.parseImportMetaProperty(t)}if(!this.match(c.parenL)){this.raise(this.state.lastTokStart,d.UnsupportedImport)}return this.finishNode(t,"Import");case c._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case c.name:{const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const s=this.parseIdentifier();if(!t&&s.name==="async"&&!this.canInsertSemicolon()){if(this.match(c._function)){this.next();return this.parseFunction(this.startNodeAtNode(s),undefined,true)}else if(this.match(c.name)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(s)}else{return s}}else if(this.match(c._do)){return this.parseDo(true)}}if(e&&this.match(c.arrow)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(s),[s],false)}return s}case c._do:{return this.parseDo(false)}case c.slash:case c.slashAssign:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case c.num:return this.parseNumericLiteral(this.state.value);case c.bigint:return this.parseBigIntLiteral(this.state.value);case c.decimal:return this.parseDecimalLiteral(this.state.value);case c.string:return this.parseStringLiteral(this.state.value);case c._null:return this.parseNullLiteral();case c._true:return this.parseBooleanLiteral(true);case c._false:return this.parseBooleanLiteral(false);case c.parenL:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case c.bracketBarL:case c.bracketHashL:{return this.parseArrayLike(this.state.type===c.bracketBarL?c.bracketBarR:c.bracketR,false,true,e)}case c.bracketL:{return this.parseArrayLike(c.bracketR,true,false,e)}case c.braceBarL:case c.braceHashL:{return this.parseObjectLike(this.state.type===c.braceBarL?c.braceBarR:c.braceR,false,true,e)}case c.braceL:{return this.parseObjectLike(c.braceR,false,false,e)}case c._function:return this.parseFunctionOrFunctionSent();case c.at:this.parseDecorators();case c._class:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case c._new:return this.parseNewOrNewTarget();case c.backQuote:return this.parseTemplate(false);case c.doubleColon:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(e.start,d.UnsupportedBind)}}case c.privateName:{const e=this.state.start;const s=this.state.value;t=this.parsePrivateName();if(this.match(c._in)){this.expectPlugin("privateIn");this.classScope.usePrivateName(s,t.start)}else if(this.hasPlugin("privateIn")){this.raise(this.state.start,d.PrivateInExpectedIn,s)}else{throw this.unexpected(e)}return t}case c.hash:{if(this.state.inPipeline){t=this.startNode();if(this.getPluginOption("pipelineOperator","proposal")!=="smart"){this.raise(t.start,d.PrimaryTopicRequiresSmartPipeline)}this.next();if(!this.primaryTopicReferenceIsAllowedInCurrentTopicContext()){this.raise(t.start,d.PrimaryTopicNotAllowed)}this.registerTopicReference();return this.finishNode(t,"PipelinePrimaryTopicReference")}}case c.relational:{if(this.state.value==="<"){const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}}}default:throw this.unexpected()}}parseAsyncArrowUnaryFunction(e){const t=this.startNodeAtNode(e);this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const s=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(this.state.pos,d.LineTerminatorBeforeArrow)}this.expect(c.arrow);this.parseArrowExpression(t,s,true);return t}parseDo(e){this.expectPlugin("doExpressions");if(e){this.expectPlugin("asyncDoExpressions")}const t=this.startNode();t.async=e;this.next();const s=this.state.labels;this.state.labels=[];if(e){this.prodParam.enter(Se);t.body=this.parseBlock();this.prodParam.exit()}else{t.body=this.parseBlock()}this.state.labels=s;return this.finishNode(t,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(c.parenL)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,d.SuperNotAllowed)}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,d.UnexpectedSuper)}if(!this.match(c.parenL)&&!this.match(c.bracketL)&&!this.match(c.dot)){this.raise(e.start,d.UnsupportedSuper)}return this.finishNode(e,"Super")}parseMaybePrivateName(e){const t=this.match(c.privateName);if(t){if(!e){this.raise(this.state.start+1,d.UnexpectedPrivateField)}return this.parsePrivateName()}else{return this.parseIdentifier(true)}}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(this.state.start+1,new Position(this.state.curLine,this.state.start+1-this.state.lineStart));const s=this.state.value;this.next();e.id=this.createIdentifier(t,s);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(c.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,s){e.meta=t;if(t.name==="function"&&s==="sent"){if(this.isContextual(s)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}}const r=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==s||r){this.raise(e.property.start,d.UnsupportedMetaProperty,t.name,s)}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual("meta")){if(!this.inModule){this.raise(t.start,y.ImportMetaOutsideModule)}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,s){this.addExtra(s,"rawValue",e);this.addExtra(s,"raw",this.input.slice(s.start,this.state.end));s.value=e;this.next();return this.finishNode(s,t)}parseLiteral(e,t){const s=this.startNode();return this.parseLiteralAtNode(e,t,s)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start;const s=this.state.startLoc;let r;this.next();this.expressionScope.enter(newArrowHeadScope());const i=this.state.maybeInArrowParameters;const n=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const a=this.state.start;const o=this.state.startLoc;const l=[];const p=new ExpressionErrors;const u={start:0};let h=true;let f;let d;while(!this.match(c.parenR)){if(h){h=false}else{this.expect(c.comma,u.start||null);if(this.match(c.parenR)){d=this.state.start;break}}if(this.match(c.ellipsis)){const e=this.state.start;const t=this.state.startLoc;f=this.state.start;l.push(this.parseParenItem(this.parseRestBinding(),e,t));this.checkCommaAfterRest(41);break}else{l.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem,u))}}const y=this.state.lastTokEnd;const m=this.state.lastTokEndLoc;this.expect(c.parenR);this.state.maybeInArrowParameters=i;this.state.inFSharpPipelineDirectBody=n;let g=this.startNodeAt(t,s);if(e&&this.shouldParseArrow()&&(g=this.parseArrow(g))){this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(g,l,false);return g}this.expressionScope.exit();if(!l.length){this.unexpected(this.state.lastTokStart)}if(d)this.unexpected(d);if(f)this.unexpected(f);this.checkExpressionErrors(p,true);if(u.start)this.unexpected(u.start);this.toReferencedListDeep(l,true);if(l.length>1){r=this.startNodeAt(a,o);r.expressions=l;this.finishNodeAt(r,"SequenceExpression",y,m)}else{r=l[0]}if(!this.options.createParenthesizedExpressions){this.addExtra(r,"parenthesized",true);this.addExtra(r,"parenStart",t);return r}const b=this.startNodeAt(t,s);b.expression=r;this.finishNode(b,"ParenthesizedExpression");return b}shouldParseArrow(){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(c.arrow)){return e}}parseParenItem(e,t,s){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(c.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const s=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){this.raise(s.start,d.UnexpectedNewTarget)}return s}return this.parseNew(e)}parseNew(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(e.callee.start,d.ImportCallNotNewExpression)}else if(this.isOptionalChain(e.callee)){this.raise(this.state.lastTokEnd,d.OptionalChainingNoNew)}else if(this.eat(c.questionDot)){this.raise(this.state.start,d.OptionalChainingNoNew)}this.parseNewArguments(e);return this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(c.parenL)){const t=this.parseExprList(c.parenR);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}}parseTemplateElement(e){const t=this.startNode();if(this.state.value===null){if(!e){this.raise(this.state.start+1,d.InvalidEscapeSequenceTemplate)}}t.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,"\n"),cooked:this.state.value};this.next();t.tail=this.match(c.backQuote);return this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next();t.expressions=[];let s=this.parseTemplateElement(e);t.quasis=[s];while(!s.tail){this.expect(c.dollarBraceL);t.expressions.push(this.parseTemplateSubstitution());this.expect(c.braceR);t.quasis.push(s=this.parseTemplateElement(e))}this.next();return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,s,r){if(s){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const n=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(c.comma);if(this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}}const i=this.parsePropertyDefinition(t,r);if(!t){this.checkProto(i,s,n,r)}if(s&&!this.isObjectProperty(i)&&i.type!=="SpreadElement"){this.raise(i.start,d.InvalidRecordProperty)}if(i.shorthand){this.addExtra(i,"shorthand",true)}o.properties.push(i)}this.next();this.state.inFSharpPipelineDirectBody=i;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(s){l="RecordExpression"}return this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(c.bracketL)||this.match(c.star))}parsePropertyDefinition(e,t){let s=[];if(this.match(c.at)){if(this.hasPlugin("decorators")){this.raise(this.state.start,d.UnsupportedPropertyDecorator)}while(this.match(c.at)){s.push(this.parseDecorator())}}const r=this.startNode();let i=false;let n=false;let a=false;let o;let l;if(this.match(c.ellipsis)){if(s.length)this.unexpected();if(e){this.next();r.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(r,"RestElement")}return this.parseSpread()}if(s.length){r.decorators=s;s=[]}r.method=false;if(e||t){o=this.state.start;l=this.state.startLoc}if(!e){i=this.eat(c.star)}const p=this.state.containsEsc;const u=this.parsePropertyName(r,false);if(!e&&!i&&!p&&this.maybeAsyncOrAccessorProp(r)){const e=u.name;if(e==="async"&&!this.hasPrecedingLineBreak()){n=true;i=this.eat(c.star);this.parsePropertyName(r,false)}if(e==="get"||e==="set"){a=true;r.kind=e;if(this.match(c.star)){i=true;this.raise(this.state.pos,d.AccessorIsGenerator,e);this.next()}this.parsePropertyName(r,false)}}this.parseObjPropValue(r,o,l,i,n,e,a,t);return r}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const s=this.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const i=e.start;if(r.length!==s){if(e.kind==="get"){this.raise(i,d.BadGetterArity)}else{this.raise(i,d.BadSetterArity)}}if(e.kind==="set"&&((t=r[r.length-1])==null?void 0:t.type)==="RestElement"){this.raise(i,d.BadSetterRestParameter)}}parseObjectMethod(e,t,s,r,i){if(i){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(s||t||this.match(c.parenL)){if(r)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,s,false,false,"ObjectMethod")}}parseObjectProperty(e,t,s,r,i){e.shorthand=false;if(this.eat(c.colon)){e.value=r?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(i);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.start,true,false);if(r){e.value=this.parseMaybeDefault(t,s,e.key.__clone())}else if(this.match(c.eq)&&i){if(i.shorthandAssign===-1){i.shorthandAssign=this.state.start}e.value=this.parseMaybeDefault(t,s,e.key.__clone())}else{e.value=e.key.__clone()}e.shorthand=true;return this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,s,r,i,n,a,o){const l=this.parseObjectMethod(e,r,i,n,a)||this.parseObjectProperty(e,t,s,n,o);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(c.bracketL)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(c.bracketR)}else{const s=this.state.inPropertyName;this.state.inPropertyName=true;const r=this.state.type;e.key=r===c.num||r===c.string||r===c.bigint||r===c.decimal?this.parseExprAtom():this.parseMaybePrivateName(t);if(r!==c.privateName){e.computed=false}this.state.inPropertyName=s}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,s,r,i,n,a=false){this.initFunction(e,s);e.generator=!!t;const o=r;this.scope.enter(S|D|(a?F:0)|(i?N:0));this.prodParam.enter(functionFlags(s,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,n,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,s,r){if(s){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const n=this.startNode();this.next();n.elements=this.parseExprList(e,!s,r,n);this.state.inFSharpPipelineDirectBody=i;return this.finishNode(n,s?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,s,r){this.scope.enter(S|_);let i=functionFlags(s,false);if(!this.match(c.bracketL)&&this.prodParam.hasIn){i|=Re}this.prodParam.enter(i);this.initFunction(e,s);const n=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,r)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=n;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,s){e.params=this.toAssignableList(t,s,false)}parseFunctionBodyAndFinish(e,t,s=false){this.parseFunctionBody(e,false,s);this.finishNode(e,t)}parseFunctionBody(e,t,s=false){const r=t&&!this.match(c.braceL);this.expressionScope.enter(newExpressionScope());if(r){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const r=this.state.strict;const i=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|_e);e.body=this.parseBlock(true,false,i=>{const n=!this.isSimpleParamList(e.params);if(i&&n){const t=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(t,d.IllegalLanguageModeDirective)}const a=!r&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!s&&!n,t,a);if(this.state.strict&&e.id){this.checkLVal(e.id,"function name",ae,undefined,undefined,a)}});this.prodParam.exit();this.expressionScope.exit();this.state.labels=i}}isSimpleParamList(e){for(let t=0,s=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(t,d.YieldBindingIdentifier);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(t,d.AwaitBindingIdentifier);return}else if(this.scope.inStaticBlock&&!this.scope.inNonArrowFunction){this.raise(t,d.AwaitBindingIdentifierInStaticBlock);return}else{this.expressionScope.recordAsyncArrowParametersError(t,d.AwaitBindingIdentifier)}}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(t,d.ArgumentsInClass);return}}if(s&&isKeyword(e)){this.raise(t,d.UnexpectedKeyword,e);return}const i=!this.state.strict?isReservedWord:r?isStrictBindReservedWord:isStrictReservedWord;if(i(e,this.inModule)){this.raise(t,d.UnexpectedReservedWord,e)}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e,t){const s=this.startNodeAt(e,t);this.expressionScope.recordParameterInitializerError(s.start,d.AwaitExpressionFormalParameter);if(this.eat(c.star)){this.raise(s.start,d.ObsoleteAwaitStar)}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){s.argument=this.parseMaybeUnary(null,true)}return this.finishNode(s,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(c.plusMin)||this.match(c.parenL)||this.match(c.bracketL)||this.match(c.backQuote)||this.match(c.regexp)||this.match(c.slash)||this.hasPlugin("v8intrinsic")&&this.match(c.modulo)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,d.YieldInParameter);this.next();let t=false;let s=null;if(!this.hasPrecedingLineBreak()){t=this.eat(c.star);switch(this.state.type){case c.semi:case c.eof:case c.braceR:case c.parenR:case c.bracketR:case c.braceBarR:case c.colon:case c.comma:if(!t)break;default:s=this.parseMaybeAssign()}}e.delegate=t;e.argument=s;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.getPluginOption("pipelineOperator","proposal")==="smart"){if(e.type==="SequenceExpression"){this.raise(t,d.PipelineHeadSequenceExpression)}}}parseSmartPipelineBody(e,t,s){this.checkSmartPipelineBodyEarlyErrors(e,t);return this.parseSmartPipelineBodyInStyle(e,t,s)}checkSmartPipelineBodyEarlyErrors(e,t){if(this.match(c.arrow)){throw this.raise(this.state.start,d.PipelineBodyNoArrow)}else if(e.type==="SequenceExpression"){this.raise(t,d.PipelineBodySequenceExpression)}}parseSmartPipelineBodyInStyle(e,t,s){const r=this.startNodeAt(t,s);const i=this.isSimpleReference(e);if(i){r.callee=e}else{if(!this.topicReferenceWasUsedInCurrentTopicContext()){this.raise(t,d.PipelineTopicUnused)}r.expression=e}return this.finishNode(r,i?"PipelineBareFunction":"PipelineTopicExpression")}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}withTopicPermittingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withTopicForbiddingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const s=Re&~t;if(s){this.prodParam.enter(t|Re);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const s=Re&t;if(s){this.prodParam.enter(t&~Re);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}primaryTopicReferenceIsAllowedInCurrentTopicContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentTopicContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const s=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const i=this.parseExprOp(this.parseMaybeUnary(),t,s,e);this.state.inFSharpPipelineDirectBody=r;return i}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(c.braceL);const t=this.initializeScopes(true);this.enterInitialScopes();const s=this.startNode();try{e.body=this.parseProgram(s,c.braceR,"module")}finally{t()}this.eat(c.braceR);return this.finishNode(e,"ModuleExpression")}}const Ze={kind:"loop"},et={kind:"switch"};const tt=0,st=1,rt=2,it=4;const nt=/[\uD800-\uDFFF]/u;const at=/in(?:stanceof)?/y;function babel7CompatTokens(e){{for(let t=0;t0){for(const[e]of Array.from(this.scope.undefinedExports)){const t=this.scope.undefinedExports.get(e);this.raise(t,d.ModuleExportUndefined,e)}}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e.expression;const s=this.startNodeAt(t.start,t.loc.start);const r=this.startNodeAt(e.start,e.loc.start);const i=this.input.slice(t.start,t.end);const n=s.value=i.slice(1,-1);this.addExtra(s,"raw",i);this.addExtra(s,"rawValue",n);r.value=this.finishNodeAt(s,"DirectiveLiteral",t.end,t.loc.end);return this.finishNodeAt(r,"Directive",e.end,e.loc.end)}parseInterpreterDirective(){if(!this.match(c.interpreterDirective)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual("let")){return false}return this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart();const s=this.codePointAtPos(t);if(s===92||s===91){return true}if(e)return false;if(s===123)return true;if(isIdentifierStart(s)){at.lastIndex=t;const e=at.exec(this.input);if(e!==null){const s=this.codePointAtPos(t+e[0].length);if(!isIdentifierChar(s)&&s!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(c.at)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let s=this.state.type;const r=this.startNode();let i;if(this.isLet(e)){s=c._var;i="let"}switch(s){case c._break:case c._continue:return this.parseBreakContinueStatement(r,s.keyword);case c._debugger:return this.parseDebuggerStatement(r);case c._do:return this.parseDoStatement(r);case c._for:return this.parseForStatement(r);case c._function:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(this.state.start,d.StrictFunction)}else if(e!=="if"&&e!=="label"){this.raise(this.state.start,d.SloppyFunction)}}return this.parseFunctionStatement(r,false,!e);case c._class:if(e)this.unexpected();return this.parseClass(r,true);case c._if:return this.parseIfStatement(r);case c._return:return this.parseReturnStatement(r);case c._switch:return this.parseSwitchStatement(r);case c._throw:return this.parseThrowStatement(r);case c._try:return this.parseTryStatement(r);case c._const:case c._var:i=i||this.state.value;if(e&&i!=="var"){this.raise(this.state.start,d.UnexpectedLexicalDeclaration)}return this.parseVarStatement(r,i);case c._while:return this.parseWhileStatement(r);case c._with:return this.parseWithStatement(r);case c.braceL:return this.parseBlock();case c.semi:return this.parseEmptyStatement(r);case c._import:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case c._export:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(this.state.start,d.UnexpectedImportExport)}this.next();let e;if(s===c._import){e=this.parseImport(r);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(r);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(r);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(this.state.start,d.AsyncFunctionInSingleStatementContext)}this.next();return this.parseFunctionStatement(r,true,!e)}}}const n=this.state.value;const a=this.parseExpression();if(s===c.name&&a.type==="Identifier"&&this.eat(c.colon)){return this.parseLabeledStatement(r,n,a,e)}else{return this.parseExpressionStatement(r,a)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(e.start,y.ImportOutsideModule)}}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];if(t.length){e.decorators=t;this.resetStartLocationFromNode(e,t[0]);this.state.decoratorStack[this.state.decoratorStack.length-1]=[]}}canHaveLeadingDecorator(){return this.match(c._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(c.at)){const e=this.parseDecorator();t.push(e)}if(this.match(c._export)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,d.DecoratorExportClass)}}else if(!this.canHaveLeadingDecorator()){throw this.raise(this.state.start,d.UnexpectedLeadingDecorator)}}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start;const s=this.state.startLoc;let r;if(this.eat(c.parenL)){r=this.parseExpression();this.expect(c.parenR)}else{r=this.parseIdentifier(false);while(this.eat(c.dot)){const e=this.startNodeAt(t,s);e.object=r;e.property=this.parseIdentifier(true);e.computed=false;r=this.finishNode(e,"MemberExpression")}}e.expression=this.parseMaybeDecoratorArguments(r);this.state.decoratorStack.pop()}else{e.expression=this.parseExprSubscripts()}return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(c.parenL)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(c.parenR,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){const s=t==="break";this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,s?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){const s=t==="break";let r;for(r=0;rthis.parseStatement("do"));this.state.labels.pop();this.expect(c._while);e.test=this.parseHeaderExpression();this.eat(c.semi);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(Ze);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual("await")){t=this.state.lastTokStart}this.scope.enter(j);this.expect(c.parenL);if(this.match(c.semi)){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}const s=this.isContextual("let");const r=s&&this.isLetKeyword();if(this.match(c._var)||this.match(c._const)||r){const s=this.startNode();const i=r?"let":this.state.value;this.next();this.parseVar(s,true,i);this.finishNode(s,"VariableDeclaration");if((this.match(c._in)||this.isContextual("of"))&&s.declarations.length===1){return this.parseForIn(e,s,t)}if(t>-1){this.unexpected(t)}return this.parseFor(e,s)}const i=this.match(c.name)&&!this.state.containsEsc;const n=new ExpressionErrors;const a=this.parseExpression(true,n);const o=this.isContextual("of");if(o){if(s){this.raise(a.start,d.ForOfLet)}else if(t===-1&&i&&a.type==="Identifier"&&a.name==="async"){this.raise(a.start,d.ForOfAsync)}}if(o||this.match(c._in)){this.toAssignable(a,true);const s=o?"for-of statement":"for-in statement";this.checkLVal(a,s);return this.parseForIn(e,a,t)}else{this.checkExpressionErrors(n,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)}parseFunctionStatement(e,t,s){this.next();return this.parseFunction(e,st|(s?0:rt),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(c._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(this.state.start,d.IllegalReturn)}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(c.braceL);this.state.labels.push(et);this.scope.enter(j);let s;for(let e;!this.match(c.braceR);){if(this.match(c._case)||this.match(c._default)){const r=this.match(c._case);if(s)this.finishNode(s,"SwitchCase");t.push(s=this.startNode());s.consequent=[];this.next();if(r){s.test=this.parseExpression()}else{if(e){this.raise(this.state.lastTokStart,d.MultipleDefaultsInSwitch)}e=true;s.test=null}this.expect(c.colon)}else{if(s){s.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(s)this.finishNode(s,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(this.state.lastTokEnd,d.NewlineAfterThrow)}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?R:0);this.checkLVal(e,"catch clause",Q);return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(c._catch)){const t=this.startNode();this.next();if(this.match(c.parenL)){this.expect(c.parenL);t.param=this.parseCatchClauseParam();this.expect(c.parenR)}else{t.param=null;this.scope.enter(j)}t.body=this.withTopicForbiddingContext(()=>this.parseBlock(false,false));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(c._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,d.NoCatchOrFinally)}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(Ze);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("while"));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(this.state.start,d.StrictWith)}this.next();e.object=this.parseHeaderExpression();e.body=this.withTopicForbiddingContext(()=>this.parseStatement("with"));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,s,r){for(const e of this.state.labels){if(e.name===t){this.raise(s.start,d.LabelRedeclaration,t)}}const i=this.state.type.isLoop?"loop":this.match(c._switch)?"switch":null;for(let t=this.state.labels.length-1;t>=0;t--){const s=this.state.labels[t];if(s.statementStart===e.start){s.statementStart=this.state.start;s.kind=i}else{break}}this.state.labels.push({name:t,kind:i,statementStart:this.state.start});e.body=this.parseStatement(r?r.indexOf("label")===-1?r+"label":r:"label");this.state.labels.pop();e.label=s;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,s){const r=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(c.braceL);if(t){this.scope.enter(j)}this.parseBlockBody(r,e,false,c.braceR,s);if(t){this.scope.exit()}return this.finishNode(r,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,s,r,i){const n=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(n,t?a:undefined,s,r,i)}parseBlockOrModuleBlockBody(e,t,s,r,i){const n=this.state.strict;let a=false;let o=false;while(!this.match(r)){const r=this.parseStatement(null,s);if(t&&!o){if(this.isValidDirective(r)){const e=this.stmtToDirective(r);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(r)}if(i){i.call(this,a)}if(!n){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(c.semi)?null:this.parseExpression();this.semicolon(false);e.update=this.match(c.parenR)?null:this.parseExpression();this.expect(c.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,s){const r=this.match(c._in);this.next();if(r){if(s>-1)this.unexpected(s)}else{e.await=s>-1}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,d.ForInOfLoopInitializer,r?"for-in":"for-of")}else if(t.type==="AssignmentPattern"){this.raise(t.start,d.InvalidLhs,"for-loop")}e.left=t;e.right=r?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(c.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,r?"ForInStatement":"ForOfStatement")}parseVar(e,t,s){const r=e.declarations=[];const i=this.hasPlugin("typescript");e.kind=s;for(;;){const e=this.startNode();this.parseVarId(e,s);if(this.eat(c.eq)){e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn()}else{if(s==="const"&&!(this.match(c._in)||this.isContextual("of"))){if(!i){this.raise(this.state.lastTokEnd,d.DeclarationMissingInitializer,"Const declarations")}}else if(e.id.type!=="Identifier"&&!(t&&(this.match(c._in)||this.isContextual("of")))){this.raise(this.state.lastTokEnd,d.DeclarationMissingInitializer,"Complex binding patterns")}e.init=null}r.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(c.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,"variable declaration",t==="var"?Z:Q,undefined,t!=="var")}parseFunction(e,t=tt,s=false){const r=t&st;const i=t&rt;const n=!!r&&!(t&it);this.initFunction(e,s);if(this.match(c.star)&&i){this.raise(this.state.start,d.GeneratorInSingleStatementContext)}e.generator=this.eat(c.star);if(r){e.id=this.parseFunctionId(n)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(S);this.prodParam.enter(functionFlags(s,e.generator));if(!r){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,r?"FunctionDeclaration":"FunctionExpression")});this.prodParam.exit();this.scope.exit();if(r&&!i){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||this.match(c.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(c.parenL);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(c.parenR,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?Z:Q:ee,e.id.start)}parseClass(e,t,s){this.next();this.takeDecorators(e);const r=this.state.strict;this.state.strict=true;this.parseClassId(e,t,s);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,r);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(c.eq)||this.match(c.semi)||this.match(c.braceR)}isClassMethod(){return this.match(c.parenL)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const s={hadConstructor:false,hadSuperClass:e};let r=[];const i=this.startNode();i.body=[];this.expect(c.braceL);this.withTopicForbiddingContext(()=>{while(!this.match(c.braceR)){if(this.eat(c.semi)){if(r.length>0){throw this.raise(this.state.lastTokEnd,d.DecoratorSemicolon)}continue}if(this.match(c.at)){r.push(this.parseDecorator());continue}const e=this.startNode();if(r.length){e.decorators=r;this.resetStartLocationFromNode(e,r[0]);r=[]}this.parseClassMember(i,e,s);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(e.start,d.DecoratorConstructor)}}});this.state.strict=t;this.next();if(r.length){throw this.raise(this.state.start,d.TrailingDecorator)}this.classScope.exit();return this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){const s=this.parseIdentifier(true);if(this.isClassMethod()){const r=t;r.kind="method";r.computed=false;r.key=s;r.static=false;this.pushClassMethod(e,r,false,false,false,false);return true}else if(this.isClassProperty()){const r=t;r.computed=false;r.key=s;r.static=false;e.body.push(this.parseClassProperty(r));return true}return false}parseClassMember(e,t,s){const r=this.isContextual("static");if(r){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(c.braceL)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,s,r)}parseClassMemberWithIsStatic(e,t,s,r){const i=t;const n=t;const a=t;const o=t;const l=i;const p=i;t.static=r;if(this.eat(c.star)){l.kind="method";const t=this.match(c.privateName);this.parseClassElementName(l);if(t){this.pushClassPrivateMethod(e,n,true,false);return}if(this.isNonstaticConstructor(i)){this.raise(i.key.start,d.ConstructorIsGenerator)}this.pushClassMethod(e,i,true,false,false,false);return}const u=this.state.containsEsc;const h=this.match(c.privateName);const f=this.parseClassElementName(t);const y=f.type==="Identifier";const m=this.state.start;this.parsePostMemberNameModifiers(p);if(this.isClassMethod()){l.kind="method";if(h){this.pushClassPrivateMethod(e,n,false,false);return}const r=this.isNonstaticConstructor(i);let a=false;if(r){i.kind="constructor";if(s.hadConstructor&&!this.hasPlugin("typescript")){this.raise(f.start,d.DuplicateConstructor)}if(r&&this.hasPlugin("typescript")&&t.override){this.raise(f.start,d.OverrideOnConstructor)}s.hadConstructor=true;a=s.hadSuperClass}this.pushClassMethod(e,i,false,false,r,a)}else if(this.isClassProperty()){if(h){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(y&&f.name==="async"&&!u&&!this.isLineTerminator()){const t=this.eat(c.star);if(p.optional){this.unexpected(m)}l.kind="method";const s=this.match(c.privateName);this.parseClassElementName(l);this.parsePostMemberNameModifiers(p);if(s){this.pushClassPrivateMethod(e,n,t,true)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,d.ConstructorIsAsync)}this.pushClassMethod(e,i,t,true,false,false)}}else if(y&&(f.name==="get"||f.name==="set")&&!u&&!(this.match(c.star)&&this.isLineTerminator())){l.kind=f.name;const t=this.match(c.privateName);this.parseClassElementName(i);if(t){this.pushClassPrivateMethod(e,n,false,false)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,d.ConstructorIsAccessor)}this.pushClassMethod(e,i,false,false,false,false)}this.checkGetterSetterParams(i)}else if(this.isLineTerminator()){if(h){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:s,start:r}=this.state;if((t===c.name||t===c.string)&&e.static&&s==="prototype"){this.raise(r,d.StaticPrototype)}if(t===c.privateName&&s==="constructor"){this.raise(r,d.ConstructorClassPrivateField)}return this.parsePropertyName(e,true)}parseClassStaticBlock(e,t){var s;this.expectPlugin("classStaticBlock",t.start);this.scope.enter(F|M|D);const r=this.state.labels;this.state.labels=[];this.prodParam.enter(je);const i=t.body=[];this.parseBlockOrModuleBlockBody(i,undefined,false,c.braceR);this.prodParam.exit();this.scope.exit();this.state.labels=r;e.body.push(this.finishNode(t,"StaticBlock"));if((s=t.decorators)!=null&&s.length){this.raise(t.start,d.DecoratorStaticBlock)}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(t.key.start,d.ConstructorClassField)}e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const s=this.parseClassPrivateProperty(t);e.body.push(s);this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),be,s.key.start)}pushClassMethod(e,t,s,r,i,n){e.body.push(this.parseMethod(t,s,r,i,n,"ClassMethod",true))}pushClassPrivateMethod(e,t,s,r){const i=this.parseMethod(t,s,r,false,false,"ClassPrivateMethod",true);e.body.push(i);const n=i.kind==="get"?i.static?de:me:i.kind==="set"?i.static?ye:ge:be;this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),n,i.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(F|D);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(je);e.value=this.eat(c.eq)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,s,r=Y){if(this.match(c.name)){e.id=this.parseIdentifier();if(t){this.checkLVal(e.id,"class name",r)}}else{if(s||!t){e.id=null}else{this.unexpected(null,d.MissingClassName)}}}parseClassSuper(e){e.superClass=this.eat(c._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const s=!t||this.eat(c.comma);const r=s&&this.eatExportStar(e);const i=r&&this.maybeParseExportNamespaceSpecifier(e);const n=s&&(!i||this.eat(c.comma));const a=t||r;if(r&&!i){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&s&&!r&&!o||i&&n&&!o){throw this.unexpected(null,c.braceL)}let l;if(a||o){l=false;this.parseExportFrom(e,a)}else{l=this.maybeParseExportDeclaration(e)}if(a||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(c._default)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,c.braceL)}eatExportStar(e){return this.eat(c.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(c.braceL)){if(!e.specifiers)e.specifiers=[];e.specifiers.push(...this.parseExportSpecifiers());e.source=null;e.declaration=null;return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual("async"))return false;const e=this.nextTokenStart();return!p.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(c._function)||t){this.next();if(t){this.next()}return this.parseFunction(e,st|it,t)}else if(this.match(c._class)){return this.parseClass(e,true,true)}else if(this.match(c.at)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,d.DecoratorBeforeExport)}this.parseDecorators(false);return this.parseClass(e,true,true)}else if(this.match(c._const)||this.match(c._var)||this.isLet()){throw this.raise(this.state.start,d.UnsupportedDefaultExport)}else{const e=this.parseMaybeAssignAllowIn();this.semicolon();return e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(c.name)){const e=this.state.value;if(e==="async"&&!this.state.containsEsc||e==="let"){return false}if((e==="type"||e==="interface")&&!this.state.containsEsc){const e=this.lookahead();if(e.type===c.name&&e.value!=="from"||e.type===c.braceL){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(c._default)){return false}const e=this.nextTokenStart();const t=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||this.match(c.name)&&t){return true}if(this.match(c._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return t===34||t===39}return false}parseExportFrom(e,t){if(this.eatContextual("from")){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else{if(t){this.unexpected()}else{e.source=null}}this.semicolon()}shouldParseExportDeclaration(){if(this.match(c.at)){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){this.unexpected(this.state.start,d.DecoratorBeforeExport)}else{return true}}}return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isLet()||this.isAsyncFunction()}checkExport(e,t,s,r){if(t){if(s){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var i;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((i=t.extra)!=null&&i.parenthesized)){this.raise(t.start,d.ExportDefaultFromAsIdentifier)}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const s=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,s);if(!r&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(t.start,d.ExportBindingIsString,e.value,s)}else{this.checkReservedWord(e.name,e.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}const n=this.state.decoratorStack[this.state.decoratorStack.length-1];if(n.length){throw this.raise(e.start,d.UnsupportedDecoratorExport)}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){this.raise(e.start,t==="default"?d.DuplicateDefaultExport:d.DuplicateExport,t)}this.exportedIdentifiers.add(t)}parseExportSpecifiers(){const e=[];let t=true;this.expect(c.braceL);while(!this.eat(c.braceR)){if(t){t=false}else{this.expect(c.comma);if(this.eat(c.braceR))break}const s=this.startNode();s.local=this.parseModuleExportName();s.exported=this.eatContextual("as")?this.parseModuleExportName():s.local.__clone();e.push(this.finishNode(s,"ExportSpecifier"))}return e}parseModuleExportName(){if(this.match(c.string)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(nt);if(t){this.raise(e.start,d.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16))}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(c.string)){const t=this.maybeParseDefaultImportSpecifier(e);const s=!t||this.eat(c.comma);const r=s&&this.maybeParseStarImportSpecifier(e);if(s&&!r)this.parseNamedImportSpecifiers(e);this.expectContextual("from")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(c.string))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(c.name)}parseImportSpecifierLocal(e,t,s,r){t.local=this.parseIdentifier();this.checkLVal(t.local,r,Q);e.specifiers.push(this.finishNode(t,s))}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(c.braceR)){break}const s=this.startNode();const r=this.state.value;if(t.has(r)){this.raise(this.state.start,d.ModuleAttributesWithDuplicateKeys,r)}t.add(r);if(this.match(c.string)){s.key=this.parseStringLiteral(r)}else{s.key=this.parseIdentifier(true)}this.expect(c.colon);if(!this.match(c.string)){throw this.unexpected(this.state.start,d.ModuleAttributeInvalidValue)}s.value=this.parseStringLiteral(this.state.value);this.finishNode(s,"ImportAttribute");e.push(s)}while(this.eat(c.comma));return e}maybeParseModuleAttributes(){if(this.match(c._with)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const s=this.startNode();s.key=this.parseIdentifier(true);if(s.key.name!=="type"){this.raise(s.key.start,d.ModuleAttributeDifferentFromType,s.key.name)}if(t.has(s.key.name)){this.raise(s.key.start,d.ModuleAttributesWithDuplicateKeys,s.key.name)}t.add(s.key.name);this.expect(c.colon);if(!this.match(c.string)){throw this.unexpected(this.state.start,d.ModuleAttributeInvalidValue)}s.value=this.parseStringLiteral(this.state.value);this.finishNode(s,"ImportAttribute");e.push(s)}while(this.eat(c.comma));return e}maybeParseImportAssertions(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(c.braceL);const e=this.parseAssertEntries();this.eat(c.braceR);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(c.star)){const t=this.startNode();this.next();this.expectContextual("as");this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(c.braceL);while(!this.eat(c.braceR)){if(t){t=false}else{if(this.eat(c.colon)){throw this.raise(this.state.start,d.DestructureNamedImport)}this.expect(c.comma);if(this.eat(c.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();const s=this.match(c.string);t.imported=this.parseModuleExportName();if(this.eatContextual("as")){t.local=this.parseIdentifier()}else{const{imported:e}=t;if(s){throw this.raise(t.start,d.ImportBindingIsString,e.value)}this.checkReservedWord(e.name,t.start,true,true);t.local=e.__clone()}this.checkLVal(t.local,"import specifier",Q);e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const s of e){const[e,r]=Array.isArray(s)?s:[s,{}];if(!t.has(e))t.set(e,r||{})}return t}function parse(e,t){var s;if(((s=t)==null?void 0:s.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const s=getParser(t,e);const r=s.parse();if(s.sawUnambiguousESM){return r}if(s.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{r.program.sourceType="script"}return r}catch(s){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw s}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const s=getParser(t,e);if(s.options.strictMode){s.state.strict=true}return s.getExpression()}function getParser(e,t){let s=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);s=getParserClass(e.plugins)}return new s(e,t)}const ot={};function getParserClass(e){const t=qe.filter(t=>hasPlugin(e,t));const s=t.join("/");let r=ot[s];if(!r){r=Parser;for(const e of t){r=We[e](r)}ot[s]=r}return r}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=c},1236:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var r=s(39652);const i=(0,r.template)(`\n async function wrapper() {\n var ITERATOR_ABRUPT_COMPLETION = false;\n var ITERATOR_HAD_ERROR_KEY = false;\n var ITERATOR_ERROR_KEY;\n try {\n for (\n var ITERATOR_KEY = GET_ITERATOR(OBJECT), STEP_KEY;\n ITERATOR_ABRUPT_COMPLETION = !(STEP_KEY = await ITERATOR_KEY.next()).done;\n ITERATOR_ABRUPT_COMPLETION = false\n ) {\n }\n } catch (err) {\n ITERATOR_HAD_ERROR_KEY = true;\n ITERATOR_ERROR_KEY = err;\n } finally {\n try {\n if (ITERATOR_ABRUPT_COMPLETION && ITERATOR_KEY.return != null) {\n await ITERATOR_KEY.return();\n }\n } finally {\n if (ITERATOR_HAD_ERROR_KEY) {\n throw ITERATOR_ERROR_KEY;\n }\n }\n }\n }\n`);function _default(e,{getAsyncIterator:t}){const{node:s,scope:n,parent:a}=e;const o=n.generateUidIdentifier("step");const l=r.types.memberExpression(o,r.types.identifier("value"));const c=s.left;let p;if(r.types.isIdentifier(c)||r.types.isPattern(c)||r.types.isMemberExpression(c)){p=r.types.expressionStatement(r.types.assignmentExpression("=",c,l))}else if(r.types.isVariableDeclaration(c)){p=r.types.variableDeclaration(c.kind,[r.types.variableDeclarator(c.declarations[0].id,l)])}let u=i({ITERATOR_HAD_ERROR_KEY:n.generateUidIdentifier("didIteratorError"),ITERATOR_ABRUPT_COMPLETION:n.generateUidIdentifier("iteratorAbruptCompletion"),ITERATOR_ERROR_KEY:n.generateUidIdentifier("iteratorError"),ITERATOR_KEY:n.generateUidIdentifier("iterator"),GET_ITERATOR:t,OBJECT:s.right,STEP_KEY:r.types.cloneNode(o)});u=u.body.body;const h=r.types.isLabeledStatement(a);const f=u[3].block.body;const d=f[0];if(h){f[0]=r.types.labeledStatement(a.label,d)}return{replaceParent:h,node:u,declar:p,loop:d}}},71694:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(20336);var i=s(79763);var n=s(42229);var a=s(39652);var o=s(1236);var l=(0,r.declare)(e=>{e.assertVersion(7);const t={Function(e){e.skip()},YieldExpression({node:e},t){if(!e.delegate)return;const s=t.addHelper("asyncGeneratorDelegate");e.argument=a.types.callExpression(s,[a.types.callExpression(t.addHelper("asyncIterator"),[e.argument]),t.addHelper("awaitAsyncGenerator")])}};const s={Function(e){e.skip()},ForOfStatement(e,{file:t}){const{node:s}=e;if(!s.await)return;const r=(0,o.default)(e,{getAsyncIterator:t.addHelper("asyncIterator")});const{declar:i,loop:n}=r;const l=n.body;e.ensureBlock();if(i){l.body.push(i)}l.body=l.body.concat(s.body.body);a.types.inherits(n,s);a.types.inherits(n.body,s.body);if(r.replaceParent){e.parentPath.replaceWithMultiple(r.node)}else{e.replaceWithMultiple(r.node)}}};const r={Function(e,r){if(!e.node.async)return;e.traverse(s,r);if(!e.node.generator)return;e.traverse(t,r);(0,i.default)(e,{wrapAsync:r.addHelper("wrapAsyncGenerator"),wrapAwait:r.addHelper("awaitAsyncGenerator")})}};return{name:"proposal-async-generator-functions",inherits:n.default,visitor:{Program(e,t){e.traverse(r,t)}}}});t.default=l},98060:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(20336);var i=s(34971);var n=(0,r.declare)((e,t)=>{e.assertVersion(7);return(0,i.createClassFeaturePlugin)({name:"proposal-class-properties",api:e,feature:i.FEATURES.fields,loose:t.loose,manipulateOptions(e,t){t.plugins.push("classProperties","classPrivateProperties")}})});t.default=n},10790:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(20336);var i=s(41852);var n=s(34971);function generateUid(e,t){const s="";let r;let i=1;do{r=e._generateUid(s,i);i++}while(t.has(r));return r}var a=(0,r.declare)(({types:e,template:t,assertVersion:s})=>{s("^7.12.0");return{name:"proposal-class-static-block",inherits:i.default,pre(){(0,n.enableFeature)(this.file,n.FEATURES.staticBlocks,false)},visitor:{ClassBody(s){const{scope:r}=s;const i=new Set;const n=s.get("body");for(const e of n){if(e.isPrivate()){i.add(e.get("key.id").node.name)}}for(const s of n){if(!s.isStaticBlock())continue;const n=generateUid(r,i);i.add(n);const a=e.privateName(e.identifier(n));s.replaceWith(e.classPrivateProperty(a,t.expression.ast`(() => { ${s.node.body} })()`,[],true))}}}}});t.default=a},91269:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(20336);var i=s(77130);var n=s(34971);var a=s(96659);var o=(0,r.declare)(({assertVersion:e,types:t,template:s},{loose:r})=>{e(7);const o=new WeakMap;const l=new WeakMap;function unshadow(e,t,s){while(s!==t){if(s.hasOwnBinding(e))s.rename(e);s=s.parent}}function injectToFieldInit(e,s,r=false){if(e.node.value){if(r){e.get("value").insertBefore(s)}else{e.get("value").insertAfter(s)}}else{e.set("value",t.unaryExpression("void",s))}}function injectInitialization(e,s){let r;let i;for(const t of e.get("body.body")){if((t.isClassProperty()||t.isClassPrivateProperty())&&!t.node.static){r=t;break}if(!i&&t.isClassMethod({kind:"constructor"})){i=t}}if(r){injectToFieldInit(r,s,true)}else{(0,n.injectInitialization)(e,i,[t.expressionStatement(s)])}}function getWeakSetId(e,r,i,n="",l){let c=o.get(i.node);if(!c){c=r.scope.generateUidIdentifier(`${n||""} brandCheck`);o.set(i.node,c);l(i,s.expression.ast`${t.cloneNode(c)}.add(this)`);const e=t.newExpression(t.identifier("WeakSet"),[]);(0,a.default)(e);r.insertBefore(s.ast`var ${c} = ${e}`)}return t.cloneNode(c)}return{name:"proposal-private-property-in-object",inherits:i.default,pre(){(0,n.enableFeature)(this.file,n.FEATURES.privateIn,r)},visitor:{BinaryExpression(e){const{node:r}=e;if(r.operator!=="in")return;if(!t.isPrivateName(r.left))return;const{name:i}=r.left.id;let n;const a=e.findParent(e=>{if(!e.isClass())return false;n=e.get("body.body").find(({node:e})=>t.isPrivate(e)&&e.key.id.name===i);return!!n});if(a.parentPath.scope.path.isPattern()){a.replaceWith(s.ast`(() => ${a.node})()`);return}if(n.isMethod()){if(n.node.static){if(a.node.id){unshadow(a.node.id.name,a.scope,e.scope)}else{a.set("id",e.scope.generateUidIdentifier("class"))}e.replaceWith(s.expression.ast` ${t.cloneNode(a.node.id)} === ${e.node.right} - `)}else{var u;const t=getWeakSetId(o,a,a,(u=a.node.id)==null?void 0:u.name,injectInitialization);e.replaceWith(r.expression.ast`${t}.has(${e.node.right})`)}}else{const t=getWeakSetId(l,a,i,i.node.key.id.name,injectToFieldInit);e.replaceWith(r.expression.ast`${t}.has(${e.node.right})`)}}}}});t.default=o},35194:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(36610);var s=r(20336);var i=(0,s.declare)((e,t)=>{e.assertVersion(7);const{useUnicodeFlag:r=true}=t;if(typeof r!=="boolean"){throw new Error(".useUnicodeFlag must be a boolean, or undefined")}return(0,n.createRegExpFeaturePlugin)({name:"proposal-unicode-property-regex",feature:"unicodePropertyEscape",options:{useUnicodeFlag:r}})});t.default=i},42229:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(36330);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-async-generators",manipulateOptions(e,t){t.plugins.push("asyncGenerators")}}});t.default=s},36330:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,n)=>{if(!t.assertVersion){t=Object.assign(copyApiObject(t),{assertVersion(e){throwVersionError(e,t.version)}})}return e(t,r||{},n)}}function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},87140:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(82745);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-bigint",manipulateOptions(e,t){t.plugins.push("bigInt")}}});t.default=s},82745:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,n)=>{if(!t.assertVersion){t=Object.assign(copyApiObject(t),{assertVersion(e){throwVersionError(e,t.version)}})}return e(t,r||{},n)}}function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},27532:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(19112);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-class-properties",manipulateOptions(e,t){t.plugins.push("classProperties","classPrivateProperties","classPrivateMethods")}}});t.default=s},19112:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},41852:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(20336);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-class-static-block",manipulateOptions(e,t){t.plugins.push("classStaticBlock")}}});t.default=s},15487:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(50851);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-dynamic-import",manipulateOptions(e,t){t.plugins.push("dynamicImport")}}});t.default=s},50851:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,n)=>{if(!t.assertVersion){t=Object.assign(copyApiObject(t),{assertVersion(e){throwVersionError(e,t.version)}})}return e(t,r||{},n)}}function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},65673:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(20336);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-jsx",manipulateOptions(e,t){if(t.plugins.some(e=>(Array.isArray(e)?e[0]:e)==="typescript")){return}t.plugins.push("jsx")}}});t.default=s},77130:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(20336);var s=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-private-property-in-object",manipulateOptions(e,t){t.plugins.push("privateIn")}}});t.default=s},13667:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(20336);function removePlugin(e,t){const r=[];e.forEach((e,n)=>{const s=Array.isArray(e)?e[0]:e;if(s===t){r.unshift(n)}});for(const t of r){e.splice(t,1)}}var s=(0,n.declare)((e,{isTSX:t})=>{e.assertVersion(7);return{name:"syntax-typescript",manipulateOptions(e,r){const{plugins:n}=r;removePlugin(n,"flow");removePlugin(n,"jsx");r.plugins.push("typescript","classProperties");{r.plugins.push("objectRestSpread")}if(t){r.plugins.push("jsx")}}}});t.default=s},79285:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(20336);var s=r(96659);var i=r(98733);var a=r(76729);var o=r(39652);var l=r(41389);var u=r(73813);const p=e=>Object.keys(l[e]).filter(e=>/^[A-Z]/.test(e));const f=new Set([...p("builtin"),...p("browser")]);var c=(0,n.declare)((e,t)=>{var r,n,l,p;e.assertVersion(7);const{loose:c}=t;const d=(r=e.assumption("setClassMethods"))!=null?r:t.loose;const y=(n=e.assumption("constantSuper"))!=null?n:t.loose;const m=(l=e.assumption("superIsCallableConstructor"))!=null?l:t.loose;const T=(p=e.assumption("noClassCalls"))!=null?p:t.loose;const h=Symbol();return{name:"transform-classes",visitor:{ExportDefaultDeclaration(e){if(!e.get("declaration").isClassDeclaration())return;(0,a.default)(e)},ClassDeclaration(e){const{node:t}=e;const r=t.id||e.scope.generateUidIdentifier("class");e.replaceWith(o.types.variableDeclaration("let",[o.types.variableDeclarator(r,o.types.toExpression(t))]))},ClassExpression(e,t){const{node:r}=e;if(r[h])return;const n=(0,i.default)(e);if(n&&n!==r){e.replaceWith(n);return}r[h]=true;e.replaceWith((0,u.default)(e,t.file,f,c,{setClassMethods:d,constantSuper:y,superIsCallableConstructor:m,noClassCalls:T}));if(e.isCallExpression()){(0,s.default)(e);const t=e.get("callee");if(t.isArrowFunctionExpression()){t.arrowFunctionToExpression()}}}}}});t.default=c},669:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addCreateSuperHelper;var n=r(39652);const s=new WeakMap;function addCreateSuperHelper(e){if(s.has(e)){return(n.types.cloneNode||n.types.clone)(s.get(e))}try{return e.addHelper("createSuper")}catch(e){}const t=e.scope.generateUidIdentifier("createSuper");s.set(e,t);const r=i({CREATE_SUPER:t,GET_PROTOTYPE_OF:e.addHelper("getPrototypeOf"),POSSIBLE_CONSTRUCTOR_RETURN:e.addHelper("possibleConstructorReturn")});e.path.unshiftContainer("body",[r]);e.scope.registerDeclaration(e.path.get("body.0"));return n.types.cloneNode(t)}const i=n.template.statement` + `)}else{var c;const t=getWeakSetId(o,a,a,(c=a.node.id)==null?void 0:c.name,injectInitialization);e.replaceWith(s.expression.ast`${t}.has(${e.node.right})`)}}else{const t=getWeakSetId(l,a,n,n.node.key.id.name,injectToFieldInit);e.replaceWith(s.expression.ast`${t}.has(${e.node.right})`)}}}}});t.default=o},35194:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(36610);var i=s(20336);var n=(0,i.declare)((e,t)=>{e.assertVersion(7);const{useUnicodeFlag:s=true}=t;if(typeof s!=="boolean"){throw new Error(".useUnicodeFlag must be a boolean, or undefined")}return(0,r.createRegExpFeaturePlugin)({name:"proposal-unicode-property-regex",feature:"unicodePropertyEscape",options:{useUnicodeFlag:s}})});t.default=n},42229:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(36330);var i=(0,r.declare)(e=>{e.assertVersion(7);return{name:"syntax-async-generators",manipulateOptions(e,t){t.plugins.push("asyncGenerators")}}});t.default=i},36330:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,s,r)=>{if(!t.assertVersion){t=Object.assign(copyApiObject(t),{assertVersion(e){throwVersionError(e,t.version)}})}return e(t,s||{},r)}}function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},87140:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(82745);var i=(0,r.declare)(e=>{e.assertVersion(7);return{name:"syntax-bigint",manipulateOptions(e,t){t.plugins.push("bigInt")}}});t.default=i},82745:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,s,r)=>{if(!t.assertVersion){t=Object.assign(copyApiObject(t),{assertVersion(e){throwVersionError(e,t.version)}})}return e(t,s||{},r)}}function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},27532:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(19112);var i=(0,r.declare)(e=>{e.assertVersion(7);return{name:"syntax-class-properties",manipulateOptions(e,t){t.plugins.push("classProperties","classPrivateProperties","classPrivateMethods")}}});t.default=i},19112:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,r,i)=>{var n;let a;for(const e of Object.keys(s)){var o;if(t[e])continue;a=(o=a)!=null?o:copyApiObject(t);a[e]=s[e](a)}return e((n=a)!=null?n:t,r||{},i)}}const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>{return{}},assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},41852:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(20336);var i=(0,r.declare)(e=>{e.assertVersion(7);return{name:"syntax-class-static-block",manipulateOptions(e,t){t.plugins.push("classStaticBlock")}}});t.default=i},15487:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(50851);var i=(0,r.declare)(e=>{e.assertVersion(7);return{name:"syntax-dynamic-import",manipulateOptions(e,t){t.plugins.push("dynamicImport")}}});t.default=i},50851:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,s,r)=>{if(!t.assertVersion){t=Object.assign(copyApiObject(t),{assertVersion(e){throwVersionError(e,t.version)}})}return e(t,s||{},r)}}function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let r;if(t.slice(0,2)==="7."){r=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{r=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},65673:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(20336);var i=(0,r.declare)(e=>{e.assertVersion(7);return{name:"syntax-jsx",manipulateOptions(e,t){if(t.plugins.some(e=>(Array.isArray(e)?e[0]:e)==="typescript")){return}t.plugins.push("jsx")}}});t.default=i},77130:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(20336);var i=(0,r.declare)(e=>{e.assertVersion(7);return{name:"syntax-private-property-in-object",manipulateOptions(e,t){t.plugins.push("privateIn")}}});t.default=i},13667:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(20336);function removePlugin(e,t){const s=[];e.forEach((e,r)=>{const i=Array.isArray(e)?e[0]:e;if(i===t){s.unshift(r)}});for(const t of s){e.splice(t,1)}}var i=(0,r.declare)((e,{isTSX:t})=>{e.assertVersion(7);return{name:"syntax-typescript",manipulateOptions(e,s){const{plugins:r}=s;removePlugin(r,"flow");removePlugin(r,"jsx");s.plugins.push("typescript","classProperties");{s.plugins.push("objectRestSpread")}if(t){s.plugins.push("jsx")}}}});t.default=i},79285:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(20336);var i=s(96659);var n=s(98733);var a=s(76729);var o=s(39652);var l=s(41389);var c=s(73813);const p=e=>Object.keys(l[e]).filter(e=>/^[A-Z]/.test(e));const u=new Set([...p("builtin"),...p("browser")]);var h=(0,r.declare)((e,t)=>{var s,r,l,p;e.assertVersion(7);const{loose:h}=t;const f=(s=e.assumption("setClassMethods"))!=null?s:t.loose;const d=(r=e.assumption("constantSuper"))!=null?r:t.loose;const y=(l=e.assumption("superIsCallableConstructor"))!=null?l:t.loose;const m=(p=e.assumption("noClassCalls"))!=null?p:t.loose;const g=Symbol();return{name:"transform-classes",visitor:{ExportDefaultDeclaration(e){if(!e.get("declaration").isClassDeclaration())return;(0,a.default)(e)},ClassDeclaration(e){const{node:t}=e;const s=t.id||e.scope.generateUidIdentifier("class");e.replaceWith(o.types.variableDeclaration("let",[o.types.variableDeclarator(s,o.types.toExpression(t))]))},ClassExpression(e,t){const{node:s}=e;if(s[g])return;const r=(0,n.default)(e);if(r&&r!==s){e.replaceWith(r);return}s[g]=true;e.replaceWith((0,c.default)(e,t.file,u,h,{setClassMethods:f,constantSuper:d,superIsCallableConstructor:y,noClassCalls:m}));if(e.isCallExpression()){(0,i.default)(e);const t=e.get("callee");if(t.isArrowFunctionExpression()){t.arrowFunctionToExpression()}}}}}});t.default=h},669:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addCreateSuperHelper;var r=s(39652);const i=new WeakMap;function addCreateSuperHelper(e){if(i.has(e)){return(r.types.cloneNode||r.types.clone)(i.get(e))}try{return e.addHelper("createSuper")}catch(e){}const t=e.scope.generateUidIdentifier("createSuper");i.set(e,t);const s=n({CREATE_SUPER:t,GET_PROTOTYPE_OF:e.addHelper("getPrototypeOf"),POSSIBLE_CONSTRUCTOR_RETURN:e.addHelper("possibleConstructorReturn")});e.path.unshiftContainer("body",[s]);e.scope.registerDeclaration(e.path.get("body.0"));return r.types.cloneNode(t)}const n=r.template.statement` function CREATE_SUPER(Derived) { function isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; @@ -7847,64 +7847,64 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return POSSIBLE_CONSTRUCTOR_RETURN(this, result); } } -`},73813:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=transformClass;var n=r(98733);var s=r(846);var i=r(68720);var a=r(39652);var o=r(96659);var l=r(669);function buildConstructor(e,t,r){const n=a.types.functionDeclaration(a.types.cloneNode(e),[],t);a.types.inherits(n,r);return n}function transformClass(e,t,r,u,p){const f={parent:undefined,scope:undefined,node:undefined,path:undefined,file:undefined,classId:undefined,classRef:undefined,superFnId:undefined,superName:undefined,superReturns:[],isDerived:false,extendsNative:false,construct:undefined,constructorBody:undefined,userConstructor:undefined,userConstructorPath:undefined,hasConstructor:false,staticPropBody:[],body:[],superThises:[],pushedConstructor:false,pushedInherits:false,protoAlias:null,isLoose:false,dynamicKeys:new Map,methods:{instance:{hasComputed:false,list:[],map:new Map},static:{hasComputed:false,list:[],map:new Map}}};const c=e=>{Object.assign(f,e)};const d=a.traverse.visitors.merge([s.environmentVisitor,{ThisExpression(e){f.superThises.push(e)}}]);function maybeCreateConstructor(){let e=false;const t=f.path.get("body.body");for(const r of t){e=r.equals("kind","constructor");if(e)break}if(e)return;let r,n;if(f.isDerived){const e=a.template.expression.ast` +`},73813:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=transformClass;var r=s(98733);var i=s(846);var n=s(68720);var a=s(39652);var o=s(96659);var l=s(669);function buildConstructor(e,t,s){const r=a.types.functionDeclaration(a.types.cloneNode(e),[],t);a.types.inherits(r,s);return r}function transformClass(e,t,s,c,p){const u={parent:undefined,scope:undefined,node:undefined,path:undefined,file:undefined,classId:undefined,classRef:undefined,superFnId:undefined,superName:undefined,superReturns:[],isDerived:false,extendsNative:false,construct:undefined,constructorBody:undefined,userConstructor:undefined,userConstructorPath:undefined,hasConstructor:false,staticPropBody:[],body:[],superThises:[],pushedConstructor:false,pushedInherits:false,protoAlias:null,isLoose:false,dynamicKeys:new Map,methods:{instance:{hasComputed:false,list:[],map:new Map},static:{hasComputed:false,list:[],map:new Map}}};const h=e=>{Object.assign(u,e)};const f=a.traverse.visitors.merge([i.environmentVisitor,{ThisExpression(e){u.superThises.push(e)}}]);function maybeCreateConstructor(){let e=false;const t=u.path.get("body.body");for(const s of t){e=s.equals("kind","constructor");if(e)break}if(e)return;let s,r;if(u.isDerived){const e=a.template.expression.ast` (function () { super(...arguments); }) - `;r=e.params;n=e.body}else{r=[];n=a.types.blockStatement([])}f.path.get("body").unshiftContainer("body",a.types.classMethod("constructor",a.types.identifier("constructor"),r,n))}function buildBody(){maybeCreateConstructor();pushBody();verifyConstructor();if(f.userConstructor){const{constructorBody:e,userConstructor:t,construct:r}=f;e.body=e.body.concat(t.body.body);a.types.inherits(r,t);a.types.inherits(e,t.body)}pushDescriptors()}function pushBody(){const e=f.path.get("body.body");for(const t of e){const e=t.node;if(t.isClassProperty()){throw t.buildCodeFrameError("Missing class properties transform.")}if(e.decorators){throw t.buildCodeFrameError("Method has decorators, put the decorator plugin before the classes one.")}if(a.types.isClassMethod(e)){const r=e.kind==="constructor";const n=new s.default({methodPath:t,objectRef:f.classRef,superRef:f.superName,constantSuper:p.constantSuper,file:f.file,refToPreserve:f.classRef});n.replace();const i=[];t.traverse(a.traverse.visitors.merge([s.environmentVisitor,{ReturnStatement(e){if(!e.getFunctionParent().isArrowFunctionExpression()){i.push(e)}}}]));if(r){pushConstructor(i,e,t)}else{pushMethod(e,t)}}}}function pushDescriptors(){pushInheritsToBody();const{body:e}=f;const t={instance:null,static:null};for(const e of["static","instance"]){if(f.methods[e].list.length){t[e]=f.methods[e].list.map(e=>{const t=a.types.objectExpression([a.types.objectProperty(a.types.identifier("key"),e.key)]);for(const r of["get","set","value"]){if(e[r]!=null){t.properties.push(a.types.objectProperty(a.types.identifier(r),e[r]))}}return t})}}if(t.instance||t.static){let r=[a.types.cloneNode(f.classRef),t.instance?a.types.arrayExpression(t.instance):a.types.nullLiteral(),t.static?a.types.arrayExpression(t.static):a.types.nullLiteral()];let n=0;for(let e=0;ea.types.cloneNode(t));return t};for(const e of f.superThises){const{node:t,parentPath:n}=e;if(n.isMemberExpression({object:t})){e.replaceWith(r());continue}e.replaceWith(a.types.callExpression(f.file.addHelper("assertThisInitialized"),[r()]))}const n=new Set;e.traverse(a.traverse.visitors.merge([s.environmentVisitor,{Super(e){const{node:t,parentPath:r}=e;if(r.isCallExpression({callee:t})){n.add(r)}}}]));let i=!!n.size;for(const s of n){wrapSuperCall(s,f.superName,r,t);if(i){s.find(function(t){if(t===e){return true}if(t.isLoop()||t.isConditional()||t.isArrowFunctionExpression()){i=false;return true}})}}let o;if(f.isLoose){o=(e=>{const t=a.types.callExpression(f.file.addHelper("assertThisInitialized"),[r()]);return e?a.types.logicalExpression("||",e,t):t})}else{o=(e=>a.types.callExpression(f.file.addHelper("possibleConstructorReturn"),[r()].concat(e||[])))}const l=t.get("body");if(!l.length||!l.pop().isReturnStatement()){t.pushContainer("body",a.types.returnStatement(i?r():o()))}for(const e of f.superReturns){e.get("argument").replaceWith(o(e.node.argument))}}function pushMethod(e,t){const r=t?t.scope:f.scope;if(e.kind==="method"){if(processMethod(e,r))return}const s=e.static?"static":"instance";const i=f.methods[s];const o=e.kind==="method"?"value":e.kind;const l=a.types.isNumericLiteral(e.key)||a.types.isBigIntLiteral(e.key)?a.types.stringLiteral(String(e.key.value)):a.types.toComputedKey(e);let u=a.types.toExpression(e);if(a.types.isStringLiteral(l)){if(e.kind==="method"){u=(0,n.default)({id:l,node:e,scope:r})}}else{i.hasComputed=true}let p;if(!i.hasComputed&&i.map.has(l.value)){p=i.map.get(l.value);p[o]=u;if(o==="value"){p.get=null;p.set=null}else{p.value=null}}else{p={key:l,[o]:u};i.list.push(p);if(!i.hasComputed){i.map.set(l.value,p)}}}function processMethod(e,t){if(p.setClassMethods&&!e.decorators){let{classRef:r}=f;if(!e.static){insertProtoAliasOnce();r=f.protoAlias}const s=a.types.memberExpression(a.types.cloneNode(r),e.key,e.computed||a.types.isLiteral(e.key));let i=a.types.functionExpression(null,e.params,e.body,e.generator,e.async);a.types.inherits(i,e);const o=a.types.toComputedKey(e,e.key);if(a.types.isStringLiteral(o)){i=(0,n.default)({node:i,id:o,scope:t})}const l=a.types.expressionStatement(a.types.assignmentExpression("=",s,i));a.types.inheritsComments(l,e);f.body.push(l);return true}return false}function insertProtoAliasOnce(){if(f.protoAlias===null){c({protoAlias:f.scope.generateUidIdentifier("proto")});const e=a.types.memberExpression(f.classRef,a.types.identifier("prototype"));const t=a.types.variableDeclaration("var",[a.types.variableDeclarator(f.protoAlias,e)]);f.body.push(t)}}function pushConstructor(e,t,r){c({userConstructorPath:r,userConstructor:t,hasConstructor:true,superReturns:e});const{construct:n}=f;a.types.inheritsComments(n,t);n.params=t.params;a.types.inherits(n.body,t.body);n.body.directives=t.body.directives;pushConstructorToBody()}function pushConstructorToBody(){if(f.pushedConstructor)return;f.pushedConstructor=true;if(f.hasInstanceDescriptors||f.hasStaticDescriptors){pushDescriptors()}f.body.push(f.construct);pushInheritsToBody()}function pushInheritsToBody(){if(!f.isDerived||f.pushedInherits)return;const t=e.scope.generateUidIdentifier("super");c({pushedInherits:true,superFnId:t});if(!p.superIsCallableConstructor){f.body.unshift(a.types.variableDeclaration("var",[a.types.variableDeclarator(t,a.types.callExpression((0,l.default)(f.file),[a.types.cloneNode(f.classRef)]))]))}f.body.unshift(a.types.expressionStatement(a.types.callExpression(f.file.addHelper(f.isLoose?"inheritsLoose":"inherits"),[a.types.cloneNode(f.classRef),a.types.cloneNode(f.superName)])))}function extractDynamicKeys(){const{dynamicKeys:e,node:t,scope:r}=f;for(const n of t.body.body){if(!a.types.isClassMethod(n)||!n.computed)continue;if(r.isPure(n.key,true))continue;const t=r.generateUidIdentifierBasedOnNode(n.key);e.set(t.name,n.key);n.key=t}}function setupClosureParamsArgs(){const{superName:e,dynamicKeys:t}=f;const r=[];const n=[];if(f.isDerived){let t=a.types.cloneNode(e);if(f.extendsNative){t=a.types.callExpression(f.file.addHelper("wrapNativeSuper"),[t]);(0,o.default)(t)}const s=f.scope.generateUidIdentifierBasedOnNode(e);r.push(s);n.push(t);c({superName:a.types.cloneNode(s)})}for(const[e,s]of t){r.push(a.types.identifier(e));n.push(s)}return{closureParams:r,closureArgs:n}}function classTransformer(e,t,r,n){c({parent:e.parent,scope:e.scope,node:e.node,path:e,file:t,isLoose:n});c({classId:f.node.id,classRef:f.node.id?a.types.identifier(f.node.id.name):f.scope.generateUidIdentifier("class"),superName:f.node.superClass,isDerived:!!f.node.superClass,constructorBody:a.types.blockStatement([])});c({extendsNative:f.isDerived&&r.has(f.superName.name)&&!f.scope.hasBinding(f.superName.name,true)});const{classRef:s,node:i,constructorBody:o}=f;c({construct:buildConstructor(s,o,i)});extractDynamicKeys();let{body:l}=f;const{closureParams:u,closureArgs:d}=setupClosureParamsArgs();buildBody();if(!p.noClassCalls){o.body.unshift(a.types.expressionStatement(a.types.callExpression(f.file.addHelper("classCallCheck"),[a.types.thisExpression(),a.types.cloneNode(f.classRef)])))}l=l.concat(f.staticPropBody.map(e=>e(a.types.cloneNode(f.classRef))));const y=e.isInStrictMode();let m=f.classId&&l.length===1;if(m&&!y){for(const e of f.construct.params){if(!a.types.isIdentifier(e)){m=false;break}}}const T=m?l[0].body.directives:[];if(!y){T.push(a.types.directive(a.types.directiveLiteral("use strict")))}if(m){return a.types.toExpression(l[0])}l.push(a.types.returnStatement(a.types.cloneNode(f.classRef)));const h=a.types.arrowFunctionExpression(u,a.types.blockStatement(l,T));return a.types.callExpression(h,d)}return classTransformer(e,t,r,u)}},81807:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(20336);var s=r(39652);var i=(0,n.declare)((e,t)=>{var r,n,i;e.assertVersion(7);const{useBuiltIns:a=false}=t;const o=(r=e.assumption("iterableIsArray"))!=null?r:t.loose;const l=(n=t.allowArrayLike)!=null?n:e.assumption("arrayLikeIsIterable");const u=(i=e.assumption("objectRestNoSymbols"))!=null?i:t.loose;function getExtendsHelper(e){return a?s.types.memberExpression(s.types.identifier("Object"),s.types.identifier("assign")):e.addHelper("extends")}function variableDeclarationHasPattern(e){for(const t of e.declarations){if(s.types.isPattern(t.id)){return true}}return false}function hasRest(e){for(const t of e.elements){if(s.types.isRestElement(t)){return true}}return false}function hasObjectRest(e){for(const t of e.properties){if(s.types.isRestElement(t)){return true}}return false}const p={};const f=(e,t,r)=>{if(!t.length){return}if(s.types.isIdentifier(e)&&s.types.isReferenced(e,t[t.length-1])&&r.bindings[e.name]){r.deopt=true;throw p}};class DestructuringTransformer{constructor(e){this.blockHoist=e.blockHoist;this.operator=e.operator;this.arrays={};this.nodes=e.nodes||[];this.scope=e.scope;this.kind=e.kind;this.iterableIsArray=e.iterableIsArray;this.arrayLikeIsIterable=e.arrayLikeIsIterable;this.addHelper=e.addHelper}buildVariableAssignment(e,t){let r=this.operator;if(s.types.isMemberExpression(e))r="=";let n;if(r){n=s.types.expressionStatement(s.types.assignmentExpression(r,e,s.types.cloneNode(t)||this.scope.buildUndefinedNode()))}else{n=s.types.variableDeclaration(this.kind,[s.types.variableDeclarator(e,s.types.cloneNode(t))])}n._blockHoist=this.blockHoist;return n}buildVariableDeclaration(e,t){const r=s.types.variableDeclaration("var",[s.types.variableDeclarator(s.types.cloneNode(e),s.types.cloneNode(t))]);r._blockHoist=this.blockHoist;return r}push(e,t){const r=s.types.cloneNode(t);if(s.types.isObjectPattern(e)){this.pushObjectPattern(e,r)}else if(s.types.isArrayPattern(e)){this.pushArrayPattern(e,r)}else if(s.types.isAssignmentPattern(e)){this.pushAssignmentPattern(e,r)}else{this.nodes.push(this.buildVariableAssignment(e,r))}}toArray(e,t){if(this.iterableIsArray||s.types.isIdentifier(e)&&this.arrays[e.name]){return e}else{return this.scope.toArray(e,t,this.arrayLikeIsIterable)}}pushAssignmentPattern({left:e,right:t},r){const n=this.scope.generateUidIdentifierBasedOnNode(r);this.nodes.push(this.buildVariableDeclaration(n,r));const i=s.types.conditionalExpression(s.types.binaryExpression("===",s.types.cloneNode(n),this.scope.buildUndefinedNode()),t,s.types.cloneNode(n));if(s.types.isPattern(e)){let t;let r;if(this.kind==="const"||this.kind==="let"){t=this.scope.generateUidIdentifier(n.name);r=this.buildVariableDeclaration(t,i)}else{t=n;r=s.types.expressionStatement(s.types.assignmentExpression("=",s.types.cloneNode(n),i))}this.nodes.push(r);this.push(e,t)}else{this.nodes.push(this.buildVariableAssignment(e,i))}}pushObjectRest(e,t,r,n){const i=[];let a=true;let o=false;for(let t=0;t=n)break;if(s.types.isRestElement(r))continue;const l=r.key;if(s.types.isIdentifier(l)&&!r.computed){i.push(s.types.stringLiteral(l.name))}else if(s.types.isTemplateLiteral(l)){i.push(s.types.cloneNode(l));o=true}else if(s.types.isLiteral(l)){i.push(s.types.stringLiteral(String(l.value)))}else{i.push(s.types.cloneNode(l));a=false}}let l;if(i.length===0){l=s.types.callExpression(getExtendsHelper(this),[s.types.objectExpression([]),s.types.cloneNode(t)])}else{let e=s.types.arrayExpression(i);if(!a){e=s.types.callExpression(s.types.memberExpression(e,s.types.identifier("map")),[this.addHelper("toPropertyKey")])}else if(!o&&!s.types.isProgram(this.scope.block)){const t=this.scope.path.findParent(e=>e.isProgram());const r=this.scope.generateUidIdentifier("excluded");t.scope.push({id:r,init:e,kind:"const"});e=s.types.cloneNode(r)}l=s.types.callExpression(this.addHelper(`objectWithoutProperties${u?"Loose":""}`),[s.types.cloneNode(t),e])}this.nodes.push(this.buildVariableAssignment(r.argument,l))}pushObjectProperty(e,t){if(s.types.isLiteral(e.key))e.computed=true;const r=e.value;const n=s.types.memberExpression(s.types.cloneNode(t),e.key,e.computed);if(s.types.isPattern(r)){this.push(r,n)}else{this.nodes.push(this.buildVariableAssignment(r,n))}}pushObjectPattern(e,t){if(!e.properties.length){this.nodes.push(s.types.expressionStatement(s.types.callExpression(this.addHelper("objectDestructuringEmpty"),[t])))}if(e.properties.length>1&&!this.scope.isStatic(t)){const e=this.scope.generateUidIdentifierBasedOnNode(t);this.nodes.push(this.buildVariableDeclaration(e,t));t=e}if(hasObjectRest(e)){let t;for(let r=0;rt.elements.length)return;if(e.elements.lengththis.addHelper(e)});p.init(i,a);e.ensureBlock();const f=t.body;f.body=u.concat(f.body)},CatchClause({node:e,scope:t}){const r=e.param;if(!s.types.isPattern(r))return;const n=t.generateUidIdentifier("ref");e.param=n;const i=[];const a=new DestructuringTransformer({kind:"let",scope:t,nodes:i,iterableIsArray:o,arrayLikeIsIterable:l,addHelper:e=>this.addHelper(e)});a.init(r,n);e.body.body=i.concat(e.body.body)},AssignmentExpression(e){const{node:t,scope:r}=e;if(!s.types.isPattern(t.left))return;const n=[];const i=new DestructuringTransformer({operator:t.operator,scope:r,nodes:n,iterableIsArray:o,arrayLikeIsIterable:l,addHelper:e=>this.addHelper(e)});let a;if(e.isCompletionRecord()||!e.parentPath.isExpressionStatement()){a=r.generateUidIdentifierBasedOnNode(t.right,"ref");n.push(s.types.variableDeclaration("var",[s.types.variableDeclarator(a,t.right)]));if(s.types.isArrayExpression(t.right)){i.arrays[a.name]=true}}i.init(t.left,a||t.right);if(a){if(e.parentPath.isArrowFunctionExpression()){e.replaceWith(s.types.blockStatement([]));n.push(s.types.returnStatement(s.types.cloneNode(a)))}else{n.push(s.types.expressionStatement(s.types.cloneNode(a)))}}e.replaceWithMultiple(n);e.scope.crawl()},VariableDeclaration(e){const{node:t,scope:r,parent:n}=e;if(s.types.isForXStatement(n))return;if(!n||!e.container)return;if(!variableDeclarationHasPattern(t))return;const i=t.kind;const a=t.loc;const u=[];let p;for(let e=0;ethis.addHelper(e)});if(s.types.isPattern(i)){a.init(i,n);if(+e!==t.declarations.length-1){s.types.inherits(u[u.length-1],p)}}else{u.push(s.types.inherits(a.buildVariableAssignment(p.id,s.types.cloneNode(p.init)),p))}}let f=null;const c=[];for(const e of u){if(f!==null&&s.types.isVariableDeclaration(e)){f.declarations.push(...e.declarations)}else{e.kind=i;if(!e.loc){e.loc=a}c.push(e);f=s.types.isVariableDeclaration(e)?e:null}}for(const e of c){if(!e.declarations)continue;for(const t of e.declarations){const{name:n}=t.id;if(r.bindings[n]){r.bindings[n].kind=e.kind}}}if(c.length===1){e.replaceWith(c[0])}else{e.replaceWithMultiple(c)}}}}});t.default=i},92867:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(36610);var s=r(20336);var i=(0,s.declare)(e=>{e.assertVersion(7);return(0,n.createRegExpFeaturePlugin)({name:"transform-dotall-regex",feature:"dotAllFlag"})});t.default=i},76815:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(36610);function _default(e,t){const{runtime:r=true}=t;if(typeof r!=="boolean"){throw new Error("The 'runtime' option must be boolean")}return(0,n.createRegExpFeaturePlugin)({name:"transform-named-capturing-groups-regex",feature:"namedCaptureGroups",options:{runtime:r}})}},53648:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(60919);var s=n.default;t.default=s},26429:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(85622);var s=r(32282);function _default(e,t,r){if(r===false)return e;return resolveAbsoluteRuntime(e,n.resolve(t,r===true?".":r))}function resolveAbsoluteRuntime(e,t){try{return n.dirname((((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(`${e}/package.json`,{paths:[t]})).replace(/\\/g,"/")}catch(r){if(r.code!=="MODULE_NOT_FOUND")throw r;throw Object.assign(new Error(`Failed to resolve "${e}" relative to "${t}"`),{code:"BABEL_RUNTIME_NOT_FOUND",runtime:e,dirname:t})}}},18319:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasMinVersion=hasMinVersion;var n=r(62519);function hasMinVersion(e,t){if(!t)return true;if(n.valid(t))t=`^${t}`;return!n.intersects(`<${e}`,t)&&!n.intersects(`>=8.0.0`,t)}},14380:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(20336);var s=r(49834);var i=r(39652);var a=r(18319);var o=r(26429);var l=r(75356);var u=r(9125);var p=r(55832);const f=l.default||l;const c=u.default||u;const d=p.default||p;const y="#__secret_key__@babel/runtime__compatibility";function supportsStaticESM(e){return!!(e!=null&&e.supportsStaticESM)}var m=(0,n.declare)((e,t,r)=>{e.assertVersion(7);const{corejs:n,helpers:l=true,regenerator:u=true,useESModules:p=false,version:m="7.0.0-beta.0",absoluteRuntime:T=false}=t;let h=false;let S;if(typeof n==="object"&&n!==null){S=n.version;h=Boolean(n.proposals)}else{S=n}const b=S?Number(S):false;if(![false,2,3].includes(b)){throw new Error(`The \`core-js\` version must be false, 2 or 3, but got ${JSON.stringify(S)}.`)}if(h&&(!b||b<3)){throw new Error("The 'proposals' option is only supported when using 'corejs: 3'")}if(typeof u!=="boolean"){throw new Error("The 'regenerator' option must be undefined, or a boolean.")}if(typeof l!=="boolean"){throw new Error("The 'helpers' option must be undefined, or a boolean.")}if(typeof p!=="boolean"&&p!=="auto"){throw new Error("The 'useESModules' option must be undefined, or a boolean, or 'auto'.")}if(typeof T!=="boolean"&&typeof T!=="string"){throw new Error("The 'absoluteRuntime' option must be undefined, a boolean, or a string.")}if(typeof m!=="string"){throw new Error(`The 'version' option must be a version string.`)}const E="7.13.0";const g=(0,a.hasMinVersion)(E,m);function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}if(has(t,"useBuiltIns")){if(t.useBuiltIns){throw new Error("The 'useBuiltIns' option has been removed. The @babel/runtime "+"module now uses builtins by default.")}else{throw new Error("The 'useBuiltIns' option has been removed. Use the 'corejs'"+"option to polyfill with `core-js` via @babel/runtime.")}}if(has(t,"polyfill")){if(t.polyfill===false){throw new Error("The 'polyfill' option has been removed. The @babel/runtime "+"module now skips polyfilling by default.")}else{throw new Error("The 'polyfill' option has been removed. Use the 'corejs'"+"option to polyfill with `core-js` via @babel/runtime.")}}if(has(t,"moduleName")){throw new Error("The 'moduleName' option has been removed. @babel/transform-runtime "+"no longer supports arbitrary runtimes. If you were using this to "+"set an absolute path for Babel's standard runtimes, please use the "+"'absoluteRuntime' option.")}const P=p==="auto"?e.caller(supportsStaticESM):p;const x=b===2;const v=b===3;const A=v?"@babel/runtime-corejs3":x?"@babel/runtime-corejs2":"@babel/runtime";const O=["interopRequireWildcard","interopRequireDefault"];const I=(0,o.default)(A,r,T);function createCorejsPlgin(e,t,r){return(n,s,i)=>{return Object.assign({},e(n,t,i),{inherits:r})}}function createRegeneratorPlugin(e){if(!u)return undefined;return(t,r,n)=>{return d(t,e,n)}}const D=T?".js":"";return{name:"transform-runtime",inherits:x?createCorejsPlgin(f,{method:"usage-pure",[y]:{runtimeVersion:m,useBabelRuntime:I,ext:D}},createRegeneratorPlugin({method:"usage-pure",[y]:{useBabelRuntime:I}})):v?createCorejsPlgin(c,{method:"usage-pure",version:3,proposals:h,[y]:{useBabelRuntime:I,ext:D}},createRegeneratorPlugin({method:"usage-pure",[y]:{useBabelRuntime:I}})):createRegeneratorPlugin({method:"usage-pure",[y]:{useBabelRuntime:I}}),pre(e){if(!l)return;e.set("helperGenerator",t=>{if(e.availableHelper&&!e.availableHelper(t,m)){return}const r=O.indexOf(t)!==-1;const n=r&&!(0,s.isModule)(e.path)?4:undefined;const i=P&&e.path.node.sourceType==="module"?"helpers/esm":"helpers";return addDefaultImport(`${I}/${i}/${t}`,t,n,true)});const t=new Map;function addDefaultImport(r,n,a,o=false){const l=(0,s.isModule)(e.path);const u=`${r}:${n}:${l||""}`;let p=t.get(u);if(p){p=i.types.cloneNode(p)}else{p=(0,s.addDefault)(e.path,r,{importedInterop:o&&g?"compiled":"uncompiled",nameHint:n,blockHoist:a});t.set(u,p)}return p}}}});t.default=m},7882:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=transpileConstEnum;var n=r(57096);function transpileConstEnum(e,t){const{name:r}=e.node.id;const s=e.parentPath.isExportNamedDeclaration();let i=s;if(!i&&t.isProgram(e.parent)){i=e.parent.body.some(e=>t.isExportNamedDeclaration(e)&&!e.source&&e.specifiers.some(e=>t.isExportSpecifier(e)&&e.local.name===r))}const a=(0,n.translateEnumValues)(e,t);if(i){const n=t.objectExpression(a.map(([e,r])=>t.objectProperty(t.isValidIdentifier(e)?t.identifier(e):t.stringLiteral(e),r)));if(e.scope.hasOwnBinding(r)){(s?e.parentPath:e).replaceWith(t.expressionStatement(t.callExpression(t.memberExpression(t.identifier("Object"),t.identifier("assign")),[e.node.id,n])))}else{e.replaceWith(t.variableDeclaration("var",[t.variableDeclarator(e.node.id,n)]));e.scope.registerDeclaration(e)}return}const o=new Map(a);e.scope.path.traverse({Scope(e){if(e.scope.hasOwnBinding(r))e.skip()},MemberExpression(e){if(!t.isIdentifier(e.node.object,{name:r}))return;let n;if(e.node.computed){if(t.isStringLiteral(e.node.property)){n=e.node.property.value}else{return}}else if(t.isIdentifier(e.node.property)){n=e.node.property.name}else{return}if(!o.has(n))return;e.replaceWith(t.cloneNode(o.get(n)))}});e.remove()}},57096:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=transpileEnum;t.translateEnumValues=translateEnumValues;var n=r(42357);var s=r(39652);function transpileEnum(e,t){const{node:r}=e;if(r.declare){e.remove();return}const n=r.id.name;const s=enumFill(e,t,r.id);switch(e.parent.type){case"BlockStatement":case"ExportNamedDeclaration":case"Program":{e.insertAfter(s);if(seen(e.parentPath)){e.remove()}else{const n=t.isProgram(e.parent);e.scope.registerDeclaration(e.replaceWith(makeVar(r.id,t,n?"var":"let"))[0])}break}default:throw new Error(`Unexpected enum parent '${e.parent.type}`)}function seen(e){if(e.isExportDeclaration()){return seen(e.parentPath)}if(e.getData(n)){return true}else{e.setData(n,true);return false}}}function makeVar(e,t,r){return t.variableDeclaration(r,[t.variableDeclarator(e)])}const i=(0,s.template)(`\n (function (ID) {\n ASSIGNMENTS;\n })(ID || (ID = {}));\n`);const a=(0,s.template)(`\n ENUM["NAME"] = VALUE;\n`);const o=(0,s.template)(`\n ENUM[ENUM["NAME"] = VALUE] = "NAME";\n`);const l=(e,t)=>(e?a:o)(t);function enumFill(e,t,r){const n=translateEnumValues(e,t);const s=n.map(([e,n])=>l(t.isStringLiteral(n),{ENUM:t.cloneNode(r),NAME:e,VALUE:n}));return i({ID:t.cloneNode(r),ASSIGNMENTS:s})}function translateEnumValues(e,t){const r=Object.create(null);let s=-1;return e.node.members.map(i=>{const a=t.isIdentifier(i.id)?i.id.name:i.id.value;const o=i.initializer;let l;if(o){const e=evaluate(o,r);if(e!==undefined){r[a]=e;if(typeof e==="number"){l=t.numericLiteral(e);s=e}else{n(typeof e==="string");l=t.stringLiteral(e);s=undefined}}else{l=o;s=undefined}}else{if(s!==undefined){s++;l=t.numericLiteral(s);r[a]=s}else{throw e.buildCodeFrameError("Enum member must have initializer.")}}return[a,l]})}function evaluate(e,t){return evalConstant(e);function evalConstant(e){switch(e.type){case"StringLiteral":return e.value;case"UnaryExpression":return evalUnaryExpression(e);case"BinaryExpression":return evalBinaryExpression(e);case"NumericLiteral":return e.value;case"ParenthesizedExpression":return evalConstant(e.expression);case"Identifier":return t[e.name];case"TemplateLiteral":if(e.quasis.length===1){return e.quasis[0].value.cooked}default:return undefined}}function evalUnaryExpression({argument:e,operator:t}){const r=evalConstant(e);if(r===undefined){return undefined}switch(t){case"+":return r;case"-":return-r;case"~":return~r;default:return undefined}}function evalBinaryExpression(e){const t=evalConstant(e.left);if(t===undefined){return undefined}const r=evalConstant(e.right);if(r===undefined){return undefined}switch(e.operator){case"|":return t|r;case"&":return t&r;case">>":return t>>r;case">>>":return t>>>r;case"<<":return t<{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(20336);var s=r(13667);var i=r(39652);var a=r(60233);var o=r(7882);var l=r(57096);var u=r(40023);function isInType(e){switch(e.parent.type){case"TSTypeReference":case"TSQualifiedName":case"TSExpressionWithTypeArguments":case"TSTypeQuery":return true;case"ExportSpecifier":return e.parentPath.parent.exportKind==="type";default:return false}}const p=new WeakMap;const f=new WeakMap;const c=new WeakSet;function isGlobalType(e,t){const r=e.find(e=>e.isProgram()).node;if(e.scope.hasOwnBinding(t))return false;if(p.get(r).has(t))return true;console.warn(`The exported identifier "${t}" is not declared in Babel's scope tracker\n`+`as a JavaScript value binding, and "@babel/plugin-transform-typescript"\n`+`never encountered it as a TypeScript type declaration.\n`+`It will be treated as a JavaScript value.\n\n`+`This problem is likely caused by another plugin injecting\n`+`"${t}" without registering it in the scope tracker. If you are the author\n`+` of that plugin, please use "scope.registerDeclaration(declarationPath)".`);return false}function registerGlobalType(e,t){p.get(e.path.node).add(t)}var d=(0,n.declare)((e,t)=>{e.assertVersion(7);const r=/\*?\s*@jsx((?:Frag)?)\s+([^\s]+)/;const{allowNamespaces:n=true,jsxPragma:d="React.createElement",jsxPragmaFrag:y="React.Fragment",onlyRemoveTypeImports:m=false,optimizeConstEnums:T=false}=t;{var{allowDeclareFields:h=false}=t}const S={field(e){const{node:t}=e;{if(!h&&t.declare){throw e.buildCodeFrameError(`The 'declare' modifier is only allowed when the 'allowDeclareFields' option of `+`@babel/plugin-transform-typescript or @babel/preset-typescript is enabled.`)}}if(t.declare){if(t.value){throw e.buildCodeFrameError(`Fields with the 'declare' modifier cannot be initialized here, but only in the constructor`)}if(!t.decorators){e.remove()}}else if(t.definite){if(t.value){throw e.buildCodeFrameError(`Definitely assigned fields cannot be initialized here, but only in the constructor`)}{if(!h&&!t.decorators){e.remove()}}}else{if(!h&&!t.value&&!t.decorators&&!i.types.isClassPrivateProperty(t)){e.remove()}}if(t.accessibility)t.accessibility=null;if(t.abstract)t.abstract=null;if(t.readonly)t.readonly=null;if(t.optional)t.optional=null;if(t.typeAnnotation)t.typeAnnotation=null;if(t.definite)t.definite=null;if(t.declare)t.declare=null;if(t.override)t.override=null},method({node:e}){if(e.accessibility)e.accessibility=null;if(e.abstract)e.abstract=null;if(e.optional)e.optional=null;if(e.override)e.override=null},constructor(e,t){if(e.node.accessibility)e.node.accessibility=null;const r=[];for(const t of e.node.params){if(t.type==="TSParameterProperty"&&!c.has(t.parameter)){c.add(t.parameter);r.push(t.parameter)}}if(r.length){const n=r.map(t=>{let r;if(i.types.isIdentifier(t)){r=t}else if(i.types.isAssignmentPattern(t)&&i.types.isIdentifier(t.left)){r=t.left}else{throw e.buildCodeFrameError("Parameter properties can not be destructuring patterns.")}return i.template.statement.ast` - this.${i.types.cloneNode(r)} = ${i.types.cloneNode(r)}`});(0,a.injectInitialization)(t,e,n)}}};return{name:"transform-typescript",inherits:s.default,visitor:{Pattern:visitPattern,Identifier:visitPattern,RestElement:visitPattern,Program:{enter(e,t){const{file:n}=t;let s=null;let i=null;if(!p.has(e.node)){p.set(e.node,new Set)}if(n.ast.comments){for(const e of n.ast.comments){const t=r.exec(e.value);if(t){if(t[1]){i=t[2]}else{s=t[2]}}}}let a=s||d;if(a){[a]=a.split(".")}let o=i||y;if(o){[o]=o.split(".")}for(let r of e.get("body")){if(r.isImportDeclaration()){if(!f.has(t.file.ast.program)){f.set(t.file.ast.program,true)}if(r.node.importKind==="type"){r.remove();continue}if(m){f.set(e.node,false)}else{if(r.node.specifiers.length===0){f.set(e.node,false);continue}let t=true;const n=[];for(const s of r.node.specifiers){const i=r.scope.getBinding(s.local.name);if(i&&isImportTypeOnly({binding:i,programPath:e,pragmaImportName:a,pragmaFragImportName:o})){n.push(i.path)}else{t=false;f.set(e.node,false)}}if(t){r.remove()}else{for(const e of n){e.remove()}}}continue}if(r.isExportDeclaration()){r=r.get("declaration")}if(r.isVariableDeclaration({declare:true})){for(const t of Object.keys(r.getBindingIdentifiers())){registerGlobalType(e.scope,t)}}else if(r.isTSTypeAliasDeclaration()||r.isTSDeclareFunction()&&r.get("id").isIdentifier()||r.isTSInterfaceDeclaration()||r.isClassDeclaration({declare:true})||r.isTSEnumDeclaration({declare:true})||r.isTSModuleDeclaration({declare:true})&&r.get("id").isIdentifier()){registerGlobalType(e.scope,r.node.id.name)}}},exit(e){if(e.node.sourceType==="module"&&f.get(e.node)){e.pushContainer("body",i.types.exportNamedDeclaration())}}},ExportNamedDeclaration(e,t){if(!f.has(t.file.ast.program)){f.set(t.file.ast.program,true)}if(e.node.exportKind==="type"){e.remove();return}if(!e.node.source&&e.node.specifiers.length>0&&e.node.specifiers.every(({local:t})=>isGlobalType(e,t.name))){e.remove();return}f.set(t.file.ast.program,false)},ExportSpecifier(e){if(!e.parent.source&&isGlobalType(e,e.node.local.name)){e.remove()}},ExportDefaultDeclaration(e,t){if(!f.has(t.file.ast.program)){f.set(t.file.ast.program,true)}if(i.types.isIdentifier(e.node.declaration)&&isGlobalType(e,e.node.declaration.name)){e.remove();return}f.set(t.file.ast.program,false)},TSDeclareFunction(e){e.remove()},TSDeclareMethod(e){e.remove()},VariableDeclaration(e){if(e.node.declare){e.remove()}},VariableDeclarator({node:e}){if(e.definite)e.definite=null},TSIndexSignature(e){e.remove()},ClassDeclaration(e){const{node:t}=e;if(t.declare){e.remove();return}},Class(e){const{node:t}=e;if(t.typeParameters)t.typeParameters=null;if(t.superTypeParameters)t.superTypeParameters=null;if(t.implements)t.implements=null;if(t.abstract)t.abstract=null;e.get("body.body").forEach(t=>{if(t.isClassMethod()||t.isClassPrivateMethod()){if(t.node.kind==="constructor"){S.constructor(t,e)}else{S.method(t)}}else if(t.isClassProperty()||t.isClassPrivateProperty()){S.field(t)}})},Function(e){const{node:t,scope:r}=e;if(t.typeParameters)t.typeParameters=null;if(t.returnType)t.returnType=null;const n=t.params;if(n.length>0&&i.types.isIdentifier(n[0],{name:"this"})){n.shift()}const s=e.get("params");for(const e of s){if(e.type==="TSParameterProperty"){e.replaceWith(e.get("parameter"));r.registerBinding("param",e)}}},TSModuleDeclaration(e){(0,u.default)(e,i.types,n)},TSInterfaceDeclaration(e){e.remove()},TSTypeAliasDeclaration(e){e.remove()},TSEnumDeclaration(e){if(T&&e.node.const){(0,o.default)(e,i.types)}else{(0,l.default)(e,i.types)}},TSImportEqualsDeclaration(e){if(i.types.isTSExternalModuleReference(e.node.moduleReference)){throw e.buildCodeFrameError(`\`import ${e.node.id.name} = require('${e.node.moduleReference.expression.value}')\` `+"is not supported by @babel/plugin-transform-typescript\n"+"Please consider using "+`\`import ${e.node.id.name} from '${e.node.moduleReference.expression.value}';\` alongside `+"Typescript's --allowSyntheticDefaultImports option.")}e.replaceWith(i.types.variableDeclaration("var",[i.types.variableDeclarator(e.node.id,entityNameToExpr(e.node.moduleReference))]))},TSExportAssignment(e){throw e.buildCodeFrameError("`export =` is not supported by @babel/plugin-transform-typescript\n"+"Please consider using `export ;`.")},TSTypeAssertion(e){e.replaceWith(e.node.expression)},TSAsExpression(e){let{node:t}=e;do{t=t.expression}while(i.types.isTSAsExpression(t));e.replaceWith(t)},TSNonNullExpression(e){e.replaceWith(e.node.expression)},CallExpression(e){e.node.typeParameters=null},OptionalCallExpression(e){e.node.typeParameters=null},NewExpression(e){e.node.typeParameters=null},JSXOpeningElement(e){e.node.typeParameters=null},TaggedTemplateExpression(e){e.node.typeParameters=null}}};function entityNameToExpr(e){if(i.types.isTSQualifiedName(e)){return i.types.memberExpression(entityNameToExpr(e.left),e.right)}return e}function visitPattern({node:e}){if(e.typeAnnotation)e.typeAnnotation=null;if(i.types.isIdentifier(e)&&e.optional)e.optional=null}function isImportTypeOnly({binding:e,programPath:t,pragmaImportName:r,pragmaFragImportName:n}){for(const t of e.referencePaths){if(!isInType(t)){return false}}if(e.identifier.name!==r&&e.identifier.name!==n){return true}let s=false;t.traverse({"JSXElement|JSXFragment"(e){s=true;e.stop()}});return!s}});t.default=d},40023:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=transpileNamespace;var n=r(39652);function transpileNamespace(e,t,r){if(e.node.declare||e.node.id.type==="StringLiteral"){e.remove();return}if(!r){throw e.hub.file.buildCodeFrameError(e.node.id,"Namespace not marked type-only declare."+" Non-declarative namespaces are only supported experimentally in Babel."+" To enable and review caveats see:"+" https://babeljs.io/docs/en/babel-plugin-transform-typescript")}const n=e.node.id.name;const s=handleNested(e,t,t.cloneDeep(e.node));const i=e.scope.hasOwnBinding(n);if(e.parent.type==="ExportNamedDeclaration"){if(!i){e.parentPath.insertAfter(s);e.replaceWith(getDeclaration(t,n));e.scope.registerDeclaration(e.parentPath)}else{e.parentPath.replaceWith(s)}}else if(i){e.replaceWith(s)}else{e.scope.registerDeclaration(e.replaceWithMultiple([getDeclaration(t,n),s])[0])}}function getDeclaration(e,t){return e.variableDeclaration("let",[e.variableDeclarator(e.identifier(t))])}function getMemberExpression(e,t,r){return e.memberExpression(e.identifier(t),e.identifier(r))}function handleVariableDeclaration(e,t,r){if(e.kind!=="const"){throw r.file.buildCodeFrameError(e,"Namespaces exporting non-const are not supported by Babel."+" Change to const or see:"+" https://babeljs.io/docs/en/babel-plugin-transform-typescript")}const{declarations:s}=e;if(s.every(e=>n.types.isIdentifier(e.id))){for(const e of s){e.init=n.types.assignmentExpression("=",getMemberExpression(n.types,t,e.id.name),e.init)}return[e]}const i=n.types.getBindingIdentifiers(e);const a=[];for(const e in i){a.push(n.types.assignmentExpression("=",getMemberExpression(n.types,t,e),n.types.cloneNode(i[e])))}return[e,n.types.expressionStatement(n.types.sequenceExpression(a))]}function handleNested(e,t,r,s){const i=new Set;const a=r.id;const o=e.scope.generateUid(a.name);const l=r.body.body;for(let r=0;r{const t=a.types.objectExpression([a.types.objectProperty(a.types.identifier("key"),e.key)]);for(const s of["get","set","value"]){if(e[s]!=null){t.properties.push(a.types.objectProperty(a.types.identifier(s),e[s]))}}return t})}}if(t.instance||t.static){let s=[a.types.cloneNode(u.classRef),t.instance?a.types.arrayExpression(t.instance):a.types.nullLiteral(),t.static?a.types.arrayExpression(t.static):a.types.nullLiteral()];let r=0;for(let e=0;ea.types.cloneNode(t));return t};for(const e of u.superThises){const{node:t,parentPath:r}=e;if(r.isMemberExpression({object:t})){e.replaceWith(s());continue}e.replaceWith(a.types.callExpression(u.file.addHelper("assertThisInitialized"),[s()]))}const r=new Set;e.traverse(a.traverse.visitors.merge([i.environmentVisitor,{Super(e){const{node:t,parentPath:s}=e;if(s.isCallExpression({callee:t})){r.add(s)}}}]));let n=!!r.size;for(const i of r){wrapSuperCall(i,u.superName,s,t);if(n){i.find(function(t){if(t===e){return true}if(t.isLoop()||t.isConditional()||t.isArrowFunctionExpression()){n=false;return true}})}}let o;if(u.isLoose){o=(e=>{const t=a.types.callExpression(u.file.addHelper("assertThisInitialized"),[s()]);return e?a.types.logicalExpression("||",e,t):t})}else{o=(e=>a.types.callExpression(u.file.addHelper("possibleConstructorReturn"),[s()].concat(e||[])))}const l=t.get("body");if(!l.length||!l.pop().isReturnStatement()){t.pushContainer("body",a.types.returnStatement(n?s():o()))}for(const e of u.superReturns){e.get("argument").replaceWith(o(e.node.argument))}}function pushMethod(e,t){const s=t?t.scope:u.scope;if(e.kind==="method"){if(processMethod(e,s))return}const i=e.static?"static":"instance";const n=u.methods[i];const o=e.kind==="method"?"value":e.kind;const l=a.types.isNumericLiteral(e.key)||a.types.isBigIntLiteral(e.key)?a.types.stringLiteral(String(e.key.value)):a.types.toComputedKey(e);let c=a.types.toExpression(e);if(a.types.isStringLiteral(l)){if(e.kind==="method"){c=(0,r.default)({id:l,node:e,scope:s})}}else{n.hasComputed=true}let p;if(!n.hasComputed&&n.map.has(l.value)){p=n.map.get(l.value);p[o]=c;if(o==="value"){p.get=null;p.set=null}else{p.value=null}}else{p={key:l,[o]:c};n.list.push(p);if(!n.hasComputed){n.map.set(l.value,p)}}}function processMethod(e,t){if(p.setClassMethods&&!e.decorators){let{classRef:s}=u;if(!e.static){insertProtoAliasOnce();s=u.protoAlias}const i=a.types.memberExpression(a.types.cloneNode(s),e.key,e.computed||a.types.isLiteral(e.key));let n=a.types.functionExpression(null,e.params,e.body,e.generator,e.async);a.types.inherits(n,e);const o=a.types.toComputedKey(e,e.key);if(a.types.isStringLiteral(o)){n=(0,r.default)({node:n,id:o,scope:t})}const l=a.types.expressionStatement(a.types.assignmentExpression("=",i,n));a.types.inheritsComments(l,e);u.body.push(l);return true}return false}function insertProtoAliasOnce(){if(u.protoAlias===null){h({protoAlias:u.scope.generateUidIdentifier("proto")});const e=a.types.memberExpression(u.classRef,a.types.identifier("prototype"));const t=a.types.variableDeclaration("var",[a.types.variableDeclarator(u.protoAlias,e)]);u.body.push(t)}}function pushConstructor(e,t,s){h({userConstructorPath:s,userConstructor:t,hasConstructor:true,superReturns:e});const{construct:r}=u;a.types.inheritsComments(r,t);r.params=t.params;a.types.inherits(r.body,t.body);r.body.directives=t.body.directives;pushConstructorToBody()}function pushConstructorToBody(){if(u.pushedConstructor)return;u.pushedConstructor=true;if(u.hasInstanceDescriptors||u.hasStaticDescriptors){pushDescriptors()}u.body.push(u.construct);pushInheritsToBody()}function pushInheritsToBody(){if(!u.isDerived||u.pushedInherits)return;const t=e.scope.generateUidIdentifier("super");h({pushedInherits:true,superFnId:t});if(!p.superIsCallableConstructor){u.body.unshift(a.types.variableDeclaration("var",[a.types.variableDeclarator(t,a.types.callExpression((0,l.default)(u.file),[a.types.cloneNode(u.classRef)]))]))}u.body.unshift(a.types.expressionStatement(a.types.callExpression(u.file.addHelper(u.isLoose?"inheritsLoose":"inherits"),[a.types.cloneNode(u.classRef),a.types.cloneNode(u.superName)])))}function extractDynamicKeys(){const{dynamicKeys:e,node:t,scope:s}=u;for(const r of t.body.body){if(!a.types.isClassMethod(r)||!r.computed)continue;if(s.isPure(r.key,true))continue;const t=s.generateUidIdentifierBasedOnNode(r.key);e.set(t.name,r.key);r.key=t}}function setupClosureParamsArgs(){const{superName:e,dynamicKeys:t}=u;const s=[];const r=[];if(u.isDerived){let t=a.types.cloneNode(e);if(u.extendsNative){t=a.types.callExpression(u.file.addHelper("wrapNativeSuper"),[t]);(0,o.default)(t)}const i=u.scope.generateUidIdentifierBasedOnNode(e);s.push(i);r.push(t);h({superName:a.types.cloneNode(i)})}for(const[e,i]of t){s.push(a.types.identifier(e));r.push(i)}return{closureParams:s,closureArgs:r}}function classTransformer(e,t,s,r){h({parent:e.parent,scope:e.scope,node:e.node,path:e,file:t,isLoose:r});h({classId:u.node.id,classRef:u.node.id?a.types.identifier(u.node.id.name):u.scope.generateUidIdentifier("class"),superName:u.node.superClass,isDerived:!!u.node.superClass,constructorBody:a.types.blockStatement([])});h({extendsNative:u.isDerived&&s.has(u.superName.name)&&!u.scope.hasBinding(u.superName.name,true)});const{classRef:i,node:n,constructorBody:o}=u;h({construct:buildConstructor(i,o,n)});extractDynamicKeys();let{body:l}=u;const{closureParams:c,closureArgs:f}=setupClosureParamsArgs();buildBody();if(!p.noClassCalls){o.body.unshift(a.types.expressionStatement(a.types.callExpression(u.file.addHelper("classCallCheck"),[a.types.thisExpression(),a.types.cloneNode(u.classRef)])))}l=l.concat(u.staticPropBody.map(e=>e(a.types.cloneNode(u.classRef))));const d=e.isInStrictMode();let y=u.classId&&l.length===1;if(y&&!d){for(const e of u.construct.params){if(!a.types.isIdentifier(e)){y=false;break}}}const m=y?l[0].body.directives:[];if(!d){m.push(a.types.directive(a.types.directiveLiteral("use strict")))}if(y){return a.types.toExpression(l[0])}l.push(a.types.returnStatement(a.types.cloneNode(u.classRef)));const g=a.types.arrowFunctionExpression(c,a.types.blockStatement(l,m));return a.types.callExpression(g,f)}return classTransformer(e,t,s,c)}},81807:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(20336);var i=s(39652);var n=(0,r.declare)((e,t)=>{var s,r,n;e.assertVersion(7);const{useBuiltIns:a=false}=t;const o=(s=e.assumption("iterableIsArray"))!=null?s:t.loose;const l=(r=t.allowArrayLike)!=null?r:e.assumption("arrayLikeIsIterable");const c=(n=e.assumption("objectRestNoSymbols"))!=null?n:t.loose;function getExtendsHelper(e){return a?i.types.memberExpression(i.types.identifier("Object"),i.types.identifier("assign")):e.addHelper("extends")}function variableDeclarationHasPattern(e){for(const t of e.declarations){if(i.types.isPattern(t.id)){return true}}return false}function hasRest(e){for(const t of e.elements){if(i.types.isRestElement(t)){return true}}return false}function hasObjectRest(e){for(const t of e.properties){if(i.types.isRestElement(t)){return true}}return false}const p={};const u=(e,t,s)=>{if(!t.length){return}if(i.types.isIdentifier(e)&&i.types.isReferenced(e,t[t.length-1])&&s.bindings[e.name]){s.deopt=true;throw p}};class DestructuringTransformer{constructor(e){this.blockHoist=e.blockHoist;this.operator=e.operator;this.arrays={};this.nodes=e.nodes||[];this.scope=e.scope;this.kind=e.kind;this.iterableIsArray=e.iterableIsArray;this.arrayLikeIsIterable=e.arrayLikeIsIterable;this.addHelper=e.addHelper}buildVariableAssignment(e,t){let s=this.operator;if(i.types.isMemberExpression(e))s="=";let r;if(s){r=i.types.expressionStatement(i.types.assignmentExpression(s,e,i.types.cloneNode(t)||this.scope.buildUndefinedNode()))}else{r=i.types.variableDeclaration(this.kind,[i.types.variableDeclarator(e,i.types.cloneNode(t))])}r._blockHoist=this.blockHoist;return r}buildVariableDeclaration(e,t){const s=i.types.variableDeclaration("var",[i.types.variableDeclarator(i.types.cloneNode(e),i.types.cloneNode(t))]);s._blockHoist=this.blockHoist;return s}push(e,t){const s=i.types.cloneNode(t);if(i.types.isObjectPattern(e)){this.pushObjectPattern(e,s)}else if(i.types.isArrayPattern(e)){this.pushArrayPattern(e,s)}else if(i.types.isAssignmentPattern(e)){this.pushAssignmentPattern(e,s)}else{this.nodes.push(this.buildVariableAssignment(e,s))}}toArray(e,t){if(this.iterableIsArray||i.types.isIdentifier(e)&&this.arrays[e.name]){return e}else{return this.scope.toArray(e,t,this.arrayLikeIsIterable)}}pushAssignmentPattern({left:e,right:t},s){const r=this.scope.generateUidIdentifierBasedOnNode(s);this.nodes.push(this.buildVariableDeclaration(r,s));const n=i.types.conditionalExpression(i.types.binaryExpression("===",i.types.cloneNode(r),this.scope.buildUndefinedNode()),t,i.types.cloneNode(r));if(i.types.isPattern(e)){let t;let s;if(this.kind==="const"||this.kind==="let"){t=this.scope.generateUidIdentifier(r.name);s=this.buildVariableDeclaration(t,n)}else{t=r;s=i.types.expressionStatement(i.types.assignmentExpression("=",i.types.cloneNode(r),n))}this.nodes.push(s);this.push(e,t)}else{this.nodes.push(this.buildVariableAssignment(e,n))}}pushObjectRest(e,t,s,r){const n=[];let a=true;let o=false;for(let t=0;t=r)break;if(i.types.isRestElement(s))continue;const l=s.key;if(i.types.isIdentifier(l)&&!s.computed){n.push(i.types.stringLiteral(l.name))}else if(i.types.isTemplateLiteral(l)){n.push(i.types.cloneNode(l));o=true}else if(i.types.isLiteral(l)){n.push(i.types.stringLiteral(String(l.value)))}else{n.push(i.types.cloneNode(l));a=false}}let l;if(n.length===0){l=i.types.callExpression(getExtendsHelper(this),[i.types.objectExpression([]),i.types.cloneNode(t)])}else{let e=i.types.arrayExpression(n);if(!a){e=i.types.callExpression(i.types.memberExpression(e,i.types.identifier("map")),[this.addHelper("toPropertyKey")])}else if(!o&&!i.types.isProgram(this.scope.block)){const t=this.scope.path.findParent(e=>e.isProgram());const s=this.scope.generateUidIdentifier("excluded");t.scope.push({id:s,init:e,kind:"const"});e=i.types.cloneNode(s)}l=i.types.callExpression(this.addHelper(`objectWithoutProperties${c?"Loose":""}`),[i.types.cloneNode(t),e])}this.nodes.push(this.buildVariableAssignment(s.argument,l))}pushObjectProperty(e,t){if(i.types.isLiteral(e.key))e.computed=true;const s=e.value;const r=i.types.memberExpression(i.types.cloneNode(t),e.key,e.computed);if(i.types.isPattern(s)){this.push(s,r)}else{this.nodes.push(this.buildVariableAssignment(s,r))}}pushObjectPattern(e,t){if(!e.properties.length){this.nodes.push(i.types.expressionStatement(i.types.callExpression(this.addHelper("objectDestructuringEmpty"),[t])))}if(e.properties.length>1&&!this.scope.isStatic(t)){const e=this.scope.generateUidIdentifierBasedOnNode(t);this.nodes.push(this.buildVariableDeclaration(e,t));t=e}if(hasObjectRest(e)){let t;for(let s=0;st.elements.length)return;if(e.elements.lengththis.addHelper(e)});p.init(n,a);e.ensureBlock();const u=t.body;u.body=c.concat(u.body)},CatchClause({node:e,scope:t}){const s=e.param;if(!i.types.isPattern(s))return;const r=t.generateUidIdentifier("ref");e.param=r;const n=[];const a=new DestructuringTransformer({kind:"let",scope:t,nodes:n,iterableIsArray:o,arrayLikeIsIterable:l,addHelper:e=>this.addHelper(e)});a.init(s,r);e.body.body=n.concat(e.body.body)},AssignmentExpression(e){const{node:t,scope:s}=e;if(!i.types.isPattern(t.left))return;const r=[];const n=new DestructuringTransformer({operator:t.operator,scope:s,nodes:r,iterableIsArray:o,arrayLikeIsIterable:l,addHelper:e=>this.addHelper(e)});let a;if(e.isCompletionRecord()||!e.parentPath.isExpressionStatement()){a=s.generateUidIdentifierBasedOnNode(t.right,"ref");r.push(i.types.variableDeclaration("var",[i.types.variableDeclarator(a,t.right)]));if(i.types.isArrayExpression(t.right)){n.arrays[a.name]=true}}n.init(t.left,a||t.right);if(a){if(e.parentPath.isArrowFunctionExpression()){e.replaceWith(i.types.blockStatement([]));r.push(i.types.returnStatement(i.types.cloneNode(a)))}else{r.push(i.types.expressionStatement(i.types.cloneNode(a)))}}e.replaceWithMultiple(r);e.scope.crawl()},VariableDeclaration(e){const{node:t,scope:s,parent:r}=e;if(i.types.isForXStatement(r))return;if(!r||!e.container)return;if(!variableDeclarationHasPattern(t))return;const n=t.kind;const a=t.loc;const c=[];let p;for(let e=0;ethis.addHelper(e)});if(i.types.isPattern(n)){a.init(n,r);if(+e!==t.declarations.length-1){i.types.inherits(c[c.length-1],p)}}else{c.push(i.types.inherits(a.buildVariableAssignment(p.id,i.types.cloneNode(p.init)),p))}}let u=null;const h=[];for(const e of c){if(u!==null&&i.types.isVariableDeclaration(e)){u.declarations.push(...e.declarations)}else{e.kind=n;if(!e.loc){e.loc=a}h.push(e);u=i.types.isVariableDeclaration(e)?e:null}}for(const e of h){if(!e.declarations)continue;for(const t of e.declarations){const{name:r}=t.id;if(s.bindings[r]){s.bindings[r].kind=e.kind}}}if(h.length===1){e.replaceWith(h[0])}else{e.replaceWithMultiple(h)}}}}});t.default=n},92867:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(36610);var i=s(20336);var n=(0,i.declare)(e=>{e.assertVersion(7);return(0,r.createRegExpFeaturePlugin)({name:"transform-dotall-regex",feature:"dotAllFlag"})});t.default=n},76815:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var r=s(36610);function _default(e,t){const{runtime:s=true}=t;if(typeof s!=="boolean"){throw new Error("The 'runtime' option must be boolean")}return(0,r.createRegExpFeaturePlugin)({name:"transform-named-capturing-groups-regex",feature:"namedCaptureGroups",options:{runtime:s}})}},53648:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(60919);var i=r.default;t.default=i},26429:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var r=s(85622);var i=s(32282);function _default(e,t,s){if(s===false)return e;return resolveAbsoluteRuntime(e,r.resolve(t,s===true?".":s))}function resolveAbsoluteRuntime(e,t){try{return r.dirname((((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(`${e}/package.json`,{paths:[t]})).replace(/\\/g,"/")}catch(s){if(s.code!=="MODULE_NOT_FOUND")throw s;throw Object.assign(new Error(`Failed to resolve "${e}" relative to "${t}"`),{code:"BABEL_RUNTIME_NOT_FOUND",runtime:e,dirname:t})}}},18319:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasMinVersion=hasMinVersion;var r=s(62519);function hasMinVersion(e,t){if(!t)return true;if(r.valid(t))t=`^${t}`;return!r.intersects(`<${e}`,t)&&!r.intersects(`>=8.0.0`,t)}},14380:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(20336);var i=s(49834);var n=s(39652);var a=s(18319);var o=s(26429);var l=s(75356);var c=s(9125);var p=s(55832);const u=l.default||l;const h=c.default||c;const f=p.default||p;const d="#__secret_key__@babel/runtime__compatibility";function supportsStaticESM(e){return!!(e!=null&&e.supportsStaticESM)}var y=(0,r.declare)((e,t,s)=>{e.assertVersion(7);const{corejs:r,helpers:l=true,regenerator:c=true,useESModules:p=false,version:y="7.0.0-beta.0",absoluteRuntime:m=false}=t;let g=false;let b;if(typeof r==="object"&&r!==null){b=r.version;g=Boolean(r.proposals)}else{b=r}const x=b?Number(b):false;if(![false,2,3].includes(x)){throw new Error(`The \`core-js\` version must be false, 2 or 3, but got ${JSON.stringify(b)}.`)}if(g&&(!x||x<3)){throw new Error("The 'proposals' option is only supported when using 'corejs: 3'")}if(typeof c!=="boolean"){throw new Error("The 'regenerator' option must be undefined, or a boolean.")}if(typeof l!=="boolean"){throw new Error("The 'helpers' option must be undefined, or a boolean.")}if(typeof p!=="boolean"&&p!=="auto"){throw new Error("The 'useESModules' option must be undefined, or a boolean, or 'auto'.")}if(typeof m!=="boolean"&&typeof m!=="string"){throw new Error("The 'absoluteRuntime' option must be undefined, a boolean, or a string.")}if(typeof y!=="string"){throw new Error(`The 'version' option must be a version string.`)}const v="7.13.0";const w=(0,a.hasMinVersion)(v,y);function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}if(has(t,"useBuiltIns")){if(t.useBuiltIns){throw new Error("The 'useBuiltIns' option has been removed. The @babel/runtime "+"module now uses builtins by default.")}else{throw new Error("The 'useBuiltIns' option has been removed. Use the 'corejs'"+"option to polyfill with `core-js` via @babel/runtime.")}}if(has(t,"polyfill")){if(t.polyfill===false){throw new Error("The 'polyfill' option has been removed. The @babel/runtime "+"module now skips polyfilling by default.")}else{throw new Error("The 'polyfill' option has been removed. Use the 'corejs'"+"option to polyfill with `core-js` via @babel/runtime.")}}if(has(t,"moduleName")){throw new Error("The 'moduleName' option has been removed. @babel/transform-runtime "+"no longer supports arbitrary runtimes. If you were using this to "+"set an absolute path for Babel's standard runtimes, please use the "+"'absoluteRuntime' option.")}const P=p==="auto"?e.caller(supportsStaticESM):p;const E=x===2;const A=x===3;const T=A?"@babel/runtime-corejs3":E?"@babel/runtime-corejs2":"@babel/runtime";const C=["interopRequireWildcard","interopRequireDefault"];const k=(0,o.default)(T,s,m);function createCorejsPlgin(e,t,s){return(r,i,n)=>{return Object.assign({},e(r,t,n),{inherits:s})}}function createRegeneratorPlugin(e){if(!c)return undefined;return(t,s,r)=>{return f(t,e,r)}}const I=m?".js":"";return{name:"transform-runtime",inherits:E?createCorejsPlgin(u,{method:"usage-pure",[d]:{runtimeVersion:y,useBabelRuntime:k,ext:I}},createRegeneratorPlugin({method:"usage-pure",[d]:{useBabelRuntime:k}})):A?createCorejsPlgin(h,{method:"usage-pure",version:3,proposals:g,[d]:{useBabelRuntime:k,ext:I}},createRegeneratorPlugin({method:"usage-pure",[d]:{useBabelRuntime:k}})):createRegeneratorPlugin({method:"usage-pure",[d]:{useBabelRuntime:k}}),pre(e){if(!l)return;e.set("helperGenerator",t=>{if(e.availableHelper&&!e.availableHelper(t,y)){return}const s=C.indexOf(t)!==-1;const r=s&&!(0,i.isModule)(e.path)?4:undefined;const n=P&&e.path.node.sourceType==="module"?"helpers/esm":"helpers";return addDefaultImport(`${k}/${n}/${t}`,t,r,true)});const t=new Map;function addDefaultImport(s,r,a,o=false){const l=(0,i.isModule)(e.path);const c=`${s}:${r}:${l||""}`;let p=t.get(c);if(p){p=n.types.cloneNode(p)}else{p=(0,i.addDefault)(e.path,s,{importedInterop:o&&w?"compiled":"uncompiled",nameHint:r,blockHoist:a});t.set(c,p)}return p}}}});t.default=y},7882:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=transpileConstEnum;var r=s(57096);function transpileConstEnum(e,t){const{name:s}=e.node.id;const i=e.parentPath.isExportNamedDeclaration();let n=i;if(!n&&t.isProgram(e.parent)){n=e.parent.body.some(e=>t.isExportNamedDeclaration(e)&&!e.source&&e.specifiers.some(e=>t.isExportSpecifier(e)&&e.local.name===s))}const a=(0,r.translateEnumValues)(e,t);if(n){const r=t.objectExpression(a.map(([e,s])=>t.objectProperty(t.isValidIdentifier(e)?t.identifier(e):t.stringLiteral(e),s)));if(e.scope.hasOwnBinding(s)){(i?e.parentPath:e).replaceWith(t.expressionStatement(t.callExpression(t.memberExpression(t.identifier("Object"),t.identifier("assign")),[e.node.id,r])))}else{e.replaceWith(t.variableDeclaration("var",[t.variableDeclarator(e.node.id,r)]));e.scope.registerDeclaration(e)}return}const o=new Map(a);e.scope.path.traverse({Scope(e){if(e.scope.hasOwnBinding(s))e.skip()},MemberExpression(e){if(!t.isIdentifier(e.node.object,{name:s}))return;let r;if(e.node.computed){if(t.isStringLiteral(e.node.property)){r=e.node.property.value}else{return}}else if(t.isIdentifier(e.node.property)){r=e.node.property.name}else{return}if(!o.has(r))return;e.replaceWith(t.cloneNode(o.get(r)))}});e.remove()}},57096:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=transpileEnum;t.translateEnumValues=translateEnumValues;var r=s(42357);var i=s(39652);function transpileEnum(e,t){const{node:s}=e;if(s.declare){e.remove();return}const r=s.id.name;const i=enumFill(e,t,s.id);switch(e.parent.type){case"BlockStatement":case"ExportNamedDeclaration":case"Program":{e.insertAfter(i);if(seen(e.parentPath)){e.remove()}else{const r=t.isProgram(e.parent);e.scope.registerDeclaration(e.replaceWith(makeVar(s.id,t,r?"var":"let"))[0])}break}default:throw new Error(`Unexpected enum parent '${e.parent.type}`)}function seen(e){if(e.isExportDeclaration()){return seen(e.parentPath)}if(e.getData(r)){return true}else{e.setData(r,true);return false}}}function makeVar(e,t,s){return t.variableDeclaration(s,[t.variableDeclarator(e)])}const n=(0,i.template)(`\n (function (ID) {\n ASSIGNMENTS;\n })(ID || (ID = {}));\n`);const a=(0,i.template)(`\n ENUM["NAME"] = VALUE;\n`);const o=(0,i.template)(`\n ENUM[ENUM["NAME"] = VALUE] = "NAME";\n`);const l=(e,t)=>(e?a:o)(t);function enumFill(e,t,s){const r=translateEnumValues(e,t);const i=r.map(([e,r])=>l(t.isStringLiteral(r),{ENUM:t.cloneNode(s),NAME:e,VALUE:r}));return n({ID:t.cloneNode(s),ASSIGNMENTS:i})}function translateEnumValues(e,t){const s=Object.create(null);let i=-1;return e.node.members.map(n=>{const a=t.isIdentifier(n.id)?n.id.name:n.id.value;const o=n.initializer;let l;if(o){const e=evaluate(o,s);if(e!==undefined){s[a]=e;if(typeof e==="number"){l=t.numericLiteral(e);i=e}else{r(typeof e==="string");l=t.stringLiteral(e);i=undefined}}else{l=o;i=undefined}}else{if(i!==undefined){i++;l=t.numericLiteral(i);s[a]=i}else{throw e.buildCodeFrameError("Enum member must have initializer.")}}return[a,l]})}function evaluate(e,t){return evalConstant(e);function evalConstant(e){switch(e.type){case"StringLiteral":return e.value;case"UnaryExpression":return evalUnaryExpression(e);case"BinaryExpression":return evalBinaryExpression(e);case"NumericLiteral":return e.value;case"ParenthesizedExpression":return evalConstant(e.expression);case"Identifier":return t[e.name];case"TemplateLiteral":if(e.quasis.length===1){return e.quasis[0].value.cooked}default:return undefined}}function evalUnaryExpression({argument:e,operator:t}){const s=evalConstant(e);if(s===undefined){return undefined}switch(t){case"+":return s;case"-":return-s;case"~":return~s;default:return undefined}}function evalBinaryExpression(e){const t=evalConstant(e.left);if(t===undefined){return undefined}const s=evalConstant(e.right);if(s===undefined){return undefined}switch(e.operator){case"|":return t|s;case"&":return t&s;case">>":return t>>s;case">>>":return t>>>s;case"<<":return t<{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(20336);var i=s(13667);var n=s(39652);var a=s(60233);var o=s(7882);var l=s(57096);var c=s(40023);function isInType(e){switch(e.parent.type){case"TSTypeReference":case"TSQualifiedName":case"TSExpressionWithTypeArguments":case"TSTypeQuery":return true;case"ExportSpecifier":return e.parentPath.parent.exportKind==="type";default:return false}}const p=new WeakMap;const u=new WeakMap;const h=new WeakSet;function isGlobalType(e,t){const s=e.find(e=>e.isProgram()).node;if(e.scope.hasOwnBinding(t))return false;if(p.get(s).has(t))return true;console.warn(`The exported identifier "${t}" is not declared in Babel's scope tracker\n`+`as a JavaScript value binding, and "@babel/plugin-transform-typescript"\n`+`never encountered it as a TypeScript type declaration.\n`+`It will be treated as a JavaScript value.\n\n`+`This problem is likely caused by another plugin injecting\n`+`"${t}" without registering it in the scope tracker. If you are the author\n`+` of that plugin, please use "scope.registerDeclaration(declarationPath)".`);return false}function registerGlobalType(e,t){p.get(e.path.node).add(t)}var f=(0,r.declare)((e,t)=>{e.assertVersion(7);const s=/\*?\s*@jsx((?:Frag)?)\s+([^\s]+)/;const{allowNamespaces:r=true,jsxPragma:f="React.createElement",jsxPragmaFrag:d="React.Fragment",onlyRemoveTypeImports:y=false,optimizeConstEnums:m=false}=t;{var{allowDeclareFields:g=false}=t}const b={field(e){const{node:t}=e;{if(!g&&t.declare){throw e.buildCodeFrameError(`The 'declare' modifier is only allowed when the 'allowDeclareFields' option of `+`@babel/plugin-transform-typescript or @babel/preset-typescript is enabled.`)}}if(t.declare){if(t.value){throw e.buildCodeFrameError(`Fields with the 'declare' modifier cannot be initialized here, but only in the constructor`)}if(!t.decorators){e.remove()}}else if(t.definite){if(t.value){throw e.buildCodeFrameError(`Definitely assigned fields cannot be initialized here, but only in the constructor`)}{if(!g&&!t.decorators){e.remove()}}}else{if(!g&&!t.value&&!t.decorators&&!n.types.isClassPrivateProperty(t)){e.remove()}}if(t.accessibility)t.accessibility=null;if(t.abstract)t.abstract=null;if(t.readonly)t.readonly=null;if(t.optional)t.optional=null;if(t.typeAnnotation)t.typeAnnotation=null;if(t.definite)t.definite=null;if(t.declare)t.declare=null;if(t.override)t.override=null},method({node:e}){if(e.accessibility)e.accessibility=null;if(e.abstract)e.abstract=null;if(e.optional)e.optional=null;if(e.override)e.override=null},constructor(e,t){if(e.node.accessibility)e.node.accessibility=null;const s=[];for(const t of e.node.params){if(t.type==="TSParameterProperty"&&!h.has(t.parameter)){h.add(t.parameter);s.push(t.parameter)}}if(s.length){const r=s.map(t=>{let s;if(n.types.isIdentifier(t)){s=t}else if(n.types.isAssignmentPattern(t)&&n.types.isIdentifier(t.left)){s=t.left}else{throw e.buildCodeFrameError("Parameter properties can not be destructuring patterns.")}return n.template.statement.ast` + this.${n.types.cloneNode(s)} = ${n.types.cloneNode(s)}`});(0,a.injectInitialization)(t,e,r)}}};return{name:"transform-typescript",inherits:i.default,visitor:{Pattern:visitPattern,Identifier:visitPattern,RestElement:visitPattern,Program:{enter(e,t){const{file:r}=t;let i=null;let n=null;if(!p.has(e.node)){p.set(e.node,new Set)}if(r.ast.comments){for(const e of r.ast.comments){const t=s.exec(e.value);if(t){if(t[1]){n=t[2]}else{i=t[2]}}}}let a=i||f;if(a){[a]=a.split(".")}let o=n||d;if(o){[o]=o.split(".")}for(let s of e.get("body")){if(s.isImportDeclaration()){if(!u.has(t.file.ast.program)){u.set(t.file.ast.program,true)}if(s.node.importKind==="type"){s.remove();continue}if(y){u.set(e.node,false)}else{if(s.node.specifiers.length===0){u.set(e.node,false);continue}let t=true;const r=[];for(const i of s.node.specifiers){const n=s.scope.getBinding(i.local.name);if(n&&isImportTypeOnly({binding:n,programPath:e,pragmaImportName:a,pragmaFragImportName:o})){r.push(n.path)}else{t=false;u.set(e.node,false)}}if(t){s.remove()}else{for(const e of r){e.remove()}}}continue}if(s.isExportDeclaration()){s=s.get("declaration")}if(s.isVariableDeclaration({declare:true})){for(const t of Object.keys(s.getBindingIdentifiers())){registerGlobalType(e.scope,t)}}else if(s.isTSTypeAliasDeclaration()||s.isTSDeclareFunction()&&s.get("id").isIdentifier()||s.isTSInterfaceDeclaration()||s.isClassDeclaration({declare:true})||s.isTSEnumDeclaration({declare:true})||s.isTSModuleDeclaration({declare:true})&&s.get("id").isIdentifier()){registerGlobalType(e.scope,s.node.id.name)}}},exit(e){if(e.node.sourceType==="module"&&u.get(e.node)){e.pushContainer("body",n.types.exportNamedDeclaration())}}},ExportNamedDeclaration(e,t){if(!u.has(t.file.ast.program)){u.set(t.file.ast.program,true)}if(e.node.exportKind==="type"){e.remove();return}if(!e.node.source&&e.node.specifiers.length>0&&e.node.specifiers.every(({local:t})=>isGlobalType(e,t.name))){e.remove();return}u.set(t.file.ast.program,false)},ExportSpecifier(e){if(!e.parent.source&&isGlobalType(e,e.node.local.name)){e.remove()}},ExportDefaultDeclaration(e,t){if(!u.has(t.file.ast.program)){u.set(t.file.ast.program,true)}if(n.types.isIdentifier(e.node.declaration)&&isGlobalType(e,e.node.declaration.name)){e.remove();return}u.set(t.file.ast.program,false)},TSDeclareFunction(e){e.remove()},TSDeclareMethod(e){e.remove()},VariableDeclaration(e){if(e.node.declare){e.remove()}},VariableDeclarator({node:e}){if(e.definite)e.definite=null},TSIndexSignature(e){e.remove()},ClassDeclaration(e){const{node:t}=e;if(t.declare){e.remove();return}},Class(e){const{node:t}=e;if(t.typeParameters)t.typeParameters=null;if(t.superTypeParameters)t.superTypeParameters=null;if(t.implements)t.implements=null;if(t.abstract)t.abstract=null;e.get("body.body").forEach(t=>{if(t.isClassMethod()||t.isClassPrivateMethod()){if(t.node.kind==="constructor"){b.constructor(t,e)}else{b.method(t)}}else if(t.isClassProperty()||t.isClassPrivateProperty()){b.field(t)}})},Function(e){const{node:t,scope:s}=e;if(t.typeParameters)t.typeParameters=null;if(t.returnType)t.returnType=null;const r=t.params;if(r.length>0&&n.types.isIdentifier(r[0],{name:"this"})){r.shift()}const i=e.get("params");for(const e of i){if(e.type==="TSParameterProperty"){e.replaceWith(e.get("parameter"));s.registerBinding("param",e)}}},TSModuleDeclaration(e){(0,c.default)(e,n.types,r)},TSInterfaceDeclaration(e){e.remove()},TSTypeAliasDeclaration(e){e.remove()},TSEnumDeclaration(e){if(m&&e.node.const){(0,o.default)(e,n.types)}else{(0,l.default)(e,n.types)}},TSImportEqualsDeclaration(e){if(n.types.isTSExternalModuleReference(e.node.moduleReference)){throw e.buildCodeFrameError(`\`import ${e.node.id.name} = require('${e.node.moduleReference.expression.value}')\` `+"is not supported by @babel/plugin-transform-typescript\n"+"Please consider using "+`\`import ${e.node.id.name} from '${e.node.moduleReference.expression.value}';\` alongside `+"Typescript's --allowSyntheticDefaultImports option.")}e.replaceWith(n.types.variableDeclaration("var",[n.types.variableDeclarator(e.node.id,entityNameToExpr(e.node.moduleReference))]))},TSExportAssignment(e){throw e.buildCodeFrameError("`export =` is not supported by @babel/plugin-transform-typescript\n"+"Please consider using `export ;`.")},TSTypeAssertion(e){e.replaceWith(e.node.expression)},TSAsExpression(e){let{node:t}=e;do{t=t.expression}while(n.types.isTSAsExpression(t));e.replaceWith(t)},TSNonNullExpression(e){e.replaceWith(e.node.expression)},CallExpression(e){e.node.typeParameters=null},OptionalCallExpression(e){e.node.typeParameters=null},NewExpression(e){e.node.typeParameters=null},JSXOpeningElement(e){e.node.typeParameters=null},TaggedTemplateExpression(e){e.node.typeParameters=null}}};function entityNameToExpr(e){if(n.types.isTSQualifiedName(e)){return n.types.memberExpression(entityNameToExpr(e.left),e.right)}return e}function visitPattern({node:e}){if(e.typeAnnotation)e.typeAnnotation=null;if(n.types.isIdentifier(e)&&e.optional)e.optional=null}function isImportTypeOnly({binding:e,programPath:t,pragmaImportName:s,pragmaFragImportName:r}){for(const t of e.referencePaths){if(!isInType(t)){return false}}if(e.identifier.name!==s&&e.identifier.name!==r){return true}let i=false;t.traverse({"JSXElement|JSXFragment"(e){i=true;e.stop()}});return!i}});t.default=f},40023:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=transpileNamespace;var r=s(39652);function transpileNamespace(e,t,s){if(e.node.declare||e.node.id.type==="StringLiteral"){e.remove();return}if(!s){throw e.hub.file.buildCodeFrameError(e.node.id,"Namespace not marked type-only declare."+" Non-declarative namespaces are only supported experimentally in Babel."+" To enable and review caveats see:"+" https://babeljs.io/docs/en/babel-plugin-transform-typescript")}const r=e.node.id.name;const i=handleNested(e,t,t.cloneDeep(e.node));const n=e.scope.hasOwnBinding(r);if(e.parent.type==="ExportNamedDeclaration"){if(!n){e.parentPath.insertAfter(i);e.replaceWith(getDeclaration(t,r));e.scope.registerDeclaration(e.parentPath)}else{e.parentPath.replaceWith(i)}}else if(n){e.replaceWith(i)}else{e.scope.registerDeclaration(e.replaceWithMultiple([getDeclaration(t,r),i])[0])}}function getDeclaration(e,t){return e.variableDeclaration("let",[e.variableDeclarator(e.identifier(t))])}function getMemberExpression(e,t,s){return e.memberExpression(e.identifier(t),e.identifier(s))}function handleVariableDeclaration(e,t,s){if(e.kind!=="const"){throw s.file.buildCodeFrameError(e,"Namespaces exporting non-const are not supported by Babel."+" Change to const or see:"+" https://babeljs.io/docs/en/babel-plugin-transform-typescript")}const{declarations:i}=e;if(i.every(e=>r.types.isIdentifier(e.id))){for(const e of i){e.init=r.types.assignmentExpression("=",getMemberExpression(r.types,t,e.id.name),e.init)}return[e]}const n=r.types.getBindingIdentifiers(e);const a=[];for(const e in n){a.push(r.types.assignmentExpression("=",getMemberExpression(r.types,t,e),r.types.cloneNode(n[e])))}return[e,r.types.expressionStatement(r.types.sequenceExpression(a))]}function handleNested(e,t,s,i){const n=new Set;const a=s.id;const o=e.scope.generateUid(a.name);const l=s.body.body;for(let s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasOwnDecorators=hasOwnDecorators;t.hasDecorators=hasDecorators;t.buildDecoratedClass=buildDecoratedClass;var n=r(39652);var s=r(36975);var i=r(98733);function hasOwnDecorators(e){return!!(e.decorators&&e.decorators.length)}function hasDecorators(e){return hasOwnDecorators(e)||e.body.body.some(hasOwnDecorators)}function prop(e,t){if(!t)return null;return n.types.objectProperty(n.types.identifier(e),t)}function method(e,t){return n.types.objectMethod("method",n.types.identifier(e),[],n.types.blockStatement(t))}function takeDecorators(e){let t;if(e.decorators&&e.decorators.length>0){t=n.types.arrayExpression(e.decorators.map(e=>e.expression))}e.decorators=undefined;return t}function getKey(e){if(e.computed){return e.key}else if(n.types.isIdentifier(e.key)){return n.types.stringLiteral(e.key.name)}else{return n.types.stringLiteral(String(e.key.value))}}function extractElementDescriptor(e,t,r){const{node:a,scope:o}=r;const l=r.isClassMethod();if(r.isPrivate()){throw r.buildCodeFrameError(`Private ${l?"methods":"fields"} in decorated classes are not supported yet.`)}new s.default({methodPath:r,objectRef:e,superRef:t,file:this,refToPreserve:e}).replace();const u=[prop("kind",n.types.stringLiteral(n.types.isClassMethod(a)?a.kind:"field")),prop("decorators",takeDecorators(a)),prop("static",a.static&&n.types.booleanLiteral(true)),prop("key",getKey(a))].filter(Boolean);if(n.types.isClassMethod(a)){const e=a.computed?null:a.key;n.types.toExpression(a);u.push(prop("value",(0,i.default)({node:a,id:e,scope:o})||a))}else if(n.types.isClassProperty(a)&&a.value){u.push(method("value",n.template.statements.ast`return ${a.value}`))}else{u.push(prop("value",o.buildUndefinedNode()))}r.remove();return n.types.objectExpression(u)}function addDecorateHelper(e){try{return e.addHelper("decorate")}catch(e){if(e.code==="BABEL_HELPER_UNKNOWN"){e.message+="\n '@babel/plugin-transform-decorators' in non-legacy mode"+" requires '@babel/core' version ^7.0.2 and you appear to be using"+" an older version."}throw e}}function buildDecoratedClass(e,t,r,s){const{node:i,scope:a}=t;const o=a.generateUidIdentifier("initialize");const l=i.id&&t.isDeclaration();const u=t.isInStrictMode();const{superClass:p}=i;i.type="ClassDeclaration";if(!i.id)i.id=n.types.cloneNode(e);let f;if(p){f=a.generateUidIdentifierBasedOnNode(i.superClass,"super");i.superClass=f}const c=takeDecorators(i);const d=n.types.arrayExpression(r.filter(e=>!e.node.abstract).map(extractElementDescriptor.bind(s,i.id,f)));const y=n.template.expression.ast` - ${addDecorateHelper(s)}( - ${c||n.types.nullLiteral()}, - function (${o}, ${p?n.types.cloneNode(f):null}) { - ${i} - return { F: ${n.types.cloneNode(i.id)}, d: ${d} }; + })(${a} || (${t.cloneNode(a)} = ${c})); + `}},84029:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasOwnDecorators=hasOwnDecorators;t.hasDecorators=hasDecorators;t.buildDecoratedClass=buildDecoratedClass;var r=s(39652);var i=s(36975);var n=s(98733);function hasOwnDecorators(e){return!!(e.decorators&&e.decorators.length)}function hasDecorators(e){return hasOwnDecorators(e)||e.body.body.some(hasOwnDecorators)}function prop(e,t){if(!t)return null;return r.types.objectProperty(r.types.identifier(e),t)}function method(e,t){return r.types.objectMethod("method",r.types.identifier(e),[],r.types.blockStatement(t))}function takeDecorators(e){let t;if(e.decorators&&e.decorators.length>0){t=r.types.arrayExpression(e.decorators.map(e=>e.expression))}e.decorators=undefined;return t}function getKey(e){if(e.computed){return e.key}else if(r.types.isIdentifier(e.key)){return r.types.stringLiteral(e.key.name)}else{return r.types.stringLiteral(String(e.key.value))}}function extractElementDescriptor(e,t,s){const{node:a,scope:o}=s;const l=s.isClassMethod();if(s.isPrivate()){throw s.buildCodeFrameError(`Private ${l?"methods":"fields"} in decorated classes are not supported yet.`)}new i.default({methodPath:s,objectRef:e,superRef:t,file:this,refToPreserve:e}).replace();const c=[prop("kind",r.types.stringLiteral(r.types.isClassMethod(a)?a.kind:"field")),prop("decorators",takeDecorators(a)),prop("static",a.static&&r.types.booleanLiteral(true)),prop("key",getKey(a))].filter(Boolean);if(r.types.isClassMethod(a)){const e=a.computed?null:a.key;r.types.toExpression(a);c.push(prop("value",(0,n.default)({node:a,id:e,scope:o})||a))}else if(r.types.isClassProperty(a)&&a.value){c.push(method("value",r.template.statements.ast`return ${a.value}`))}else{c.push(prop("value",o.buildUndefinedNode()))}s.remove();return r.types.objectExpression(c)}function addDecorateHelper(e){try{return e.addHelper("decorate")}catch(e){if(e.code==="BABEL_HELPER_UNKNOWN"){e.message+="\n '@babel/plugin-transform-decorators' in non-legacy mode"+" requires '@babel/core' version ^7.0.2 and you appear to be using"+" an older version."}throw e}}function buildDecoratedClass(e,t,s,i){const{node:n,scope:a}=t;const o=a.generateUidIdentifier("initialize");const l=n.id&&t.isDeclaration();const c=t.isInStrictMode();const{superClass:p}=n;n.type="ClassDeclaration";if(!n.id)n.id=r.types.cloneNode(e);let u;if(p){u=a.generateUidIdentifierBasedOnNode(n.superClass,"super");n.superClass=u}const h=takeDecorators(n);const f=r.types.arrayExpression(s.filter(e=>!e.node.abstract).map(extractElementDescriptor.bind(i,n.id,u)));const d=r.template.expression.ast` + ${addDecorateHelper(i)}( + ${h||r.types.nullLiteral()}, + function (${o}, ${p?r.types.cloneNode(u):null}) { + ${n} + return { F: ${r.types.cloneNode(n.id)}, d: ${f} }; }, ${p} ) - `;if(!u){y.arguments[1].body.directives.push(n.types.directive(n.types.directiveLiteral("use strict")))}let m=y;let T="arguments.1.body.body.0";if(l){m=n.template.statement.ast`let ${e} = ${y}`;T="declarations.0.init."+T}return{instanceNodes:[n.template.statement.ast`${n.types.cloneNode(o)}(this)`],wrapClass(e){e.replaceWith(m);return e.get(T)}}}},48110:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.enableFeature=enableFeature;t.isLoose=isLoose;t.verifyUsedFeatures=verifyUsedFeatures;t.FEATURES=void 0;var n=r(84029);const s=Object.freeze({fields:1<<1,privateMethods:1<<2,decorators:1<<3,privateIn:1<<4,staticBlocks:1<<5});t.FEATURES=s;const i=new Map([[s.fields,"@babel/plugin-proposal-class-properties"],[s.privateMethods,"@babel/plugin-proposal-private-methods"],[s.privateIn,"@babel/plugin-proposal-private-property-in-object"]]);const a="@babel/plugin-class-features/featuresKey";const o="@babel/plugin-class-features/looseKey";const l="@babel/plugin-class-features/looseLowPriorityKey/#__internal__@babel/preset-env__please-overwrite-loose-instead-of-throwing";function enableFeature(e,t,r){if(!hasFeature(e,t)||canIgnoreLoose(e,t)){e.set(a,e.get(a)|t);if(r==="#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error"){setLoose(e,t,true);e.set(l,e.get(l)|t)}else if(r==="#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"){setLoose(e,t,false);e.set(l,e.get(l)|t)}else{setLoose(e,t,r)}}let n;let s;for(const[t,r]of i){if(!hasFeature(e,t))continue;const i=isLoose(e,t);if(canIgnoreLoose(e,t)){continue}else if(n===!i){throw new Error("'loose' mode configuration must be the same for @babel/plugin-proposal-class-properties, "+"@babel/plugin-proposal-private-methods and "+"@babel/plugin-proposal-private-property-in-object (when they are enabled).")}else{n=i;s=r}}if(n!==undefined){for(const[t,r]of i){if(hasFeature(e,t)&&isLoose(e,t)!==n){setLoose(e,t,n);console.warn(`Though the "loose" option was set to "${!n}" in your @babel/preset-env `+`config, it will not be used for ${r} since the "loose" mode option was set to `+`"${n}" for ${s}.\nThe "loose" option must be the `+`same for @babel/plugin-proposal-class-properties, @babel/plugin-proposal-private-methods `+`and @babel/plugin-proposal-private-property-in-object (when they are enabled): you can `+`silence this warning by explicitly adding\n`+`\t["${r}", { "loose": ${n} }]\n`+`to the "plugins" section of your Babel config.`)}}}}function hasFeature(e,t){return!!(e.get(a)&t)}function isLoose(e,t){return!!(e.get(o)&t)}function setLoose(e,t,r){if(r)e.set(o,e.get(o)|t);else e.set(o,e.get(o)&~t);e.set(l,e.get(l)&~t)}function canIgnoreLoose(e,t){return!!(e.get(l)&t)}function verifyUsedFeatures(e,t){if((0,n.hasOwnDecorators)(e.node)){if(!hasFeature(t,s.decorators)){throw e.buildCodeFrameError("Decorators are not enabled."+"\nIf you are using "+'["@babel/plugin-proposal-decorators", { "legacy": true }], '+'make sure it comes *before* "@babel/plugin-proposal-class-properties" '+"and enable loose mode, like so:\n"+'\t["@babel/plugin-proposal-decorators", { "legacy": true }]\n'+'\t["@babel/plugin-proposal-class-properties", { "loose": true }]')}if(e.isPrivate()){throw e.buildCodeFrameError(`Private ${e.isClassMethod()?"methods":"fields"} in decorated classes are not supported yet.`)}}if(e.isClassPrivateMethod!=null&&e.isClassPrivateMethod()){if(!hasFeature(t,s.privateMethods)){throw e.buildCodeFrameError("Class private methods are not enabled.")}}if(e.isPrivateName()&&e.parentPath.isBinaryExpression({operator:"in",left:e.node})){if(!hasFeature(t,s.privateIn)){throw e.buildCodeFrameError("Private property in checks are not enabled.")}}if(e.isProperty()){if(!hasFeature(t,s.fields)){throw e.buildCodeFrameError("Class fields are not enabled.")}}if(e.isStaticBlock!=null&&e.isStaticBlock()){if(!hasFeature(t,s.staticBlocks)){throw e.buildCodeFrameError("Static class blocks are not enabled. "+"Please add `@babel/plugin-proposal-class-static-block` to your configuration.")}}}},84476:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPrivateNamesMap=buildPrivateNamesMap;t.buildPrivateNamesNodes=buildPrivateNamesNodes;t.transformPrivateNamesUsage=transformPrivateNamesUsage;t.buildFieldsInitNodes=buildFieldsInitNodes;var n=r(39652);var s=r(36975);var i=r(52647);var a=r(68720);var o=r(96659);var l=r(35802);function buildPrivateNamesMap(e){const t=new Map;for(const r of e){if(r.isPrivate()){const{name:e}=r.node.key.id;const n=t.has(e)?t.get(e):{id:r.scope.generateUidIdentifier(e),static:r.node.static,method:!r.isProperty()};if(r.isClassPrivateMethod()){if(r.node.kind==="get"){n.getId=r.scope.generateUidIdentifier(`get_${e}`)}else if(r.node.kind==="set"){n.setId=r.scope.generateUidIdentifier(`set_${e}`)}else if(r.node.kind==="method"){n.methodId=r.scope.generateUidIdentifier(e)}}t.set(e,n)}}return t}function buildPrivateNamesNodes(e,t,r){const s=[];for(const[i,a]of e){const{static:e,method:l,getId:u,setId:p}=a;const f=u||p;const c=n.types.cloneNode(a.id);let d;if(t){d=n.types.callExpression(r.addHelper("classPrivateFieldLooseKey"),[n.types.stringLiteral(i)])}else if(!e){d=n.types.newExpression(n.types.identifier(!l||f?"WeakMap":"WeakSet"),[])}if(d){(0,o.default)(d);s.push(n.template.statement.ast`var ${c} = ${d}`)}}return s}function privateNameVisitorFactory(e){const t=Object.assign({},e,{Class(e){const{privateNamesMap:n}=this;const s=e.get("body.body");const i=new Map(n);const a=[];for(const e of s){if(!e.isPrivate())continue;const{name:t}=e.node.key.id;i.delete(t);a.push(t)}if(!a.length){return}e.get("body").traverse(r,Object.assign({},this,{redeclared:a}));e.traverse(t,Object.assign({},this,{privateNamesMap:i}));e.skipKey("body")}});const r=n.traverse.visitors.merge([Object.assign({},e),s.environmentVisitor]);return t}const u=privateNameVisitorFactory({PrivateName(e,{noDocumentAll:t}){const{privateNamesMap:r,redeclared:n}=this;const{node:s,parentPath:i}=e;if(!i.isMemberExpression({property:s})&&!i.isOptionalMemberExpression({property:s})){return}const{name:a}=s.id;if(!r.has(a))return;if(n&&n.includes(a))return;this.handle(i,t)}});const p=privateNameVisitorFactory({BinaryExpression(e){const{operator:t,left:r,right:s}=e.node;if(t!=="in")return;if(!n.types.isPrivateName(r))return;const{privateFieldsAsProperties:i,privateNamesMap:a,redeclared:o}=this;const{name:l}=r.id;if(!a.has(l))return;if(o&&o.includes(l))return;if(i){const{id:t}=a.get(l);e.replaceWith(n.template.expression.ast` - Object.prototype.hasOwnProperty.call(${s}, ${n.types.cloneNode(t)}) - `);return}const{id:u,static:p}=a.get(l);if(p){e.replaceWith(n.template.expression.ast`${s} === ${this.classRef}`);return}e.replaceWith(n.template.expression.ast`${n.types.cloneNode(u)}.has(${s})`)}});const f={memoise(e,t){const{scope:r}=e;const{object:n}=e.node;const s=r.maybeGenerateMemoised(n);if(!s){return}this.memoiser.set(n,s,t)},receiver(e){const{object:t}=e.node;if(this.memoiser.has(t)){return n.types.cloneNode(this.memoiser.get(t))}return n.types.cloneNode(t)},get(e){const{classRef:t,privateNamesMap:r,file:s}=this;const{name:i}=e.node.property.id;const{id:a,static:o,method:l,methodId:u,getId:p,setId:f}=r.get(i);const c=p||f;if(o){const r=l&&!c?"classStaticPrivateMethodGet":"classStaticPrivateFieldSpecGet";return n.types.callExpression(s.addHelper(r),[this.receiver(e),n.types.cloneNode(t),n.types.cloneNode(a)])}if(l){if(c){if(!p&&f){if(s.availableHelper("writeOnlyError")){return n.types.sequenceExpression([this.receiver(e),n.types.callExpression(s.addHelper("writeOnlyError"),[n.types.stringLiteral(`#${i}`)])])}console.warn(`@babel/helpers is outdated, update it to silence this warning.`)}return n.types.callExpression(s.addHelper("classPrivateFieldGet"),[this.receiver(e),n.types.cloneNode(a)])}return n.types.callExpression(s.addHelper("classPrivateMethodGet"),[this.receiver(e),n.types.cloneNode(a),n.types.cloneNode(u)])}return n.types.callExpression(s.addHelper("classPrivateFieldGet"),[this.receiver(e),n.types.cloneNode(a)])},boundGet(e){this.memoise(e,1);return n.types.callExpression(n.types.memberExpression(this.get(e),n.types.identifier("bind")),[this.receiver(e)])},set(e,t){const{classRef:r,privateNamesMap:s,file:i}=this;const{name:a}=e.node.property.id;const{id:o,static:l,method:u,setId:p,getId:f}=s.get(a);const c=f||p;if(l){const s=u&&!c?"classStaticPrivateMethodSet":"classStaticPrivateFieldSpecSet";return n.types.callExpression(i.addHelper(s),[this.receiver(e),n.types.cloneNode(r),n.types.cloneNode(o),t])}if(u){if(p){return n.types.callExpression(i.addHelper("classPrivateFieldSet"),[this.receiver(e),n.types.cloneNode(o),t])}return n.types.sequenceExpression([this.receiver(e),t,n.types.callExpression(i.addHelper("readOnlyError"),[n.types.stringLiteral(`#${a}`)])])}return n.types.callExpression(i.addHelper("classPrivateFieldSet"),[this.receiver(e),n.types.cloneNode(o),t])},destructureSet(e){const{classRef:t,privateNamesMap:r,file:s}=this;const{name:i}=e.node.property.id;const{id:a,static:o}=r.get(i);if(o){try{var l=s.addHelper("classStaticPrivateFieldDestructureSet")}catch(e){throw new Error("Babel can not transpile `[C.#p] = [0]` with @babel/helpers < 7.13.10, \n"+"please update @babel/helpers to the latest version.")}return n.types.memberExpression(n.types.callExpression(l,[this.receiver(e),n.types.cloneNode(t),n.types.cloneNode(a)]),n.types.identifier("value"))}return n.types.memberExpression(n.types.callExpression(s.addHelper("classPrivateFieldDestructureSet"),[this.receiver(e),n.types.cloneNode(a)]),n.types.identifier("value"))},call(e,t){this.memoise(e,1);return(0,a.default)(this.get(e),this.receiver(e),t,false)},optionalCall(e,t){this.memoise(e,1);return(0,a.default)(this.get(e),this.receiver(e),t,true)}};const c={get(e){const{privateNamesMap:t,file:r}=this;const{object:s}=e.node;const{name:i}=e.node.property.id;return n.template.expression`BASE(REF, PROP)[PROP]`({BASE:r.addHelper("classPrivateFieldLooseBase"),REF:n.types.cloneNode(s),PROP:n.types.cloneNode(t.get(i).id)})},set(){throw new Error("private name handler with loose = true don't need set()")},boundGet(e){return n.types.callExpression(n.types.memberExpression(this.get(e),n.types.identifier("bind")),[n.types.cloneNode(e.node.object)])},simpleSet(e){return this.get(e)},destructureSet(e){return this.get(e)},call(e,t){return n.types.callExpression(this.get(e),t)},optionalCall(e,t){return n.types.optionalCallExpression(this.get(e),t,true)}};function transformPrivateNamesUsage(e,t,r,{privateFieldsAsProperties:n,noDocumentAll:s},a){if(!r.size)return;const o=t.get("body");const l=n?c:f;(0,i.default)(o,u,Object.assign({privateNamesMap:r,classRef:e,file:a},l,{noDocumentAll:s}));o.traverse(p,{privateNamesMap:r,classRef:e,file:a,privateFieldsAsProperties:n})}function buildPrivateFieldInitLoose(e,t,r){const{id:s}=r.get(t.node.key.id.name);const i=t.node.value||t.scope.buildUndefinedNode();return n.template.statement.ast` - Object.defineProperty(${e}, ${n.types.cloneNode(s)}, { + `;if(!c){d.arguments[1].body.directives.push(r.types.directive(r.types.directiveLiteral("use strict")))}let y=d;let m="arguments.1.body.body.0";if(l){y=r.template.statement.ast`let ${e} = ${d}`;m="declarations.0.init."+m}return{instanceNodes:[r.template.statement.ast`${r.types.cloneNode(o)}(this)`],wrapClass(e){e.replaceWith(y);return e.get(m)}}}},48110:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.enableFeature=enableFeature;t.isLoose=isLoose;t.verifyUsedFeatures=verifyUsedFeatures;t.FEATURES=void 0;var r=s(84029);const i=Object.freeze({fields:1<<1,privateMethods:1<<2,decorators:1<<3,privateIn:1<<4,staticBlocks:1<<5});t.FEATURES=i;const n=new Map([[i.fields,"@babel/plugin-proposal-class-properties"],[i.privateMethods,"@babel/plugin-proposal-private-methods"],[i.privateIn,"@babel/plugin-proposal-private-property-in-object"]]);const a="@babel/plugin-class-features/featuresKey";const o="@babel/plugin-class-features/looseKey";const l="@babel/plugin-class-features/looseLowPriorityKey/#__internal__@babel/preset-env__please-overwrite-loose-instead-of-throwing";function enableFeature(e,t,s){if(!hasFeature(e,t)||canIgnoreLoose(e,t)){e.set(a,e.get(a)|t);if(s==="#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error"){setLoose(e,t,true);e.set(l,e.get(l)|t)}else if(s==="#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"){setLoose(e,t,false);e.set(l,e.get(l)|t)}else{setLoose(e,t,s)}}let r;let i;for(const[t,s]of n){if(!hasFeature(e,t))continue;const n=isLoose(e,t);if(canIgnoreLoose(e,t)){continue}else if(r===!n){throw new Error("'loose' mode configuration must be the same for @babel/plugin-proposal-class-properties, "+"@babel/plugin-proposal-private-methods and "+"@babel/plugin-proposal-private-property-in-object (when they are enabled).")}else{r=n;i=s}}if(r!==undefined){for(const[t,s]of n){if(hasFeature(e,t)&&isLoose(e,t)!==r){setLoose(e,t,r);console.warn(`Though the "loose" option was set to "${!r}" in your @babel/preset-env `+`config, it will not be used for ${s} since the "loose" mode option was set to `+`"${r}" for ${i}.\nThe "loose" option must be the `+`same for @babel/plugin-proposal-class-properties, @babel/plugin-proposal-private-methods `+`and @babel/plugin-proposal-private-property-in-object (when they are enabled): you can `+`silence this warning by explicitly adding\n`+`\t["${s}", { "loose": ${r} }]\n`+`to the "plugins" section of your Babel config.`)}}}}function hasFeature(e,t){return!!(e.get(a)&t)}function isLoose(e,t){return!!(e.get(o)&t)}function setLoose(e,t,s){if(s)e.set(o,e.get(o)|t);else e.set(o,e.get(o)&~t);e.set(l,e.get(l)&~t)}function canIgnoreLoose(e,t){return!!(e.get(l)&t)}function verifyUsedFeatures(e,t){if((0,r.hasOwnDecorators)(e.node)){if(!hasFeature(t,i.decorators)){throw e.buildCodeFrameError("Decorators are not enabled."+"\nIf you are using "+'["@babel/plugin-proposal-decorators", { "legacy": true }], '+'make sure it comes *before* "@babel/plugin-proposal-class-properties" '+"and enable loose mode, like so:\n"+'\t["@babel/plugin-proposal-decorators", { "legacy": true }]\n'+'\t["@babel/plugin-proposal-class-properties", { "loose": true }]')}if(e.isPrivate()){throw e.buildCodeFrameError(`Private ${e.isClassMethod()?"methods":"fields"} in decorated classes are not supported yet.`)}}if(e.isClassPrivateMethod!=null&&e.isClassPrivateMethod()){if(!hasFeature(t,i.privateMethods)){throw e.buildCodeFrameError("Class private methods are not enabled.")}}if(e.isPrivateName()&&e.parentPath.isBinaryExpression({operator:"in",left:e.node})){if(!hasFeature(t,i.privateIn)){throw e.buildCodeFrameError("Private property in checks are not enabled.")}}if(e.isProperty()){if(!hasFeature(t,i.fields)){throw e.buildCodeFrameError("Class fields are not enabled.")}}if(e.isStaticBlock!=null&&e.isStaticBlock()){if(!hasFeature(t,i.staticBlocks)){throw e.buildCodeFrameError("Static class blocks are not enabled. "+"Please add `@babel/plugin-proposal-class-static-block` to your configuration.")}}}},84476:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPrivateNamesMap=buildPrivateNamesMap;t.buildPrivateNamesNodes=buildPrivateNamesNodes;t.transformPrivateNamesUsage=transformPrivateNamesUsage;t.buildFieldsInitNodes=buildFieldsInitNodes;var r=s(39652);var i=s(36975);var n=s(52647);var a=s(68720);var o=s(96659);var l=s(35802);function buildPrivateNamesMap(e){const t=new Map;for(const s of e){if(s.isPrivate()){const{name:e}=s.node.key.id;const r=t.has(e)?t.get(e):{id:s.scope.generateUidIdentifier(e),static:s.node.static,method:!s.isProperty()};if(s.isClassPrivateMethod()){if(s.node.kind==="get"){r.getId=s.scope.generateUidIdentifier(`get_${e}`)}else if(s.node.kind==="set"){r.setId=s.scope.generateUidIdentifier(`set_${e}`)}else if(s.node.kind==="method"){r.methodId=s.scope.generateUidIdentifier(e)}}t.set(e,r)}}return t}function buildPrivateNamesNodes(e,t,s){const i=[];for(const[n,a]of e){const{static:e,method:l,getId:c,setId:p}=a;const u=c||p;const h=r.types.cloneNode(a.id);let f;if(t){f=r.types.callExpression(s.addHelper("classPrivateFieldLooseKey"),[r.types.stringLiteral(n)])}else if(!e){f=r.types.newExpression(r.types.identifier(!l||u?"WeakMap":"WeakSet"),[])}if(f){(0,o.default)(f);i.push(r.template.statement.ast`var ${h} = ${f}`)}}return i}function privateNameVisitorFactory(e){const t=Object.assign({},e,{Class(e){const{privateNamesMap:r}=this;const i=e.get("body.body");const n=new Map(r);const a=[];for(const e of i){if(!e.isPrivate())continue;const{name:t}=e.node.key.id;n.delete(t);a.push(t)}if(!a.length){return}e.get("body").traverse(s,Object.assign({},this,{redeclared:a}));e.traverse(t,Object.assign({},this,{privateNamesMap:n}));e.skipKey("body")}});const s=r.traverse.visitors.merge([Object.assign({},e),i.environmentVisitor]);return t}const c=privateNameVisitorFactory({PrivateName(e,{noDocumentAll:t}){const{privateNamesMap:s,redeclared:r}=this;const{node:i,parentPath:n}=e;if(!n.isMemberExpression({property:i})&&!n.isOptionalMemberExpression({property:i})){return}const{name:a}=i.id;if(!s.has(a))return;if(r&&r.includes(a))return;this.handle(n,t)}});const p=privateNameVisitorFactory({BinaryExpression(e){const{operator:t,left:s,right:i}=e.node;if(t!=="in")return;if(!r.types.isPrivateName(s))return;const{privateFieldsAsProperties:n,privateNamesMap:a,redeclared:o}=this;const{name:l}=s.id;if(!a.has(l))return;if(o&&o.includes(l))return;if(n){const{id:t}=a.get(l);e.replaceWith(r.template.expression.ast` + Object.prototype.hasOwnProperty.call(${i}, ${r.types.cloneNode(t)}) + `);return}const{id:c,static:p}=a.get(l);if(p){e.replaceWith(r.template.expression.ast`${i} === ${this.classRef}`);return}e.replaceWith(r.template.expression.ast`${r.types.cloneNode(c)}.has(${i})`)}});const u={memoise(e,t){const{scope:s}=e;const{object:r}=e.node;const i=s.maybeGenerateMemoised(r);if(!i){return}this.memoiser.set(r,i,t)},receiver(e){const{object:t}=e.node;if(this.memoiser.has(t)){return r.types.cloneNode(this.memoiser.get(t))}return r.types.cloneNode(t)},get(e){const{classRef:t,privateNamesMap:s,file:i}=this;const{name:n}=e.node.property.id;const{id:a,static:o,method:l,methodId:c,getId:p,setId:u}=s.get(n);const h=p||u;if(o){const s=l&&!h?"classStaticPrivateMethodGet":"classStaticPrivateFieldSpecGet";return r.types.callExpression(i.addHelper(s),[this.receiver(e),r.types.cloneNode(t),r.types.cloneNode(a)])}if(l){if(h){if(!p&&u){if(i.availableHelper("writeOnlyError")){return r.types.sequenceExpression([this.receiver(e),r.types.callExpression(i.addHelper("writeOnlyError"),[r.types.stringLiteral(`#${n}`)])])}console.warn(`@babel/helpers is outdated, update it to silence this warning.`)}return r.types.callExpression(i.addHelper("classPrivateFieldGet"),[this.receiver(e),r.types.cloneNode(a)])}return r.types.callExpression(i.addHelper("classPrivateMethodGet"),[this.receiver(e),r.types.cloneNode(a),r.types.cloneNode(c)])}return r.types.callExpression(i.addHelper("classPrivateFieldGet"),[this.receiver(e),r.types.cloneNode(a)])},boundGet(e){this.memoise(e,1);return r.types.callExpression(r.types.memberExpression(this.get(e),r.types.identifier("bind")),[this.receiver(e)])},set(e,t){const{classRef:s,privateNamesMap:i,file:n}=this;const{name:a}=e.node.property.id;const{id:o,static:l,method:c,setId:p,getId:u}=i.get(a);const h=u||p;if(l){const i=c&&!h?"classStaticPrivateMethodSet":"classStaticPrivateFieldSpecSet";return r.types.callExpression(n.addHelper(i),[this.receiver(e),r.types.cloneNode(s),r.types.cloneNode(o),t])}if(c){if(p){return r.types.callExpression(n.addHelper("classPrivateFieldSet"),[this.receiver(e),r.types.cloneNode(o),t])}return r.types.sequenceExpression([this.receiver(e),t,r.types.callExpression(n.addHelper("readOnlyError"),[r.types.stringLiteral(`#${a}`)])])}return r.types.callExpression(n.addHelper("classPrivateFieldSet"),[this.receiver(e),r.types.cloneNode(o),t])},destructureSet(e){const{classRef:t,privateNamesMap:s,file:i}=this;const{name:n}=e.node.property.id;const{id:a,static:o}=s.get(n);if(o){try{var l=i.addHelper("classStaticPrivateFieldDestructureSet")}catch(e){throw new Error("Babel can not transpile `[C.#p] = [0]` with @babel/helpers < 7.13.10, \n"+"please update @babel/helpers to the latest version.")}return r.types.memberExpression(r.types.callExpression(l,[this.receiver(e),r.types.cloneNode(t),r.types.cloneNode(a)]),r.types.identifier("value"))}return r.types.memberExpression(r.types.callExpression(i.addHelper("classPrivateFieldDestructureSet"),[this.receiver(e),r.types.cloneNode(a)]),r.types.identifier("value"))},call(e,t){this.memoise(e,1);return(0,a.default)(this.get(e),this.receiver(e),t,false)},optionalCall(e,t){this.memoise(e,1);return(0,a.default)(this.get(e),this.receiver(e),t,true)}};const h={get(e){const{privateNamesMap:t,file:s}=this;const{object:i}=e.node;const{name:n}=e.node.property.id;return r.template.expression`BASE(REF, PROP)[PROP]`({BASE:s.addHelper("classPrivateFieldLooseBase"),REF:r.types.cloneNode(i),PROP:r.types.cloneNode(t.get(n).id)})},set(){throw new Error("private name handler with loose = true don't need set()")},boundGet(e){return r.types.callExpression(r.types.memberExpression(this.get(e),r.types.identifier("bind")),[r.types.cloneNode(e.node.object)])},simpleSet(e){return this.get(e)},destructureSet(e){return this.get(e)},call(e,t){return r.types.callExpression(this.get(e),t)},optionalCall(e,t){return r.types.optionalCallExpression(this.get(e),t,true)}};function transformPrivateNamesUsage(e,t,s,{privateFieldsAsProperties:r,noDocumentAll:i},a){if(!s.size)return;const o=t.get("body");const l=r?h:u;(0,n.default)(o,c,Object.assign({privateNamesMap:s,classRef:e,file:a},l,{noDocumentAll:i}));o.traverse(p,{privateNamesMap:s,classRef:e,file:a,privateFieldsAsProperties:r})}function buildPrivateFieldInitLoose(e,t,s){const{id:i}=s.get(t.node.key.id.name);const n=t.node.value||t.scope.buildUndefinedNode();return r.template.statement.ast` + Object.defineProperty(${e}, ${r.types.cloneNode(i)}, { // configurable is false by default // enumerable is false by default writable: true, - value: ${i} + value: ${n} }); - `}function buildPrivateInstanceFieldInitSpec(e,t,r){const{id:s}=r.get(t.node.key.id.name);const i=t.node.value||t.scope.buildUndefinedNode();return n.template.statement.ast`${n.types.cloneNode(s)}.set(${e}, { + `}function buildPrivateInstanceFieldInitSpec(e,t,s){const{id:i}=s.get(t.node.key.id.name);const n=t.node.value||t.scope.buildUndefinedNode();return r.template.statement.ast`${r.types.cloneNode(i)}.set(${e}, { // configurable is always false for private elements // enumerable is always false for private elements writable: true, - value: ${i}, - })`}function buildPrivateStaticFieldInitSpec(e,t){const r=t.get(e.node.key.id.name);const{id:s,getId:i,setId:a,initAdded:o}=r;const l=i||a;if(!e.isProperty()&&(o||!l))return;if(l){t.set(e.node.key.id.name,Object.assign({},r,{initAdded:true}));return n.template.statement.ast` - var ${n.types.cloneNode(s)} = { + value: ${n}, + })`}function buildPrivateStaticFieldInitSpec(e,t){const s=t.get(e.node.key.id.name);const{id:i,getId:n,setId:a,initAdded:o}=s;const l=n||a;if(!e.isProperty()&&(o||!l))return;if(l){t.set(e.node.key.id.name,Object.assign({},s,{initAdded:true}));return r.template.statement.ast` + var ${r.types.cloneNode(i)} = { // configurable is false by default // enumerable is false by default // writable is false by default - get: ${i?i.name:e.scope.buildUndefinedNode()}, + get: ${n?n.name:e.scope.buildUndefinedNode()}, set: ${a?a.name:e.scope.buildUndefinedNode()} } - `}const u=e.node.value||e.scope.buildUndefinedNode();return n.template.statement.ast` - var ${n.types.cloneNode(s)} = { + `}const c=e.node.value||e.scope.buildUndefinedNode();return r.template.statement.ast` + var ${r.types.cloneNode(i)} = { // configurable is false by default // enumerable is false by default writable: true, - value: ${u} + value: ${c} }; - `}function buildPrivateMethodInitLoose(e,t,r){const s=r.get(t.node.key.id.name);const{methodId:i,id:a,getId:o,setId:l,initAdded:u}=s;if(u)return;if(i){return n.template.statement.ast` + `}function buildPrivateMethodInitLoose(e,t,s){const i=s.get(t.node.key.id.name);const{methodId:n,id:a,getId:o,setId:l,initAdded:c}=i;if(c)return;if(n){return r.template.statement.ast` Object.defineProperty(${e}, ${a}, { // configurable is false by default // enumerable is false by default // writable is false by default - value: ${i.name} + value: ${n.name} }); - `}const p=o||l;if(p){r.set(t.node.key.id.name,Object.assign({},s,{initAdded:true}));return n.template.statement.ast` + `}const p=o||l;if(p){s.set(t.node.key.id.name,Object.assign({},i,{initAdded:true}));return r.template.statement.ast` Object.defineProperty(${e}, ${a}, { // configurable is false by default // enumerable is false by default @@ -7912,37 +7912,37 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m get: ${o?o.name:t.scope.buildUndefinedNode()}, set: ${l?l.name:t.scope.buildUndefinedNode()} }); - `}}function buildPrivateInstanceMethodInitSpec(e,t,r){const s=r.get(t.node.key.id.name);const{id:i,getId:a,setId:o,initAdded:l}=s;if(l)return;const u=a||o;if(u){r.set(t.node.key.id.name,Object.assign({},s,{initAdded:true}));return n.template.statement.ast` - ${i}.set(${e}, { + `}}function buildPrivateInstanceMethodInitSpec(e,t,s){const i=s.get(t.node.key.id.name);const{id:n,getId:a,setId:o,initAdded:l}=i;if(l)return;const c=a||o;if(c){s.set(t.node.key.id.name,Object.assign({},i,{initAdded:true}));return r.template.statement.ast` + ${n}.set(${e}, { get: ${a?a.name:t.scope.buildUndefinedNode()}, set: ${o?o.name:t.scope.buildUndefinedNode()} }); - `}return n.template.statement.ast`${i}.add(${e})`}function buildPublicFieldInitLoose(e,t){const{key:r,computed:s}=t.node;const i=t.node.value||t.scope.buildUndefinedNode();return n.types.expressionStatement(n.types.assignmentExpression("=",n.types.memberExpression(e,r,s||n.types.isLiteral(r)),i))}function buildPublicFieldInitSpec(e,t,r){const{key:s,computed:i}=t.node;const a=t.node.value||t.scope.buildUndefinedNode();return n.types.expressionStatement(n.types.callExpression(r.addHelper("defineProperty"),[e,i||n.types.isLiteral(s)?s:n.types.stringLiteral(s.name),a]))}function buildPrivateStaticMethodInitLoose(e,t,r,s){const i=s.get(t.node.key.id.name);const{id:a,methodId:o,getId:l,setId:u,initAdded:p}=i;if(p)return;const f=l||u;if(f){s.set(t.node.key.id.name,Object.assign({},i,{initAdded:true}));return n.template.statement.ast` + `}return r.template.statement.ast`${n}.add(${e})`}function buildPublicFieldInitLoose(e,t){const{key:s,computed:i}=t.node;const n=t.node.value||t.scope.buildUndefinedNode();return r.types.expressionStatement(r.types.assignmentExpression("=",r.types.memberExpression(e,s,i||r.types.isLiteral(s)),n))}function buildPublicFieldInitSpec(e,t,s){const{key:i,computed:n}=t.node;const a=t.node.value||t.scope.buildUndefinedNode();return r.types.expressionStatement(r.types.callExpression(s.addHelper("defineProperty"),[e,n||r.types.isLiteral(i)?i:r.types.stringLiteral(i.name),a]))}function buildPrivateStaticMethodInitLoose(e,t,s,i){const n=i.get(t.node.key.id.name);const{id:a,methodId:o,getId:l,setId:c,initAdded:p}=n;if(p)return;const u=l||c;if(u){i.set(t.node.key.id.name,Object.assign({},n,{initAdded:true}));return r.template.statement.ast` Object.defineProperty(${e}, ${a}, { // configurable is false by default // enumerable is false by default // writable is false by default get: ${l?l.name:t.scope.buildUndefinedNode()}, - set: ${u?u.name:t.scope.buildUndefinedNode()} + set: ${c?c.name:t.scope.buildUndefinedNode()} }) - `}return n.template.statement.ast` + `}return r.template.statement.ast` Object.defineProperty(${e}, ${a}, { // configurable is false by default // enumerable is false by default // writable is false by default value: ${o.name} }); - `}function buildPrivateMethodDeclaration(e,t,r=false){const s=t.get(e.node.key.id.name);const{id:i,methodId:a,getId:o,setId:l,getterDeclared:u,setterDeclared:p,static:f}=s;const{params:c,body:d,generator:y,async:m}=e.node;const T=o&&!u&&c.length===0;const h=l&&!p&&c.length>0;let S=a;if(T){t.set(e.node.key.id.name,Object.assign({},s,{getterDeclared:true}));S=o}else if(h){t.set(e.node.key.id.name,Object.assign({},s,{setterDeclared:true}));S=l}else if(f&&!r){S=i}return n.types.functionDeclaration(n.types.cloneNode(S),c,d,y,m)}const d=n.traverse.visitors.merge([{ThisExpression(e,t){t.needsClassRef=true;e.replaceWith(n.types.cloneNode(t.classRef))},MetaProperty(e){const t=e.get("meta");const r=e.get("property");const{scope:n}=e;if(t.isIdentifier({name:"new"})&&r.isIdentifier({name:"target"})){e.replaceWith(n.buildUndefinedNode())}}},s.environmentVisitor]);const y={ReferencedIdentifier(e,t){if(e.scope.bindingIdentifierEquals(e.node.name,t.innerBinding)){t.needsClassRef=true;e.node.name=t.classRef.name}}};function replaceThisContext(e,t,r,i,a,o,l){var u;const p={classRef:t,needsClassRef:false,innerBinding:l};const f=new s.default({methodPath:e,constantSuper:o,file:i,refToPreserve:t,getSuperRef:r,getObjectRef(){p.needsClassRef=true;return a||e.node.static?t:n.types.memberExpression(t,n.types.identifier("prototype"))}});f.replace();if(a||e.isProperty()){e.traverse(d,p)}if((u=p.classRef)!=null&&u.name&&p.classRef.name!==(l==null?void 0:l.name)){e.traverse(y,p)}return p.needsClassRef}function buildFieldsInitNodes(e,t,r,s,i,a,o,u,p){let f=false;let c;const d=[];const y=[];const m=[];const T=n.types.isIdentifier(t)?()=>t:()=>{var e;(e=c)!=null?e:c=r[0].scope.generateUidIdentifierBasedOnNode(t);return c};for(const t of r){t.isClassProperty()&&l.assertFieldTransformed(t);const r=t.node.static;const c=!r;const h=t.isPrivate();const S=!h;const b=t.isProperty();const E=!b;const g=t.isStaticBlock==null?void 0:t.isStaticBlock();if(r||E&&h||g){const r=replaceThisContext(t,e,T,i,g,u,p);f=f||r}switch(true){case g:d.push(n.template.statement.ast`(() => ${n.types.blockStatement(t.node.body)})()`);break;case r&&h&&b&&o:f=true;d.push(buildPrivateFieldInitLoose(n.types.cloneNode(e),t,s));break;case r&&h&&b&&!o:f=true;d.push(buildPrivateStaticFieldInitSpec(t,s));break;case r&&S&&b&&a:f=true;d.push(buildPublicFieldInitLoose(n.types.cloneNode(e),t));break;case r&&S&&b&&!a:f=true;d.push(buildPublicFieldInitSpec(n.types.cloneNode(e),t,i));break;case c&&h&&b&&o:y.push(buildPrivateFieldInitLoose(n.types.thisExpression(),t,s));break;case c&&h&&b&&!o:y.push(buildPrivateInstanceFieldInitSpec(n.types.thisExpression(),t,s));break;case c&&h&&E&&o:y.unshift(buildPrivateMethodInitLoose(n.types.thisExpression(),t,s));m.push(buildPrivateMethodDeclaration(t,s,o));break;case c&&h&&E&&!o:y.unshift(buildPrivateInstanceMethodInitSpec(n.types.thisExpression(),t,s));m.push(buildPrivateMethodDeclaration(t,s,o));break;case r&&h&&E&&!o:f=true;d.unshift(buildPrivateStaticFieldInitSpec(t,s));m.push(buildPrivateMethodDeclaration(t,s,o));break;case r&&h&&E&&o:f=true;d.unshift(buildPrivateStaticMethodInitLoose(n.types.cloneNode(e),t,i,s));m.push(buildPrivateMethodDeclaration(t,s,o));break;case c&&S&&b&&a:y.push(buildPublicFieldInitLoose(n.types.thisExpression(),t));break;case c&&S&&b&&!a:y.push(buildPublicFieldInitSpec(n.types.thisExpression(),t,i));break;default:throw new Error("Unreachable.")}}return{staticNodes:d.filter(Boolean),instanceNodes:y.filter(Boolean),pureStaticNodes:m.filter(Boolean),wrapClass(t){for(const e of r){e.remove()}if(c){t.scope.push({id:n.types.cloneNode(c)});t.set("superClass",n.types.assignmentExpression("=",c,t.node.superClass))}if(!f)return t;if(t.isClassExpression()){t.scope.push({id:e});t.replaceWith(n.types.assignmentExpression("=",n.types.cloneNode(e),t.node))}else if(!t.node.id){t.node.id=e}return t}}}},60233:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createClassFeaturePlugin=createClassFeaturePlugin;Object.defineProperty(t,"injectInitialization",{enumerable:true,get:function(){return l.injectInitialization}});Object.defineProperty(t,"enableFeature",{enumerable:true,get:function(){return u.enableFeature}});Object.defineProperty(t,"FEATURES",{enumerable:true,get:function(){return u.FEATURES}});var n=r(39652);var s=r(98733);var i=r(76729);var a=r(84476);var o=r(84029);var l=r(6958);var u=r(48110);const p="7.15.0".split(".").reduce((e,t)=>e*1e5+ +t,0);const f="@babel/plugin-class-features/version";function createClassFeaturePlugin({name:e,feature:t,loose:r,manipulateOptions:c,api:d={assumption:()=>void 0}}){const y=d.assumption("setPublicClassFields");const m=d.assumption("privateFieldsAsProperties");const T=d.assumption("constantSuper");const h=d.assumption("noDocumentAll");if(r===true){const t=[];if(y!==undefined){t.push(`"setPublicClassFields"`)}if(m!==undefined){t.push(`"privateFieldsAsProperties"`)}if(t.length!==0){console.warn(`[${e}]: You are using the "loose: true" option and you are`+` explicitly setting a value for the ${t.join(" and ")}`+` assumption${t.length>1?"s":""}. The "loose" option`+` can cause incompatibilities with the other class features`+` plugins, so it's recommended that you replace it with the`+` following top-level option:\n`+`\t"assumptions": {\n`+`\t\t"setPublicClassFields": true,\n`+`\t\t"privateFieldsAsProperties": true\n`+`\t}`)}}return{name:e,manipulateOptions:c,pre(){(0,u.enableFeature)(this.file,t,r);if(!this.file.get(f)||this.file.get(f)0){(0,l.injectInitialization)(e,c,w,(e,t)=>{if(d)return;for(const r of S){if(r.node.static)continue;r.traverse(e,t)}})}const C=N(e);C.insertBefore([...O,...I]);if(D.length>0){C.insertAfter(D)}if(j.length>0){C.find(e=>e.isStatement()||e.isDeclaration()).insertAfter(j)}},PrivateName(e){if(this.file.get(f)!==p||e.parentPath.isPrivate({key:e.node})){return}throw e.buildCodeFrameError(`Unknown PrivateName "${e}"`)},ExportDefaultDeclaration(e){if(this.file.get(f)!==p)return;const t=e.get("declaration");if(t.isClassDeclaration()&&(0,o.hasDecorators)(t.node)){if(t.node.id){(0,i.default)(e)}else{t.node.type="ClassExpression"}}}}}}},6958:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.injectInitialization=injectInitialization;t.extractComputedKeys=extractComputedKeys;var n=r(39652);var s=r(36975);const i=n.traverse.visitors.merge([{Super(e){const{node:t,parentPath:r}=e;if(r.isCallExpression({callee:t})){this.push(r)}}},s.environmentVisitor]);const a={"TSTypeAnnotation|TypeAnnotation"(e){e.skip()},ReferencedIdentifier(e){if(this.scope.hasOwnBinding(e.node.name)){this.scope.rename(e.node.name);e.skip()}}};function handleClassTDZ(e,t){if(t.classBinding&&t.classBinding===e.scope.getBinding(e.node.name)){const r=t.file.addHelper("classNameTDZError");const s=n.types.callExpression(r,[n.types.stringLiteral(e.node.name)]);e.replaceWith(n.types.sequenceExpression([s,e.node]));e.skip()}}const o={ReferencedIdentifier:handleClassTDZ};function injectInitialization(e,t,r,s){if(!r.length)return;const o=!!e.node.superClass;if(!t){const r=n.types.classMethod("constructor",n.types.identifier("constructor"),[],n.types.blockStatement([]));if(o){r.params=[n.types.restElement(n.types.identifier("args"))];r.body.body.push(n.template.statement.ast`super(...args)`)}[t]=e.get("body").unshiftContainer("body",r)}if(s){s(a,{scope:t.scope})}if(o){const e=[];t.traverse(i,e);let s=true;for(const t of e){if(s){t.insertAfter(r);s=false}else{t.insertAfter(r.map(e=>n.types.cloneNode(e)))}}}else{t.get("body").unshiftContainer("body",r)}}function extractComputedKeys(e,t,r,s){const i=[];const a={classBinding:t.node.id&&t.scope.getBinding(t.node.id.name),file:s};for(const e of r){const r=e.get("key");if(r.isReferencedIdentifier()){handleClassTDZ(r,a)}else{r.traverse(o,a)}const s=e.node;if(!r.isConstantExpression()){const e=t.scope.generateUidIdentifierBasedOnNode(s.key);t.scope.push({id:e,kind:"let"});i.push(n.types.expressionStatement(n.types.assignmentExpression("=",n.types.cloneNode(e),s.key)));s.key=n.types.cloneNode(e)}}return i}},35802:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertFieldTransformed=assertFieldTransformed;function assertFieldTransformed(e){if(e.node.declare){throw e.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by `+`@babel/plugin-transform-typescript.\n`+`If you have already enabled that plugin (or '@babel/preset-typescript'), make sure `+`that it runs before any plugin related to additional class features:\n`+` - @babel/plugin-proposal-class-properties\n`+` - @babel/plugin-proposal-private-methods\n`+` - @babel/plugin-proposal-decorators`)}}},36975:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.skipAllButComputedKey=skipAllButComputedKey;t.default=t.environmentVisitor=void 0;var n=r(4267);var s=r(52647);var i=r(68720);var a=r(57012);function getPrototypeOfExpression(e,t,r,n){e=a.cloneNode(e);const s=t||n?e:a.memberExpression(e,a.identifier("prototype"));return a.callExpression(r.addHelper("getPrototypeOf"),[s])}function skipAllButComputedKey(e){if(!e.node.computed){e.skip();return}const t=a.VISITOR_KEYS[e.type];for(const r of t){if(r!=="key")e.skipKey(r)}}const o={[`${a.staticBlock?"StaticBlock|":""}ClassPrivateProperty|TypeAnnotation`](e){e.skip()},Function(e){if(e.isMethod())return;if(e.isArrowFunctionExpression())return;e.skip()},"Method|ClassProperty"(e){skipAllButComputedKey(e)}};t.environmentVisitor=o;const l=n.default.visitors.merge([o,{Super(e,t){const{node:r,parentPath:n}=e;if(!n.isMemberExpression({object:r}))return;t.handle(n)}}]);const u=n.default.visitors.merge([o,{Scopable(e,{refName:t}){const r=e.scope.getOwnBinding(t);if(r&&r.identifier.name===t){e.scope.rename(t)}}}]);const p={memoise(e,t){const{scope:r,node:n}=e;const{computed:s,property:i}=n;if(!s){return}const a=r.maybeGenerateMemoised(i);if(!a){return}this.memoiser.set(i,a,t)},prop(e){const{computed:t,property:r}=e.node;if(this.memoiser.has(r)){return a.cloneNode(this.memoiser.get(r))}if(t){return a.cloneNode(r)}return a.stringLiteral(r.name)},get(e){return this._get(e,this._getThisRefs())},_get(e,t){const r=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return a.callExpression(this.file.addHelper("get"),[t.memo?a.sequenceExpression([t.memo,r]):r,this.prop(e),t.this])},_getThisRefs(){if(!this.isDerivedConstructor){return{this:a.thisExpression()}}const e=this.scope.generateDeclaredUidIdentifier("thisSuper");return{memo:a.assignmentExpression("=",e,a.thisExpression()),this:a.cloneNode(e)}},set(e,t){const r=this._getThisRefs();const n=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return a.callExpression(this.file.addHelper("set"),[r.memo?a.sequenceExpression([r.memo,n]):n,this.prop(e),t,r.this,a.booleanLiteral(e.isInStrictMode())])},destructureSet(e){throw e.buildCodeFrameError(`Destructuring to a super field is not supported yet.`)},call(e,t){const r=this._getThisRefs();return(0,i.default)(this._get(e,r),a.cloneNode(r.this),t,false)},optionalCall(e,t){const r=this._getThisRefs();return(0,i.default)(this._get(e,r),a.cloneNode(r.this),t,true)}};const f=Object.assign({},p,{prop(e){const{property:t}=e.node;if(this.memoiser.has(t)){return a.cloneNode(this.memoiser.get(t))}return a.cloneNode(t)},get(e){const{isStatic:t,getSuperRef:r}=this;const{computed:n}=e.node;const s=this.prop(e);let i;if(t){var o;i=(o=r())!=null?o:a.memberExpression(a.identifier("Function"),a.identifier("prototype"))}else{var l;i=a.memberExpression((l=r())!=null?l:a.identifier("Object"),a.identifier("prototype"))}return a.memberExpression(i,s,n)},set(e,t){const{computed:r}=e.node;const n=this.prop(e);return a.assignmentExpression("=",a.memberExpression(a.thisExpression(),n,r),t)},destructureSet(e){const{computed:t}=e.node;const r=this.prop(e);return a.memberExpression(a.thisExpression(),r,t)},call(e,t){return(0,i.default)(this.get(e),a.thisExpression(),t,false)},optionalCall(e,t){return(0,i.default)(this.get(e),a.thisExpression(),t,true)}});class ReplaceSupers{constructor(e){var t;const r=e.methodPath;this.methodPath=r;this.isDerivedConstructor=r.isClassMethod({kind:"constructor"})&&!!e.superRef;this.isStatic=r.isObjectMethod()||r.node.static||(r.isStaticBlock==null?void 0:r.isStaticBlock());this.isPrivateMethod=r.isPrivate()&&r.isMethod();this.file=e.file;this.constantSuper=(t=e.constantSuper)!=null?t:e.isLoose;this.opts=e}getObjectRef(){return a.cloneNode(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){if(this.opts.superRef)return a.cloneNode(this.opts.superRef);if(this.opts.getSuperRef)return a.cloneNode(this.opts.getSuperRef())}replace(){if(this.opts.refToPreserve){this.methodPath.traverse(u,{refName:this.opts.refToPreserve.name})}const e=this.constantSuper?f:p;(0,s.default)(this.methodPath,l,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this),boundGet:e.get},e))}}t.default=ReplaceSupers},85436:e=>{const t=new Set(["proposal-class-static-block"]);const r={"proposal-async-generator-functions":"syntax-async-generators","proposal-class-properties":"syntax-class-properties","proposal-class-static-block":"syntax-class-static-block","proposal-json-strings":"syntax-json-strings","proposal-nullish-coalescing-operator":"syntax-nullish-coalescing-operator","proposal-numeric-separator":"syntax-numeric-separator","proposal-object-rest-spread":"syntax-object-rest-spread","proposal-optional-catch-binding":"syntax-optional-catch-binding","proposal-optional-chaining":"syntax-optional-chaining","proposal-private-methods":"syntax-class-properties","proposal-private-property-in-object":"syntax-private-property-in-object","proposal-unicode-property-regex":null};const n=Object.keys(r).map(function(e){return[e,r[e]]});const s=new Map(n);e.exports={pluginSyntaxMap:s,proposalPlugins:t}},35927:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.minVersions=t.default=void 0;var n=r(42229);var s=r(27532);var i=r(41852);var a=r(15487);var o=r(23817);var l=r(26456);var u=r(99420);var p=r(61586);var f=r(95619);var c=r(86343);var d=r(28909);var y=r(39797);var m=r(77130);var T=r(56679);var h=r(71694);var S=r(98060);var b=r(10790);var E=r(74690);var g=r(78562);var P=r(91253);var x=r(76321);var v=r(66841);var A=r(17788);var O=r(15654);var I=r(82079);var D=r(35078);var w=r(12077);var j=r(91269);var N=r(35194);var C=r(43673);var L=r(45807);var _=r(84419);var M=r(21600);var F=r(79285);var B=r(13798);var k=r(81807);var R=r(92867);var K=r(74058);var V=r(36195);var X=r(59630);var Y=r(46642);var J=r(5718);var U=r(59153);var W=r(50933);var q=r(68749);var z=r(82565);var G=r(79874);var $=r(76815);var H=r(79418);var Q=r(19562);var Z=r(26155);var ee=r(17655);var te=r(53648);var re=r(26088);var ne=r(27476);var se=r(48315);var ie=r(84779);var ae=r(84611);var oe=r(446);var le=r(31507);var ue=r(91990);var pe=r(1594);var fe=r(45585);var ce=r(1056);var de=r(64038);var ye=r(86808);var me=r(96126);var Te=r(87790);var he={"bugfix/transform-async-arrows-in-class":()=>pe,"bugfix/transform-edge-default-parameters":()=>fe,"bugfix/transform-edge-function-name":()=>ce,"bugfix/transform-safari-block-shadowing":()=>ye,"bugfix/transform-safari-for-shadowing":()=>me,"bugfix/transform-tagged-template-caching":()=>de,"bugfix/transform-v8-spread-parameters-in-optional-chaining":()=>Te.default,"proposal-async-generator-functions":()=>h.default,"proposal-class-properties":()=>S.default,"proposal-class-static-block":()=>b.default,"proposal-dynamic-import":()=>E.default,"proposal-export-namespace-from":()=>g.default,"proposal-json-strings":()=>P.default,"proposal-logical-assignment-operators":()=>x.default,"proposal-nullish-coalescing-operator":()=>v.default,"proposal-numeric-separator":()=>A.default,"proposal-object-rest-spread":()=>O.default,"proposal-optional-catch-binding":()=>I.default,"proposal-optional-chaining":()=>D.default,"proposal-private-methods":()=>w.default,"proposal-private-property-in-object":()=>j.default,"proposal-unicode-property-regex":()=>N.default,"syntax-async-generators":()=>n,"syntax-class-properties":()=>s,"syntax-class-static-block":()=>i.default,"syntax-dynamic-import":()=>a,"syntax-export-namespace-from":()=>o,"syntax-json-strings":()=>l,"syntax-logical-assignment-operators":()=>u,"syntax-nullish-coalescing-operator":()=>p,"syntax-numeric-separator":()=>f,"syntax-object-rest-spread":()=>c,"syntax-optional-catch-binding":()=>d,"syntax-optional-chaining":()=>y,"syntax-private-property-in-object":()=>m.default,"syntax-top-level-await":()=>T.default,"transform-arrow-functions":()=>L.default,"transform-async-to-generator":()=>C.default,"transform-block-scoped-functions":()=>_.default,"transform-block-scoping":()=>M.default,"transform-classes":()=>F.default,"transform-computed-properties":()=>B.default,"transform-destructuring":()=>k.default,"transform-dotall-regex":()=>R.default,"transform-duplicate-keys":()=>K.default,"transform-exponentiation-operator":()=>V.default,"transform-for-of":()=>X.default,"transform-function-name":()=>Y.default,"transform-literals":()=>J.default,"transform-member-expression-literals":()=>U.default,"transform-modules-amd":()=>W.default,"transform-modules-commonjs":()=>q.default,"transform-modules-systemjs":()=>z.default,"transform-modules-umd":()=>G.default,"transform-named-capturing-groups-regex":()=>$.default,"transform-new-target":()=>H.default,"transform-object-super":()=>Q.default,"transform-parameters":()=>Z.default,"transform-property-literals":()=>ee.default,"transform-regenerator":()=>te.default,"transform-reserved-words":()=>re.default,"transform-shorthand-properties":()=>ne.default,"transform-spread":()=>se.default,"transform-sticky-regex":()=>ie.default,"transform-template-literals":()=>ae.default,"transform-typeof-symbol":()=>oe.default,"transform-unicode-escapes":()=>le.default,"transform-unicode-regex":()=>ue.default};t.default=he;const Se={"proposal-class-static-block":"7.12.0","proposal-private-property-in-object":"7.10.0"};t.minVersions=Se},93891:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.logPlugin=void 0;var n=r(55937);const s=(e,t,r)=>{const s=(0,n.getInclusionReasons)(e,t,r);const i=r[e];if(!i){console.log(` ${e}`);return}let a=`{`;let o=true;for(const e of Object.keys(s)){if(!o)a+=`,`;o=false;a+=` ${e}`;if(i[e])a+=` < ${i[e]}`}a+=` }`;console.log(` ${e} ${a}`)};t.logPlugin=s},73916:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.removeUnnecessaryItems=removeUnnecessaryItems;t.removeUnsupportedItems=removeUnsupportedItems;var n=r(62519);var s=r(35927);const i=Function.call.bind(Object.hasOwnProperty);function removeUnnecessaryItems(e,t){e.forEach(r=>{var n;(n=t[r])==null?void 0:n.forEach(t=>e.delete(t))})}function removeUnsupportedItems(e,t){e.forEach(r=>{if(i(s.minVersions,r)&&(0,n.lt)(t,s.minVersions[r])){e.delete(r)}})}},61280:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;const r=["transform-typeof-symbol"];function _default({loose:e}){return e?r:null}},61480:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isPluginRequired=isPluginRequired;t.default=t.getPolyfillPlugins=t.getModulesPluginNames=t.transformIncludesAndExcludes=void 0;var n=r(62519);var s=r(93891);var i=r(61280);var a=r(73916);var o=r(85869);var l=r(10161);var u=r(85436);var p=r(97708);var f=r(91325);var c=r(69936);var d=r(85818);var y=r(75356);var m=r(9125);var T=r(55832);var h=r(55937);var S=r(35927);var b=r(20336);const E=y.default||y;const g=m.default||m;const P=T.default||T;function isPluginRequired(e,t){return(0,h.isRequired)("fake-name",e,{compatData:{"fake-name":t}})}function filterStageFromList(e,t){return Object.keys(e).reduce((r,n)=>{if(!t.has(n)){r[n]=e[n]}return r},{})}const x={withProposals:{withoutBugfixes:p.plugins,withBugfixes:Object.assign({},p.plugins,p.pluginsBugfixes)},withoutProposals:{withoutBugfixes:filterStageFromList(p.plugins,u.proposalPlugins),withBugfixes:filterStageFromList(Object.assign({},p.plugins,p.pluginsBugfixes),u.proposalPlugins)}};function getPluginList(e,t){if(e){if(t)return x.withProposals.withBugfixes;else return x.withProposals.withoutBugfixes}else{if(t)return x.withoutProposals.withBugfixes;else return x.withoutProposals.withoutBugfixes}}const v=e=>{const t=S.default[e]();if(!t){throw new Error(`Could not find plugin "${e}". Ensure there is an entry in ./available-plugins.js for it.`)}return t};const A=e=>{return e.reduce((e,t)=>{const r=t.match(/^(es|es6|es7|esnext|web)\./)?"builtIns":"plugins";e[r].add(t);return e},{all:e,plugins:new Set,builtIns:new Set})};t.transformIncludesAndExcludes=A;const O=({modules:e,transformations:t,shouldTransformESM:r,shouldTransformDynamicImport:n,shouldTransformExportNamespaceFrom:s,shouldParseTopLevelAwait:i})=>{const a=[];if(e!==false&&t[e]){if(r){a.push(t[e])}if(n&&r&&e!=="umd"){a.push("proposal-dynamic-import")}else{if(n){console.warn("Dynamic import can only be supported when transforming ES modules"+" to AMD, CommonJS or SystemJS. Only the parser plugin will be enabled.")}a.push("syntax-dynamic-import")}}else{a.push("syntax-dynamic-import")}if(s){a.push("proposal-export-namespace-from")}else{a.push("syntax-export-namespace-from")}if(i){a.push("syntax-top-level-await")}return a};t.getModulesPluginNames=O;const I=({useBuiltIns:e,corejs:t,polyfillTargets:r,include:n,exclude:s,proposals:i,shippedProposals:a,regenerator:o,debug:l})=>{const u=[];if(e==="usage"||e==="entry"){const p={method:`${e}-global`,version:t?t.toString():undefined,targets:r,include:n,exclude:s,proposals:i,shippedProposals:a,debug:l};if(t){if(e==="usage"){if(t.major===2){u.push([E,p],[d.default,{usage:true}])}else{u.push([g,p],[d.default,{usage:true,deprecated:true}])}if(o){u.push([P,{method:"usage-global",debug:l}])}}else{if(t.major===2){u.push([d.default,{regenerator:o}],[E,p])}else{u.push([g,p],[d.default,{deprecated:true}]);if(!o){u.push([c.default,p])}}}}}return u};t.getPolyfillPlugins=I;function getLocalTargets(e,t,r,n){if(e!=null&&e.esmodules&&e.browsers){console.warn(`\n@babel/preset-env: esmodules and browsers targets have been specified together.\n\`browsers\` target, \`${e.browsers.toString()}\` will be ignored.\n`)}return(0,h.default)(e,{ignoreBrowserslistConfig:t,configPath:r,browserslistEnv:n})}function supportsStaticESM(e){return!!(e!=null&&e.supportsStaticESM)}function supportsDynamicImport(e){return!!(e!=null&&e.supportsDynamicImport)}function supportsExportNamespaceFrom(e){return!!(e!=null&&e.supportsExportNamespaceFrom)}function supportsTopLevelAwait(e){return!!(e!=null&&e.supportsTopLevelAwait)}var D=(0,b.declare)((e,t)=>{e.assertVersion(7);const r=e.targets();const{bugfixes:p,configPath:c,debug:d,exclude:y,forceAllTransforms:m,ignoreBrowserslistConfig:T,include:S,loose:b,modules:E,shippedProposals:g,spec:P,targets:x,useBuiltIns:D,corejs:{version:w,proposals:j},browserslistEnv:N}=(0,l.default)(t);let C=r;if((0,n.lt)(e.version,"7.13.0")||t.targets||t.configPath||t.browserslistEnv||t.ignoreBrowserslistConfig){{var L=false;if(x!=null&&x.uglify){L=true;delete x.uglify;console.warn(`\nThe uglify target has been deprecated. Set the top level\noption \`forceAllTransforms: true\` instead.\n`)}}C=getLocalTargets(x,T,c,N)}const _=m||L?{}:C;const M=A(S);const F=A(y);const B=getPluginList(g,p);const k=E==="auto"&&(e.caller==null?void 0:e.caller(supportsExportNamespaceFrom))||E===false&&!(0,h.isRequired)("proposal-export-namespace-from",_,{compatData:B,includes:M.plugins,excludes:F.plugins});const R=O({modules:E,transformations:o.default,shouldTransformESM:E!=="auto"||!(e.caller!=null&&e.caller(supportsStaticESM)),shouldTransformDynamicImport:E!=="auto"||!(e.caller!=null&&e.caller(supportsDynamicImport)),shouldTransformExportNamespaceFrom:!k,shouldParseTopLevelAwait:!e.caller||e.caller(supportsTopLevelAwait)});const K=(0,h.filterItems)(B,M.plugins,F.plugins,_,R,(0,i.default)({loose:b}),u.pluginSyntaxMap);(0,a.removeUnnecessaryItems)(K,f);(0,a.removeUnsupportedItems)(K,e.version);const V=I({useBuiltIns:D,corejs:w,polyfillTargets:C,include:M.builtIns,exclude:F.builtIns,proposals:j,shippedProposals:g,regenerator:K.has("transform-regenerator"),debug:d});const X=D!==false;const Y=Array.from(K).map(e=>{if(e==="proposal-class-properties"||e==="proposal-private-methods"||e==="proposal-private-property-in-object"){return[v(e),{loose:b?"#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error":"#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"}]}return[v(e),{spec:P,loose:b,useBuiltIns:X}]}).concat(V);if(d){console.log("@babel/preset-env: `DEBUG` option");console.log("\nUsing targets:");console.log(JSON.stringify((0,h.prettifyTargets)(C),null,2));console.log(`\nUsing modules transform: ${E.toString()}`);console.log("\nUsing plugins:");K.forEach(e=>{(0,s.logPlugin)(e,C,B)});if(!D){console.log("\nUsing polyfills: No polyfills were added, since the `useBuiltIns` option was not set.")}}return{plugins:Y}});t.default=D},85869:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r={auto:"transform-modules-commonjs",amd:"transform-modules-amd",commonjs:"transform-modules-commonjs",cjs:"transform-modules-commonjs",systemjs:"transform-modules-systemjs",umd:"transform-modules-umd"};t.default=r},10161:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.normalizeCoreJSOption=normalizeCoreJSOption;t.default=normalizeOptions;t.validateUseBuiltInsOption=t.validateModulesOption=t.checkDuplicateIncludeExcludes=t.normalizePluginName=void 0;var n=r(42190);var s=r(62519);var i=r(11397);var a=r(97708);var o=r(85869);var l=r(61739);var u=r(69562);const p=["web.timers","web.immediate","web.dom.iterable"];const f=new u.OptionValidator("@babel/preset-env");const c=Object.keys(a.plugins);const d=["proposal-dynamic-import",...Object.keys(o.default).map(e=>o.default[e])];const y=(e,t)=>new Set([...c,...e==="exclude"?d:[],...t?t==2?[...Object.keys(i),...p]:Object.keys(n):[]]);const m=e=>{if(e instanceof RegExp)return e;try{return new RegExp(`^${b(e)}$`)}catch(e){return null}};const T=(e,t,r)=>Array.from(y(t,r)).filter(t=>e instanceof RegExp&&e.test(t));const h=e=>[].concat(...e);const S=(e=[],t,r)=>{if(e.length===0)return[];const n=e.map(e=>T(m(e),t,r));const s=e.filter((e,t)=>n[t].length===0);f.invariant(s.length===0,`The plugins/built-ins '${s.join(", ")}' passed to the '${t}' option are not\n valid. Please check data/[plugin-features|built-in-features].js in babel-preset-env`);return h(n)};const b=e=>e.replace(/^(@babel\/|babel-)(plugin-)?/,"");t.normalizePluginName=b;const E=(e=[],t=[])=>{const r=e.filter(e=>t.indexOf(e)>=0);f.invariant(r.length===0,`The plugins/built-ins '${r.join(", ")}' were found in both the "include" and\n "exclude" options.`)};t.checkDuplicateIncludeExcludes=E;const g=e=>{if(typeof e==="string"||Array.isArray(e)){return{browsers:e}}return Object.assign({},e)};const P=(e=l.ModulesOption.auto)=>{f.invariant(l.ModulesOption[e.toString()]||e===l.ModulesOption.false,`The 'modules' option must be one of \n`+` - 'false' to indicate no module processing\n`+` - a specific module type: 'commonjs', 'amd', 'umd', 'systemjs'`+` - 'auto' (default) which will automatically select 'false' if the current\n`+` process is known to support ES module syntax, or "commonjs" otherwise\n`);return e};t.validateModulesOption=P;const x=(e=false)=>{f.invariant(l.UseBuiltInsOption[e.toString()]||e===l.UseBuiltInsOption.false,`The 'useBuiltIns' option must be either\n 'false' (default) to indicate no polyfill,\n '"entry"' to indicate replacing the entry polyfill, or\n '"usage"' to import only used polyfills per file`);return e};t.validateUseBuiltInsOption=x;function normalizeCoreJSOption(e,t){let r=false;let n;if(t&&e===undefined){n=2;console.warn("\nWARNING (@babel/preset-env): We noticed you're using the `useBuiltIns` option without declaring a "+"core-js version. Currently, we assume version 2.x when no version "+"is passed. Since this default version will likely change in future "+"versions of Babel, we recommend explicitly setting the core-js version "+"you are using via the `corejs` option.\n"+"\nYou should also be sure that the version you pass to the `corejs` "+"option matches the version specified in your `package.json`'s "+"`dependencies` section. If it doesn't, you need to run one of the "+"following commands:\n\n"+" npm install --save core-js@2 npm install --save core-js@3\n"+" yarn add core-js@2 yarn add core-js@3\n\n"+"More info about useBuiltIns: https://babeljs.io/docs/en/babel-preset-env#usebuiltins\n"+"More info about core-js: https://babeljs.io/docs/en/babel-preset-env#corejs")}else if(typeof e==="object"&&e!==null){n=e.version;r=Boolean(e.proposals)}else{n=e}const i=n?(0,s.coerce)(String(n)):false;if(!t&&i){console.warn("\nWARNING (@babel/preset-env): The `corejs` option only has an effect when the `useBuiltIns` option is not `false`\n")}if(t&&(!i||i.major<2||i.major>3)){throw new RangeError("Invalid Option: The version passed to `corejs` is invalid. Currently, "+"only core-js@2 and core-js@3 are supported.")}return{version:i,proposals:r}}function normalizeOptions(e){f.validateTopLevelOptions(e,l.TopLevelOptions);const t=x(e.useBuiltIns);const r=normalizeCoreJSOption(e.corejs,t);const n=S(e.include,l.TopLevelOptions.include,!!r.version&&r.version.major);const s=S(e.exclude,l.TopLevelOptions.exclude,!!r.version&&r.version.major);E(n,s);return{bugfixes:f.validateBooleanOption(l.TopLevelOptions.bugfixes,e.bugfixes,false),configPath:f.validateStringOption(l.TopLevelOptions.configPath,e.configPath,process.cwd()),corejs:r,debug:f.validateBooleanOption(l.TopLevelOptions.debug,e.debug,false),include:n,exclude:s,forceAllTransforms:f.validateBooleanOption(l.TopLevelOptions.forceAllTransforms,e.forceAllTransforms,false),ignoreBrowserslistConfig:f.validateBooleanOption(l.TopLevelOptions.ignoreBrowserslistConfig,e.ignoreBrowserslistConfig,false),loose:f.validateBooleanOption(l.TopLevelOptions.loose,e.loose),modules:P(e.modules),shippedProposals:f.validateBooleanOption(l.TopLevelOptions.shippedProposals,e.shippedProposals,false),spec:f.validateBooleanOption(l.TopLevelOptions.spec,e.spec,false),targets:g(e.targets),useBuiltIns:t,browserslistEnv:f.validateStringOption(l.TopLevelOptions.browserslistEnv,e.browserslistEnv)}}},61739:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UseBuiltInsOption=t.ModulesOption=t.TopLevelOptions=void 0;const r={bugfixes:"bugfixes",configPath:"configPath",corejs:"corejs",debug:"debug",exclude:"exclude",forceAllTransforms:"forceAllTransforms",ignoreBrowserslistConfig:"ignoreBrowserslistConfig",include:"include",loose:"loose",modules:"modules",shippedProposals:"shippedProposals",spec:"spec",targets:"targets",useBuiltIns:"useBuiltIns",browserslistEnv:"browserslistEnv"};t.TopLevelOptions=r;const n={false:false,auto:"auto",amd:"amd",commonjs:"commonjs",cjs:"cjs",systemjs:"systemjs",umd:"umd"};t.ModulesOption=n;const s={false:false,entry:"entry",usage:"usage"};t.UseBuiltInsOption=s},97708:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.pluginsBugfixes=t.plugins=void 0;var n=r(70251);var s=r(13982);var i=r(35927);const a={};t.plugins=a;const o={};t.pluginsBugfixes=o;for(const e of Object.keys(n)){if(Object.hasOwnProperty.call(i.default,e)){a[e]=n[e]}}for(const e of Object.keys(s)){if(Object.hasOwnProperty.call(i.default,e)){o[e]=s[e]}}a["proposal-class-properties"]=a["proposal-private-methods"]},85818:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(71463);var s=r(57012);const i=`\n \`@babel/polyfill\` is deprecated. Please, use required parts of \`core-js\`\n and \`regenerator-runtime/runtime\` separately`;const a=`\n When setting \`useBuiltIns: 'usage'\`, polyfills are automatically imported when needed.\n Please remove the direct import of \`SPECIFIER\` or use \`useBuiltIns: 'entry'\` instead.`;function _default({template:e},{regenerator:t,deprecated:r,usage:s}){return{name:"preset-env/replace-babel-polyfill",visitor:{ImportDeclaration(o){const l=(0,n.getImportSource)(o);if(s&&(0,n.isPolyfillSource)(l)){console.warn(a.replace("SPECIFIER",l));if(!r)o.remove()}else if(l==="@babel/polyfill"){if(r){console.warn(i)}else if(t){o.replaceWithMultiple(e.ast` + `}function buildPrivateMethodDeclaration(e,t,s=false){const i=t.get(e.node.key.id.name);const{id:n,methodId:a,getId:o,setId:l,getterDeclared:c,setterDeclared:p,static:u}=i;const{params:h,body:f,generator:d,async:y}=e.node;const m=o&&!c&&h.length===0;const g=l&&!p&&h.length>0;let b=a;if(m){t.set(e.node.key.id.name,Object.assign({},i,{getterDeclared:true}));b=o}else if(g){t.set(e.node.key.id.name,Object.assign({},i,{setterDeclared:true}));b=l}else if(u&&!s){b=n}return r.types.functionDeclaration(r.types.cloneNode(b),h,f,d,y)}const f=r.traverse.visitors.merge([{ThisExpression(e,t){t.needsClassRef=true;e.replaceWith(r.types.cloneNode(t.classRef))},MetaProperty(e){const t=e.get("meta");const s=e.get("property");const{scope:r}=e;if(t.isIdentifier({name:"new"})&&s.isIdentifier({name:"target"})){e.replaceWith(r.buildUndefinedNode())}}},i.environmentVisitor]);const d={ReferencedIdentifier(e,t){if(e.scope.bindingIdentifierEquals(e.node.name,t.innerBinding)){t.needsClassRef=true;e.node.name=t.classRef.name}}};function replaceThisContext(e,t,s,n,a,o,l){var c;const p={classRef:t,needsClassRef:false,innerBinding:l};const u=new i.default({methodPath:e,constantSuper:o,file:n,refToPreserve:t,getSuperRef:s,getObjectRef(){p.needsClassRef=true;return a||e.node.static?t:r.types.memberExpression(t,r.types.identifier("prototype"))}});u.replace();if(a||e.isProperty()){e.traverse(f,p)}if((c=p.classRef)!=null&&c.name&&p.classRef.name!==(l==null?void 0:l.name)){e.traverse(d,p)}return p.needsClassRef}function buildFieldsInitNodes(e,t,s,i,n,a,o,c,p){let u=false;let h;const f=[];const d=[];const y=[];const m=r.types.isIdentifier(t)?()=>t:()=>{var e;(e=h)!=null?e:h=s[0].scope.generateUidIdentifierBasedOnNode(t);return h};for(const t of s){t.isClassProperty()&&l.assertFieldTransformed(t);const s=t.node.static;const h=!s;const g=t.isPrivate();const b=!g;const x=t.isProperty();const v=!x;const w=t.isStaticBlock==null?void 0:t.isStaticBlock();if(s||v&&g||w){const s=replaceThisContext(t,e,m,n,w,c,p);u=u||s}switch(true){case w:f.push(r.template.statement.ast`(() => ${r.types.blockStatement(t.node.body)})()`);break;case s&&g&&x&&o:u=true;f.push(buildPrivateFieldInitLoose(r.types.cloneNode(e),t,i));break;case s&&g&&x&&!o:u=true;f.push(buildPrivateStaticFieldInitSpec(t,i));break;case s&&b&&x&&a:u=true;f.push(buildPublicFieldInitLoose(r.types.cloneNode(e),t));break;case s&&b&&x&&!a:u=true;f.push(buildPublicFieldInitSpec(r.types.cloneNode(e),t,n));break;case h&&g&&x&&o:d.push(buildPrivateFieldInitLoose(r.types.thisExpression(),t,i));break;case h&&g&&x&&!o:d.push(buildPrivateInstanceFieldInitSpec(r.types.thisExpression(),t,i));break;case h&&g&&v&&o:d.unshift(buildPrivateMethodInitLoose(r.types.thisExpression(),t,i));y.push(buildPrivateMethodDeclaration(t,i,o));break;case h&&g&&v&&!o:d.unshift(buildPrivateInstanceMethodInitSpec(r.types.thisExpression(),t,i));y.push(buildPrivateMethodDeclaration(t,i,o));break;case s&&g&&v&&!o:u=true;f.unshift(buildPrivateStaticFieldInitSpec(t,i));y.push(buildPrivateMethodDeclaration(t,i,o));break;case s&&g&&v&&o:u=true;f.unshift(buildPrivateStaticMethodInitLoose(r.types.cloneNode(e),t,n,i));y.push(buildPrivateMethodDeclaration(t,i,o));break;case h&&b&&x&&a:d.push(buildPublicFieldInitLoose(r.types.thisExpression(),t));break;case h&&b&&x&&!a:d.push(buildPublicFieldInitSpec(r.types.thisExpression(),t,n));break;default:throw new Error("Unreachable.")}}return{staticNodes:f.filter(Boolean),instanceNodes:d.filter(Boolean),pureStaticNodes:y.filter(Boolean),wrapClass(t){for(const e of s){e.remove()}if(h){t.scope.push({id:r.types.cloneNode(h)});t.set("superClass",r.types.assignmentExpression("=",h,t.node.superClass))}if(!u)return t;if(t.isClassExpression()){t.scope.push({id:e});t.replaceWith(r.types.assignmentExpression("=",r.types.cloneNode(e),t.node))}else if(!t.node.id){t.node.id=e}return t}}}},60233:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createClassFeaturePlugin=createClassFeaturePlugin;Object.defineProperty(t,"injectInitialization",{enumerable:true,get:function(){return l.injectInitialization}});Object.defineProperty(t,"enableFeature",{enumerable:true,get:function(){return c.enableFeature}});Object.defineProperty(t,"FEATURES",{enumerable:true,get:function(){return c.FEATURES}});var r=s(39652);var i=s(98733);var n=s(76729);var a=s(84476);var o=s(84029);var l=s(6958);var c=s(48110);const p="7.15.0".split(".").reduce((e,t)=>e*1e5+ +t,0);const u="@babel/plugin-class-features/version";function createClassFeaturePlugin({name:e,feature:t,loose:s,manipulateOptions:h,api:f={assumption:()=>void 0}}){const d=f.assumption("setPublicClassFields");const y=f.assumption("privateFieldsAsProperties");const m=f.assumption("constantSuper");const g=f.assumption("noDocumentAll");if(s===true){const t=[];if(d!==undefined){t.push(`"setPublicClassFields"`)}if(y!==undefined){t.push(`"privateFieldsAsProperties"`)}if(t.length!==0){console.warn(`[${e}]: You are using the "loose: true" option and you are`+` explicitly setting a value for the ${t.join(" and ")}`+` assumption${t.length>1?"s":""}. The "loose" option`+` can cause incompatibilities with the other class features`+` plugins, so it's recommended that you replace it with the`+` following top-level option:\n`+`\t"assumptions": {\n`+`\t\t"setPublicClassFields": true,\n`+`\t\t"privateFieldsAsProperties": true\n`+`\t}`)}}return{name:e,manipulateOptions:h,pre(){(0,c.enableFeature)(this.file,t,s);if(!this.file.get(u)||this.file.get(u)0){(0,l.injectInitialization)(e,h,j,(e,t)=>{if(f)return;for(const s of b){if(s.node.static)continue;s.traverse(e,t)}})}const _=S(e);_.insertBefore([...C,...k]);if(I.length>0){_.insertAfter(I)}if(O.length>0){_.find(e=>e.isStatement()||e.isDeclaration()).insertAfter(O)}},PrivateName(e){if(this.file.get(u)!==p||e.parentPath.isPrivate({key:e.node})){return}throw e.buildCodeFrameError(`Unknown PrivateName "${e}"`)},ExportDefaultDeclaration(e){if(this.file.get(u)!==p)return;const t=e.get("declaration");if(t.isClassDeclaration()&&(0,o.hasDecorators)(t.node)){if(t.node.id){(0,n.default)(e)}else{t.node.type="ClassExpression"}}}}}}},6958:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.injectInitialization=injectInitialization;t.extractComputedKeys=extractComputedKeys;var r=s(39652);var i=s(36975);const n=r.traverse.visitors.merge([{Super(e){const{node:t,parentPath:s}=e;if(s.isCallExpression({callee:t})){this.push(s)}}},i.environmentVisitor]);const a={"TSTypeAnnotation|TypeAnnotation"(e){e.skip()},ReferencedIdentifier(e){if(this.scope.hasOwnBinding(e.node.name)){this.scope.rename(e.node.name);e.skip()}}};function handleClassTDZ(e,t){if(t.classBinding&&t.classBinding===e.scope.getBinding(e.node.name)){const s=t.file.addHelper("classNameTDZError");const i=r.types.callExpression(s,[r.types.stringLiteral(e.node.name)]);e.replaceWith(r.types.sequenceExpression([i,e.node]));e.skip()}}const o={ReferencedIdentifier:handleClassTDZ};function injectInitialization(e,t,s,i){if(!s.length)return;const o=!!e.node.superClass;if(!t){const s=r.types.classMethod("constructor",r.types.identifier("constructor"),[],r.types.blockStatement([]));if(o){s.params=[r.types.restElement(r.types.identifier("args"))];s.body.body.push(r.template.statement.ast`super(...args)`)}[t]=e.get("body").unshiftContainer("body",s)}if(i){i(a,{scope:t.scope})}if(o){const e=[];t.traverse(n,e);let i=true;for(const t of e){if(i){t.insertAfter(s);i=false}else{t.insertAfter(s.map(e=>r.types.cloneNode(e)))}}}else{t.get("body").unshiftContainer("body",s)}}function extractComputedKeys(e,t,s,i){const n=[];const a={classBinding:t.node.id&&t.scope.getBinding(t.node.id.name),file:i};for(const e of s){const s=e.get("key");if(s.isReferencedIdentifier()){handleClassTDZ(s,a)}else{s.traverse(o,a)}const i=e.node;if(!s.isConstantExpression()){const e=t.scope.generateUidIdentifierBasedOnNode(i.key);t.scope.push({id:e,kind:"let"});n.push(r.types.expressionStatement(r.types.assignmentExpression("=",r.types.cloneNode(e),i.key)));i.key=r.types.cloneNode(e)}}return n}},35802:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertFieldTransformed=assertFieldTransformed;function assertFieldTransformed(e){if(e.node.declare){throw e.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by `+`@babel/plugin-transform-typescript.\n`+`If you have already enabled that plugin (or '@babel/preset-typescript'), make sure `+`that it runs before any plugin related to additional class features:\n`+` - @babel/plugin-proposal-class-properties\n`+` - @babel/plugin-proposal-private-methods\n`+` - @babel/plugin-proposal-decorators`)}}},36975:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.skipAllButComputedKey=skipAllButComputedKey;t.default=t.environmentVisitor=void 0;var r=s(4267);var i=s(52647);var n=s(68720);var a=s(19761);function getPrototypeOfExpression(e,t,s,r){e=a.cloneNode(e);const i=t||r?e:a.memberExpression(e,a.identifier("prototype"));return a.callExpression(s.addHelper("getPrototypeOf"),[i])}function skipAllButComputedKey(e){if(!e.node.computed){e.skip();return}const t=a.VISITOR_KEYS[e.type];for(const s of t){if(s!=="key")e.skipKey(s)}}const o={[`${a.staticBlock?"StaticBlock|":""}ClassPrivateProperty|TypeAnnotation`](e){e.skip()},Function(e){if(e.isMethod())return;if(e.isArrowFunctionExpression())return;e.skip()},"Method|ClassProperty"(e){skipAllButComputedKey(e)}};t.environmentVisitor=o;const l=r.default.visitors.merge([o,{Super(e,t){const{node:s,parentPath:r}=e;if(!r.isMemberExpression({object:s}))return;t.handle(r)}}]);const c=r.default.visitors.merge([o,{Scopable(e,{refName:t}){const s=e.scope.getOwnBinding(t);if(s&&s.identifier.name===t){e.scope.rename(t)}}}]);const p={memoise(e,t){const{scope:s,node:r}=e;const{computed:i,property:n}=r;if(!i){return}const a=s.maybeGenerateMemoised(n);if(!a){return}this.memoiser.set(n,a,t)},prop(e){const{computed:t,property:s}=e.node;if(this.memoiser.has(s)){return a.cloneNode(this.memoiser.get(s))}if(t){return a.cloneNode(s)}return a.stringLiteral(s.name)},get(e){return this._get(e,this._getThisRefs())},_get(e,t){const s=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return a.callExpression(this.file.addHelper("get"),[t.memo?a.sequenceExpression([t.memo,s]):s,this.prop(e),t.this])},_getThisRefs(){if(!this.isDerivedConstructor){return{this:a.thisExpression()}}const e=this.scope.generateDeclaredUidIdentifier("thisSuper");return{memo:a.assignmentExpression("=",e,a.thisExpression()),this:a.cloneNode(e)}},set(e,t){const s=this._getThisRefs();const r=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return a.callExpression(this.file.addHelper("set"),[s.memo?a.sequenceExpression([s.memo,r]):r,this.prop(e),t,s.this,a.booleanLiteral(e.isInStrictMode())])},destructureSet(e){throw e.buildCodeFrameError(`Destructuring to a super field is not supported yet.`)},call(e,t){const s=this._getThisRefs();return(0,n.default)(this._get(e,s),a.cloneNode(s.this),t,false)},optionalCall(e,t){const s=this._getThisRefs();return(0,n.default)(this._get(e,s),a.cloneNode(s.this),t,true)}};const u=Object.assign({},p,{prop(e){const{property:t}=e.node;if(this.memoiser.has(t)){return a.cloneNode(this.memoiser.get(t))}return a.cloneNode(t)},get(e){const{isStatic:t,getSuperRef:s}=this;const{computed:r}=e.node;const i=this.prop(e);let n;if(t){var o;n=(o=s())!=null?o:a.memberExpression(a.identifier("Function"),a.identifier("prototype"))}else{var l;n=a.memberExpression((l=s())!=null?l:a.identifier("Object"),a.identifier("prototype"))}return a.memberExpression(n,i,r)},set(e,t){const{computed:s}=e.node;const r=this.prop(e);return a.assignmentExpression("=",a.memberExpression(a.thisExpression(),r,s),t)},destructureSet(e){const{computed:t}=e.node;const s=this.prop(e);return a.memberExpression(a.thisExpression(),s,t)},call(e,t){return(0,n.default)(this.get(e),a.thisExpression(),t,false)},optionalCall(e,t){return(0,n.default)(this.get(e),a.thisExpression(),t,true)}});class ReplaceSupers{constructor(e){var t;const s=e.methodPath;this.methodPath=s;this.isDerivedConstructor=s.isClassMethod({kind:"constructor"})&&!!e.superRef;this.isStatic=s.isObjectMethod()||s.node.static||(s.isStaticBlock==null?void 0:s.isStaticBlock());this.isPrivateMethod=s.isPrivate()&&s.isMethod();this.file=e.file;this.constantSuper=(t=e.constantSuper)!=null?t:e.isLoose;this.opts=e}getObjectRef(){return a.cloneNode(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){if(this.opts.superRef)return a.cloneNode(this.opts.superRef);if(this.opts.getSuperRef)return a.cloneNode(this.opts.getSuperRef())}replace(){if(this.opts.refToPreserve){this.methodPath.traverse(c,{refName:this.opts.refToPreserve.name})}const e=this.constantSuper?u:p;(0,i.default)(this.methodPath,l,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this),boundGet:e.get},e))}}t.default=ReplaceSupers},85436:e=>{const t=new Set(["proposal-class-static-block"]);const s={"proposal-async-generator-functions":"syntax-async-generators","proposal-class-properties":"syntax-class-properties","proposal-class-static-block":"syntax-class-static-block","proposal-json-strings":"syntax-json-strings","proposal-nullish-coalescing-operator":"syntax-nullish-coalescing-operator","proposal-numeric-separator":"syntax-numeric-separator","proposal-object-rest-spread":"syntax-object-rest-spread","proposal-optional-catch-binding":"syntax-optional-catch-binding","proposal-optional-chaining":"syntax-optional-chaining","proposal-private-methods":"syntax-class-properties","proposal-private-property-in-object":"syntax-private-property-in-object","proposal-unicode-property-regex":null};const r=Object.keys(s).map(function(e){return[e,s[e]]});const i=new Map(r);e.exports={pluginSyntaxMap:i,proposalPlugins:t}},35927:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.minVersions=t.default=void 0;var r=s(42229);var i=s(27532);var n=s(41852);var a=s(15487);var o=s(23817);var l=s(26456);var c=s(99420);var p=s(61586);var u=s(95619);var h=s(86343);var f=s(28909);var d=s(39797);var y=s(77130);var m=s(56679);var g=s(71694);var b=s(98060);var x=s(10790);var v=s(74690);var w=s(78562);var P=s(91253);var E=s(76321);var A=s(66841);var T=s(17788);var C=s(15654);var k=s(82079);var I=s(35078);var j=s(12077);var O=s(91269);var S=s(35194);var _=s(43673);var R=s(45807);var D=s(84419);var N=s(21600);var F=s(79285);var M=s(13798);var L=s(81807);var B=s(92867);var U=s(74058);var W=s(36195);var q=s(59630);var H=s(46642);var z=s(5718);var V=s(59153);var K=s(50933);var $=s(68749);var G=s(82565);var J=s(79874);var X=s(76815);var Y=s(79418);var Q=s(19562);var Z=s(26155);var ee=s(17655);var te=s(53648);var se=s(26088);var re=s(27476);var ie=s(48315);var ne=s(84779);var ae=s(84611);var oe=s(446);var le=s(31507);var ce=s(91990);var pe=s(30348);var ue=s(45585);var he=s(1056);var fe=s(64038);var de=s(86808);var ye=s(96126);var me=s(87790);var ge={"bugfix/transform-async-arrows-in-class":()=>pe,"bugfix/transform-edge-default-parameters":()=>ue,"bugfix/transform-edge-function-name":()=>he,"bugfix/transform-safari-block-shadowing":()=>de,"bugfix/transform-safari-for-shadowing":()=>ye,"bugfix/transform-tagged-template-caching":()=>fe,"bugfix/transform-v8-spread-parameters-in-optional-chaining":()=>me.default,"proposal-async-generator-functions":()=>g.default,"proposal-class-properties":()=>b.default,"proposal-class-static-block":()=>x.default,"proposal-dynamic-import":()=>v.default,"proposal-export-namespace-from":()=>w.default,"proposal-json-strings":()=>P.default,"proposal-logical-assignment-operators":()=>E.default,"proposal-nullish-coalescing-operator":()=>A.default,"proposal-numeric-separator":()=>T.default,"proposal-object-rest-spread":()=>C.default,"proposal-optional-catch-binding":()=>k.default,"proposal-optional-chaining":()=>I.default,"proposal-private-methods":()=>j.default,"proposal-private-property-in-object":()=>O.default,"proposal-unicode-property-regex":()=>S.default,"syntax-async-generators":()=>r,"syntax-class-properties":()=>i,"syntax-class-static-block":()=>n.default,"syntax-dynamic-import":()=>a,"syntax-export-namespace-from":()=>o,"syntax-json-strings":()=>l,"syntax-logical-assignment-operators":()=>c,"syntax-nullish-coalescing-operator":()=>p,"syntax-numeric-separator":()=>u,"syntax-object-rest-spread":()=>h,"syntax-optional-catch-binding":()=>f,"syntax-optional-chaining":()=>d,"syntax-private-property-in-object":()=>y.default,"syntax-top-level-await":()=>m.default,"transform-arrow-functions":()=>R.default,"transform-async-to-generator":()=>_.default,"transform-block-scoped-functions":()=>D.default,"transform-block-scoping":()=>N.default,"transform-classes":()=>F.default,"transform-computed-properties":()=>M.default,"transform-destructuring":()=>L.default,"transform-dotall-regex":()=>B.default,"transform-duplicate-keys":()=>U.default,"transform-exponentiation-operator":()=>W.default,"transform-for-of":()=>q.default,"transform-function-name":()=>H.default,"transform-literals":()=>z.default,"transform-member-expression-literals":()=>V.default,"transform-modules-amd":()=>K.default,"transform-modules-commonjs":()=>$.default,"transform-modules-systemjs":()=>G.default,"transform-modules-umd":()=>J.default,"transform-named-capturing-groups-regex":()=>X.default,"transform-new-target":()=>Y.default,"transform-object-super":()=>Q.default,"transform-parameters":()=>Z.default,"transform-property-literals":()=>ee.default,"transform-regenerator":()=>te.default,"transform-reserved-words":()=>se.default,"transform-shorthand-properties":()=>re.default,"transform-spread":()=>ie.default,"transform-sticky-regex":()=>ne.default,"transform-template-literals":()=>ae.default,"transform-typeof-symbol":()=>oe.default,"transform-unicode-escapes":()=>le.default,"transform-unicode-regex":()=>ce.default};t.default=ge;const be={"proposal-class-static-block":"7.12.0","proposal-private-property-in-object":"7.10.0"};t.minVersions=be},93891:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.logPlugin=void 0;var r=s(55937);const i=(e,t,s)=>{const i=(0,r.getInclusionReasons)(e,t,s);const n=s[e];if(!n){console.log(` ${e}`);return}let a=`{`;let o=true;for(const e of Object.keys(i)){if(!o)a+=`,`;o=false;a+=` ${e}`;if(n[e])a+=` < ${n[e]}`}a+=` }`;console.log(` ${e} ${a}`)};t.logPlugin=i},73916:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.removeUnnecessaryItems=removeUnnecessaryItems;t.removeUnsupportedItems=removeUnsupportedItems;var r=s(62519);var i=s(35927);const n=Function.call.bind(Object.hasOwnProperty);function removeUnnecessaryItems(e,t){e.forEach(s=>{var r;(r=t[s])==null?void 0:r.forEach(t=>e.delete(t))})}function removeUnsupportedItems(e,t){e.forEach(s=>{if(n(i.minVersions,s)&&(0,r.lt)(t,i.minVersions[s])){e.delete(s)}})}},61280:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;const s=["transform-typeof-symbol"];function _default({loose:e}){return e?s:null}},61480:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isPluginRequired=isPluginRequired;t.default=t.getPolyfillPlugins=t.getModulesPluginNames=t.transformIncludesAndExcludes=void 0;var r=s(62519);var i=s(93891);var n=s(61280);var a=s(73916);var o=s(85869);var l=s(10161);var c=s(85436);var p=s(97708);var u=s(91325);var h=s(69936);var f=s(85818);var d=s(75356);var y=s(9125);var m=s(55832);var g=s(55937);var b=s(35927);var x=s(20336);const v=d.default||d;const w=y.default||y;const P=m.default||m;function isPluginRequired(e,t){return(0,g.isRequired)("fake-name",e,{compatData:{"fake-name":t}})}function filterStageFromList(e,t){return Object.keys(e).reduce((s,r)=>{if(!t.has(r)){s[r]=e[r]}return s},{})}const E={withProposals:{withoutBugfixes:p.plugins,withBugfixes:Object.assign({},p.plugins,p.pluginsBugfixes)},withoutProposals:{withoutBugfixes:filterStageFromList(p.plugins,c.proposalPlugins),withBugfixes:filterStageFromList(Object.assign({},p.plugins,p.pluginsBugfixes),c.proposalPlugins)}};function getPluginList(e,t){if(e){if(t)return E.withProposals.withBugfixes;else return E.withProposals.withoutBugfixes}else{if(t)return E.withoutProposals.withBugfixes;else return E.withoutProposals.withoutBugfixes}}const A=e=>{const t=b.default[e]();if(!t){throw new Error(`Could not find plugin "${e}". Ensure there is an entry in ./available-plugins.js for it.`)}return t};const T=e=>{return e.reduce((e,t)=>{const s=t.match(/^(es|es6|es7|esnext|web)\./)?"builtIns":"plugins";e[s].add(t);return e},{all:e,plugins:new Set,builtIns:new Set})};t.transformIncludesAndExcludes=T;const C=({modules:e,transformations:t,shouldTransformESM:s,shouldTransformDynamicImport:r,shouldTransformExportNamespaceFrom:i,shouldParseTopLevelAwait:n})=>{const a=[];if(e!==false&&t[e]){if(s){a.push(t[e])}if(r&&s&&e!=="umd"){a.push("proposal-dynamic-import")}else{if(r){console.warn("Dynamic import can only be supported when transforming ES modules"+" to AMD, CommonJS or SystemJS. Only the parser plugin will be enabled.")}a.push("syntax-dynamic-import")}}else{a.push("syntax-dynamic-import")}if(i){a.push("proposal-export-namespace-from")}else{a.push("syntax-export-namespace-from")}if(n){a.push("syntax-top-level-await")}return a};t.getModulesPluginNames=C;const k=({useBuiltIns:e,corejs:t,polyfillTargets:s,include:r,exclude:i,proposals:n,shippedProposals:a,regenerator:o,debug:l})=>{const c=[];if(e==="usage"||e==="entry"){const p={method:`${e}-global`,version:t?t.toString():undefined,targets:s,include:r,exclude:i,proposals:n,shippedProposals:a,debug:l};if(t){if(e==="usage"){if(t.major===2){c.push([v,p],[f.default,{usage:true}])}else{c.push([w,p],[f.default,{usage:true,deprecated:true}])}if(o){c.push([P,{method:"usage-global",debug:l}])}}else{if(t.major===2){c.push([f.default,{regenerator:o}],[v,p])}else{c.push([w,p],[f.default,{deprecated:true}]);if(!o){c.push([h.default,p])}}}}}return c};t.getPolyfillPlugins=k;function getLocalTargets(e,t,s,r){if(e!=null&&e.esmodules&&e.browsers){console.warn(`\n@babel/preset-env: esmodules and browsers targets have been specified together.\n\`browsers\` target, \`${e.browsers.toString()}\` will be ignored.\n`)}return(0,g.default)(e,{ignoreBrowserslistConfig:t,configPath:s,browserslistEnv:r})}function supportsStaticESM(e){return!!(e!=null&&e.supportsStaticESM)}function supportsDynamicImport(e){return!!(e!=null&&e.supportsDynamicImport)}function supportsExportNamespaceFrom(e){return!!(e!=null&&e.supportsExportNamespaceFrom)}function supportsTopLevelAwait(e){return!!(e!=null&&e.supportsTopLevelAwait)}var I=(0,x.declare)((e,t)=>{e.assertVersion(7);const s=e.targets();const{bugfixes:p,configPath:h,debug:f,exclude:d,forceAllTransforms:y,ignoreBrowserslistConfig:m,include:b,loose:x,modules:v,shippedProposals:w,spec:P,targets:E,useBuiltIns:I,corejs:{version:j,proposals:O},browserslistEnv:S}=(0,l.default)(t);let _=s;if((0,r.lt)(e.version,"7.13.0")||t.targets||t.configPath||t.browserslistEnv||t.ignoreBrowserslistConfig){{var R=false;if(E!=null&&E.uglify){R=true;delete E.uglify;console.warn(`\nThe uglify target has been deprecated. Set the top level\noption \`forceAllTransforms: true\` instead.\n`)}}_=getLocalTargets(E,m,h,S)}const D=y||R?{}:_;const N=T(b);const F=T(d);const M=getPluginList(w,p);const L=v==="auto"&&(e.caller==null?void 0:e.caller(supportsExportNamespaceFrom))||v===false&&!(0,g.isRequired)("proposal-export-namespace-from",D,{compatData:M,includes:N.plugins,excludes:F.plugins});const B=C({modules:v,transformations:o.default,shouldTransformESM:v!=="auto"||!(e.caller!=null&&e.caller(supportsStaticESM)),shouldTransformDynamicImport:v!=="auto"||!(e.caller!=null&&e.caller(supportsDynamicImport)),shouldTransformExportNamespaceFrom:!L,shouldParseTopLevelAwait:!e.caller||e.caller(supportsTopLevelAwait)});const U=(0,g.filterItems)(M,N.plugins,F.plugins,D,B,(0,n.default)({loose:x}),c.pluginSyntaxMap);(0,a.removeUnnecessaryItems)(U,u);(0,a.removeUnsupportedItems)(U,e.version);const W=k({useBuiltIns:I,corejs:j,polyfillTargets:_,include:N.builtIns,exclude:F.builtIns,proposals:O,shippedProposals:w,regenerator:U.has("transform-regenerator"),debug:f});const q=I!==false;const H=Array.from(U).map(e=>{if(e==="proposal-class-properties"||e==="proposal-private-methods"||e==="proposal-private-property-in-object"){return[A(e),{loose:x?"#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error":"#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"}]}return[A(e),{spec:P,loose:x,useBuiltIns:q}]}).concat(W);if(f){console.log("@babel/preset-env: `DEBUG` option");console.log("\nUsing targets:");console.log(JSON.stringify((0,g.prettifyTargets)(_),null,2));console.log(`\nUsing modules transform: ${v.toString()}`);console.log("\nUsing plugins:");U.forEach(e=>{(0,i.logPlugin)(e,_,M)});if(!I){console.log("\nUsing polyfills: No polyfills were added, since the `useBuiltIns` option was not set.")}}return{plugins:H}});t.default=I},85869:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var s={auto:"transform-modules-commonjs",amd:"transform-modules-amd",commonjs:"transform-modules-commonjs",cjs:"transform-modules-commonjs",systemjs:"transform-modules-systemjs",umd:"transform-modules-umd"};t.default=s},10161:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.normalizeCoreJSOption=normalizeCoreJSOption;t.default=normalizeOptions;t.validateUseBuiltInsOption=t.validateModulesOption=t.checkDuplicateIncludeExcludes=t.normalizePluginName=void 0;var r=s(42190);var i=s(62519);var n=s(11397);var a=s(97708);var o=s(85869);var l=s(61739);var c=s(69562);const p=["web.timers","web.immediate","web.dom.iterable"];const u=new c.OptionValidator("@babel/preset-env");const h=Object.keys(a.plugins);const f=["proposal-dynamic-import",...Object.keys(o.default).map(e=>o.default[e])];const d=(e,t)=>new Set([...h,...e==="exclude"?f:[],...t?t==2?[...Object.keys(n),...p]:Object.keys(r):[]]);const y=e=>{if(e instanceof RegExp)return e;try{return new RegExp(`^${x(e)}$`)}catch(e){return null}};const m=(e,t,s)=>Array.from(d(t,s)).filter(t=>e instanceof RegExp&&e.test(t));const g=e=>[].concat(...e);const b=(e=[],t,s)=>{if(e.length===0)return[];const r=e.map(e=>m(y(e),t,s));const i=e.filter((e,t)=>r[t].length===0);u.invariant(i.length===0,`The plugins/built-ins '${i.join(", ")}' passed to the '${t}' option are not\n valid. Please check data/[plugin-features|built-in-features].js in babel-preset-env`);return g(r)};const x=e=>e.replace(/^(@babel\/|babel-)(plugin-)?/,"");t.normalizePluginName=x;const v=(e=[],t=[])=>{const s=e.filter(e=>t.indexOf(e)>=0);u.invariant(s.length===0,`The plugins/built-ins '${s.join(", ")}' were found in both the "include" and\n "exclude" options.`)};t.checkDuplicateIncludeExcludes=v;const w=e=>{if(typeof e==="string"||Array.isArray(e)){return{browsers:e}}return Object.assign({},e)};const P=(e=l.ModulesOption.auto)=>{u.invariant(l.ModulesOption[e.toString()]||e===l.ModulesOption.false,`The 'modules' option must be one of \n`+` - 'false' to indicate no module processing\n`+` - a specific module type: 'commonjs', 'amd', 'umd', 'systemjs'`+` - 'auto' (default) which will automatically select 'false' if the current\n`+` process is known to support ES module syntax, or "commonjs" otherwise\n`);return e};t.validateModulesOption=P;const E=(e=false)=>{u.invariant(l.UseBuiltInsOption[e.toString()]||e===l.UseBuiltInsOption.false,`The 'useBuiltIns' option must be either\n 'false' (default) to indicate no polyfill,\n '"entry"' to indicate replacing the entry polyfill, or\n '"usage"' to import only used polyfills per file`);return e};t.validateUseBuiltInsOption=E;function normalizeCoreJSOption(e,t){let s=false;let r;if(t&&e===undefined){r=2;console.warn("\nWARNING (@babel/preset-env): We noticed you're using the `useBuiltIns` option without declaring a "+"core-js version. Currently, we assume version 2.x when no version "+"is passed. Since this default version will likely change in future "+"versions of Babel, we recommend explicitly setting the core-js version "+"you are using via the `corejs` option.\n"+"\nYou should also be sure that the version you pass to the `corejs` "+"option matches the version specified in your `package.json`'s "+"`dependencies` section. If it doesn't, you need to run one of the "+"following commands:\n\n"+" npm install --save core-js@2 npm install --save core-js@3\n"+" yarn add core-js@2 yarn add core-js@3\n\n"+"More info about useBuiltIns: https://babeljs.io/docs/en/babel-preset-env#usebuiltins\n"+"More info about core-js: https://babeljs.io/docs/en/babel-preset-env#corejs")}else if(typeof e==="object"&&e!==null){r=e.version;s=Boolean(e.proposals)}else{r=e}const n=r?(0,i.coerce)(String(r)):false;if(!t&&n){console.warn("\nWARNING (@babel/preset-env): The `corejs` option only has an effect when the `useBuiltIns` option is not `false`\n")}if(t&&(!n||n.major<2||n.major>3)){throw new RangeError("Invalid Option: The version passed to `corejs` is invalid. Currently, "+"only core-js@2 and core-js@3 are supported.")}return{version:n,proposals:s}}function normalizeOptions(e){u.validateTopLevelOptions(e,l.TopLevelOptions);const t=E(e.useBuiltIns);const s=normalizeCoreJSOption(e.corejs,t);const r=b(e.include,l.TopLevelOptions.include,!!s.version&&s.version.major);const i=b(e.exclude,l.TopLevelOptions.exclude,!!s.version&&s.version.major);v(r,i);return{bugfixes:u.validateBooleanOption(l.TopLevelOptions.bugfixes,e.bugfixes,false),configPath:u.validateStringOption(l.TopLevelOptions.configPath,e.configPath,process.cwd()),corejs:s,debug:u.validateBooleanOption(l.TopLevelOptions.debug,e.debug,false),include:r,exclude:i,forceAllTransforms:u.validateBooleanOption(l.TopLevelOptions.forceAllTransforms,e.forceAllTransforms,false),ignoreBrowserslistConfig:u.validateBooleanOption(l.TopLevelOptions.ignoreBrowserslistConfig,e.ignoreBrowserslistConfig,false),loose:u.validateBooleanOption(l.TopLevelOptions.loose,e.loose),modules:P(e.modules),shippedProposals:u.validateBooleanOption(l.TopLevelOptions.shippedProposals,e.shippedProposals,false),spec:u.validateBooleanOption(l.TopLevelOptions.spec,e.spec,false),targets:w(e.targets),useBuiltIns:t,browserslistEnv:u.validateStringOption(l.TopLevelOptions.browserslistEnv,e.browserslistEnv)}}},61739:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UseBuiltInsOption=t.ModulesOption=t.TopLevelOptions=void 0;const s={bugfixes:"bugfixes",configPath:"configPath",corejs:"corejs",debug:"debug",exclude:"exclude",forceAllTransforms:"forceAllTransforms",ignoreBrowserslistConfig:"ignoreBrowserslistConfig",include:"include",loose:"loose",modules:"modules",shippedProposals:"shippedProposals",spec:"spec",targets:"targets",useBuiltIns:"useBuiltIns",browserslistEnv:"browserslistEnv"};t.TopLevelOptions=s;const r={false:false,auto:"auto",amd:"amd",commonjs:"commonjs",cjs:"cjs",systemjs:"systemjs",umd:"umd"};t.ModulesOption=r;const i={false:false,entry:"entry",usage:"usage"};t.UseBuiltInsOption=i},97708:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.pluginsBugfixes=t.plugins=void 0;var r=s(70251);var i=s(13982);var n=s(35927);const a={};t.plugins=a;const o={};t.pluginsBugfixes=o;for(const e of Object.keys(r)){if(Object.hasOwnProperty.call(n.default,e)){a[e]=r[e]}}for(const e of Object.keys(i)){if(Object.hasOwnProperty.call(n.default,e)){o[e]=i[e]}}a["proposal-class-properties"]=a["proposal-private-methods"]},85818:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var r=s(71463);var i=s(19761);const n=`\n \`@babel/polyfill\` is deprecated. Please, use required parts of \`core-js\`\n and \`regenerator-runtime/runtime\` separately`;const a=`\n When setting \`useBuiltIns: 'usage'\`, polyfills are automatically imported when needed.\n Please remove the direct import of \`SPECIFIER\` or use \`useBuiltIns: 'entry'\` instead.`;function _default({template:e},{regenerator:t,deprecated:s,usage:i}){return{name:"preset-env/replace-babel-polyfill",visitor:{ImportDeclaration(o){const l=(0,r.getImportSource)(o);if(i&&(0,r.isPolyfillSource)(l)){console.warn(a.replace("SPECIFIER",l));if(!s)o.remove()}else if(l==="@babel/polyfill"){if(s){console.warn(n)}else if(t){o.replaceWithMultiple(e.ast` import "core-js"; import "regenerator-runtime/runtime.js"; `)}else{o.replaceWith(e.ast` import "core-js"; - `)}}},Program(o){o.get("body").forEach(o=>{const l=(0,n.getRequireSource)(o);if(s&&(0,n.isPolyfillSource)(l)){console.warn(a.replace("SPECIFIER",l));if(!r)o.remove()}else if(l==="@babel/polyfill"){if(r){console.warn(i)}else if(t){o.replaceWithMultiple(e.ast` + `)}}},Program(o){o.get("body").forEach(o=>{const l=(0,r.getRequireSource)(o);if(i&&(0,r.isPolyfillSource)(l)){console.warn(a.replace("SPECIFIER",l));if(!s)o.remove()}else if(l==="@babel/polyfill"){if(s){console.warn(n)}else if(t){o.replaceWithMultiple(e.ast` require("core-js"); require("regenerator-runtime/runtime.js"); `)}else{o.replaceWith(e.ast` require("core-js"); - `)}}})}}}}},69936:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(71463);function isRegeneratorSource(e){return e==="regenerator-runtime/runtime"||e==="regenerator-runtime/runtime.js"}function _default(){const e={ImportDeclaration(e){if(isRegeneratorSource((0,n.getImportSource)(e))){this.regeneratorImportExcluded=true;e.remove()}},Program(e){e.get("body").forEach(e=>{if(isRegeneratorSource((0,n.getRequireSource)(e))){this.regeneratorImportExcluded=true;e.remove()}})}};return{name:"preset-env/remove-regenerator",visitor:e,pre(){this.regeneratorImportExcluded=false},post(){if(this.opts.debug&&this.regeneratorImportExcluded){let e=this.file.opts.filename;if(process.env.BABEL_ENV==="test"){e=e.replace(/\\/g,"/")}console.log(`\n[${e}] Based on your targets, regenerator-runtime import excluded.`)}}}}},71463:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getImportSource=getImportSource;t.getRequireSource=getRequireSource;t.isPolyfillSource=isPolyfillSource;var n=r(57012);function getImportSource({node:e}){if(e.specifiers.length===0)return e.source.value}function getRequireSource({node:e}){if(!n.isExpressionStatement(e))return;const{expression:t}=e;if(n.isCallExpression(t)&&n.isIdentifier(t.callee)&&t.callee.name==="require"&&t.arguments.length===1&&n.isStringLiteral(t.arguments[0])){return t.arguments[0].value}}function isPolyfillSource(e){return e==="@babel/polyfill"||e==="core-js"}},12898:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(20336);var s=r(90636);var i=r(69562);function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var a=_interopDefaultLegacy(s);const o=new i.OptionValidator("@babel/preset-typescript");function normalizeOptions(e={}){let{allowNamespaces:t=true,jsxPragma:r,onlyRemoveTypeImports:n}=e;const s={allExtensions:"allExtensions",allowNamespaces:"allowNamespaces",isTSX:"isTSX",jsxPragma:"jsxPragma",jsxPragmaFrag:"jsxPragmaFrag",onlyRemoveTypeImports:"onlyRemoveTypeImports",optimizeConstEnums:"optimizeConstEnums"};const i=o.validateStringOption(s.jsxPragmaFrag,e.jsxPragmaFrag,"React.Fragment");const a=o.validateBooleanOption(s.allExtensions,e.allExtensions,false);const l=o.validateBooleanOption(s.isTSX,e.isTSX,false);if(l){o.invariant(a,"isTSX:true requires allExtensions:true")}const u=o.validateBooleanOption(s.optimizeConstEnums,e.optimizeConstEnums,false);return{allExtensions:a,allowNamespaces:t,isTSX:l,jsxPragma:r,jsxPragmaFrag:i,onlyRemoveTypeImports:n,optimizeConstEnums:u}}var l=n.declare((e,t)=>{e.assertVersion(7);const{allExtensions:r,allowNamespaces:n,isTSX:s,jsxPragma:i,jsxPragmaFrag:o,onlyRemoveTypeImports:l,optimizeConstEnums:u}=normalizeOptions(t);const p=e=>({allowDeclareFields:t.allowDeclareFields,allowNamespaces:n,isTSX:e,jsxPragma:i,jsxPragmaFrag:o,onlyRemoveTypeImports:l,optimizeConstEnums:u});return{overrides:r?[{plugins:[[a["default"],p(s)]]}]:[{test:/\.ts$/,plugins:[[a["default"],p(false)]]},{test:/\.tsx$/,plugins:[[a["default"],p(true)]]}]}});t.default=l},75508:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(68582);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},40412:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertClassProperty=assertClassProperty;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertPrivateName=assertPrivateName;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTopicReference=assertTopicReference;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertPrivate=assertPrivate;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(9242);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTopicReference(e,t){assert("TopicReference",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},74895:()=>{},81868:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(8774);var s=r(30826);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(24485);var s=r(71537);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},44241:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(24485);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},24485:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.classProperty=classProperty;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.privateName=privateName;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.topicReference=topicReference;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(81868);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function topicReference(){return(0,n.default)("TopicReference",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},33686:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TopicReference",{enumerable:true,get:function(){return n.topicReference}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(24485)},70194:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(32538);var s=r(44022);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(24485);var s=r(54210);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},44564:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(37649);function clone(e){return(0,n.default)(e,false)}},76655:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(37649);function cloneDeep(e){return(0,n.default)(e)}},61846:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(37649);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},37649:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(8774);var s=r(32538);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},99542:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(37649);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},79574:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(49866);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},49866:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},47209:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(98559);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},26129:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(98559);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},14700:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(98559);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},40899:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(14700);var s=r(26129);var i=r(47209);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},16575:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(37297);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},21253:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.PRIVATE_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(8774);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},37297:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},1823:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(28332);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},38652:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(25940);var s=r(32538);var i=r(24485);var a=r(37649);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},15219:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(12143);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},28332:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(32538);var s=r(24485);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},64457:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(32538);var s=r(24485);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},45293:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(32538);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},12143:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(65178);var s=r(86607);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},59032:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(32538);var s=r(37649);var i=r(42286);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},65943:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(38652);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},7994:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(32538);var s=r(24485);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},40032:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(65178);var s=r(24485);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},8655:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(9242);var s=r(65178);var i=r(86607);var a=r(37297);var o=r(20799);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("value"))}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi","typeParameters"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},c,{value:{validate:(0,o.assertNodeType)("Expression"),optional:true},definite:{validate:(0,o.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,o.assertValueType)("boolean"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},variance:{validate:(0,o.assertNodeType)("Variance"),optional:true}})});(0,o.default)("ClassPrivateProperty",{visitor:["key","value","decorators","typeAnnotation"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,o.assertNodeType)("PrivateName")},value:{validate:(0,o.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,o.assertValueType)("boolean"),optional:true},definite:{validate:(0,o.assertValueType)("boolean"),optional:true},variance:{validate:(0,o.assertNodeType)("Variance"),optional:true}}});(0,o.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},d,u,{key:{validate:(0,o.assertNodeType)("PrivateName")},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")}}})},79555:(e,t,r)=>{"use strict";var n=r(20799);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]});(0,n.default)("TopicReference",{aliases:["Expression"]});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]})},59271:(e,t,r)=>{"use strict";var n=r(20799);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},8774:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(8655);r(59271);r(71543);r(28770);r(79555);r(28354);var s=r(20799);var i=r(90007);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},71543:(e,t,r)=>{"use strict";var n=r(20799);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},28770:(e,t,r)=>{"use strict";var n=r(20799);var s=r(90007);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},90007:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(20799);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},28354:(e,t,r)=>{"use strict";var n=r(20799);var s=r(8655);var i=r(9242);const a=(0,n.assertValueType)("boolean");const o={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,n.assertValueType)("boolean"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,o)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,o)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const l={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const u={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:l};(0,n.default)("TSCallSignatureDeclaration",u);(0,n.default)("TSConstructSignatureDeclaration",u);const p={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(a),optional:(0,n.validateOptional)(a)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},p,{readonly:(0,n.validateOptional)(a),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression"),kind:{validate:(0,n.assertOneOf)("get","set")}})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},l,p,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(a),static:(0,n.validateOptional)(a),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const f=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of f){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const c={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},c,{fields:l}));(0,n.default)("TSConstructorType",Object.assign({},c,{fields:Object.assign({},l,{abstract:(0,n.validateOptional)(a)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(a)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:a,default:false},elementType:(0,n.validateType)("TSType")}});const d={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",d);(0,n.default)("TSIntersectionType",d);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(a),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(a),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){const e=(0,n.assertNodeType)("NumericLiteral","BigIntLiteral");const t=(0,n.assertOneOf)("-");const r=(0,n.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral");function validator(n,s,a){if((0,i.default)("UnaryExpression",a)){t(a,"operator",a.operator);e(a,"argument",a.argument)}else{r(n,s,a)}}validator.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","UnaryExpression"];return validator}()}}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(a),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(a),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(a),const:(0,n.validateOptional)(a),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(a),global:(0,n.validateOptional)(a),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(a),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"]),importKind:{validate:(0,n.assertOneOf)("type","value"),optional:true}}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},20799:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(9242);var s=r(30826);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},57012:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(86739);var i=r(21102);var a=r(70194);var o=r(75508);var l=r(40412);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(44241);var p=r(63672);var f=r(47972);var c=r(24485);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(33686);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(37649);var m=r(44564);var T=r(76655);var h=r(61846);var S=r(99542);var b=r(79574);var E=r(49866);var g=r(47209);var P=r(26129);var x=r(40899);var v=r(14700);var A=r(16575);var O=r(21253);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(37297);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(1823);var w=r(15219);var j=r(28332);var N=r(64457);var C=r(45293);var L=r(12143);var _=r(59032);var M=r(65943);var F=r(7994);var B=r(40032);var k=r(8774);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(77136);var K=r(45268);var V=r(97942);var X=r(25705);var Y=r(42286);var J=r(71537);var U=r(25940);var W=r(92875);var q=r(86630);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(9170);var G=r(32708);var $=r(9242);var H=r(91232);var Q=r(17676);var Z=r(67839);var ee=r(20672);var te=r(68582);var re=r(43498);var ne=r(87789);var se=r(96732);var ie=r(58449);var ae=r(58845);var oe=r(56907);var le=r(38679);var ue=r(65178);var pe=r(25444);var fe=r(51011);var ce=r(30826);var de=r(86770);var ye=r(32538);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(74895);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},77136:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(24485);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},71537:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(32538);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},45268:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(37297);var s=r(40899);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},97942:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(24485);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},25705:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(37297);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},42286:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(9170);var s=r(25705);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},54210:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(32538);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},25940:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(32538);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(25940);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},86630:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(8774);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(8774);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},98559:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},44022:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(24485);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},86770:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(51011);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},32538:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isClassProperty=isClassProperty;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isPrivateName=isPrivateName;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTopicReference=isTopicReference;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isPrivate=isPrivate;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(32708);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="TopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TopicReference"===r||"PipelineTopicExpression"===r||"PipelineBareFunction"===r||"PipelinePrimaryTopicReference"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},9242:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(32708);var s=r(56907);var i=r(87789);var a=r(8774);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},91232:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(25940);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},17676:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(32538);var s=r(20672);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},67839:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(56907);var s=r(32538);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},20672:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(32538);var s=r(37297);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},68582:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(8774);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},43498:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(8774);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(8774);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},96732:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},58449:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(32538);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},58845:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(32538);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},56907:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(8774);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},38679:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(65178);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},65178:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(86607);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},25444:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(32538);var s=r(37297);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},51011:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(32538);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},86739:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(86770);const s=(0,n.default)("React.Component");var i=s;t.default=i},30826:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(8774);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},87178:(e,t)=>{"use strict";t.__esModule=true;t.default=_default;function _extends(){_extends=Object.assign||function(e){for(var t=1;te!=="node");return _extends({},s,t==="usage-pure"?n:null,a||o?r:null)}},35990:(e,t,r)=>{"use strict";t.__esModule=true;t.StaticProperties=t.InstanceProperties=t.BuiltIns=t.CommonIterators=void 0;var n=_interopRequireDefault(r(57607));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s=(e,t,r=[],n)=>{return{name:e,pure:t,global:r,meta:n}};const i=(e,t,r=null)=>s(t[0],e,t,{minRuntimeVersion:r});const a=e=>s(e[0],null,e);const o=(e,t)=>s(t,e,[]);const l=["es6.object.to-string","es6.array.iterator","web.dom.iterable"];const u=["es6.string.iterator",...l];t.CommonIterators=u;const p=["es6.object.to-string","es6.promise"];const f={DataView:a(["es6.typed.data-view"]),Float32Array:a(["es6.typed.float32-array"]),Float64Array:a(["es6.typed.float64-array"]),Int8Array:a(["es6.typed.int8-array"]),Int16Array:a(["es6.typed.int16-array"]),Int32Array:a(["es6.typed.int32-array"]),Map:i("map",["es6.map",...u]),Number:a(["es6.number.constructor"]),Promise:i("promise",p),RegExp:a(["es6.regexp.constructor"]),Set:i("set",["es6.set",...u]),Symbol:i("symbol",["es6.symbol"]),Uint8Array:a(["es6.typed.uint8-array"]),Uint8ClampedArray:a(["es6.typed.uint8-clamped-array"]),Uint16Array:a(["es6.typed.uint16-array"]),Uint32Array:a(["es6.typed.uint32-array"]),WeakMap:i("weak-map",["es6.weak-map",...u]),WeakSet:i("weak-set",["es6.weak-set",...u]),setImmediate:o("set-immediate","web.immediate"),clearImmediate:o("clear-immediate","web.immediate"),parseFloat:o("parse-float","es6.parse-float"),parseInt:o("parse-int","es6.parse-int")};t.BuiltIns=f;const c={__defineGetter__:a(["es7.object.define-getter"]),__defineSetter__:a(["es7.object.define-setter"]),__lookupGetter__:a(["es7.object.lookup-getter"]),__lookupSetter__:a(["es7.object.lookup-setter"]),anchor:a(["es6.string.anchor"]),big:a(["es6.string.big"]),bind:a(["es6.function.bind"]),blink:a(["es6.string.blink"]),bold:a(["es6.string.bold"]),codePointAt:a(["es6.string.code-point-at"]),copyWithin:a(["es6.array.copy-within"]),endsWith:a(["es6.string.ends-with"]),entries:a(l),every:a(["es6.array.every"]),fill:a(["es6.array.fill"]),filter:a(["es6.array.filter"]),finally:a(["es7.promise.finally",...p]),find:a(["es6.array.find"]),findIndex:a(["es6.array.find-index"]),fixed:a(["es6.string.fixed"]),flags:a(["es6.regexp.flags"]),flatMap:a(["es7.array.flat-map"]),fontcolor:a(["es6.string.fontcolor"]),fontsize:a(["es6.string.fontsize"]),forEach:a(["es6.array.for-each"]),includes:a(["es6.string.includes","es7.array.includes"]),indexOf:a(["es6.array.index-of"]),italics:a(["es6.string.italics"]),keys:a(l),lastIndexOf:a(["es6.array.last-index-of"]),link:a(["es6.string.link"]),map:a(["es6.array.map"]),match:a(["es6.regexp.match"]),name:a(["es6.function.name"]),padStart:a(["es7.string.pad-start"]),padEnd:a(["es7.string.pad-end"]),reduce:a(["es6.array.reduce"]),reduceRight:a(["es6.array.reduce-right"]),repeat:a(["es6.string.repeat"]),replace:a(["es6.regexp.replace"]),search:a(["es6.regexp.search"]),small:a(["es6.string.small"]),some:a(["es6.array.some"]),sort:a(["es6.array.sort"]),split:a(["es6.regexp.split"]),startsWith:a(["es6.string.starts-with"]),strike:a(["es6.string.strike"]),sub:a(["es6.string.sub"]),sup:a(["es6.string.sup"]),toISOString:a(["es6.date.to-iso-string"]),toJSON:a(["es6.date.to-json"]),toString:a(["es6.object.to-string","es6.date.to-string","es6.regexp.to-string"]),trim:a(["es6.string.trim"]),trimEnd:a(["es7.string.trim-right"]),trimLeft:a(["es7.string.trim-left"]),trimRight:a(["es7.string.trim-right"]),trimStart:a(["es7.string.trim-left"]),values:a(l)};t.InstanceProperties=c;if("es6.array.slice"in n.default){c.slice=a(["es6.array.slice"])}const d={Array:{from:i("array/from",["es6.symbol","es6.array.from",...u]),isArray:i("array/is-array",["es6.array.is-array"]),of:i("array/of",["es6.array.of"])},Date:{now:i("date/now",["es6.date.now"])},JSON:{stringify:o("json/stringify","es6.symbol")},Math:{acosh:i("math/acosh",["es6.math.acosh"],"7.0.1"),asinh:i("math/asinh",["es6.math.asinh"],"7.0.1"),atanh:i("math/atanh",["es6.math.atanh"],"7.0.1"),cbrt:i("math/cbrt",["es6.math.cbrt"],"7.0.1"),clz32:i("math/clz32",["es6.math.clz32"],"7.0.1"),cosh:i("math/cosh",["es6.math.cosh"],"7.0.1"),expm1:i("math/expm1",["es6.math.expm1"],"7.0.1"),fround:i("math/fround",["es6.math.fround"],"7.0.1"),hypot:i("math/hypot",["es6.math.hypot"],"7.0.1"),imul:i("math/imul",["es6.math.imul"],"7.0.1"),log1p:i("math/log1p",["es6.math.log1p"],"7.0.1"),log10:i("math/log10",["es6.math.log10"],"7.0.1"),log2:i("math/log2",["es6.math.log2"],"7.0.1"),sign:i("math/sign",["es6.math.sign"],"7.0.1"),sinh:i("math/sinh",["es6.math.sinh"],"7.0.1"),tanh:i("math/tanh",["es6.math.tanh"],"7.0.1"),trunc:i("math/trunc",["es6.math.trunc"],"7.0.1")},Number:{EPSILON:i("number/epsilon",["es6.number.epsilon"]),MIN_SAFE_INTEGER:i("number/min-safe-integer",["es6.number.min-safe-integer"]),MAX_SAFE_INTEGER:i("number/max-safe-integer",["es6.number.max-safe-integer"]),isFinite:i("number/is-finite",["es6.number.is-finite"]),isInteger:i("number/is-integer",["es6.number.is-integer"]),isSafeInteger:i("number/is-safe-integer",["es6.number.is-safe-integer"]),isNaN:i("number/is-nan",["es6.number.is-nan"]),parseFloat:i("number/parse-float",["es6.number.parse-float"]),parseInt:i("number/parse-int",["es6.number.parse-int"])},Object:{assign:i("object/assign",["es6.object.assign"]),create:i("object/create",["es6.object.create"]),defineProperties:i("object/define-properties",["es6.object.define-properties"]),defineProperty:i("object/define-property",["es6.object.define-property"]),entries:i("object/entries",["es7.object.entries"]),freeze:i("object/freeze",["es6.object.freeze"]),getOwnPropertyDescriptor:i("object/get-own-property-descriptor",["es6.object.get-own-property-descriptor"]),getOwnPropertyDescriptors:i("object/get-own-property-descriptors",["es7.object.get-own-property-descriptors"]),getOwnPropertyNames:i("object/get-own-property-names",["es6.object.get-own-property-names"]),getOwnPropertySymbols:i("object/get-own-property-symbols",["es6.symbol"]),getPrototypeOf:i("object/get-prototype-of",["es6.object.get-prototype-of"]),is:i("object/is",["es6.object.is"]),isExtensible:i("object/is-extensible",["es6.object.is-extensible"]),isFrozen:i("object/is-frozen",["es6.object.is-frozen"]),isSealed:i("object/is-sealed",["es6.object.is-sealed"]),keys:i("object/keys",["es6.object.keys"]),preventExtensions:i("object/prevent-extensions",["es6.object.prevent-extensions"]),seal:i("object/seal",["es6.object.seal"]),setPrototypeOf:i("object/set-prototype-of",["es6.object.set-prototype-of"]),values:i("object/values",["es7.object.values"])},Promise:{all:a(u),race:a(u)},Reflect:{apply:i("reflect/apply",["es6.reflect.apply"]),construct:i("reflect/construct",["es6.reflect.construct"]),defineProperty:i("reflect/define-property",["es6.reflect.define-property"]),deleteProperty:i("reflect/delete-property",["es6.reflect.delete-property"]),get:i("reflect/get",["es6.reflect.get"]),getOwnPropertyDescriptor:i("reflect/get-own-property-descriptor",["es6.reflect.get-own-property-descriptor"]),getPrototypeOf:i("reflect/get-prototype-of",["es6.reflect.get-prototype-of"]),has:i("reflect/has",["es6.reflect.has"]),isExtensible:i("reflect/is-extensible",["es6.reflect.is-extensible"]),ownKeys:i("reflect/own-keys",["es6.reflect.own-keys"]),preventExtensions:i("reflect/prevent-extensions",["es6.reflect.prevent-extensions"]),set:i("reflect/set",["es6.reflect.set"]),setPrototypeOf:i("reflect/set-prototype-of",["es6.reflect.set-prototype-of"])},String:{at:o("string/at","es7.string.at"),fromCodePoint:i("string/from-code-point",["es6.string.from-code-point"]),raw:i("string/raw",["es6.string.raw"])},Symbol:{asyncIterator:a(["es6.symbol","es7.symbol.async-iterator"]),for:o("symbol/for","es6.symbol"),hasInstance:o("symbol/has-instance","es6.symbol"),isConcatSpreadable:o("symbol/is-concat-spreadable","es6.symbol"),iterator:s("es6.symbol","symbol/iterator",u),keyFor:o("symbol/key-for","es6.symbol"),match:i("symbol/match",["es6.regexp.match"]),replace:o("symbol/replace","es6.symbol"),search:o("symbol/search","es6.symbol"),species:o("symbol/species","es6.symbol"),split:o("symbol/split","es6.symbol"),toPrimitive:o("symbol/to-primitive","es6.symbol"),toStringTag:o("symbol/to-string-tag","es6.symbol"),unscopables:o("symbol/unscopables","es6.symbol")}};t.StaticProperties=d},13654:(e,t,r)=>{"use strict";t.__esModule=true;t.hasMinVersion=hasMinVersion;var n=_interopRequireDefault(r(62519));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function hasMinVersion(e,t){if(!t||!e)return true;if(n.default.valid(t))t=`^${t}`;return!n.default.intersects(`<${e}`,t)&&!n.default.intersects(`>=8.0.0`,t)}},75356:(e,t,r)=>{"use strict";t.__esModule=true;t.default=void 0;var n=_interopRequireDefault(r(57607));var s=r(35990);var i=_interopRequireDefault(r(87178));var a=r(13654);var o=_interopRequireDefault(r(30114));var l=_interopRequireWildcard(r(66911));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const{types:u}=l.default||l;const p="#__secret_key__@babel/preset-env__compatibility";const f="#__secret_key__@babel/runtime__compatibility";const c=Function.call.bind(Object.hasOwnProperty);var d=(0,o.default)(function(e,{[p]:{entryInjectRegenerator:t}={},[f]:{useBabelRuntime:r,runtimeVersion:o,ext:l=".js"}={}}){const d=e.createMetaResolver({global:s.BuiltIns,static:s.StaticProperties,instance:s.InstanceProperties});const{debug:y,shouldInjectPolyfill:m,method:T}=e;const h=(0,i.default)(e.targets,T,n.default);const S=r?`${r}/core-js`:T==="usage-pure"?"core-js/library/fn":"core-js/modules";function inject(e,t){if(typeof e==="string"){if(c(h,e)&&m(e)){y(e);t.injectGlobalImport(`${S}/${e}.js`)}return}e.forEach(e=>inject(e,t))}function maybeInjectPure(e,t,r){const{pure:n,meta:s,name:i}=e;if(!n||!m(i))return;if(o&&s&&s.minRuntimeVersion&&!(0,a.hasMinVersion)(s&&s.minRuntimeVersion,o)){return}return r.injectDefaultImport(`${S}/${n}${l}`,t)}return{name:"corejs2",polyfills:h,entryGlobal(e,r,n){if(e.kind==="import"&&e.source==="core-js"){y(null);inject(Object.keys(h),r);if(t){r.injectGlobalImport("regenerator-runtime/runtime.js")}n.remove()}},usageGlobal(e,t){const r=d(e);if(!r)return;let n=r.desc.global;if(r.kind!=="global"&&e.object&&e.placement==="prototype"){const t=e.object.toLowerCase();n=n.filter(e=>e.includes(t))}inject(n,t)},usagePure(e,t,r){if(e.kind==="in"){if(e.key==="Symbol.iterator"){r.replaceWith(u.callExpression(t.injectDefaultImport(`${S}/is-iterable${l}`,"isIterable"),[r.node.right]))}return}if(r.parentPath.isUnaryExpression({operator:"delete"}))return;if(e.kind==="property"){if(!r.isMemberExpression())return;if(!r.isReferenced())return;if(e.key==="Symbol.iterator"&&m("es6.symbol")&&r.parentPath.isCallExpression({callee:r.node})&&r.parent.arguments.length===0){r.parentPath.replaceWith(u.callExpression(t.injectDefaultImport(`${S}/get-iterator${l}`,"getIterator"),[r.node.object]));r.skip();return}}const n=d(e);if(!n)return;const s=maybeInjectPure(n.desc,n.name,t);if(s)r.replaceWith(s)},visitor:T==="usage-global"&&{YieldExpression(t){if(t.node.delegate){inject("web.dom.iterable",e.getUtils(t))}},"ForOfStatement|ArrayPattern"(t){s.CommonIterators.forEach(r=>inject(r,e.getUtils(t)))}}}});t.default=d},61018:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var n=r(36860);let s=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const i=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const s=Object.assign({},n,e.end);const{linesAbove:i=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const u=s.line;const p=s.column;let f=Math.max(o-(i+1),0);let c=Math.min(t.length,u+a);if(o===-1){f=0}if(u===-1){c=t.length}const d=u-o;const y={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){y[r]=true}else if(e===0){const e=t[r-1].length;y[r]=[l,e-l+1]}else if(e===d){y[r]=[0,p]}else{const n=t[r-e].length;y[r]=[0,n]}}}else{if(l===p){if(l){y[o]=[l,0]}else{y[o]=true}}else{y[o]=[l,p-l]}}return{start:f,end:c,markerLines:y}}function codeFrameColumns(e,t,r={}){const s=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const a=(0,n.getChalk)(r);const o=getDefs(a);const l=(e,t)=>{return s?e(t):t};const u=e.split(i);const{start:p,end:f,markerLines:c}=getMarkerLines(t,u,r);const d=t.start&&typeof t.start.column==="number";const y=String(f).length;const m=s?(0,n.default)(e,r):e;let T=m.split(i).slice(p,f).map((e,t)=>{const n=p+1+t;const s=` ${n}`.slice(-y);const i=` ${s} |`;const a=c[n];const u=!c[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const s=a[1]||1;t=["\n ",l(o.gutter,i.replace(/\d/g," "))," ",n,l(o.marker,"^").repeat(s)].join("");if(u&&r.message){t+=" "+l(o.message,r.message)}}return[l(o.marker,">"),l(o.gutter,i),e.length>0?` ${e}`:"",t].join("")}else{return` ${l(o.gutter,i)}${e.length>0?` ${e}`:""}`}}).join("\n");if(r.message&&!d){T=`${" ".repeat(y+1)}${r.message}\n${T}`}if(s){return a.reset(T)}else{return T}}function _default(e,t,r,n={}){if(!s){s=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const i={start:{column:r,line:t}};return codeFrameColumns(e,i,n)}},57607:(e,t,r)=>{e.exports=r(73889)},40830:(e,t,r)=>{e.exports=r(66059)},81513:(e,t,r)=>{e.exports=r(38209)},20541:()=>{},18097:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeWeakCache=makeWeakCache;t.makeWeakCacheSync=makeWeakCacheSync;t.makeStrongCache=makeStrongCache;t.makeStrongCacheSync=makeStrongCacheSync;t.assertSimpleType=assertSimpleType;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(77805);var s=r(45079);const i=e=>{return _gensync()(e).sync};function*genTrue(){return true}function makeWeakCache(e){return makeCachedFunction(WeakMap,e)}function makeWeakCacheSync(e){return i(makeWeakCache(e))}function makeStrongCache(e){return makeCachedFunction(Map,e)}function makeStrongCacheSync(e){return i(makeStrongCache(e))}function makeCachedFunction(e,t){const r=new e;const i=new e;const a=new e;return function*cachedFunction(e,o){const l=yield*(0,n.isAsync)();const u=l?i:r;const p=yield*getCachedValueOrWait(l,u,a,e,o);if(p.valid)return p.value;const f=new CacheConfigurator(o);const c=t(e,f);let d;let y;if((0,s.isIterableIterator)(c)){const t=c;y=yield*(0,n.onFirstPause)(t,()=>{d=setupAsyncLocks(f,a,e)})}else{y=c}updateFunctionCache(u,f,e,y);if(d){a.delete(e);d.release(y)}return y}}function*getCachedValue(e,t,r){const n=e.get(t);if(n){for(const{value:e,valid:t}of n){if(yield*t(r))return{valid:true,value:e}}}return{valid:false,value:null}}function*getCachedValueOrWait(e,t,r,s,i){const a=yield*getCachedValue(t,s,i);if(a.valid){return a}if(e){const e=yield*getCachedValue(r,s,i);if(e.valid){const t=yield*(0,n.waitFor)(e.value.promise);return{valid:true,value:t}}}return{valid:false,value:null}}function setupAsyncLocks(e,t,r){const n=new Lock;updateFunctionCache(t,e,r,n);return n}function updateFunctionCache(e,t,r,n){if(!t.configured())t.forever();let s=e.get(r);t.deactivate();switch(t.mode()){case"forever":s=[{value:n,valid:genTrue}];e.set(r,s);break;case"invalidate":s=[{value:n,valid:t.validator()}];e.set(r,s);break;case"valid":if(s){s.push({value:n,valid:t.validator()})}else{s=[{value:n,valid:t.validator()}];e.set(r,s)}}}class CacheConfigurator{constructor(e){this._active=true;this._never=false;this._forever=false;this._invalidate=false;this._configured=false;this._pairs=[];this._data=void 0;this._data=e}simple(){return makeSimpleConfigurator(this)}mode(){if(this._never)return"never";if(this._forever)return"forever";if(this._invalidate)return"invalidate";return"valid"}forever(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never){throw new Error("Caching has already been configured with .never()")}this._forever=true;this._configured=true}never(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._forever){throw new Error("Caching has already been configured with .forever()")}this._never=true;this._configured=true}using(e){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never||this._forever){throw new Error("Caching has already been configured with .never or .forever()")}this._configured=true;const t=e(this._data);const r=(0,n.maybeAsync)(e,`You appear to be using an async cache handler, but Babel has been called synchronously`);if((0,n.isThenable)(t)){return t.then(e=>{this._pairs.push([e,r]);return e})}this._pairs.push([t,r]);return t}invalidate(e){this._invalidate=true;return this.using(e)}validator(){const e=this._pairs;return function*(t){for(const[r,n]of e){if(r!==(yield*n(t)))return false}return true}}deactivate(){this._active=false}configured(){return this._configured}}function makeSimpleConfigurator(e){function cacheFn(t){if(typeof t==="boolean"){if(t)e.forever();else e.never();return}return e.using(()=>assertSimpleType(t()))}cacheFn.forever=(()=>e.forever());cacheFn.never=(()=>e.never());cacheFn.using=(t=>e.using(()=>assertSimpleType(t())));cacheFn.invalidate=(t=>e.invalidate(()=>assertSimpleType(t())));return cacheFn}function assertSimpleType(e){if((0,n.isThenable)(e)){throw new Error(`You appear to be using an async cache handler, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously handle your caching logic.`)}if(e!=null&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"){throw new Error("Cache keys must be either string, boolean, number, null, or undefined.")}return e}class Lock{constructor(){this.released=false;this.promise=void 0;this._resolve=void 0;this.promise=new Promise(e=>{this._resolve=e})}release(e){this.released=true;this._resolve(e)}}},75894:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPresetChain=buildPresetChain;t.buildRootChain=buildRootChain;t.buildPresetChainWalker=void 0;function _path(){const e=r(85622);_path=function(){return e};return e}function _debug(){const e=r(31185);_debug=function(){return e};return e}var n=r(54880);var s=r(48223);var i=r(31758);var a=r(22426);var o=r(18097);var l=r(49890);const u=_debug()("babel:config:config-chain");function*buildPresetChain(e,t){const r=yield*p(e,t);if(!r)return null;return{plugins:dedupDescriptors(r.plugins),presets:dedupDescriptors(r.presets),options:r.options.map(e=>normalizeOptions(e)),files:new Set}}const p=makeChainWalker({root:e=>f(e),env:(e,t)=>c(e)(t),overrides:(e,t)=>d(e)(t),overridesEnv:(e,t,r)=>y(e)(t)(r),createLogger:()=>()=>{}});t.buildPresetChainWalker=p;const f=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.alias,l.createUncachedDescriptors));const c=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const d=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const y=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(r=>buildOverrideEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t,r))));function*buildRootChain(e,t){let r,n;const s=new i.ConfigPrinter;const o=yield*S({options:e,dirname:t.cwd},t,undefined,s);if(!o)return null;const l=yield*s.output();let u;if(typeof e.configFile==="string"){u=yield*(0,a.loadConfig)(e.configFile,t.cwd,t.envName,t.caller)}else if(e.configFile!==false){u=yield*(0,a.findRootConfig)(t.root,t.envName,t.caller)}let{babelrc:p,babelrcRoots:f}=e;let c=t.cwd;const d=emptyChain();const y=new i.ConfigPrinter;if(u){const e=m(u);const n=yield*loadFileChain(e,t,undefined,y);if(!n)return null;r=yield*y.output();if(p===undefined){p=e.options.babelrc}if(f===undefined){c=e.dirname;f=e.options.babelrcRoots}mergeChain(d,n)}let h,b;let E=false;const g=emptyChain();if((p===true||p===undefined)&&typeof t.filename==="string"){const e=yield*(0,a.findPackageData)(t.filename);if(e&&babelrcLoadEnabled(t,e,f,c)){({ignore:h,config:b}=yield*(0,a.findRelativeConfig)(e,t.envName,t.caller));if(h){g.files.add(h.filepath)}if(h&&shouldIgnore(t,h.ignore,null,h.dirname)){E=true}if(b&&!E){const e=T(b);const r=new i.ConfigPrinter;const s=yield*loadFileChain(e,t,undefined,r);if(!s){E=true}else{n=yield*r.output();mergeChain(g,s)}}if(b&&E){g.files.add(b.filepath)}}}if(t.showConfig){console.log(`Babel configs on "${t.filename}" (ascending priority):\n`+[r,n,l].filter(e=>!!e).join("\n\n")+"\n-----End Babel configs-----")}const P=mergeChain(mergeChain(mergeChain(emptyChain(),d),g),o);return{plugins:E?[]:dedupDescriptors(P.plugins),presets:E?[]:dedupDescriptors(P.presets),options:E?[]:P.options.map(e=>normalizeOptions(e)),fileHandling:E?"ignored":"transpile",ignore:h||undefined,babelrc:b||undefined,config:u||undefined,files:P.files}}function babelrcLoadEnabled(e,t,r,n){if(typeof r==="boolean")return r;const i=e.root;if(r===undefined){return t.directories.indexOf(i)!==-1}let a=r;if(!Array.isArray(a)){a=[a]}a=a.map(e=>{return typeof e==="string"?_path().resolve(n,e):e});if(a.length===1&&a[0]===i){return t.directories.indexOf(i)!==-1}return a.some(r=>{if(typeof r==="string"){r=(0,s.default)(r,n)}return t.directories.some(t=>{return matchPattern(r,n,t,e)})})}const m=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("configfile",e.options)}));const T=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("babelrcfile",e.options)}));const h=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("extendsfile",e.options)}));const S=makeChainWalker({root:e=>buildRootDescriptors(e,"base",l.createCachedDescriptors),env:(e,t)=>buildEnvDescriptors(e,"base",l.createCachedDescriptors,t),overrides:(e,t)=>buildOverrideDescriptors(e,"base",l.createCachedDescriptors,t),overridesEnv:(e,t,r)=>buildOverrideEnvDescriptors(e,"base",l.createCachedDescriptors,t,r),createLogger:(e,t,r)=>buildProgrammaticLogger(e,t,r)});const b=makeChainWalker({root:e=>E(e),env:(e,t)=>g(e)(t),overrides:(e,t)=>P(e)(t),overridesEnv:(e,t,r)=>x(e)(t)(r),createLogger:(e,t,r)=>buildFileLogger(e.filepath,t,r)});function*loadFileChain(e,t,r,n){const s=yield*b(e,t,r,n);if(s){s.files.add(e.filepath)}return s}const E=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.filepath,l.createUncachedDescriptors));const g=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const P=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const x=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(r=>buildOverrideEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t,r))));function buildFileLogger(e,t,r){if(!r){return()=>{}}return r.configure(t.showConfig,i.ChainFormatter.Config,{filepath:e})}function buildRootDescriptors({dirname:e,options:t},r,n){return n(e,t,r)}function buildProgrammaticLogger(e,t,r){var n;if(!r){return()=>{}}return r.configure(t.showConfig,i.ChainFormatter.Programmatic,{callerName:(n=t.caller)==null?void 0:n.name})}function buildEnvDescriptors({dirname:e,options:t},r,n,s){const i=t.env&&t.env[s];return i?n(e,i,`${r}.env["${s}"]`):null}function buildOverrideDescriptors({dirname:e,options:t},r,n,s){const i=t.overrides&&t.overrides[s];if(!i)throw new Error("Assertion failure - missing override");return n(e,i,`${r}.overrides[${s}]`)}function buildOverrideEnvDescriptors({dirname:e,options:t},r,n,s,i){const a=t.overrides&&t.overrides[s];if(!a)throw new Error("Assertion failure - missing override");const o=a.env&&a.env[i];return o?n(e,o,`${r}.overrides[${s}].env["${i}"]`):null}function makeChainWalker({root:e,env:t,overrides:r,overridesEnv:n,createLogger:s}){return function*(i,a,o=new Set,l){const{dirname:u}=i;const p=[];const f=e(i);if(configIsApplicable(f,u,a)){p.push({config:f,envName:undefined,index:undefined});const e=t(i,a.envName);if(e&&configIsApplicable(e,u,a)){p.push({config:e,envName:a.envName,index:undefined})}(f.options.overrides||[]).forEach((e,t)=>{const s=r(i,t);if(configIsApplicable(s,u,a)){p.push({config:s,index:t,envName:undefined});const e=n(i,t,a.envName);if(e&&configIsApplicable(e,u,a)){p.push({config:e,index:t,envName:a.envName})}}})}if(p.some(({config:{options:{ignore:e,only:t}}})=>shouldIgnore(a,e,t,u))){return null}const c=emptyChain();const d=s(i,a,l);for(const{config:e,index:t,envName:r}of p){if(!(yield*mergeExtendsChain(c,e.options,u,a,o,l))){return null}d(e,t,r);yield*mergeChainOpts(c,e)}return c}}function*mergeExtendsChain(e,t,r,n,s,i){if(t.extends===undefined)return true;const o=yield*(0,a.loadConfig)(t.extends,r,n.envName,n.caller);if(s.has(o)){throw new Error(`Configuration cycle detected loading ${o.filepath}.\n`+`File already loaded following the config chain:\n`+Array.from(s,e=>` - ${e.filepath}`).join("\n"))}s.add(o);const l=yield*loadFileChain(h(o),n,s,i);s.delete(o);if(!l)return false;mergeChain(e,l);return true}function mergeChain(e,t){e.options.push(...t.options);e.plugins.push(...t.plugins);e.presets.push(...t.presets);for(const r of t.files){e.files.add(r)}return e}function*mergeChainOpts(e,{options:t,plugins:r,presets:n}){e.options.push(t);e.plugins.push(...yield*r());e.presets.push(...yield*n());return e}function emptyChain(){return{options:[],presets:[],plugins:[],files:new Set}}function normalizeOptions(e){const t=Object.assign({},e);delete t.extends;delete t.env;delete t.overrides;delete t.plugins;delete t.presets;delete t.passPerPreset;delete t.ignore;delete t.only;delete t.test;delete t.include;delete t.exclude;if(Object.prototype.hasOwnProperty.call(t,"sourceMap")){t.sourceMaps=t.sourceMap;delete t.sourceMap}return t}function dedupDescriptors(e){const t=new Map;const r=[];for(const n of e){if(typeof n.value==="function"){const e=n.value;let s=t.get(e);if(!s){s=new Map;t.set(e,s)}let i=s.get(n.name);if(!i){i={value:n};r.push(i);if(!n.ownPass)s.set(n.name,i)}else{i.value=n}}else{r.push({value:n})}}return r.reduce((e,t)=>{e.push(t.value);return e},[])}function configIsApplicable({options:e},t,r){return(e.test===undefined||configFieldIsApplicable(r,e.test,t))&&(e.include===undefined||configFieldIsApplicable(r,e.include,t))&&(e.exclude===undefined||!configFieldIsApplicable(r,e.exclude,t))}function configFieldIsApplicable(e,t,r){const n=Array.isArray(t)?t:[t];return matchesPatterns(e,n,r)}function shouldIgnore(e,t,r,n){if(t&&matchesPatterns(e,t,n)){var s;const r=`No config is applied to "${(s=e.filename)!=null?s:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(t)}\` from "${n}"`;u(r);if(e.showConfig){console.log(r)}return true}if(r&&!matchesPatterns(e,r,n)){var i;const t=`No config is applied to "${(i=e.filename)!=null?i:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(r)}\` from "${n}"`;u(t);if(e.showConfig){console.log(t)}return true}return false}function matchesPatterns(e,t,r){return t.some(t=>matchPattern(t,r,e.filename,e))}function matchPattern(e,t,r,n){if(typeof e==="function"){return!!e(r,{dirname:t,envName:n.envName,caller:n.caller})}if(typeof r!=="string"){throw new Error(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`)}if(typeof e==="string"){e=(0,s.default)(e,t)}return e.test(r)}},49890:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createCachedDescriptors=createCachedDescriptors;t.createUncachedDescriptors=createUncachedDescriptors;t.createDescriptor=createDescriptor;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(22426);var s=r(19809);var i=r(18097);var a=r(88020);function isEqualDescriptor(e,t){return e.name===t.name&&e.value===t.value&&e.options===t.options&&e.dirname===t.dirname&&e.alias===t.alias&&e.ownPass===t.ownPass&&(e.file&&e.file.request)===(t.file&&t.file.request)&&(e.file&&e.file.resolved)===(t.file&&t.file.resolved)}function*handlerOf(e){return e}function optionsWithResolvedBrowserslistConfigFile(e,t){if(typeof e.browserslistConfigFile==="string"){e.browserslistConfigFile=(0,a.resolveBrowserslistConfigFile)(e.browserslistConfigFile,t)}return e}function createCachedDescriptors(e,t,r){const{plugins:n,presets:s,passPerPreset:i}=t;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),plugins:n?()=>p(n,e)(r):()=>handlerOf([]),presets:s?()=>l(s,e)(r)(!!i):()=>handlerOf([])}}function createUncachedDescriptors(e,t,r){let n;let s;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),*plugins(){if(!n){n=yield*createPluginDescriptors(t.plugins||[],e,r)}return n},*presets(){if(!s){s=yield*createPresetDescriptors(t.presets||[],e,r,!!t.passPerPreset)}return s}}}const o=new WeakMap;const l=(0,i.makeWeakCacheSync)((e,t)=>{const r=t.using(e=>e);return(0,i.makeStrongCacheSync)(t=>(0,i.makeStrongCache)(function*(n){const s=yield*createPresetDescriptors(e,r,t,n);return s.map(e=>loadCachedDescriptor(o,e))}))});const u=new WeakMap;const p=(0,i.makeWeakCacheSync)((e,t)=>{const r=t.using(e=>e);return(0,i.makeStrongCache)(function*(t){const n=yield*createPluginDescriptors(e,r,t);return n.map(e=>loadCachedDescriptor(u,e))})});const f={};function loadCachedDescriptor(e,t){const{value:r,options:n=f}=t;if(n===false)return t;let s=e.get(r);if(!s){s=new WeakMap;e.set(r,s)}let i=s.get(n);if(!i){i=[];s.set(n,i)}if(i.indexOf(t)===-1){const e=i.filter(e=>isEqualDescriptor(e,t));if(e.length>0){return e[0]}i.push(t)}return t}function*createPresetDescriptors(e,t,r,n){return yield*createDescriptors("preset",e,t,r,n)}function*createPluginDescriptors(e,t,r){return yield*createDescriptors("plugin",e,t,r)}function*createDescriptors(e,t,r,n,s){const i=yield*_gensync().all(t.map((t,i)=>createDescriptor(t,r,{type:e,alias:`${n}$${i}`,ownPass:!!s})));assertNoDuplicates(i);return i}function*createDescriptor(e,t,{type:r,alias:i,ownPass:a}){const o=(0,s.getItemDescriptor)(e);if(o){return o}let l;let u;let p=e;if(Array.isArray(p)){if(p.length===3){[p,u,l]=p}else{[p,u]=p}}let f=undefined;let c=null;if(typeof p==="string"){if(typeof r!=="string"){throw new Error("To resolve a string-based item, the type of item must be given")}const e=r==="plugin"?n.loadPlugin:n.loadPreset;const s=p;({filepath:c,value:p}=yield*e(p,t));f={request:s,resolved:c}}if(!p){throw new Error(`Unexpected falsy value: ${String(p)}`)}if(typeof p==="object"&&p.__esModule){if(p.default){p=p.default}else{throw new Error("Must export a default export when using ES6 modules.")}}if(typeof p!=="object"&&typeof p!=="function"){throw new Error(`Unsupported format: ${typeof p}. Expected an object or a function.`)}if(c!==null&&typeof p==="object"&&p){throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${c}`)}return{name:l,alias:c||i,value:p,options:u,dirname:t,ownPass:a,file:f}}function assertNoDuplicates(e){const t=new Map;for(const r of e){if(typeof r.value!=="function")continue;let n=t.get(r.value);if(!n){n=new Set;t.set(r.value,n)}if(n.has(r.name)){const t=e.filter(e=>e.value===r.value);throw new Error([`Duplicate plugin/preset detected.`,`If you'd like to use two separate instances of a plugin,`,`they need separate names, e.g.`,``,` plugins: [`,` ['some-plugin', {}],`,` ['some-plugin', {}, 'some unique name'],`,` ]`,``,`Duplicates detected are:`,`${JSON.stringify(t,null,2)}`].join("\n"))}n.add(r.name)}}},95676:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findConfigUpwards=findConfigUpwards;t.findRelativeConfig=findRelativeConfig;t.findRootConfig=findRootConfig;t.loadConfig=loadConfig;t.resolveShowConfigPath=resolveShowConfigPath;t.ROOT_CONFIG_FILENAMES=void 0;function _debug(){const e=r(31185);_debug=function(){return e};return e}function _fs(){const e=r(35747);_fs=function(){return e};return e}function _path(){const e=r(85622);_path=function(){return e};return e}function _json(){const e=r(33170);_json=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(18097);var s=r(45842);var i=r(62383);var a=r(34423);var o=r(48223);var l=r(7901);function _module(){const e=r(32282);_module=function(){return e};return e}const u=_debug()("babel:config:loading:files:configuration");const p=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json"];t.ROOT_CONFIG_FILENAMES=p;const f=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json"];const c=".babelignore";function findConfigUpwards(e){let t=e;for(;;){for(const e of p){if(_fs().existsSync(_path().join(t,e))){return t}}const e=_path().dirname(t);if(t===e)break;t=e}return null}function*findRelativeConfig(e,t,r){let n=null;let s=null;const i=_path().dirname(e.filepath);for(const o of e.directories){if(!n){var a;n=yield*loadOneConfig(f,o,t,r,((a=e.pkg)==null?void 0:a.dirname)===o?m(e.pkg):null)}if(!s){const e=_path().join(o,c);s=yield*h(e);if(s){u("Found ignore %o from %o.",s.filepath,i)}}}return{config:n,ignore:s}}function findRootConfig(e,t,r){return loadOneConfig(p,e,t,r)}function*loadOneConfig(e,t,r,n,s=null){const i=yield*_gensync().all(e.map(e=>readConfig(_path().join(t,e),r,n)));const a=i.reduce((e,r)=>{if(r&&e){throw new Error(`Multiple configuration files found. Please remove one:\n`+` - ${_path().basename(e.filepath)}\n`+` - ${r.filepath}\n`+`from ${t}`)}return r||e},s);if(a){u("Found configuration %o from %o.",a.filepath,t)}return a}function*loadConfig(e,t,n,s){const i=(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(e,{paths:[t]});const a=yield*readConfig(i,n,s);if(!a){throw new Error(`Config file ${i} contains no configuration data`)}u("Loaded config %o from %o.",e,t);return a}function readConfig(e,t,r){const n=_path().extname(e);return n===".js"||n===".cjs"||n===".mjs"?y(e,{envName:t,caller:r}):T(e)}const d=new Set;const y=(0,n.makeStrongCache)(function*readConfigJS(e,t){if(!_fs().existsSync(e)){t.never();return null}if(d.has(e)){t.never();u("Auto-ignoring usage of config %o.",e);return{filepath:e,dirname:_path().dirname(e),options:{}}}let r;try{d.add(e);r=yield*(0,a.default)(e,"You appear to be using a native ECMAScript module configuration "+"file, which is only supported when running Babel asynchronously.")}catch(t){t.message=`${e}: Error while loading config - ${t.message}`;throw t}finally{d.delete(e)}let n=false;if(typeof r==="function"){yield*[];r=r((0,s.makeConfigAPI)(t));n=true}if(!r||typeof r!=="object"||Array.isArray(r)){throw new Error(`${e}: Configuration should be an exported JavaScript object.`)}if(typeof r.then==="function"){throw new Error(`You appear to be using an async configuration, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously return your config.`)}if(n&&!t.configured())throwConfigError();return{filepath:e,dirname:_path().dirname(e),options:r}});const m=(0,n.makeWeakCacheSync)(e=>{const t=e.options["babel"];if(typeof t==="undefined")return null;if(typeof t!=="object"||Array.isArray(t)||t===null){throw new Error(`${e.filepath}: .babel property must be an object`)}return{filepath:e.filepath,dirname:e.dirname,options:t}});const T=(0,i.makeStaticFileCache)((e,t)=>{let r;try{r=_json().parse(t)}catch(t){t.message=`${e}: Error while parsing config - ${t.message}`;throw t}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new Error(`${e}: Config returned typeof ${typeof r}`)}if(Array.isArray(r)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:r}});const h=(0,i.makeStaticFileCache)((e,t)=>{const r=_path().dirname(e);const n=t.split("\n").map(e=>e.replace(/#(.*?)$/,"").trim()).filter(e=>!!e);for(const e of n){if(e[0]==="!"){throw new Error(`Negation of file paths is not supported.`)}}return{filepath:e,dirname:_path().dirname(e),ignore:n.map(e=>(0,o.default)(e,r))}});function*resolveShowConfigPath(e){const t=process.env.BABEL_SHOW_CONFIG_FOR;if(t!=null){const r=_path().resolve(e,t);const n=yield*l.stat(r);if(!n.isFile()){throw new Error(`${r}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`)}return r}return null}function throwConfigError(){throw new Error(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don't call this function again.\n api.cache(true);\n\n // Don't cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === "production");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};`)}},1542:(e,t,r)=>{"use strict";var n;n={value:true};t.Z=import_;function import_(e){return r(78046)(e)}},22426:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"findPackageData",{enumerable:true,get:function(){return n.findPackageData}});Object.defineProperty(t,"findConfigUpwards",{enumerable:true,get:function(){return s.findConfigUpwards}});Object.defineProperty(t,"findRelativeConfig",{enumerable:true,get:function(){return s.findRelativeConfig}});Object.defineProperty(t,"findRootConfig",{enumerable:true,get:function(){return s.findRootConfig}});Object.defineProperty(t,"loadConfig",{enumerable:true,get:function(){return s.loadConfig}});Object.defineProperty(t,"resolveShowConfigPath",{enumerable:true,get:function(){return s.resolveShowConfigPath}});Object.defineProperty(t,"ROOT_CONFIG_FILENAMES",{enumerable:true,get:function(){return s.ROOT_CONFIG_FILENAMES}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return i.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return i.resolvePreset}});Object.defineProperty(t,"loadPlugin",{enumerable:true,get:function(){return i.loadPlugin}});Object.defineProperty(t,"loadPreset",{enumerable:true,get:function(){return i.loadPreset}});var n=r(68128);var s=r(95676);var i=r(35537);({})},34423:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadCjsOrMjsDefault;var n=r(77805);function _path(){const e=r(85622);_path=function(){return e};return e}function _url(){const e=r(78835);_url=function(){return e};return e}function _module(){const e=r(32282);_module=function(){return e};return e}function asyncGeneratorStep(e,t,r,n,s,i,a){try{var o=e[i](a);var l=o.value}catch(e){r(e);return}if(o.done){t(l)}else{Promise.resolve(l).then(n,s)}}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise(function(n,s){var i=e.apply(t,r);function _next(e){asyncGeneratorStep(i,n,s,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(i,n,s,_next,_throw,"throw",e)}_next(undefined)})}}let s;try{s=r(1542).Z}catch(e){}function*loadCjsOrMjsDefault(e,t,r=false){switch(guessJSModuleType(e)){case"cjs":return loadCjsDefault(e,r);case"unknown":try{return loadCjsDefault(e,r)}catch(e){if(e.code!=="ERR_REQUIRE_ESM")throw e}case"mjs":if(yield*(0,n.isAsync)()){return yield*(0,n.waitFor)(loadMjsDefault(e))}throw new Error(t)}}function guessJSModuleType(e){switch(_path().extname(e)){case".cjs":return"cjs";case".mjs":return"mjs";default:return"unknown"}}function loadCjsDefault(e,t){const r=require(e);return r!=null&&r.__esModule?r.default||(t?r:undefined):r}function loadMjsDefault(e){return _loadMjsDefault.apply(this,arguments)}function _loadMjsDefault(){_loadMjsDefault=_asyncToGenerator(function*(e){if(!s){throw new Error("Internal error: Native ECMAScript modules aren't supported"+" by this platform.\n")}const t=yield s((0,_url().pathToFileURL)(e));return t.default});return _loadMjsDefault.apply(this,arguments)}},68128:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findPackageData=findPackageData;function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(62383);const s="package.json";function*findPackageData(e){let t=null;const r=[];let n=true;let a=_path().dirname(e);while(!t&&_path().basename(a)!=="node_modules"){r.push(a);t=yield*i(_path().join(a,s));const e=_path().dirname(a);if(a===e){n=false;break}a=e}return{filepath:e,directories:r,pkg:t,isPackage:n}}const i=(0,n.makeStaticFileCache)((e,t)=>{let r;try{r=JSON.parse(t)}catch(t){t.message=`${e}: Error while parsing JSON - ${t.message}`;throw t}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new Error(`${e}: Config returned typeof ${typeof r}`)}if(Array.isArray(r)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:r}})},35537:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolvePlugin=resolvePlugin;t.resolvePreset=resolvePreset;t.loadPlugin=loadPlugin;t.loadPreset=loadPreset;function _debug(){const e=r(31185);_debug=function(){return e};return e}function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(34423);function _module(){const e=r(32282);_module=function(){return e};return e}const s=_debug()("babel:config:loading:files:plugins");const i=/^module:/;const a=/^(?!@|module:|[^/]+\/|babel-plugin-)/;const o=/^(?!@|module:|[^/]+\/|babel-preset-)/;const l=/^(@babel\/)(?!plugin-|[^/]+\/)/;const u=/^(@babel\/)(?!preset-|[^/]+\/)/;const p=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/;const f=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/;const c=/^(@(?!babel$)[^/]+)$/;function resolvePlugin(e,t){return resolveStandardizedName("plugin",e,t)}function resolvePreset(e,t){return resolveStandardizedName("preset",e,t)}function*loadPlugin(e,t){const r=resolvePlugin(e,t);if(!r){throw new Error(`Plugin ${e} not found relative to ${t}`)}const n=yield*requireModule("plugin",r);s("Loaded plugin %o from %o.",e,t);return{filepath:r,value:n}}function*loadPreset(e,t){const r=resolvePreset(e,t);if(!r){throw new Error(`Preset ${e} not found relative to ${t}`)}const n=yield*requireModule("preset",r);s("Loaded preset %o from %o.",e,t);return{filepath:r,value:n}}function standardizeName(e,t){if(_path().isAbsolute(t))return t;const r=e==="preset";return t.replace(r?o:a,`babel-${e}-`).replace(r?u:l,`$1${e}-`).replace(r?f:p,`$1babel-${e}-`).replace(c,`$1/babel-${e}`).replace(i,"")}function resolveStandardizedName(e,t,n=process.cwd()){const s=standardizeName(e,t);try{return(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(s,{paths:[n]})}catch(i){if(i.code!=="MODULE_NOT_FOUND")throw i;if(s!==t){let e=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(t,{paths:[n]});e=true}catch(e){}if(e){i.message+=`\n- If you want to resolve "${t}", use "module:${t}"`}}let a=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(standardizeName(e,"@babel/"+t),{paths:[n]});a=true}catch(e){}if(a){i.message+=`\n- Did you mean "@babel/${t}"?`}let o=false;const l=e==="preset"?"plugin":"preset";try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(standardizeName(l,t),{paths:[n]});o=true}catch(e){}if(o){i.message+=`\n- Did you accidentally pass a ${l} as a ${e}?`}throw i}}const d=new Set;function*requireModule(e,t){if(d.has(t)){throw new Error(`Reentrant ${e} detected trying to load "${t}". This module is not ignored `+"and is trying to load itself while compiling itself, leading to a dependency cycle. "+'We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.')}try{d.add(t);return yield*(0,n.default)(t,`You appear to be using a native ECMAScript module ${e}, `+"which is only supported when running Babel asynchronously.",true)}catch(e){e.message=`[BABEL]: ${e.message} (While processing: ${t})`;throw e}finally{d.delete(t)}}},62383:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeStaticFileCache=makeStaticFileCache;var n=r(18097);var s=r(7901);function _fs2(){const e=r(35747);_fs2=function(){return e};return e}function makeStaticFileCache(e){return(0,n.makeStrongCache)(function*(t,r){const n=r.invalidate(()=>fileMtime(t));if(n===null){return null}return e(t,yield*s.readFile(t,"utf8"))})}function fileMtime(e){if(!_fs2().existsSync(e))return null;try{return+_fs2().statSync(e).mtime}catch(e){if(e.code!=="ENOENT"&&e.code!=="ENOTDIR")throw e}return null}},48929:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(77805);var s=r(45079);var i=r(66911);var a=r(30681);var o=r(19809);var l=r(75894);function _traverse(){const e=r(4267);_traverse=function(){return e};return e}var u=r(18097);var p=r(54880);var f=r(33261);var c=r(45842);var d=r(68520);var y=r(20541);var m=_gensync()(function*loadFullConfig(e){var t;const r=yield*(0,d.default)(e);if(!r){return null}const{options:n,context:i,fileHandling:a}=r;if(a==="ignored"){return null}const l={};const{plugins:u,presets:f}=n;if(!u||!f){throw new Error("Assertion failure - plugins and presets exist")}const c=Object.assign({},i,{targets:n.targets});const y=e=>{const t=(0,o.getItemDescriptor)(e);if(!t){throw new Error("Assertion failure - must be config item")}return t};const m=f.map(y);const T=u.map(y);const h=[[]];const S=[];const b=yield*enhanceError(i,function*recursePresetDescriptors(e,t){const r=[];for(let n=0;n0){h.splice(1,0,...r.map(e=>e.pass).filter(e=>e!==t));for(const{preset:e,pass:t}of r){if(!e)return true;t.push(...e.plugins);const r=yield*recursePresetDescriptors(e.presets,t);if(r)return true;e.options.forEach(e=>{(0,s.mergeOptions)(l,e)})}}})(m,h[0]);if(b)return null;const E=l;(0,s.mergeOptions)(E,n);const g=Object.assign({},c,{assumptions:(t=E.assumptions)!=null?t:{}});yield*enhanceError(i,function*loadPluginDescriptors(){h[0].unshift(...T);for(const e of h){const t=[];S.push(t);for(let r=0;re.length>0).map(e=>({plugins:e}));E.passPerPreset=E.presets.length>0;return{options:E,passes:S}});t.default=m;function enhanceError(e,t){return function*(r,n){try{return yield*t(r,n)}catch(t){if(!/^\[BABEL\]/.test(t.message)){t.message=`[BABEL] ${e.filename||"unknown"}: ${t.message}`}throw t}}}const T=e=>(0,u.makeWeakCache)(function*({value:t,options:r,dirname:s,alias:a},o){if(r===false)throw new Error("Assertion failure");r=r||{};let l=t;if(typeof t==="function"){const u=(0,n.maybeAsync)(t,`You appear to be using an async plugin/preset, but Babel has been called synchronously`);const p=Object.assign({},i,e(o));try{l=yield*u(p,r,s)}catch(e){if(a){e.message+=` (While processing: ${JSON.stringify(a)})`}throw e}}if(!l||typeof l!=="object"){throw new Error("Plugin/Preset did not return an object.")}if((0,n.isThenable)(l)){yield*[];throw new Error(`You appear to be using a promise as a plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version. `+`As an alternative, you can prefix the promise with "await". `+`(While processing: ${JSON.stringify(a)})`)}return{value:l,options:r,dirname:s,alias:a}});const h=T(c.makePluginAPI);const S=T(c.makePresetAPI);function*loadPluginDescriptor(e,t){if(e.value instanceof a.default){if(e.options){throw new Error("Passed options to an existing Plugin instance will not work.")}return e.value}return yield*b(yield*h(e,t),t)}const b=(0,u.makeWeakCache)(function*({value:e,options:t,dirname:r,alias:s},i){const o=(0,f.validatePluginObject)(e);const l=Object.assign({},o);if(l.visitor){l.visitor=_traverse().default.explode(Object.assign({},l.visitor))}if(l.inherits){const e={name:undefined,alias:`${s}$inherits`,value:l.inherits,options:t,dirname:r};const a=yield*(0,n.forwardAsync)(loadPluginDescriptor,t=>{return i.invalidate(r=>t(e,r))});l.pre=chain(a.pre,l.pre);l.post=chain(a.post,l.post);l.manipulateOptions=chain(a.manipulateOptions,l.manipulateOptions);l.visitor=_traverse().default.visitors.merge([a.visitor||{},l.visitor||{}])}return new a.default(l,t,s)});const E=(e,t)=>{if(e.test||e.include||e.exclude){const e=t.name?`"${t.name}"`:"/* your preset */";throw new Error([`Preset ${e} requires a filename to be set when babel is called directly,`,`\`\`\``,`babel.transform(code, { filename: 'file.ts', presets: [${e}] });`,`\`\`\``,`See https://babeljs.io/docs/en/options#filename for more information.`].join("\n"))}};const g=(e,t,r)=>{if(!t.filename){const{options:t}=e;E(t,r);if(t.overrides){t.overrides.forEach(e=>E(e,r))}}};function*loadPresetDescriptor(e,t){const r=P(yield*S(e,t));g(r,t,e);return yield*(0,l.buildPresetChain)(r,t)}const P=(0,u.makeWeakCacheSync)(({value:e,dirname:t,alias:r})=>{return{options:(0,p.validate)("preset",e),alias:r,dirname:t}});function chain(e,t){const r=[e,t].filter(Boolean);if(r.length<=1)return r[0];return function(...e){for(const t of r){t.apply(this,e)}}}},45842:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeConfigAPI=makeConfigAPI;t.makePresetAPI=makePresetAPI;t.makePluginAPI=makePluginAPI;function _semver(){const e=r(62519);_semver=function(){return e};return e}var n=r(66911);var s=r(18097);var i=r(20541);function makeConfigAPI(e){const t=t=>e.using(e=>{if(typeof t==="undefined")return e.envName;if(typeof t==="function"){return(0,s.assertSimpleType)(t(e.envName))}if(!Array.isArray(t))t=[t];return t.some(t=>{if(typeof t!=="string"){throw new Error("Unexpected non-string value")}return t===e.envName})});const r=t=>e.using(e=>(0,s.assertSimpleType)(t(e.caller)));return{version:n.version,cache:e.simple(),env:t,async:()=>false,caller:r,assertVersion:assertVersion}}function makePresetAPI(e){const t=()=>JSON.parse(e.using(e=>JSON.stringify(e.targets)));return Object.assign({},makeConfigAPI(e),{targets:t})}function makePluginAPI(e){const t=t=>e.using(e=>e.assumptions[t]);return Object.assign({},makePresetAPI(e),{assumption:t})}function assertVersion(e){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}if(_semver().satisfies(n.version,e))return;const t=Error.stackTraceLimit;if(typeof t==="number"&&t<25){Error.stackTraceLimit=25}const r=new Error(`Requires Babel "${e}", but was loaded with "${n.version}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`);if(typeof t==="number"){Error.stackTraceLimit=t}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:n.version,range:e})}},5327:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getEnv=getEnv;function getEnv(e="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||e}},89289:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createConfigItem=createConfigItem;Object.defineProperty(t,"default",{enumerable:true,get:function(){return n.default}});t.createConfigItemAsync=t.createConfigItemSync=t.loadOptionsAsync=t.loadOptionsSync=t.loadOptions=t.loadPartialConfigAsync=t.loadPartialConfigSync=t.loadPartialConfig=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(48929);var s=r(68520);var i=r(19809);const a=_gensync()(function*(e){var t;const r=yield*(0,n.default)(e);return(t=r==null?void 0:r.options)!=null?t:null});const o=_gensync()(i.createConfigItem);const l=e=>(t,r)=>{if(r===undefined&&typeof t==="function"){r=t;t=undefined}return r?e.errback(t,r):e.sync(t)};const u=l(s.loadPartialConfig);t.loadPartialConfig=u;const p=s.loadPartialConfig.sync;t.loadPartialConfigSync=p;const f=s.loadPartialConfig.async;t.loadPartialConfigAsync=f;const c=l(a);t.loadOptions=c;const d=a.sync;t.loadOptionsSync=d;const y=a.async;t.loadOptionsAsync=y;const m=o.sync;t.createConfigItemSync=m;const T=o.async;t.createConfigItemAsync=T;function createConfigItem(e,t,r){if(r!==undefined){return o.errback(e,t,r)}else if(typeof t==="function"){return o.errback(e,undefined,r)}else{return o.sync(e,t)}}},19809:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createItemFromDescriptor=createItemFromDescriptor;t.createConfigItem=createConfigItem;t.getItemDescriptor=getItemDescriptor;function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(49890);function createItemFromDescriptor(e){return new ConfigItem(e)}function*createConfigItem(e,{dirname:t=".",type:r}={}){const s=yield*(0,n.createDescriptor)(e,_path().resolve(t),{type:r,alias:"programmatic item"});return createItemFromDescriptor(s)}function getItemDescriptor(e){if(e!=null&&e[s]){return e._descriptor}return undefined}const s=Symbol.for("@babel/core@7 - ConfigItem");class ConfigItem{constructor(e){this._descriptor=void 0;this[s]=true;this.value=void 0;this.options=void 0;this.dirname=void 0;this.name=void 0;this.file=void 0;this._descriptor=e;Object.defineProperty(this,"_descriptor",{enumerable:false});Object.defineProperty(this,s,{enumerable:false});this.value=this._descriptor.value;this.options=this._descriptor.options;this.dirname=this._descriptor.dirname;this.name=this._descriptor.name;this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:undefined;Object.freeze(this)}}Object.freeze(ConfigItem.prototype)},68520:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadPrivatePartialConfig;t.loadPartialConfig=void 0;function _path(){const e=r(85622);_path=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(30681);var s=r(45079);var i=r(19809);var a=r(75894);var o=r(5327);var l=r(54880);var u=r(22426);var p=r(88020);function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var s,i;for(i=0;i=0)continue;r[s]=e[s]}return r}function resolveRootMode(e,t){switch(t){case"root":return e;case"upward-optional":{const t=(0,u.findConfigUpwards)(e);return t===null?e:t}case"upward":{const t=(0,u.findConfigUpwards)(e);if(t!==null)return t;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not `+`be found when searching upward from "${e}".\n`+`One of the following config files must be in the directory tree: `+`"${u.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error(`Assertion failure - unknown rootMode value.`)}}function*loadPrivatePartialConfig(e){if(e!=null&&(typeof e!=="object"||Array.isArray(e))){throw new Error("Babel options must be an object, null, or undefined")}const t=e?(0,l.validate)("arguments",e):{};const{envName:r=(0,o.getEnv)(),cwd:n=".",root:f=".",rootMode:c="root",caller:d,cloneInputAst:y=true}=t;const m=_path().resolve(n);const T=resolveRootMode(_path().resolve(m,f),c);const h=typeof t.filename==="string"?_path().resolve(n,t.filename):undefined;const S=yield*(0,u.resolveShowConfigPath)(m);const b={filename:h,cwd:m,root:T,envName:r,caller:d,showConfig:S===h};const E=yield*(0,a.buildRootChain)(t,b);if(!E)return null;const g={assumptions:{}};E.options.forEach(e=>{(0,s.mergeOptions)(g,e)});const P=Object.assign({},g,{targets:(0,p.resolveTargets)(g,T),cloneInputAst:y,babelrc:false,configFile:false,browserslistConfigFile:false,passPerPreset:false,envName:b.envName,cwd:b.cwd,root:b.root,rootMode:"root",filename:typeof b.filename==="string"?b.filename:undefined,plugins:E.plugins.map(e=>(0,i.createItemFromDescriptor)(e)),presets:E.presets.map(e=>(0,i.createItemFromDescriptor)(e))});return{options:P,context:b,fileHandling:E.fileHandling,ignore:E.ignore,babelrc:E.babelrc,config:E.config,files:E.files}}const f=_gensync()(function*(e){let t=false;if(typeof e==="object"&&e!==null&&!Array.isArray(e)){var r=e;({showIgnoredFiles:t}=r);e=_objectWithoutPropertiesLoose(r,["showIgnoredFiles"]);r}const s=yield*loadPrivatePartialConfig(e);if(!s)return null;const{options:i,babelrc:a,ignore:o,config:l,fileHandling:u,files:p}=s;if(u==="ignored"&&!t){return null}(i.plugins||[]).forEach(e=>{if(e.value instanceof n.default){throw new Error("Passing cached plugin instances is not supported in "+"babel.loadPartialConfig()")}});return new PartialConfig(i,a?a.filepath:undefined,o?o.filepath:undefined,l?l.filepath:undefined,u,p)});t.loadPartialConfig=f;class PartialConfig{constructor(e,t,r,n,s,i){this.options=void 0;this.babelrc=void 0;this.babelignore=void 0;this.config=void 0;this.fileHandling=void 0;this.files=void 0;this.options=e;this.babelignore=r;this.babelrc=t;this.config=n;this.fileHandling=s;this.files=i;Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==undefined||this.config!==undefined}}Object.freeze(PartialConfig.prototype)},48223:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=pathToPattern;function _path(){const e=r(85622);_path=function(){return e};return e}const n=`\\${_path().sep}`;const s=`(?:${n}|$)`;const i=`[^${n}]+`;const a=`(?:${i}${n})`;const o=`(?:${i}${s})`;const l=`${a}*?`;const u=`${a}*?${o}?`;function escapeRegExp(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}function pathToPattern(e,t){const r=_path().resolve(t,e).split(_path().sep);return new RegExp(["^",...r.map((e,t)=>{const p=t===r.length-1;if(e==="**")return p?u:l;if(e==="*")return p?o:a;if(e.indexOf("*.")===0){return i+escapeRegExp(e.slice(1))+(p?s:n)}return escapeRegExp(e)+(p?s:n)})].join(""))}},30681:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Plugin{constructor(e,t,r){this.key=void 0;this.manipulateOptions=void 0;this.post=void 0;this.pre=void 0;this.visitor=void 0;this.parserOverride=void 0;this.generatorOverride=void 0;this.options=void 0;this.key=e.name||r;this.manipulateOptions=e.manipulateOptions;this.post=e.post;this.pre=e.pre;this.visitor=e.visitor||{};this.parserOverride=e.parserOverride;this.generatorOverride=e.generatorOverride;this.options=t}}t.default=Plugin},31758:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConfigPrinter=t.ChainFormatter=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n={Programmatic:0,Config:1};t.ChainFormatter=n;const s={title(e,t,r){let s="";if(e===n.Programmatic){s="programmatic options";if(t){s+=" from "+t}}else{s="config "+r}return s},loc(e,t){let r="";if(e!=null){r+=`.overrides[${e}]`}if(t!=null){r+=`.env["${t}"]`}return r},*optionsAndDescriptors(e){const t=Object.assign({},e.options);delete t.overrides;delete t.env;const r=[...yield*e.plugins()];if(r.length){t.plugins=r.map(e=>descriptorToConfig(e))}const n=[...yield*e.presets()];if(n.length){t.presets=[...n].map(e=>descriptorToConfig(e))}return JSON.stringify(t,undefined,2)}};function descriptorToConfig(e){var t;let r=(t=e.file)==null?void 0:t.request;if(r==null){if(typeof e.value==="object"){r=e.value}else if(typeof e.value==="function"){r=`[Function: ${e.value.toString().substr(0,50)} ... ]`}}if(r==null){r="[Unknown]"}if(e.options===undefined){return r}else if(e.name==null){return[r,e.options]}else{return[r,e.options,e.name]}}class ConfigPrinter{constructor(){this._stack=[]}configure(e,t,{callerName:r,filepath:n}){if(!e)return()=>{};return(e,s,i)=>{this._stack.push({type:t,callerName:r,filepath:n,content:e,index:s,envName:i})}}static*format(e){let t=s.title(e.type,e.callerName,e.filepath);const r=s.loc(e.index,e.envName);if(r)t+=` ${r}`;const n=yield*s.optionsAndDescriptors(e.content);return`${t}\n${n}`}*output(){if(this._stack.length===0)return"";const e=yield*_gensync().all(this._stack.map(e=>ConfigPrinter.format(e)));return e.join("\n\n")}}t.ConfigPrinter=ConfigPrinter},88020:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveBrowserslistConfigFile=resolveBrowserslistConfigFile;t.resolveTargets=resolveTargets;function _path(){const e=r(85622);_path=function(){return e};return e}function _helperCompilationTargets(){const e=r(16451);_helperCompilationTargets=function(){return e};return e}({});function resolveBrowserslistConfigFile(e,t){return _path().resolve(t,e)}function resolveTargets(e,t){let r=e.targets;if(typeof r==="string"||Array.isArray(r)){r={browsers:r}}if(r&&r.esmodules){r=Object.assign({},r,{esmodules:"intersect"})}const{browserslistConfigFile:n}=e;let s;let i=false;if(typeof n==="string"){s=n}else{i=n===false}return(0,_helperCompilationTargets().default)(r,{ignoreBrowserslistConfig:i,configFile:s,configPath:t,browserslistEnv:e.browserslistEnv})}},45079:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.mergeOptions=mergeOptions;t.isIterableIterator=isIterableIterator;function mergeOptions(e,t){for(const r of Object.keys(t)){if((r==="parserOpts"||r==="generatorOpts"||r==="assumptions")&&t[r]){const n=t[r];const s=e[r]||(e[r]={});mergeDefaultFields(s,n)}else{const n=t[r];if(n!==undefined)e[r]=n}}}function mergeDefaultFields(e,t){for(const r of Object.keys(t)){const n=t[r];if(n!==undefined)e[r]=n}}function isIterableIterator(e){return!!e&&typeof e.next==="function"&&typeof e[Symbol.iterator]==="function"}},27005:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.msg=msg;t.access=access;t.assertRootMode=assertRootMode;t.assertSourceMaps=assertSourceMaps;t.assertCompact=assertCompact;t.assertSourceType=assertSourceType;t.assertCallerMetadata=assertCallerMetadata;t.assertInputSourceMap=assertInputSourceMap;t.assertString=assertString;t.assertFunction=assertFunction;t.assertBoolean=assertBoolean;t.assertObject=assertObject;t.assertArray=assertArray;t.assertIgnoreList=assertIgnoreList;t.assertConfigApplicableTest=assertConfigApplicableTest;t.assertConfigFileSearch=assertConfigFileSearch;t.assertBabelrcSearch=assertBabelrcSearch;t.assertPluginList=assertPluginList;t.assertTargets=assertTargets;t.assertAssumptions=assertAssumptions;function _helperCompilationTargets(){const e=r(16451);_helperCompilationTargets=function(){return e};return e}var n=r(54880);function msg(e){switch(e.type){case"root":return``;case"env":return`${msg(e.parent)}.env["${e.name}"]`;case"overrides":return`${msg(e.parent)}.overrides[${e.index}]`;case"option":return`${msg(e.parent)}.${e.name}`;case"access":return`${msg(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${e.type}`)}}function access(e,t){return{type:"access",name:t,parent:e}}function assertRootMode(e,t){if(t!==undefined&&t!=="root"&&t!=="upward"&&t!=="upward-optional"){throw new Error(`${msg(e)} must be a "root", "upward", "upward-optional" or undefined`)}return t}function assertSourceMaps(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="inline"&&t!=="both"){throw new Error(`${msg(e)} must be a boolean, "inline", "both", or undefined`)}return t}function assertCompact(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="auto"){throw new Error(`${msg(e)} must be a boolean, "auto", or undefined`)}return t}function assertSourceType(e,t){if(t!==undefined&&t!=="module"&&t!=="script"&&t!=="unambiguous"){throw new Error(`${msg(e)} must be "module", "script", "unambiguous", or undefined`)}return t}function assertCallerMetadata(e,t){const r=assertObject(e,t);if(r){if(typeof r.name!=="string"){throw new Error(`${msg(e)} set but does not contain "name" property string`)}for(const t of Object.keys(r)){const n=access(e,t);const s=r[t];if(s!=null&&typeof s!=="boolean"&&typeof s!=="string"&&typeof s!=="number"){throw new Error(`${msg(n)} must be null, undefined, a boolean, a string, or a number.`)}}}return t}function assertInputSourceMap(e,t){if(t!==undefined&&typeof t!=="boolean"&&(typeof t!=="object"||!t)){throw new Error(`${msg(e)} must be a boolean, object, or undefined`)}return t}function assertString(e,t){if(t!==undefined&&typeof t!=="string"){throw new Error(`${msg(e)} must be a string, or undefined`)}return t}function assertFunction(e,t){if(t!==undefined&&typeof t!=="function"){throw new Error(`${msg(e)} must be a function, or undefined`)}return t}function assertBoolean(e,t){if(t!==undefined&&typeof t!=="boolean"){throw new Error(`${msg(e)} must be a boolean, or undefined`)}return t}function assertObject(e,t){if(t!==undefined&&(typeof t!=="object"||Array.isArray(t)||!t)){throw new Error(`${msg(e)} must be an object, or undefined`)}return t}function assertArray(e,t){if(t!=null&&!Array.isArray(t)){throw new Error(`${msg(e)} must be an array, or undefined`)}return t}function assertIgnoreList(e,t){const r=assertArray(e,t);if(r){r.forEach((t,r)=>assertIgnoreItem(access(e,r),t))}return r}function assertIgnoreItem(e,t){if(typeof t!=="string"&&typeof t!=="function"&&!(t instanceof RegExp)){throw new Error(`${msg(e)} must be an array of string/Function/RegExp values, or undefined`)}return t}function assertConfigApplicableTest(e,t){if(t===undefined)return t;if(Array.isArray(t)){t.forEach((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a string/Function/RegExp, or an array of those`)}return t}function checkValidTest(e){return typeof e==="string"||typeof e==="function"||e instanceof RegExp}function assertConfigFileSearch(e,t){if(t!==undefined&&typeof t!=="boolean"&&typeof t!=="string"){throw new Error(`${msg(e)} must be a undefined, a boolean, a string, `+`got ${JSON.stringify(t)}`)}return t}function assertBabelrcSearch(e,t){if(t===undefined||typeof t==="boolean")return t;if(Array.isArray(t)){t.forEach((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a undefined, a boolean, a string/Function/RegExp `+`or an array of those, got ${JSON.stringify(t)}`)}return t}function assertPluginList(e,t){const r=assertArray(e,t);if(r){r.forEach((t,r)=>assertPluginItem(access(e,r),t))}return r}function assertPluginItem(e,t){if(Array.isArray(t)){if(t.length===0){throw new Error(`${msg(e)} must include an object`)}if(t.length>3){throw new Error(`${msg(e)} may only be a two-tuple or three-tuple`)}assertPluginTarget(access(e,0),t[0]);if(t.length>1){const r=t[1];if(r!==undefined&&r!==false&&(typeof r!=="object"||Array.isArray(r)||r===null)){throw new Error(`${msg(access(e,1))} must be an object, false, or undefined`)}}if(t.length===3){const r=t[2];if(r!==undefined&&typeof r!=="string"){throw new Error(`${msg(access(e,2))} must be a string, or undefined`)}}}else{assertPluginTarget(e,t)}return t}function assertPluginTarget(e,t){if((typeof t!=="object"||!t)&&typeof t!=="string"&&typeof t!=="function"){throw new Error(`${msg(e)} must be a string, object, function`)}return t}function assertTargets(e,t){if((0,_helperCompilationTargets().isBrowsersQueryValid)(t))return t;if(typeof t!=="object"||!t||Array.isArray(t)){throw new Error(`${msg(e)} must be a string, an array of strings or an object`)}const r=access(e,"browsers");const n=access(e,"esmodules");assertBrowsersList(r,t.browsers);assertBoolean(n,t.esmodules);for(const r of Object.keys(t)){const n=t[r];const s=access(e,r);if(r==="esmodules")assertBoolean(s,n);else if(r==="browsers")assertBrowsersList(s,n);else if(!Object.hasOwnProperty.call(_helperCompilationTargets().TargetNames,r)){const e=Object.keys(_helperCompilationTargets().TargetNames).join(", ");throw new Error(`${msg(s)} is not a valid target. Supported targets are ${e}`)}else assertBrowserVersion(s,n)}return t}function assertBrowsersList(e,t){if(t!==undefined&&!(0,_helperCompilationTargets().isBrowsersQueryValid)(t)){throw new Error(`${msg(e)} must be undefined, a string or an array of strings`)}}function assertBrowserVersion(e,t){if(typeof t==="number"&&Math.round(t)===t)return;if(typeof t==="string")return;throw new Error(`${msg(e)} must be a string or an integer number`)}function assertAssumptions(e,t){if(t===undefined)return;if(typeof t!=="object"||t===null){throw new Error(`${msg(e)} must be an object or undefined.`)}let r=e;do{r=r.parent}while(r.type!=="root");const s=r.source==="preset";for(const r of Object.keys(t)){const i=access(e,r);if(!n.assumptionsNames.has(r)){throw new Error(`${msg(i)} is not a supported assumption.`)}if(typeof t[r]!=="boolean"){throw new Error(`${msg(i)} must be a boolean.`)}if(s&&t[r]===false){throw new Error(`${msg(i)} cannot be set to 'false' inside presets.`)}}return t}},54880:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.checkNoUnwrappedItemOptionPairs=checkNoUnwrappedItemOptionPairs;t.assumptionsNames=void 0;var n=r(30681);var s=r(72184);var i=r(27005);const a={cwd:i.assertString,root:i.assertString,rootMode:i.assertRootMode,configFile:i.assertConfigFileSearch,caller:i.assertCallerMetadata,filename:i.assertString,filenameRelative:i.assertString,code:i.assertBoolean,ast:i.assertBoolean,cloneInputAst:i.assertBoolean,envName:i.assertString};const o={babelrc:i.assertBoolean,babelrcRoots:i.assertBabelrcSearch};const l={extends:i.assertString,ignore:i.assertIgnoreList,only:i.assertIgnoreList,targets:i.assertTargets,browserslistConfigFile:i.assertConfigFileSearch,browserslistEnv:i.assertString};const u={inputSourceMap:i.assertInputSourceMap,presets:i.assertPluginList,plugins:i.assertPluginList,passPerPreset:i.assertBoolean,assumptions:i.assertAssumptions,env:assertEnvSet,overrides:assertOverridesList,test:i.assertConfigApplicableTest,include:i.assertConfigApplicableTest,exclude:i.assertConfigApplicableTest,retainLines:i.assertBoolean,comments:i.assertBoolean,shouldPrintComment:i.assertFunction,compact:i.assertCompact,minified:i.assertBoolean,auxiliaryCommentBefore:i.assertString,auxiliaryCommentAfter:i.assertString,sourceType:i.assertSourceType,wrapPluginVisitorMethod:i.assertFunction,highlightCode:i.assertBoolean,sourceMaps:i.assertSourceMaps,sourceMap:i.assertSourceMaps,sourceFileName:i.assertString,sourceRoot:i.assertString,parserOpts:i.assertObject,generatorOpts:i.assertObject};{Object.assign(u,{getModuleId:i.assertFunction,moduleRoot:i.assertString,moduleIds:i.assertBoolean,moduleId:i.assertString})}const p=new Set(["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noNewArrows","objectRestNoSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"]);t.assumptionsNames=p;function getSource(e){return e.type==="root"?e.source:getSource(e.parent)}function validate(e,t){return validateNested({type:"root",source:e},t)}function validateNested(e,t){const r=getSource(e);assertNoDuplicateSourcemap(t);Object.keys(t).forEach(n=>{const s={type:"option",name:n,parent:e};if(r==="preset"&&l[n]){throw new Error(`${(0,i.msg)(s)} is not allowed in preset options`)}if(r!=="arguments"&&a[n]){throw new Error(`${(0,i.msg)(s)} is only allowed in root programmatic options`)}if(r!=="arguments"&&r!=="configfile"&&o[n]){if(r==="babelrcfile"||r==="extendsfile"){throw new Error(`${(0,i.msg)(s)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, `+`or babel.config.js/config file options`)}throw new Error(`${(0,i.msg)(s)} is only allowed in root programmatic options, or babel.config.js/config file options`)}const p=u[n]||l[n]||o[n]||a[n]||throwUnknownError;p(s,t[n])});return t}function throwUnknownError(e){const t=e.name;if(s.default[t]){const{message:r,version:n=5}=s.default[t];throw new Error(`Using removed Babel ${n} option: ${(0,i.msg)(e)} - ${r}`)}else{const t=new Error(`Unknown option: ${(0,i.msg)(e)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);t.code="BABEL_UNKNOWN_OPTION";throw t}}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function assertNoDuplicateSourcemap(e){if(has(e,"sourceMap")&&has(e,"sourceMaps")){throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}}function assertEnvSet(e,t){if(e.parent.type==="env"){throw new Error(`${(0,i.msg)(e)} is not allowed inside of another .env block`)}const r=e.parent;const n=(0,i.assertObject)(e,t);if(n){for(const t of Object.keys(n)){const s=(0,i.assertObject)((0,i.access)(e,t),n[t]);if(!s)continue;const a={type:"env",name:t,parent:r};validateNested(a,s)}}return n}function assertOverridesList(e,t){if(e.parent.type==="env"){throw new Error(`${(0,i.msg)(e)} is not allowed inside an .env block`)}if(e.parent.type==="overrides"){throw new Error(`${(0,i.msg)(e)} is not allowed inside an .overrides block`)}const r=e.parent;const n=(0,i.assertArray)(e,t);if(n){for(const[t,s]of n.entries()){const n=(0,i.access)(e,t);const a=(0,i.assertObject)(n,s);if(!a)throw new Error(`${(0,i.msg)(n)} must be an object`);const o={type:"overrides",index:t,parent:r};validateNested(o,a)}}return n}function checkNoUnwrappedItemOptionPairs(e,t,r,n){if(t===0)return;const s=e[t-1];const i=e[t];if(s.file&&s.options===undefined&&typeof i.value==="object"){n.message+=`\n- Maybe you meant to use\n`+`"${r}": [\n ["${s.file.request}", ${JSON.stringify(i.value,undefined,2)}]\n]\n`+`To be a valid ${r}, its name and options should be wrapped in a pair of brackets`}}},33261:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validatePluginObject=validatePluginObject;var n=r(27005);const s={name:n.assertString,manipulateOptions:n.assertFunction,pre:n.assertFunction,post:n.assertFunction,inherits:n.assertFunction,visitor:assertVisitorMap,parserOverride:n.assertFunction,generatorOverride:n.assertFunction};function assertVisitorMap(e,t){const r=(0,n.assertObject)(e,t);if(r){Object.keys(r).forEach(e=>assertVisitorHandler(e,r[e]));if(r.enter||r.exit){throw new Error(`${(0,n.msg)(e)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`)}}return r}function assertVisitorHandler(e,t){if(t&&typeof t==="object"){Object.keys(t).forEach(t=>{if(t!=="enter"&&t!=="exit"){throw new Error(`.visitor["${e}"] may only have .enter and/or .exit handlers.`)}})}else if(typeof t!=="function"){throw new Error(`.visitor["${e}"] must be a function`)}return t}function validatePluginObject(e){const t={type:"root",source:"plugin"};Object.keys(e).forEach(r=>{const n=s[r];if(n){const s={type:"option",name:r,parent:t};n(s,e[r])}else{const e=new Error(`.${r} is not a valid Plugin property`);e.code="BABEL_UNKNOWN_PLUGIN_PROPERTY";throw e}});return e}},72184:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. "+"Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. "+"Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using "+"or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. "+"Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. "+"Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the "+"tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling "+"that calls Babel to assign `map.file` themselves."}};t.default=r},77805:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.maybeAsync=maybeAsync;t.forwardAsync=forwardAsync;t.isThenable=isThenable;t.waitFor=t.onFirstPause=t.isAsync=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n=e=>e;const s=_gensync()(function*(e){return yield*e});const i=_gensync()({sync:()=>false,errback:e=>e(null,true)});t.isAsync=i;function maybeAsync(e,t){return _gensync()({sync(...r){const n=e.apply(this,r);if(isThenable(n))throw new Error(t);return n},async(...t){return Promise.resolve(e.apply(this,t))}})}const a=_gensync()({sync:e=>e("sync"),async:e=>e("async")});function forwardAsync(e,t){const r=_gensync()(e);return a(e=>{const n=r[e];return t(n)})}const o=_gensync()({name:"onFirstPause",arity:2,sync:function(e){return s.sync(e)},errback:function(e,t,r){let n=false;s.errback(e,(e,t)=>{n=true;r(e,t)});if(!n){t()}}});t.onFirstPause=o;const l=_gensync()({sync:n,async:n});t.waitFor=l;function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},7901:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stat=t.readFile=void 0;function _fs(){const e=r(35747);_fs=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n=_gensync()({sync:_fs().readFileSync,errback:_fs().readFile});t.readFile=n;const s=_gensync()({sync:_fs().statSync,errback:_fs().stat});t.stat=s},66911:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Plugin=Plugin;Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"buildExternalHelpers",{enumerable:true,get:function(){return s.default}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return i.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return i.resolvePreset}});Object.defineProperty(t,"getEnv",{enumerable:true,get:function(){return a.getEnv}});Object.defineProperty(t,"tokTypes",{enumerable:true,get:function(){return _parser().tokTypes}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return _traverse().default}});Object.defineProperty(t,"template",{enumerable:true,get:function(){return _template().default}});Object.defineProperty(t,"createConfigItem",{enumerable:true,get:function(){return o.createConfigItem}});Object.defineProperty(t,"createConfigItemSync",{enumerable:true,get:function(){return o.createConfigItemSync}});Object.defineProperty(t,"createConfigItemAsync",{enumerable:true,get:function(){return o.createConfigItemAsync}});Object.defineProperty(t,"loadPartialConfig",{enumerable:true,get:function(){return o.loadPartialConfig}});Object.defineProperty(t,"loadPartialConfigSync",{enumerable:true,get:function(){return o.loadPartialConfigSync}});Object.defineProperty(t,"loadPartialConfigAsync",{enumerable:true,get:function(){return o.loadPartialConfigAsync}});Object.defineProperty(t,"loadOptions",{enumerable:true,get:function(){return o.loadOptions}});Object.defineProperty(t,"loadOptionsSync",{enumerable:true,get:function(){return o.loadOptionsSync}});Object.defineProperty(t,"loadOptionsAsync",{enumerable:true,get:function(){return o.loadOptionsAsync}});Object.defineProperty(t,"transform",{enumerable:true,get:function(){return l.transform}});Object.defineProperty(t,"transformSync",{enumerable:true,get:function(){return l.transformSync}});Object.defineProperty(t,"transformAsync",{enumerable:true,get:function(){return l.transformAsync}});Object.defineProperty(t,"transformFile",{enumerable:true,get:function(){return u.transformFile}});Object.defineProperty(t,"transformFileSync",{enumerable:true,get:function(){return u.transformFileSync}});Object.defineProperty(t,"transformFileAsync",{enumerable:true,get:function(){return u.transformFileAsync}});Object.defineProperty(t,"transformFromAst",{enumerable:true,get:function(){return p.transformFromAst}});Object.defineProperty(t,"transformFromAstSync",{enumerable:true,get:function(){return p.transformFromAstSync}});Object.defineProperty(t,"transformFromAstAsync",{enumerable:true,get:function(){return p.transformFromAstAsync}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return f.parse}});Object.defineProperty(t,"parseSync",{enumerable:true,get:function(){return f.parseSync}});Object.defineProperty(t,"parseAsync",{enumerable:true,get:function(){return f.parseAsync}});t.types=t.OptionManager=t.DEFAULT_EXTENSIONS=t.version=void 0;var n=r(78378);var s=r(31298);var i=r(22426);var a=r(5327);function _types(){const e=r(35649);_types=function(){return e};return e}Object.defineProperty(t,"types",{enumerable:true,get:function(){return _types()}});function _parser(){const e=r(51201);_parser=function(){return e};return e}function _traverse(){const e=r(4267);_traverse=function(){return e};return e}function _template(){const e=r(36900);_template=function(){return e};return e}var o=r(89289);var l=r(54182);var u=r(62411);var p=r(11589);var f=r(23800);const c="7.14.6";t.version=c;const d=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);t.DEFAULT_EXTENSIONS=d;class OptionManager{init(e){return(0,o.loadOptions)(e)}}t.OptionManager=OptionManager;function Plugin(e){throw new Error(`The (${e}) Babel 5 plugin is being run with an unsupported Babel version.`)}},23800:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseAsync=t.parseSync=t.parse=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(89289);var s=r(6309);var i=r(92479);const a=_gensync()(function*parse(e,t){const r=yield*(0,n.default)(t);if(r===null){return null}return yield*(0,s.default)(r.passes,(0,i.default)(r),e)});const o=function parse(e,t,r){if(typeof t==="function"){r=t;t=undefined}if(r===undefined)return a.sync(e,t);a.errback(e,t,r)};t.parse=o;const l=a.sync;t.parseSync=l;const u=a.async;t.parseAsync=u},6309:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parser;function _parser(){const e=r(51201);_parser=function(){return e};return e}function _codeFrame(){const e=r(61018);_codeFrame=function(){return e};return e}var n=r(66561);function*parser(e,{parserOpts:t,highlightCode:r=true,filename:s="unknown"},i){try{const a=[];for(const r of e){for(const e of r){const{parserOverride:r}=e;if(r){const e=r(i,t,_parser().parse);if(e!==undefined)a.push(e)}}}if(a.length===0){return(0,_parser().parse)(i,t)}else if(a.length===1){yield*[];if(typeof a[0].then==="function"){throw new Error(`You appear to be using an async parser plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}return a[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(e){if(e.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"){e.message+="\nConsider renaming the file to '.mjs', or setting sourceType:module "+"or sourceType:unambiguous in your Babel config for this file."}const{loc:t,missingPlugin:a}=e;if(t){const o=(0,_codeFrame().codeFrameColumns)(i,{start:{line:t.line,column:t.column+1}},{highlightCode:r});if(a){e.message=`${s}: `+(0,n.default)(a[0],t,o)}else{e.message=`${s}: ${e.message}\n\n`+o}e.code="BABEL_PARSE_ERROR"}throw e}}},66561:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateMissingPluginMessage;const r={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",url:"https://git.io/JYer8"}},classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-private-methods",url:"https://git.io/JvpRG"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://git.io/JTLB6"},transform:{name:"@babel/plugin-proposal-class-static-block",url:"https://git.io/JTLBP"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://git.io/JfKOH"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://git.io/vb4y9"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://git.io/vb4ST"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://git.io/vb4yh"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://git.io/vb4S3"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://git.io/vb4Sv"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://git.io/vb4SO"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://git.io/vb4yH"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://git.io/vb4Sf"},transform:{name:"@babel/plugin-proposal-export-namespace-from",url:"https://git.io/vb4SG"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://git.io/vb4yb"},transform:{name:"@babel/preset-flow",url:"https://git.io/JfeDn"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://git.io/vb4y7"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://git.io/vb4St"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://git.io/vb4yN"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://git.io/vb4SZ"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://git.io/vbKK6"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://git.io/vb4yA"},transform:{name:"@babel/preset-react",url:"https://git.io/JfeDR"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://git.io/JUbkv"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://git.io/JTL8G"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://git.io/vb4Sq"},transform:{name:"@babel/plugin-proposal-numeric-separator",url:"https://git.io/vb4yS"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://git.io/vb4Sc"},transform:{name:"@babel/plugin-proposal-optional-chaining",url:"https://git.io/vb4Sk"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://git.io/vb4yj"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://git.io/vb4SU"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://git.io/JfK3q"},transform:{name:"@babel/plugin-proposal-private-property-in-object",url:"https://git.io/JfK3O"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://git.io/JvKp3"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://git.io/vb4SJ"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://git.io/vb4yF"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://git.io/vb4SC"},transform:{name:"@babel/preset-typescript",url:"https://git.io/JfeDz"}},asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://git.io/vb4SY"},transform:{name:"@babel/plugin-proposal-async-generator-functions",url:"https://git.io/vb4yp"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://git.io/vAlBp"},transform:{name:"@babel/plugin-proposal-logical-assignment-operators",url:"https://git.io/vAlRe"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://git.io/vb4yx"},transform:{name:"@babel/plugin-proposal-nullish-coalescing-operator",url:"https://git.io/vb4Se"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://git.io/vb4y5"},transform:{name:"@babel/plugin-proposal-object-rest-spread",url:"https://git.io/vb4Ss"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://git.io/vb4Sn"},transform:{name:"@babel/plugin-proposal-optional-catch-binding",url:"https://git.io/vb4SI"}}};r.privateIn.syntax=r.privateIn.transform;const n=({name:e,url:t})=>`${e} (${t})`;function generateMissingPluginMessage(e,t,s){let i=`Support for the experimental syntax '${e}' isn't currently enabled `+`(${t.line}:${t.column+1}):\n\n`+s;const a=r[e];if(a){const{syntax:e,transform:t}=a;if(e){const r=n(e);if(t){const e=n(t);const s=t.name.startsWith("@babel/plugin")?"plugins":"presets";i+=`\n\nAdd ${e} to the '${s}' section of your Babel config to enable transformation.\nIf you want to leave it as-is, add ${r} to the 'plugins' section to enable parsing.`}else{i+=`\n\nAdd ${r} to the 'plugins' section of your Babel config `+`to enable parsing.`}}}return i}},31298:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=_default;function helpers(){const e=n(35295);helpers=function(){return e};return e}function _generator(){const e=n(23656);_generator=function(){return e};return e}function _template(){const e=n(36900);_template=function(){return e};return e}function t(){const e=n(35649);t=function(){return e};return e}var s=n(78378);const i=e=>(0,_template().default)` + `)}}})}}}}},69936:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var r=s(71463);function isRegeneratorSource(e){return e==="regenerator-runtime/runtime"||e==="regenerator-runtime/runtime.js"}function _default(){const e={ImportDeclaration(e){if(isRegeneratorSource((0,r.getImportSource)(e))){this.regeneratorImportExcluded=true;e.remove()}},Program(e){e.get("body").forEach(e=>{if(isRegeneratorSource((0,r.getRequireSource)(e))){this.regeneratorImportExcluded=true;e.remove()}})}};return{name:"preset-env/remove-regenerator",visitor:e,pre(){this.regeneratorImportExcluded=false},post(){if(this.opts.debug&&this.regeneratorImportExcluded){let e=this.file.opts.filename;if(process.env.BABEL_ENV==="test"){e=e.replace(/\\/g,"/")}console.log(`\n[${e}] Based on your targets, regenerator-runtime import excluded.`)}}}}},71463:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getImportSource=getImportSource;t.getRequireSource=getRequireSource;t.isPolyfillSource=isPolyfillSource;var r=s(19761);function getImportSource({node:e}){if(e.specifiers.length===0)return e.source.value}function getRequireSource({node:e}){if(!r.isExpressionStatement(e))return;const{expression:t}=e;if(r.isCallExpression(t)&&r.isIdentifier(t.callee)&&t.callee.name==="require"&&t.arguments.length===1&&r.isStringLiteral(t.arguments[0])){return t.arguments[0].value}}function isPolyfillSource(e){return e==="@babel/polyfill"||e==="core-js"}},12898:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=s(20336);var i=s(90636);var n=s(69562);function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var a=_interopDefaultLegacy(i);const o=new n.OptionValidator("@babel/preset-typescript");function normalizeOptions(e={}){let{allowNamespaces:t=true,jsxPragma:s,onlyRemoveTypeImports:r}=e;const i={allExtensions:"allExtensions",allowNamespaces:"allowNamespaces",isTSX:"isTSX",jsxPragma:"jsxPragma",jsxPragmaFrag:"jsxPragmaFrag",onlyRemoveTypeImports:"onlyRemoveTypeImports",optimizeConstEnums:"optimizeConstEnums"};const n=o.validateStringOption(i.jsxPragmaFrag,e.jsxPragmaFrag,"React.Fragment");const a=o.validateBooleanOption(i.allExtensions,e.allExtensions,false);const l=o.validateBooleanOption(i.isTSX,e.isTSX,false);if(l){o.invariant(a,"isTSX:true requires allExtensions:true")}const c=o.validateBooleanOption(i.optimizeConstEnums,e.optimizeConstEnums,false);return{allExtensions:a,allowNamespaces:t,isTSX:l,jsxPragma:s,jsxPragmaFrag:n,onlyRemoveTypeImports:r,optimizeConstEnums:c}}var l=r.declare((e,t)=>{e.assertVersion(7);const{allExtensions:s,allowNamespaces:r,isTSX:i,jsxPragma:n,jsxPragmaFrag:o,onlyRemoveTypeImports:l,optimizeConstEnums:c}=normalizeOptions(t);const p=e=>({allowDeclareFields:t.allowDeclareFields,allowNamespaces:r,isTSX:e,jsxPragma:n,jsxPragmaFrag:o,onlyRemoveTypeImports:l,optimizeConstEnums:c});return{overrides:s?[{plugins:[[a["default"],p(i)]]}]:[{test:/\.ts$/,plugins:[[a["default"],p(false)]]},{test:/\.tsx$/,plugins:[[a["default"],p(true)]]}]}});t.default=l},87178:(e,t)=>{"use strict";t.__esModule=true;t.default=_default;function _extends(){_extends=Object.assign||function(e){for(var t=1;te!=="node");return _extends({},i,t==="usage-pure"?r:null,a||o?s:null)}},35990:(e,t,s)=>{"use strict";t.__esModule=true;t.StaticProperties=t.InstanceProperties=t.BuiltIns=t.CommonIterators=void 0;var r=_interopRequireDefault(s(57607));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const i=(e,t,s=[],r)=>{return{name:e,pure:t,global:s,meta:r}};const n=(e,t,s=null)=>i(t[0],e,t,{minRuntimeVersion:s});const a=e=>i(e[0],null,e);const o=(e,t)=>i(t,e,[]);const l=["es6.object.to-string","es6.array.iterator","web.dom.iterable"];const c=["es6.string.iterator",...l];t.CommonIterators=c;const p=["es6.object.to-string","es6.promise"];const u={DataView:a(["es6.typed.data-view"]),Float32Array:a(["es6.typed.float32-array"]),Float64Array:a(["es6.typed.float64-array"]),Int8Array:a(["es6.typed.int8-array"]),Int16Array:a(["es6.typed.int16-array"]),Int32Array:a(["es6.typed.int32-array"]),Map:n("map",["es6.map",...c]),Number:a(["es6.number.constructor"]),Promise:n("promise",p),RegExp:a(["es6.regexp.constructor"]),Set:n("set",["es6.set",...c]),Symbol:n("symbol",["es6.symbol"]),Uint8Array:a(["es6.typed.uint8-array"]),Uint8ClampedArray:a(["es6.typed.uint8-clamped-array"]),Uint16Array:a(["es6.typed.uint16-array"]),Uint32Array:a(["es6.typed.uint32-array"]),WeakMap:n("weak-map",["es6.weak-map",...c]),WeakSet:n("weak-set",["es6.weak-set",...c]),setImmediate:o("set-immediate","web.immediate"),clearImmediate:o("clear-immediate","web.immediate"),parseFloat:o("parse-float","es6.parse-float"),parseInt:o("parse-int","es6.parse-int")};t.BuiltIns=u;const h={__defineGetter__:a(["es7.object.define-getter"]),__defineSetter__:a(["es7.object.define-setter"]),__lookupGetter__:a(["es7.object.lookup-getter"]),__lookupSetter__:a(["es7.object.lookup-setter"]),anchor:a(["es6.string.anchor"]),big:a(["es6.string.big"]),bind:a(["es6.function.bind"]),blink:a(["es6.string.blink"]),bold:a(["es6.string.bold"]),codePointAt:a(["es6.string.code-point-at"]),copyWithin:a(["es6.array.copy-within"]),endsWith:a(["es6.string.ends-with"]),entries:a(l),every:a(["es6.array.every"]),fill:a(["es6.array.fill"]),filter:a(["es6.array.filter"]),finally:a(["es7.promise.finally",...p]),find:a(["es6.array.find"]),findIndex:a(["es6.array.find-index"]),fixed:a(["es6.string.fixed"]),flags:a(["es6.regexp.flags"]),flatMap:a(["es7.array.flat-map"]),fontcolor:a(["es6.string.fontcolor"]),fontsize:a(["es6.string.fontsize"]),forEach:a(["es6.array.for-each"]),includes:a(["es6.string.includes","es7.array.includes"]),indexOf:a(["es6.array.index-of"]),italics:a(["es6.string.italics"]),keys:a(l),lastIndexOf:a(["es6.array.last-index-of"]),link:a(["es6.string.link"]),map:a(["es6.array.map"]),match:a(["es6.regexp.match"]),name:a(["es6.function.name"]),padStart:a(["es7.string.pad-start"]),padEnd:a(["es7.string.pad-end"]),reduce:a(["es6.array.reduce"]),reduceRight:a(["es6.array.reduce-right"]),repeat:a(["es6.string.repeat"]),replace:a(["es6.regexp.replace"]),search:a(["es6.regexp.search"]),small:a(["es6.string.small"]),some:a(["es6.array.some"]),sort:a(["es6.array.sort"]),split:a(["es6.regexp.split"]),startsWith:a(["es6.string.starts-with"]),strike:a(["es6.string.strike"]),sub:a(["es6.string.sub"]),sup:a(["es6.string.sup"]),toISOString:a(["es6.date.to-iso-string"]),toJSON:a(["es6.date.to-json"]),toString:a(["es6.object.to-string","es6.date.to-string","es6.regexp.to-string"]),trim:a(["es6.string.trim"]),trimEnd:a(["es7.string.trim-right"]),trimLeft:a(["es7.string.trim-left"]),trimRight:a(["es7.string.trim-right"]),trimStart:a(["es7.string.trim-left"]),values:a(l)};t.InstanceProperties=h;if("es6.array.slice"in r.default){h.slice=a(["es6.array.slice"])}const f={Array:{from:n("array/from",["es6.symbol","es6.array.from",...c]),isArray:n("array/is-array",["es6.array.is-array"]),of:n("array/of",["es6.array.of"])},Date:{now:n("date/now",["es6.date.now"])},JSON:{stringify:o("json/stringify","es6.symbol")},Math:{acosh:n("math/acosh",["es6.math.acosh"],"7.0.1"),asinh:n("math/asinh",["es6.math.asinh"],"7.0.1"),atanh:n("math/atanh",["es6.math.atanh"],"7.0.1"),cbrt:n("math/cbrt",["es6.math.cbrt"],"7.0.1"),clz32:n("math/clz32",["es6.math.clz32"],"7.0.1"),cosh:n("math/cosh",["es6.math.cosh"],"7.0.1"),expm1:n("math/expm1",["es6.math.expm1"],"7.0.1"),fround:n("math/fround",["es6.math.fround"],"7.0.1"),hypot:n("math/hypot",["es6.math.hypot"],"7.0.1"),imul:n("math/imul",["es6.math.imul"],"7.0.1"),log1p:n("math/log1p",["es6.math.log1p"],"7.0.1"),log10:n("math/log10",["es6.math.log10"],"7.0.1"),log2:n("math/log2",["es6.math.log2"],"7.0.1"),sign:n("math/sign",["es6.math.sign"],"7.0.1"),sinh:n("math/sinh",["es6.math.sinh"],"7.0.1"),tanh:n("math/tanh",["es6.math.tanh"],"7.0.1"),trunc:n("math/trunc",["es6.math.trunc"],"7.0.1")},Number:{EPSILON:n("number/epsilon",["es6.number.epsilon"]),MIN_SAFE_INTEGER:n("number/min-safe-integer",["es6.number.min-safe-integer"]),MAX_SAFE_INTEGER:n("number/max-safe-integer",["es6.number.max-safe-integer"]),isFinite:n("number/is-finite",["es6.number.is-finite"]),isInteger:n("number/is-integer",["es6.number.is-integer"]),isSafeInteger:n("number/is-safe-integer",["es6.number.is-safe-integer"]),isNaN:n("number/is-nan",["es6.number.is-nan"]),parseFloat:n("number/parse-float",["es6.number.parse-float"]),parseInt:n("number/parse-int",["es6.number.parse-int"])},Object:{assign:n("object/assign",["es6.object.assign"]),create:n("object/create",["es6.object.create"]),defineProperties:n("object/define-properties",["es6.object.define-properties"]),defineProperty:n("object/define-property",["es6.object.define-property"]),entries:n("object/entries",["es7.object.entries"]),freeze:n("object/freeze",["es6.object.freeze"]),getOwnPropertyDescriptor:n("object/get-own-property-descriptor",["es6.object.get-own-property-descriptor"]),getOwnPropertyDescriptors:n("object/get-own-property-descriptors",["es7.object.get-own-property-descriptors"]),getOwnPropertyNames:n("object/get-own-property-names",["es6.object.get-own-property-names"]),getOwnPropertySymbols:n("object/get-own-property-symbols",["es6.symbol"]),getPrototypeOf:n("object/get-prototype-of",["es6.object.get-prototype-of"]),is:n("object/is",["es6.object.is"]),isExtensible:n("object/is-extensible",["es6.object.is-extensible"]),isFrozen:n("object/is-frozen",["es6.object.is-frozen"]),isSealed:n("object/is-sealed",["es6.object.is-sealed"]),keys:n("object/keys",["es6.object.keys"]),preventExtensions:n("object/prevent-extensions",["es6.object.prevent-extensions"]),seal:n("object/seal",["es6.object.seal"]),setPrototypeOf:n("object/set-prototype-of",["es6.object.set-prototype-of"]),values:n("object/values",["es7.object.values"])},Promise:{all:a(c),race:a(c)},Reflect:{apply:n("reflect/apply",["es6.reflect.apply"]),construct:n("reflect/construct",["es6.reflect.construct"]),defineProperty:n("reflect/define-property",["es6.reflect.define-property"]),deleteProperty:n("reflect/delete-property",["es6.reflect.delete-property"]),get:n("reflect/get",["es6.reflect.get"]),getOwnPropertyDescriptor:n("reflect/get-own-property-descriptor",["es6.reflect.get-own-property-descriptor"]),getPrototypeOf:n("reflect/get-prototype-of",["es6.reflect.get-prototype-of"]),has:n("reflect/has",["es6.reflect.has"]),isExtensible:n("reflect/is-extensible",["es6.reflect.is-extensible"]),ownKeys:n("reflect/own-keys",["es6.reflect.own-keys"]),preventExtensions:n("reflect/prevent-extensions",["es6.reflect.prevent-extensions"]),set:n("reflect/set",["es6.reflect.set"]),setPrototypeOf:n("reflect/set-prototype-of",["es6.reflect.set-prototype-of"])},String:{at:o("string/at","es7.string.at"),fromCodePoint:n("string/from-code-point",["es6.string.from-code-point"]),raw:n("string/raw",["es6.string.raw"])},Symbol:{asyncIterator:a(["es6.symbol","es7.symbol.async-iterator"]),for:o("symbol/for","es6.symbol"),hasInstance:o("symbol/has-instance","es6.symbol"),isConcatSpreadable:o("symbol/is-concat-spreadable","es6.symbol"),iterator:i("es6.symbol","symbol/iterator",c),keyFor:o("symbol/key-for","es6.symbol"),match:n("symbol/match",["es6.regexp.match"]),replace:o("symbol/replace","es6.symbol"),search:o("symbol/search","es6.symbol"),species:o("symbol/species","es6.symbol"),split:o("symbol/split","es6.symbol"),toPrimitive:o("symbol/to-primitive","es6.symbol"),toStringTag:o("symbol/to-string-tag","es6.symbol"),unscopables:o("symbol/unscopables","es6.symbol")}};t.StaticProperties=f},13654:(e,t,s)=>{"use strict";t.__esModule=true;t.hasMinVersion=hasMinVersion;var r=_interopRequireDefault(s(62519));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function hasMinVersion(e,t){if(!t||!e)return true;if(r.default.valid(t))t=`^${t}`;return!r.default.intersects(`<${e}`,t)&&!r.default.intersects(`>=8.0.0`,t)}},75356:(e,t,s)=>{"use strict";t.__esModule=true;t.default=void 0;var r=_interopRequireDefault(s(57607));var i=s(35990);var n=_interopRequireDefault(s(87178));var a=s(13654);var o=_interopRequireDefault(s(30114));var l=_interopRequireWildcard(s(66911));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var s={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(Object.prototype.hasOwnProperty.call(e,i)){var n=r?Object.getOwnPropertyDescriptor(e,i):null;if(n&&(n.get||n.set)){Object.defineProperty(s,i,n)}else{s[i]=e[i]}}}s.default=e;if(t){t.set(e,s)}return s}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const{types:c}=l.default||l;const p="#__secret_key__@babel/preset-env__compatibility";const u="#__secret_key__@babel/runtime__compatibility";const h=Function.call.bind(Object.hasOwnProperty);var f=(0,o.default)(function(e,{[p]:{entryInjectRegenerator:t}={},[u]:{useBabelRuntime:s,runtimeVersion:o,ext:l=".js"}={}}){const f=e.createMetaResolver({global:i.BuiltIns,static:i.StaticProperties,instance:i.InstanceProperties});const{debug:d,shouldInjectPolyfill:y,method:m}=e;const g=(0,n.default)(e.targets,m,r.default);const b=s?`${s}/core-js`:m==="usage-pure"?"core-js/library/fn":"core-js/modules";function inject(e,t){if(typeof e==="string"){if(h(g,e)&&y(e)){d(e);t.injectGlobalImport(`${b}/${e}.js`)}return}e.forEach(e=>inject(e,t))}function maybeInjectPure(e,t,s){const{pure:r,meta:i,name:n}=e;if(!r||!y(n))return;if(o&&i&&i.minRuntimeVersion&&!(0,a.hasMinVersion)(i&&i.minRuntimeVersion,o)){return}return s.injectDefaultImport(`${b}/${r}${l}`,t)}return{name:"corejs2",polyfills:g,entryGlobal(e,s,r){if(e.kind==="import"&&e.source==="core-js"){d(null);inject(Object.keys(g),s);if(t){s.injectGlobalImport("regenerator-runtime/runtime.js")}r.remove()}},usageGlobal(e,t){const s=f(e);if(!s)return;let r=s.desc.global;if(s.kind!=="global"&&e.object&&e.placement==="prototype"){const t=e.object.toLowerCase();r=r.filter(e=>e.includes(t))}inject(r,t)},usagePure(e,t,s){if(e.kind==="in"){if(e.key==="Symbol.iterator"){s.replaceWith(c.callExpression(t.injectDefaultImport(`${b}/is-iterable${l}`,"isIterable"),[s.node.right]))}return}if(s.parentPath.isUnaryExpression({operator:"delete"}))return;if(e.kind==="property"){if(!s.isMemberExpression())return;if(!s.isReferenced())return;if(e.key==="Symbol.iterator"&&y("es6.symbol")&&s.parentPath.isCallExpression({callee:s.node})&&s.parent.arguments.length===0){s.parentPath.replaceWith(c.callExpression(t.injectDefaultImport(`${b}/get-iterator${l}`,"getIterator"),[s.node.object]));s.skip();return}}const r=f(e);if(!r)return;const i=maybeInjectPure(r.desc,r.name,t);if(i)s.replaceWith(i)},visitor:m==="usage-global"&&{YieldExpression(t){if(t.node.delegate){inject("web.dom.iterable",e.getUtils(t))}},"ForOfStatement|ArrayPattern"(t){i.CommonIterators.forEach(s=>inject(s,e.getUtils(t)))}}}});t.default=f},61018:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var r=s(36860);let i=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const n=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,s){const r=Object.assign({column:0,line:-1},e.start);const i=Object.assign({},r,e.end);const{linesAbove:n=2,linesBelow:a=3}=s||{};const o=r.line;const l=r.column;const c=i.line;const p=i.column;let u=Math.max(o-(n+1),0);let h=Math.min(t.length,c+a);if(o===-1){u=0}if(c===-1){h=t.length}const f=c-o;const d={};if(f){for(let e=0;e<=f;e++){const s=e+o;if(!l){d[s]=true}else if(e===0){const e=t[s-1].length;d[s]=[l,e-l+1]}else if(e===f){d[s]=[0,p]}else{const r=t[s-e].length;d[s]=[0,r]}}}else{if(l===p){if(l){d[o]=[l,0]}else{d[o]=true}}else{d[o]=[l,p-l]}}return{start:u,end:h,markerLines:d}}function codeFrameColumns(e,t,s={}){const i=(s.highlightCode||s.forceColor)&&(0,r.shouldHighlight)(s);const a=(0,r.getChalk)(s);const o=getDefs(a);const l=(e,t)=>{return i?e(t):t};const c=e.split(n);const{start:p,end:u,markerLines:h}=getMarkerLines(t,c,s);const f=t.start&&typeof t.start.column==="number";const d=String(u).length;const y=i?(0,r.default)(e,s):e;let m=y.split(n).slice(p,u).map((e,t)=>{const r=p+1+t;const i=` ${r}`.slice(-d);const n=` ${i} |`;const a=h[r];const c=!h[r+1];if(a){let t="";if(Array.isArray(a)){const r=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const i=a[1]||1;t=["\n ",l(o.gutter,n.replace(/\d/g," "))," ",r,l(o.marker,"^").repeat(i)].join("");if(c&&s.message){t+=" "+l(o.message,s.message)}}return[l(o.marker,">"),l(o.gutter,n),e.length>0?` ${e}`:"",t].join("")}else{return` ${l(o.gutter,n)}${e.length>0?` ${e}`:""}`}}).join("\n");if(s.message&&!f){m=`${" ".repeat(d+1)}${s.message}\n${m}`}if(i){return a.reset(m)}else{return m}}function _default(e,t,s,r={}){if(!i){i=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}s=Math.max(s,0);const n={start:{column:s,line:t}};return codeFrameColumns(e,n,r)}},57607:(e,t,s)=>{e.exports=s(73889)},40830:(e,t,s)=>{e.exports=s(66059)},81513:(e,t,s)=>{e.exports=s(38209)},20541:()=>{},18097:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeWeakCache=makeWeakCache;t.makeWeakCacheSync=makeWeakCacheSync;t.makeStrongCache=makeStrongCache;t.makeStrongCacheSync=makeStrongCacheSync;t.assertSimpleType=assertSimpleType;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(77805);var i=s(45079);const n=e=>{return _gensync()(e).sync};function*genTrue(){return true}function makeWeakCache(e){return makeCachedFunction(WeakMap,e)}function makeWeakCacheSync(e){return n(makeWeakCache(e))}function makeStrongCache(e){return makeCachedFunction(Map,e)}function makeStrongCacheSync(e){return n(makeStrongCache(e))}function makeCachedFunction(e,t){const s=new e;const n=new e;const a=new e;return function*cachedFunction(e,o){const l=yield*(0,r.isAsync)();const c=l?n:s;const p=yield*getCachedValueOrWait(l,c,a,e,o);if(p.valid)return p.value;const u=new CacheConfigurator(o);const h=t(e,u);let f;let d;if((0,i.isIterableIterator)(h)){const t=h;d=yield*(0,r.onFirstPause)(t,()=>{f=setupAsyncLocks(u,a,e)})}else{d=h}updateFunctionCache(c,u,e,d);if(f){a.delete(e);f.release(d)}return d}}function*getCachedValue(e,t,s){const r=e.get(t);if(r){for(const{value:e,valid:t}of r){if(yield*t(s))return{valid:true,value:e}}}return{valid:false,value:null}}function*getCachedValueOrWait(e,t,s,i,n){const a=yield*getCachedValue(t,i,n);if(a.valid){return a}if(e){const e=yield*getCachedValue(s,i,n);if(e.valid){const t=yield*(0,r.waitFor)(e.value.promise);return{valid:true,value:t}}}return{valid:false,value:null}}function setupAsyncLocks(e,t,s){const r=new Lock;updateFunctionCache(t,e,s,r);return r}function updateFunctionCache(e,t,s,r){if(!t.configured())t.forever();let i=e.get(s);t.deactivate();switch(t.mode()){case"forever":i=[{value:r,valid:genTrue}];e.set(s,i);break;case"invalidate":i=[{value:r,valid:t.validator()}];e.set(s,i);break;case"valid":if(i){i.push({value:r,valid:t.validator()})}else{i=[{value:r,valid:t.validator()}];e.set(s,i)}}}class CacheConfigurator{constructor(e){this._active=true;this._never=false;this._forever=false;this._invalidate=false;this._configured=false;this._pairs=[];this._data=void 0;this._data=e}simple(){return makeSimpleConfigurator(this)}mode(){if(this._never)return"never";if(this._forever)return"forever";if(this._invalidate)return"invalidate";return"valid"}forever(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never){throw new Error("Caching has already been configured with .never()")}this._forever=true;this._configured=true}never(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._forever){throw new Error("Caching has already been configured with .forever()")}this._never=true;this._configured=true}using(e){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never||this._forever){throw new Error("Caching has already been configured with .never or .forever()")}this._configured=true;const t=e(this._data);const s=(0,r.maybeAsync)(e,`You appear to be using an async cache handler, but Babel has been called synchronously`);if((0,r.isThenable)(t)){return t.then(e=>{this._pairs.push([e,s]);return e})}this._pairs.push([t,s]);return t}invalidate(e){this._invalidate=true;return this.using(e)}validator(){const e=this._pairs;return function*(t){for(const[s,r]of e){if(s!==(yield*r(t)))return false}return true}}deactivate(){this._active=false}configured(){return this._configured}}function makeSimpleConfigurator(e){function cacheFn(t){if(typeof t==="boolean"){if(t)e.forever();else e.never();return}return e.using(()=>assertSimpleType(t()))}cacheFn.forever=(()=>e.forever());cacheFn.never=(()=>e.never());cacheFn.using=(t=>e.using(()=>assertSimpleType(t())));cacheFn.invalidate=(t=>e.invalidate(()=>assertSimpleType(t())));return cacheFn}function assertSimpleType(e){if((0,r.isThenable)(e)){throw new Error(`You appear to be using an async cache handler, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously handle your caching logic.`)}if(e!=null&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"){throw new Error("Cache keys must be either string, boolean, number, null, or undefined.")}return e}class Lock{constructor(){this.released=false;this.promise=void 0;this._resolve=void 0;this.promise=new Promise(e=>{this._resolve=e})}release(e){this.released=true;this._resolve(e)}}},75894:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPresetChain=buildPresetChain;t.buildRootChain=buildRootChain;t.buildPresetChainWalker=void 0;function _path(){const e=s(85622);_path=function(){return e};return e}function _debug(){const e=s(31185);_debug=function(){return e};return e}var r=s(54880);var i=s(48223);var n=s(31758);var a=s(22426);var o=s(18097);var l=s(49890);const c=_debug()("babel:config:config-chain");function*buildPresetChain(e,t){const s=yield*p(e,t);if(!s)return null;return{plugins:dedupDescriptors(s.plugins),presets:dedupDescriptors(s.presets),options:s.options.map(e=>normalizeOptions(e)),files:new Set}}const p=makeChainWalker({root:e=>u(e),env:(e,t)=>h(e)(t),overrides:(e,t)=>f(e)(t),overridesEnv:(e,t,s)=>d(e)(t)(s),createLogger:()=>()=>{}});t.buildPresetChainWalker=p;const u=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.alias,l.createUncachedDescriptors));const h=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const f=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const d=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(s=>buildOverrideEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t,s))));function*buildRootChain(e,t){let s,r;const i=new n.ConfigPrinter;const o=yield*b({options:e,dirname:t.cwd},t,undefined,i);if(!o)return null;const l=yield*i.output();let c;if(typeof e.configFile==="string"){c=yield*(0,a.loadConfig)(e.configFile,t.cwd,t.envName,t.caller)}else if(e.configFile!==false){c=yield*(0,a.findRootConfig)(t.root,t.envName,t.caller)}let{babelrc:p,babelrcRoots:u}=e;let h=t.cwd;const f=emptyChain();const d=new n.ConfigPrinter;if(c){const e=y(c);const r=yield*loadFileChain(e,t,undefined,d);if(!r)return null;s=yield*d.output();if(p===undefined){p=e.options.babelrc}if(u===undefined){h=e.dirname;u=e.options.babelrcRoots}mergeChain(f,r)}let g,x;let v=false;const w=emptyChain();if((p===true||p===undefined)&&typeof t.filename==="string"){const e=yield*(0,a.findPackageData)(t.filename);if(e&&babelrcLoadEnabled(t,e,u,h)){({ignore:g,config:x}=yield*(0,a.findRelativeConfig)(e,t.envName,t.caller));if(g){w.files.add(g.filepath)}if(g&&shouldIgnore(t,g.ignore,null,g.dirname)){v=true}if(x&&!v){const e=m(x);const s=new n.ConfigPrinter;const i=yield*loadFileChain(e,t,undefined,s);if(!i){v=true}else{r=yield*s.output();mergeChain(w,i)}}if(x&&v){w.files.add(x.filepath)}}}if(t.showConfig){console.log(`Babel configs on "${t.filename}" (ascending priority):\n`+[s,r,l].filter(e=>!!e).join("\n\n")+"\n-----End Babel configs-----")}const P=mergeChain(mergeChain(mergeChain(emptyChain(),f),w),o);return{plugins:v?[]:dedupDescriptors(P.plugins),presets:v?[]:dedupDescriptors(P.presets),options:v?[]:P.options.map(e=>normalizeOptions(e)),fileHandling:v?"ignored":"transpile",ignore:g||undefined,babelrc:x||undefined,config:c||undefined,files:P.files}}function babelrcLoadEnabled(e,t,s,r){if(typeof s==="boolean")return s;const n=e.root;if(s===undefined){return t.directories.indexOf(n)!==-1}let a=s;if(!Array.isArray(a)){a=[a]}a=a.map(e=>{return typeof e==="string"?_path().resolve(r,e):e});if(a.length===1&&a[0]===n){return t.directories.indexOf(n)!==-1}return a.some(s=>{if(typeof s==="string"){s=(0,i.default)(s,r)}return t.directories.some(t=>{return matchPattern(s,r,t,e)})})}const y=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,r.validate)("configfile",e.options)}));const m=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,r.validate)("babelrcfile",e.options)}));const g=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,r.validate)("extendsfile",e.options)}));const b=makeChainWalker({root:e=>buildRootDescriptors(e,"base",l.createCachedDescriptors),env:(e,t)=>buildEnvDescriptors(e,"base",l.createCachedDescriptors,t),overrides:(e,t)=>buildOverrideDescriptors(e,"base",l.createCachedDescriptors,t),overridesEnv:(e,t,s)=>buildOverrideEnvDescriptors(e,"base",l.createCachedDescriptors,t,s),createLogger:(e,t,s)=>buildProgrammaticLogger(e,t,s)});const x=makeChainWalker({root:e=>v(e),env:(e,t)=>w(e)(t),overrides:(e,t)=>P(e)(t),overridesEnv:(e,t,s)=>E(e)(t)(s),createLogger:(e,t,s)=>buildFileLogger(e.filepath,t,s)});function*loadFileChain(e,t,s,r){const i=yield*x(e,t,s,r);if(i){i.files.add(e.filepath)}return i}const v=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.filepath,l.createUncachedDescriptors));const w=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const P=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const E=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(s=>buildOverrideEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t,s))));function buildFileLogger(e,t,s){if(!s){return()=>{}}return s.configure(t.showConfig,n.ChainFormatter.Config,{filepath:e})}function buildRootDescriptors({dirname:e,options:t},s,r){return r(e,t,s)}function buildProgrammaticLogger(e,t,s){var r;if(!s){return()=>{}}return s.configure(t.showConfig,n.ChainFormatter.Programmatic,{callerName:(r=t.caller)==null?void 0:r.name})}function buildEnvDescriptors({dirname:e,options:t},s,r,i){const n=t.env&&t.env[i];return n?r(e,n,`${s}.env["${i}"]`):null}function buildOverrideDescriptors({dirname:e,options:t},s,r,i){const n=t.overrides&&t.overrides[i];if(!n)throw new Error("Assertion failure - missing override");return r(e,n,`${s}.overrides[${i}]`)}function buildOverrideEnvDescriptors({dirname:e,options:t},s,r,i,n){const a=t.overrides&&t.overrides[i];if(!a)throw new Error("Assertion failure - missing override");const o=a.env&&a.env[n];return o?r(e,o,`${s}.overrides[${i}].env["${n}"]`):null}function makeChainWalker({root:e,env:t,overrides:s,overridesEnv:r,createLogger:i}){return function*(n,a,o=new Set,l){const{dirname:c}=n;const p=[];const u=e(n);if(configIsApplicable(u,c,a)){p.push({config:u,envName:undefined,index:undefined});const e=t(n,a.envName);if(e&&configIsApplicable(e,c,a)){p.push({config:e,envName:a.envName,index:undefined})}(u.options.overrides||[]).forEach((e,t)=>{const i=s(n,t);if(configIsApplicable(i,c,a)){p.push({config:i,index:t,envName:undefined});const e=r(n,t,a.envName);if(e&&configIsApplicable(e,c,a)){p.push({config:e,index:t,envName:a.envName})}}})}if(p.some(({config:{options:{ignore:e,only:t}}})=>shouldIgnore(a,e,t,c))){return null}const h=emptyChain();const f=i(n,a,l);for(const{config:e,index:t,envName:s}of p){if(!(yield*mergeExtendsChain(h,e.options,c,a,o,l))){return null}f(e,t,s);yield*mergeChainOpts(h,e)}return h}}function*mergeExtendsChain(e,t,s,r,i,n){if(t.extends===undefined)return true;const o=yield*(0,a.loadConfig)(t.extends,s,r.envName,r.caller);if(i.has(o)){throw new Error(`Configuration cycle detected loading ${o.filepath}.\n`+`File already loaded following the config chain:\n`+Array.from(i,e=>` - ${e.filepath}`).join("\n"))}i.add(o);const l=yield*loadFileChain(g(o),r,i,n);i.delete(o);if(!l)return false;mergeChain(e,l);return true}function mergeChain(e,t){e.options.push(...t.options);e.plugins.push(...t.plugins);e.presets.push(...t.presets);for(const s of t.files){e.files.add(s)}return e}function*mergeChainOpts(e,{options:t,plugins:s,presets:r}){e.options.push(t);e.plugins.push(...yield*s());e.presets.push(...yield*r());return e}function emptyChain(){return{options:[],presets:[],plugins:[],files:new Set}}function normalizeOptions(e){const t=Object.assign({},e);delete t.extends;delete t.env;delete t.overrides;delete t.plugins;delete t.presets;delete t.passPerPreset;delete t.ignore;delete t.only;delete t.test;delete t.include;delete t.exclude;if(Object.prototype.hasOwnProperty.call(t,"sourceMap")){t.sourceMaps=t.sourceMap;delete t.sourceMap}return t}function dedupDescriptors(e){const t=new Map;const s=[];for(const r of e){if(typeof r.value==="function"){const e=r.value;let i=t.get(e);if(!i){i=new Map;t.set(e,i)}let n=i.get(r.name);if(!n){n={value:r};s.push(n);if(!r.ownPass)i.set(r.name,n)}else{n.value=r}}else{s.push({value:r})}}return s.reduce((e,t)=>{e.push(t.value);return e},[])}function configIsApplicable({options:e},t,s){return(e.test===undefined||configFieldIsApplicable(s,e.test,t))&&(e.include===undefined||configFieldIsApplicable(s,e.include,t))&&(e.exclude===undefined||!configFieldIsApplicable(s,e.exclude,t))}function configFieldIsApplicable(e,t,s){const r=Array.isArray(t)?t:[t];return matchesPatterns(e,r,s)}function shouldIgnore(e,t,s,r){if(t&&matchesPatterns(e,t,r)){var i;const s=`No config is applied to "${(i=e.filename)!=null?i:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(t)}\` from "${r}"`;c(s);if(e.showConfig){console.log(s)}return true}if(s&&!matchesPatterns(e,s,r)){var n;const t=`No config is applied to "${(n=e.filename)!=null?n:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(s)}\` from "${r}"`;c(t);if(e.showConfig){console.log(t)}return true}return false}function matchesPatterns(e,t,s){return t.some(t=>matchPattern(t,s,e.filename,e))}function matchPattern(e,t,s,r){if(typeof e==="function"){return!!e(s,{dirname:t,envName:r.envName,caller:r.caller})}if(typeof s!=="string"){throw new Error(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`)}if(typeof e==="string"){e=(0,i.default)(e,t)}return e.test(s)}},49890:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createCachedDescriptors=createCachedDescriptors;t.createUncachedDescriptors=createUncachedDescriptors;t.createDescriptor=createDescriptor;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(22426);var i=s(19809);var n=s(18097);var a=s(88020);function isEqualDescriptor(e,t){return e.name===t.name&&e.value===t.value&&e.options===t.options&&e.dirname===t.dirname&&e.alias===t.alias&&e.ownPass===t.ownPass&&(e.file&&e.file.request)===(t.file&&t.file.request)&&(e.file&&e.file.resolved)===(t.file&&t.file.resolved)}function*handlerOf(e){return e}function optionsWithResolvedBrowserslistConfigFile(e,t){if(typeof e.browserslistConfigFile==="string"){e.browserslistConfigFile=(0,a.resolveBrowserslistConfigFile)(e.browserslistConfigFile,t)}return e}function createCachedDescriptors(e,t,s){const{plugins:r,presets:i,passPerPreset:n}=t;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),plugins:r?()=>p(r,e)(s):()=>handlerOf([]),presets:i?()=>l(i,e)(s)(!!n):()=>handlerOf([])}}function createUncachedDescriptors(e,t,s){let r;let i;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),*plugins(){if(!r){r=yield*createPluginDescriptors(t.plugins||[],e,s)}return r},*presets(){if(!i){i=yield*createPresetDescriptors(t.presets||[],e,s,!!t.passPerPreset)}return i}}}const o=new WeakMap;const l=(0,n.makeWeakCacheSync)((e,t)=>{const s=t.using(e=>e);return(0,n.makeStrongCacheSync)(t=>(0,n.makeStrongCache)(function*(r){const i=yield*createPresetDescriptors(e,s,t,r);return i.map(e=>loadCachedDescriptor(o,e))}))});const c=new WeakMap;const p=(0,n.makeWeakCacheSync)((e,t)=>{const s=t.using(e=>e);return(0,n.makeStrongCache)(function*(t){const r=yield*createPluginDescriptors(e,s,t);return r.map(e=>loadCachedDescriptor(c,e))})});const u={};function loadCachedDescriptor(e,t){const{value:s,options:r=u}=t;if(r===false)return t;let i=e.get(s);if(!i){i=new WeakMap;e.set(s,i)}let n=i.get(r);if(!n){n=[];i.set(r,n)}if(n.indexOf(t)===-1){const e=n.filter(e=>isEqualDescriptor(e,t));if(e.length>0){return e[0]}n.push(t)}return t}function*createPresetDescriptors(e,t,s,r){return yield*createDescriptors("preset",e,t,s,r)}function*createPluginDescriptors(e,t,s){return yield*createDescriptors("plugin",e,t,s)}function*createDescriptors(e,t,s,r,i){const n=yield*_gensync().all(t.map((t,n)=>createDescriptor(t,s,{type:e,alias:`${r}$${n}`,ownPass:!!i})));assertNoDuplicates(n);return n}function*createDescriptor(e,t,{type:s,alias:n,ownPass:a}){const o=(0,i.getItemDescriptor)(e);if(o){return o}let l;let c;let p=e;if(Array.isArray(p)){if(p.length===3){[p,c,l]=p}else{[p,c]=p}}let u=undefined;let h=null;if(typeof p==="string"){if(typeof s!=="string"){throw new Error("To resolve a string-based item, the type of item must be given")}const e=s==="plugin"?r.loadPlugin:r.loadPreset;const i=p;({filepath:h,value:p}=yield*e(p,t));u={request:i,resolved:h}}if(!p){throw new Error(`Unexpected falsy value: ${String(p)}`)}if(typeof p==="object"&&p.__esModule){if(p.default){p=p.default}else{throw new Error("Must export a default export when using ES6 modules.")}}if(typeof p!=="object"&&typeof p!=="function"){throw new Error(`Unsupported format: ${typeof p}. Expected an object or a function.`)}if(h!==null&&typeof p==="object"&&p){throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${h}`)}return{name:l,alias:h||n,value:p,options:c,dirname:t,ownPass:a,file:u}}function assertNoDuplicates(e){const t=new Map;for(const s of e){if(typeof s.value!=="function")continue;let r=t.get(s.value);if(!r){r=new Set;t.set(s.value,r)}if(r.has(s.name)){const t=e.filter(e=>e.value===s.value);throw new Error([`Duplicate plugin/preset detected.`,`If you'd like to use two separate instances of a plugin,`,`they need separate names, e.g.`,``,` plugins: [`,` ['some-plugin', {}],`,` ['some-plugin', {}, 'some unique name'],`,` ]`,``,`Duplicates detected are:`,`${JSON.stringify(t,null,2)}`].join("\n"))}r.add(s.name)}}},95676:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findConfigUpwards=findConfigUpwards;t.findRelativeConfig=findRelativeConfig;t.findRootConfig=findRootConfig;t.loadConfig=loadConfig;t.resolveShowConfigPath=resolveShowConfigPath;t.ROOT_CONFIG_FILENAMES=void 0;function _debug(){const e=s(31185);_debug=function(){return e};return e}function _fs(){const e=s(35747);_fs=function(){return e};return e}function _path(){const e=s(85622);_path=function(){return e};return e}function _json(){const e=s(33170);_json=function(){return e};return e}function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(18097);var i=s(45842);var n=s(62383);var a=s(34423);var o=s(48223);var l=s(7901);function _module(){const e=s(32282);_module=function(){return e};return e}const c=_debug()("babel:config:loading:files:configuration");const p=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json"];t.ROOT_CONFIG_FILENAMES=p;const u=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json"];const h=".babelignore";function findConfigUpwards(e){let t=e;for(;;){for(const e of p){if(_fs().existsSync(_path().join(t,e))){return t}}const e=_path().dirname(t);if(t===e)break;t=e}return null}function*findRelativeConfig(e,t,s){let r=null;let i=null;const n=_path().dirname(e.filepath);for(const o of e.directories){if(!r){var a;r=yield*loadOneConfig(u,o,t,s,((a=e.pkg)==null?void 0:a.dirname)===o?y(e.pkg):null)}if(!i){const e=_path().join(o,h);i=yield*g(e);if(i){c("Found ignore %o from %o.",i.filepath,n)}}}return{config:r,ignore:i}}function findRootConfig(e,t,s){return loadOneConfig(p,e,t,s)}function*loadOneConfig(e,t,s,r,i=null){const n=yield*_gensync().all(e.map(e=>readConfig(_path().join(t,e),s,r)));const a=n.reduce((e,s)=>{if(s&&e){throw new Error(`Multiple configuration files found. Please remove one:\n`+` - ${_path().basename(e.filepath)}\n`+` - ${s.filepath}\n`+`from ${t}`)}return s||e},i);if(a){c("Found configuration %o from %o.",a.filepath,t)}return a}function*loadConfig(e,t,r,i){const n=(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(e,{paths:[t]});const a=yield*readConfig(n,r,i);if(!a){throw new Error(`Config file ${n} contains no configuration data`)}c("Loaded config %o from %o.",e,t);return a}function readConfig(e,t,s){const r=_path().extname(e);return r===".js"||r===".cjs"||r===".mjs"?d(e,{envName:t,caller:s}):m(e)}const f=new Set;const d=(0,r.makeStrongCache)(function*readConfigJS(e,t){if(!_fs().existsSync(e)){t.never();return null}if(f.has(e)){t.never();c("Auto-ignoring usage of config %o.",e);return{filepath:e,dirname:_path().dirname(e),options:{}}}let s;try{f.add(e);s=yield*(0,a.default)(e,"You appear to be using a native ECMAScript module configuration "+"file, which is only supported when running Babel asynchronously.")}catch(t){t.message=`${e}: Error while loading config - ${t.message}`;throw t}finally{f.delete(e)}let r=false;if(typeof s==="function"){yield*[];s=s((0,i.makeConfigAPI)(t));r=true}if(!s||typeof s!=="object"||Array.isArray(s)){throw new Error(`${e}: Configuration should be an exported JavaScript object.`)}if(typeof s.then==="function"){throw new Error(`You appear to be using an async configuration, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously return your config.`)}if(r&&!t.configured())throwConfigError();return{filepath:e,dirname:_path().dirname(e),options:s}});const y=(0,r.makeWeakCacheSync)(e=>{const t=e.options["babel"];if(typeof t==="undefined")return null;if(typeof t!=="object"||Array.isArray(t)||t===null){throw new Error(`${e.filepath}: .babel property must be an object`)}return{filepath:e.filepath,dirname:e.dirname,options:t}});const m=(0,n.makeStaticFileCache)((e,t)=>{let s;try{s=_json().parse(t)}catch(t){t.message=`${e}: Error while parsing config - ${t.message}`;throw t}if(!s)throw new Error(`${e}: No config detected`);if(typeof s!=="object"){throw new Error(`${e}: Config returned typeof ${typeof s}`)}if(Array.isArray(s)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:s}});const g=(0,n.makeStaticFileCache)((e,t)=>{const s=_path().dirname(e);const r=t.split("\n").map(e=>e.replace(/#(.*?)$/,"").trim()).filter(e=>!!e);for(const e of r){if(e[0]==="!"){throw new Error(`Negation of file paths is not supported.`)}}return{filepath:e,dirname:_path().dirname(e),ignore:r.map(e=>(0,o.default)(e,s))}});function*resolveShowConfigPath(e){const t=process.env.BABEL_SHOW_CONFIG_FOR;if(t!=null){const s=_path().resolve(e,t);const r=yield*l.stat(s);if(!r.isFile()){throw new Error(`${s}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`)}return s}return null}function throwConfigError(){throw new Error(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don't call this function again.\n api.cache(true);\n\n // Don't cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === "production");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};`)}},1542:(e,t,s)=>{"use strict";var r;r={value:true};t.Z=import_;function import_(e){return s(78046)(e)}},22426:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"findPackageData",{enumerable:true,get:function(){return r.findPackageData}});Object.defineProperty(t,"findConfigUpwards",{enumerable:true,get:function(){return i.findConfigUpwards}});Object.defineProperty(t,"findRelativeConfig",{enumerable:true,get:function(){return i.findRelativeConfig}});Object.defineProperty(t,"findRootConfig",{enumerable:true,get:function(){return i.findRootConfig}});Object.defineProperty(t,"loadConfig",{enumerable:true,get:function(){return i.loadConfig}});Object.defineProperty(t,"resolveShowConfigPath",{enumerable:true,get:function(){return i.resolveShowConfigPath}});Object.defineProperty(t,"ROOT_CONFIG_FILENAMES",{enumerable:true,get:function(){return i.ROOT_CONFIG_FILENAMES}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return n.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return n.resolvePreset}});Object.defineProperty(t,"loadPlugin",{enumerable:true,get:function(){return n.loadPlugin}});Object.defineProperty(t,"loadPreset",{enumerable:true,get:function(){return n.loadPreset}});var r=s(68128);var i=s(95676);var n=s(35537);({})},34423:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadCjsOrMjsDefault;var r=s(77805);function _path(){const e=s(85622);_path=function(){return e};return e}function _url(){const e=s(78835);_url=function(){return e};return e}function _module(){const e=s(32282);_module=function(){return e};return e}function asyncGeneratorStep(e,t,s,r,i,n,a){try{var o=e[n](a);var l=o.value}catch(e){s(e);return}if(o.done){t(l)}else{Promise.resolve(l).then(r,i)}}function _asyncToGenerator(e){return function(){var t=this,s=arguments;return new Promise(function(r,i){var n=e.apply(t,s);function _next(e){asyncGeneratorStep(n,r,i,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(n,r,i,_next,_throw,"throw",e)}_next(undefined)})}}let i;try{i=s(1542).Z}catch(e){}function*loadCjsOrMjsDefault(e,t,s=false){switch(guessJSModuleType(e)){case"cjs":return loadCjsDefault(e,s);case"unknown":try{return loadCjsDefault(e,s)}catch(e){if(e.code!=="ERR_REQUIRE_ESM")throw e}case"mjs":if(yield*(0,r.isAsync)()){return yield*(0,r.waitFor)(loadMjsDefault(e))}throw new Error(t)}}function guessJSModuleType(e){switch(_path().extname(e)){case".cjs":return"cjs";case".mjs":return"mjs";default:return"unknown"}}function loadCjsDefault(e,t){const s=require(e);return s!=null&&s.__esModule?s.default||(t?s:undefined):s}function loadMjsDefault(e){return _loadMjsDefault.apply(this,arguments)}function _loadMjsDefault(){_loadMjsDefault=_asyncToGenerator(function*(e){if(!i){throw new Error("Internal error: Native ECMAScript modules aren't supported"+" by this platform.\n")}const t=yield i((0,_url().pathToFileURL)(e));return t.default});return _loadMjsDefault.apply(this,arguments)}},68128:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findPackageData=findPackageData;function _path(){const e=s(85622);_path=function(){return e};return e}var r=s(62383);const i="package.json";function*findPackageData(e){let t=null;const s=[];let r=true;let a=_path().dirname(e);while(!t&&_path().basename(a)!=="node_modules"){s.push(a);t=yield*n(_path().join(a,i));const e=_path().dirname(a);if(a===e){r=false;break}a=e}return{filepath:e,directories:s,pkg:t,isPackage:r}}const n=(0,r.makeStaticFileCache)((e,t)=>{let s;try{s=JSON.parse(t)}catch(t){t.message=`${e}: Error while parsing JSON - ${t.message}`;throw t}if(!s)throw new Error(`${e}: No config detected`);if(typeof s!=="object"){throw new Error(`${e}: Config returned typeof ${typeof s}`)}if(Array.isArray(s)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:s}})},35537:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolvePlugin=resolvePlugin;t.resolvePreset=resolvePreset;t.loadPlugin=loadPlugin;t.loadPreset=loadPreset;function _debug(){const e=s(31185);_debug=function(){return e};return e}function _path(){const e=s(85622);_path=function(){return e};return e}var r=s(34423);function _module(){const e=s(32282);_module=function(){return e};return e}const i=_debug()("babel:config:loading:files:plugins");const n=/^module:/;const a=/^(?!@|module:|[^/]+\/|babel-plugin-)/;const o=/^(?!@|module:|[^/]+\/|babel-preset-)/;const l=/^(@babel\/)(?!plugin-|[^/]+\/)/;const c=/^(@babel\/)(?!preset-|[^/]+\/)/;const p=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/;const u=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/;const h=/^(@(?!babel$)[^/]+)$/;function resolvePlugin(e,t){return resolveStandardizedName("plugin",e,t)}function resolvePreset(e,t){return resolveStandardizedName("preset",e,t)}function*loadPlugin(e,t){const s=resolvePlugin(e,t);if(!s){throw new Error(`Plugin ${e} not found relative to ${t}`)}const r=yield*requireModule("plugin",s);i("Loaded plugin %o from %o.",e,t);return{filepath:s,value:r}}function*loadPreset(e,t){const s=resolvePreset(e,t);if(!s){throw new Error(`Preset ${e} not found relative to ${t}`)}const r=yield*requireModule("preset",s);i("Loaded preset %o from %o.",e,t);return{filepath:s,value:r}}function standardizeName(e,t){if(_path().isAbsolute(t))return t;const s=e==="preset";return t.replace(s?o:a,`babel-${e}-`).replace(s?c:l,`$1${e}-`).replace(s?u:p,`$1babel-${e}-`).replace(h,`$1/babel-${e}`).replace(n,"")}function resolveStandardizedName(e,t,r=process.cwd()){const i=standardizeName(e,t);try{return(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(i,{paths:[r]})}catch(n){if(n.code!=="MODULE_NOT_FOUND")throw n;if(i!==t){let e=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(t,{paths:[r]});e=true}catch(e){}if(e){n.message+=`\n- If you want to resolve "${t}", use "module:${t}"`}}let a=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(standardizeName(e,"@babel/"+t),{paths:[r]});a=true}catch(e){}if(a){n.message+=`\n- Did you mean "@babel/${t}"?`}let o=false;const l=e==="preset"?"plugin":"preset";try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(standardizeName(l,t),{paths:[r]});o=true}catch(e){}if(o){n.message+=`\n- Did you accidentally pass a ${l} as a ${e}?`}throw n}}const f=new Set;function*requireModule(e,t){if(f.has(t)){throw new Error(`Reentrant ${e} detected trying to load "${t}". This module is not ignored `+"and is trying to load itself while compiling itself, leading to a dependency cycle. "+'We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.')}try{f.add(t);return yield*(0,r.default)(t,`You appear to be using a native ECMAScript module ${e}, `+"which is only supported when running Babel asynchronously.",true)}catch(e){e.message=`[BABEL]: ${e.message} (While processing: ${t})`;throw e}finally{f.delete(t)}}},62383:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeStaticFileCache=makeStaticFileCache;var r=s(18097);var i=s(7901);function _fs2(){const e=s(35747);_fs2=function(){return e};return e}function makeStaticFileCache(e){return(0,r.makeStrongCache)(function*(t,s){const r=s.invalidate(()=>fileMtime(t));if(r===null){return null}return e(t,yield*i.readFile(t,"utf8"))})}function fileMtime(e){if(!_fs2().existsSync(e))return null;try{return+_fs2().statSync(e).mtime}catch(e){if(e.code!=="ENOENT"&&e.code!=="ENOTDIR")throw e}return null}},48929:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(77805);var i=s(45079);var n=s(66911);var a=s(30681);var o=s(19809);var l=s(75894);function _traverse(){const e=s(4267);_traverse=function(){return e};return e}var c=s(18097);var p=s(54880);var u=s(33261);var h=s(45842);var f=s(68520);var d=s(20541);var y=_gensync()(function*loadFullConfig(e){var t;const s=yield*(0,f.default)(e);if(!s){return null}const{options:r,context:n,fileHandling:a}=s;if(a==="ignored"){return null}const l={};const{plugins:c,presets:u}=r;if(!c||!u){throw new Error("Assertion failure - plugins and presets exist")}const h=Object.assign({},n,{targets:r.targets});const d=e=>{const t=(0,o.getItemDescriptor)(e);if(!t){throw new Error("Assertion failure - must be config item")}return t};const y=u.map(d);const m=c.map(d);const g=[[]];const b=[];const x=yield*enhanceError(n,function*recursePresetDescriptors(e,t){const s=[];for(let r=0;r0){g.splice(1,0,...s.map(e=>e.pass).filter(e=>e!==t));for(const{preset:e,pass:t}of s){if(!e)return true;t.push(...e.plugins);const s=yield*recursePresetDescriptors(e.presets,t);if(s)return true;e.options.forEach(e=>{(0,i.mergeOptions)(l,e)})}}})(y,g[0]);if(x)return null;const v=l;(0,i.mergeOptions)(v,r);const w=Object.assign({},h,{assumptions:(t=v.assumptions)!=null?t:{}});yield*enhanceError(n,function*loadPluginDescriptors(){g[0].unshift(...m);for(const e of g){const t=[];b.push(t);for(let s=0;se.length>0).map(e=>({plugins:e}));v.passPerPreset=v.presets.length>0;return{options:v,passes:b}});t.default=y;function enhanceError(e,t){return function*(s,r){try{return yield*t(s,r)}catch(t){if(!/^\[BABEL\]/.test(t.message)){t.message=`[BABEL] ${e.filename||"unknown"}: ${t.message}`}throw t}}}const m=e=>(0,c.makeWeakCache)(function*({value:t,options:s,dirname:i,alias:a},o){if(s===false)throw new Error("Assertion failure");s=s||{};let l=t;if(typeof t==="function"){const c=(0,r.maybeAsync)(t,`You appear to be using an async plugin/preset, but Babel has been called synchronously`);const p=Object.assign({},n,e(o));try{l=yield*c(p,s,i)}catch(e){if(a){e.message+=` (While processing: ${JSON.stringify(a)})`}throw e}}if(!l||typeof l!=="object"){throw new Error("Plugin/Preset did not return an object.")}if((0,r.isThenable)(l)){yield*[];throw new Error(`You appear to be using a promise as a plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version. `+`As an alternative, you can prefix the promise with "await". `+`(While processing: ${JSON.stringify(a)})`)}return{value:l,options:s,dirname:i,alias:a}});const g=m(h.makePluginAPI);const b=m(h.makePresetAPI);function*loadPluginDescriptor(e,t){if(e.value instanceof a.default){if(e.options){throw new Error("Passed options to an existing Plugin instance will not work.")}return e.value}return yield*x(yield*g(e,t),t)}const x=(0,c.makeWeakCache)(function*({value:e,options:t,dirname:s,alias:i},n){const o=(0,u.validatePluginObject)(e);const l=Object.assign({},o);if(l.visitor){l.visitor=_traverse().default.explode(Object.assign({},l.visitor))}if(l.inherits){const e={name:undefined,alias:`${i}$inherits`,value:l.inherits,options:t,dirname:s};const a=yield*(0,r.forwardAsync)(loadPluginDescriptor,t=>{return n.invalidate(s=>t(e,s))});l.pre=chain(a.pre,l.pre);l.post=chain(a.post,l.post);l.manipulateOptions=chain(a.manipulateOptions,l.manipulateOptions);l.visitor=_traverse().default.visitors.merge([a.visitor||{},l.visitor||{}])}return new a.default(l,t,i)});const v=(e,t)=>{if(e.test||e.include||e.exclude){const e=t.name?`"${t.name}"`:"/* your preset */";throw new Error([`Preset ${e} requires a filename to be set when babel is called directly,`,`\`\`\``,`babel.transform(code, { filename: 'file.ts', presets: [${e}] });`,`\`\`\``,`See https://babeljs.io/docs/en/options#filename for more information.`].join("\n"))}};const w=(e,t,s)=>{if(!t.filename){const{options:t}=e;v(t,s);if(t.overrides){t.overrides.forEach(e=>v(e,s))}}};function*loadPresetDescriptor(e,t){const s=P(yield*b(e,t));w(s,t,e);return yield*(0,l.buildPresetChain)(s,t)}const P=(0,c.makeWeakCacheSync)(({value:e,dirname:t,alias:s})=>{return{options:(0,p.validate)("preset",e),alias:s,dirname:t}});function chain(e,t){const s=[e,t].filter(Boolean);if(s.length<=1)return s[0];return function(...e){for(const t of s){t.apply(this,e)}}}},45842:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeConfigAPI=makeConfigAPI;t.makePresetAPI=makePresetAPI;t.makePluginAPI=makePluginAPI;function _semver(){const e=s(62519);_semver=function(){return e};return e}var r=s(66911);var i=s(18097);var n=s(20541);function makeConfigAPI(e){const t=t=>e.using(e=>{if(typeof t==="undefined")return e.envName;if(typeof t==="function"){return(0,i.assertSimpleType)(t(e.envName))}if(!Array.isArray(t))t=[t];return t.some(t=>{if(typeof t!=="string"){throw new Error("Unexpected non-string value")}return t===e.envName})});const s=t=>e.using(e=>(0,i.assertSimpleType)(t(e.caller)));return{version:r.version,cache:e.simple(),env:t,async:()=>false,caller:s,assertVersion:assertVersion}}function makePresetAPI(e){const t=()=>JSON.parse(e.using(e=>JSON.stringify(e.targets)));return Object.assign({},makeConfigAPI(e),{targets:t})}function makePluginAPI(e){const t=t=>e.using(e=>e.assumptions[t]);return Object.assign({},makePresetAPI(e),{assumption:t})}function assertVersion(e){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}if(_semver().satisfies(r.version,e))return;const t=Error.stackTraceLimit;if(typeof t==="number"&&t<25){Error.stackTraceLimit=25}const s=new Error(`Requires Babel "${e}", but was loaded with "${r.version}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`);if(typeof t==="number"){Error.stackTraceLimit=t}throw Object.assign(s,{code:"BABEL_VERSION_UNSUPPORTED",version:r.version,range:e})}},5327:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getEnv=getEnv;function getEnv(e="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||e}},89289:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createConfigItem=createConfigItem;Object.defineProperty(t,"default",{enumerable:true,get:function(){return r.default}});t.createConfigItemAsync=t.createConfigItemSync=t.loadOptionsAsync=t.loadOptionsSync=t.loadOptions=t.loadPartialConfigAsync=t.loadPartialConfigSync=t.loadPartialConfig=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(48929);var i=s(68520);var n=s(19809);const a=_gensync()(function*(e){var t;const s=yield*(0,r.default)(e);return(t=s==null?void 0:s.options)!=null?t:null});const o=_gensync()(n.createConfigItem);const l=e=>(t,s)=>{if(s===undefined&&typeof t==="function"){s=t;t=undefined}return s?e.errback(t,s):e.sync(t)};const c=l(i.loadPartialConfig);t.loadPartialConfig=c;const p=i.loadPartialConfig.sync;t.loadPartialConfigSync=p;const u=i.loadPartialConfig.async;t.loadPartialConfigAsync=u;const h=l(a);t.loadOptions=h;const f=a.sync;t.loadOptionsSync=f;const d=a.async;t.loadOptionsAsync=d;const y=o.sync;t.createConfigItemSync=y;const m=o.async;t.createConfigItemAsync=m;function createConfigItem(e,t,s){if(s!==undefined){return o.errback(e,t,s)}else if(typeof t==="function"){return o.errback(e,undefined,s)}else{return o.sync(e,t)}}},19809:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createItemFromDescriptor=createItemFromDescriptor;t.createConfigItem=createConfigItem;t.getItemDescriptor=getItemDescriptor;function _path(){const e=s(85622);_path=function(){return e};return e}var r=s(49890);function createItemFromDescriptor(e){return new ConfigItem(e)}function*createConfigItem(e,{dirname:t=".",type:s}={}){const i=yield*(0,r.createDescriptor)(e,_path().resolve(t),{type:s,alias:"programmatic item"});return createItemFromDescriptor(i)}function getItemDescriptor(e){if(e!=null&&e[i]){return e._descriptor}return undefined}const i=Symbol.for("@babel/core@7 - ConfigItem");class ConfigItem{constructor(e){this._descriptor=void 0;this[i]=true;this.value=void 0;this.options=void 0;this.dirname=void 0;this.name=void 0;this.file=void 0;this._descriptor=e;Object.defineProperty(this,"_descriptor",{enumerable:false});Object.defineProperty(this,i,{enumerable:false});this.value=this._descriptor.value;this.options=this._descriptor.options;this.dirname=this._descriptor.dirname;this.name=this._descriptor.name;this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:undefined;Object.freeze(this)}}Object.freeze(ConfigItem.prototype)},68520:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadPrivatePartialConfig;t.loadPartialConfig=void 0;function _path(){const e=s(85622);_path=function(){return e};return e}function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(30681);var i=s(45079);var n=s(19809);var a=s(75894);var o=s(5327);var l=s(54880);var c=s(22426);var p=s(88020);function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var s={};var r=Object.keys(e);var i,n;for(n=0;n=0)continue;s[i]=e[i]}return s}function resolveRootMode(e,t){switch(t){case"root":return e;case"upward-optional":{const t=(0,c.findConfigUpwards)(e);return t===null?e:t}case"upward":{const t=(0,c.findConfigUpwards)(e);if(t!==null)return t;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not `+`be found when searching upward from "${e}".\n`+`One of the following config files must be in the directory tree: `+`"${c.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error(`Assertion failure - unknown rootMode value.`)}}function*loadPrivatePartialConfig(e){if(e!=null&&(typeof e!=="object"||Array.isArray(e))){throw new Error("Babel options must be an object, null, or undefined")}const t=e?(0,l.validate)("arguments",e):{};const{envName:s=(0,o.getEnv)(),cwd:r=".",root:u=".",rootMode:h="root",caller:f,cloneInputAst:d=true}=t;const y=_path().resolve(r);const m=resolveRootMode(_path().resolve(y,u),h);const g=typeof t.filename==="string"?_path().resolve(r,t.filename):undefined;const b=yield*(0,c.resolveShowConfigPath)(y);const x={filename:g,cwd:y,root:m,envName:s,caller:f,showConfig:b===g};const v=yield*(0,a.buildRootChain)(t,x);if(!v)return null;const w={assumptions:{}};v.options.forEach(e=>{(0,i.mergeOptions)(w,e)});const P=Object.assign({},w,{targets:(0,p.resolveTargets)(w,m),cloneInputAst:d,babelrc:false,configFile:false,browserslistConfigFile:false,passPerPreset:false,envName:x.envName,cwd:x.cwd,root:x.root,rootMode:"root",filename:typeof x.filename==="string"?x.filename:undefined,plugins:v.plugins.map(e=>(0,n.createItemFromDescriptor)(e)),presets:v.presets.map(e=>(0,n.createItemFromDescriptor)(e))});return{options:P,context:x,fileHandling:v.fileHandling,ignore:v.ignore,babelrc:v.babelrc,config:v.config,files:v.files}}const u=_gensync()(function*(e){let t=false;if(typeof e==="object"&&e!==null&&!Array.isArray(e)){var s=e;({showIgnoredFiles:t}=s);e=_objectWithoutPropertiesLoose(s,["showIgnoredFiles"]);s}const i=yield*loadPrivatePartialConfig(e);if(!i)return null;const{options:n,babelrc:a,ignore:o,config:l,fileHandling:c,files:p}=i;if(c==="ignored"&&!t){return null}(n.plugins||[]).forEach(e=>{if(e.value instanceof r.default){throw new Error("Passing cached plugin instances is not supported in "+"babel.loadPartialConfig()")}});return new PartialConfig(n,a?a.filepath:undefined,o?o.filepath:undefined,l?l.filepath:undefined,c,p)});t.loadPartialConfig=u;class PartialConfig{constructor(e,t,s,r,i,n){this.options=void 0;this.babelrc=void 0;this.babelignore=void 0;this.config=void 0;this.fileHandling=void 0;this.files=void 0;this.options=e;this.babelignore=s;this.babelrc=t;this.config=r;this.fileHandling=i;this.files=n;Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==undefined||this.config!==undefined}}Object.freeze(PartialConfig.prototype)},48223:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=pathToPattern;function _path(){const e=s(85622);_path=function(){return e};return e}const r=`\\${_path().sep}`;const i=`(?:${r}|$)`;const n=`[^${r}]+`;const a=`(?:${n}${r})`;const o=`(?:${n}${i})`;const l=`${a}*?`;const c=`${a}*?${o}?`;function escapeRegExp(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}function pathToPattern(e,t){const s=_path().resolve(t,e).split(_path().sep);return new RegExp(["^",...s.map((e,t)=>{const p=t===s.length-1;if(e==="**")return p?c:l;if(e==="*")return p?o:a;if(e.indexOf("*.")===0){return n+escapeRegExp(e.slice(1))+(p?i:r)}return escapeRegExp(e)+(p?i:r)})].join(""))}},30681:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Plugin{constructor(e,t,s){this.key=void 0;this.manipulateOptions=void 0;this.post=void 0;this.pre=void 0;this.visitor=void 0;this.parserOverride=void 0;this.generatorOverride=void 0;this.options=void 0;this.key=e.name||s;this.manipulateOptions=e.manipulateOptions;this.post=e.post;this.pre=e.pre;this.visitor=e.visitor||{};this.parserOverride=e.parserOverride;this.generatorOverride=e.generatorOverride;this.options=t}}t.default=Plugin},31758:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConfigPrinter=t.ChainFormatter=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}const r={Programmatic:0,Config:1};t.ChainFormatter=r;const i={title(e,t,s){let i="";if(e===r.Programmatic){i="programmatic options";if(t){i+=" from "+t}}else{i="config "+s}return i},loc(e,t){let s="";if(e!=null){s+=`.overrides[${e}]`}if(t!=null){s+=`.env["${t}"]`}return s},*optionsAndDescriptors(e){const t=Object.assign({},e.options);delete t.overrides;delete t.env;const s=[...yield*e.plugins()];if(s.length){t.plugins=s.map(e=>descriptorToConfig(e))}const r=[...yield*e.presets()];if(r.length){t.presets=[...r].map(e=>descriptorToConfig(e))}return JSON.stringify(t,undefined,2)}};function descriptorToConfig(e){var t;let s=(t=e.file)==null?void 0:t.request;if(s==null){if(typeof e.value==="object"){s=e.value}else if(typeof e.value==="function"){s=`[Function: ${e.value.toString().substr(0,50)} ... ]`}}if(s==null){s="[Unknown]"}if(e.options===undefined){return s}else if(e.name==null){return[s,e.options]}else{return[s,e.options,e.name]}}class ConfigPrinter{constructor(){this._stack=[]}configure(e,t,{callerName:s,filepath:r}){if(!e)return()=>{};return(e,i,n)=>{this._stack.push({type:t,callerName:s,filepath:r,content:e,index:i,envName:n})}}static*format(e){let t=i.title(e.type,e.callerName,e.filepath);const s=i.loc(e.index,e.envName);if(s)t+=` ${s}`;const r=yield*i.optionsAndDescriptors(e.content);return`${t}\n${r}`}*output(){if(this._stack.length===0)return"";const e=yield*_gensync().all(this._stack.map(e=>ConfigPrinter.format(e)));return e.join("\n\n")}}t.ConfigPrinter=ConfigPrinter},88020:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveBrowserslistConfigFile=resolveBrowserslistConfigFile;t.resolveTargets=resolveTargets;function _path(){const e=s(85622);_path=function(){return e};return e}function _helperCompilationTargets(){const e=s(16451);_helperCompilationTargets=function(){return e};return e}({});function resolveBrowserslistConfigFile(e,t){return _path().resolve(t,e)}function resolveTargets(e,t){let s=e.targets;if(typeof s==="string"||Array.isArray(s)){s={browsers:s}}if(s&&s.esmodules){s=Object.assign({},s,{esmodules:"intersect"})}const{browserslistConfigFile:r}=e;let i;let n=false;if(typeof r==="string"){i=r}else{n=r===false}return(0,_helperCompilationTargets().default)(s,{ignoreBrowserslistConfig:n,configFile:i,configPath:t,browserslistEnv:e.browserslistEnv})}},45079:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.mergeOptions=mergeOptions;t.isIterableIterator=isIterableIterator;function mergeOptions(e,t){for(const s of Object.keys(t)){if((s==="parserOpts"||s==="generatorOpts"||s==="assumptions")&&t[s]){const r=t[s];const i=e[s]||(e[s]={});mergeDefaultFields(i,r)}else{const r=t[s];if(r!==undefined)e[s]=r}}}function mergeDefaultFields(e,t){for(const s of Object.keys(t)){const r=t[s];if(r!==undefined)e[s]=r}}function isIterableIterator(e){return!!e&&typeof e.next==="function"&&typeof e[Symbol.iterator]==="function"}},27005:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.msg=msg;t.access=access;t.assertRootMode=assertRootMode;t.assertSourceMaps=assertSourceMaps;t.assertCompact=assertCompact;t.assertSourceType=assertSourceType;t.assertCallerMetadata=assertCallerMetadata;t.assertInputSourceMap=assertInputSourceMap;t.assertString=assertString;t.assertFunction=assertFunction;t.assertBoolean=assertBoolean;t.assertObject=assertObject;t.assertArray=assertArray;t.assertIgnoreList=assertIgnoreList;t.assertConfigApplicableTest=assertConfigApplicableTest;t.assertConfigFileSearch=assertConfigFileSearch;t.assertBabelrcSearch=assertBabelrcSearch;t.assertPluginList=assertPluginList;t.assertTargets=assertTargets;t.assertAssumptions=assertAssumptions;function _helperCompilationTargets(){const e=s(16451);_helperCompilationTargets=function(){return e};return e}var r=s(54880);function msg(e){switch(e.type){case"root":return``;case"env":return`${msg(e.parent)}.env["${e.name}"]`;case"overrides":return`${msg(e.parent)}.overrides[${e.index}]`;case"option":return`${msg(e.parent)}.${e.name}`;case"access":return`${msg(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${e.type}`)}}function access(e,t){return{type:"access",name:t,parent:e}}function assertRootMode(e,t){if(t!==undefined&&t!=="root"&&t!=="upward"&&t!=="upward-optional"){throw new Error(`${msg(e)} must be a "root", "upward", "upward-optional" or undefined`)}return t}function assertSourceMaps(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="inline"&&t!=="both"){throw new Error(`${msg(e)} must be a boolean, "inline", "both", or undefined`)}return t}function assertCompact(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="auto"){throw new Error(`${msg(e)} must be a boolean, "auto", or undefined`)}return t}function assertSourceType(e,t){if(t!==undefined&&t!=="module"&&t!=="script"&&t!=="unambiguous"){throw new Error(`${msg(e)} must be "module", "script", "unambiguous", or undefined`)}return t}function assertCallerMetadata(e,t){const s=assertObject(e,t);if(s){if(typeof s.name!=="string"){throw new Error(`${msg(e)} set but does not contain "name" property string`)}for(const t of Object.keys(s)){const r=access(e,t);const i=s[t];if(i!=null&&typeof i!=="boolean"&&typeof i!=="string"&&typeof i!=="number"){throw new Error(`${msg(r)} must be null, undefined, a boolean, a string, or a number.`)}}}return t}function assertInputSourceMap(e,t){if(t!==undefined&&typeof t!=="boolean"&&(typeof t!=="object"||!t)){throw new Error(`${msg(e)} must be a boolean, object, or undefined`)}return t}function assertString(e,t){if(t!==undefined&&typeof t!=="string"){throw new Error(`${msg(e)} must be a string, or undefined`)}return t}function assertFunction(e,t){if(t!==undefined&&typeof t!=="function"){throw new Error(`${msg(e)} must be a function, or undefined`)}return t}function assertBoolean(e,t){if(t!==undefined&&typeof t!=="boolean"){throw new Error(`${msg(e)} must be a boolean, or undefined`)}return t}function assertObject(e,t){if(t!==undefined&&(typeof t!=="object"||Array.isArray(t)||!t)){throw new Error(`${msg(e)} must be an object, or undefined`)}return t}function assertArray(e,t){if(t!=null&&!Array.isArray(t)){throw new Error(`${msg(e)} must be an array, or undefined`)}return t}function assertIgnoreList(e,t){const s=assertArray(e,t);if(s){s.forEach((t,s)=>assertIgnoreItem(access(e,s),t))}return s}function assertIgnoreItem(e,t){if(typeof t!=="string"&&typeof t!=="function"&&!(t instanceof RegExp)){throw new Error(`${msg(e)} must be an array of string/Function/RegExp values, or undefined`)}return t}function assertConfigApplicableTest(e,t){if(t===undefined)return t;if(Array.isArray(t)){t.forEach((t,s)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,s))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a string/Function/RegExp, or an array of those`)}return t}function checkValidTest(e){return typeof e==="string"||typeof e==="function"||e instanceof RegExp}function assertConfigFileSearch(e,t){if(t!==undefined&&typeof t!=="boolean"&&typeof t!=="string"){throw new Error(`${msg(e)} must be a undefined, a boolean, a string, `+`got ${JSON.stringify(t)}`)}return t}function assertBabelrcSearch(e,t){if(t===undefined||typeof t==="boolean")return t;if(Array.isArray(t)){t.forEach((t,s)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,s))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a undefined, a boolean, a string/Function/RegExp `+`or an array of those, got ${JSON.stringify(t)}`)}return t}function assertPluginList(e,t){const s=assertArray(e,t);if(s){s.forEach((t,s)=>assertPluginItem(access(e,s),t))}return s}function assertPluginItem(e,t){if(Array.isArray(t)){if(t.length===0){throw new Error(`${msg(e)} must include an object`)}if(t.length>3){throw new Error(`${msg(e)} may only be a two-tuple or three-tuple`)}assertPluginTarget(access(e,0),t[0]);if(t.length>1){const s=t[1];if(s!==undefined&&s!==false&&(typeof s!=="object"||Array.isArray(s)||s===null)){throw new Error(`${msg(access(e,1))} must be an object, false, or undefined`)}}if(t.length===3){const s=t[2];if(s!==undefined&&typeof s!=="string"){throw new Error(`${msg(access(e,2))} must be a string, or undefined`)}}}else{assertPluginTarget(e,t)}return t}function assertPluginTarget(e,t){if((typeof t!=="object"||!t)&&typeof t!=="string"&&typeof t!=="function"){throw new Error(`${msg(e)} must be a string, object, function`)}return t}function assertTargets(e,t){if((0,_helperCompilationTargets().isBrowsersQueryValid)(t))return t;if(typeof t!=="object"||!t||Array.isArray(t)){throw new Error(`${msg(e)} must be a string, an array of strings or an object`)}const s=access(e,"browsers");const r=access(e,"esmodules");assertBrowsersList(s,t.browsers);assertBoolean(r,t.esmodules);for(const s of Object.keys(t)){const r=t[s];const i=access(e,s);if(s==="esmodules")assertBoolean(i,r);else if(s==="browsers")assertBrowsersList(i,r);else if(!Object.hasOwnProperty.call(_helperCompilationTargets().TargetNames,s)){const e=Object.keys(_helperCompilationTargets().TargetNames).join(", ");throw new Error(`${msg(i)} is not a valid target. Supported targets are ${e}`)}else assertBrowserVersion(i,r)}return t}function assertBrowsersList(e,t){if(t!==undefined&&!(0,_helperCompilationTargets().isBrowsersQueryValid)(t)){throw new Error(`${msg(e)} must be undefined, a string or an array of strings`)}}function assertBrowserVersion(e,t){if(typeof t==="number"&&Math.round(t)===t)return;if(typeof t==="string")return;throw new Error(`${msg(e)} must be a string or an integer number`)}function assertAssumptions(e,t){if(t===undefined)return;if(typeof t!=="object"||t===null){throw new Error(`${msg(e)} must be an object or undefined.`)}let s=e;do{s=s.parent}while(s.type!=="root");const i=s.source==="preset";for(const s of Object.keys(t)){const n=access(e,s);if(!r.assumptionsNames.has(s)){throw new Error(`${msg(n)} is not a supported assumption.`)}if(typeof t[s]!=="boolean"){throw new Error(`${msg(n)} must be a boolean.`)}if(i&&t[s]===false){throw new Error(`${msg(n)} cannot be set to 'false' inside presets.`)}}return t}},54880:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.checkNoUnwrappedItemOptionPairs=checkNoUnwrappedItemOptionPairs;t.assumptionsNames=void 0;var r=s(30681);var i=s(72184);var n=s(27005);const a={cwd:n.assertString,root:n.assertString,rootMode:n.assertRootMode,configFile:n.assertConfigFileSearch,caller:n.assertCallerMetadata,filename:n.assertString,filenameRelative:n.assertString,code:n.assertBoolean,ast:n.assertBoolean,cloneInputAst:n.assertBoolean,envName:n.assertString};const o={babelrc:n.assertBoolean,babelrcRoots:n.assertBabelrcSearch};const l={extends:n.assertString,ignore:n.assertIgnoreList,only:n.assertIgnoreList,targets:n.assertTargets,browserslistConfigFile:n.assertConfigFileSearch,browserslistEnv:n.assertString};const c={inputSourceMap:n.assertInputSourceMap,presets:n.assertPluginList,plugins:n.assertPluginList,passPerPreset:n.assertBoolean,assumptions:n.assertAssumptions,env:assertEnvSet,overrides:assertOverridesList,test:n.assertConfigApplicableTest,include:n.assertConfigApplicableTest,exclude:n.assertConfigApplicableTest,retainLines:n.assertBoolean,comments:n.assertBoolean,shouldPrintComment:n.assertFunction,compact:n.assertCompact,minified:n.assertBoolean,auxiliaryCommentBefore:n.assertString,auxiliaryCommentAfter:n.assertString,sourceType:n.assertSourceType,wrapPluginVisitorMethod:n.assertFunction,highlightCode:n.assertBoolean,sourceMaps:n.assertSourceMaps,sourceMap:n.assertSourceMaps,sourceFileName:n.assertString,sourceRoot:n.assertString,parserOpts:n.assertObject,generatorOpts:n.assertObject};{Object.assign(c,{getModuleId:n.assertFunction,moduleRoot:n.assertString,moduleIds:n.assertBoolean,moduleId:n.assertString})}const p=new Set(["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noNewArrows","objectRestNoSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"]);t.assumptionsNames=p;function getSource(e){return e.type==="root"?e.source:getSource(e.parent)}function validate(e,t){return validateNested({type:"root",source:e},t)}function validateNested(e,t){const s=getSource(e);assertNoDuplicateSourcemap(t);Object.keys(t).forEach(r=>{const i={type:"option",name:r,parent:e};if(s==="preset"&&l[r]){throw new Error(`${(0,n.msg)(i)} is not allowed in preset options`)}if(s!=="arguments"&&a[r]){throw new Error(`${(0,n.msg)(i)} is only allowed in root programmatic options`)}if(s!=="arguments"&&s!=="configfile"&&o[r]){if(s==="babelrcfile"||s==="extendsfile"){throw new Error(`${(0,n.msg)(i)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, `+`or babel.config.js/config file options`)}throw new Error(`${(0,n.msg)(i)} is only allowed in root programmatic options, or babel.config.js/config file options`)}const p=c[r]||l[r]||o[r]||a[r]||throwUnknownError;p(i,t[r])});return t}function throwUnknownError(e){const t=e.name;if(i.default[t]){const{message:s,version:r=5}=i.default[t];throw new Error(`Using removed Babel ${r} option: ${(0,n.msg)(e)} - ${s}`)}else{const t=new Error(`Unknown option: ${(0,n.msg)(e)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);t.code="BABEL_UNKNOWN_OPTION";throw t}}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function assertNoDuplicateSourcemap(e){if(has(e,"sourceMap")&&has(e,"sourceMaps")){throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}}function assertEnvSet(e,t){if(e.parent.type==="env"){throw new Error(`${(0,n.msg)(e)} is not allowed inside of another .env block`)}const s=e.parent;const r=(0,n.assertObject)(e,t);if(r){for(const t of Object.keys(r)){const i=(0,n.assertObject)((0,n.access)(e,t),r[t]);if(!i)continue;const a={type:"env",name:t,parent:s};validateNested(a,i)}}return r}function assertOverridesList(e,t){if(e.parent.type==="env"){throw new Error(`${(0,n.msg)(e)} is not allowed inside an .env block`)}if(e.parent.type==="overrides"){throw new Error(`${(0,n.msg)(e)} is not allowed inside an .overrides block`)}const s=e.parent;const r=(0,n.assertArray)(e,t);if(r){for(const[t,i]of r.entries()){const r=(0,n.access)(e,t);const a=(0,n.assertObject)(r,i);if(!a)throw new Error(`${(0,n.msg)(r)} must be an object`);const o={type:"overrides",index:t,parent:s};validateNested(o,a)}}return r}function checkNoUnwrappedItemOptionPairs(e,t,s,r){if(t===0)return;const i=e[t-1];const n=e[t];if(i.file&&i.options===undefined&&typeof n.value==="object"){r.message+=`\n- Maybe you meant to use\n`+`"${s}": [\n ["${i.file.request}", ${JSON.stringify(n.value,undefined,2)}]\n]\n`+`To be a valid ${s}, its name and options should be wrapped in a pair of brackets`}}},33261:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validatePluginObject=validatePluginObject;var r=s(27005);const i={name:r.assertString,manipulateOptions:r.assertFunction,pre:r.assertFunction,post:r.assertFunction,inherits:r.assertFunction,visitor:assertVisitorMap,parserOverride:r.assertFunction,generatorOverride:r.assertFunction};function assertVisitorMap(e,t){const s=(0,r.assertObject)(e,t);if(s){Object.keys(s).forEach(e=>assertVisitorHandler(e,s[e]));if(s.enter||s.exit){throw new Error(`${(0,r.msg)(e)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`)}}return s}function assertVisitorHandler(e,t){if(t&&typeof t==="object"){Object.keys(t).forEach(t=>{if(t!=="enter"&&t!=="exit"){throw new Error(`.visitor["${e}"] may only have .enter and/or .exit handlers.`)}})}else if(typeof t!=="function"){throw new Error(`.visitor["${e}"] must be a function`)}return t}function validatePluginObject(e){const t={type:"root",source:"plugin"};Object.keys(e).forEach(s=>{const r=i[s];if(r){const i={type:"option",name:s,parent:t};r(i,e[s])}else{const e=new Error(`.${s} is not a valid Plugin property`);e.code="BABEL_UNKNOWN_PLUGIN_PROPERTY";throw e}});return e}},72184:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var s={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. "+"Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. "+"Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using "+"or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. "+"Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. "+"Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the "+"tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling "+"that calls Babel to assign `map.file` themselves."}};t.default=s},77805:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.maybeAsync=maybeAsync;t.forwardAsync=forwardAsync;t.isThenable=isThenable;t.waitFor=t.onFirstPause=t.isAsync=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}const r=e=>e;const i=_gensync()(function*(e){return yield*e});const n=_gensync()({sync:()=>false,errback:e=>e(null,true)});t.isAsync=n;function maybeAsync(e,t){return _gensync()({sync(...s){const r=e.apply(this,s);if(isThenable(r))throw new Error(t);return r},async(...t){return Promise.resolve(e.apply(this,t))}})}const a=_gensync()({sync:e=>e("sync"),async:e=>e("async")});function forwardAsync(e,t){const s=_gensync()(e);return a(e=>{const r=s[e];return t(r)})}const o=_gensync()({name:"onFirstPause",arity:2,sync:function(e){return i.sync(e)},errback:function(e,t,s){let r=false;i.errback(e,(e,t)=>{r=true;s(e,t)});if(!r){t()}}});t.onFirstPause=o;const l=_gensync()({sync:r,async:r});t.waitFor=l;function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},7901:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stat=t.readFile=void 0;function _fs(){const e=s(35747);_fs=function(){return e};return e}function _gensync(){const e=s(67941);_gensync=function(){return e};return e}const r=_gensync()({sync:_fs().readFileSync,errback:_fs().readFile});t.readFile=r;const i=_gensync()({sync:_fs().statSync,errback:_fs().stat});t.stat=i},66911:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Plugin=Plugin;Object.defineProperty(t,"File",{enumerable:true,get:function(){return r.default}});Object.defineProperty(t,"buildExternalHelpers",{enumerable:true,get:function(){return i.default}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return n.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return n.resolvePreset}});Object.defineProperty(t,"getEnv",{enumerable:true,get:function(){return a.getEnv}});Object.defineProperty(t,"tokTypes",{enumerable:true,get:function(){return _parser().tokTypes}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return _traverse().default}});Object.defineProperty(t,"template",{enumerable:true,get:function(){return _template().default}});Object.defineProperty(t,"createConfigItem",{enumerable:true,get:function(){return o.createConfigItem}});Object.defineProperty(t,"createConfigItemSync",{enumerable:true,get:function(){return o.createConfigItemSync}});Object.defineProperty(t,"createConfigItemAsync",{enumerable:true,get:function(){return o.createConfigItemAsync}});Object.defineProperty(t,"loadPartialConfig",{enumerable:true,get:function(){return o.loadPartialConfig}});Object.defineProperty(t,"loadPartialConfigSync",{enumerable:true,get:function(){return o.loadPartialConfigSync}});Object.defineProperty(t,"loadPartialConfigAsync",{enumerable:true,get:function(){return o.loadPartialConfigAsync}});Object.defineProperty(t,"loadOptions",{enumerable:true,get:function(){return o.loadOptions}});Object.defineProperty(t,"loadOptionsSync",{enumerable:true,get:function(){return o.loadOptionsSync}});Object.defineProperty(t,"loadOptionsAsync",{enumerable:true,get:function(){return o.loadOptionsAsync}});Object.defineProperty(t,"transform",{enumerable:true,get:function(){return l.transform}});Object.defineProperty(t,"transformSync",{enumerable:true,get:function(){return l.transformSync}});Object.defineProperty(t,"transformAsync",{enumerable:true,get:function(){return l.transformAsync}});Object.defineProperty(t,"transformFile",{enumerable:true,get:function(){return c.transformFile}});Object.defineProperty(t,"transformFileSync",{enumerable:true,get:function(){return c.transformFileSync}});Object.defineProperty(t,"transformFileAsync",{enumerable:true,get:function(){return c.transformFileAsync}});Object.defineProperty(t,"transformFromAst",{enumerable:true,get:function(){return p.transformFromAst}});Object.defineProperty(t,"transformFromAstSync",{enumerable:true,get:function(){return p.transformFromAstSync}});Object.defineProperty(t,"transformFromAstAsync",{enumerable:true,get:function(){return p.transformFromAstAsync}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return u.parse}});Object.defineProperty(t,"parseSync",{enumerable:true,get:function(){return u.parseSync}});Object.defineProperty(t,"parseAsync",{enumerable:true,get:function(){return u.parseAsync}});t.types=t.OptionManager=t.DEFAULT_EXTENSIONS=t.version=void 0;var r=s(78378);var i=s(31298);var n=s(22426);var a=s(5327);function _types(){const e=s(19761);_types=function(){return e};return e}Object.defineProperty(t,"types",{enumerable:true,get:function(){return _types()}});function _parser(){const e=s(51201);_parser=function(){return e};return e}function _traverse(){const e=s(4267);_traverse=function(){return e};return e}function _template(){const e=s(36900);_template=function(){return e};return e}var o=s(89289);var l=s(54182);var c=s(62411);var p=s(11589);var u=s(23800);const h="7.14.6";t.version=h;const f=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);t.DEFAULT_EXTENSIONS=f;class OptionManager{init(e){return(0,o.loadOptions)(e)}}t.OptionManager=OptionManager;function Plugin(e){throw new Error(`The (${e}) Babel 5 plugin is being run with an unsupported Babel version.`)}},23800:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseAsync=t.parseSync=t.parse=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(89289);var i=s(6309);var n=s(92479);const a=_gensync()(function*parse(e,t){const s=yield*(0,r.default)(t);if(s===null){return null}return yield*(0,i.default)(s.passes,(0,n.default)(s),e)});const o=function parse(e,t,s){if(typeof t==="function"){s=t;t=undefined}if(s===undefined)return a.sync(e,t);a.errback(e,t,s)};t.parse=o;const l=a.sync;t.parseSync=l;const c=a.async;t.parseAsync=c},6309:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parser;function _parser(){const e=s(51201);_parser=function(){return e};return e}function _codeFrame(){const e=s(61018);_codeFrame=function(){return e};return e}var r=s(66561);function*parser(e,{parserOpts:t,highlightCode:s=true,filename:i="unknown"},n){try{const a=[];for(const s of e){for(const e of s){const{parserOverride:s}=e;if(s){const e=s(n,t,_parser().parse);if(e!==undefined)a.push(e)}}}if(a.length===0){return(0,_parser().parse)(n,t)}else if(a.length===1){yield*[];if(typeof a[0].then==="function"){throw new Error(`You appear to be using an async parser plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}return a[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(e){if(e.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"){e.message+="\nConsider renaming the file to '.mjs', or setting sourceType:module "+"or sourceType:unambiguous in your Babel config for this file."}const{loc:t,missingPlugin:a}=e;if(t){const o=(0,_codeFrame().codeFrameColumns)(n,{start:{line:t.line,column:t.column+1}},{highlightCode:s});if(a){e.message=`${i}: `+(0,r.default)(a[0],t,o)}else{e.message=`${i}: ${e.message}\n\n`+o}e.code="BABEL_PARSE_ERROR"}throw e}}},66561:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateMissingPluginMessage;const s={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",url:"https://git.io/JYer8"}},classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-private-methods",url:"https://git.io/JvpRG"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://git.io/JTLB6"},transform:{name:"@babel/plugin-proposal-class-static-block",url:"https://git.io/JTLBP"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://git.io/JfKOH"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://git.io/vb4y9"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://git.io/vb4ST"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://git.io/vb4yh"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://git.io/vb4S3"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://git.io/vb4Sv"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://git.io/vb4SO"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://git.io/vb4yH"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://git.io/vb4Sf"},transform:{name:"@babel/plugin-proposal-export-namespace-from",url:"https://git.io/vb4SG"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://git.io/vb4yb"},transform:{name:"@babel/preset-flow",url:"https://git.io/JfeDn"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://git.io/vb4y7"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://git.io/vb4St"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://git.io/vb4yN"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://git.io/vb4SZ"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://git.io/vbKK6"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://git.io/vb4yA"},transform:{name:"@babel/preset-react",url:"https://git.io/JfeDR"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://git.io/JUbkv"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://git.io/JTL8G"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://git.io/vb4Sq"},transform:{name:"@babel/plugin-proposal-numeric-separator",url:"https://git.io/vb4yS"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://git.io/vb4Sc"},transform:{name:"@babel/plugin-proposal-optional-chaining",url:"https://git.io/vb4Sk"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://git.io/vb4yj"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://git.io/vb4SU"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://git.io/JfK3q"},transform:{name:"@babel/plugin-proposal-private-property-in-object",url:"https://git.io/JfK3O"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://git.io/JvKp3"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://git.io/vb4SJ"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://git.io/vb4yF"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://git.io/vb4SC"},transform:{name:"@babel/preset-typescript",url:"https://git.io/JfeDz"}},asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://git.io/vb4SY"},transform:{name:"@babel/plugin-proposal-async-generator-functions",url:"https://git.io/vb4yp"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://git.io/vAlBp"},transform:{name:"@babel/plugin-proposal-logical-assignment-operators",url:"https://git.io/vAlRe"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://git.io/vb4yx"},transform:{name:"@babel/plugin-proposal-nullish-coalescing-operator",url:"https://git.io/vb4Se"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://git.io/vb4y5"},transform:{name:"@babel/plugin-proposal-object-rest-spread",url:"https://git.io/vb4Ss"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://git.io/vb4Sn"},transform:{name:"@babel/plugin-proposal-optional-catch-binding",url:"https://git.io/vb4SI"}}};s.privateIn.syntax=s.privateIn.transform;const r=({name:e,url:t})=>`${e} (${t})`;function generateMissingPluginMessage(e,t,i){let n=`Support for the experimental syntax '${e}' isn't currently enabled `+`(${t.line}:${t.column+1}):\n\n`+i;const a=s[e];if(a){const{syntax:e,transform:t}=a;if(e){const s=r(e);if(t){const e=r(t);const i=t.name.startsWith("@babel/plugin")?"plugins":"presets";n+=`\n\nAdd ${e} to the '${i}' section of your Babel config to enable transformation.\nIf you want to leave it as-is, add ${s} to the 'plugins' section to enable parsing.`}else{n+=`\n\nAdd ${s} to the 'plugins' section of your Babel config `+`to enable parsing.`}}}return n}},31298:(e,s,r)=>{"use strict";Object.defineProperty(s,"__esModule",{value:true});s.default=_default;function helpers(){const e=r(35295);helpers=function(){return e};return e}function _generator(){const e=r(23656);_generator=function(){return e};return e}function _template(){const e=r(36900);_template=function(){return e};return e}function t(){const e=r(19761);t=function(){return e};return e}var i=r(78378);const n=e=>(0,_template().default)` (function (root, factory) { if (typeof define === "function" && define.amd) { define(AMD_ARGUMENTS, factory); @@ -7954,29 +7954,29 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m })(UMD_ROOT, function (FACTORY_PARAMETERS) { FACTORY_BODY }); - `(e);function buildGlobal(e){const r=t().identifier("babelHelpers");const n=[];const s=t().functionExpression(null,[t().identifier("global")],t().blockStatement(n));const i=t().program([t().expressionStatement(t().callExpression(s,[t().conditionalExpression(t().binaryExpression("===",t().unaryExpression("typeof",t().identifier("global")),t().stringLiteral("undefined")),t().identifier("self"),t().identifier("global"))]))]);n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().assignmentExpression("=",t().memberExpression(t().identifier("global"),r),t().objectExpression([])))]));buildHelpers(n,r,e);return i}function buildModule(e){const r=[];const n=buildHelpers(r,null,e);r.unshift(t().exportNamedDeclaration(null,Object.keys(n).map(e=>{return t().exportSpecifier(t().cloneNode(n[e]),t().identifier(e))})));return t().program(r,[],"module")}function buildUmd(e){const r=t().identifier("babelHelpers");const n=[];n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().identifier("global"))]));buildHelpers(n,r,e);return t().program([i({FACTORY_PARAMETERS:t().identifier("global"),BROWSER_ARGUMENTS:t().assignmentExpression("=",t().memberExpression(t().identifier("root"),r),t().objectExpression([])),COMMON_ARGUMENTS:t().identifier("exports"),AMD_ARGUMENTS:t().arrayExpression([t().stringLiteral("exports")]),FACTORY_BODY:n,UMD_ROOT:t().identifier("this")})])}function buildVar(e){const r=t().identifier("babelHelpers");const n=[];n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().objectExpression([]))]));const s=t().program(n);buildHelpers(n,r,e);n.push(t().expressionStatement(r));return s}function buildHelpers(e,r,n){const i=e=>{return r?t().memberExpression(r,t().identifier(e)):t().identifier(`_${e}`)};const a={};helpers().list.forEach(function(t){if(n&&n.indexOf(t)<0)return;const r=a[t]=i(t);helpers().ensure(t,s.default);const{nodes:o}=helpers().get(t,i,r);e.push(...o)});return a}function _default(e,t="global"){let r;const n={global:buildGlobal,module:buildModule,umd:buildUmd,var:buildVar}[t];if(n){r=n(e)}else{throw new Error(`Unsupported output type ${t}`)}return(0,_generator().default)(r).code}},11589:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFromAstAsync=t.transformFromAstSync=t.transformFromAst=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(89289);var s=r(25359);const i=_gensync()(function*(e,t,r){const i=yield*(0,n.default)(r);if(i===null)return null;if(!e)throw new Error("No AST given");return yield*(0,s.run)(i,t,e)});const a=function transformFromAst(e,t,r,n){if(typeof r==="function"){n=r;r=undefined}if(n===undefined){return i.sync(e,t,r)}i.errback(e,t,r,n)};t.transformFromAst=a;const o=i.sync;t.transformFromAstSync=o;const l=i.async;t.transformFromAstAsync=l},62411:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFileAsync=t.transformFileSync=t.transformFile=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(89289);var s=r(25359);var i=r(7901);({});const a=_gensync()(function*(e,t){const r=Object.assign({},t,{filename:e});const a=yield*(0,n.default)(r);if(a===null)return null;const o=yield*i.readFile(e,"utf8");return yield*(0,s.run)(a,o)});const o=a.errback;t.transformFile=o;const l=a.sync;t.transformFileSync=l;const u=a.async;t.transformFileAsync=u},54182:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformAsync=t.transformSync=t.transform=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(89289);var s=r(25359);const i=_gensync()(function*transform(e,t){const r=yield*(0,n.default)(t);if(r===null)return null;return yield*(0,s.run)(r,e)});const a=function transform(e,t,r){if(typeof t==="function"){r=t;t=undefined}if(r===undefined)return i.sync(e,t);i.errback(e,t,r)};t.transform=a;const o=i.sync;t.transformSync=o;const l=i.async;t.transformAsync=l},54553:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadBlockHoistPlugin;function _traverse(){const e=r(4267);_traverse=function(){return e};return e}var n=r(30681);let s;function loadBlockHoistPlugin(){if(!s){s=new n.default(Object.assign({},i,{visitor:_traverse().default.explode(i.visitor)}),{})}return s}function priority(e){const t=e==null?void 0:e._blockHoist;if(t==null)return 1;if(t===true)return 2;return t}function stableSort(e){const t=Object.create(null);for(let r=0;r+e).sort((e,t)=>t-e);let n=0;for(const s of r){const r=t[s];for(const t of r){e[n++]=t}}return e}const i={name:"internal.blockHoist",visitor:{Block:{exit({node:e}){const{body:t}=e;let r=Math.pow(2,30)-1;let n=false;for(let e=0;er){n=true;break}r=i}if(!n)return;e.body=stableSort(t.slice())}}}}},78378:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=void 0;function helpers(){const e=n(35295);helpers=function(){return e};return e}function _traverse(){const e=n(4267);_traverse=function(){return e};return e}function _codeFrame(){const e=n(61018);_codeFrame=function(){return e};return e}function t(){const e=n(35649);t=function(){return e};return e}function _helperModuleTransforms(){const e=n(23917);_helperModuleTransforms=function(){return e};return e}function _semver(){const e=n(62519);_semver=function(){return e};return e}const s={enter(e,t){const r=e.node.loc;if(r){t.loc=r;e.stop()}}};class File{constructor(e,{code:t,ast:r,inputMap:n}){this._map=new Map;this.opts=void 0;this.declarations={};this.path=null;this.ast={};this.scope=void 0;this.metadata={};this.code="";this.inputMap=null;this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)};this.opts=e;this.code=t;this.ast=r;this.inputMap=n;this.path=_traverse().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext();this.scope=this.path.scope}get shebang(){const{interpreter:e}=this.path.node;return e?e.value:""}set shebang(e){if(e){this.path.get("interpreter").replaceWith(t().interpreterDirective(e))}else{this.path.get("interpreter").remove()}}set(e,t){if(e==="helpersNamespace"){throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility."+"If you are using @babel/plugin-external-helpers you will need to use a newer "+"version than the one you currently have installed. "+"If you have your own implementation, you'll want to explore using 'helperGenerator' "+"alongside 'file.availableHelper()'.")}this._map.set(e,t)}get(e){return this._map.get(e)}has(e){return this._map.has(e)}getModuleName(){return(0,_helperModuleTransforms().getModuleName)(this.opts,this.opts)}addImport(){throw new Error("This API has been removed. If you're looking for this "+"functionality in Babel 7, you should import the "+"'@babel/helper-module-imports' module and use the functions exposed "+" from that module, such as 'addNamed' or 'addDefault'.")}availableHelper(e,t){let r;try{r=helpers().minVersion(e)}catch(e){if(e.code!=="BABEL_HELPER_UNKNOWN")throw e;return false}if(typeof t!=="string")return true;if(_semver().valid(t))t=`^${t}`;return!_semver().intersects(`<${r}`,t)&&!_semver().intersects(`>=8.0.0`,t)}addHelper(e){const r=this.declarations[e];if(r)return t().cloneNode(r);const n=this.get("helperGenerator");if(n){const t=n(e);if(t)return t}helpers().ensure(e,File);const s=this.declarations[e]=this.scope.generateUidIdentifier(e);const i={};for(const t of helpers().getDependencies(e)){i[t]=this.addHelper(t)}const{nodes:a,globals:o}=helpers().get(e,e=>i[e],s,Object.keys(this.scope.getAllBindings()));o.forEach(e=>{if(this.path.scope.hasBinding(e,true)){this.path.scope.rename(e)}});a.forEach(e=>{e._compact=true});this.path.unshiftContainer("body",a);this.path.get("body").forEach(e=>{if(a.indexOf(e.node)===-1)return;if(e.isVariableDeclaration())this.scope.registerDeclaration(e)});return s}addTemplateObject(){throw new Error("This function has been moved into the template literal transform itself.")}buildCodeFrameError(e,t,r=SyntaxError){let n=e&&(e.loc||e._loc);if(!n&&e){const r={loc:null};(0,_traverse().default)(e,s,this.scope,r);n=r.loc;let i="This is an error on an internal node. Probably an internal error.";if(n)i+=" Location has been estimated.";t+=` (${i})`}if(n){const{highlightCode:e=true}=this.opts;t+="\n"+(0,_codeFrame().codeFrameColumns)(this.code,{start:{line:n.start.line,column:n.start.column+1},end:n.end&&n.start.line===n.end.line?{line:n.end.line,column:n.end.column+1}:undefined},{highlightCode:e})}return new r(t)}}r.default=File},70424:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateCode;function _convertSourceMap(){const e=r(36301);_convertSourceMap=function(){return e};return e}function _generator(){const e=r(23656);_generator=function(){return e};return e}var n=r(95770);function generateCode(e,t){const{opts:r,ast:s,code:i,inputMap:a}=t;const o=[];for(const t of e){for(const e of t){const{generatorOverride:t}=e;if(t){const e=t(s,r.generatorOpts,i,_generator().default);if(e!==undefined)o.push(e)}}}let l;if(o.length===0){l=(0,_generator().default)(s,r.generatorOpts,i)}else if(o.length===1){l=o[0];if(typeof l.then==="function"){throw new Error(`You appear to be using an async codegen plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version.`)}}else{throw new Error("More than one plugin attempted to override codegen.")}let{code:u,map:p}=l;if(p&&a){p=(0,n.default)(a.toObject(),p)}if(r.sourceMaps==="inline"||r.sourceMaps==="both"){u+="\n"+_convertSourceMap().fromObject(p).toComment()}if(r.sourceMaps==="inline"){p=null}return{outputCode:u,outputMap:p}}},95770:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=mergeSourceMap;function _sourceMap(){const e=r(96241);_sourceMap=function(){return e};return e}function mergeSourceMap(e,t){const r=buildMappingData(e);const n=buildMappingData(t);const s=new(_sourceMap().SourceMapGenerator);for(const{source:e}of r.sources){if(typeof e.content==="string"){s.setSourceContent(e.path,e.content)}}if(n.sources.length===1){const e=n.sources[0];const t=new Map;eachInputGeneratedRange(r,(r,n,i)=>{eachOverlappingGeneratedOutputRange(e,r,e=>{const r=makeMappingKey(e);if(t.has(r))return;t.set(r,e);s.addMapping({source:i.path,original:{line:n.line,column:n.columnStart},generated:{line:e.line,column:e.columnStart},name:n.name})})});for(const e of t.values()){if(e.columnEnd===Infinity){continue}const r={line:e.line,columnStart:e.columnEnd};const n=makeMappingKey(r);if(t.has(n)){continue}s.addMapping({generated:{line:r.line,column:r.columnStart}})}}const i=s.toJSON();if(typeof r.sourceRoot==="string"){i.sourceRoot=r.sourceRoot}return i}function makeMappingKey(e){return`${e.line}/${e.columnStart}`}function eachOverlappingGeneratedOutputRange(e,t,r){const n=filterApplicableOriginalRanges(e,t);for(const{generated:e}of n){for(const t of e){r(t)}}}function filterApplicableOriginalRanges({mappings:e},{line:t,columnStart:r,columnEnd:n}){return filterSortedArray(e,({original:e})=>{if(t>e.line)return-1;if(t=e.columnEnd)return-1;if(n<=e.columnStart)return 1;return 0})}function eachInputGeneratedRange(e,t){for(const{source:r,mappings:n}of e.sources){for(const{original:e,generated:s}of n){for(const n of s){t(n,e,r)}}}}function buildMappingData(e){const t=new(_sourceMap().SourceMapConsumer)(Object.assign({},e,{sourceRoot:null}));const r=new Map;const n=new Map;let s=null;t.computeColumnSpans();t.eachMapping(e=>{if(e.originalLine===null)return;let i=r.get(e.source);if(!i){i={path:e.source,content:t.sourceContentFor(e.source,true)};r.set(e.source,i)}let a=n.get(i);if(!a){a={source:i,mappings:[]};n.set(i,a)}const o={line:e.originalLine,columnStart:e.originalColumn,columnEnd:Infinity,name:e.name};if(s&&s.source===i&&s.mapping.line===e.originalLine){s.mapping.columnEnd=e.originalColumn}s={source:i,mapping:o};a.mappings.push({original:o,generated:t.allGeneratedPositionsFor({source:e.source,line:e.originalLine,column:e.originalColumn}).map(e=>({line:e.line,columnStart:e.column,columnEnd:e.lastColumn+1}))})},null,_sourceMap().SourceMapConsumer.ORIGINAL_ORDER);return{file:e.file,sourceRoot:e.sourceRoot,sources:Array.from(n.values())}}function findInsertionLocation(e,t){let r=0;let n=e.length;while(r=0){n=s}else{r=s+1}}let s=r;if(s=0&&t(e[s])>=0){s--}return s+1}return s}function filterSortedArray(e,t){const r=findInsertionLocation(e,t);const n=[];for(let s=r;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.run=run;function _traverse(){const e=r(4267);_traverse=function(){return e};return e}var n=r(44103);var s=r(54553);var i=r(92479);var a=r(77352);var o=r(70424);function*run(e,t,r){const n=yield*(0,a.default)(e.passes,(0,i.default)(e),t,r);const s=n.opts;try{yield*transformFile(n,e.passes)}catch(e){var l;e.message=`${(l=s.filename)!=null?l:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_TRANSFORM_ERROR"}throw e}let u,p;try{if(s.code!==false){({outputCode:u,outputMap:p}=(0,o.default)(e.passes,n))}}catch(e){var f;e.message=`${(f=s.filename)!=null?f:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_GENERATE_ERROR"}throw e}return{metadata:n.metadata,options:s,ast:s.ast===true?n.ast:null,code:u===undefined?null:u,map:p===undefined?null:p,sourceType:n.ast.program.sourceType}}function*transformFile(e,t){for(const r of t){const t=[];const i=[];const a=[];for(const o of r.concat([(0,s.default)()])){const r=new n.default(e,o.key,o.options);t.push([o,r]);i.push(r);a.push(o.visitor)}for(const[r,n]of t){const t=r.pre;if(t){const r=t.call(n,e);yield*[];if(isThenable(r)){throw new Error(`You appear to be using an plugin with an async .pre, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}const o=_traverse().default.visitors.merge(a,i,e.opts.wrapPluginVisitorMethod);(0,_traverse().default)(e.ast,o,e.scope);for(const[r,n]of t){const t=r.post;if(t){const r=t.call(n,e);yield*[];if(isThenable(r)){throw new Error(`You appear to be using an plugin with an async .post, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}}}function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},77352:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=normalizeFile;function _fs(){const e=n(35747);_fs=function(){return e};return e}function _path(){const e=n(85622);_path=function(){return e};return e}function _debug(){const e=n(31185);_debug=function(){return e};return e}function t(){const e=n(35649);t=function(){return e};return e}function _convertSourceMap(){const e=n(36301);_convertSourceMap=function(){return e};return e}var s=n(78378);var i=n(6309);var a=n(85998);const o=_debug()("babel:transform:file");const l=1e6;function*normalizeFile(e,r,n,f){n=`${n||""}`;if(f){if(f.type==="Program"){f=t().file(f,[],[])}else if(f.type!=="File"){throw new Error("AST root must be a Program or File node")}if(r.cloneInputAst){f=(0,a.default)(f)}}else{f=yield*(0,i.default)(e,r,n)}let c=null;if(r.inputSourceMap!==false){if(typeof r.inputSourceMap==="object"){c=_convertSourceMap().fromObject(r.inputSourceMap)}if(!c){const e=extractComments(u,f);if(e){try{c=_convertSourceMap().fromComment(e)}catch(e){o("discarding unknown inline input sourcemap",e)}}}if(!c){const e=extractComments(p,f);if(typeof r.filename==="string"&&e){try{const t=p.exec(e);const n=_fs().readFileSync(_path().resolve(_path().dirname(r.filename),t[1]));if(n.length>l){o("skip merging input map > 1 MB")}else{c=_convertSourceMap().fromJSON(n)}}catch(e){o("discarding unknown file input sourcemap",e)}}else if(e){o("discarding un-loadable file input sourcemap")}}}return new s.default(r,{code:n,ast:f,inputMap:c})}const u=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/;const p=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function extractCommentsFromList(e,t,r){if(t){t=t.filter(({value:t})=>{if(e.test(t)){r=t;return false}return true})}return[t,r]}function extractComments(e,r){let n=null;t().traverseFast(r,t=>{[t.leadingComments,n]=extractCommentsFromList(e,t.leadingComments,n);[t.innerComments,n]=extractCommentsFromList(e,t.innerComments,n);[t.trailingComments,n]=extractCommentsFromList(e,t.trailingComments,n)});return n}},92479:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=normalizeOptions;function _path(){const e=r(85622);_path=function(){return e};return e}function normalizeOptions(e){const{filename:t,cwd:r,filenameRelative:n=(typeof t==="string"?_path().relative(r,t):"unknown"),sourceType:s="module",inputSourceMap:i,sourceMaps:a=!!i,sourceRoot:o=e.options.moduleRoot,sourceFileName:l=_path().basename(n),comments:u=true,compact:p="auto"}=e.options;const f=e.options;const c=Object.assign({},f,{parserOpts:Object.assign({sourceType:_path().extname(n)===".mjs"?"module":s,sourceFileName:t,plugins:[]},f.parserOpts),generatorOpts:Object.assign({filename:t,auxiliaryCommentBefore:f.auxiliaryCommentBefore,auxiliaryCommentAfter:f.auxiliaryCommentAfter,retainLines:f.retainLines,comments:u,shouldPrintComment:f.shouldPrintComment,compact:p,minified:f.minified,sourceMaps:a,sourceRoot:o,sourceFileName:l},f.generatorOpts)});for(const t of e.passes){for(const e of t){if(e.manipulateOptions){e.manipulateOptions(c,c.parserOpts)}}}return c}},44103:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class PluginPass{constructor(e,t,r){this._map=new Map;this.key=void 0;this.file=void 0;this.opts=void 0;this.cwd=void 0;this.filename=void 0;this.key=t;this.file=e;this.opts=r||{};this.cwd=e.opts.cwd;this.filename=e.opts.filename}set(e,t){this._map.set(e,t)}get(e){return this._map.get(e)}availableHelper(e,t){return this.file.availableHelper(e,t)}addHelper(e){return this.file.addHelper(e)}addImport(){return this.file.addImport()}buildCodeFrameError(e,t,r){return this.file.buildCodeFrameError(e,t,r)}}t.default=PluginPass;{PluginPass.prototype.getModuleName=function getModuleName(){return this.file.getModuleName()}}},31049:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;const r="$$ babel internal serialized type"+Math.random();function serialize(e,t){if(typeof t!=="bigint")return t;return{[r]:"BigInt",value:t.toString()}}function revive(e,t){if(!t||typeof t!=="object")return t;if(t[r]!=="BigInt")return t;return BigInt(t.value)}function _default(e){return JSON.parse(JSON.stringify(e,serialize),revive)}},85998:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;function _v(){const e=r(68987);_v=function(){return e};return e}var n=r(31049);function _default(e){if(_v().deserialize&&_v().serialize){return _v().deserialize(_v().serialize(e))}return(0,n.default)(e)}},66577:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getInclusionReasons=getInclusionReasons;var n=r(62519);var s=r(93782);var i=r(67609);function getInclusionReasons(e,t,r){const a=r[e]||{};return Object.keys(t).reduce((e,r)=>{const o=(0,i.getLowestImplementedVersion)(a,r);const l=t[r];if(!o){e[r]=(0,s.prettifyVersion)(l)}else{const t=(0,i.isUnreleasedVersion)(o,r);const a=(0,i.isUnreleasedVersion)(l,r);if(!a&&(t||n.lt(l.toString(),(0,i.semverify)(o)))){e[r]=(0,s.prettifyVersion)(l)}}return e},{})}},67378:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.targetsSupported=targetsSupported;t.isRequired=isRequired;t.default=filterItems;var n=r(62519);var s=r(81513);var i=r(67609);function targetsSupported(e,t){const r=Object.keys(e);if(r.length===0){return false}const s=r.filter(r=>{const s=(0,i.getLowestImplementedVersion)(t,r);if(!s){return true}const a=e[r];if((0,i.isUnreleasedVersion)(a,r)){return false}if((0,i.isUnreleasedVersion)(s,r)){return true}if(!n.valid(a.toString())){throw new Error(`Invalid version passed for target "${r}": "${a}". `+"Versions must be in semver format (major.minor.patch)")}return n.gt((0,i.semverify)(s),a.toString())});return s.length===0}function isRequired(e,t,{compatData:r=s,includes:n,excludes:i}={}){if(i!=null&&i.has(e))return false;if(n!=null&&n.has(e))return true;return!targetsSupported(t,r[e])}function filterItems(e,t,r,n,s,i,a){const o=new Set;const l={compatData:e,includes:t,excludes:r};for(const t in e){if(isRequired(t,n,l)){o.add(t)}else if(a){const e=a.get(t);if(e){o.add(e)}}}if(s){s.forEach(e=>!r.has(e)&&o.add(e))}if(i){i.forEach(e=>!t.has(e)&&o.delete(e))}return o}},16451:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isBrowsersQueryValid=isBrowsersQueryValid;t.default=getTargets;Object.defineProperty(t,"unreleasedLabels",{enumerable:true,get:function(){return o.unreleasedLabels}});Object.defineProperty(t,"TargetNames",{enumerable:true,get:function(){return l.TargetNames}});Object.defineProperty(t,"prettifyTargets",{enumerable:true,get:function(){return u.prettifyTargets}});Object.defineProperty(t,"getInclusionReasons",{enumerable:true,get:function(){return p.getInclusionReasons}});Object.defineProperty(t,"filterItems",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"isRequired",{enumerable:true,get:function(){return f.isRequired}});var n=r(3561);var s=r(69562);var i=r(40830);var a=r(67609);var o=r(98798);var l=r(46032);var u=r(93782);var p=r(66577);var f=r(67378);const c=i["es6.module"];const d=new s.OptionValidator("@babel/helper-compilation-targets");function validateTargetNames(e){const t=Object.keys(l.TargetNames);for(const r of Object.keys(e)){if(!(r in l.TargetNames)){throw new Error(d.formatMessage(`'${r}' is not a valid target\n- Did you mean '${(0,s.findSuggestion)(r,t)}'?`))}}return e}function isBrowsersQueryValid(e){return typeof e==="string"||Array.isArray(e)&&e.every(e=>typeof e==="string")}function validateBrowsers(e){d.invariant(e===undefined||isBrowsersQueryValid(e),`'${String(e)}' is not a valid browserslist query`);return e}function getLowestVersions(e){return e.reduce((e,t)=>{const[r,n]=t.split(" ");const s=o.browserNameMap[r];if(!s){return e}try{const t=n.split("-")[0].toLowerCase();const i=(0,a.isUnreleasedVersion)(t,r);if(!e[s]){e[s]=i?t:(0,a.semverify)(t);return e}const o=e[s];const l=(0,a.isUnreleasedVersion)(o,r);if(l&&i){e[s]=(0,a.getLowestUnreleased)(o,t,r)}else if(l){e[s]=(0,a.semverify)(t)}else if(!l&&!i){const r=(0,a.semverify)(t);e[s]=(0,a.semverMin)(o,r)}}catch(e){}return e},{})}function outputDecimalWarning(e){if(!e.length){return}console.warn("Warning, the following targets are using a decimal version:\n");e.forEach(({target:e,value:t})=>console.warn(` ${e}: ${t}`));console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`)}function semverifyTarget(e,t){try{return(0,a.semverify)(t)}catch(r){throw new Error(d.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}const y={__default(e,t){const r=(0,a.isUnreleasedVersion)(t,e)?t.toLowerCase():semverifyTarget(e,t);return[e,r]},node(e,t){const r=t===true||t==="current"?process.versions.node:semverifyTarget(e,t);return[e,r]}};function generateTargets(e){const t=Object.assign({},e);delete t.esmodules;delete t.browsers;return t}function resolveTargets(e){const t=n(e,{mobileToDesktop:true});return getLowestVersions(t)}function getTargets(e={},t={}){var r;let{browsers:s,esmodules:i}=e;const{configPath:o="."}=t;validateBrowsers(s);const l=generateTargets(e);let u=validateTargetNames(l);const p=!!s;const f=p||Object.keys(u).length>0;const d=!t.ignoreBrowserslistConfig&&!f;if(!s&&d){s=n.loadConfig({config:t.configFile,path:o,env:t.browserslistEnv});if(s==null){{s=[]}}}if(i&&(i!=="intersect"||!((r=s)!=null&&r.length))){s=Object.keys(c).map(e=>`${e} >= ${c[e]}`).join(", ");i=false}if(s){const e=resolveTargets(s);if(i==="intersect"){for(const t of Object.keys(e)){const r=e[t];if(c[t]){e[t]=(0,a.getHighestUnreleased)(r,(0,a.semverify)(c[t]),t)}else{delete e[t]}}}u=Object.assign(e,u)}const m={};const T=[];for(const e of Object.keys(u).sort()){var h;const t=u[e];if(typeof t==="number"&&t%1!==0){T.push({target:e,value:t})}const r=(h=y[e])!=null?h:y.__default;const[n,s]=r(e,t);if(s){m[n]=s}}outputDecimalWarning(T);return m}},46032:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TargetNames=void 0;const r={node:"node",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung"};t.TargetNames=r},93782:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.prettifyVersion=prettifyVersion;t.prettifyTargets=prettifyTargets;var n=r(62519);var s=r(98798);function prettifyVersion(e){if(typeof e!=="string"){return e}const t=[n.major(e)];const r=n.minor(e);const s=n.patch(e);if(r||s){t.push(r)}if(s){t.push(s)}return t.join(".")}function prettifyTargets(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];const i=s.unreleasedLabels[r];if(typeof n==="string"&&i!==n){n=prettifyVersion(n)}t[r]=n;return t},{})}},98798:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.browserNameMap=t.unreleasedLabels=void 0;const r={safari:"tp"};t.unreleasedLabels=r;const n={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",op_mob:"opera",opera:"opera",safari:"safari",samsung:"samsung"};t.browserNameMap=n},67609:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.semverMin=semverMin;t.semverify=semverify;t.isUnreleasedVersion=isUnreleasedVersion;t.getLowestUnreleased=getLowestUnreleased;t.getHighestUnreleased=getHighestUnreleased;t.getLowestImplementedVersion=getLowestImplementedVersion;var n=r(62519);var s=r(69562);var i=r(98798);const a=/^(\d+|\d+.\d+)$/;const o=new s.OptionValidator("@babel/helper-compilation-targets");function semverMin(e,t){return e&&n.lt(e,t)?e:t}function semverify(e){if(typeof e==="string"&&n.valid(e)){return e}o.invariant(typeof e==="number"||typeof e==="string"&&a.test(e),`'${e}' is not a valid version`);const t=e.toString().split(".");while(t.length<3){t.push("0")}return t.join(".")}function isUnreleasedVersion(e,t){const r=i.unreleasedLabels[t];return!!r&&r===e.toString().toLowerCase()}function getLowestUnreleased(e,t,r){const n=i.unreleasedLabels[r];const s=[e,t].some(e=>e===n);if(s){return e===s?t:e||t}return semverMin(e,t)}function getHighestUnreleased(e,t,r){return getLowestUnreleased(e,t,r)===e?t:e}function getLowestImplementedVersion(e,t){const r=e[t];if(!r&&t==="android"){return e.chrome}return r}},1948:(e,t,r)=>{"use strict";t.__esModule=true;t.stringifyTargetsMultiline=stringifyTargetsMultiline;t.stringifyTargets=stringifyTargets;t.presetEnvSilentDebugHeader=void 0;var n=r(16451);const s="#__secret_key__@babel/preset-env__don't_log_debug_header_and_resolved_targets";t.presetEnvSilentDebugHeader=s;function stringifyTargetsMultiline(e){return JSON.stringify((0,n.prettifyTargets)(e),null,2)}function stringifyTargets(e){return JSON.stringify(e).replace(/,/g,", ").replace(/^\{"/,'{ "').replace(/"\}$/,'" }')}},95235:(e,t,r)=>{"use strict";t.__esModule=true;t.default=void 0;var n=_interopRequireWildcard(r(66911));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}const{types:s}=n.default||n;class ImportsCache{constructor(e){this._imports=new WeakMap;this._anonymousImports=new WeakMap;this._lastImports=new WeakMap;this._resolver=e}storeAnonymous(e,t,r){const n=this._normalizeKey(e,t);const i=this._ensure(this._anonymousImports,e,Set);if(i.has(n))return;const a=r(e.node.sourceType==="script",s.stringLiteral(this._resolver(t)));i.add(n);this._injectImport(e,a)}storeNamed(e,t,r,n){const i=this._normalizeKey(e,t,r);const a=this._ensure(this._imports,e,Map);if(!a.has(i)){const{node:o,name:l}=n(e.node.sourceType==="script",s.stringLiteral(this._resolver(t)),s.identifier(r));a.set(i,l);this._injectImport(e,o)}return s.identifier(a.get(i))}_injectImport(e,t){let r=this._lastImports.get(e);if(r&&r.node&&r.parent===e.node&&r.container===e.node.body){r=r.insertAfter(t)}else{r=e.unshiftContainer("body",t)}r=r[r.length-1];this._lastImports.set(e,r)}_ensure(e,t,r){let n=e.get(t);if(!n){n=new r;e.set(t,n)}return n}_normalizeKey(e,t,r=""){const{sourceType:n}=e.node;return`${r&&n}::${t}::${r}`}}t.default=ImportsCache},30114:(e,t,r)=>{"use strict";t.__esModule=true;t.default=definePolyfillProvider;var n=r(20336);var s=_interopRequireWildcard(r(16451));var i=r(60143);var a=_interopRequireDefault(r(95235));var o=r(1948);var l=r(14136);var u=_interopRequireWildcard(r(73402));var p=_interopRequireWildcard(r(83458));var f=_interopRequireDefault(r(18896));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var s,i;for(i=0;i=0)continue;r[s]=e[s]}return r}const c=s.default.default||s.default;function resolveOptions(e,t){const{method:r,targets:n,ignoreBrowserslistConfig:s,configPath:i,debug:a,shouldInjectPolyfill:o,absoluteImports:l}=e,u=_objectWithoutPropertiesLoose(e,["method","targets","ignoreBrowserslistConfig","configPath","debug","shouldInjectPolyfill","absoluteImports"]);let p;if(r==="usage-global")p="usageGlobal";else if(r==="entry-global")p="entryGlobal";else if(r==="usage-pure")p="usagePure";else if(typeof r!=="string"){throw new Error(".method must be a string")}else{throw new Error(`.method must be one of "entry-global", "usage-global"`+` or "usage-pure" (received ${JSON.stringify(r)})`)}if(typeof o==="function"){if(e.include||e.exclude){throw new Error(`.include and .exclude are not supported when using the`+` .shouldInjectPolyfill function.`)}}else if(o!=null){throw new Error(`.shouldInjectPolyfill must be a function, or undefined`+` (received ${JSON.stringify(o)})`)}if(l!=null&&typeof l!=="boolean"&&typeof l!=="string"){throw new Error(`.absoluteImports must be a boolean, a string, or undefined`+` (received ${JSON.stringify(l)})`)}let f;if(n||i||s){const e=typeof n==="string"||Array.isArray(n)?{browsers:n}:n;f=c(e,{ignoreBrowserslistConfig:s,configPath:i})}else{f=t.targets()}return{method:r,methodName:p,targets:f,absoluteImports:l!=null?l:false,shouldInjectPolyfill:o,debug:!!a,providerOptions:u}}function instantiateProvider(e,t,r,n,o,u){const{method:c,methodName:d,targets:y,debug:m,shouldInjectPolyfill:T,providerOptions:h,absoluteImports:S}=resolveOptions(t,u);const b=(0,i.createUtilsGetter)(new a.default(e=>p.resolve(n,e,S)));let E,g;let P;let x;let v;const A=new Map;const O={babel:u,getUtils:b,method:t.method,targets:y,createMetaResolver:f.default,shouldInjectPolyfill(t){if(x===undefined){throw new Error(`Internal error in the ${e.name} provider: `+`shouldInjectPolyfill() can't be called during initialization.`)}if(!x.has(t)){console.warn(`Internal error in the ${I.name} provider: `+`unknown polyfill "${t}".`)}if(v&&!v(t))return false;let r=(0,s.isRequired)(t,y,{compatData:P,includes:E,excludes:g});if(T){r=T(t,r);if(typeof r!=="boolean"){throw new Error(`.shouldInjectPolyfill must return a boolean.`)}}return r},debug(e){o().found=true;if(!m||!e)return;if(o().polyfills.has(I.name))return;o().polyfills.set(e,P&&e&&P[e])},assertDependency(e,t="*"){if(r===false)return;if(S){return}const s=t==="*"?e:`${e}@^${t}`;const i=r.all?false:mapGetOr(A,`${e} :: ${n}`,()=>p.has(n,e));if(!i){o().missingDeps.add(s)}}};const I=e(O,h,n);if(typeof I[d]!=="function"){throw new Error(`The "${I.name||e.name}" provider doesn't `+`support the "${c}" polyfilling method.`)}if(Array.isArray(I.polyfills)){x=new Set(I.polyfills);v=I.filterPolyfills}else if(I.polyfills){x=new Set(Object.keys(I.polyfills));P=I.polyfills;v=I.filterPolyfills}else{x=new Set}({include:E,exclude:g}=(0,l.validateIncludeExclude)(I.name||e.name,x,h.include||[],h.exclude||[]));return{debug:m,method:c,targets:y,provider:I,callProvider(e,t){const r=b(t);I[d](e,r,t)}}}function definePolyfillProvider(e){return(0,n.declare)((t,r,n)=>{t.assertVersion(7);const{traverse:i}=t;let a;const f=(0,l.applyMissingDependenciesDefaults)(r,t);const{debug:c,method:d,targets:y,provider:m,callProvider:T}=instantiateProvider(e,r,f,n,()=>a,t);const h=d==="entry-global"?u.entry:u.usage;const S=m.visitor?i.visitors.merge([h(T),m.visitor]):h(T);if(c&&c!==o.presetEnvSilentDebugHeader){console.log(`${m.name}: \`DEBUG\` option`);console.log(`\nUsing targets: ${(0,o.stringifyTargetsMultiline)(y)}`);console.log(`\nUsing polyfills with \`${d}\` method:`)}return{name:"inject-polyfills",visitor:S,pre(){var e;a={polyfills:new Map,found:false,providers:new Set,missingDeps:new Set};(e=m.pre)==null?void 0:e.apply(this,arguments)},post(){var e;(e=m.post)==null?void 0:e.apply(this,arguments);if(f!==false){if(f.log==="per-file"){p.logMissing(a.missingDeps)}else{p.laterLogMissing(a.missingDeps)}}if(!c)return;if(this.filename)console.log(`\n[${this.filename}]`);if(a.polyfills.size===0){console.log(d==="entry-global"?a.found?`Based on your targets, the ${m.name} polyfill did not add any polyfill.`:`The entry point for the ${m.name} polyfill has not been found.`:`Based on your code and targets, the ${m.name} polyfill did not add any polyfill.`);return}if(d==="entry-global"){console.log(`The ${m.name} polyfill entry has been replaced with `+`the following polyfills:`)}else{console.log(`The ${m.name} polyfill added the following polyfills:`)}for(const[e,t]of a.polyfills){if(t){const r=(0,s.getInclusionReasons)(e,y,t);const n=JSON.stringify(r).replace(/,/g,", ").replace(/^\{"/,'{ "').replace(/"\}$/,'" }');console.log(` ${e} ${n}`)}else{console.log(` ${e}`)}}}}})}function mapGetOr(e,t,r){let n=e.get(t);if(n===undefined){n=r();e.set(t,n)}return n}},18896:(e,t,r)=>{"use strict";t.__esModule=true;t.default=createMetaResolver;var n=r(60143);const s=new Set(["global","globalThis","self","window"]);function createMetaResolver(e){const{static:t,instance:r,global:i}=e;return e=>{if(e.kind==="global"&&i&&(0,n.has)(i,e.name)){return{kind:"global",desc:i[e.name],name:e.name}}if(e.kind==="property"||e.kind==="in"){const{placement:a,object:o,key:l}=e;if(o&&a==="static"){if(i&&s.has(o)&&(0,n.has)(i,l)){return{kind:"global",desc:i[l],name:l}}if(t&&(0,n.has)(t,o)&&(0,n.has)(t[o],l)){return{kind:"static",desc:t[o][l],name:`${o}$${l}`}}}if(r&&(0,n.has)(r,l)){return{kind:"instance",desc:r[l],name:`${l}`}}}}}},83458:(e,t,r)=>{"use strict";t.__esModule=true;t.resolve=resolve;t.has=has;t.logMissing=logMissing;t.laterLogMissing=laterLogMissing;var n=_interopRequireDefault(r(85622));var s=_interopRequireDefault(r(66272));var i=_interopRequireDefault(r(39283));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const a=parseFloat(process.versions.node)>=8.9;function resolve(e,t,r){if(r===false)return t;let s=e;if(typeof r==="string"){s=n.default.resolve(s,r)}let o,l;let u=t.indexOf("/");if(t[0]==="@"){u=t.indexOf("/",u+1)}if(u===-1){o=t;l=""}else{o=t.slice(0,u);l=t.slice(u)}try{let r;if(a){r=require.resolve(`${o}/package.json`,{paths:[s]})}else{r=i.default.sync(`${o}/package.json`,{basedir:s})}return n.default.dirname(r)+l}catch(r){if(r.code!=="MODULE_NOT_FOUND")throw r;throw Object.assign(new Error(`Failed to resolve "${t}" relative to "${e}"`),{code:"BABEL_POLYFILL_NOT_FOUND",polyfill:t,dirname:e})}}function has(e,t){try{if(a){require.resolve(t,{paths:[e]})}else{i.default.sync(t,{basedir:e})}return true}catch(e){return false}}function logMissing(e){if(e.size===0)return;const t=Array.from(e).sort().join(" ");console.warn("\nSome polyfills have been added but are not present in your dependencies.\n"+"Please run one of the following commands:\n"+`\tnpm install --save ${t}\n`+`\tyarn add ${t}\n`);process.exitCode=1}let o=new Set;const l=(0,s.default)(()=>{logMissing(o);o=new Set},100);function laterLogMissing(e){if(e.size===0)return;e.forEach(e=>o.add(e));l()}},14136:(e,t,r)=>{"use strict";t.__esModule=true;t.validateIncludeExclude=validateIncludeExclude;t.applyMissingDependenciesDefaults=applyMissingDependenciesDefaults;var n=r(60143);function patternToRegExp(e){if(e instanceof RegExp)return e;try{return new RegExp(`^${e}$`)}catch(e){return null}}function buildUnusedError(e,t){if(!t.length)return"";return` - The following "${e}" patterns didn't match any polyfill:\n`+t.map(e=>` ${String(e)}\n`).join("")}function buldDuplicatesError(e){if(!e.size)return"";return` - The following polyfills were matched both by "include" and "exclude" patterns:\n`+Array.from(e,e=>` ${e}\n`).join("")}function validateIncludeExclude(e,t,r,s){let i;const a=e=>{const r=patternToRegExp(e);if(!r)return false;let n=false;for(const e of t){if(r.test(e)){n=true;i.add(e)}}return!n};const o=i=new Set;const l=Array.from(r).filter(a);const u=i=new Set;const p=Array.from(s).filter(a);const f=(0,n.intersection)(o,u);if(f.size>0||l.length>0||p.length>0){throw new Error(`Error while validating the "${e}" provider options:\n`+buildUnusedError("include",l)+buildUnusedError("exclude",p)+buldDuplicatesError(f))}return{include:o,exclude:u}}function applyMissingDependenciesDefaults(e,t){const{missingDependencies:r={}}=e;if(r===false)return false;const n=t.caller(e=>e==null?void 0:e.name);const{log:s="deferred",inject:i=(n==="rollup-plugin-babel"?"throw":"import"),all:a=false}=r;return{log:s,inject:i,all:a}}},60143:(e,t,r)=>{"use strict";t.__esModule=true;t.intersection=intersection;t.has=has;t.resolveKey=resolveKey;t.resolveSource=resolveSource;t.getImportSource=getImportSource;t.getRequireSource=getRequireSource;t.createUtilsGetter=createUtilsGetter;var n=_interopRequireWildcard(r(66911));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}const{types:s,template:i}=n.default||n;function intersection(e,t){const r=new Set;e.forEach(e=>t.has(e)&&r.add(e));return r}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function getType(e){return Object.prototype.toString.call(e).slice(8,-1)}function resolveId(e){if(e.isIdentifier()&&!e.scope.hasBinding(e.node.name,true)){return e.node.name}const{deopt:t}=e.evaluate();if(t&&t.isIdentifier()){return t.node.name}}function resolveKey(e,t=false){const{node:r,parent:n,scope:s}=e;if(e.isStringLiteral())return r.value;const{name:i}=r;const a=e.isIdentifier();if(a&&!(t||n.computed))return i;if(t&&e.isMemberExpression()&&e.get("object").isIdentifier({name:"Symbol"})&&!s.hasBinding("Symbol",true)){const t=resolveKey(e.get("property"),e.node.computed);if(t)return"Symbol."+t}if(!a||s.hasBinding(i,true)){const{value:t}=e.evaluate();if(typeof t==="string")return t}}function resolveSource(e){if(e.isMemberExpression()&&e.get("property").isIdentifier({name:"prototype"})){const t=resolveId(e.get("object"));if(t){return{id:t,placement:"prototype"}}return{id:null,placement:null}}const t=resolveId(e);if(t){return{id:t,placement:"static"}}const{value:r}=e.evaluate();if(r!==undefined){return{id:getType(r),placement:"prototype"}}else if(e.isRegExpLiteral()){return{id:"RegExp",placement:"prototype"}}else if(e.isFunction()){return{id:"Function",placement:"prototype"}}return{id:null,placement:null}}function getImportSource({node:e}){if(e.specifiers.length===0)return e.source.value}function getRequireSource({node:e}){if(!s.isExpressionStatement(e))return;const{expression:t}=e;const r=s.isCallExpression(t)&&s.isIdentifier(t.callee)&&t.callee.name==="require"&&t.arguments.length===1&&s.isStringLiteral(t.arguments[0]);if(r)return t.arguments[0].value}function hoist(e){e._blockHoist=3;return e}function createUtilsGetter(e){return t=>{const r=t.findParent(e=>e.isProgram());return{injectGlobalImport(t){e.storeAnonymous(r,t,(e,t)=>{return e?i.statement.ast`require(${t})`:s.importDeclaration([],t)})},injectNamedImport(t,n,a=n){return e.storeNamed(r,t,n,(e,t,n)=>{const o=r.scope.generateUidIdentifier(a);return{node:e?hoist(i.statement.ast` - var ${o} = require(${t}).${n} - `):s.importDeclaration([s.importSpecifier(o,n)],t),name:o.name}})},injectDefaultImport(t,n=t){return e.storeNamed(r,t,"default",(e,t)=>{const a=r.scope.generateUidIdentifier(n);return{node:e?hoist(i.statement.ast`var ${a} = require(${t})`):s.importDeclaration([s.importDefaultSpecifier(a)],t),name:a.name}})}}}}},78330:(e,t,r)=>{"use strict";t.__esModule=true;t.default=void 0;var n=r(60143);var s=e=>({ImportDeclaration(t){const r=(0,n.getImportSource)(t);if(!r)return;e({kind:"import",source:r},t)},Program(t){t.get("body").forEach(t=>{const r=(0,n.getRequireSource)(t);if(!r)return;e({kind:"import",source:r},t)})}});t.default=s},73402:(e,t,r)=>{"use strict";t.__esModule=true;t.entry=t.usage=void 0;var n=_interopRequireDefault(r(49622));t.usage=n.default;var s=_interopRequireDefault(r(78330));t.entry=s.default;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},49622:(e,t,r)=>{"use strict";t.__esModule=true;t.default=void 0;var n=r(60143);var s=e=>{function property(t,r,n,s){return e({kind:"property",object:t,key:r,placement:n},s)}return{ReferencedIdentifier(t){const{node:{name:r},scope:n}=t;if(n.getBindingIdentifier(r))return;e({kind:"global",name:r},t)},MemberExpression(e){const t=(0,n.resolveKey)(e.get("property"),e.node.computed);if(!t||t==="prototype")return;const r=e.get("object");const s=r.scope.getBinding(r.node.name);if(s&&s.path.isImportNamespaceSpecifier())return;const i=(0,n.resolveSource)(r);return property(i.id,t,i.placement,e)},ObjectPattern(e){const{parentPath:t,parent:r}=e;let s;if(t.isVariableDeclarator()){s=t.get("init")}else if(t.isAssignmentExpression()){s=t.get("right")}else if(t.isFunction()){const n=t.parentPath;if(n.isCallExpression()||n.isNewExpression()){if(n.node.callee===r){s=n.get("arguments")[e.key]}}}let i=null;let a=null;if(s)({id:i,placement:a}=(0,n.resolveSource)(s));for(const t of e.get("properties")){if(t.isObjectProperty()){const e=(0,n.resolveKey)(t.get("key"));if(e)property(i,e,a,t)}}},BinaryExpression(t){if(t.node.operator!=="in")return;const r=(0,n.resolveSource)(t.get("right"));const s=(0,n.resolveKey)(t.get("left"),true);if(!s)return;e({kind:"in",object:r.id,key:s,placement:r.placement},t)}}};t.default=s},6715:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getModuleName;{const e=getModuleName;t.default=getModuleName=function getModuleName(t,r){var n,s,i,a;return e(t,{moduleId:(n=r.moduleId)!=null?n:t.moduleId,moduleIds:(s=r.moduleIds)!=null?s:t.moduleIds,getModuleId:(i=r.getModuleId)!=null?i:t.getModuleId,moduleRoot:(a=r.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:r,filenameRelative:n=r,sourceRoot:s=t.moduleRoot}=e;const{moduleId:i,moduleIds:a=!!i,getModuleId:o,moduleRoot:l=s}=t;if(!a)return null;if(i!=null&&!o){return i}let u=l!=null?l+"/":"";if(n){const e=s!=null?new RegExp("^"+s+"/?"):"";u+=n.replace(e,"").replace(/\.(\w*?)$/,"")}u=u.replace(/\\/g,"/");if(o){return o(u)||u}else{return u}}},23917:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;t.ensureStatementsHoisted=ensureStatementsHoisted;t.wrapInterop=wrapInterop;t.buildNamespaceInitStatements=buildNamespaceInitStatements;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.isModule}});Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return u.hasExports}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return u.isSideEffectImport}});Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});var n=r(42357);var s=r(35649);var i=r(36900);var a=r(49834);var o=r(26352);var l=r(16798);var u=r(68829);var p=r(6715);function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:r,strict:i,allowTopLevelThis:p,strictMode:f,noInterop:c,importInterop:d=(c?"none":"babel"),lazy:y,esNamespaceOnly:m,constantReexports:T=t,enumerableModuleMeta:h=t}){(0,u.validateImportInteropOption)(d);n((0,a.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const S=(0,u.default)(e,r,{importInterop:d,initializeReexports:T,lazy:y,esNamespaceOnly:m});if(!p){(0,o.default)(e)}(0,l.default)(e,S);if(f!==false){const t=e.node.directives.some(e=>{return e.value.value==="use strict"});if(!t){e.unshiftContainer("directives",s.directive(s.directiveLiteral("use strict")))}}const b=[];if((0,u.hasExports)(S)&&!i){b.push(buildESModuleHeader(S,h))}const E=buildExportNameListDeclaration(e,S);if(E){S.exportNameListName=E.name;b.push(E.statement)}b.push(...buildExportInitializationStatements(e,S,T));return{meta:S,headers:b}}function ensureStatementsHoisted(e){e.forEach(e=>{e._blockHoist=3})}function wrapInterop(e,t,r){if(r==="none"){return null}if(r==="node-namespace"){return s.callExpression(e.hub.addHelper("interopRequireWildcard"),[t,s.booleanLiteral(true)])}else if(r==="node-default"){return null}let n;if(r==="default"){n="interopRequireDefault"}else if(r==="namespace"){n="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${r}`)}return s.callExpression(e.hub.addHelper(n),[t])}function buildNamespaceInitStatements(e,t,r=false){const n=[];let a=s.identifier(t.name);if(t.lazy)a=s.callExpression(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;n.push(i.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:s.cloneNode(a)}))}if(r){n.push(...c(e,t,true))}for(const r of t.reexportNamespace){n.push((t.lazy?i.default.statement` + `(e);function buildGlobal(e){const s=t().identifier("babelHelpers");const r=[];const i=t().functionExpression(null,[t().identifier("global")],t().blockStatement(r));const n=t().program([t().expressionStatement(t().callExpression(i,[t().conditionalExpression(t().binaryExpression("===",t().unaryExpression("typeof",t().identifier("global")),t().stringLiteral("undefined")),t().identifier("self"),t().identifier("global"))]))]);r.push(t().variableDeclaration("var",[t().variableDeclarator(s,t().assignmentExpression("=",t().memberExpression(t().identifier("global"),s),t().objectExpression([])))]));buildHelpers(r,s,e);return n}function buildModule(e){const s=[];const r=buildHelpers(s,null,e);s.unshift(t().exportNamedDeclaration(null,Object.keys(r).map(e=>{return t().exportSpecifier(t().cloneNode(r[e]),t().identifier(e))})));return t().program(s,[],"module")}function buildUmd(e){const s=t().identifier("babelHelpers");const r=[];r.push(t().variableDeclaration("var",[t().variableDeclarator(s,t().identifier("global"))]));buildHelpers(r,s,e);return t().program([n({FACTORY_PARAMETERS:t().identifier("global"),BROWSER_ARGUMENTS:t().assignmentExpression("=",t().memberExpression(t().identifier("root"),s),t().objectExpression([])),COMMON_ARGUMENTS:t().identifier("exports"),AMD_ARGUMENTS:t().arrayExpression([t().stringLiteral("exports")]),FACTORY_BODY:r,UMD_ROOT:t().identifier("this")})])}function buildVar(e){const s=t().identifier("babelHelpers");const r=[];r.push(t().variableDeclaration("var",[t().variableDeclarator(s,t().objectExpression([]))]));const i=t().program(r);buildHelpers(r,s,e);r.push(t().expressionStatement(s));return i}function buildHelpers(e,s,r){const n=e=>{return s?t().memberExpression(s,t().identifier(e)):t().identifier(`_${e}`)};const a={};helpers().list.forEach(function(t){if(r&&r.indexOf(t)<0)return;const s=a[t]=n(t);helpers().ensure(t,i.default);const{nodes:o}=helpers().get(t,n,s);e.push(...o)});return a}function _default(e,t="global"){let s;const r={global:buildGlobal,module:buildModule,umd:buildUmd,var:buildVar}[t];if(r){s=r(e)}else{throw new Error(`Unsupported output type ${t}`)}return(0,_generator().default)(s).code}},11589:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFromAstAsync=t.transformFromAstSync=t.transformFromAst=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(89289);var i=s(25359);const n=_gensync()(function*(e,t,s){const n=yield*(0,r.default)(s);if(n===null)return null;if(!e)throw new Error("No AST given");return yield*(0,i.run)(n,t,e)});const a=function transformFromAst(e,t,s,r){if(typeof s==="function"){r=s;s=undefined}if(r===undefined){return n.sync(e,t,s)}n.errback(e,t,s,r)};t.transformFromAst=a;const o=n.sync;t.transformFromAstSync=o;const l=n.async;t.transformFromAstAsync=l},62411:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFileAsync=t.transformFileSync=t.transformFile=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(89289);var i=s(25359);var n=s(7901);({});const a=_gensync()(function*(e,t){const s=Object.assign({},t,{filename:e});const a=yield*(0,r.default)(s);if(a===null)return null;const o=yield*n.readFile(e,"utf8");return yield*(0,i.run)(a,o)});const o=a.errback;t.transformFile=o;const l=a.sync;t.transformFileSync=l;const c=a.async;t.transformFileAsync=c},54182:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformAsync=t.transformSync=t.transform=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(89289);var i=s(25359);const n=_gensync()(function*transform(e,t){const s=yield*(0,r.default)(t);if(s===null)return null;return yield*(0,i.run)(s,e)});const a=function transform(e,t,s){if(typeof t==="function"){s=t;t=undefined}if(s===undefined)return n.sync(e,t);n.errback(e,t,s)};t.transform=a;const o=n.sync;t.transformSync=o;const l=n.async;t.transformAsync=l},54553:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadBlockHoistPlugin;function _traverse(){const e=s(4267);_traverse=function(){return e};return e}var r=s(30681);let i;function loadBlockHoistPlugin(){if(!i){i=new r.default(Object.assign({},n,{visitor:_traverse().default.explode(n.visitor)}),{})}return i}function priority(e){const t=e==null?void 0:e._blockHoist;if(t==null)return 1;if(t===true)return 2;return t}function stableSort(e){const t=Object.create(null);for(let s=0;s+e).sort((e,t)=>t-e);let r=0;for(const i of s){const s=t[i];for(const t of s){e[r++]=t}}return e}const n={name:"internal.blockHoist",visitor:{Block:{exit({node:e}){const{body:t}=e;let s=Math.pow(2,30)-1;let r=false;for(let e=0;es){r=true;break}s=n}if(!r)return;e.body=stableSort(t.slice())}}}}},78378:(e,s,r)=>{"use strict";Object.defineProperty(s,"__esModule",{value:true});s.default=void 0;function helpers(){const e=r(35295);helpers=function(){return e};return e}function _traverse(){const e=r(4267);_traverse=function(){return e};return e}function _codeFrame(){const e=r(61018);_codeFrame=function(){return e};return e}function t(){const e=r(19761);t=function(){return e};return e}function _helperModuleTransforms(){const e=r(23917);_helperModuleTransforms=function(){return e};return e}function _semver(){const e=r(62519);_semver=function(){return e};return e}const i={enter(e,t){const s=e.node.loc;if(s){t.loc=s;e.stop()}}};class File{constructor(e,{code:t,ast:s,inputMap:r}){this._map=new Map;this.opts=void 0;this.declarations={};this.path=null;this.ast={};this.scope=void 0;this.metadata={};this.code="";this.inputMap=null;this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)};this.opts=e;this.code=t;this.ast=s;this.inputMap=r;this.path=_traverse().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext();this.scope=this.path.scope}get shebang(){const{interpreter:e}=this.path.node;return e?e.value:""}set shebang(e){if(e){this.path.get("interpreter").replaceWith(t().interpreterDirective(e))}else{this.path.get("interpreter").remove()}}set(e,t){if(e==="helpersNamespace"){throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility."+"If you are using @babel/plugin-external-helpers you will need to use a newer "+"version than the one you currently have installed. "+"If you have your own implementation, you'll want to explore using 'helperGenerator' "+"alongside 'file.availableHelper()'.")}this._map.set(e,t)}get(e){return this._map.get(e)}has(e){return this._map.has(e)}getModuleName(){return(0,_helperModuleTransforms().getModuleName)(this.opts,this.opts)}addImport(){throw new Error("This API has been removed. If you're looking for this "+"functionality in Babel 7, you should import the "+"'@babel/helper-module-imports' module and use the functions exposed "+" from that module, such as 'addNamed' or 'addDefault'.")}availableHelper(e,t){let s;try{s=helpers().minVersion(e)}catch(e){if(e.code!=="BABEL_HELPER_UNKNOWN")throw e;return false}if(typeof t!=="string")return true;if(_semver().valid(t))t=`^${t}`;return!_semver().intersects(`<${s}`,t)&&!_semver().intersects(`>=8.0.0`,t)}addHelper(e){const s=this.declarations[e];if(s)return t().cloneNode(s);const r=this.get("helperGenerator");if(r){const t=r(e);if(t)return t}helpers().ensure(e,File);const i=this.declarations[e]=this.scope.generateUidIdentifier(e);const n={};for(const t of helpers().getDependencies(e)){n[t]=this.addHelper(t)}const{nodes:a,globals:o}=helpers().get(e,e=>n[e],i,Object.keys(this.scope.getAllBindings()));o.forEach(e=>{if(this.path.scope.hasBinding(e,true)){this.path.scope.rename(e)}});a.forEach(e=>{e._compact=true});this.path.unshiftContainer("body",a);this.path.get("body").forEach(e=>{if(a.indexOf(e.node)===-1)return;if(e.isVariableDeclaration())this.scope.registerDeclaration(e)});return i}addTemplateObject(){throw new Error("This function has been moved into the template literal transform itself.")}buildCodeFrameError(e,t,s=SyntaxError){let r=e&&(e.loc||e._loc);if(!r&&e){const s={loc:null};(0,_traverse().default)(e,i,this.scope,s);r=s.loc;let n="This is an error on an internal node. Probably an internal error.";if(r)n+=" Location has been estimated.";t+=` (${n})`}if(r){const{highlightCode:e=true}=this.opts;t+="\n"+(0,_codeFrame().codeFrameColumns)(this.code,{start:{line:r.start.line,column:r.start.column+1},end:r.end&&r.start.line===r.end.line?{line:r.end.line,column:r.end.column+1}:undefined},{highlightCode:e})}return new s(t)}}s.default=File},70424:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateCode;function _convertSourceMap(){const e=s(36301);_convertSourceMap=function(){return e};return e}function _generator(){const e=s(23656);_generator=function(){return e};return e}var r=s(95770);function generateCode(e,t){const{opts:s,ast:i,code:n,inputMap:a}=t;const o=[];for(const t of e){for(const e of t){const{generatorOverride:t}=e;if(t){const e=t(i,s.generatorOpts,n,_generator().default);if(e!==undefined)o.push(e)}}}let l;if(o.length===0){l=(0,_generator().default)(i,s.generatorOpts,n)}else if(o.length===1){l=o[0];if(typeof l.then==="function"){throw new Error(`You appear to be using an async codegen plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version.`)}}else{throw new Error("More than one plugin attempted to override codegen.")}let{code:c,map:p}=l;if(p&&a){p=(0,r.default)(a.toObject(),p)}if(s.sourceMaps==="inline"||s.sourceMaps==="both"){c+="\n"+_convertSourceMap().fromObject(p).toComment()}if(s.sourceMaps==="inline"){p=null}return{outputCode:c,outputMap:p}}},95770:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=mergeSourceMap;function _sourceMap(){const e=s(96241);_sourceMap=function(){return e};return e}function mergeSourceMap(e,t){const s=buildMappingData(e);const r=buildMappingData(t);const i=new(_sourceMap().SourceMapGenerator);for(const{source:e}of s.sources){if(typeof e.content==="string"){i.setSourceContent(e.path,e.content)}}if(r.sources.length===1){const e=r.sources[0];const t=new Map;eachInputGeneratedRange(s,(s,r,n)=>{eachOverlappingGeneratedOutputRange(e,s,e=>{const s=makeMappingKey(e);if(t.has(s))return;t.set(s,e);i.addMapping({source:n.path,original:{line:r.line,column:r.columnStart},generated:{line:e.line,column:e.columnStart},name:r.name})})});for(const e of t.values()){if(e.columnEnd===Infinity){continue}const s={line:e.line,columnStart:e.columnEnd};const r=makeMappingKey(s);if(t.has(r)){continue}i.addMapping({generated:{line:s.line,column:s.columnStart}})}}const n=i.toJSON();if(typeof s.sourceRoot==="string"){n.sourceRoot=s.sourceRoot}return n}function makeMappingKey(e){return`${e.line}/${e.columnStart}`}function eachOverlappingGeneratedOutputRange(e,t,s){const r=filterApplicableOriginalRanges(e,t);for(const{generated:e}of r){for(const t of e){s(t)}}}function filterApplicableOriginalRanges({mappings:e},{line:t,columnStart:s,columnEnd:r}){return filterSortedArray(e,({original:e})=>{if(t>e.line)return-1;if(t=e.columnEnd)return-1;if(r<=e.columnStart)return 1;return 0})}function eachInputGeneratedRange(e,t){for(const{source:s,mappings:r}of e.sources){for(const{original:e,generated:i}of r){for(const r of i){t(r,e,s)}}}}function buildMappingData(e){const t=new(_sourceMap().SourceMapConsumer)(Object.assign({},e,{sourceRoot:null}));const s=new Map;const r=new Map;let i=null;t.computeColumnSpans();t.eachMapping(e=>{if(e.originalLine===null)return;let n=s.get(e.source);if(!n){n={path:e.source,content:t.sourceContentFor(e.source,true)};s.set(e.source,n)}let a=r.get(n);if(!a){a={source:n,mappings:[]};r.set(n,a)}const o={line:e.originalLine,columnStart:e.originalColumn,columnEnd:Infinity,name:e.name};if(i&&i.source===n&&i.mapping.line===e.originalLine){i.mapping.columnEnd=e.originalColumn}i={source:n,mapping:o};a.mappings.push({original:o,generated:t.allGeneratedPositionsFor({source:e.source,line:e.originalLine,column:e.originalColumn}).map(e=>({line:e.line,columnStart:e.column,columnEnd:e.lastColumn+1}))})},null,_sourceMap().SourceMapConsumer.ORIGINAL_ORDER);return{file:e.file,sourceRoot:e.sourceRoot,sources:Array.from(r.values())}}function findInsertionLocation(e,t){let s=0;let r=e.length;while(s=0){r=i}else{s=i+1}}let i=s;if(i=0&&t(e[i])>=0){i--}return i+1}return i}function filterSortedArray(e,t){const s=findInsertionLocation(e,t);const r=[];for(let i=s;i{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.run=run;function _traverse(){const e=s(4267);_traverse=function(){return e};return e}var r=s(44103);var i=s(54553);var n=s(92479);var a=s(77352);var o=s(70424);function*run(e,t,s){const r=yield*(0,a.default)(e.passes,(0,n.default)(e),t,s);const i=r.opts;try{yield*transformFile(r,e.passes)}catch(e){var l;e.message=`${(l=i.filename)!=null?l:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_TRANSFORM_ERROR"}throw e}let c,p;try{if(i.code!==false){({outputCode:c,outputMap:p}=(0,o.default)(e.passes,r))}}catch(e){var u;e.message=`${(u=i.filename)!=null?u:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_GENERATE_ERROR"}throw e}return{metadata:r.metadata,options:i,ast:i.ast===true?r.ast:null,code:c===undefined?null:c,map:p===undefined?null:p,sourceType:r.ast.program.sourceType}}function*transformFile(e,t){for(const s of t){const t=[];const n=[];const a=[];for(const o of s.concat([(0,i.default)()])){const s=new r.default(e,o.key,o.options);t.push([o,s]);n.push(s);a.push(o.visitor)}for(const[s,r]of t){const t=s.pre;if(t){const s=t.call(r,e);yield*[];if(isThenable(s)){throw new Error(`You appear to be using an plugin with an async .pre, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}const o=_traverse().default.visitors.merge(a,n,e.opts.wrapPluginVisitorMethod);(0,_traverse().default)(e.ast,o,e.scope);for(const[s,r]of t){const t=s.post;if(t){const s=t.call(r,e);yield*[];if(isThenable(s)){throw new Error(`You appear to be using an plugin with an async .post, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}}}function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},77352:(e,s,r)=>{"use strict";Object.defineProperty(s,"__esModule",{value:true});s.default=normalizeFile;function _fs(){const e=r(35747);_fs=function(){return e};return e}function _path(){const e=r(85622);_path=function(){return e};return e}function _debug(){const e=r(31185);_debug=function(){return e};return e}function t(){const e=r(19761);t=function(){return e};return e}function _convertSourceMap(){const e=r(36301);_convertSourceMap=function(){return e};return e}var i=r(78378);var n=r(6309);var a=r(85998);const o=_debug()("babel:transform:file");const l=1e6;function*normalizeFile(e,s,r,u){r=`${r||""}`;if(u){if(u.type==="Program"){u=t().file(u,[],[])}else if(u.type!=="File"){throw new Error("AST root must be a Program or File node")}if(s.cloneInputAst){u=(0,a.default)(u)}}else{u=yield*(0,n.default)(e,s,r)}let h=null;if(s.inputSourceMap!==false){if(typeof s.inputSourceMap==="object"){h=_convertSourceMap().fromObject(s.inputSourceMap)}if(!h){const e=extractComments(c,u);if(e){try{h=_convertSourceMap().fromComment(e)}catch(e){o("discarding unknown inline input sourcemap",e)}}}if(!h){const e=extractComments(p,u);if(typeof s.filename==="string"&&e){try{const t=p.exec(e);const r=_fs().readFileSync(_path().resolve(_path().dirname(s.filename),t[1]));if(r.length>l){o("skip merging input map > 1 MB")}else{h=_convertSourceMap().fromJSON(r)}}catch(e){o("discarding unknown file input sourcemap",e)}}else if(e){o("discarding un-loadable file input sourcemap")}}}return new i.default(s,{code:r,ast:u,inputMap:h})}const c=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/;const p=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function extractCommentsFromList(e,t,s){if(t){t=t.filter(({value:t})=>{if(e.test(t)){s=t;return false}return true})}return[t,s]}function extractComments(e,s){let r=null;t().traverseFast(s,t=>{[t.leadingComments,r]=extractCommentsFromList(e,t.leadingComments,r);[t.innerComments,r]=extractCommentsFromList(e,t.innerComments,r);[t.trailingComments,r]=extractCommentsFromList(e,t.trailingComments,r)});return r}},92479:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=normalizeOptions;function _path(){const e=s(85622);_path=function(){return e};return e}function normalizeOptions(e){const{filename:t,cwd:s,filenameRelative:r=(typeof t==="string"?_path().relative(s,t):"unknown"),sourceType:i="module",inputSourceMap:n,sourceMaps:a=!!n,sourceRoot:o=e.options.moduleRoot,sourceFileName:l=_path().basename(r),comments:c=true,compact:p="auto"}=e.options;const u=e.options;const h=Object.assign({},u,{parserOpts:Object.assign({sourceType:_path().extname(r)===".mjs"?"module":i,sourceFileName:t,plugins:[]},u.parserOpts),generatorOpts:Object.assign({filename:t,auxiliaryCommentBefore:u.auxiliaryCommentBefore,auxiliaryCommentAfter:u.auxiliaryCommentAfter,retainLines:u.retainLines,comments:c,shouldPrintComment:u.shouldPrintComment,compact:p,minified:u.minified,sourceMaps:a,sourceRoot:o,sourceFileName:l},u.generatorOpts)});for(const t of e.passes){for(const e of t){if(e.manipulateOptions){e.manipulateOptions(h,h.parserOpts)}}}return h}},44103:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class PluginPass{constructor(e,t,s){this._map=new Map;this.key=void 0;this.file=void 0;this.opts=void 0;this.cwd=void 0;this.filename=void 0;this.key=t;this.file=e;this.opts=s||{};this.cwd=e.opts.cwd;this.filename=e.opts.filename}set(e,t){this._map.set(e,t)}get(e){return this._map.get(e)}availableHelper(e,t){return this.file.availableHelper(e,t)}addHelper(e){return this.file.addHelper(e)}addImport(){return this.file.addImport()}buildCodeFrameError(e,t,s){return this.file.buildCodeFrameError(e,t,s)}}t.default=PluginPass;{PluginPass.prototype.getModuleName=function getModuleName(){return this.file.getModuleName()}}},31049:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;const s="$$ babel internal serialized type"+Math.random();function serialize(e,t){if(typeof t!=="bigint")return t;return{[s]:"BigInt",value:t.toString()}}function revive(e,t){if(!t||typeof t!=="object")return t;if(t[s]!=="BigInt")return t;return BigInt(t.value)}function _default(e){return JSON.parse(JSON.stringify(e,serialize),revive)}},85998:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;function _v(){const e=s(68987);_v=function(){return e};return e}var r=s(31049);function _default(e){if(_v().deserialize&&_v().serialize){return _v().deserialize(_v().serialize(e))}return(0,r.default)(e)}},66577:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getInclusionReasons=getInclusionReasons;var r=s(62519);var i=s(93782);var n=s(67609);function getInclusionReasons(e,t,s){const a=s[e]||{};return Object.keys(t).reduce((e,s)=>{const o=(0,n.getLowestImplementedVersion)(a,s);const l=t[s];if(!o){e[s]=(0,i.prettifyVersion)(l)}else{const t=(0,n.isUnreleasedVersion)(o,s);const a=(0,n.isUnreleasedVersion)(l,s);if(!a&&(t||r.lt(l.toString(),(0,n.semverify)(o)))){e[s]=(0,i.prettifyVersion)(l)}}return e},{})}},67378:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.targetsSupported=targetsSupported;t.isRequired=isRequired;t.default=filterItems;var r=s(62519);var i=s(81513);var n=s(67609);function targetsSupported(e,t){const s=Object.keys(e);if(s.length===0){return false}const i=s.filter(s=>{const i=(0,n.getLowestImplementedVersion)(t,s);if(!i){return true}const a=e[s];if((0,n.isUnreleasedVersion)(a,s)){return false}if((0,n.isUnreleasedVersion)(i,s)){return true}if(!r.valid(a.toString())){throw new Error(`Invalid version passed for target "${s}": "${a}". `+"Versions must be in semver format (major.minor.patch)")}return r.gt((0,n.semverify)(i),a.toString())});return i.length===0}function isRequired(e,t,{compatData:s=i,includes:r,excludes:n}={}){if(n!=null&&n.has(e))return false;if(r!=null&&r.has(e))return true;return!targetsSupported(t,s[e])}function filterItems(e,t,s,r,i,n,a){const o=new Set;const l={compatData:e,includes:t,excludes:s};for(const t in e){if(isRequired(t,r,l)){o.add(t)}else if(a){const e=a.get(t);if(e){o.add(e)}}}if(i){i.forEach(e=>!s.has(e)&&o.add(e))}if(n){n.forEach(e=>!t.has(e)&&o.delete(e))}return o}},16451:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isBrowsersQueryValid=isBrowsersQueryValid;t.default=getTargets;Object.defineProperty(t,"unreleasedLabels",{enumerable:true,get:function(){return o.unreleasedLabels}});Object.defineProperty(t,"TargetNames",{enumerable:true,get:function(){return l.TargetNames}});Object.defineProperty(t,"prettifyTargets",{enumerable:true,get:function(){return c.prettifyTargets}});Object.defineProperty(t,"getInclusionReasons",{enumerable:true,get:function(){return p.getInclusionReasons}});Object.defineProperty(t,"filterItems",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"isRequired",{enumerable:true,get:function(){return u.isRequired}});var r=s(3561);var i=s(69562);var n=s(40830);var a=s(67609);var o=s(98798);var l=s(46032);var c=s(93782);var p=s(66577);var u=s(67378);const h=n["es6.module"];const f=new i.OptionValidator("@babel/helper-compilation-targets");function validateTargetNames(e){const t=Object.keys(l.TargetNames);for(const s of Object.keys(e)){if(!(s in l.TargetNames)){throw new Error(f.formatMessage(`'${s}' is not a valid target\n- Did you mean '${(0,i.findSuggestion)(s,t)}'?`))}}return e}function isBrowsersQueryValid(e){return typeof e==="string"||Array.isArray(e)&&e.every(e=>typeof e==="string")}function validateBrowsers(e){f.invariant(e===undefined||isBrowsersQueryValid(e),`'${String(e)}' is not a valid browserslist query`);return e}function getLowestVersions(e){return e.reduce((e,t)=>{const[s,r]=t.split(" ");const i=o.browserNameMap[s];if(!i){return e}try{const t=r.split("-")[0].toLowerCase();const n=(0,a.isUnreleasedVersion)(t,s);if(!e[i]){e[i]=n?t:(0,a.semverify)(t);return e}const o=e[i];const l=(0,a.isUnreleasedVersion)(o,s);if(l&&n){e[i]=(0,a.getLowestUnreleased)(o,t,s)}else if(l){e[i]=(0,a.semverify)(t)}else if(!l&&!n){const s=(0,a.semverify)(t);e[i]=(0,a.semverMin)(o,s)}}catch(e){}return e},{})}function outputDecimalWarning(e){if(!e.length){return}console.warn("Warning, the following targets are using a decimal version:\n");e.forEach(({target:e,value:t})=>console.warn(` ${e}: ${t}`));console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`)}function semverifyTarget(e,t){try{return(0,a.semverify)(t)}catch(s){throw new Error(f.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}const d={__default(e,t){const s=(0,a.isUnreleasedVersion)(t,e)?t.toLowerCase():semverifyTarget(e,t);return[e,s]},node(e,t){const s=t===true||t==="current"?process.versions.node:semverifyTarget(e,t);return[e,s]}};function generateTargets(e){const t=Object.assign({},e);delete t.esmodules;delete t.browsers;return t}function resolveTargets(e){const t=r(e,{mobileToDesktop:true});return getLowestVersions(t)}function getTargets(e={},t={}){var s;let{browsers:i,esmodules:n}=e;const{configPath:o="."}=t;validateBrowsers(i);const l=generateTargets(e);let c=validateTargetNames(l);const p=!!i;const u=p||Object.keys(c).length>0;const f=!t.ignoreBrowserslistConfig&&!u;if(!i&&f){i=r.loadConfig({config:t.configFile,path:o,env:t.browserslistEnv});if(i==null){{i=[]}}}if(n&&(n!=="intersect"||!((s=i)!=null&&s.length))){i=Object.keys(h).map(e=>`${e} >= ${h[e]}`).join(", ");n=false}if(i){const e=resolveTargets(i);if(n==="intersect"){for(const t of Object.keys(e)){const s=e[t];if(h[t]){e[t]=(0,a.getHighestUnreleased)(s,(0,a.semverify)(h[t]),t)}else{delete e[t]}}}c=Object.assign(e,c)}const y={};const m=[];for(const e of Object.keys(c).sort()){var g;const t=c[e];if(typeof t==="number"&&t%1!==0){m.push({target:e,value:t})}const s=(g=d[e])!=null?g:d.__default;const[r,i]=s(e,t);if(i){y[r]=i}}outputDecimalWarning(m);return y}},46032:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TargetNames=void 0;const s={node:"node",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung"};t.TargetNames=s},93782:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.prettifyVersion=prettifyVersion;t.prettifyTargets=prettifyTargets;var r=s(62519);var i=s(98798);function prettifyVersion(e){if(typeof e!=="string"){return e}const t=[r.major(e)];const s=r.minor(e);const i=r.patch(e);if(s||i){t.push(s)}if(i){t.push(i)}return t.join(".")}function prettifyTargets(e){return Object.keys(e).reduce((t,s)=>{let r=e[s];const n=i.unreleasedLabels[s];if(typeof r==="string"&&n!==r){r=prettifyVersion(r)}t[s]=r;return t},{})}},98798:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.browserNameMap=t.unreleasedLabels=void 0;const s={safari:"tp"};t.unreleasedLabels=s;const r={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",op_mob:"opera",opera:"opera",safari:"safari",samsung:"samsung"};t.browserNameMap=r},67609:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.semverMin=semverMin;t.semverify=semverify;t.isUnreleasedVersion=isUnreleasedVersion;t.getLowestUnreleased=getLowestUnreleased;t.getHighestUnreleased=getHighestUnreleased;t.getLowestImplementedVersion=getLowestImplementedVersion;var r=s(62519);var i=s(69562);var n=s(98798);const a=/^(\d+|\d+.\d+)$/;const o=new i.OptionValidator("@babel/helper-compilation-targets");function semverMin(e,t){return e&&r.lt(e,t)?e:t}function semverify(e){if(typeof e==="string"&&r.valid(e)){return e}o.invariant(typeof e==="number"||typeof e==="string"&&a.test(e),`'${e}' is not a valid version`);const t=e.toString().split(".");while(t.length<3){t.push("0")}return t.join(".")}function isUnreleasedVersion(e,t){const s=n.unreleasedLabels[t];return!!s&&s===e.toString().toLowerCase()}function getLowestUnreleased(e,t,s){const r=n.unreleasedLabels[s];const i=[e,t].some(e=>e===r);if(i){return e===i?t:e||t}return semverMin(e,t)}function getHighestUnreleased(e,t,s){return getLowestUnreleased(e,t,s)===e?t:e}function getLowestImplementedVersion(e,t){const s=e[t];if(!s&&t==="android"){return e.chrome}return s}},1948:(e,t,s)=>{"use strict";t.__esModule=true;t.stringifyTargetsMultiline=stringifyTargetsMultiline;t.stringifyTargets=stringifyTargets;t.presetEnvSilentDebugHeader=void 0;var r=s(16451);const i="#__secret_key__@babel/preset-env__don't_log_debug_header_and_resolved_targets";t.presetEnvSilentDebugHeader=i;function stringifyTargetsMultiline(e){return JSON.stringify((0,r.prettifyTargets)(e),null,2)}function stringifyTargets(e){return JSON.stringify(e).replace(/,/g,", ").replace(/^\{"/,'{ "').replace(/"\}$/,'" }')}},95235:(e,t,s)=>{"use strict";t.__esModule=true;t.default=void 0;var r=_interopRequireWildcard(s(66911));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var s={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(Object.prototype.hasOwnProperty.call(e,i)){var n=r?Object.getOwnPropertyDescriptor(e,i):null;if(n&&(n.get||n.set)){Object.defineProperty(s,i,n)}else{s[i]=e[i]}}}s.default=e;if(t){t.set(e,s)}return s}const{types:i}=r.default||r;class ImportsCache{constructor(e){this._imports=new WeakMap;this._anonymousImports=new WeakMap;this._lastImports=new WeakMap;this._resolver=e}storeAnonymous(e,t,s){const r=this._normalizeKey(e,t);const n=this._ensure(this._anonymousImports,e,Set);if(n.has(r))return;const a=s(e.node.sourceType==="script",i.stringLiteral(this._resolver(t)));n.add(r);this._injectImport(e,a)}storeNamed(e,t,s,r){const n=this._normalizeKey(e,t,s);const a=this._ensure(this._imports,e,Map);if(!a.has(n)){const{node:o,name:l}=r(e.node.sourceType==="script",i.stringLiteral(this._resolver(t)),i.identifier(s));a.set(n,l);this._injectImport(e,o)}return i.identifier(a.get(n))}_injectImport(e,t){let s=this._lastImports.get(e);if(s&&s.node&&s.parent===e.node&&s.container===e.node.body){s=s.insertAfter(t)}else{s=e.unshiftContainer("body",t)}s=s[s.length-1];this._lastImports.set(e,s)}_ensure(e,t,s){let r=e.get(t);if(!r){r=new s;e.set(t,r)}return r}_normalizeKey(e,t,s=""){const{sourceType:r}=e.node;return`${s&&r}::${t}::${s}`}}t.default=ImportsCache},30114:(e,t,s)=>{"use strict";t.__esModule=true;t.default=definePolyfillProvider;var r=s(20336);var i=_interopRequireWildcard(s(16451));var n=s(60143);var a=_interopRequireDefault(s(95235));var o=s(1948);var l=s(14136);var c=_interopRequireWildcard(s(36394));var p=_interopRequireWildcard(s(83458));var u=_interopRequireDefault(s(18896));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var s={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(Object.prototype.hasOwnProperty.call(e,i)){var n=r?Object.getOwnPropertyDescriptor(e,i):null;if(n&&(n.get||n.set)){Object.defineProperty(s,i,n)}else{s[i]=e[i]}}}s.default=e;if(t){t.set(e,s)}return s}function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var s={};var r=Object.keys(e);var i,n;for(n=0;n=0)continue;s[i]=e[i]}return s}const h=i.default.default||i.default;function resolveOptions(e,t){const{method:s,targets:r,ignoreBrowserslistConfig:i,configPath:n,debug:a,shouldInjectPolyfill:o,absoluteImports:l}=e,c=_objectWithoutPropertiesLoose(e,["method","targets","ignoreBrowserslistConfig","configPath","debug","shouldInjectPolyfill","absoluteImports"]);let p;if(s==="usage-global")p="usageGlobal";else if(s==="entry-global")p="entryGlobal";else if(s==="usage-pure")p="usagePure";else if(typeof s!=="string"){throw new Error(".method must be a string")}else{throw new Error(`.method must be one of "entry-global", "usage-global"`+` or "usage-pure" (received ${JSON.stringify(s)})`)}if(typeof o==="function"){if(e.include||e.exclude){throw new Error(`.include and .exclude are not supported when using the`+` .shouldInjectPolyfill function.`)}}else if(o!=null){throw new Error(`.shouldInjectPolyfill must be a function, or undefined`+` (received ${JSON.stringify(o)})`)}if(l!=null&&typeof l!=="boolean"&&typeof l!=="string"){throw new Error(`.absoluteImports must be a boolean, a string, or undefined`+` (received ${JSON.stringify(l)})`)}let u;if(r||n||i){const e=typeof r==="string"||Array.isArray(r)?{browsers:r}:r;u=h(e,{ignoreBrowserslistConfig:i,configPath:n})}else{u=t.targets()}return{method:s,methodName:p,targets:u,absoluteImports:l!=null?l:false,shouldInjectPolyfill:o,debug:!!a,providerOptions:c}}function instantiateProvider(e,t,s,r,o,c){const{method:h,methodName:f,targets:d,debug:y,shouldInjectPolyfill:m,providerOptions:g,absoluteImports:b}=resolveOptions(t,c);const x=(0,n.createUtilsGetter)(new a.default(e=>p.resolve(r,e,b)));let v,w;let P;let E;let A;const T=new Map;const C={babel:c,getUtils:x,method:t.method,targets:d,createMetaResolver:u.default,shouldInjectPolyfill(t){if(E===undefined){throw new Error(`Internal error in the ${e.name} provider: `+`shouldInjectPolyfill() can't be called during initialization.`)}if(!E.has(t)){console.warn(`Internal error in the ${k.name} provider: `+`unknown polyfill "${t}".`)}if(A&&!A(t))return false;let s=(0,i.isRequired)(t,d,{compatData:P,includes:v,excludes:w});if(m){s=m(t,s);if(typeof s!=="boolean"){throw new Error(`.shouldInjectPolyfill must return a boolean.`)}}return s},debug(e){o().found=true;if(!y||!e)return;if(o().polyfills.has(k.name))return;o().polyfills.set(e,P&&e&&P[e])},assertDependency(e,t="*"){if(s===false)return;if(b){return}const i=t==="*"?e:`${e}@^${t}`;const n=s.all?false:mapGetOr(T,`${e} :: ${r}`,()=>p.has(r,e));if(!n){o().missingDeps.add(i)}}};const k=e(C,g,r);if(typeof k[f]!=="function"){throw new Error(`The "${k.name||e.name}" provider doesn't `+`support the "${h}" polyfilling method.`)}if(Array.isArray(k.polyfills)){E=new Set(k.polyfills);A=k.filterPolyfills}else if(k.polyfills){E=new Set(Object.keys(k.polyfills));P=k.polyfills;A=k.filterPolyfills}else{E=new Set}({include:v,exclude:w}=(0,l.validateIncludeExclude)(k.name||e.name,E,g.include||[],g.exclude||[]));return{debug:y,method:h,targets:d,provider:k,callProvider(e,t){const s=x(t);k[f](e,s,t)}}}function definePolyfillProvider(e){return(0,r.declare)((t,s,r)=>{t.assertVersion(7);const{traverse:n}=t;let a;const u=(0,l.applyMissingDependenciesDefaults)(s,t);const{debug:h,method:f,targets:d,provider:y,callProvider:m}=instantiateProvider(e,s,u,r,()=>a,t);const g=f==="entry-global"?c.entry:c.usage;const b=y.visitor?n.visitors.merge([g(m),y.visitor]):g(m);if(h&&h!==o.presetEnvSilentDebugHeader){console.log(`${y.name}: \`DEBUG\` option`);console.log(`\nUsing targets: ${(0,o.stringifyTargetsMultiline)(d)}`);console.log(`\nUsing polyfills with \`${f}\` method:`)}return{name:"inject-polyfills",visitor:b,pre(){var e;a={polyfills:new Map,found:false,providers:new Set,missingDeps:new Set};(e=y.pre)==null?void 0:e.apply(this,arguments)},post(){var e;(e=y.post)==null?void 0:e.apply(this,arguments);if(u!==false){if(u.log==="per-file"){p.logMissing(a.missingDeps)}else{p.laterLogMissing(a.missingDeps)}}if(!h)return;if(this.filename)console.log(`\n[${this.filename}]`);if(a.polyfills.size===0){console.log(f==="entry-global"?a.found?`Based on your targets, the ${y.name} polyfill did not add any polyfill.`:`The entry point for the ${y.name} polyfill has not been found.`:`Based on your code and targets, the ${y.name} polyfill did not add any polyfill.`);return}if(f==="entry-global"){console.log(`The ${y.name} polyfill entry has been replaced with `+`the following polyfills:`)}else{console.log(`The ${y.name} polyfill added the following polyfills:`)}for(const[e,t]of a.polyfills){if(t){const s=(0,i.getInclusionReasons)(e,d,t);const r=JSON.stringify(s).replace(/,/g,", ").replace(/^\{"/,'{ "').replace(/"\}$/,'" }');console.log(` ${e} ${r}`)}else{console.log(` ${e}`)}}}}})}function mapGetOr(e,t,s){let r=e.get(t);if(r===undefined){r=s();e.set(t,r)}return r}},18896:(e,t,s)=>{"use strict";t.__esModule=true;t.default=createMetaResolver;var r=s(60143);const i=new Set(["global","globalThis","self","window"]);function createMetaResolver(e){const{static:t,instance:s,global:n}=e;return e=>{if(e.kind==="global"&&n&&(0,r.has)(n,e.name)){return{kind:"global",desc:n[e.name],name:e.name}}if(e.kind==="property"||e.kind==="in"){const{placement:a,object:o,key:l}=e;if(o&&a==="static"){if(n&&i.has(o)&&(0,r.has)(n,l)){return{kind:"global",desc:n[l],name:l}}if(t&&(0,r.has)(t,o)&&(0,r.has)(t[o],l)){return{kind:"static",desc:t[o][l],name:`${o}$${l}`}}}if(s&&(0,r.has)(s,l)){return{kind:"instance",desc:s[l],name:`${l}`}}}}}},83458:(e,t,s)=>{"use strict";t.__esModule=true;t.resolve=resolve;t.has=has;t.logMissing=logMissing;t.laterLogMissing=laterLogMissing;var r=_interopRequireDefault(s(85622));var i=_interopRequireDefault(s(66272));var n=_interopRequireDefault(s(39283));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const a=parseFloat(process.versions.node)>=8.9;function resolve(e,t,s){if(s===false)return t;let i=e;if(typeof s==="string"){i=r.default.resolve(i,s)}let o,l;let c=t.indexOf("/");if(t[0]==="@"){c=t.indexOf("/",c+1)}if(c===-1){o=t;l=""}else{o=t.slice(0,c);l=t.slice(c)}try{let s;if(a){s=require.resolve(`${o}/package.json`,{paths:[i]})}else{s=n.default.sync(`${o}/package.json`,{basedir:i})}return r.default.dirname(s)+l}catch(s){if(s.code!=="MODULE_NOT_FOUND")throw s;throw Object.assign(new Error(`Failed to resolve "${t}" relative to "${e}"`),{code:"BABEL_POLYFILL_NOT_FOUND",polyfill:t,dirname:e})}}function has(e,t){try{if(a){require.resolve(t,{paths:[e]})}else{n.default.sync(t,{basedir:e})}return true}catch(e){return false}}function logMissing(e){if(e.size===0)return;const t=Array.from(e).sort().join(" ");console.warn("\nSome polyfills have been added but are not present in your dependencies.\n"+"Please run one of the following commands:\n"+`\tnpm install --save ${t}\n`+`\tyarn add ${t}\n`);process.exitCode=1}let o=new Set;const l=(0,i.default)(()=>{logMissing(o);o=new Set},100);function laterLogMissing(e){if(e.size===0)return;e.forEach(e=>o.add(e));l()}},14136:(e,t,s)=>{"use strict";t.__esModule=true;t.validateIncludeExclude=validateIncludeExclude;t.applyMissingDependenciesDefaults=applyMissingDependenciesDefaults;var r=s(60143);function patternToRegExp(e){if(e instanceof RegExp)return e;try{return new RegExp(`^${e}$`)}catch(e){return null}}function buildUnusedError(e,t){if(!t.length)return"";return` - The following "${e}" patterns didn't match any polyfill:\n`+t.map(e=>` ${String(e)}\n`).join("")}function buldDuplicatesError(e){if(!e.size)return"";return` - The following polyfills were matched both by "include" and "exclude" patterns:\n`+Array.from(e,e=>` ${e}\n`).join("")}function validateIncludeExclude(e,t,s,i){let n;const a=e=>{const s=patternToRegExp(e);if(!s)return false;let r=false;for(const e of t){if(s.test(e)){r=true;n.add(e)}}return!r};const o=n=new Set;const l=Array.from(s).filter(a);const c=n=new Set;const p=Array.from(i).filter(a);const u=(0,r.intersection)(o,c);if(u.size>0||l.length>0||p.length>0){throw new Error(`Error while validating the "${e}" provider options:\n`+buildUnusedError("include",l)+buildUnusedError("exclude",p)+buldDuplicatesError(u))}return{include:o,exclude:c}}function applyMissingDependenciesDefaults(e,t){const{missingDependencies:s={}}=e;if(s===false)return false;const r=t.caller(e=>e==null?void 0:e.name);const{log:i="deferred",inject:n=(r==="rollup-plugin-babel"?"throw":"import"),all:a=false}=s;return{log:i,inject:n,all:a}}},60143:(e,t,s)=>{"use strict";t.__esModule=true;t.intersection=intersection;t.has=has;t.resolveKey=resolveKey;t.resolveSource=resolveSource;t.getImportSource=getImportSource;t.getRequireSource=getRequireSource;t.createUtilsGetter=createUtilsGetter;var r=_interopRequireWildcard(s(66911));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var s={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(Object.prototype.hasOwnProperty.call(e,i)){var n=r?Object.getOwnPropertyDescriptor(e,i):null;if(n&&(n.get||n.set)){Object.defineProperty(s,i,n)}else{s[i]=e[i]}}}s.default=e;if(t){t.set(e,s)}return s}const{types:i,template:n}=r.default||r;function intersection(e,t){const s=new Set;e.forEach(e=>t.has(e)&&s.add(e));return s}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function getType(e){return Object.prototype.toString.call(e).slice(8,-1)}function resolveId(e){if(e.isIdentifier()&&!e.scope.hasBinding(e.node.name,true)){return e.node.name}const{deopt:t}=e.evaluate();if(t&&t.isIdentifier()){return t.node.name}}function resolveKey(e,t=false){const{node:s,parent:r,scope:i}=e;if(e.isStringLiteral())return s.value;const{name:n}=s;const a=e.isIdentifier();if(a&&!(t||r.computed))return n;if(t&&e.isMemberExpression()&&e.get("object").isIdentifier({name:"Symbol"})&&!i.hasBinding("Symbol",true)){const t=resolveKey(e.get("property"),e.node.computed);if(t)return"Symbol."+t}if(!a||i.hasBinding(n,true)){const{value:t}=e.evaluate();if(typeof t==="string")return t}}function resolveSource(e){if(e.isMemberExpression()&&e.get("property").isIdentifier({name:"prototype"})){const t=resolveId(e.get("object"));if(t){return{id:t,placement:"prototype"}}return{id:null,placement:null}}const t=resolveId(e);if(t){return{id:t,placement:"static"}}const{value:s}=e.evaluate();if(s!==undefined){return{id:getType(s),placement:"prototype"}}else if(e.isRegExpLiteral()){return{id:"RegExp",placement:"prototype"}}else if(e.isFunction()){return{id:"Function",placement:"prototype"}}return{id:null,placement:null}}function getImportSource({node:e}){if(e.specifiers.length===0)return e.source.value}function getRequireSource({node:e}){if(!i.isExpressionStatement(e))return;const{expression:t}=e;const s=i.isCallExpression(t)&&i.isIdentifier(t.callee)&&t.callee.name==="require"&&t.arguments.length===1&&i.isStringLiteral(t.arguments[0]);if(s)return t.arguments[0].value}function hoist(e){e._blockHoist=3;return e}function createUtilsGetter(e){return t=>{const s=t.findParent(e=>e.isProgram());return{injectGlobalImport(t){e.storeAnonymous(s,t,(e,t)=>{return e?n.statement.ast`require(${t})`:i.importDeclaration([],t)})},injectNamedImport(t,r,a=r){return e.storeNamed(s,t,r,(e,t,r)=>{const o=s.scope.generateUidIdentifier(a);return{node:e?hoist(n.statement.ast` + var ${o} = require(${t}).${r} + `):i.importDeclaration([i.importSpecifier(o,r)],t),name:o.name}})},injectDefaultImport(t,r=t){return e.storeNamed(s,t,"default",(e,t)=>{const a=s.scope.generateUidIdentifier(r);return{node:e?hoist(n.statement.ast`var ${a} = require(${t})`):i.importDeclaration([i.importDefaultSpecifier(a)],t),name:a.name}})}}}}},78330:(e,t,s)=>{"use strict";t.__esModule=true;t.default=void 0;var r=s(60143);var i=e=>({ImportDeclaration(t){const s=(0,r.getImportSource)(t);if(!s)return;e({kind:"import",source:s},t)},Program(t){t.get("body").forEach(t=>{const s=(0,r.getRequireSource)(t);if(!s)return;e({kind:"import",source:s},t)})}});t.default=i},36394:(e,t,s)=>{"use strict";t.__esModule=true;t.entry=t.usage=void 0;var r=_interopRequireDefault(s(49622));t.usage=r.default;var i=_interopRequireDefault(s(78330));t.entry=i.default;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},49622:(e,t,s)=>{"use strict";t.__esModule=true;t.default=void 0;var r=s(60143);var i=e=>{function property(t,s,r,i){return e({kind:"property",object:t,key:s,placement:r},i)}return{ReferencedIdentifier(t){const{node:{name:s},scope:r}=t;if(r.getBindingIdentifier(s))return;e({kind:"global",name:s},t)},MemberExpression(e){const t=(0,r.resolveKey)(e.get("property"),e.node.computed);if(!t||t==="prototype")return;const s=e.get("object");const i=s.scope.getBinding(s.node.name);if(i&&i.path.isImportNamespaceSpecifier())return;const n=(0,r.resolveSource)(s);return property(n.id,t,n.placement,e)},ObjectPattern(e){const{parentPath:t,parent:s}=e;let i;if(t.isVariableDeclarator()){i=t.get("init")}else if(t.isAssignmentExpression()){i=t.get("right")}else if(t.isFunction()){const r=t.parentPath;if(r.isCallExpression()||r.isNewExpression()){if(r.node.callee===s){i=r.get("arguments")[e.key]}}}let n=null;let a=null;if(i)({id:n,placement:a}=(0,r.resolveSource)(i));for(const t of e.get("properties")){if(t.isObjectProperty()){const e=(0,r.resolveKey)(t.get("key"));if(e)property(n,e,a,t)}}},BinaryExpression(t){if(t.node.operator!=="in")return;const s=(0,r.resolveSource)(t.get("right"));const i=(0,r.resolveKey)(t.get("left"),true);if(!i)return;e({kind:"in",object:s.id,key:i,placement:s.placement},t)}}};t.default=i},6715:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getModuleName;{const e=getModuleName;t.default=getModuleName=function getModuleName(t,s){var r,i,n,a;return e(t,{moduleId:(r=s.moduleId)!=null?r:t.moduleId,moduleIds:(i=s.moduleIds)!=null?i:t.moduleIds,getModuleId:(n=s.getModuleId)!=null?n:t.getModuleId,moduleRoot:(a=s.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:s,filenameRelative:r=s,sourceRoot:i=t.moduleRoot}=e;const{moduleId:n,moduleIds:a=!!n,getModuleId:o,moduleRoot:l=i}=t;if(!a)return null;if(n!=null&&!o){return n}let c=l!=null?l+"/":"";if(r){const e=i!=null?new RegExp("^"+i+"/?"):"";c+=r.replace(e,"").replace(/\.(\w*?)$/,"")}c=c.replace(/\\/g,"/");if(o){return o(c)||c}else{return c}}},23917:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;t.ensureStatementsHoisted=ensureStatementsHoisted;t.wrapInterop=wrapInterop;t.buildNamespaceInitStatements=buildNamespaceInitStatements;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.isModule}});Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return c.hasExports}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return c.isSideEffectImport}});Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});var r=s(42357);var i=s(19761);var n=s(36900);var a=s(49834);var o=s(26352);var l=s(16798);var c=s(68829);var p=s(6715);function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:s,strict:n,allowTopLevelThis:p,strictMode:u,noInterop:h,importInterop:f=(h?"none":"babel"),lazy:d,esNamespaceOnly:y,constantReexports:m=t,enumerableModuleMeta:g=t}){(0,c.validateImportInteropOption)(f);r((0,a.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const b=(0,c.default)(e,s,{importInterop:f,initializeReexports:m,lazy:d,esNamespaceOnly:y});if(!p){(0,o.default)(e)}(0,l.default)(e,b);if(u!==false){const t=e.node.directives.some(e=>{return e.value.value==="use strict"});if(!t){e.unshiftContainer("directives",i.directive(i.directiveLiteral("use strict")))}}const x=[];if((0,c.hasExports)(b)&&!n){x.push(buildESModuleHeader(b,g))}const v=buildExportNameListDeclaration(e,b);if(v){b.exportNameListName=v.name;x.push(v.statement)}x.push(...buildExportInitializationStatements(e,b,m));return{meta:b,headers:x}}function ensureStatementsHoisted(e){e.forEach(e=>{e._blockHoist=3})}function wrapInterop(e,t,s){if(s==="none"){return null}if(s==="node-namespace"){return i.callExpression(e.hub.addHelper("interopRequireWildcard"),[t,i.booleanLiteral(true)])}else if(s==="node-default"){return null}let r;if(s==="default"){r="interopRequireDefault"}else if(s==="namespace"){r="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${s}`)}return i.callExpression(e.hub.addHelper(r),[t])}function buildNamespaceInitStatements(e,t,s=false){const r=[];let a=i.identifier(t.name);if(t.lazy)a=i.callExpression(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;r.push(n.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:i.cloneNode(a)}))}if(s){r.push(...h(e,t,true))}for(const s of t.reexportNamespace){r.push((t.lazy?n.default.statement` Object.defineProperty(EXPORTS, "NAME", { enumerable: true, get: function() { return NAMESPACE; } }); - `:i.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:r,NAMESPACE:s.cloneNode(a)}))}if(t.reexportAll){const i=buildNamespaceReexport(e,s.cloneNode(a),r);i.loc=t.reexportAll.loc;n.push(i)}return n}const f={constant:i.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:i.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:(0,i.default)` + `:n.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:s,NAMESPACE:i.cloneNode(a)}))}if(t.reexportAll){const n=buildNamespaceReexport(e,i.cloneNode(a),s);n.loc=t.reexportAll.loc;r.push(n)}return r}const u={constant:n.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:n.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:(0,n.default)` Object.defineProperty(EXPORTS, "EXPORT_NAME", { enumerable: true, get: function() { return NAMESPACE_IMPORT; }, }); - `};const c=(e,t,r)=>{const n=t.lazy?s.callExpression(s.identifier(t.name),[]):s.identifier(t.name);const{stringSpecifiers:i}=e;return Array.from(t.reexports,([a,o])=>{let l=s.cloneNode(n);if(o==="default"&&t.interop==="node-default"){}else if(i.has(o)){l=s.memberExpression(l,s.stringLiteral(o),true)}else{l=s.memberExpression(l,s.identifier(o))}const u={EXPORTS:e.exportName,EXPORT_NAME:a,NAMESPACE_IMPORT:l};if(r||s.isIdentifier(l)){if(i.has(a)){return f.constantComputed(u)}else{return f.constant(u)}}else{return f.spec(u)}})};function buildESModuleHeader(e,t=false){return(t?i.default.statement` + `};const h=(e,t,s)=>{const r=t.lazy?i.callExpression(i.identifier(t.name),[]):i.identifier(t.name);const{stringSpecifiers:n}=e;return Array.from(t.reexports,([a,o])=>{let l=i.cloneNode(r);if(o==="default"&&t.interop==="node-default"){}else if(n.has(o)){l=i.memberExpression(l,i.stringLiteral(o),true)}else{l=i.memberExpression(l,i.identifier(o))}const c={EXPORTS:e.exportName,EXPORT_NAME:a,NAMESPACE_IMPORT:l};if(s||i.isIdentifier(l)){if(n.has(a)){return u.constantComputed(c)}else{return u.constant(c)}}else{return u.spec(c)}})};function buildESModuleHeader(e,t=false){return(t?n.default.statement` EXPORTS.__esModule = true; - `:i.default.statement` + `:n.default.statement` Object.defineProperty(EXPORTS, "__esModule", { value: true, }); - `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,r){return(r?i.default.statement` + `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,s){return(s?n.default.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; @@ -7984,7 +7984,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m EXPORTS[key] = NAMESPACE[key]; }); - `:i.default.statement` + `:n.default.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; @@ -7997,13 +7997,13 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }, }); }); - `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,i.default)` + `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,n.default)` if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return; - `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const r=Object.create(null);for(const e of t.local.values()){for(const t of e.names){r[t]=true}}let n=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){r[t]=true}for(const t of e.reexportNamespace){r[t]=true}n=n||!!e.reexportAll}if(!n||Object.keys(r).length===0)return null;const i=e.scope.generateUidIdentifier("exportNames");delete r.default;return{name:i.name,statement:s.variableDeclaration("var",[s.variableDeclarator(i,s.valueToNode(r))])}}function buildExportInitializationStatements(e,t,r=false){const n=[];const i=[];for(const[e,r]of t.local){if(r.kind==="import"){}else if(r.kind==="hoisted"){n.push(buildInitStatement(t,r.names,s.identifier(e)))}else{i.push(...r.names)}}for(const e of t.source.values()){if(!r){n.push(...c(t,e,false))}for(const t of e.reexportNamespace){i.push(t)}}n.push(...chunk(i,100).map(r=>{return buildInitStatement(t,r,e.scope.buildUndefinedNode())}));return n}const d={computed:i.default.expression`EXPORTS["NAME"] = VALUE`,default:i.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,r){const{stringSpecifiers:n,exportName:i}=e;return s.expressionStatement(t.reduce((e,t)=>{const r={EXPORTS:i,NAME:t,VALUE:e};if(n.has(t)){return d.computed(r)}else{return d.default(r)}},r))}function chunk(e,t){const r=[];for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;t.default=normalizeModuleAndLoadMetadata;var n=r(85622);var s=r(23389);var i=r(76729);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t){if(typeof e==="function"){return validateImportInteropOption(e(t))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:r,initializeReexports:n=false,lazy:s=false,esNamespaceOnly:i=false}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const a=new Set;nameAnonymousExports(e);const{local:o,source:l,hasExports:u}=getModuleMetadata(e,{initializeReexports:n,lazy:s},a);removeModuleDeclarations(e);for(const[,e]of l){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(r,e.source);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(i&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:u,local:o,source:l,stringSpecifiers:a}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const r=e.node.value;if(!(0,s.isIdentifierName)(r)){t.add(r)}return r}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:r},s){const i=getLocalExportMetadata(e,r,s);const a=new Map;const o=t=>{const r=t.value;let s=a.get(r);if(!s){s={name:e.scope.generateUidIdentifier((0,n.basename)(r,(0,n.extname)(r))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:r};a.set(r,s)}return s};let l=false;e.get("body").forEach(e=>{if(e.isImportDeclaration()){const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{if(e.isImportDefaultSpecifier()){const r=e.get("local").node.name;t.imports.set(r,"default");const n=i.get(r);if(n){i.delete(r);n.names.forEach(e=>{t.reexports.set(e,"default")})}}else if(e.isImportNamespaceSpecifier()){const r=e.get("local").node.name;t.importsNamespace.add(r);const n=i.get(r);if(n){i.delete(r);n.names.forEach(e=>{t.reexportNamespace.add(e)})}}else if(e.isImportSpecifier()){const r=getExportSpecifierName(e.get("imported"),s);const n=e.get("local").node.name;t.imports.set(n,r);const a=i.get(n);if(a){i.delete(n);a.names.forEach(e=>{t.reexports.set(e,r)})}}})}else if(e.isExportAllDeclaration()){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{assertExportSpecifier(e);const r=getExportSpecifierName(e.get("local"),s);const n=getExportSpecifierName(e.get("exported"),s);t.reexports.set(n,r);if(n==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}})}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}});for(const e of a.values()){let t=false;let r=false;if(e.importsNamespace.size>0){t=true;r=true}if(e.reexportAll){r=true}for(const n of e.imports.values()){if(n==="default")t=true;else r=true}for(const n of e.reexports.values()){if(n==="default")t=true;else r=true}if(t&&r){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,r]of a){if(t!==false&&!(isSideEffectImport(r)||r.reexportAll)){if(t===true){r.lazy=!/\./.test(e)}else if(Array.isArray(t)){r.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){r.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:l,local:i,source:a}}function getLocalExportMetadata(e,t,r){const n=new Map;e.get("body").forEach(e=>{let r;if(e.isImportDeclaration()){r="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach(e=>{assertExportSpecifier(e);n.set(e.get("local").node.name,"block")});return}}if(e.isFunctionDeclaration()){r="hoisted"}else if(e.isClassDeclaration()){r="block"}else if(e.isVariableDeclaration({kind:"var"})){r="var"}else if(e.isVariableDeclaration()){r="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach(e=>{n.set(e,r)})});const s=new Map;const i=e=>{const t=e.node.name;let r=s.get(t);if(!r){const i=n.get(t);if(i===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}r={names:[],kind:i};s.set(t,r)}return r};e.get("body").forEach(e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const r=t.getOuterBindingIdentifierPaths();Object.keys(r).forEach(e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}i(r[e]).names.push(e)})}else{e.get("specifiers").forEach(e=>{const t=e.get("local");const n=e.get("exported");const s=i(t);const a=getExportSpecifierName(n,r);if(a==="__esModule"){throw n.buildCodeFrameError('Illegal export "__esModule".')}s.names.push(a)})}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){i(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}});return s}function nameAnonymousExports(e){e.get("body").forEach(e=>{if(!e.isExportDefaultDeclaration())return;(0,i.default)(e)})}function removeModuleDeclarations(e){e.get("body").forEach(e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}})}},16798:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteLiveReferences;var n=r(42357);var s=r(35649);var i=r(36900);var a=r(5650);function rewriteLiveReferences(e,t){const r=new Map;const n=new Map;const i=t=>{e.requeue(t)};for(const[e,n]of t.source){for(const[t,s]of n.imports){r.set(t,[e,s,null])}for(const t of n.importsNamespace){r.set(t,[e,null,t])}}for(const[e,r]of t.local){let t=n.get(e);if(!t){t=[];n.set(e,t)}t.push(...r.names)}const l={metadata:t,requeueInParent:i,scope:e.scope,exported:n};e.traverse(o,l);(0,a.default)(e,new Set([...Array.from(r.keys()),...Array.from(n.keys())]));const u={seen:new WeakSet,metadata:t,requeueInParent:i,scope:e.scope,imported:r,exported:n,buildImportReference:([e,r,n],i)=>{const a=t.source.get(e);if(n){if(a.lazy)i=s.callExpression(i,[]);return i}let o=s.identifier(a.name);if(a.lazy)o=s.callExpression(o,[]);if(r==="default"&&a.interop==="node-default"){return o}const l=t.stringSpecifiers.has(r);return s.memberExpression(o,l?s.stringLiteral(r):s.identifier(r),l)}};e.traverse(p,u)}const o={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;const{id:i}=e.node;if(!i)throw new Error("Expected class to have a name");const a=i.name;const o=r.get(a)||[];if(o.length>0){const r=s.expressionStatement(l(n,o,s.identifier(a)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(i=>{const a=r.get(i)||[];if(a.length>0){const r=s.expressionStatement(l(n,a,s.identifier(i)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}})}};const l=(e,t,r)=>{return(t||[]).reduce((t,r)=>{const{stringSpecifiers:n}=e;const i=n.has(r);return s.assignmentExpression("=",s.memberExpression(s.identifier(e.exportName),i?s.stringLiteral(r):s.identifier(r),i),t)},r)};const u=e=>{return i.default.expression.ast` + `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const s=Object.create(null);for(const e of t.local.values()){for(const t of e.names){s[t]=true}}let r=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){s[t]=true}for(const t of e.reexportNamespace){s[t]=true}r=r||!!e.reexportAll}if(!r||Object.keys(s).length===0)return null;const n=e.scope.generateUidIdentifier("exportNames");delete s.default;return{name:n.name,statement:i.variableDeclaration("var",[i.variableDeclarator(n,i.valueToNode(s))])}}function buildExportInitializationStatements(e,t,s=false){const r=[];const n=[];for(const[e,s]of t.local){if(s.kind==="import"){}else if(s.kind==="hoisted"){r.push(buildInitStatement(t,s.names,i.identifier(e)))}else{n.push(...s.names)}}for(const e of t.source.values()){if(!s){r.push(...h(t,e,false))}for(const t of e.reexportNamespace){n.push(t)}}r.push(...chunk(n,100).map(s=>{return buildInitStatement(t,s,e.scope.buildUndefinedNode())}));return r}const f={computed:n.default.expression`EXPORTS["NAME"] = VALUE`,default:n.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,s){const{stringSpecifiers:r,exportName:n}=e;return i.expressionStatement(t.reduce((e,t)=>{const s={EXPORTS:n,NAME:t,VALUE:e};if(r.has(t)){return f.computed(s)}else{return f.default(s)}},s))}function chunk(e,t){const s=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;t.default=normalizeModuleAndLoadMetadata;var r=s(85622);var i=s(23389);var n=s(76729);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t){if(typeof e==="function"){return validateImportInteropOption(e(t))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:s,initializeReexports:r=false,lazy:i=false,esNamespaceOnly:n=false}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const a=new Set;nameAnonymousExports(e);const{local:o,source:l,hasExports:c}=getModuleMetadata(e,{initializeReexports:r,lazy:i},a);removeModuleDeclarations(e);for(const[,e]of l){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(s,e.source);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(n&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:c,local:o,source:l,stringSpecifiers:a}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const s=e.node.value;if(!(0,i.isIdentifierName)(s)){t.add(s)}return s}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:s},i){const n=getLocalExportMetadata(e,s,i);const a=new Map;const o=t=>{const s=t.value;let i=a.get(s);if(!i){i={name:e.scope.generateUidIdentifier((0,r.basename)(s,(0,r.extname)(s))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:s};a.set(s,i)}return i};let l=false;e.get("body").forEach(e=>{if(e.isImportDeclaration()){const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{if(e.isImportDefaultSpecifier()){const s=e.get("local").node.name;t.imports.set(s,"default");const r=n.get(s);if(r){n.delete(s);r.names.forEach(e=>{t.reexports.set(e,"default")})}}else if(e.isImportNamespaceSpecifier()){const s=e.get("local").node.name;t.importsNamespace.add(s);const r=n.get(s);if(r){n.delete(s);r.names.forEach(e=>{t.reexportNamespace.add(e)})}}else if(e.isImportSpecifier()){const s=getExportSpecifierName(e.get("imported"),i);const r=e.get("local").node.name;t.imports.set(r,s);const a=n.get(r);if(a){n.delete(r);a.names.forEach(e=>{t.reexports.set(e,s)})}}})}else if(e.isExportAllDeclaration()){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{assertExportSpecifier(e);const s=getExportSpecifierName(e.get("local"),i);const r=getExportSpecifierName(e.get("exported"),i);t.reexports.set(r,s);if(r==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}})}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}});for(const e of a.values()){let t=false;let s=false;if(e.importsNamespace.size>0){t=true;s=true}if(e.reexportAll){s=true}for(const r of e.imports.values()){if(r==="default")t=true;else s=true}for(const r of e.reexports.values()){if(r==="default")t=true;else s=true}if(t&&s){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,s]of a){if(t!==false&&!(isSideEffectImport(s)||s.reexportAll)){if(t===true){s.lazy=!/\./.test(e)}else if(Array.isArray(t)){s.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){s.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:l,local:n,source:a}}function getLocalExportMetadata(e,t,s){const r=new Map;e.get("body").forEach(e=>{let s;if(e.isImportDeclaration()){s="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach(e=>{assertExportSpecifier(e);r.set(e.get("local").node.name,"block")});return}}if(e.isFunctionDeclaration()){s="hoisted"}else if(e.isClassDeclaration()){s="block"}else if(e.isVariableDeclaration({kind:"var"})){s="var"}else if(e.isVariableDeclaration()){s="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach(e=>{r.set(e,s)})});const i=new Map;const n=e=>{const t=e.node.name;let s=i.get(t);if(!s){const n=r.get(t);if(n===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}s={names:[],kind:n};i.set(t,s)}return s};e.get("body").forEach(e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const s=t.getOuterBindingIdentifierPaths();Object.keys(s).forEach(e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}n(s[e]).names.push(e)})}else{e.get("specifiers").forEach(e=>{const t=e.get("local");const r=e.get("exported");const i=n(t);const a=getExportSpecifierName(r,s);if(a==="__esModule"){throw r.buildCodeFrameError('Illegal export "__esModule".')}i.names.push(a)})}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){n(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}});return i}function nameAnonymousExports(e){e.get("body").forEach(e=>{if(!e.isExportDefaultDeclaration())return;(0,n.default)(e)})}function removeModuleDeclarations(e){e.get("body").forEach(e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}})}},16798:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteLiveReferences;var r=s(42357);var i=s(19761);var n=s(36900);var a=s(5650);function rewriteLiveReferences(e,t){const s=new Map;const r=new Map;const n=t=>{e.requeue(t)};for(const[e,r]of t.source){for(const[t,i]of r.imports){s.set(t,[e,i,null])}for(const t of r.importsNamespace){s.set(t,[e,null,t])}}for(const[e,s]of t.local){let t=r.get(e);if(!t){t=[];r.set(e,t)}t.push(...s.names)}const l={metadata:t,requeueInParent:n,scope:e.scope,exported:r};e.traverse(o,l);(0,a.default)(e,new Set([...Array.from(s.keys()),...Array.from(r.keys())]));const c={seen:new WeakSet,metadata:t,requeueInParent:n,scope:e.scope,imported:s,exported:r,buildImportReference:([e,s,r],n)=>{const a=t.source.get(e);if(r){if(a.lazy)n=i.callExpression(n,[]);return n}let o=i.identifier(a.name);if(a.lazy)o=i.callExpression(o,[]);if(s==="default"&&a.interop==="node-default"){return o}const l=t.stringSpecifiers.has(s);return i.memberExpression(o,l?i.stringLiteral(s):i.identifier(s),l)}};e.traverse(p,c)}const o={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:s,metadata:r}=this;const{id:n}=e.node;if(!n)throw new Error("Expected class to have a name");const a=n.name;const o=s.get(a)||[];if(o.length>0){const s=i.expressionStatement(l(r,o,i.identifier(a)));s._blockHoist=e.node._blockHoist;t(e.insertAfter(s)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:s,metadata:r}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(n=>{const a=s.get(n)||[];if(a.length>0){const s=i.expressionStatement(l(r,a,i.identifier(n)));s._blockHoist=e.node._blockHoist;t(e.insertAfter(s)[0])}})}};const l=(e,t,s)=>{return(t||[]).reduce((t,s)=>{const{stringSpecifiers:r}=e;const n=r.has(s);return i.assignmentExpression("=",i.memberExpression(i.identifier(e.exportName),n?i.stringLiteral(s):i.identifier(s),n),t)},s)};const c=e=>{return n.default.expression.ast` (function() { throw new Error('"' + '${e}' + '" is read-only.'); })() - `};const p={ReferencedIdentifier(e){const{seen:t,buildImportReference:r,scope:n,imported:i,requeueInParent:a}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const l=i.get(o);if(l){const t=e.scope.getBinding(o);const i=n.getBinding(o);if(i!==t)return;const u=r(l,e.node);u.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&s.isMemberExpression(u)){e.replaceWith(s.sequenceExpression([s.numericLiteral(0),u]))}else if(e.isJSXIdentifier()&&s.isMemberExpression(u)){const{object:t,property:r}=u;e.replaceWith(s.jsxMemberExpression(s.jsxIdentifier(t.name),s.jsxIdentifier(r.name)))}else{e.replaceWith(u)}a(e);e.skip()}},AssignmentExpression:{exit(e){const{scope:t,seen:r,imported:i,exported:a,requeueInParent:o,buildImportReference:p}=this;if(r.has(e.node))return;r.add(e.node);const f=e.get("left");if(f.isMemberExpression())return;if(f.isIdentifier()){const r=f.node.name;if(t.getBinding(r)!==e.scope.getBinding(r)){return}const c=a.get(r);const d=i.get(r);if((c==null?void 0:c.length)>0||d){n(e.node.operator==="=","Path was not simplified");const t=e.node;if(d){t.left=p(d,t.left);t.right=s.sequenceExpression([t.right,u(r)])}e.replaceWith(l(this.metadata,c,t));o(e)}}else{const r=f.getOuterBindingIdentifiers();const n=Object.keys(r).filter(r=>t.getBinding(r)===e.scope.getBinding(r));const p=n.find(e=>i.has(e));if(p){e.node.right=s.sequenceExpression([e.node.right,u(p)])}const c=[];n.forEach(e=>{const t=a.get(e)||[];if(t.length>0){c.push(l(this.metadata,t,s.identifier(e)))}});if(c.length>0){let t=s.sequenceExpression(c);if(e.parentPath.isExpressionStatement()){t=s.expressionStatement(t);t._blockHoist=e.parentPath.node._blockHoist}const r=e.insertAfter(t)[0];o(r)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:r}=e;const{left:n}=r;const{exported:i,scope:a}=this;if(!s.isVariableDeclaration(n)){let r=false;const o=e.get("body");const l=o.scope;for(const e of Object.keys(s.getOuterBindingIdentifiers(n))){if(i.get(e)&&a.getBinding(e)===t.getBinding(e)){r=true;if(l.hasOwnBinding(e)){l.rename(e)}}}if(!r){return}const u=t.generateUidIdentifierBasedOnNode(n);o.unshiftContainer("body",s.expressionStatement(s.assignmentExpression("=",n,u)));e.get("left").replaceWith(s.variableDeclaration("let",[s.variableDeclarator(s.cloneNode(u))]));t.registerDeclaration(e.get("left"))}}}},26352:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteThis;var n=r(846);var s=r(4267);var i=r(35649);function rewriteThis(e){(0,s.default)(e.node,Object.assign({},a,{noScope:true}))}const a=s.default.visitors.merge([n.environmentVisitor,{ThisExpression(e){e.replaceWith(i.unaryExpression("void",i.numericLiteral(0),true))}}])},5650:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=simplifyAccess;var n=r(35649);function simplifyAccess(e,t){e.traverse(s,{scope:e.scope,bindingNames:t,seen:new WeakSet})}const s={UpdateExpression:{exit(e){const{scope:t,bindingNames:r}=this;const s=e.get("argument");if(!s.isIdentifier())return;const i=s.node.name;if(!r.has(i))return;if(t.getBinding(i)!==e.scope.getBinding(i)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(n.assignmentExpression(t,s.node,n.numericLiteral(1)))}else if(e.node.prefix){e.replaceWith(n.assignmentExpression("=",n.identifier(i),n.binaryExpression(e.node.operator[0],n.unaryExpression("+",s.node),n.numericLiteral(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(s.node,"old");const r=t.name;e.scope.push({id:t});const i=n.binaryExpression(e.node.operator[0],n.identifier(r),n.numericLiteral(1));e.replaceWith(n.sequenceExpression([n.assignmentExpression("=",n.identifier(r),n.unaryExpression("+",s.node)),n.assignmentExpression("=",n.cloneNode(s.node),i),n.identifier(r)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:r,bindingNames:s}=this;if(e.node.operator==="=")return;if(r.has(e.node))return;r.add(e.node);const i=e.get("left");if(!i.isIdentifier())return;const a=i.node.name;if(!s.has(a))return;if(t.getBinding(a)!==e.scope.getBinding(a)){return}e.node.right=n.binaryExpression(e.node.operator.slice(0,-1),n.cloneNode(e.node.left),e.node.right);e.node.operator="="}}}},50716:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(50716);var s=r(68225)},68225:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},31757:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.wrapRegExp=t.typeof=t.objectSpread2=t.jsx=void 0;var n=r(36900);const s={minVersion:"7.0.0-beta.0",ast:()=>n.default.program.ast('\nvar REACT_ELEMENT_TYPE;\nexport default function _createRawReactElement(type, props, key, children) {\n if (!REACT_ELEMENT_TYPE) {\n REACT_ELEMENT_TYPE =\n (typeof Symbol === "function" &&\n \n Symbol["for"] &&\n Symbol["for"]("react.element")) ||\n 0xeac7;\n }\n var defaultProps = type && type.defaultProps;\n var childrenLength = arguments.length - 3;\n if (!props && childrenLength !== 0) {\n \n \n props = { children: void 0 };\n }\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = new Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 3];\n }\n props.children = childArray;\n }\n if (props && defaultProps) {\n for (var propName in defaultProps) {\n if (props[propName] === void 0) {\n props[propName] = defaultProps[propName];\n }\n }\n } else if (!props) {\n props = defaultProps || {};\n }\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key === undefined ? null : "" + key,\n ref: null,\n props: props,\n _owner: null,\n };\n}\n')};t.jsx=s;const i={minVersion:"7.5.0",ast:()=>n.default.program.ast('\nimport defineProperty from "defineProperty";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(\n target,\n key,\n Object.getOwnPropertyDescriptor(source, key)\n );\n });\n }\n }\n return target;\n}\n')};t.objectSpread2=i;const a={minVersion:"7.0.0-beta.0",ast:()=>n.default.program.ast('\nexport default function _typeof(obj) {\n "@babel/helpers - typeof";\n if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj &&\n typeof Symbol === "function" &&\n obj.constructor === Symbol &&\n obj !== Symbol.prototype\n ? "symbol"\n : typeof obj;\n };\n }\n return _typeof(obj);\n}\n')};t.typeof=a;const o={minVersion:"7.2.6",ast:()=>n.default.program.ast('\nimport setPrototypeOf from "setPrototypeOf";\nimport inherits from "inherits";\nexport default function _wrapRegExp() {\n _wrapRegExp = function (re, groups) {\n return new BabelRegExp(re, undefined, groups);\n };\n var _super = RegExp.prototype;\n var _groups = new WeakMap();\n function BabelRegExp(re, flags, groups) {\n var _this = new RegExp(re, flags);\n \n _groups.set(_this, groups || _groups.get(re));\n return setPrototypeOf(_this, BabelRegExp.prototype);\n }\n inherits(BabelRegExp, RegExp);\n BabelRegExp.prototype.exec = function (str) {\n var result = _super.exec.call(this, str);\n if (result) result.groups = buildGroups(result, this);\n return result;\n };\n BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {\n if (typeof substitution === "string") {\n var groups = _groups.get(this);\n return _super[Symbol.replace].call(\n this,\n str,\n substitution.replace(/\\$<([^>]+)>/g, function (_, name) {\n return "$" + groups[name];\n })\n );\n } else if (typeof substitution === "function") {\n var _this = this;\n return _super[Symbol.replace].call(this, str, function () {\n var args = arguments;\n \n if (typeof args[args.length - 1] !== "object") {\n args = [].slice.call(args);\n args.push(buildGroups(args, _this));\n }\n return substitution.apply(this, args);\n });\n } else {\n return _super[Symbol.replace].call(this, str, substitution);\n }\n };\n function buildGroups(result, re) {\n \n \n var g = _groups.get(re);\n return Object.keys(g).reduce(function (groups, name) {\n groups[name] = result[g[name]];\n return groups;\n }, Object.create(null));\n }\n return _wrapRegExp.apply(this, arguments);\n}\n')};t.wrapRegExp=o},53482:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(36900);var s=r(31757);const i=Object.assign({__proto__:null},s);var a=i;t.default=a;const o=e=>t=>({minVersion:e,ast:()=>n.default.program.ast(t)});i.asyncIterator=o("7.0.0-beta.0")` + `};const p={ReferencedIdentifier(e){const{seen:t,buildImportReference:s,scope:r,imported:n,requeueInParent:a}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const l=n.get(o);if(l){const t=e.scope.getBinding(o);const n=r.getBinding(o);if(n!==t)return;const c=s(l,e.node);c.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&i.isMemberExpression(c)){e.replaceWith(i.sequenceExpression([i.numericLiteral(0),c]))}else if(e.isJSXIdentifier()&&i.isMemberExpression(c)){const{object:t,property:s}=c;e.replaceWith(i.jsxMemberExpression(i.jsxIdentifier(t.name),i.jsxIdentifier(s.name)))}else{e.replaceWith(c)}a(e);e.skip()}},AssignmentExpression:{exit(e){const{scope:t,seen:s,imported:n,exported:a,requeueInParent:o,buildImportReference:p}=this;if(s.has(e.node))return;s.add(e.node);const u=e.get("left");if(u.isMemberExpression())return;if(u.isIdentifier()){const s=u.node.name;if(t.getBinding(s)!==e.scope.getBinding(s)){return}const h=a.get(s);const f=n.get(s);if((h==null?void 0:h.length)>0||f){r(e.node.operator==="=","Path was not simplified");const t=e.node;if(f){t.left=p(f,t.left);t.right=i.sequenceExpression([t.right,c(s)])}e.replaceWith(l(this.metadata,h,t));o(e)}}else{const s=u.getOuterBindingIdentifiers();const r=Object.keys(s).filter(s=>t.getBinding(s)===e.scope.getBinding(s));const p=r.find(e=>n.has(e));if(p){e.node.right=i.sequenceExpression([e.node.right,c(p)])}const h=[];r.forEach(e=>{const t=a.get(e)||[];if(t.length>0){h.push(l(this.metadata,t,i.identifier(e)))}});if(h.length>0){let t=i.sequenceExpression(h);if(e.parentPath.isExpressionStatement()){t=i.expressionStatement(t);t._blockHoist=e.parentPath.node._blockHoist}const s=e.insertAfter(t)[0];o(s)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:s}=e;const{left:r}=s;const{exported:n,scope:a}=this;if(!i.isVariableDeclaration(r)){let s=false;const o=e.get("body");const l=o.scope;for(const e of Object.keys(i.getOuterBindingIdentifiers(r))){if(n.get(e)&&a.getBinding(e)===t.getBinding(e)){s=true;if(l.hasOwnBinding(e)){l.rename(e)}}}if(!s){return}const c=t.generateUidIdentifierBasedOnNode(r);o.unshiftContainer("body",i.expressionStatement(i.assignmentExpression("=",r,c)));e.get("left").replaceWith(i.variableDeclaration("let",[i.variableDeclarator(i.cloneNode(c))]));t.registerDeclaration(e.get("left"))}}}},26352:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteThis;var r=s(846);var i=s(4267);var n=s(19761);function rewriteThis(e){(0,i.default)(e.node,Object.assign({},a,{noScope:true}))}const a=i.default.visitors.merge([r.environmentVisitor,{ThisExpression(e){e.replaceWith(n.unaryExpression("void",n.numericLiteral(0),true))}}])},5650:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=simplifyAccess;var r=s(19761);function simplifyAccess(e,t){e.traverse(i,{scope:e.scope,bindingNames:t,seen:new WeakSet})}const i={UpdateExpression:{exit(e){const{scope:t,bindingNames:s}=this;const i=e.get("argument");if(!i.isIdentifier())return;const n=i.node.name;if(!s.has(n))return;if(t.getBinding(n)!==e.scope.getBinding(n)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(r.assignmentExpression(t,i.node,r.numericLiteral(1)))}else if(e.node.prefix){e.replaceWith(r.assignmentExpression("=",r.identifier(n),r.binaryExpression(e.node.operator[0],r.unaryExpression("+",i.node),r.numericLiteral(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(i.node,"old");const s=t.name;e.scope.push({id:t});const n=r.binaryExpression(e.node.operator[0],r.identifier(s),r.numericLiteral(1));e.replaceWith(r.sequenceExpression([r.assignmentExpression("=",r.identifier(s),r.unaryExpression("+",i.node)),r.assignmentExpression("=",r.cloneNode(i.node),n),r.identifier(s)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:s,bindingNames:i}=this;if(e.node.operator==="=")return;if(s.has(e.node))return;s.add(e.node);const n=e.get("left");if(!n.isIdentifier())return;const a=n.node.name;if(!i.has(a))return;if(t.getBinding(a)!==e.scope.getBinding(a)){return}e.node.right=r.binaryExpression(e.node.operator.slice(0,-1),r.cloneNode(e.node.left),e.node.right);e.node.operator="="}}}},50716:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let r="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+s+"]");const n=new RegExp("["+s+r+"]");s=r=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let s=65536;for(let r=0,i=t.length;re)return false;s+=t[r+1];if(s>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&n.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return r.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return r.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return r.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var r=s(50716);var i=s(68225)},68225:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const s={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const r=new Set(s.keyword);const i=new Set(s.strict);const n=new Set(s.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return n.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return r.has(e)}},31757:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.wrapRegExp=t.typeof=t.objectSpread2=t.jsx=void 0;var r=s(36900);const i={minVersion:"7.0.0-beta.0",ast:()=>r.default.program.ast('\nvar REACT_ELEMENT_TYPE;\nexport default function _createRawReactElement(type, props, key, children) {\n if (!REACT_ELEMENT_TYPE) {\n REACT_ELEMENT_TYPE =\n (typeof Symbol === "function" &&\n \n Symbol["for"] &&\n Symbol["for"]("react.element")) ||\n 0xeac7;\n }\n var defaultProps = type && type.defaultProps;\n var childrenLength = arguments.length - 3;\n if (!props && childrenLength !== 0) {\n \n \n props = { children: void 0 };\n }\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = new Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 3];\n }\n props.children = childArray;\n }\n if (props && defaultProps) {\n for (var propName in defaultProps) {\n if (props[propName] === void 0) {\n props[propName] = defaultProps[propName];\n }\n }\n } else if (!props) {\n props = defaultProps || {};\n }\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key === undefined ? null : "" + key,\n ref: null,\n props: props,\n _owner: null,\n };\n}\n')};t.jsx=i;const n={minVersion:"7.5.0",ast:()=>r.default.program.ast('\nimport defineProperty from "defineProperty";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(\n target,\n key,\n Object.getOwnPropertyDescriptor(source, key)\n );\n });\n }\n }\n return target;\n}\n')};t.objectSpread2=n;const a={minVersion:"7.0.0-beta.0",ast:()=>r.default.program.ast('\nexport default function _typeof(obj) {\n "@babel/helpers - typeof";\n if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj &&\n typeof Symbol === "function" &&\n obj.constructor === Symbol &&\n obj !== Symbol.prototype\n ? "symbol"\n : typeof obj;\n };\n }\n return _typeof(obj);\n}\n')};t.typeof=a;const o={minVersion:"7.2.6",ast:()=>r.default.program.ast('\nimport setPrototypeOf from "setPrototypeOf";\nimport inherits from "inherits";\nexport default function _wrapRegExp() {\n _wrapRegExp = function (re, groups) {\n return new BabelRegExp(re, undefined, groups);\n };\n var _super = RegExp.prototype;\n var _groups = new WeakMap();\n function BabelRegExp(re, flags, groups) {\n var _this = new RegExp(re, flags);\n \n _groups.set(_this, groups || _groups.get(re));\n return setPrototypeOf(_this, BabelRegExp.prototype);\n }\n inherits(BabelRegExp, RegExp);\n BabelRegExp.prototype.exec = function (str) {\n var result = _super.exec.call(this, str);\n if (result) result.groups = buildGroups(result, this);\n return result;\n };\n BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {\n if (typeof substitution === "string") {\n var groups = _groups.get(this);\n return _super[Symbol.replace].call(\n this,\n str,\n substitution.replace(/\\$<([^>]+)>/g, function (_, name) {\n return "$" + groups[name];\n })\n );\n } else if (typeof substitution === "function") {\n var _this = this;\n return _super[Symbol.replace].call(this, str, function () {\n var args = arguments;\n \n if (typeof args[args.length - 1] !== "object") {\n args = [].slice.call(args);\n args.push(buildGroups(args, _this));\n }\n return substitution.apply(this, args);\n });\n } else {\n return _super[Symbol.replace].call(this, str, substitution);\n }\n };\n function buildGroups(result, re) {\n \n \n var g = _groups.get(re);\n return Object.keys(g).reduce(function (groups, name) {\n groups[name] = result[g[name]];\n return groups;\n }, Object.create(null));\n }\n return _wrapRegExp.apply(this, arguments);\n}\n')};t.wrapRegExp=o},53482:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(36900);var i=s(31757);const n=Object.assign({__proto__:null},i);var a=n;t.default=a;const o=e=>t=>({minVersion:e,ast:()=>r.default.program.ast(t)});n.asyncIterator=o("7.0.0-beta.0")` export default function _asyncIterator(iterable) { var method; if (typeof Symbol !== "undefined") { @@ -8015,11 +8015,11 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m if (method == null) throw new TypeError("Object is not async iterable"); return method.call(iterable); } -`;i.AwaitValue=o("7.0.0-beta.0")` +`;n.AwaitValue=o("7.0.0-beta.0")` export default function _AwaitValue(value) { this.wrapped = value; } -`;i.AsyncGenerator=o("7.0.0-beta.0")` +`;n.AsyncGenerator=o("7.0.0-beta.0")` import AwaitValue from "AwaitValue"; export default function AsyncGenerator(gen) { @@ -8099,7 +8099,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m AsyncGenerator.prototype.next = function (arg) { return this._invoke("next", arg); }; AsyncGenerator.prototype.throw = function (arg) { return this._invoke("throw", arg); }; AsyncGenerator.prototype.return = function (arg) { return this._invoke("return", arg); }; -`;i.wrapAsyncGenerator=o("7.0.0-beta.0")` +`;n.wrapAsyncGenerator=o("7.0.0-beta.0")` import AsyncGenerator from "AsyncGenerator"; export default function _wrapAsyncGenerator(fn) { @@ -8107,13 +8107,13 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return new AsyncGenerator(fn.apply(this, arguments)); }; } -`;i.awaitAsyncGenerator=o("7.0.0-beta.0")` +`;n.awaitAsyncGenerator=o("7.0.0-beta.0")` import AwaitValue from "AwaitValue"; export default function _awaitAsyncGenerator(value) { return new AwaitValue(value); } -`;i.asyncGeneratorDelegate=o("7.0.0-beta.0")` +`;n.asyncGeneratorDelegate=o("7.0.0-beta.0")` export default function _asyncGeneratorDelegate(inner, awaitWrap) { var iter = {}, waiting = false; @@ -8155,7 +8155,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return iter; } -`;i.asyncToGenerator=o("7.0.0-beta.0")` +`;n.asyncToGenerator=o("7.0.0-beta.0")` function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); @@ -8188,13 +8188,13 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }); }; } -`;i.classCallCheck=o("7.0.0-beta.0")` +`;n.classCallCheck=o("7.0.0-beta.0")` export default function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -`;i.createClass=o("7.0.0-beta.0")` +`;n.createClass=o("7.0.0-beta.0")` function _defineProperties(target, props) { for (var i = 0; i < props.length; i ++) { var descriptor = props[i]; @@ -8210,7 +8210,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } -`;i.defineEnumerableProperties=o("7.0.0-beta.0")` +`;n.defineEnumerableProperties=o("7.0.0-beta.0")` export default function _defineEnumerableProperties(obj, descs) { for (var key in descs) { var desc = descs[key]; @@ -8234,7 +8234,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return obj; } -`;i.defaults=o("7.0.0-beta.0")` +`;n.defaults=o("7.0.0-beta.0")` export default function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { @@ -8246,7 +8246,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return obj; } -`;i.defineProperty=o("7.0.0-beta.0")` +`;n.defineProperty=o("7.0.0-beta.0")` export default function _defineProperty(obj, key, value) { // Shortcircuit the slow defineProperty path when possible. // We are trying to avoid issues where setters defined on the @@ -8265,7 +8265,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return obj; } -`;i.extends=o("7.0.0-beta.0")` +`;n.extends=o("7.0.0-beta.0")` export default function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { @@ -8281,7 +8281,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return _extends.apply(this, arguments); } -`;i.objectSpread=o("7.0.0-beta.0")` +`;n.objectSpread=o("7.0.0-beta.0")` import defineProperty from "defineProperty"; export default function _objectSpread(target) { @@ -8299,7 +8299,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return target; } -`;i.inherits=o("7.0.0-beta.0")` +`;n.inherits=o("7.0.0-beta.0")` import setPrototypeOf from "setPrototypeOf"; export default function _inherits(subClass, superClass) { @@ -8315,7 +8315,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }); if (superClass) setPrototypeOf(subClass, superClass); } -`;i.inheritsLoose=o("7.0.0-beta.0")` +`;n.inheritsLoose=o("7.0.0-beta.0")` import setPrototypeOf from "setPrototypeOf"; export default function _inheritsLoose(subClass, superClass) { @@ -8323,7 +8323,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m subClass.prototype.constructor = subClass; setPrototypeOf(subClass, superClass); } -`;i.getPrototypeOf=o("7.0.0-beta.0")` +`;n.getPrototypeOf=o("7.0.0-beta.0")` export default function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf @@ -8332,7 +8332,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }; return _getPrototypeOf(o); } -`;i.setPrototypeOf=o("7.0.0-beta.0")` +`;n.setPrototypeOf=o("7.0.0-beta.0")` export default function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; @@ -8340,7 +8340,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }; return _setPrototypeOf(o, p); } -`;i.isNativeReflectConstruct=o("7.9.0")` +`;n.isNativeReflectConstruct=o("7.9.0")` export default function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; @@ -8366,7 +8366,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return false; } } -`;i.construct=o("7.0.0-beta.0")` +`;n.construct=o("7.0.0-beta.0")` import setPrototypeOf from "setPrototypeOf"; import isNativeReflectConstruct from "isNativeReflectConstruct"; @@ -8389,12 +8389,12 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m // present in the original call. return _construct.apply(null, arguments); } -`;i.isNativeFunction=o("7.0.0-beta.0")` +`;n.isNativeFunction=o("7.0.0-beta.0")` export default function _isNativeFunction(fn) { // Note: This function returns "true" for core-js functions. return Function.toString.call(fn).indexOf("[native code]") !== -1; } -`;i.wrapNativeSuper=o("7.0.0-beta.0")` +`;n.wrapNativeSuper=o("7.0.0-beta.0")` import getPrototypeOf from "getPrototypeOf"; import setPrototypeOf from "setPrototypeOf"; import isNativeFunction from "isNativeFunction"; @@ -8429,7 +8429,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return _wrapNativeSuper(Class) } -`;i.instanceof=o("7.0.0-beta.0")` +`;n.instanceof=o("7.0.0-beta.0")` export default function _instanceof(left, right) { if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) { return !!right[Symbol.hasInstance](left); @@ -8437,11 +8437,11 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return left instanceof right; } } -`;i.interopRequireDefault=o("7.0.0-beta.0")` +`;n.interopRequireDefault=o("7.0.0-beta.0")` export default function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -`;i.interopRequireWildcard=o("7.14.0")` +`;n.interopRequireWildcard=o("7.14.0")` function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; @@ -8486,17 +8486,17 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return newObj; } -`;i.newArrowCheck=o("7.0.0-beta.0")` +`;n.newArrowCheck=o("7.0.0-beta.0")` export default function _newArrowCheck(innerThis, boundThis) { if (innerThis !== boundThis) { throw new TypeError("Cannot instantiate an arrow function"); } } -`;i.objectDestructuringEmpty=o("7.0.0-beta.0")` +`;n.objectDestructuringEmpty=o("7.0.0-beta.0")` export default function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure undefined"); } -`;i.objectWithoutPropertiesLoose=o("7.0.0-beta.0")` +`;n.objectWithoutPropertiesLoose=o("7.0.0-beta.0")` export default function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; @@ -8512,7 +8512,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return target; } -`;i.objectWithoutProperties=o("7.0.0-beta.0")` +`;n.objectWithoutProperties=o("7.0.0-beta.0")` import objectWithoutPropertiesLoose from "objectWithoutPropertiesLoose"; export default function _objectWithoutProperties(source, excluded) { @@ -8533,14 +8533,14 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return target; } -`;i.assertThisInitialized=o("7.0.0-beta.0")` +`;n.assertThisInitialized=o("7.0.0-beta.0")` export default function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } -`;i.possibleConstructorReturn=o("7.0.0-beta.0")` +`;n.possibleConstructorReturn=o("7.0.0-beta.0")` import assertThisInitialized from "assertThisInitialized"; export default function _possibleConstructorReturn(self, call) { @@ -8549,7 +8549,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return assertThisInitialized(self); } -`;i.createSuper=o("7.9.0")` +`;n.createSuper=o("7.9.0")` import getPrototypeOf from "getPrototypeOf"; import isNativeReflectConstruct from "isNativeReflectConstruct"; import possibleConstructorReturn from "possibleConstructorReturn"; @@ -8569,7 +8569,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return possibleConstructorReturn(this, result); } } - `;i.superPropBase=o("7.0.0-beta.0")` + `;n.superPropBase=o("7.0.0-beta.0")` import getPrototypeOf from "getPrototypeOf"; export default function _superPropBase(object, property) { @@ -8580,7 +8580,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return object; } -`;i.get=o("7.0.0-beta.0")` +`;n.get=o("7.0.0-beta.0")` import superPropBase from "superPropBase"; export default function _get(target, property, receiver) { @@ -8602,7 +8602,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return _get(target, property, receiver || target); } -`;i.set=o("7.0.0-beta.0")` +`;n.set=o("7.0.0-beta.0")` import superPropBase from "superPropBase"; import defineProperty from "defineProperty"; @@ -8657,47 +8657,47 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return value; } -`;i.taggedTemplateLiteral=o("7.0.0-beta.0")` +`;n.taggedTemplateLiteral=o("7.0.0-beta.0")` export default function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } -`;i.taggedTemplateLiteralLoose=o("7.0.0-beta.0")` +`;n.taggedTemplateLiteralLoose=o("7.0.0-beta.0")` export default function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } strings.raw = raw; return strings; } -`;i.readOnlyError=o("7.0.0-beta.0")` +`;n.readOnlyError=o("7.0.0-beta.0")` export default function _readOnlyError(name) { throw new TypeError("\\"" + name + "\\" is read-only"); } -`;i.writeOnlyError=o("7.12.13")` +`;n.writeOnlyError=o("7.12.13")` export default function _writeOnlyError(name) { throw new TypeError("\\"" + name + "\\" is write-only"); } -`;i.classNameTDZError=o("7.0.0-beta.0")` +`;n.classNameTDZError=o("7.0.0-beta.0")` export default function _classNameTDZError(name) { throw new Error("Class \\"" + name + "\\" cannot be referenced in computed property keys."); } -`;i.temporalUndefined=o("7.0.0-beta.0")` +`;n.temporalUndefined=o("7.0.0-beta.0")` // This function isn't mean to be called, but to be used as a reference. // We can't use a normal object because it isn't hoisted. export default function _temporalUndefined() {} -`;i.tdz=o("7.5.5")` +`;n.tdz=o("7.5.5")` export default function _tdzError(name) { throw new ReferenceError(name + " is not defined - temporal dead zone"); } -`;i.temporalRef=o("7.0.0-beta.0")` +`;n.temporalRef=o("7.0.0-beta.0")` import undef from "temporalUndefined"; import err from "tdz"; export default function _temporalRef(val, name) { return val === undef ? err(name) : val; } -`;i.slicedToArray=o("7.0.0-beta.0")` +`;n.slicedToArray=o("7.0.0-beta.0")` import arrayWithHoles from "arrayWithHoles"; import iterableToArrayLimit from "iterableToArrayLimit"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -8711,7 +8711,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableRest() ); } -`;i.slicedToArrayLoose=o("7.0.0-beta.0")` +`;n.slicedToArrayLoose=o("7.0.0-beta.0")` import arrayWithHoles from "arrayWithHoles"; import iterableToArrayLimitLoose from "iterableToArrayLimitLoose"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -8725,7 +8725,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableRest() ); } -`;i.toArray=o("7.0.0-beta.0")` +`;n.toArray=o("7.0.0-beta.0")` import arrayWithHoles from "arrayWithHoles"; import iterableToArray from "iterableToArray"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -8739,7 +8739,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableRest() ); } -`;i.toConsumableArray=o("7.0.0-beta.0")` +`;n.toConsumableArray=o("7.0.0-beta.0")` import arrayWithoutHoles from "arrayWithoutHoles"; import iterableToArray from "iterableToArray"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -8753,17 +8753,17 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableSpread() ); } -`;i.arrayWithoutHoles=o("7.0.0-beta.0")` +`;n.arrayWithoutHoles=o("7.0.0-beta.0")` import arrayLikeToArray from "arrayLikeToArray"; export default function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return arrayLikeToArray(arr); } -`;i.arrayWithHoles=o("7.0.0-beta.0")` +`;n.arrayWithHoles=o("7.0.0-beta.0")` export default function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } -`;i.maybeArrayLike=o("7.9.0")` +`;n.maybeArrayLike=o("7.9.0")` import arrayLikeToArray from "arrayLikeToArray"; export default function _maybeArrayLike(next, arr, i) { @@ -8773,11 +8773,11 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return next(arr, i); } -`;i.iterableToArray=o("7.0.0-beta.0")` +`;n.iterableToArray=o("7.0.0-beta.0")` export default function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } -`;i.iterableToArrayLimit=o("7.0.0-beta.0")` +`;n.iterableToArrayLimit=o("7.0.0-beta.0")` export default function _iterableToArrayLimit(arr, i) { // this is an expanded form of \`for...of\` that properly supports abrupt completions of // iterators etc. variable names have been minimised to reduce the size of this massive @@ -8813,7 +8813,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return _arr; } -`;i.iterableToArrayLimitLoose=o("7.0.0-beta.0")` +`;n.iterableToArrayLimitLoose=o("7.0.0-beta.0")` export default function _iterableToArrayLimitLoose(arr, i) { var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); if (_i == null) return; @@ -8825,7 +8825,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return _arr; } -`;i.unsupportedIterableToArray=o("7.9.0")` +`;n.unsupportedIterableToArray=o("7.9.0")` import arrayLikeToArray from "arrayLikeToArray"; export default function _unsupportedIterableToArray(o, minLen) { @@ -8837,25 +8837,25 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); } -`;i.arrayLikeToArray=o("7.9.0")` +`;n.arrayLikeToArray=o("7.9.0")` export default function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } -`;i.nonIterableSpread=o("7.0.0-beta.0")` +`;n.nonIterableSpread=o("7.0.0-beta.0")` export default function _nonIterableSpread() { throw new TypeError( "Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ); } -`;i.nonIterableRest=o("7.0.0-beta.0")` +`;n.nonIterableRest=o("7.0.0-beta.0")` export default function _nonIterableRest() { throw new TypeError( "Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ); } -`;i.createForOfIteratorHelper=o("7.9.0")` +`;n.createForOfIteratorHelper=o("7.9.0")` import unsupportedIterableToArray from "unsupportedIterableToArray"; // s: start (create the iterator) @@ -8914,7 +8914,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } }; } -`;i.createForOfIteratorHelperLoose=o("7.9.0")` +`;n.createForOfIteratorHelperLoose=o("7.9.0")` import unsupportedIterableToArray from "unsupportedIterableToArray"; export default function _createForOfIteratorHelperLoose(o, allowArrayLike) { @@ -8938,7 +8938,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } -`;i.skipFirstGeneratorNext=o("7.0.0-beta.0")` +`;n.skipFirstGeneratorNext=o("7.0.0-beta.0")` export default function _skipFirstGeneratorNext(fn) { return function () { var it = fn.apply(this, arguments); @@ -8946,7 +8946,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return it; } } -`;i.toPrimitive=o("7.1.5")` +`;n.toPrimitive=o("7.1.5")` export default function _toPrimitive( input, hint /*: "default" | "string" | "number" | void */ @@ -8960,21 +8960,21 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return (hint === "string" ? String : Number)(input); } -`;i.toPropertyKey=o("7.1.5")` +`;n.toPropertyKey=o("7.1.5")` import toPrimitive from "toPrimitive"; export default function _toPropertyKey(arg) { var key = toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); } -`;i.initializerWarningHelper=o("7.0.0-beta.0")` +`;n.initializerWarningHelper=o("7.0.0-beta.0")` export default function _initializerWarningHelper(descriptor, context){ throw new Error( 'Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.' ); } -`;i.initializerDefineProperty=o("7.0.0-beta.0")` +`;n.initializerDefineProperty=o("7.0.0-beta.0")` export default function _initializerDefineProperty(target, property, descriptor, context){ if (!descriptor) return; @@ -8985,7 +8985,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m value: descriptor.initializer ? descriptor.initializer.call(context) : void 0, }); } -`;i.applyDecoratedDescriptor=o("7.0.0-beta.0")` +`;n.applyDecoratedDescriptor=o("7.0.0-beta.0")` export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context){ var desc = {}; Object.keys(descriptor).forEach(function(key){ @@ -9013,26 +9013,26 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return desc; } -`;i.classPrivateFieldLooseKey=o("7.0.0-beta.0")` +`;n.classPrivateFieldLooseKey=o("7.0.0-beta.0")` var id = 0; export default function _classPrivateFieldKey(name) { return "__private_" + (id++) + "_" + name; } -`;i.classPrivateFieldLooseBase=o("7.0.0-beta.0")` +`;n.classPrivateFieldLooseBase=o("7.0.0-beta.0")` export default function _classPrivateFieldBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; } -`;i.classPrivateFieldGet=o("7.0.0-beta.0")` +`;n.classPrivateFieldGet=o("7.0.0-beta.0")` import classApplyDescriptorGet from "classApplyDescriptorGet"; import classExtractFieldDescriptor from "classExtractFieldDescriptor"; export default function _classPrivateFieldGet(receiver, privateMap) { var descriptor = classExtractFieldDescriptor(receiver, privateMap, "get"); return classApplyDescriptorGet(receiver, descriptor); } -`;i.classPrivateFieldSet=o("7.0.0-beta.0")` +`;n.classPrivateFieldSet=o("7.0.0-beta.0")` import classApplyDescriptorSet from "classApplyDescriptorSet"; import classExtractFieldDescriptor from "classExtractFieldDescriptor"; export default function _classPrivateFieldSet(receiver, privateMap, value) { @@ -9040,21 +9040,21 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classApplyDescriptorSet(receiver, descriptor, value); return value; } -`;i.classPrivateFieldDestructureSet=o("7.4.4")` +`;n.classPrivateFieldDestructureSet=o("7.4.4")` import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet"; import classExtractFieldDescriptor from "classExtractFieldDescriptor"; export default function _classPrivateFieldDestructureSet(receiver, privateMap) { var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set"); return classApplyDescriptorDestructureSet(receiver, descriptor); } -`;i.classExtractFieldDescriptor=o("7.13.10")` +`;n.classExtractFieldDescriptor=o("7.13.10")` export default function _classExtractFieldDescriptor(receiver, privateMap, action) { if (!privateMap.has(receiver)) { throw new TypeError("attempted to " + action + " private field on non-instance"); } return privateMap.get(receiver); } -`;i.classStaticPrivateFieldSpecGet=o("7.0.2")` +`;n.classStaticPrivateFieldSpecGet=o("7.0.2")` import classApplyDescriptorGet from "classApplyDescriptorGet"; import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; @@ -9063,7 +9063,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classCheckPrivateStaticFieldDescriptor(descriptor, "get"); return classApplyDescriptorGet(receiver, descriptor); } -`;i.classStaticPrivateFieldSpecSet=o("7.0.2")` +`;n.classStaticPrivateFieldSpecSet=o("7.0.2")` import classApplyDescriptorSet from "classApplyDescriptorSet"; import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; @@ -9073,24 +9073,24 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classApplyDescriptorSet(receiver, descriptor, value); return value; } -`;i.classStaticPrivateMethodGet=o("7.3.2")` +`;n.classStaticPrivateMethodGet=o("7.3.2")` import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; export default function _classStaticPrivateMethodGet(receiver, classConstructor, method) { classCheckPrivateStaticAccess(receiver, classConstructor); return method; } -`;i.classStaticPrivateMethodSet=o("7.3.2")` +`;n.classStaticPrivateMethodSet=o("7.3.2")` export default function _classStaticPrivateMethodSet() { throw new TypeError("attempted to set read only static private field"); } -`;i.classApplyDescriptorGet=o("7.13.10")` +`;n.classApplyDescriptorGet=o("7.13.10")` export default function _classApplyDescriptorGet(receiver, descriptor) { if (descriptor.get) { return descriptor.get.call(receiver); } return descriptor.value; } -`;i.classApplyDescriptorSet=o("7.13.10")` +`;n.classApplyDescriptorSet=o("7.13.10")` export default function _classApplyDescriptorSet(receiver, descriptor, value) { if (descriptor.set) { descriptor.set.call(receiver, value); @@ -9104,7 +9104,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m descriptor.value = value; } } -`;i.classApplyDescriptorDestructureSet=o("7.13.10")` +`;n.classApplyDescriptorDestructureSet=o("7.13.10")` export default function _classApplyDescriptorDestructureSet(receiver, descriptor) { if (descriptor.set) { if (!("__destrObj" in descriptor)) { @@ -9126,7 +9126,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return descriptor; } } -`;i.classStaticPrivateFieldDestructureSet=o("7.13.10")` +`;n.classStaticPrivateFieldDestructureSet=o("7.13.10")` import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet"; import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; @@ -9135,19 +9135,19 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classCheckPrivateStaticFieldDescriptor(descriptor, "set"); return classApplyDescriptorDestructureSet(receiver, descriptor); } -`;i.classCheckPrivateStaticAccess=o("7.13.10")` +`;n.classCheckPrivateStaticAccess=o("7.13.10")` export default function _classCheckPrivateStaticAccess(receiver, classConstructor) { if (receiver !== classConstructor) { throw new TypeError("Private static access of wrong provenance"); } } -`;i.classCheckPrivateStaticFieldDescriptor=o("7.13.10")` +`;n.classCheckPrivateStaticFieldDescriptor=o("7.13.10")` export default function _classCheckPrivateStaticFieldDescriptor(descriptor, action) { if (descriptor === undefined) { throw new TypeError("attempted to " + action + " private static field before its declaration"); } } -`;i.decorate=o("7.1.5")` +`;n.decorate=o("7.1.5")` import toArray from "toArray"; import toPropertyKey from "toPropertyKey"; @@ -9819,18 +9819,18 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return value; } -`;i.classPrivateMethodGet=o("7.1.6")` +`;n.classPrivateMethodGet=o("7.1.6")` export default function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; } -`;{i.classPrivateMethodSet=o("7.1.6")` +`;{n.classPrivateMethodSet=o("7.1.6")` export default function _classPrivateMethodSet() { throw new TypeError("attempted to reassign private method"); } - `}},35295:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.get=get;t.minVersion=minVersion;t.getDependencies=getDependencies;t.ensure=ensure;t.default=t.list=void 0;var n=r(4267);var s=r(35649);var i=r(53482);function makePath(e){const t=[];for(;e.parentPath;e=e.parentPath){t.push(e.key);if(e.inList)t.push(e.listKey)}return t.reverse().join(".")}let a=undefined;function getHelperMetadata(e){const t=new Set;const r=new Set;const s=new Map;let a;let o;const l=[];const u=[];const p=[];const f={ImportDeclaration(e){const t=e.node.source.value;if(!i.default[t]){throw e.buildCodeFrameError(`Unknown helper ${t}`)}if(e.get("specifiers").length!==1||!e.get("specifiers.0").isImportDefaultSpecifier()){throw e.buildCodeFrameError("Helpers can only import a default value")}const r=e.node.specifiers[0].local;s.set(r,t);u.push(makePath(e))},ExportDefaultDeclaration(e){const t=e.get("declaration");if(t.isFunctionDeclaration()){if(!t.node.id){throw t.buildCodeFrameError("Helpers should give names to their exported func declaration")}a=t.node.id.name}o=makePath(e)},ExportAllDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},ExportNamedDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},Statement(e){if(e.isModuleDeclaration())return;e.skip()}};const c={Program(e){const t=e.scope.getAllBindings();Object.keys(t).forEach(e=>{if(e===a)return;if(s.has(t[e].identifier))return;r.add(e)})},ReferencedIdentifier(e){const r=e.node.name;const n=e.scope.getBinding(r,true);if(!n){t.add(r)}else if(s.has(n.identifier)){p.push(makePath(e))}},AssignmentExpression(e){const t=e.get("left");if(!(a in t.getBindingIdentifiers()))return;if(!t.isIdentifier()){throw t.buildCodeFrameError("Only simple assignments to exports are allowed in helpers")}const r=e.scope.getBinding(a);if(r!=null&&r.scope.path.isProgram()){l.push(makePath(e))}}};(0,n.default)(e.ast,f,e.scope);(0,n.default)(e.ast,c,e.scope);if(!o)throw new Error("Helpers must default-export something.");l.reverse();return{globals:Array.from(t),localBindingNames:Array.from(r),dependencies:s,exportBindingAssignments:l,exportPath:o,exportName:a,importBindingsReferences:p,importPaths:u}}function permuteHelperAST(e,t,r,i,a){if(i&&!r){throw new Error("Unexpected local bindings for module-based helpers.")}if(!r)return;const{localBindingNames:o,dependencies:l,exportBindingAssignments:u,exportPath:p,exportName:f,importBindingsReferences:c,importPaths:d}=t;const y={};l.forEach((e,t)=>{y[t.name]=typeof a==="function"&&a(e)||t});const m={};const T=new Set(i||[]);o.forEach(e=>{let t=e;while(T.has(t))t="_"+t;if(t!==e)m[e]=t});if(r.type==="Identifier"&&f!==r.name){m[f]=r.name}const h={Program(e){const t=e.get(p);const n=d.map(t=>e.get(t));const i=c.map(t=>e.get(t));const a=t.get("declaration");if(r.type==="Identifier"){if(a.isFunctionDeclaration()){t.replaceWith(a)}else{t.replaceWith(s.variableDeclaration("var",[s.variableDeclarator(r,a.node)]))}}else if(r.type==="MemberExpression"){if(a.isFunctionDeclaration()){u.forEach(t=>{const n=e.get(t);n.replaceWith(s.assignmentExpression("=",r,n.node))});t.replaceWith(a);e.pushContainer("body",s.expressionStatement(s.assignmentExpression("=",r,s.identifier(f))))}else{t.replaceWith(s.expressionStatement(s.assignmentExpression("=",r,a.node)))}}else{throw new Error("Unexpected helper format.")}Object.keys(m).forEach(t=>{e.scope.rename(t,m[t])});for(const e of n)e.remove();for(const e of i){const t=s.cloneNode(y[e.node.name]);e.replaceWith(t)}e.stop()}};(0,n.default)(e.ast,h,e.scope)}const o=Object.create(null);function loadHelper(e){if(!o[e]){const t=i.default[e];if(!t){throw Object.assign(new ReferenceError(`Unknown helper ${e}`),{code:"BABEL_HELPER_UNKNOWN",helper:e})}const r=()=>{const r={ast:s.file(t.ast())};if(a){return new a({filename:`babel-helper://${e}`},r)}return r};const n=getHelperMetadata(r());o[e]={build(e,t,s){const i=r();permuteHelperAST(i,n,t,s,e);return{nodes:i.ast.program.body,globals:n.globals}},minVersion(){return t.minVersion},dependencies:n.dependencies}}return o[e]}function get(e,t,r,n){return loadHelper(e).build(t,r,n)}function minVersion(e){return loadHelper(e).minVersion()}function getDependencies(e){return Array.from(loadHelper(e).dependencies.values())}function ensure(e,t){if(!a){a=t}loadHelper(e)}const l=Object.keys(i.default).map(e=>e.replace(/^_/,"")).filter(e=>e!=="__esModule");t.list=l;var u=get;t.default=u},51201:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r=true;const n=true;const s=true;const i=true;const a=true;const o=true;class TokenType{constructor(e,t={}){this.label=void 0;this.keyword=void 0;this.beforeExpr=void 0;this.startsExpr=void 0;this.rightAssociative=void 0;this.isLoop=void 0;this.isAssign=void 0;this.prefix=void 0;this.postfix=void 0;this.binop=void 0;this.updateContext=void 0;this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.rightAssociative=!!t.rightAssociative;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop!=null?t.binop:null;this.updateContext=null}}const l=new Map;function createKeyword(e,t={}){t.keyword=e;const r=new TokenType(e,t);l.set(e,r);return r}function createBinop(e,t){return new TokenType(e,{beforeExpr:r,binop:t})}const u={num:new TokenType("num",{startsExpr:n}),bigint:new TokenType("bigint",{startsExpr:n}),decimal:new TokenType("decimal",{startsExpr:n}),regexp:new TokenType("regexp",{startsExpr:n}),string:new TokenType("string",{startsExpr:n}),name:new TokenType("name",{startsExpr:n}),privateName:new TokenType("#name",{startsExpr:n}),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:r,startsExpr:n}),bracketHashL:new TokenType("#[",{beforeExpr:r,startsExpr:n}),bracketBarL:new TokenType("[|",{beforeExpr:r,startsExpr:n}),bracketR:new TokenType("]"),bracketBarR:new TokenType("|]"),braceL:new TokenType("{",{beforeExpr:r,startsExpr:n}),braceBarL:new TokenType("{|",{beforeExpr:r,startsExpr:n}),braceHashL:new TokenType("#{",{beforeExpr:r,startsExpr:n}),braceR:new TokenType("}",{beforeExpr:r}),braceBarR:new TokenType("|}"),parenL:new TokenType("(",{beforeExpr:r,startsExpr:n}),parenR:new TokenType(")"),comma:new TokenType(",",{beforeExpr:r}),semi:new TokenType(";",{beforeExpr:r}),colon:new TokenType(":",{beforeExpr:r}),doubleColon:new TokenType("::",{beforeExpr:r}),dot:new TokenType("."),question:new TokenType("?",{beforeExpr:r}),questionDot:new TokenType("?."),arrow:new TokenType("=>",{beforeExpr:r}),template:new TokenType("template"),ellipsis:new TokenType("...",{beforeExpr:r}),backQuote:new TokenType("`",{startsExpr:n}),dollarBraceL:new TokenType("${",{beforeExpr:r,startsExpr:n}),at:new TokenType("@"),hash:new TokenType("#",{startsExpr:n}),interpreterDirective:new TokenType("#!..."),eq:new TokenType("=",{beforeExpr:r,isAssign:i}),assign:new TokenType("_=",{beforeExpr:r,isAssign:i}),slashAssign:new TokenType("_=",{beforeExpr:r,isAssign:i}),incDec:new TokenType("++/--",{prefix:a,postfix:o,startsExpr:n}),bang:new TokenType("!",{beforeExpr:r,prefix:a,startsExpr:n}),tilde:new TokenType("~",{beforeExpr:r,prefix:a,startsExpr:n}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:r,binop:9,prefix:a,startsExpr:n}),modulo:new TokenType("%",{beforeExpr:r,binop:10,startsExpr:n}),star:new TokenType("*",{binop:10}),slash:createBinop("/",10),exponent:new TokenType("**",{beforeExpr:r,binop:11,rightAssociative:true}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:r}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:r}),_do:createKeyword("do",{isLoop:s,beforeExpr:r}),_else:createKeyword("else",{beforeExpr:r}),_finally:createKeyword("finally"),_for:createKeyword("for",{isLoop:s}),_function:createKeyword("function",{startsExpr:n}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:r}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:r,prefix:a,startsExpr:n}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_while:createKeyword("while",{isLoop:s}),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:r,startsExpr:n}),_this:createKeyword("this",{startsExpr:n}),_super:createKeyword("super",{startsExpr:n}),_class:createKeyword("class",{startsExpr:n}),_extends:createKeyword("extends",{beforeExpr:r}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:n}),_null:createKeyword("null",{startsExpr:n}),_true:createKeyword("true",{startsExpr:n}),_false:createKeyword("false",{startsExpr:n}),_in:createKeyword("in",{beforeExpr:r,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:r,binop:7}),_typeof:createKeyword("typeof",{beforeExpr:r,prefix:a,startsExpr:n}),_void:createKeyword("void",{beforeExpr:r,prefix:a,startsExpr:n}),_delete:createKeyword("delete",{beforeExpr:r,prefix:a,startsExpr:n})};const p=/\r\n?|[\n\u2028\u2029]/;const f=new RegExp(p.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const c=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function isWhitespace(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return true;default:return false}}class Position{constructor(e,t){this.line=void 0;this.column=void 0;this.line=e;this.column=t}}class SourceLocation{constructor(e,t){this.start=void 0;this.end=void 0;this.filename=void 0;this.identifierName=void 0;this.start=e;this.end=t}}function getLineInfo(e,t){let r=1;let n=0;let s;f.lastIndex=0;while((s=f.exec(e))&&s.index0){n=t[--s]}if(n===null){return}for(let e=0;e0){n.trailingComments=i}else if(n.trailingComments!==undefined){n.trailingComments=[]}}processComment(e){if(e.type==="Program"&&e.body.length>0)return;const t=this.state.commentStack;let r,n,s,i,a;if(this.state.trailingComments.length>0){if(this.state.trailingComments[0].start>=e.end){s=this.state.trailingComments;this.state.trailingComments=[]}else{this.state.trailingComments.length=0}}else if(t.length>0){const r=last(t);if(r.trailingComments&&r.trailingComments[0].start>=e.end){s=r.trailingComments;delete r.trailingComments}}if(t.length>0&&last(t).start>=e.start){r=t.pop()}while(t.length>0&&last(t).start>=e.start){n=t.pop()}if(!n&&r)n=r;if(r){switch(e.type){case"ObjectExpression":this.adjustCommentsAfterTrailingComma(e,e.properties);break;case"ObjectPattern":this.adjustCommentsAfterTrailingComma(e,e.properties,true);break;case"CallExpression":this.adjustCommentsAfterTrailingComma(e,e.arguments);break;case"ArrayExpression":this.adjustCommentsAfterTrailingComma(e,e.elements);break;case"ArrayPattern":this.adjustCommentsAfterTrailingComma(e,e.elements,true);break}}else if(this.state.commentPreviousNode&&(this.state.commentPreviousNode.type==="ImportSpecifier"&&e.type!=="ImportSpecifier"||this.state.commentPreviousNode.type==="ExportSpecifier"&&e.type!=="ExportSpecifier")){this.adjustCommentsAfterTrailingComma(e,[this.state.commentPreviousNode])}if(n){if(n.leadingComments){if(n!==e&&n.leadingComments.length>0&&last(n.leadingComments).end<=e.start){e.leadingComments=n.leadingComments;delete n.leadingComments}else{for(i=n.leadingComments.length-2;i>=0;--i){if(n.leadingComments[i].end<=e.start){e.leadingComments=n.leadingComments.splice(0,i+1);break}}}}}else if(this.state.leadingComments.length>0){if(last(this.state.leadingComments).end<=e.start){if(this.state.commentPreviousNode){for(a=0;a0){e.leadingComments=this.state.leadingComments;this.state.leadingComments=[]}}else{for(i=0;ie.start){break}}const t=this.state.leadingComments.slice(0,i);if(t.length){e.leadingComments=t}s=this.state.leadingComments.slice(i);if(s.length===0){s=null}}}this.state.commentPreviousNode=e;if(s){if(s.length&&s[0].start>=e.start&&last(s).end<=e.end){e.innerComments=s}else{const t=s.findIndex(t=>t.end>=e.end);if(t>0){e.innerComments=s.slice(0,t);e.trailingComments=s.slice(t)}else{e.trailingComments=s}}}t.push(e)}}const d=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const y=makeErrorTemplates({AccessorIsGenerator:"A %0ter cannot be a generator.",ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accesor must not have any formal parameters.",BadSetterArity:"A 'set' accesor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accesor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:"'%0' require an initialization value.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:"`%0` has already been exported. Exported identifiers must be unique.",DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '%0' as '%1' } from 'some-module'`?",ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:"'%0' loop variable declaration may not have an initializer.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:"Unsyntactic %0.",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:'A string literal cannot be used as an imported binding.\n- Did you mean `import { "%0" as foo }`?',ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:"`import()` requires exactly %0.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidDecimal:"Invalid decimal.",InvalidDigit:"Expected number in radix %0.",InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:"Escape sequence in keyword %0.",InvalidIdentifier:"Invalid identifier %0.",InvalidLhs:"Invalid left-hand side in %0.",InvalidLhsBinding:"Binding invalid left-hand side in %0.",InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:"Unexpected character '%0'.",InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:"Private name #%0 is not defined.",InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:"Label '%0' is already declared.",LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:'Duplicate key "%0" is not allowed in module attributes.',ModuleExportNameHasLoneSurrogate:"An export name cannot include a lone surrogate, found '\\u%0'.",ModuleExportUndefined:"Export '%0' is not defined.",MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:"Primary Topic Reference found but pipelineOperator not passed 'smart' for 'proposal' option.",PrivateInExpectedIn:"Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`).",PrivateNameRedeclaration:"Duplicate private name #%0.",RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:"Assigning to '%0' in strict mode.",StrictEvalArgumentsBinding:"Binding '%0' in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:"Unexpected keyword '%0'.",UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Private names can only be used as the name of a class element (i.e. class C { #p = 42; #m() {} } )\n or a property of member expression (i.e. this.#p).",UnexpectedReservedWord:"Unexpected reserved word '%0'.",UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:"Unexpected token '%0'.",UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:"The only valid meta property for %0 is %0.%1.",UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",VarRedeclaration:"Identifier '%0' has already been declared.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},d.SyntaxError);const m=makeErrorTemplates({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},d.SourceTypeModuleError);function makeErrorTemplates(e,t){const r={};Object.keys(e).forEach(n=>{r[n]=Object.freeze({code:t,reasonCode:n,template:e[n]})});return Object.freeze(r)}class ParserError extends CommentsParser{getLocationForPosition(e){let t;if(e===this.state.start)t=this.state.startLoc;else if(e===this.state.lastTokStart)t=this.state.lastTokStartLoc;else if(e===this.state.end)t=this.state.endLoc;else if(e===this.state.lastTokEnd)t=this.state.lastTokEndLoc;else t=getLineInfo(this.input,e);return t}raise(e,{code:t,reasonCode:r,template:n},...s){return this.raiseWithData(e,{code:t,reasonCode:r},n,...s)}raiseOverwrite(e,{code:t,template:r},...n){const s=this.getLocationForPosition(e);const i=r.replace(/%(\d+)/g,(e,t)=>n[t])+` (${s.line}:${s.column})`;if(this.options.errorRecovery){const t=this.state.errors;for(let r=t.length-1;r>=0;r--){const n=t[r];if(n.pos===e){return Object.assign(n,{message:i})}else if(n.posn[t])+` (${s.line}:${s.column})`;return this._raise(Object.assign({loc:s,pos:e},t),i)}_raise(e,t){const r=new SyntaxError(t);Object.assign(r,e);if(this.options.errorRecovery){if(!this.isLookahead)this.state.errors.push(r);return r}else{throw r}}}var T=e=>(class extends e{parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const n=this.estreeParseLiteral(r);n.regex={pattern:e,flags:t};return n}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);r.bigint=String(r.value||e);return r}parseDecimalLiteral(e){const t=null;const r=this.estreeParseLiteral(t);r.decimal=String(r.value||e);return r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;const r=this.startNodeAt(e.start,e.loc.start);const n=this.startNodeAt(t.start,t.loc.start);n.value=t.extra.expressionValue;n.raw=t.extra.raw;r.expression=this.finishNodeAt(n,"Literal",t.end,t.loc.end);r.directive=t.extra.raw.slice(1,-1);return this.finishNodeAt(r,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}stmtToDirective(e){const t=super.stmtToDirective(e);const r=e.expression.value;this.addExtra(t.value,"expressionValue",r);return t}parseBlockBody(e,...t){super.parseBlockBody(e,...t);const r=e.directives.map(e=>this.directiveToStmt(e));e.body=r.concat(e.body);delete e.directives}pushClassMethod(e,t,r,n,s,i){this.parseMethod(t,r,n,s,i,"ClassMethod",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parseMaybePrivateName(...e){const t=super.parseMaybePrivateName(...e);if(t.type==="PrivateName"&&this.getPluginOption("estree","classFeatures")){return this.convertPrivateNameToPrivateIdentifier(t)}return t}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}return e.name}parseLiteral(e,t){const r=super.parseLiteral(e,t);r.raw=r.extra.raw;delete r.extra;return r}parseFunctionBody(e,t,r=false){super.parseFunctionBody(e,t,r);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,r,n,s,i,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,r,n,s,i,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(i==="ClassPrivateMethod"){e.computed=false}i="MethodDefinition";return this.finishNode(e,i)}parseClassProperty(...e){const t=super.parseClassProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition"}return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition";t.computed=false}return t}parseObjectMethod(e,t,r,n,s){const i=super.parseObjectMethod(e,t,r,n,s);if(i){i.type="Property";if(i.kind==="method")i.kind="init";i.shorthand=false}return i}parseObjectProperty(e,t,r,n,s){const i=super.parseObjectProperty(e,t,r,n,s);if(i){i.kind="init";i.type="Property"}return i}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){this.toAssignable(e.value,t);return e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){if(e.kind==="get"||e.kind==="set"){this.raise(e.key.start,y.PatternHasAccessor)}else if(e.method){this.raise(e.key.start,y.PatternHasMethod)}else{super.toAssignableObjectExpressionProp(e,...t)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];if(this.hasPlugin("importAssertions")){var r;e.attributes=(r=e.arguments[1])!=null?r:null}delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,r,n,s){const i=super.parseSubscript(e,t,r,n,s);if(s.optionalChainMember){if(i.type==="OptionalMemberExpression"||i.type==="OptionalCallExpression"){i.type=i.type.substring(8)}if(s.stop){const e=this.startNodeAtNode(i);e.expression=i;return this.finishNode(e,"ChainExpression")}}else if(i.type==="MemberExpression"||i.type==="CallExpression"){i.optional=false}return i}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}});class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const h={brace:new TokContext("{"),templateQuasi:new TokContext("${"),template:new TokContext("`",true)};u.braceR.updateContext=(e=>{if(e.length>1){e.pop()}});u.braceL.updateContext=u.braceHashL.updateContext=(e=>{e.push(h.brace)});u.dollarBraceL.updateContext=(e=>{e.push(h.templateQuasi)});u.backQuote.updateContext=(e=>{if(e[e.length-1]===h.template){e.pop()}else{e.push(h.template)}});let S="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let b="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const E=new RegExp("["+S+"]");const g=new RegExp("["+S+b+"]");S=b=null;const P=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const x=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&E.test(String.fromCharCode(e))}return isInAstralSet(e,P)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&g.test(String.fromCharCode(e))}return isInAstralSet(e,P)||isInAstralSet(e,x)}const v={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const A=new Set(v.keyword);const O=new Set(v.strict);const I=new Set(v.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||O.has(e)}function isStrictBindOnlyReservedWord(e){return I.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return A.has(e)}function isIteratorStart(e,t){return e===64&&t===64}const D=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function canBeReservedWord(e){return D.has(e)}const w=0,j=1,N=2,C=4,L=8,_=16,M=32,F=64,B=128,k=256,R=j|N|k;const K=1,V=2,X=4,Y=8,J=16,U=64,W=128,q=256,z=512,G=1024,$=2048;const H=K|V|Y|W,Q=K|0|Y|0,Z=K|0|X|0,ee=K|0|J|0,te=0|V|0|W,re=0|V|0|0,ne=K|V|Y|q,se=0|0|0|G,ie=0|0|0|U,ae=K|0|0|U,oe=ne|z,le=0|0|0|G,ue=$;const pe=4,fe=2,ce=1,de=fe|ce;const ye=fe|pe,me=ce|pe,Te=fe,he=ce,Se=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.scopeStack=[];this.undefinedExports=new Map;this.undefinedPrivateNames=new Map;this.raise=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&N)>0}get allowSuper(){return(this.currentThisScopeFlags()&_)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&M)>0}get inClass(){return(this.currentThisScopeFlags()&F)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&F)>0&&(e&N)===0}get inStaticBlock(){return(this.currentThisScopeFlags()&B)>0}get inNonArrowFunction(){return(this.currentThisScopeFlags()&N)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&N||!this.inModule&&e.flags&j)}declareName(e,t,r){let n=this.currentScope();if(t&Y||t&J){this.checkRedeclarationInScope(n,e,t,r);if(t&J){n.functions.add(e)}else{n.lexical.add(e)}if(t&Y){this.maybeExportDefined(n,e)}}else if(t&X){for(let s=this.scopeStack.length-1;s>=0;--s){n=this.scopeStack[s];this.checkRedeclarationInScope(n,e,t,r);n.var.add(e);this.maybeExportDefined(n,e);if(n.flags&R)break}}if(this.inModule&&n.flags&j){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.inModule&&e.flags&j){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,r,n){if(this.isRedeclaredInScope(e,t,r)){this.raise(n,y.VarRedeclaration,t)}}isRedeclaredInScope(e,t,r){if(!(r&K))return false;if(r&Y){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(r&J){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&L&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const r=this.scopeStack[0];if(!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)){this.undefinedExports.set(t,e.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&R){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(R|F)&&!(t&C)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,r){const n=this.currentScope();if(t&$){this.checkRedeclarationInScope(n,e,t,r);this.maybeExportDefined(n,e);n.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,r){if(super.isRedeclaredInScope(...arguments))return true;if(r&$){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}const be=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]);const Ee=makeErrorTemplates({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:"Cannot overwrite reserved type %0.",DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:"Boolean enum members need to be initialized. Use either `%0 = true,` or `%0 = false,` in enum `%1`.",EnumDuplicateMemberName:"Enum member names need to be unique, but the name `%0` has already been used before in enum `%1`.",EnumInconsistentMemberValues:"Enum `%0` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.",EnumInvalidExplicitType:"Enum type `%1` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidExplicitTypeUnknownSupplied:"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidMemberInitializerPrimaryType:"Enum `%0` has type `%2`, so the initializer of `%1` needs to be a %2 literal.",EnumInvalidMemberInitializerSymbolType:"Symbol enum members cannot be initialized. Use `%1,` in enum `%0`.",EnumInvalidMemberInitializerUnknownType:"The enum member initializer for `%1` needs to be a literal (either a boolean, number, or string) in enum `%0`.",EnumInvalidMemberName:"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%0`, consider using `%1`, in enum `%2`.",EnumNumberMemberNotInitialized:"Number enum members need to be initialized, e.g. `%1 = 1` in enum `%0`.",EnumStringMemberInconsistentlyInitailized:"String enum members need to consistently either all use initializers, or use no initializers, in enum `%0`.",GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",OptionalBindingPattern:"A binding pattern parameter cannot be optional in an implementation signature.",SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:"Unexpected reserved type %0.",UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:"`declare export %0` is not supported. Use `%1` instead.",UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."},d.SyntaxError);function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return(e.type===u.name||!!e.type.keyword)&&e.value!=="from"}const ge={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const r=[];const n=[];for(let s=0;s(class extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==u.string&&e!==u.semi&&e!==u.interpreterDirective){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=Pe.exec(e.value);if(!t) ;else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||u.colon);const r=this.flowParseType();this.state.inType=t;return r}flowParsePredicate(){const e=this.startNode();const t=this.state.start;this.next();this.expectContextual("checks");if(this.state.lastTokStart>t+1){this.raise(t,Ee.UnexpectedSpaceBetweenModuloChecks)}if(this.eat(u.parenL)){e.value=this.parseExpression();this.expect(u.parenR);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(u.colon);let t=null;let r=null;if(this.match(u.modulo)){this.state.inType=e;r=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(u.modulo)){r=this.flowParsePredicate()}}return[t,r]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const r=this.startNode();const n=this.startNode();if(this.isRelational("<")){r.typeParameters=this.flowParseTypeParameterDeclaration()}else{r.typeParameters=null}this.expect(u.parenL);const s=this.flowParseFunctionTypeParams();r.params=s.params;r.rest=s.rest;r.this=s._this;this.expect(u.parenR);[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser();n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation");t.typeAnnotation=this.finishNode(n,"TypeAnnotation");this.resetEndLocation(t);this.semicolon();this.scope.declareName(e.id.name,ue,e.id.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(u._class)){return this.flowParseDeclareClass(e)}else if(this.match(u._function)){return this.flowParseDeclareFunction(e)}else if(this.match(u._var)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual("module")){if(this.match(u.dot)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(this.state.lastTokStart,Ee.NestedDeclareModule)}return this.flowParseDeclareModule(e)}}else if(this.isContextual("type")){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual("opaque")){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual("interface")){return this.flowParseDeclareInterface(e)}else if(this.match(u._export)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,Z,e.id.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(w);if(this.match(u.string)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const r=t.body=[];this.expect(u.braceL);while(!this.match(u.braceR)){let e=this.startNode();if(this.match(u._import)){this.next();if(!this.isContextual("type")&&!this.match(u._typeof)){this.raise(this.state.lastTokStart,Ee.InvalidNonTypeImportInDeclareModule)}this.parseImport(e)}else{this.expectContextual("declare",Ee.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}r.push(e)}this.scope.exit();this.expect(u.braceR);this.finishNode(t,"BlockStatement");let n=null;let s=false;r.forEach(e=>{if(isEsModuleType(e)){if(n==="CommonJS"){this.raise(e.start,Ee.AmbiguousDeclareModuleKind)}n="ES"}else if(e.type==="DeclareModuleExports"){if(s){this.raise(e.start,Ee.DuplicateDeclareModuleExports)}if(n==="ES"){this.raise(e.start,Ee.AmbiguousDeclareModuleKind)}n="CommonJS";s=true}});e.kind=n||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(u._export);if(this.eat(u._default)){if(this.match(u._function)||this.match(u._class)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(u._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value;const t=ge[e];throw this.raise(this.state.start,Ee.UnsupportedDeclareExportKind,e,t)}if(this.match(u._var)||this.match(u._function)||this.match(u._class)||this.isContextual("opaque")){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(u.star)||this.match(u.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque")){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual("exports");e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?ee:Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(u.comma))}if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(this.state.start,Ee.UnexpectedReservedUnderscore)}}checkReservedType(e,t,r){if(!be.has(e))return;this.raise(t,r?Ee.AssignReservedType:Ee.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.start,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(u.eq);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual("type");e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(u.colon)){e.supertype=this.flowParseTypeInitialiser(u.colon)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(u.eq)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.start;const r=this.startNode();const n=this.flowParseVariance();const s=this.flowParseTypeAnnotatableIdentifier();r.name=s.name;r.variance=n;r.bound=s.typeAnnotation;if(this.match(u.eq)){this.eat(u.eq);r.default=this.flowParseType()}else{if(e){this.raise(t,Ee.MissingTypeParamDefault)}}return this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}let r=false;do{const e=this.flowParseTypeParameter(r);t.params.push(e);if(e.default){r=true}if(!this.isRelational(">")){this.expect(u.comma)}}while(!this.isRelational(">"));this.expectRelational(">");this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");const r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.isRelational(">")){e.params.push(this.flowParseType());if(!this.isRelational(">")){this.expect(u.comma)}}this.state.noAnonFunctionType=r;this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");while(!this.isRelational(">")){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.isRelational(">")){this.expect(u.comma)}}this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual("interface");e.extends=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(u.num)||this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,r){e.static=t;if(this.lookahead().type===u.colon){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(u.bracketR);e.value=this.flowParseTypeInitialiser();e.variance=r;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(u.bracketR);this.expect(u.bracketR);if(this.isRelational("<")||this.match(u.parenL)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(u.question)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(u.parenL);if(this.match(u._this)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(u.parenR)){this.expect(u.comma)}}while(!this.match(u.parenR)&&!this.match(u.ellipsis)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(u.parenR)){this.expect(u.comma)}}if(this.eat(u.ellipsis)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(u.parenR);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const r=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(r);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:n,allowInexact:s}){const i=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let p=false;if(t&&this.match(u.braceBarL)){this.expect(u.braceBarL);o=u.braceBarR;l=true}else{this.expect(u.braceL);o=u.braceR;l=false}a.exact=l;while(!this.match(o)){let t=false;let i=null;let o=null;const f=this.startNode();if(n&&this.isContextual("proto")){const t=this.lookahead();if(t.type!==u.colon&&t.type!==u.question){this.next();i=this.state.start;e=false}}if(e&&this.isContextual("static")){const e=this.lookahead();if(e.type!==u.colon&&e.type!==u.question){this.next();t=true}}const c=this.flowParseVariance();if(this.eat(u.bracketL)){if(i!=null){this.unexpected(i)}if(this.eat(u.bracketL)){if(c){this.unexpected(c.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(f,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(f,t,c))}}else if(this.match(u.parenL)||this.isRelational("<")){if(i!=null){this.unexpected(i)}if(c){this.unexpected(c.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(f,t))}else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();if(t.type===u.name||t.type===u.string||t.type===u.num){e=this.state.value;this.next()}}const n=this.flowParseObjectTypeProperty(f,t,i,c,e,r,s!=null?s:!l);if(n===null){p=true;o=this.state.lastTokStart}else{a.properties.push(n)}}this.flowObjectTypeSemicolon();if(o&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.raise(o,Ee.UnexpectedExplicitInexactInObject)}}this.expect(o);if(r){a.inexact=p}const f=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=i;return f}flowParseObjectTypeProperty(e,t,r,n,s,i,a){if(this.eat(u.ellipsis)){const t=this.match(u.comma)||this.match(u.semi)||this.match(u.braceR)||this.match(u.braceBarR);if(t){if(!i){this.raise(this.state.lastTokStart,Ee.InexactInsideNonObject)}else if(!a){this.raise(this.state.lastTokStart,Ee.InexactInsideExact)}if(n){this.raise(n.start,Ee.InexactVariance)}return null}if(!i){this.raise(this.state.lastTokStart,Ee.UnexpectedSpreadType)}if(r!=null){this.unexpected(r)}if(n){this.raise(n.start,Ee.SpreadVariance)}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=r!=null;e.kind=s;let a=false;if(this.isRelational("<")||this.match(u.parenL)){e.method=true;if(r!=null){this.unexpected(r)}if(n){this.unexpected(n.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(s==="get"||s==="set"){this.flowCheckGetterSetterParams(e)}if(!i&&e.key.name==="constructor"&&e.value.this){this.raise(e.value.this.start,Ee.ThisParamBannedInConstructor)}}else{if(s!=="init")this.unexpected();e.method=false;if(this.eat(u.question)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=n}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const r=e.start;const n=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.value.this.start,e.kind==="get"?Ee.GetterMayNotHaveThisParam:Ee.SetterMayNotHaveThisParam)}if(n!==t){if(e.kind==="get"){this.raise(r,y.BadGetterArity)}else{this.raise(r,y.BadSetterArity)}}if(e.kind==="set"&&e.value.rest){this.raise(r,y.BadSetterRestParameter)}}flowObjectTypeSemicolon(){if(!this.eat(u.semi)&&!this.eat(u.comma)&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start;t=t||this.state.startLoc;let n=r||this.flowParseRestrictedIdentifier(true);while(this.eat(u.dot)){const r=this.startNodeAt(e,t);r.qualification=n;r.id=this.flowParseRestrictedIdentifier(true);n=this.finishNode(r,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t,r){const n=this.startNodeAt(e,t);n.typeParameters=null;n.id=this.flowParseQualifiedTypeIdentifier(e,t,r);if(this.isRelational("<")){n.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(u._typeof);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(u.bracketL);while(this.state.possuper.parseFunctionBody(e,true,r))}return super.parseFunctionBody(e,false,r)}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(e,t,r)}parseStatement(e,t){if(this.state.strict&&this.match(u.name)&&this.state.value==="interface"){const e=this.lookahead();if(e.type===u.name||isKeyword(e.value)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const r=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(r)){this.flowPragma=null}return r}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(u._class)||this.match(u.name)||this.match(u._function)||this.match(u._var)||this.match(u._export)){return this.flowParseDeclare(e)}}else if(this.match(u.name)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){if(this.match(u.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"||this.shouldParseEnums()&&this.state.value==="enum")){return false}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,n){if(!this.match(u.question))return e;if(n){const s=this.tryParse(()=>super.parseConditional(e,t,r));if(!s.node){n.start=s.error.pos||this.state.start;return e}if(s.error)this.state=s.failState;return s.node}this.expect(u.question);const s=this.state.clone();const i=this.state.noArrowAt;const a=this.startNodeAt(t,r);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[p,f]=this.getArrowLikeExpressions(o);if(l||f.length>0){const e=[...i];if(f.length>0){this.state=s;this.state.noArrowAt=e;for(let t=0;t1){this.raise(s.start,Ee.AmbiguousConditionalArrow)}if(l&&p.length===1){this.state=s;this.state.noArrowAt=e.concat(p[0].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=i;this.expect(u.colon);a.test=e;a.consequent=o;a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(undefined,undefined,undefined));return this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(u.colon);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e];const n=[];while(r.length!==0){const e=r.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{n.push(e)}r.push(e.body)}else if(e.type==="ConditionalExpression"){r.push(e.consequent);r.push(e.alternate)}}if(t){n.forEach(e=>this.finishArrowValidation(e));return[n,[]]}return partition(n,e=>e.params.every(e=>this.isAssignable(e,true)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingComma,false);this.scope.enter(N|C);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);r=t();this.state.noArrowParamsConversionAt.pop()}else{r=t()}return r}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(n,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();this.next();if(this.match(u.braceL)){e.specifiers=this.parseExportSpecifiers();this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual("enum")){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual("type")&&this.lookahead().type===u.star){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const t=this.state.start;const r=super.maybeParseExportNamespaceSpecifier(e);if(r&&e.exportKind==="type"){this.unexpected(t)}return r}parseClassId(e,t,r){super.parseClassId(e,t,r);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}}parseClassMember(e,t,r){const n=this.state.start;if(this.isContextual("declare")){if(this.parseClassMemberFromModifier(e,t)){return}t.declare=true}super.parseClassMember(e,t,r);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(n,Ee.DeclareClassElement)}else if(t.value){this.raise(t.value.start,Ee.DeclareClassFieldInitializer)}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(this.state.pos,y.InvalidIdentifier,t)}this.finishToken(u.name,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(u.braceBarL,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(u.relational,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(u.questionDot,2)}return this.finishOp(u.question,1)}else if(isIteratorStart(e,t)){this.state.pos+=2;return this.readIterator()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":return true;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every((e,r)=>{return e.type!=="ObjectMethod"&&(r===t||e.type==="SpreadElement")&&this.isAssignable(e)})}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every(e=>this.isAssignable(e));case"AssignmentExpression":return e.operator==="=";case"ParenthesizedExpression":case"TypeCastExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return false}}toAssignable(e,t=false){if(e.type==="TypeCastExpression"){return super.toAssignable(this.typeCastToParameter(e),t)}else{return super.toAssignable(e,t)}}toAssignableList(e,t,r){for(let t=0;t1||!t)){this.raise(s.typeAnnotation.start,Ee.TypeCastInPattern)}}return e}parseArrayLike(e,t,r,n){const s=super.parseArrayLike(e,t,r,n);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(s.elements)}return s}checkLVal(e,...t){if(e.type!=="TypeCastExpression"){return super.checkLVal(e,...t)}}parseClassProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(u.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,s,i){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,r,n,s,i);if(t.params&&s){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Ee.ThisParamBannedInConstructor)}}else if(t.type==="MethodDefinition"&&s&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Ee.ThisParamBannedInConstructor)}}}pushClassPrivateMethod(e,t,r,n){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(u.comma))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const r=t[0];if(this.isThisParam(r)&&e.kind==="get"){this.raise(r.start,Ee.GetterMayNotHaveThisParam)}else if(this.isThisParam(r)){this.raise(r.start,Ee.SetterMayNotHaveThisParam)}}}parsePropertyName(e,t){const r=this.flowParseVariance();const n=super.parsePropertyName(e,t);e.variance=r;return n}parseObjPropValue(e,t,r,n,s,i,a,o){if(e.variance){this.unexpected(e.variance.start)}delete e.variance;let l;if(this.isRelational("<")&&!a){l=this.flowParseTypeParameterDeclaration();if(!this.match(u.parenL))this.unexpected()}super.parseObjPropValue(e,t,r,n,s,i,a,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"){this.raise(e.start,Ee.OptionalBindingPattern)}if(this.isThisParam(e)){this.raise(e.start,Ee.ThisParamMayNotBeOptional)}e.optional=true}if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(e.start,Ee.ThisParamAnnotationRequired)}if(this.match(u.eq)&&this.isThisParam(e)){this.raise(e.start,Ee.ThisParamNoDefault)}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,r){const n=super.parseMaybeDefault(e,t,r);if(n.type==="AssignmentPattern"&&n.typeAnnotation&&n.right.startsuper.parseMaybeAssign(e,t,r),s);if(!i.error)return i.node;const{context:n}=this.state;if(n[n.length-1]===h.j_oTag){n.length-=2}else if(n[n.length-1]===h.j_expr){n.length-=1}}if((n=i)!=null&&n.error||this.isRelational("<")){var a,o;s=s||this.state.clone();let n;const l=this.tryParse(s=>{var i;n=this.flowParseTypeParameterDeclaration();const a=this.forwardNoArrowParamsConversionAt(n,()=>{const s=super.parseMaybeAssign(e,t,r);this.resetStartLocationFromNode(s,n);return s});if(a.type!=="ArrowFunctionExpression"&&(i=a.extra)!=null&&i.parenthesized){s()}const o=this.maybeUnwrapTypeCastExpression(a);o.typeParameters=n;this.resetStartLocationFromNode(o,n);return a},s);let u=null;if(l.node&&this.maybeUnwrapTypeCastExpression(l.node).type==="ArrowFunctionExpression"){if(!l.error&&!l.aborted){if(l.node.async){this.raise(n.start,Ee.UnexpectedTypeParameterBeforeAsyncArrowFunction)}return l.node}u=l.node}if((a=i)!=null&&a.node){this.state=i.failState;return i.node}if(u){this.state=l.failState;return u}if((o=i)!=null&&o.thrown)throw i.error;if(l.thrown)throw l.error;throw this.raise(n.start,Ee.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t,r)}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(u.arrow))this.unexpected();return r});if(t.thrown)return null;if(t.error)this.state=t.failState;e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(){return this.match(u.colon)||super.shouldParseArrow()}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,r){if(r&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t0){this.raise(e.params[t].start,Ee.ThisParamMustBeFirst)}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,r,n){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const n=this.startNodeAt(t,r);n.callee=e;n.arguments=this.parseCallExpressionArguments(u.parenR,false);e=this.finishNode(n,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.isRelational("<")){const s=this.state.clone();const i=this.tryParse(e=>this.parseAsyncArrowWithTypeParameters(t,r)||e(),s);if(!i.error&&!i.aborted)return i.node;const a=this.tryParse(()=>super.parseSubscripts(e,t,r,n),s);if(a.node&&!a.error)return a.node;if(i.node){this.state=i.failState;return i.node}if(a.node){this.state=a.failState;return a.node}throw i.error||a.error}return super.parseSubscripts(e,t,r,n)}parseSubscript(e,t,r,n,s){if(this.match(u.questionDot)&&this.isLookaheadToken_lt()){s.optionalChainMember=true;if(n){s.stop=true;return e}this.next();const i=this.startNodeAt(t,r);i.callee=e;i.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(u.parenL);i.arguments=this.parseCallExpressionArguments(u.parenR,false);i.optional=true;return this.finishCallExpression(i,true)}else if(!n&&this.shouldParseTypes()&&this.isRelational("<")){const n=this.startNodeAt(t,r);n.callee=e;const i=this.tryParse(()=>{n.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew();this.expect(u.parenL);n.arguments=this.parseCallExpressionArguments(u.parenR,false);if(s.optionalChainMember)n.optional=false;return this.finishCallExpression(n,s.optionalChainMember)});if(i.node){if(i.error)this.state=i.failState;return i.node}}return super.parseSubscript(e,t,r,n,s)}parseNewArguments(e){let t=null;if(this.shouldParseTypes()&&this.isRelational("<")){t=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node}e.typeArguments=t;super.parseNewArguments(e)}parseAsyncArrowWithTypeParameters(e,t){const r=this.startNodeAt(e,t);this.parseFunctionParams(r);if(!this.parseArrow(r))return;return this.parseArrowExpression(r,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(u.braceBarR,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(this.state.pos,Ee.UnterminatedFlowComment)}return r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){this.unexpected(null,Ee.NestedFlowComment)}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1){throw this.raise(this.state.pos-2,y.UnterminatedComment)}this.state.pos=e+3;return}super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const r=this.input.charCodeAt(t+e);const n=this.input.charCodeAt(t+e+1);if(r===58&&n===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(r===58&&n!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(this.state.pos,y.UnterminatedComment)}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumBooleanMemberNotInitialized,r,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:r}){const n=r[0].toUpperCase()+r.slice(1);this.raise(e,Ee.EnumInvalidMemberName,r,n,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumDuplicateMemberName,r,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,Ee.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:r}){return this.raise(e,r===null?Ee.EnumInvalidExplicitTypeUnknownSupplied:Ee.EnumInvalidExplicitType,t,r)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:r,memberName:n}){let s=null;switch(r){case"boolean":case"number":case"string":s=Ee.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":s=Ee.EnumInvalidMemberInitializerSymbolType;break;default:s=Ee.EnumInvalidMemberInitializerUnknownType}return this.raise(e,s,t,n,r)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumNumberMemberNotInitialized,t,r)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,Ee.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start;const t=()=>this.match(u.comma)||this.match(u.braceR);switch(this.state.type){case u.num:{const r=this.parseNumericLiteral(this.state.value);if(t()){return{type:"number",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u.string:{const r=this.parseStringLiteral(this.state.value);if(t()){return{type:"string",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u._true:case u._false:{const r=this.parseBooleanLiteral(this.match(u._true));if(t()){return{type:"boolean",pos:r.start,value:r}}return{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;const t=this.parseIdentifier(true);const r=this.eat(u.eq)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:r}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:n}=t;if(n===null){return}if(n!==r){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set;const n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let s=false;while(!this.match(u.braceR)){if(this.eat(u.ellipsis)){s=true;break}const i=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.flowEnumErrorInvalidMemberName(a.start,{enumName:e,memberName:l})}if(r.has(l)){this.flowEnumErrorDuplicateMemberName(a.start,{enumName:e,memberName:l})}r.add(l);const p={enumName:e,explicitType:t,memberName:l};i.id=a;switch(o.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"boolean");i.init=o.value;n.booleanMembers.push(this.finishNode(i,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"number");i.init=o.value;n.numberMembers.push(this.finishNode(i,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"string");i.init=o.value;n.stringMembers.push(this.finishNode(i,"EnumStringMember"));break}case"invalid":{throw this.flowEnumErrorInvalidMemberInitializer(o.pos,p)}case"none":{switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.pos,p);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.pos,p);break;default:n.defaultedMembers.push(this.finishNode(i,"EnumDefaultedMember"))}}}if(!this.match(u.braceR)){this.expect(u.comma)}}return{members:n,hasUnknownMembers:s}}flowEnumStringMembers(e,t,{enumName:r}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:r})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:r})}return e}}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual("of")){if(!this.match(u.name)){throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t})}return t}return null}flowEnumBody(e,{enumName:t,nameLoc:r}){const n=this.flowEnumParseExplicitType({enumName:t});this.expect(u.braceL);const{members:s,hasUnknownMembers:i}=this.flowEnumMembers({enumName:t,explicitType:n});e.hasUnknownMembers=i;switch(n){case"boolean":e.explicitType=true;e.members=s.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=s.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=s.defaultedMembers;this.expect(u.braceR);return this.finishNode(e,"EnumSymbolBody");default:{const n=()=>{e.members=[];this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const i=s.booleanMembers.length;const a=s.numberMembers.length;const o=s.stringMembers.length;const l=s.defaultedMembers.length;if(!i&&!a&&!o&&!l){return n()}else if(!i&&!a){e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")}else if(!a&&!o&&i>=l){for(const e of s.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=s.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody")}else if(!i&&!o&&a>=l){for(const e of s.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=s.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody")}else{this.flowEnumErrorInconsistentMemberValues(r,{enumName:t});return n()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start});return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}});const ve={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"};class State{constructor(){this.strict=void 0;this.curLine=void 0;this.startLoc=void 0;this.endLoc=void 0;this.errors=[];this.potentialArrowAt=-1;this.noArrowAt=[];this.noArrowParamsConversionAt=[];this.maybeInArrowParameters=false;this.inPipeline=false;this.inType=false;this.noAnonFunctionType=false;this.inPropertyName=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.decoratorStack=[[]];this.comments=[];this.trailingComments=[];this.leadingComments=[];this.commentStack=[];this.commentPreviousNode=null;this.pos=0;this.lineStart=0;this.type=u.eof;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.lastTokEnd=0;this.context=[h.brace];this.exprAllowed=true;this.containsEsc=false;this.strictErrors=new Map;this.tokensLength=0}init(e){this.strict=e.strictMode===false?false:e.sourceType==="module";this.curLine=e.startLine;this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new Position(this.curLine,this.pos-this.lineStart)}clone(e){const t=new State;const r=Object.keys(this);for(let n=0,s=r.length;n.",MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"},d.SyntaxError);h.j_oTag=new TokContext("...",true);u.jsxName=new TokenType("jsxName");u.jsxText=new TokenType("jsxText",{beforeExpr:true});u.jsxTagStart=new TokenType("jsxTagStart",{startsExpr:true});u.jsxTagEnd=new TokenType("jsxTagEnd");u.jsxTagStart.updateContext=(e=>{e.push(h.j_expr);e.push(h.j_oTag)});function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var De=e=>(class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,Ie.UnterminatedJsxContent)}const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){if(r===60&&this.state.exprAllowed){++this.state.pos;return this.finishToken(u.jsxTagStart)}return super.getTokenFromCode(r)}e+=this.input.slice(t,this.state.pos);return this.finishToken(u.jsxText,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;r=e?"\n":"\r\n"}else{r=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return r}jsxReadString(e){let t="";let r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===38){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadEntity();r=this.state.pos}else if(isNewLine(n)){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadNewLine(false);r=this.state.pos}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);return this.finishToken(u.string,t)}jsxReadEntity(){let e="";let t=0;let r;let n=this.input[this.state.pos];const s=++this.state.pos;while(this.state.pos0}get hasYield(){return(this.currentFlags()&je)>0}get hasReturn(){return(this.currentFlags()&Ce)>0}get hasIn(){return(this.currentFlags()&Le)>0}}function functionFlags(e,t){return(e?Ne:0)|(t?je:0)}function nonNull(e){if(e==null){throw new Error(`Unexpected ${e} value.`)}return e}function assert(e){if(!e){throw new Error("Assert fail")}}const _e=makeErrorTemplates({AbstractMethodHasImplementation:"Method '%0' cannot have an implementation because it is marked abstract.",AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:"'declare' is not allowed in %0ters.",DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:"Accessibility modifier already seen.",DuplicateModifier:"Duplicate modifier: '%0'.",EmptyHeritageClauseType:"'%0' list cannot be empty.",EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",IncompatibleModifiers:"'%0' modifier cannot be used with '%1' modifier.",IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:"Index signatures cannot have an accessibility modifier ('%0').",IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InvalidModifierOnTypeMember:"'%0' modifier cannot appear on a type member.",InvalidModifiersOrder:"'%0' modifier must precede '%1' modifier.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:"Private elements cannot have an accessibility modifier ('%0').",ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got %0."},d.SyntaxError);function keywordTypeFromName(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return undefined}}function tsIsAccessModifier(e){return e==="private"||e==="public"||e==="protected"}var Me=e=>(class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return this.match(u.name)}tsTokenCanFollowModifier(){return(this.match(u.bracketL)||this.match(u.braceL)||this.match(u.star)||this.match(u.ellipsis)||this.match(u.privateName)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e){if(!this.match(u.name)){return undefined}const t=this.state.value;if(e.indexOf(t)!==-1&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return t}return undefined}tsParseModifiers(e,t,r,n){const s=(t,r,n,s)=>{if(r===n&&e[s]){this.raise(t,_e.InvalidModifiersOrder,n,s)}};const i=(t,r,n,s)=>{if(e[n]&&r===s||e[s]&&r===n){this.raise(t,_e.IncompatibleModifiers,n,s)}};for(;;){const a=this.state.start;const o=this.tsParseModifier(t.concat(r!=null?r:[]));if(!o)break;if(tsIsAccessModifier(o)){if(e.accessibility){this.raise(a,_e.DuplicateAccessibilityModifier)}else{s(a,o,o,"override");s(a,o,o,"static");s(a,o,o,"readonly");e.accessibility=o}}else{if(Object.hasOwnProperty.call(e,o)){this.raise(a,_e.DuplicateModifier,o)}else{s(a,o,"static","readonly");s(a,o,"static","override");s(a,o,"override","readonly");s(a,o,"abstract","override");i(a,o,"declare","override");i(a,o,"static","abstract")}e[o]=true}if(r!=null&&r.includes(o)){this.raise(a,n,o)}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(u.braceR);case"HeritageClauseElement":return this.match(u.braceL);case"TupleElementTypes":return this.match(u.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const r=[];while(!this.tsIsListTerminator(e)){r.push(t())}return r}tsParseDelimitedList(e,t){return nonNull(this.tsParseDelimitedListWorker(e,t,true))}tsParseDelimitedListWorker(e,t,r){const n=[];for(;;){if(this.tsIsListTerminator(e)){break}const s=t();if(s==null){return undefined}n.push(s);if(this.eat(u.comma)){continue}if(this.tsIsListTerminator(e)){break}if(r){this.expect(u.comma)}return undefined}return n}tsParseBracketedList(e,t,r,n){if(!n){if(r){this.expect(u.bracketL)}else{this.expectRelational("<")}}const s=this.tsParseDelimitedList(e,t);if(r){this.expect(u.bracketR)}else{this.expectRelational(">")}return s}tsParseImportType(){const e=this.startNode();this.expect(u._import);this.expect(u.parenL);if(!this.match(u.string)){this.raise(this.state.start,_e.UnsupportedImportTypeArgument)}e.argument=this.parseExprAtom();this.expect(u.parenR);if(this.eat(u.dot)){e.qualifier=this.tsParseEntityName(true)}if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();while(this.eat(u.dot)){const r=this.startNodeAtNode(t);r.left=t;r.right=this.parseIdentifier(e);t=this.finishNode(r,"TSQualifiedName")}return t}tsParseTypeReference(){const e=this.startNode();e.typeName=this.tsParseEntityName(false);if(!this.hasPrecedingLineBreak()&&this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(u._typeof);if(this.match(u._import)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName(true)}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsEatThenParseType(u._extends);e.default=this.tsEatThenParseType(u.eq);return this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<")){return this.tsParseTypeParameters()}}tsParseTypeParameters(){const e=this.startNode();if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),false,true);if(e.params.length===0){this.raise(e.start,_e.EmptyTypeParameters)}return this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type===u._const){this.next();return this.tsParseTypeReference()}return null}tsFillSignature(e,t){const r=e===u.arrow;t.typeParameters=this.tsTryParseTypeParameters();this.expect(u.parenL);t.parameters=this.tsParseBindingListForSignature();if(r){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(u.parenR,41).map(e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(e.start,_e.UnsupportedSignatureParameterKind,e.type)}return e})}tsParseTypeMemberSemicolon(){if(!this.eat(u.comma)&&!this.isLineTerminator()){this.expect(u.semi)}}tsParseSignatureMember(e,t){this.tsFillSignature(u.colon,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();return this.eat(u.name)&&this.match(u.colon)}tsTryParseIndexSignature(e){if(!(this.match(u.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(u.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(u.bracketR);e.parameters=[t];const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(u.question))e.optional=true;const r=e;if(this.match(u.parenL)||this.isRelational("<")){if(t){this.raise(e.start,_e.ReadonlyForMethodSignature)}const n=r;if(n.kind&&this.isRelational("<")){this.raise(this.state.pos,_e.AccesorCannotHaveTypeParameters)}this.tsFillSignature(u.colon,n);this.tsParseTypeMemberSemicolon();if(n.kind==="get"){if(n.parameters.length>0){this.raise(this.state.pos,y.BadGetterArity);if(this.isThisParam(n.parameters[0])){this.raise(this.state.pos,_e.AccesorCannotDeclareThisParameter)}}}else if(n.kind==="set"){if(n.parameters.length!==1){this.raise(this.state.pos,y.BadSetterArity)}else{const e=n.parameters[0];if(this.isThisParam(e)){this.raise(this.state.pos,_e.AccesorCannotDeclareThisParameter)}if(e.type==="Identifier"&&e.optional){this.raise(this.state.pos,_e.SetAccesorCannotHaveOptionalParameter)}if(e.type==="RestElement"){this.raise(this.state.pos,_e.SetAccesorCannotHaveRestParameter)}}if(n.typeAnnotation){this.raise(n.typeAnnotation.start,_e.SetAccesorCannotHaveReturnType)}}else{n.kind="method"}return this.finishNode(n,"TSMethodSignature")}else{const e=r;if(t)e.readonly=true;const n=this.tsTryParseTypeAnnotation();if(n)e.typeAnnotation=n;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(u._new)){const t=this.startNode();this.next();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],_e.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e,false);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;this.parsePropertyName(e,false)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(u.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(u.braceR);return e}tsIsStartOfMappedType(){this.next();if(this.eat(u.plusMin)){return this.isContextual("readonly")}if(this.isContextual("readonly")){this.next()}if(!this.match(u.bracketL)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(u._in)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsExpectThenParseType(u._in);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(u.braceL);if(this.match(u.plusMin)){e.readonly=this.state.value;this.next();this.expectContextual("readonly")}else if(this.eatContextual("readonly")){e.readonly=true}this.expect(u.bracketL);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual("as")?this.tsParseType():null;this.expect(u.bracketR);if(this.match(u.plusMin)){e.optional=this.state.value;this.next();this.expect(u.question)}else if(this.eat(u.question)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(u.braceR);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let r=null;e.elementTypes.forEach(e=>{var n;let{type:s}=e;if(t&&s!=="TSRestType"&&s!=="TSOptionalType"&&!(s==="TSNamedTupleMember"&&e.optional)){this.raise(e.start,_e.OptionalTypeBeforeRequired)}t=t||s==="TSNamedTupleMember"&&e.optional||s==="TSOptionalType";if(s==="TSRestType"){e=e.typeAnnotation;s=e.type}const i=s==="TSNamedTupleMember";r=(n=r)!=null?n:i;if(r!==i){this.raise(e.start,_e.MixedLabeledAndUnlabeledElements)}});return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const r=this.eat(u.ellipsis);let n=this.tsParseType();const s=this.eat(u.question);const i=this.eat(u.colon);if(i){const e=this.startNodeAtNode(n);e.optional=s;if(n.type==="TSTypeReference"&&!n.typeParameters&&n.typeName.type==="Identifier"){e.label=n.typeName}else{this.raise(n.start,_e.InvalidTupleMemberLabel);e.label=n}e.elementType=this.tsParseType();n=this.finishNode(e,"TSNamedTupleMember")}else if(s){const e=this.startNodeAtNode(n);e.typeAnnotation=n;n=this.finishNode(e,"TSOptionalType")}if(r){const r=this.startNodeAt(e,t);r.typeAnnotation=n;n=this.finishNode(r,"TSRestType")}return n}tsParseParenthesizedType(){const e=this.startNode();this.expect(u.parenL);e.typeAnnotation=this.tsParseType();this.expect(u.parenR);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const r=this.startNode();if(e==="TSConstructorType"){r.abstract=!!t;if(t)this.next();this.next()}this.tsFillSignature(u.arrow,r);return this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case u.num:case u.bigint:case u.string:case u._true:case u._false:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case u.name:case u._void:case u._null:{const e=this.match(u._void)?"TSVoidKeyword":this.match(u._null)?"TSNullKeyword":keywordTypeFromName(this.state.value);if(e!==undefined&&this.lookaheadCharCode()!==46){const t=this.startNode();this.next();return this.finishNode(t,e)}return this.tsParseTypeReference()}case u.string:case u.num:case u.bigint:case u._true:case u._false:return this.tsParseLiteralTypeNode();case u.plusMin:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==u.num&&t.type!==u.bigint){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case u._this:return this.tsParseThisTypeOrThisTypePredicate();case u._typeof:return this.tsParseTypeQuery();case u._import:return this.tsParseImportType();case u.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case u.bracketL:return this.tsParseTupleType();case u.parenL:return this.tsParseParenthesizedType();case u.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(u.bracketL)){if(this.match(u.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(u.bracketR);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(u.bracketR);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(e){const t=this.startNode();this.expectContextual(e);t.operator=e;t.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(e==="readonly"){this.tsCheckTypeAnnotationForReadOnly(t)}return this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,_e.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();t.name=this.parseIdentifierName(t.start);e.typeParameter=this.finishNode(t,"TSTypeParameter");return this.finishNode(e,"TSInferType")}tsParseTypeOperatorOrHigher(){const e=["keyof","unique","readonly"].find(e=>this.isContextual(e));return e?this.tsParseTypeOperator(e):this.isContextual("infer")?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}tsParseUnionOrIntersectionType(e,t,r){const n=this.startNode();const s=this.eat(r);const i=[];do{i.push(t())}while(this.eat(r));if(i.length===1&&!s){return i[0]}n.types=i;return this.finishNode(n,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),u.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),u.bitwiseOR)}tsIsStartOfFunctionType(){if(this.isRelational("<")){return true}return this.match(u.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(u.name)||this.match(u._this)){this.next();return true}if(this.match(u.braceL)){let e=1;this.next();while(e>0){if(this.match(u.braceL)){++e}else if(this.match(u.braceR)){--e}this.next()}return true}if(this.match(u.bracketL)){let e=1;this.next();while(e>0){if(this.match(u.bracketL)){++e}else if(this.match(u.bracketR)){--e}this.next()}return true}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(u.parenR)||this.match(u.ellipsis)){return true}if(this.tsSkipParameterStart()){if(this.match(u.colon)||this.match(u.comma)||this.match(u.question)||this.match(u.eq)){return true}if(this.match(u.parenR)){this.next();if(this.match(u.arrow)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const r=this.startNode();const n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(u._this)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){r.parameterName=e;r.asserts=true;r.typeAnnotation=null;e=this.finishNode(r,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,r);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const s=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!s){if(!n){return this.tsParseTypeAnnotation(false,t)}r.parameterName=this.parseIdentifier();r.asserts=n;r.typeAnnotation=null;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsParseTypeAnnotation(false);r.parameterName=s;r.typeAnnotation=i;r.asserts=n;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(u.colon)?this.tsParseTypeOrTypePredicateAnnotation(u.colon):undefined}tsTryParseTypeAnnotation(){return this.match(u.colon)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(u.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(!this.match(u.name)||this.state.value!=="asserts"||this.hasPrecedingLineBreak()){return false}const e=this.state.containsEsc;this.next();if(!this.match(u.name)&&!this.match(u._this)){return false}if(e){this.raise(this.state.lastTokStart,y.InvalidEscapedReservedWord,"asserts")}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType(()=>{if(e)this.expect(u.colon);t.typeAnnotation=this.tsParseType()});return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(u._extends)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsParseNonConditionalType();this.expect(u.question);t.trueType=this.tsParseType();this.expect(u.colon);t.falseType=this.tsParseType();return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual("abstract")&&this.lookahead().type===u._new}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(u._new)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expectRelational(">");e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start;const r=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));if(!r.length){this.raise(t,_e.EmptyHeritageClauseType,e)}return r}tsParseExpressionWithTypeArguments(){const e=this.startNode();e.expression=this.tsParseEntityName(false);if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript interface declaration",te);e.typeParameters=this.tsTryParseTypeParameters();if(this.eat(u._extends)){e.extends=this.tsParseHeritageClause("extends")}const t=this.startNode();t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(t,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript type alias",re);e.typeParameters=this.tsTryParseTypeParameters();e.typeAnnotation=this.tsInType(()=>{this.expect(u.eq);if(this.isContextual("intrinsic")&&this.lookahead().type!==u.dot){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()});this.semicolon();return this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){const t=this.state.inType;this.state.inType=true;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>{e();return this.tsParseType()})}tsParseEnumMember(){const e=this.startNode();e.id=this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(u.eq)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){if(t)e.const=true;e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript enum declaration",t?oe:ne);this.expect(u.braceL);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(u.braceR);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(w);this.expect(u.braceL);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,u.braceR);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkLVal(e.id,"module or namespace declaration",le)}if(this.eat(u.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(k);this.prodParam.enter(we);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual("global")){e.global=true;e.id=this.parseIdentifier()}else if(this.match(u.string)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(u.braceL)){this.scope.enter(k);this.prodParam.enter(we);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkLVal(e.id,"import equals declaration",Q);this.expect(u.eq);const r=this.tsParseModuleReference();if(e.importKind==="type"&&r.type!=="TSExternalModuleReference"){this.raise(r.start,_e.ImportAliasHasImportType)}e.moduleReference=r;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual("require");this.expect(u.parenL);if(!this.match(u.string)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(u.parenR);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const r=e();this.state=t;return r}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const r=e();if(r!==undefined&&r!==false){return r}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let r;if(this.isContextual("let")){t=u._var;r="let"}return this.tsInAmbientContext(()=>{switch(t){case u._function:e.declare=true;return this.parseFunctionStatement(e,false,true);case u._class:e.declare=true;return this.parseClass(e,true,false);case u._const:if(this.match(u._const)&&this.isLookaheadContextual("enum")){this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}case u._var:r=r||this.state.value;return this.parseVarStatement(e,r);case u.name:{const t=this.state.value;if(t==="global"){return this.tsParseAmbientExternalModuleDeclaration(e)}else{return this.tsParseDeclaration(e,t,true)}}}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(u.braceL)){this.scope.enter(k);this.prodParam.enter(we);const r=e;r.global=true;r.id=t;r.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(u._class)||this.match(u.name))){return this.tsParseAbstractDeclaration(e)}break;case"enum":if(r||this.match(u.name)){if(r)this.next();return this.tsParseEnumDeclaration(e,false)}break;case"interface":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseInterfaceDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(u.string)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<")){return undefined}const r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const n=this.tsTryParseAndCatch(()=>{const r=this.startNodeAt(e,t);r.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(r);r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(u.arrow);return r});this.state.maybeInArrowParameters=r;if(!n){return undefined}return this.parseArrowExpression(n,null,true)}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType(()=>this.tsInNoContext(()=>{this.expectRelational("<");return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}));if(e.params.length===0){this.raise(e.start,_e.EmptyTypeArguments)}this.expectRelational(">");return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(u.name)){switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return true}}return false}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.start;const n=this.state.startLoc;let s;let i=false;let a=false;if(e!==undefined){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]);s=t.accessibility;a=t.override;i=t.readonly;if(e===false&&(s||i||a)){this.raise(r,_e.UnexpectedParameterModifier)}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(s||i||a){const e=this.startNodeAt(r,n);if(t.length){e.decorators=t}if(s)e.accessibility=s;if(i)e.readonly=i;if(a)e.override=a;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(e.start,_e.UnsupportedParameterPropertyKind)}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(u.colon)}const n=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"?"TSDeclareMethod":undefined;if(n&&!this.match(u.braceL)&&this.isLineTerminator()){this.finishNode(e,n);return}if(n==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(e.start,_e.DeclareFunctionHasImplementation);if(e.declare){super.parseFunctionBodyAndFinish(e,n,r);return}}super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkLVal(e.id,"function name",se)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(e.typeAnnotation.start,_e.UnexpectedTypeAnnotation)}})}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,r,n,s){if(!this.hasPrecedingLineBreak()&&this.match(u.bang)){this.state.exprAllowed=false;this.next();const n=this.startNodeAt(t,r);n.expression=e;return this.finishNode(n,"TSNonNullExpression")}if(this.isRelational("<")){const i=this.tsTryParseAndCatch(()=>{if(!n&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,r);if(e){return e}}const i=this.startNodeAt(t,r);i.callee=e;const a=this.tsParseTypeArguments();if(a){if(!n&&this.eat(u.parenL)){i.arguments=this.parseCallExpressionArguments(u.parenR,false);this.tsCheckForInvalidTypeCasts(i.arguments);i.typeParameters=a;if(s.optionalChainMember){i.optional=false}return this.finishCallExpression(i,s.optionalChainMember)}else if(this.match(u.backQuote)){const n=this.parseTaggedTemplateExpression(e,t,r,s);n.typeParameters=a;return n}}this.unexpected()});if(i)return i}return super.parseSubscript(e,t,r,n,s)}parseNewArguments(e){if(this.isRelational("<")){const t=this.tsTryParseAndCatch(()=>{const e=this.tsParseTypeArguments();if(!this.match(u.parenL))this.unexpected();return e});if(t){e.typeParameters=t}}super.parseNewArguments(e)}parseExprOp(e,t,r,n){if(nonNull(u._in.binop)>n&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const s=this.startNodeAt(t,r);s.expression=e;const i=this.tsTryNextParseConstantContext();if(i){s.typeAnnotation=i}else{s.typeAnnotation=this.tsNextThenParseType()}this.finishNode(s,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(s,t,r,n)}return super.parseExprOp(e,t,r,n)}checkReservedWord(e,t,r,n){}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(this.match(u.name)||this.match(u.star)||this.match(u.braceL)){let t=this.lookahead();if(this.isContextual("type")&&t.type!==u.comma&&!(t.type===u.name&&t.value==="from")&&t.type!==u.eq){e.importKind="type";this.next();t=this.lookahead()}if(this.match(u.name)&&t.type===u.eq){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(t.start,_e.TypeImportCannotSpecifyDefaultAndNamed)}return t}parseExport(e){if(this.match(u._import)){this.next();if(this.isContextual("type")&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(u.eq)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual("as")){const t=e;this.expectContextual("namespace");t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual("type")&&this.lookahead().type===u.braceL){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===u._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.state.value==="interface"){const e=this.tsParseDeclaration(this.startNode(),this.state.value,true);if(e)return e}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===u._const){const e=this.lookahead();if(e.type===u.name&&e.value==="enum"){const e=this.startNode();this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!e[t]})}parseClassMember(e,t,r){const n=["declare","private","public","protected","override","abstract","readonly"];this.tsParseModifiers(t,n.concat(["static"]));const s=()=>{const s=!!t.static;if(s&&this.eat(u.braceL)){if(this.tsHasSomeModifiers(t,n)){this.raise(this.state.pos,_e.StaticBlockCannotHaveModifier)}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,r,s)}};if(t.declare){this.tsInAmbientContext(s)}else{s()}}parseClassMemberWithIsStatic(e,t,r,n){const s=this.tsTryParseIndexSignature(t);if(s){e.body.push(s);if(t.abstract){this.raise(t.start,_e.IndexSignatureHasAbstract)}if(t.accessibility){this.raise(t.start,_e.IndexSignatureHasAccessibility,t.accessibility)}if(t.declare){this.raise(t.start,_e.IndexSignatureHasDeclare)}if(t.override){this.raise(t.start,_e.IndexSignatureHasOverride)}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(t.start,_e.NonAbstractClassHasAbstractMethod)}if(t.override){if(!r.hadSuperClass){this.raise(t.start,_e.OverrideNotInSubClass)}}super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){const t=this.eat(u.question);if(t)e.optional=true;if(e.readonly&&this.match(u.parenL)){this.raise(e.start,_e.ClassMethodHasReadonly)}if(e.declare&&this.match(u.parenL)){this.raise(e.start,_e.ClassMethodHasDeclare)}}parseExpressionStatement(e,t){const r=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return r||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,r,n){if(!n||!this.match(u.question)){return super.parseConditional(e,t,r,n)}const s=this.tryParse(()=>super.parseConditional(e,t,r));if(!s.node){n.start=s.error.pos||this.state.start;return e}if(s.error)this.state=s.failState;return s.node}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start;const r=this.state.startLoc;const n=this.eatContextual("declare");if(n&&(this.isContextual("declare")||!this.shouldParseExportDeclaration())){throw this.raise(this.state.start,_e.ExpectedAmbientAfterExportDeclare)}let s;if(this.match(u.name)){s=this.tsTryParseExportDeclaration()}if(!s){s=super.parseExportDeclaration(e)}if(s&&(s.type==="TSInterfaceDeclaration"||s.type==="TSTypeAliasDeclaration"||n)){e.exportKind="type"}if(s&&n){this.resetStartLocation(s,t,r);s.declare=true}return s}parseClassId(e,t,r){if((!t||r)&&this.isContextual("implements")){return}super.parseClassId(e,t,r,e.declare?se:H);const n=this.tsTryParseTypeParameters();if(n)e.typeParameters=n}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(u.bang)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(u.eq)){this.raise(this.state.start,_e.DeclareClassFieldHasInitializer)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(e.start,_e.PrivateElementHasAbstract)}if(e.accessibility){this.raise(e.start,_e.PrivateElementHasAccessibility,e.accessibility)}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,n,s,i){const a=this.tsTryParseTypeParameters();if(a&&s){this.raise(a.start,_e.ConstructorHasTypeParameters)}if(t.declare&&(t.kind==="get"||t.kind==="set")){this.raise(t.start,_e.DeclareAccessor,t.kind)}if(a)t.typeParameters=a;super.pushClassMethod(e,t,r,n,s,i)}pushClassPrivateMethod(e,t,r,n){const s=this.tsTryParseTypeParameters();if(s)t.typeParameters=s;super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.tsParseTypeArguments()}if(this.eatContextual("implements")){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&this.eat(u.bang)){e.definite=true}const r=this.tsTryParseTypeAnnotation();if(r){e.id.typeAnnotation=r;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(u.colon)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,r,n,s,i,a,o;let l;let p;let f;if(this.hasPlugin("jsx")&&(this.match(u.jsxTagStart)||this.isRelational("<"))){l=this.state.clone();p=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!p.error)return p.node;const{context:t}=this.state;if(t[t.length-1]===h.j_oTag){t.length-=2}else if(t[t.length-1]===h.j_expr){t.length-=1}}if(!((t=p)!=null&&t.error)&&!this.isRelational("<")){return super.parseMaybeAssign(...e)}let c;l=l||this.state.clone();const d=this.tryParse(t=>{var r,n;c=this.tsParseTypeParameters();const s=super.parseMaybeAssign(...e);if(s.type!=="ArrowFunctionExpression"||(r=s.extra)!=null&&r.parenthesized){t()}if(((n=c)==null?void 0:n.params.length)!==0){this.resetStartLocationFromNode(s,c)}s.typeParameters=c;return s},l);if(!d.error&&!d.aborted)return d.node;if(!p){assert(!this.hasPlugin("jsx"));f=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!f.error)return f.node}if((r=p)!=null&&r.node){this.state=p.failState;return p.node}if(d.node){this.state=d.failState;return d.node}if((n=f)!=null&&n.node){this.state=f.failState;return f.node}if((s=p)!=null&&s.thrown)throw p.error;if(d.thrown)throw d.error;if((i=f)!=null&&i.thrown)throw f.error;throw((a=p)==null?void 0:a.error)||d.error||((o=f)==null?void 0:o.error)}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.isRelational("<")){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(u.colon);if(this.canInsertSemicolon()||!this.match(u.arrow))e();return t});if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(e.start,_e.PatternIsOptional)}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}toAssignable(e,t=false){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...r){var n;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...r);return;case"TSAsExpression":case"TSTypeAssertion":if(!r[0]&&t!=="parenthesized expression"&&!((n=e.extra)!=null&&n.parenthesized)){this.raise(e.start,y.InvalidLhs,t);break}this.checkLVal(e.expression,"parenthesized expression",...r);return;case"TSNonNullExpression":this.checkLVal(e.expression,t,...r);return;default:super.checkLVal(e,t,...r);return}}parseBindingAtom(){switch(this.state.type){case u._this:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(u.parenL)){const r=super.parseMaybeDecoratorArguments(e);r.typeParameters=t;return r}this.unexpected(this.state.start,u.parenL)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(u.comma)&&this.lookaheadCharCode()===e){this.next()}else{super.checkCommaAfterRest(e)}}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.bang)||this.match(u.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.startthis.tsParseTypeArguments());if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const n=r[0];const s=n&&this.isThisParam(n);return s?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,...t){const r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,...t)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e){if(this.match(u._class)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual("interface")){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(e.start,_e.NonClassMethodPropertyHasAbstractModifer);this.next();return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,u._class)}}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(t.start,_e.AbstractMethodHasImplementation,e.type==="Identifier"?e.name:`[${this.input.slice(e.start,e.end)}]`)}}return t}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}});u.placeholder=new TokenType("%%",{startsExpr:true});const Fe=makeErrorTemplates({ClassNameIsRequired:"A class name is required."},d.SyntaxError);var Be=e=>(class extends e{parsePlaceholder(e){if(this.match(u.placeholder)){const t=this.startNode();this.next();this.assertNoSpace("Unexpected space in placeholder.");t.name=super.parseIdentifier(true);this.assertNoSpace("Unexpected space in placeholder.");this.expect(u.placeholder);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(u.placeholder,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){if(e.type!=="Placeholder")super.checkLVal(...arguments)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern";return e}return super.toAssignable(...arguments)}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual("let")){return false}if(e)return false;const t=this.lookahead();if(t.type===u.placeholder){return true}return false}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(u.colon)){const r=e;r.label=this.finishPlaceholder(t,"Identifier");this.next();r.body=this.parseStatement("label");return this.finishNode(r,"LabeledStatement")}this.semicolon();e.name=t.name;return this.finishPlaceholder(e,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(e,t,r){const n=t?"ClassDeclaration":"ClassExpression";this.next();this.takeDecorators(e);const s=this.state.strict;const i=this.parsePlaceholder("Identifier");if(i){if(this.match(u._extends)||this.match(u.placeholder)||this.match(u.braceL)){e.id=i}else if(r||!t){e.id=null;e.body=this.finishPlaceholder(i,"ClassBody");return this.finishNode(e,n)}else{this.unexpected(null,Fe.ClassNameIsRequired)}}else{this.parseClassId(e,t,r)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,s);return this.finishNode(e,n)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(u.comma)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const r=this.startNode();r.exported=t;e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(u._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(u.placeholder.label,this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter(e=>e.exported.type==="Placeholder")}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual("from")&&!this.match(u.comma)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const r=this.startNodeAtNode(t);r.local=t;this.finishNode(r,"ImportDefaultSpecifier");e.specifiers.push(r);if(this.eat(u.comma)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual("from");e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}});var ke=e=>(class extends e{parseV8Intrinsic(){if(this.match(u.modulo)){const e=this.state.start;const t=this.startNode();this.eat(u.modulo);if(this.match(u.name)){const e=this.parseIdentifierName(this.state.start);const r=this.createIdentifier(t,e);r.type="V8IntrinsicIdentifier";if(this.match(u.parenL)){return r}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}});function hasPlugin(e,t){return e.some(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}})}function getPluginOption(e,t,r){const n=e.find(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}});if(n&&Array.isArray(n)){return n[1][r]}return null}const Re=["minimal","smart","fsharp"];const Ke=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option,"+" whose value must be a boolean. If you are migrating from"+" Babylon/Babel 6 or want to use the old decorators proposal, you"+" should use the 'decorators-legacy' plugin instead of 'decorators'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")&&!Re.includes(getPluginOption(e,"pipelineOperator","proposal"))){throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: "+Re.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}}if(hasPlugin(e,"recordAndTuple")&&!Ke.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Ke.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const Ve={estree:T,jsx:De,flow:xe,typescript:Me,v8intrinsic:ke,placeholders:Be};const Xe=Object.keys(Ve);const Ye={sourceType:"script",sourceFilename:undefined,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false};function getOptions(e){const t={};for(const r of Object.keys(Ye)){t[r]=e&&e[r]!=null?e[r]:Ye[r]}return t}var Je=function isDigit(e){return e>=48&&e<=57};const Ue=new Set([103,109,115,105,121,117,100]);const We={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]};const qe={};qe.bin=[48,49];qe.oct=[...qe.bin,50,51,52,53,54,55];qe.dec=[...qe.oct,56,57];qe.hex=[...qe.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends ParserError{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(this.state))}this.state.lastTokEnd=this.state.end;this.state.lastTokStart=this.state.start;this.state.lastTokEndLoc=this.state.endLoc;this.state.lastTokStartLoc=this.state.startLoc;this.nextToken()}eat(e){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){c.lastIndex=e;const t=c.exec(this.input);return e+t[0].length}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(t,e));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(!e.preserveSpace)this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(u.eof);return}if(e===h.template){this.readTmplToken()}else{this.getTokenFromCode(this.codePointAtPos(this.state.pos))}}pushComment(e,t,r,n,s,i){const a={type:e?"CommentBlock":"CommentLine",value:t,start:r,end:n,loc:new SourceLocation(s,i)};if(this.options.tokens)this.pushToken(a);this.state.comments.push(a);this.addComment(a)}skipBlockComment(){let e;if(!this.isLookahead)e=this.state.curPosition();const t=this.state.pos;const r=this.input.indexOf("*/",this.state.pos+2);if(r===-1)throw this.raise(t,y.UnterminatedComment);this.state.pos=r+2;f.lastIndex=t;let n;while((n=f.exec(this.input))&&n.index=48&&t<=57){throw this.raise(this.state.pos,y.UnexpectedDigitAfterHash)}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(this.state.pos,t===123?y.RecordExpressionHashIncorrectStartSyntaxType:y.TupleExpressionHashIncorrectStartSyntaxType)}this.state.pos+=2;if(t===123){this.finishToken(u.braceHashL)}else{this.finishToken(u.bracketHashL)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(u.privateName,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(u.privateName,this.readWord1())}else{this.finishOp(u.hash,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(u.ellipsis)}else{++this.state.pos;this.finishToken(u.dot)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(u.slashAssign,2)}else{this.finishOp(u.slash,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos=48&&t<=57)){this.state.pos+=2;this.finishToken(u.questionDot)}else{++this.state.pos;this.finishToken(u.question)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(u.parenL);return;case 41:++this.state.pos;this.finishToken(u.parenR);return;case 59:++this.state.pos;this.finishToken(u.semi);return;case 44:++this.state.pos;this.finishToken(u.comma);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,y.TupleExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.bracketBarL)}else{++this.state.pos;this.finishToken(u.bracketL)}return;case 93:++this.state.pos;this.finishToken(u.bracketR);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,y.RecordExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.braceBarL)}else{++this.state.pos;this.finishToken(u.braceL)}return;case 125:++this.state.pos;this.finishToken(u.braceR);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(u.doubleColon,2)}else{++this.state.pos;this.finishToken(u.colon)}return;case 63:this.readToken_question();return;case 96:++this.state.pos;this.finishToken(u.backQuote);return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:case 62:this.readToken_lt_gt(e);return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(u.tilde,1);return;case 64:++this.state.pos;this.finishToken(u.at);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(this.state.pos,y.InvalidOrUnexpectedToken,String.fromCodePoint(e))}finishOp(e,t){const r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t;this.finishToken(e,r)}readRegexp(){const e=this.state.start+1;let t,r;let{pos:n}=this.state;for(;;++n){if(n>=this.length){throw this.raise(e,y.UnterminatedRegExp)}const s=this.input.charCodeAt(n);if(isNewLine(s)){throw this.raise(e,y.UnterminatedRegExp)}if(t){t=false}else{if(s===91){r=true}else if(s===93&&r){r=false}else if(s===47&&!r){break}t=s===92}}const s=this.input.slice(e,n);++n;let i="";while(n-1||i.indexOf(t)>-1||Number.isNaN(t)){this.raise(this.state.pos,y.UnexpectedNumericSeparator)}if(!n){this.raise(this.state.pos,y.NumericSeparatorInEscapeSequence)}++this.state.pos;continue}if(t>=97){u=t-97+10}else if(t>=65){u=t-65+10}else if(Je(t)){u=t-48}else{u=Infinity}if(u>=e){if(this.options.errorRecovery&&u<=9){u=0;this.raise(this.state.start+s+2,y.InvalidDigit,e)}else if(r){u=0;o=true}else{break}}++this.state.pos;l=l*e+u}if(this.state.pos===s||t!=null&&this.state.pos-s!==t||o){return null}return l}readRadixNumber(e){const t=this.state.pos;let r=false;this.state.pos+=2;const n=this.readInt(e);if(n==null){this.raise(this.state.start+2,y.InvalidDigit,e)}const s=this.input.charCodeAt(this.state.pos);if(s===110){++this.state.pos;r=true}else if(s===109){throw this.raise(t,y.InvalidDecimal)}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,y.NumberIdentifier)}if(r){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(u.bigint,e);return}this.finishToken(u.num,n)}readNumber(e){const t=this.state.pos;let r=false;let n=false;let s=false;let i=false;let a=false;if(!e&&this.readInt(10)===null){this.raise(t,y.InvalidNumber)}const o=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(o){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(t,y.StrictOctalLiteral);if(!this.state.strict){const r=e.indexOf("_");if(r>0){this.raise(r+t,y.ZeroDigitNumericSeparator)}}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!a){++this.state.pos;this.readInt(10);r=true;l=this.input.charCodeAt(this.state.pos)}if((l===69||l===101)&&!a){l=this.input.charCodeAt(++this.state.pos);if(l===43||l===45){++this.state.pos}if(this.readInt(10)===null){this.raise(t,y.InvalidOrMissingExponent)}r=true;i=true;l=this.input.charCodeAt(this.state.pos)}if(l===110){if(r||o){this.raise(t,y.InvalidBigIntLiteral)}++this.state.pos;n=true}if(l===109){this.expectPlugin("decimal",this.state.pos);if(i||o){this.raise(t,y.InvalidDecimal)}++this.state.pos;s=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,y.NumberIdentifier)}const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n){this.finishToken(u.bigint,p);return}if(s){this.finishToken(u.decimal,p);return}const f=a?parseInt(p,8):parseFloat(p);this.finishToken(u.num,f)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let r;if(t===123){const t=++this.state.pos;r=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(r!==null&&r>1114111){if(e){this.raise(t,y.InvalidCodePoint)}else{return null}}}else{r=this.readHexChar(4,false,e)}return r}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===92){t+=this.input.slice(r,this.state.pos);t+=this.readEscapedChar(false);r=this.state.pos}else if(n===8232||n===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(n)){throw this.raise(this.state.start,y.UnterminatedString)}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);this.finishToken(u.string,t)}readTmplToken(){let e="",t=this.state.pos,r=false;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedTemplate)}const n=this.input.charCodeAt(this.state.pos);if(n===96||n===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(u.template)){if(n===36){this.state.pos+=2;this.finishToken(u.dollarBraceL);return}else{++this.state.pos;this.finishToken(u.backQuote);return}}e+=this.input.slice(t,this.state.pos);this.finishToken(u.template,r?null:e);return}if(n===92){e+=this.input.slice(t,this.state.pos);const n=this.readEscapedChar(true);if(n===null){r=true}else{e+=n}t=this.state.pos}else if(isNewLine(n)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(n){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(n);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,t){if(this.state.strict&&!this.state.strictErrors.has(e)){this.raise(e,t)}else{this.state.strictErrors.set(e,t)}}readEscapedChar(e){const t=!e;const r=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(r){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:this.state.lineStart=this.state.pos;++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(e){return null}else{this.recordStrictModeErrors(this.state.pos-1,y.StrictNumericEscape)}default:if(r>=48&&r<=55){const t=this.state.pos-1;const r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let n=r[0];let s=parseInt(n,8);if(s>255){n=n.slice(0,-1);s=parseInt(n,8)}this.state.pos+=n.length-1;const i=this.input.charCodeAt(this.state.pos);if(n!=="0"||i===56||i===57){if(e){return null}else{this.recordStrictModeErrors(t,y.StrictNumericEscape)}}return String.fromCharCode(s)}return String.fromCharCode(r)}}readHexChar(e,t,r){const n=this.state.pos;const s=this.readInt(16,e,t,false);if(s===null){if(r){this.raise(n,y.InvalidEscapeSequence)}else{this.state.pos=n-1}}return s}readWord1(e){this.state.containsEsc=false;let t="";const r=this.state.pos;let n=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos{this.raise(r,t);let n=e.length-2;let s=e[n];while(s.canBeArrowParameterDeclaration()){s.clearDeclarationError(r);s=e[--n]}})}}function newParameterDeclarationScope(){return new ExpressionScope(He)}function newArrowHeadScope(){return new ArrowHeadParsingScope(Ge)}function newAsyncArrowScope(){return new ArrowHeadParsingScope($e)}function newExpressionScope(){return new ExpressionScope}class UtilParser extends Tokenizer{addExtra(e,t,r){if(!e)return;const n=e.extra=e.extra||{};n[t]=r}isRelational(e){return this.match(u.relational)&&this.state.value===e}expectRelational(e){if(this.isRelational(e)){this.next()}else{this.unexpected(null,u.relational)}}isContextual(e){return this.match(u.name)&&this.state.value===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;if(this.input.slice(e,r)===t){const e=this.input.charCodeAt(r);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)&&this.eat(u.name)}expectContextual(e,t){if(!this.eatContextual(e))this.unexpected(null,t)}canInsertSemicolon(){return this.match(u.eof)||this.match(u.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return p.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){return p.test(this.input.slice(this.state.end,this.nextTokenStart()))}isLineTerminator(){return this.eat(u.semi)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(u.semi))return;this.raise(this.state.lastTokEnd,y.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){if(this.state.start>this.state.lastTokEnd){this.raise(this.state.lastTokEnd,{code:d.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}}unexpected(e,t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){if(t instanceof TokenType){t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${t.label}"`}}throw this.raise(e!=null?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e)){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`)}return true}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e))){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:e},`This experimental syntax requires enabling one of the following parser plugin(s): '${e.join(", ")}'`)}}tryParse(e,t=this.state.clone()){const r={node:null};try{const n=e((e=null)=>{r.node=e;throw r});if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:n,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:n,error:null,thrown:false,aborted:false,failState:null}}catch(e){const n=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:n}}if(e===r){return{node:r.node,error:null,thrown:false,aborted:true,failState:n}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssign:r,doubleProto:n}=e;if(!t)return r>=0||n>=0;if(r>=0){this.unexpected(r)}if(n>=0){this.raise(n,y.DuplicateProto)}}isLiteralPropertyName(){return this.match(u.name)||!!this.state.type.keyword||this.match(u.string)||this.match(u.num)||this.match(u.bigint)||this.match(u.decimal)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const n=this.inModule;this.inModule=e;const s=this.scope;const i=this.getScopeHandler();this.scope=new i(this.raise.bind(this),this.inModule);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this.raise.bind(this));const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this.raise.bind(this));return()=>{this.state.labels=t;this.exportedIdentifiers=r;this.inModule=n;this.scope=s;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=we;if(this.hasPlugin("topLevelAwait")&&this.inModule){e|=Ne}this.scope.enter(j);this.prodParam.enter(e)}}class ExpressionErrors{constructor(){this.shorthandAssign=-1;this.doubleProto=-1}}class Node{constructor(e,t,r){this.type=void 0;this.start=void 0;this.end=void 0;this.loc=void 0;this.range=void 0;this.leadingComments=void 0;this.trailingComments=void 0;this.innerComments=void 0;this.extra=void 0;this.type="";this.start=t;this.end=0;this.loc=new SourceLocation(r);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}__clone(){const e=new Node;const t=Object.keys(this);for(let r=0,n=t.length;r{return e.type==="ParenthesizedExpression"?Qe(e.expression):e};class LValParser extends NodeUtils{toAssignable(e,t=false){var r,n;let s=undefined;if(e.type==="ParenthesizedExpression"||(r=e.extra)!=null&&r.parenthesized){s=Qe(e);if(t){if(s.type==="Identifier"){this.expressionScope.recordParenthesizedIdentifierError(e.start,y.InvalidParenthesizedAssignment)}else if(s.type!=="MemberExpression"){this.raise(e.start,y.InvalidParenthesizedAssignment)}}else{this.raise(e.start,y.InvalidParenthesizedAssignment)}}switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":break;case"ObjectExpression":e.type="ObjectPattern";for(let r=0,n=e.properties.length,s=n-1;rthis.parseExpressionBase(t))}return this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start;const r=this.state.startLoc;const n=this.parseMaybeAssign(e);if(this.match(u.comma)){const s=this.startNodeAt(t,r);s.expressions=[n];while(this.eat(u.comma)){s.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(s.expressions);return this.finishNode(s,"SequenceExpression")}return n}parseMaybeAssignDisallowIn(e,t,r){return this.disallowInAnd(()=>this.parseMaybeAssign(e,t,r))}parseMaybeAssignAllowIn(e,t,r){return this.allowInAnd(()=>this.parseMaybeAssign(e,t,r))}parseMaybeAssign(e,t,r){const n=this.state.start;const s=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,n,s)}return e}}let i;if(e){i=false}else{e=new ExpressionErrors;i=true}if(this.match(u.parenL)||this.match(u.name)){this.state.potentialArrowAt=this.state.start}let a=this.parseMaybeConditional(e,r);if(t){a=t.call(this,a,n,s)}if(this.state.type.isAssign){const t=this.startNodeAt(n,s);const r=this.state.value;t.operator=r;if(this.match(u.eq)){t.left=this.toAssignable(a,true);e.doubleProto=-1}else{t.left=a}if(e.shorthandAssign>=t.left.start){e.shorthandAssign=-1}this.checkLVal(a,"assignment expression");this.next();t.right=this.parseMaybeAssign();return this.finishNode(t,"AssignmentExpression")}else if(i){this.checkExpressionErrors(e,true)}return a}parseMaybeConditional(e,t){const r=this.state.start;const n=this.state.startLoc;const s=this.state.potentialArrowAt;const i=this.parseExprOps(e);if(this.shouldExitDescending(i,s)){return i}return this.parseConditional(i,r,n,t)}parseConditional(e,t,r,n){if(this.eat(u.question)){const n=this.startNodeAt(t,r);n.test=e;n.consequent=this.parseMaybeAssignAllowIn();this.expect(u.colon);n.alternate=this.parseMaybeAssign();return this.finishNode(n,"ConditionalExpression")}return e}parseExprOps(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const s=this.parseMaybeUnary(e);if(this.shouldExitDescending(s,n)){return s}return this.parseExprOp(s,t,r,-1)}parseExprOp(e,t,r,n){let s=this.state.type.binop;if(s!=null&&(this.prodParam.hasIn||!this.match(u._in))){if(s>n){const i=this.state.type;if(i===u.pipeline){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.state.inPipeline=true;this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,r);a.left=e;a.operator=this.state.value;const o=i===u.logicalOR||i===u.logicalAND;const l=i===u.nullishCoalescing;if(l){s=u.logicalAND.binop}this.next();if(i===u.pipeline&&this.getPluginOption("pipelineOperator","proposal")==="minimal"){if(this.match(u.name)&&this.state.value==="await"&&this.prodParam.hasAwait){throw this.raise(this.state.start,y.UnexpectedAwaitAfterPipelineBody)}}a.right=this.parseExprOpRightExpr(i,s);this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");const p=this.state.type;if(l&&(p===u.logicalOR||p===u.logicalAND)||o&&p===u.nullishCoalescing){throw this.raise(this.state.start,y.MixingCoalesceWithLogical)}return this.parseExprOp(a,t,r,n)}}return e}parseExprOpRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;switch(e){case u.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"smart":return this.withTopicPermittingContext(()=>{return this.parseSmartPipelineBody(this.parseExprOpBaseRightExpr(e,t),r,n)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(t)})}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),r,n,e.rightAssociative?t-1:t)}checkExponentialAfterUnary(e){if(this.match(u.exponent)){this.raise(e.argument.start,y.UnexpectedTokenUnaryExponentiation)}}parseMaybeUnary(e,t){const r=this.state.start;const n=this.state.startLoc;const s=this.isContextual("await");if(s&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r,n);if(!t)this.checkExponentialAfterUnary(e);return e}if(this.isContextual("module")&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak()){return this.parseModuleExpression()}const i=this.match(u.incDec);const a=this.startNode();if(this.state.type.prefix){a.operator=this.state.value;a.prefix=true;if(this.match(u._throw)){this.expectPlugin("throwExpressions")}const r=this.match(u._delete);this.next();a.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&r){const e=a.argument;if(e.type==="Identifier"){this.raise(a.start,y.StrictDelete)}else if(this.hasPropertyAsPrivateName(e)){this.raise(a.start,y.DeletePrivateField)}}if(!i){if(!t)this.checkExponentialAfterUnary(a);return this.finishNode(a,"UnaryExpression")}}const o=this.parseUpdate(a,i,e);if(s){const e=this.hasPlugin("v8intrinsic")?this.state.type.startsExpr:this.state.type.startsExpr&&!this.match(u.modulo);if(e&&!this.isAmbiguousAwait()){this.raiseOverwrite(r,this.hasPlugin("topLevelAwait")?y.AwaitNotInAsyncContext:y.AwaitNotInAsyncFunction);return this.parseAwait(r,n)}}return o}parseUpdate(e,t,r){if(t){this.checkLVal(e.argument,"prefix operation");return this.finishNode(e,"UpdateExpression")}const n=this.state.start;const s=this.state.startLoc;let i=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,false))return i;while(this.state.type.postfix&&!this.canInsertSemicolon()){const e=this.startNodeAt(n,s);e.operator=this.state.value;e.prefix=false;e.argument=i;this.checkLVal(i,"postfix operation");this.next();i=this.finishNode(e,"UpdateExpression")}return i}parseExprSubscripts(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const s=this.parseExprAtom(e);if(this.shouldExitDescending(s,n)){return s}return this.parseSubscripts(s,t,r)}parseSubscripts(e,t,r,n){const s={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,r,n,s);s.maybeAsyncArrow=false}while(!s.stop);return e}parseSubscript(e,t,r,n,s){if(!n&&this.eat(u.doubleColon)){return this.parseBind(e,t,r,n,s)}else if(this.match(u.backQuote)){return this.parseTaggedTemplateExpression(e,t,r,s)}let i=false;if(this.match(u.questionDot)){if(n&&this.lookaheadCharCode()===40){s.stop=true;return e}s.optionalChainMember=i=true;this.next()}if(!n&&this.match(u.parenL)){return this.parseCoverCallAndAsyncArrowHead(e,t,r,s,i)}else if(i||this.match(u.bracketL)||this.eat(u.dot)){return this.parseMember(e,t,r,s,i)}else{s.stop=true;return e}}parseMember(e,t,r,n,s){const i=this.startNodeAt(t,r);const a=this.eat(u.bracketL);i.object=e;i.computed=a;const o=!a&&this.match(u.privateName)&&this.state.value;const l=a?this.parseExpression():o?this.parsePrivateName():this.parseIdentifier(true);if(o!==false){if(i.object.type==="Super"){this.raise(t,y.SuperPrivateField)}this.classScope.usePrivateName(o,l.start)}i.property=l;if(a){this.expect(u.bracketR)}if(n.optionalChainMember){i.optional=s;return this.finishNode(i,"OptionalMemberExpression")}else{return this.finishNode(i,"MemberExpression")}}parseBind(e,t,r,n,s){const i=this.startNodeAt(t,r);i.object=e;i.callee=this.parseNoCallExpr();s.stop=true;return this.parseSubscripts(this.finishNode(i,"BindExpression"),t,r,n)}parseCoverCallAndAsyncArrowHead(e,t,r,n,s){const i=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,r);o.callee=e;if(n.maybeAsyncArrow){this.expressionScope.enter(newAsyncArrowScope());a=new ExpressionErrors}if(n.optionalChainMember){o.optional=s}if(s){o.arguments=this.parseCallExpressionArguments(u.parenR)}else{o.arguments=this.parseCallExpressionArguments(u.parenR,e.type==="Import",e.type!=="Super",o,a)}this.finishCallExpression(o,n.optionalChainMember);if(n.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!s){n.stop=true;this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),o)}else{if(n.maybeAsyncArrow){this.checkExpressionErrors(a,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=i;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,n){const s=this.startNodeAt(t,r);s.tag=e;s.quasi=this.parseTemplate(true);if(n.optionalChainMember){this.raise(t,y.OptionalChainingNoTemplate)}return this.finishNode(s,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(e.start,y.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument")}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(t.start,y.ImportCallSpreadArgument)}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,s){const i=[];let a=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(this.state.lastTokStart,y.ImportCallArgumentTrailingComma)}if(n){this.addExtra(n,"trailingComma",this.state.lastTokStart)}this.next();break}}i.push(this.parseExprListItem(false,s,{start:0},r))}this.state.inFSharpPipelineDirectBody=o;return i}shouldParseAsyncArrow(){return this.match(u.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;this.expect(u.arrow);this.parseArrowExpression(e,t.arguments,true,(r=t.extra)==null?void 0:r.trailingComma);return e}parseNoCallExpr(){const e=this.state.start;const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,true)}parseExprAtom(e){let t;switch(this.state.type){case u._super:return this.parseSuper();case u._import:t=this.startNode();this.next();if(this.match(u.dot)){return this.parseImportMetaProperty(t)}if(!this.match(u.parenL)){this.raise(this.state.lastTokStart,y.UnsupportedImport)}return this.finishNode(t,"Import");case u._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case u.name:{const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const r=this.parseIdentifier();if(!t&&r.name==="async"&&!this.canInsertSemicolon()){if(this.match(u._function)){this.next();return this.parseFunction(this.startNodeAtNode(r),undefined,true)}else if(this.match(u.name)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(r)}else{return r}}else if(this.match(u._do)){return this.parseDo(true)}}if(e&&this.match(u.arrow)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(r),[r],false)}return r}case u._do:{return this.parseDo(false)}case u.slash:case u.slashAssign:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case u.num:return this.parseNumericLiteral(this.state.value);case u.bigint:return this.parseBigIntLiteral(this.state.value);case u.decimal:return this.parseDecimalLiteral(this.state.value);case u.string:return this.parseStringLiteral(this.state.value);case u._null:return this.parseNullLiteral();case u._true:return this.parseBooleanLiteral(true);case u._false:return this.parseBooleanLiteral(false);case u.parenL:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case u.bracketBarL:case u.bracketHashL:{return this.parseArrayLike(this.state.type===u.bracketBarL?u.bracketBarR:u.bracketR,false,true,e)}case u.bracketL:{return this.parseArrayLike(u.bracketR,true,false,e)}case u.braceBarL:case u.braceHashL:{return this.parseObjectLike(this.state.type===u.braceBarL?u.braceBarR:u.braceR,false,true,e)}case u.braceL:{return this.parseObjectLike(u.braceR,false,false,e)}case u._function:return this.parseFunctionOrFunctionSent();case u.at:this.parseDecorators();case u._class:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case u._new:return this.parseNewOrNewTarget();case u.backQuote:return this.parseTemplate(false);case u.doubleColon:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(e.start,y.UnsupportedBind)}}case u.privateName:{const e=this.state.start;const r=this.state.value;t=this.parsePrivateName();if(this.match(u._in)){this.expectPlugin("privateIn");this.classScope.usePrivateName(r,t.start)}else if(this.hasPlugin("privateIn")){this.raise(this.state.start,y.PrivateInExpectedIn,r)}else{throw this.unexpected(e)}return t}case u.hash:{if(this.state.inPipeline){t=this.startNode();if(this.getPluginOption("pipelineOperator","proposal")!=="smart"){this.raise(t.start,y.PrimaryTopicRequiresSmartPipeline)}this.next();if(!this.primaryTopicReferenceIsAllowedInCurrentTopicContext()){this.raise(t.start,y.PrimaryTopicNotAllowed)}this.registerTopicReference();return this.finishNode(t,"PipelinePrimaryTopicReference")}}case u.relational:{if(this.state.value==="<"){const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}}}default:throw this.unexpected()}}parseAsyncArrowUnaryFunction(e){const t=this.startNodeAtNode(e);this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const r=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(this.state.pos,y.LineTerminatorBeforeArrow)}this.expect(u.arrow);this.parseArrowExpression(t,r,true);return t}parseDo(e){this.expectPlugin("doExpressions");if(e){this.expectPlugin("asyncDoExpressions")}const t=this.startNode();t.async=e;this.next();const r=this.state.labels;this.state.labels=[];if(e){this.prodParam.enter(Ne);t.body=this.parseBlock();this.prodParam.exit()}else{t.body=this.parseBlock()}this.state.labels=r;return this.finishNode(t,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(u.parenL)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,y.SuperNotAllowed)}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,y.UnexpectedSuper)}if(!this.match(u.parenL)&&!this.match(u.bracketL)&&!this.match(u.dot)){this.raise(e.start,y.UnsupportedSuper)}return this.finishNode(e,"Super")}parseMaybePrivateName(e){const t=this.match(u.privateName);if(t){if(!e){this.raise(this.state.start+1,y.UnexpectedPrivateField)}return this.parsePrivateName()}else{return this.parseIdentifier(true)}}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(this.state.start+1,new Position(this.state.curLine,this.state.start+1-this.state.lineStart));const r=this.state.value;this.next();e.id=this.createIdentifier(t,r);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;if(t.name==="function"&&r==="sent"){if(this.isContextual(r)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}}const n=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==r||n){this.raise(e.property.start,y.UnsupportedMetaProperty,t.name,r)}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual("meta")){if(!this.inModule){this.raise(t.start,m.ImportMetaOutsideModule)}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){this.addExtra(r,"rawValue",e);this.addExtra(r,"raw",this.input.slice(r.start,this.state.end));r.value=e;this.next();return this.finishNode(r,t)}parseLiteral(e,t){const r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start;const r=this.state.startLoc;let n;this.next();this.expressionScope.enter(newArrowHeadScope());const s=this.state.maybeInArrowParameters;const i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const a=this.state.start;const o=this.state.startLoc;const l=[];const p=new ExpressionErrors;const f={start:0};let c=true;let d;let y;while(!this.match(u.parenR)){if(c){c=false}else{this.expect(u.comma,f.start||null);if(this.match(u.parenR)){y=this.state.start;break}}if(this.match(u.ellipsis)){const e=this.state.start;const t=this.state.startLoc;d=this.state.start;l.push(this.parseParenItem(this.parseRestBinding(),e,t));this.checkCommaAfterRest(41);break}else{l.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem,f))}}const m=this.state.lastTokEnd;const T=this.state.lastTokEndLoc;this.expect(u.parenR);this.state.maybeInArrowParameters=s;this.state.inFSharpPipelineDirectBody=i;let h=this.startNodeAt(t,r);if(e&&this.shouldParseArrow()&&(h=this.parseArrow(h))){this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(h,l,false);return h}this.expressionScope.exit();if(!l.length){this.unexpected(this.state.lastTokStart)}if(y)this.unexpected(y);if(d)this.unexpected(d);this.checkExpressionErrors(p,true);if(f.start)this.unexpected(f.start);this.toReferencedListDeep(l,true);if(l.length>1){n=this.startNodeAt(a,o);n.expressions=l;this.finishNodeAt(n,"SequenceExpression",m,T)}else{n=l[0]}if(!this.options.createParenthesizedExpressions){this.addExtra(n,"parenthesized",true);this.addExtra(n,"parenStart",t);return n}const S=this.startNodeAt(t,r);S.expression=n;this.finishNode(S,"ParenthesizedExpression");return S}shouldParseArrow(){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(u.arrow)){return e}}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){this.raise(r.start,y.UnexpectedNewTarget)}return r}return this.parseNew(e)}parseNew(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(e.callee.start,y.ImportCallNotNewExpression)}else if(this.isOptionalChain(e.callee)){this.raise(this.state.lastTokEnd,y.OptionalChainingNoNew)}else if(this.eat(u.questionDot)){this.raise(this.state.start,y.OptionalChainingNoNew)}this.parseNewArguments(e);return this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(u.parenL)){const t=this.parseExprList(u.parenR);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}}parseTemplateElement(e){const t=this.startNode();if(this.state.value===null){if(!e){this.raise(this.state.start+1,y.InvalidEscapeSequenceTemplate)}}t.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,"\n"),cooked:this.state.value};this.next();t.tail=this.match(u.backQuote);return this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next();t.expressions=[];let r=this.parseTemplateElement(e);t.quasis=[r];while(!r.tail){this.expect(u.dollarBraceL);t.expressions.push(this.parseTemplateSubstitution());this.expect(u.braceR);t.quasis.push(r=this.parseTemplateElement(e))}this.next();return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const i=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}}const s=this.parsePropertyDefinition(t,n);if(!t){this.checkProto(s,r,i,n)}if(r&&!this.isObjectProperty(s)&&s.type!=="SpreadElement"){this.raise(s.start,y.InvalidRecordProperty)}if(s.shorthand){this.addExtra(s,"shorthand",true)}o.properties.push(s)}this.next();this.state.inFSharpPipelineDirectBody=s;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(r){l="RecordExpression"}return this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(u.bracketL)||this.match(u.star))}parsePropertyDefinition(e,t){let r=[];if(this.match(u.at)){if(this.hasPlugin("decorators")){this.raise(this.state.start,y.UnsupportedPropertyDecorator)}while(this.match(u.at)){r.push(this.parseDecorator())}}const n=this.startNode();let s=false;let i=false;let a=false;let o;let l;if(this.match(u.ellipsis)){if(r.length)this.unexpected();if(e){this.next();n.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(n,"RestElement")}return this.parseSpread()}if(r.length){n.decorators=r;r=[]}n.method=false;if(e||t){o=this.state.start;l=this.state.startLoc}if(!e){s=this.eat(u.star)}const p=this.state.containsEsc;const f=this.parsePropertyName(n,false);if(!e&&!s&&!p&&this.maybeAsyncOrAccessorProp(n)){const e=f.name;if(e==="async"&&!this.hasPrecedingLineBreak()){i=true;s=this.eat(u.star);this.parsePropertyName(n,false)}if(e==="get"||e==="set"){a=true;n.kind=e;if(this.match(u.star)){s=true;this.raise(this.state.pos,y.AccessorIsGenerator,e);this.next()}this.parsePropertyName(n,false)}}this.parseObjPropValue(n,o,l,s,i,e,a,t);return n}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e);const n=this.getObjectOrClassMethodParams(e);const s=e.start;if(n.length!==r){if(e.kind==="get"){this.raise(s,y.BadGetterArity)}else{this.raise(s,y.BadSetterArity)}}if(e.kind==="set"&&((t=n[n.length-1])==null?void 0:t.type)==="RestElement"){this.raise(s,y.BadSetterRestParameter)}}parseObjectMethod(e,t,r,n,s){if(s){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(r||t||this.match(u.parenL)){if(n)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,r,false,false,"ObjectMethod")}}parseObjectProperty(e,t,r,n,s){e.shorthand=false;if(this.eat(u.colon)){e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(s);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.start,true,false);if(n){e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else if(this.match(u.eq)&&s){if(s.shorthandAssign===-1){s.shorthandAssign=this.state.start}e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else{e.value=e.key.__clone()}e.shorthand=true;return this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,r,n,s,i,a,o){const l=this.parseObjectMethod(e,n,s,i,a)||this.parseObjectProperty(e,t,r,i,o);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(u.bracketL)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(u.bracketR)}else{const r=this.state.inPropertyName;this.state.inPropertyName=true;const n=this.state.type;e.key=n===u.num||n===u.string||n===u.bigint||n===u.decimal?this.parseExprAtom():this.parseMaybePrivateName(t);if(n!==u.privateName){e.computed=false}this.state.inPropertyName=r}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,r,n,s,i,a=false){this.initFunction(e,r);e.generator=!!t;const o=n;this.scope.enter(N|_|(a?F:0)|(s?M:0));this.prodParam.enter(functionFlags(r,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,i,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const i=this.startNode();this.next();i.elements=this.parseExprList(e,!r,n,i);this.state.inFSharpPipelineDirectBody=s;return this.finishNode(i,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(N|C);let s=functionFlags(r,false);if(!this.match(u.bracketL)&&this.prodParam.hasIn){s|=Le}this.prodParam.enter(s);this.initFunction(e,r);const i=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,n)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=i;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){e.params=this.toAssignableList(t,r,false)}parseFunctionBodyAndFinish(e,t,r=false){this.parseFunctionBody(e,false,r);this.finishNode(e,t)}parseFunctionBody(e,t,r=false){const n=t&&!this.match(u.braceL);this.expressionScope.enter(newExpressionScope());if(n){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const n=this.state.strict;const s=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|Ce);e.body=this.parseBlock(true,false,s=>{const i=!this.isSimpleParamList(e.params);if(s&&i){const t=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(t,y.IllegalLanguageModeDirective)}const a=!n&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!r&&!i,t,a);if(this.state.strict&&e.id){this.checkLVal(e.id,"function name",ae,undefined,undefined,a)}});this.prodParam.exit();this.expressionScope.exit();this.state.labels=s}}isSimpleParamList(e){for(let t=0,r=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(t,y.YieldBindingIdentifier);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(t,y.AwaitBindingIdentifier);return}else if(this.scope.inStaticBlock&&!this.scope.inNonArrowFunction){this.raise(t,y.AwaitBindingIdentifierInStaticBlock);return}else{this.expressionScope.recordAsyncArrowParametersError(t,y.AwaitBindingIdentifier)}}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(t,y.ArgumentsInClass);return}}if(r&&isKeyword(e)){this.raise(t,y.UnexpectedKeyword,e);return}const s=!this.state.strict?isReservedWord:n?isStrictBindReservedWord:isStrictReservedWord;if(s(e,this.inModule)){this.raise(t,y.UnexpectedReservedWord,e)}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e,t){const r=this.startNodeAt(e,t);this.expressionScope.recordParameterInitializerError(r.start,y.AwaitExpressionFormalParameter);if(this.eat(u.star)){this.raise(r.start,y.ObsoleteAwaitStar)}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){r.argument=this.parseMaybeUnary(null,true)}return this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(u.plusMin)||this.match(u.parenL)||this.match(u.bracketL)||this.match(u.backQuote)||this.match(u.regexp)||this.match(u.slash)||this.hasPlugin("v8intrinsic")&&this.match(u.modulo)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,y.YieldInParameter);this.next();let t=false;let r=null;if(!this.hasPrecedingLineBreak()){t=this.eat(u.star);switch(this.state.type){case u.semi:case u.eof:case u.braceR:case u.parenR:case u.bracketR:case u.braceBarR:case u.colon:case u.comma:if(!t)break;default:r=this.parseMaybeAssign()}}e.delegate=t;e.argument=r;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.getPluginOption("pipelineOperator","proposal")==="smart"){if(e.type==="SequenceExpression"){this.raise(t,y.PipelineHeadSequenceExpression)}}}parseSmartPipelineBody(e,t,r){this.checkSmartPipelineBodyEarlyErrors(e,t);return this.parseSmartPipelineBodyInStyle(e,t,r)}checkSmartPipelineBodyEarlyErrors(e,t){if(this.match(u.arrow)){throw this.raise(this.state.start,y.PipelineBodyNoArrow)}else if(e.type==="SequenceExpression"){this.raise(t,y.PipelineBodySequenceExpression)}}parseSmartPipelineBodyInStyle(e,t,r){const n=this.startNodeAt(t,r);const s=this.isSimpleReference(e);if(s){n.callee=e}else{if(!this.topicReferenceWasUsedInCurrentTopicContext()){this.raise(t,y.PipelineTopicUnused)}n.expression=e}return this.finishNode(n,s?"PipelineBareFunction":"PipelineTopicExpression")}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}withTopicPermittingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withTopicForbiddingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const r=Le&~t;if(r){this.prodParam.enter(t|Le);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const r=Le&t;if(r){this.prodParam.enter(t&~Le);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}primaryTopicReferenceIsAllowedInCurrentTopicContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentTopicContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const s=this.parseExprOp(this.parseMaybeUnary(),t,r,e);this.state.inFSharpPipelineDirectBody=n;return s}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(u.braceL);const t=this.initializeScopes(true);this.enterInitialScopes();const r=this.startNode();try{e.body=this.parseProgram(r,u.braceR,"module")}finally{t()}this.eat(u.braceR);return this.finishNode(e,"ModuleExpression")}}const Ze={kind:"loop"},et={kind:"switch"};const tt=0,rt=1,nt=2,st=4;const it=/[\uD800-\uDFFF]/u;const at=/in(?:stanceof)?/y;function babel7CompatTokens(e){{for(let t=0;t0){for(const[e]of Array.from(this.scope.undefinedExports)){const t=this.scope.undefinedExports.get(e);this.raise(t,y.ModuleExportUndefined,e)}}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e.expression;const r=this.startNodeAt(t.start,t.loc.start);const n=this.startNodeAt(e.start,e.loc.start);const s=this.input.slice(t.start,t.end);const i=r.value=s.slice(1,-1);this.addExtra(r,"raw",s);this.addExtra(r,"rawValue",i);n.value=this.finishNodeAt(r,"DirectiveLiteral",t.end,t.loc.end);return this.finishNodeAt(n,"Directive",e.end,e.loc.end)}parseInterpreterDirective(){if(!this.match(u.interpreterDirective)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual("let")){return false}return this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart();const r=this.codePointAtPos(t);if(r===92||r===91){return true}if(e)return false;if(r===123)return true;if(isIdentifierStart(r)){at.lastIndex=t;const e=at.exec(this.input);if(e!==null){const r=this.codePointAtPos(t+e[0].length);if(!isIdentifierChar(r)&&r!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(u.at)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type;const n=this.startNode();let s;if(this.isLet(e)){r=u._var;s="let"}switch(r){case u._break:case u._continue:return this.parseBreakContinueStatement(n,r.keyword);case u._debugger:return this.parseDebuggerStatement(n);case u._do:return this.parseDoStatement(n);case u._for:return this.parseForStatement(n);case u._function:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(this.state.start,y.StrictFunction)}else if(e!=="if"&&e!=="label"){this.raise(this.state.start,y.SloppyFunction)}}return this.parseFunctionStatement(n,false,!e);case u._class:if(e)this.unexpected();return this.parseClass(n,true);case u._if:return this.parseIfStatement(n);case u._return:return this.parseReturnStatement(n);case u._switch:return this.parseSwitchStatement(n);case u._throw:return this.parseThrowStatement(n);case u._try:return this.parseTryStatement(n);case u._const:case u._var:s=s||this.state.value;if(e&&s!=="var"){this.raise(this.state.start,y.UnexpectedLexicalDeclaration)}return this.parseVarStatement(n,s);case u._while:return this.parseWhileStatement(n);case u._with:return this.parseWithStatement(n);case u.braceL:return this.parseBlock();case u.semi:return this.parseEmptyStatement(n);case u._import:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case u._export:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(this.state.start,y.UnexpectedImportExport)}this.next();let e;if(r===u._import){e=this.parseImport(n);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(n);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(n);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(this.state.start,y.AsyncFunctionInSingleStatementContext)}this.next();return this.parseFunctionStatement(n,true,!e)}}}const i=this.state.value;const a=this.parseExpression();if(r===u.name&&a.type==="Identifier"&&this.eat(u.colon)){return this.parseLabeledStatement(n,i,a,e)}else{return this.parseExpressionStatement(n,a)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(e.start,m.ImportOutsideModule)}}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];if(t.length){e.decorators=t;this.resetStartLocationFromNode(e,t[0]);this.state.decoratorStack[this.state.decoratorStack.length-1]=[]}}canHaveLeadingDecorator(){return this.match(u._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(u.at)){const e=this.parseDecorator();t.push(e)}if(this.match(u._export)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,y.DecoratorExportClass)}}else if(!this.canHaveLeadingDecorator()){throw this.raise(this.state.start,y.UnexpectedLeadingDecorator)}}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start;const r=this.state.startLoc;let n;if(this.eat(u.parenL)){n=this.parseExpression();this.expect(u.parenR)}else{n=this.parseIdentifier(false);while(this.eat(u.dot)){const e=this.startNodeAt(t,r);e.object=n;e.property=this.parseIdentifier(true);e.computed=false;n=this.finishNode(e,"MemberExpression")}}e.expression=this.parseMaybeDecoratorArguments(n);this.state.decoratorStack.pop()}else{e.expression=this.parseExprSubscripts()}return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(u.parenL)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(u.parenR,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){const r=t==="break";this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,r?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){const r=t==="break";let n;for(n=0;nthis.parseStatement("do"));this.state.labels.pop();this.expect(u._while);e.test=this.parseHeaderExpression();this.eat(u.semi);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(Ze);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual("await")){t=this.state.lastTokStart}this.scope.enter(w);this.expect(u.parenL);if(this.match(u.semi)){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}const r=this.isContextual("let");const n=r&&this.isLetKeyword();if(this.match(u._var)||this.match(u._const)||n){const r=this.startNode();const s=n?"let":this.state.value;this.next();this.parseVar(r,true,s);this.finishNode(r,"VariableDeclaration");if((this.match(u._in)||this.isContextual("of"))&&r.declarations.length===1){return this.parseForIn(e,r,t)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)}const s=this.match(u.name)&&!this.state.containsEsc;const i=new ExpressionErrors;const a=this.parseExpression(true,i);const o=this.isContextual("of");if(o){if(r){this.raise(a.start,y.ForOfLet)}else if(t===-1&&s&&a.type==="Identifier"&&a.name==="async"){this.raise(a.start,y.ForOfAsync)}}if(o||this.match(u._in)){this.toAssignable(a,true);const r=o?"for-of statement":"for-in statement";this.checkLVal(a,r);return this.parseForIn(e,a,t)}else{this.checkExpressionErrors(i,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)}parseFunctionStatement(e,t,r){this.next();return this.parseFunction(e,rt|(r?0:nt),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(u._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(this.state.start,y.IllegalReturn)}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(u.braceL);this.state.labels.push(et);this.scope.enter(w);let r;for(let e;!this.match(u.braceR);){if(this.match(u._case)||this.match(u._default)){const n=this.match(u._case);if(r)this.finishNode(r,"SwitchCase");t.push(r=this.startNode());r.consequent=[];this.next();if(n){r.test=this.parseExpression()}else{if(e){this.raise(this.state.lastTokStart,y.MultipleDefaultsInSwitch)}e=true;r.test=null}this.expect(u.colon)}else{if(r){r.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(r)this.finishNode(r,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(this.state.lastTokEnd,y.NewlineAfterThrow)}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?L:0);this.checkLVal(e,"catch clause",Q);return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(u._catch)){const t=this.startNode();this.next();if(this.match(u.parenL)){this.expect(u.parenL);t.param=this.parseCatchClauseParam();this.expect(u.parenR)}else{t.param=null;this.scope.enter(w)}t.body=this.withTopicForbiddingContext(()=>this.parseBlock(false,false));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(u._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,y.NoCatchOrFinally)}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(Ze);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("while"));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(this.state.start,y.StrictWith)}this.next();e.object=this.parseHeaderExpression();e.body=this.withTopicForbiddingContext(()=>this.parseStatement("with"));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(const e of this.state.labels){if(e.name===t){this.raise(r.start,y.LabelRedeclaration,t)}}const s=this.state.type.isLoop?"loop":this.match(u._switch)?"switch":null;for(let t=this.state.labels.length-1;t>=0;t--){const r=this.state.labels[t];if(r.statementStart===e.start){r.statementStart=this.state.start;r.kind=s}else{break}}this.state.labels.push({name:t,kind:s,statementStart:this.state.start});e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label");this.state.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,r){const n=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(u.braceL);if(t){this.scope.enter(w)}this.parseBlockBody(n,e,false,u.braceR,r);if(t){this.scope.exit()}return this.finishNode(n,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,s){const i=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(i,t?a:undefined,r,n,s)}parseBlockOrModuleBlockBody(e,t,r,n,s){const i=this.state.strict;let a=false;let o=false;while(!this.match(n)){const n=this.parseStatement(null,r);if(t&&!o){if(this.isValidDirective(n)){const e=this.stmtToDirective(n);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(n)}if(s){s.call(this,a)}if(!i){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(u.semi)?null:this.parseExpression();this.semicolon(false);e.update=this.match(u.parenR)?null:this.parseExpression();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const n=this.match(u._in);this.next();if(n){if(r>-1)this.unexpected(r)}else{e.await=r>-1}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,y.ForInOfLoopInitializer,n?"for-in":"for-of")}else if(t.type==="AssignmentPattern"){this.raise(t.start,y.InvalidLhs,"for-loop")}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){const n=e.declarations=[];const s=this.hasPlugin("typescript");e.kind=r;for(;;){const e=this.startNode();this.parseVarId(e,r);if(this.eat(u.eq)){e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn()}else{if(r==="const"&&!(this.match(u._in)||this.isContextual("of"))){if(!s){this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Const declarations")}}else if(e.id.type!=="Identifier"&&!(t&&(this.match(u._in)||this.isContextual("of")))){this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Complex binding patterns")}e.init=null}n.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(u.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,"variable declaration",t==="var"?Z:Q,undefined,t!=="var")}parseFunction(e,t=tt,r=false){const n=t&rt;const s=t&nt;const i=!!n&&!(t&st);this.initFunction(e,r);if(this.match(u.star)&&s){this.raise(this.state.start,y.GeneratorInSingleStatementContext)}e.generator=this.eat(u.star);if(n){e.id=this.parseFunctionId(i)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(N);this.prodParam.enter(functionFlags(r,e.generator));if(!n){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")});this.prodParam.exit();this.scope.exit();if(n&&!s){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||this.match(u.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(u.parenL);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(u.parenR,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?Z:Q:ee,e.id.start)}parseClass(e,t,r){this.next();this.takeDecorators(e);const n=this.state.strict;this.state.strict=true;this.parseClassId(e,t,r);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,n);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(u.eq)||this.match(u.semi)||this.match(u.braceR)}isClassMethod(){return this.match(u.parenL)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const r={hadConstructor:false,hadSuperClass:e};let n=[];const s=this.startNode();s.body=[];this.expect(u.braceL);this.withTopicForbiddingContext(()=>{while(!this.match(u.braceR)){if(this.eat(u.semi)){if(n.length>0){throw this.raise(this.state.lastTokEnd,y.DecoratorSemicolon)}continue}if(this.match(u.at)){n.push(this.parseDecorator());continue}const e=this.startNode();if(n.length){e.decorators=n;this.resetStartLocationFromNode(e,n[0]);n=[]}this.parseClassMember(s,e,r);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(e.start,y.DecoratorConstructor)}}});this.state.strict=t;this.next();if(n.length){throw this.raise(this.state.start,y.TrailingDecorator)}this.classScope.exit();return this.finishNode(s,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(true);if(this.isClassMethod()){const n=t;n.kind="method";n.computed=false;n.key=r;n.static=false;this.pushClassMethod(e,n,false,false,false,false);return true}else if(this.isClassProperty()){const n=t;n.computed=false;n.key=r;n.static=false;e.body.push(this.parseClassProperty(n));return true}return false}parseClassMember(e,t,r){const n=this.isContextual("static");if(n){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(u.braceL)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){const s=t;const i=t;const a=t;const o=t;const l=s;const p=s;t.static=n;if(this.eat(u.star)){l.kind="method";const t=this.match(u.privateName);this.parseClassElementName(l);if(t){this.pushClassPrivateMethod(e,i,true,false);return}if(this.isNonstaticConstructor(s)){this.raise(s.key.start,y.ConstructorIsGenerator)}this.pushClassMethod(e,s,true,false,false,false);return}const f=this.state.containsEsc;const c=this.match(u.privateName);const d=this.parseClassElementName(t);const m=d.type==="Identifier";const T=this.state.start;this.parsePostMemberNameModifiers(p);if(this.isClassMethod()){l.kind="method";if(c){this.pushClassPrivateMethod(e,i,false,false);return}const n=this.isNonstaticConstructor(s);let a=false;if(n){s.kind="constructor";if(r.hadConstructor&&!this.hasPlugin("typescript")){this.raise(d.start,y.DuplicateConstructor)}if(n&&this.hasPlugin("typescript")&&t.override){this.raise(d.start,y.OverrideOnConstructor)}r.hadConstructor=true;a=r.hadSuperClass}this.pushClassMethod(e,s,false,false,n,a)}else if(this.isClassProperty()){if(c){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(m&&d.name==="async"&&!f&&!this.isLineTerminator()){const t=this.eat(u.star);if(p.optional){this.unexpected(T)}l.kind="method";const r=this.match(u.privateName);this.parseClassElementName(l);this.parsePostMemberNameModifiers(p);if(r){this.pushClassPrivateMethod(e,i,t,true)}else{if(this.isNonstaticConstructor(s)){this.raise(s.key.start,y.ConstructorIsAsync)}this.pushClassMethod(e,s,t,true,false,false)}}else if(m&&(d.name==="get"||d.name==="set")&&!f&&!(this.match(u.star)&&this.isLineTerminator())){l.kind=d.name;const t=this.match(u.privateName);this.parseClassElementName(s);if(t){this.pushClassPrivateMethod(e,i,false,false)}else{if(this.isNonstaticConstructor(s)){this.raise(s.key.start,y.ConstructorIsAccessor)}this.pushClassMethod(e,s,false,false,false,false)}this.checkGetterSetterParams(s)}else if(this.isLineTerminator()){if(c){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:r,start:n}=this.state;if((t===u.name||t===u.string)&&e.static&&r==="prototype"){this.raise(n,y.StaticPrototype)}if(t===u.privateName&&r==="constructor"){this.raise(n,y.ConstructorClassPrivateField)}return this.parsePropertyName(e,true)}parseClassStaticBlock(e,t){var r;this.expectPlugin("classStaticBlock",t.start);this.scope.enter(F|B|_);const n=this.state.labels;this.state.labels=[];this.prodParam.enter(we);const s=t.body=[];this.parseBlockOrModuleBlockBody(s,undefined,false,u.braceR);this.prodParam.exit();this.scope.exit();this.state.labels=n;e.body.push(this.finishNode(t,"StaticBlock"));if((r=t.decorators)!=null&&r.length){this.raise(t.start,y.DecoratorStaticBlock)}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(t.key.start,y.ConstructorClassField)}e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const r=this.parseClassPrivateProperty(t);e.body.push(r);this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),Se,r.key.start)}pushClassMethod(e,t,r,n,s,i){e.body.push(this.parseMethod(t,r,n,s,i,"ClassMethod",true))}pushClassPrivateMethod(e,t,r,n){const s=this.parseMethod(t,r,n,false,false,"ClassPrivateMethod",true);e.body.push(s);const i=s.kind==="get"?s.static?ye:Te:s.kind==="set"?s.static?me:he:Se;this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),i,s.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(F|_);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(we);e.value=this.eat(u.eq)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,r,n=H){if(this.match(u.name)){e.id=this.parseIdentifier();if(t){this.checkLVal(e.id,"class name",n)}}else{if(r||!t){e.id=null}else{this.unexpected(null,y.MissingClassName)}}}parseClassSuper(e){e.superClass=this.eat(u._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.eatExportStar(e);const s=n&&this.maybeParseExportNamespaceSpecifier(e);const i=r&&(!s||this.eat(u.comma));const a=t||n;if(n&&!s){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!n&&!o||s&&i&&!o){throw this.unexpected(null,u.braceL)}let l;if(a||o){l=false;this.parseExportFrom(e,a)}else{l=this.maybeParseExportDeclaration(e)}if(a||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(u._default)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,u.braceL)}eatExportStar(e){return this.eat(u.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(u.braceL)){if(!e.specifiers)e.specifiers=[];e.specifiers.push(...this.parseExportSpecifiers());e.source=null;e.declaration=null;return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual("async"))return false;const e=this.nextTokenStart();return!p.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(u._function)||t){this.next();if(t){this.next()}return this.parseFunction(e,rt|st,t)}else if(this.match(u._class)){return this.parseClass(e,true,true)}else if(this.match(u.at)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,y.DecoratorBeforeExport)}this.parseDecorators(false);return this.parseClass(e,true,true)}else if(this.match(u._const)||this.match(u._var)||this.isLet()){throw this.raise(this.state.start,y.UnsupportedDefaultExport)}else{const e=this.parseMaybeAssignAllowIn();this.semicolon();return e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(u.name)){const e=this.state.value;if(e==="async"&&!this.state.containsEsc||e==="let"){return false}if((e==="type"||e==="interface")&&!this.state.containsEsc){const e=this.lookahead();if(e.type===u.name&&e.value!=="from"||e.type===u.braceL){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(u._default)){return false}const e=this.nextTokenStart();const t=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||this.match(u.name)&&t){return true}if(this.match(u._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return t===34||t===39}return false}parseExportFrom(e,t){if(this.eatContextual("from")){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else{if(t){this.unexpected()}else{e.source=null}}this.semicolon()}shouldParseExportDeclaration(){if(this.match(u.at)){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){this.unexpected(this.state.start,y.DecoratorBeforeExport)}else{return true}}}return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t){if(r){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var s;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((s=t.extra)!=null&&s.parenthesized)){this.raise(t.start,y.ExportDefaultFromAsIdentifier)}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const r=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,r);if(!n&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(t.start,y.ExportBindingIsString,e.value,r)}else{this.checkReservedWord(e.name,e.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}const i=this.state.decoratorStack[this.state.decoratorStack.length-1];if(i.length){throw this.raise(e.start,y.UnsupportedDecoratorExport)}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){this.raise(e.start,t==="default"?y.DuplicateDefaultExport:y.DuplicateExport,t)}this.exportedIdentifiers.add(t)}parseExportSpecifiers(){const e=[];let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{this.expect(u.comma);if(this.eat(u.braceR))break}const r=this.startNode();r.local=this.parseModuleExportName();r.exported=this.eatContextual("as")?this.parseModuleExportName():r.local.__clone();e.push(this.finishNode(r,"ExportSpecifier"))}return e}parseModuleExportName(){if(this.match(u.string)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(it);if(t){this.raise(e.start,y.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16))}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(u.string)){const t=this.maybeParseDefaultImportSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.maybeParseStarImportSpecifier(e);if(r&&!n)this.parseNamedImportSpecifiers(e);this.expectContextual("from")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(u.string))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(u.name)}parseImportSpecifierLocal(e,t,r,n){t.local=this.parseIdentifier();this.checkLVal(t.local,n,Q);e.specifiers.push(this.finishNode(t,r))}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(u.braceR)){break}const r=this.startNode();const n=this.state.value;if(t.has(n)){this.raise(this.state.start,y.ModuleAttributesWithDuplicateKeys,n)}t.add(n);if(this.match(u.string)){r.key=this.parseStringLiteral(n)}else{r.key=this.parseIdentifier(true)}this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseModuleAttributes(){if(this.match(u._with)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const r=this.startNode();r.key=this.parseIdentifier(true);if(r.key.name!=="type"){this.raise(r.key.start,y.ModuleAttributeDifferentFromType,r.key.name)}if(t.has(r.key.name)){this.raise(r.key.start,y.ModuleAttributesWithDuplicateKeys,r.key.name)}t.add(r.key.name);this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseImportAssertions(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(u.braceL);const e=this.parseAssertEntries();this.eat(u.braceR);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(u.star)){const t=this.startNode();this.next();this.expectContextual("as");this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{if(this.eat(u.colon)){throw this.raise(this.state.start,y.DestructureNamedImport)}this.expect(u.comma);if(this.eat(u.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();const r=this.match(u.string);t.imported=this.parseModuleExportName();if(this.eatContextual("as")){t.local=this.parseIdentifier()}else{const{imported:e}=t;if(r){throw this.raise(t.start,y.ImportBindingIsString,e.value)}this.checkReservedWord(e.name,t.start,true,true);t.local=e.__clone()}this.checkLVal(t.local,"import specifier",Q);e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const r of e){const[e,n]=Array.isArray(r)?r:[r,{}];if(!t.has(e))t.set(e,n||{})}return t}function parse(e,t){var r;if(((r=t)==null?void 0:r.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const r=getParser(t,e);const n=r.parse();if(r.sawUnambiguousESM){return n}if(r.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{n.program.sourceType="script"}return n}catch(r){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw r}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const r=getParser(t,e);if(r.options.strictMode){r.state.strict=true}return r.getExpression()}function getParser(e,t){let r=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);r=getParserClass(e.plugins)}return new r(e,t)}const ot={};function getParserClass(e){const t=Xe.filter(t=>hasPlugin(e,t));const r=t.join("/");let n=ot[r];if(!n){n=Parser;for(const e of t){n=Ve[e](n)}ot[r]=n}return n}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=u},3488:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(81129);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},44869:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(85262);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},87607:()=>{},33198:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(31576);var s=r(6844);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(37632);var s=r(48798);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},91814:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(37632);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},37632:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(33198);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},28690:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(37632)},76202:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(62019);var s=r(50372);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(37632);var s=r(80922);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},46336:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(7761);function clone(e){return(0,n.default)(e,false)}},46874:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(7761);function cloneDeep(e){return(0,n.default)(e)}},65078:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(7761);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},7761:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(31576);var s=r(62019);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},37834:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(7761);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},36552:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(43627);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},43627:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},9762:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(3958);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},79730:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(3958);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},14637:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(3958);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},89610:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(14637);var s=r(79730);var i=r(9762);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},97836:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(36113);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},10795:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(31576);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},36113:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},83512:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(3472);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},66104:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(65330);var s=r(62019);var i=r(37632);var a=r(7761);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},17845:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(63061);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},3472:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(62019);var s=r(37632);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},50429:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(62019);var s=r(37632);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},15376:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(62019);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},63061:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(8682);var s=r(23389);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},28289:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(62019);var s=r(7761);var i=r(50404);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},27016:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(66104);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},20718:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(62019);var s=r(37632);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},84521:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(8682);var s=r(37632);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},55905:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(85262);var s=r(8682);var i=r(23389);var a=r(36113);var o=r(33603);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},45081:(e,t,r)=>{"use strict";var n=r(33603);var s=r(55905);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},97389:(e,t,r)=>{"use strict";var n=r(33603);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},31576:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(55905);r(97389);r(60701);r(15191);r(45081);r(3959);var s=r(33603);var i=r(62291);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},60701:(e,t,r)=>{"use strict";var n=r(33603);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},15191:(e,t,r)=>{"use strict";var n=r(33603);var s=r(62291);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},62291:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(33603);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},3959:(e,t,r)=>{"use strict";var n=r(33603);var s=r(55905);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},33603:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(85262);var s=r(6844);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},35649:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(77690);var i=r(22840);var a=r(76202);var o=r(3488);var l=r(44869);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(91814);var p=r(22767);var f=r(4012);var c=r(37632);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(28690);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(7761);var m=r(46336);var T=r(46874);var h=r(65078);var S=r(37834);var b=r(36552);var E=r(43627);var g=r(9762);var P=r(79730);var x=r(89610);var v=r(14637);var A=r(97836);var O=r(10795);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(36113);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(83512);var w=r(17845);var j=r(3472);var N=r(50429);var C=r(15376);var L=r(63061);var _=r(28289);var M=r(27016);var F=r(20718);var B=r(84521);var k=r(31576);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(66597);var K=r(9542);var V=r(85467);var X=r(84783);var Y=r(50404);var J=r(48798);var U=r(65330);var W=r(20322);var q=r(96679);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(36812);var G=r(59196);var $=r(85262);var H=r(48036);var Q=r(9852);var Z=r(74022);var ee=r(1071);var te=r(81129);var re=r(33047);var ne=r(75073);var se=r(68181);var ie=r(167);var ae=r(68718);var oe=r(43030);var le=r(29728);var ue=r(8682);var pe=r(6649);var fe=r(46372);var ce=r(6844);var de=r(92636);var ye=r(62019);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(87607);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},66597:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(37632);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},48798:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(62019);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},9542:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(36113);var s=r(89610);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},85467:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(37632);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},84783:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(36113);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},50404:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(36812);var s=r(84783);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},80922:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(62019);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},65330:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(62019);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(65330);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},96679:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(31576);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(31576);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},3958:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},50372:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(37632);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},92636:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(46372);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},62019:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(59196);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},85262:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(59196);var s=r(43030);var i=r(75073);var a=r(31576);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},48036:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(65330);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},9852:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(62019);var s=r(1071);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},74022:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(43030);var s=r(62019);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},1071:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(62019);var s=r(36113);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},81129:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(31576);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},33047:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(31576);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(31576);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},68181:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},167:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(62019);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},68718:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(62019);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},43030:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(31576);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},29728:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(8682);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},8682:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(23389);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},6649:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(62019);var s=r(36113);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},46372:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(62019);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},77690:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(92636);const s=(0,n.default)("React.Component");var i=s;t.default=i},6844:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(31576);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},50325:(e,t,r)=>{e.exports=r(61610)},79485:(e,t,r)=>{e.exports=r(98742)},8784:(e,t,r)=>{e.exports=r(73878)},34683:(e,t,r)=>{"use strict";t.__esModule=true;t.CommonInstanceDependencies=t.InstanceProperties=t.StaticProperties=t.BuiltIns=t.PromiseDependenciesWithIterators=t.PromiseDependencies=t.CommonIterators=void 0;var n=_interopRequireDefault(r(50325));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s={};Object.keys(n.default).forEach((e,t)=>{s[e]=t});const i=(e,t,r=t[0],n)=>{return{name:r,pure:e,global:t.sort((e,t)=>s[e]-s[t]),exclude:n}};const a=e=>i(null,[e,...f]);const o=["es.array.iterator","web.dom-collections.iterator"];const l=["es.string.iterator",...o];t.CommonIterators=l;const u=["es.object.to-string",...o];const p=["es.object.to-string",...l];const f=["es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.object.to-string","es.array.iterator","es.array-buffer.slice"];const c={from:i(null,["es.typed-array.from"]),of:i(null,["es.typed-array.of"])};const d=["es.promise","es.object.to-string"];t.PromiseDependencies=d;const y=[...d,...l];t.PromiseDependenciesWithIterators=y;const m=["es.symbol","es.symbol.description","es.object.to-string"];const T=["es.map","esnext.map.delete-all","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.includes","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.reduce","esnext.map.some","esnext.map.update",...p];const h=["es.set","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union",...p];const S=["es.weak-map","esnext.weak-map.delete-all",...p];const b=["es.weak-set","esnext.weak-set.add-all","esnext.weak-set.delete-all",...p];const E=["web.url",...p];const g={AggregateError:i("aggregate-error",["esnext.aggregate-error",...l]),ArrayBuffer:i(null,["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string"]),DataView:i(null,["es.data-view","es.array-buffer.slice","es.object.to-string"]),Date:i(null,["es.date.to-string"]),Float32Array:a("es.typed-array.float32-array"),Float64Array:a("es.typed-array.float64-array"),Int8Array:a("es.typed-array.int8-array"),Int16Array:a("es.typed-array.int16-array"),Int32Array:a("es.typed-array.int32-array"),Uint8Array:a("es.typed-array.uint8-array"),Uint8ClampedArray:a("es.typed-array.uint8-clamped-array"),Uint16Array:a("es.typed-array.uint16-array"),Uint32Array:a("es.typed-array.uint32-array"),Map:i("map/index",T),Number:i(null,["es.number.constructor"]),Observable:i("observable/index",["esnext.observable","esnext.symbol.observable","es.object.to-string",...p]),Promise:i("promise/index",d),RegExp:i(null,["es.regexp.constructor","es.regexp.exec","es.regexp.to-string"]),Set:i("set/index",h),Symbol:i("symbol/index",m),URL:i("url/index",["web.url",...E]),URLSearchParams:i("url-search-params/index",E),WeakMap:i("weak-map/index",S),WeakSet:i("weak-set/index",b),clearImmediate:i("clear-immediate",["web.immediate"]),compositeKey:i("composite-key",["esnext.composite-key"]),compositeSymbol:i("composite-symbol",["esnext.composite-symbol"]),fetch:i(null,d),globalThis:i("global-this",["es.global-this"]),parseFloat:i("parse-float",["es.parse-float"]),parseInt:i("parse-int",["es.parse-int"]),queueMicrotask:i("queue-microtask",["web.queue-microtask"]),setImmediate:i("set-immediate",["web.immediate"]),setInterval:i("set-interval",["web.timers"]),setTimeout:i("set-timeout",["web.timers"])};t.BuiltIns=g;const P={Array:{from:i("array/from",["es.array.from","es.string.iterator"]),isArray:i("array/is-array",["es.array.is-array"]),of:i("array/of",["es.array.of"])},ArrayBuffer:{isView:i(null,["es.array-buffer.is-view"])},Date:{now:i("date/now",["es.date.now"])},JSON:{stringify:i("json/stringify",[],"es.symbol")},Math:{DEG_PER_RAD:i("math/deg-per-rad",["esnext.math.deg-per-rad"]),RAD_PER_DEG:i("math/rad-per-deg",["esnext.math.rad-per-deg"]),acosh:i("math/acosh",["es.math.acosh"]),asinh:i("math/asinh",["es.math.asinh"]),atanh:i("math/atanh",["es.math.atanh"]),cbrt:i("math/cbrt",["es.math.cbrt"]),clamp:i("math/clamp",["esnext.math.clamp"]),clz32:i("math/clz32",["es.math.clz32"]),cosh:i("math/cosh",["es.math.cosh"]),degrees:i("math/degrees",["esnext.math.degrees"]),expm1:i("math/expm1",["es.math.expm1"]),fround:i("math/fround",["es.math.fround"]),fscale:i("math/fscale",["esnext.math.fscale"]),hypot:i("math/hypot",["es.math.hypot"]),iaddh:i("math/iaddh",["esnext.math.iaddh"]),imul:i("math/imul",["es.math.imul"]),imulh:i("math/imulh",["esnext.math.imulh"]),isubh:i("math/isubh",["esnext.math.isubh"]),log10:i("math/log10",["es.math.log10"]),log1p:i("math/log1p",["es.math.log1p"]),log2:i("math/log2",["es.math.log2"]),radians:i("math/radians",["esnext.math.radians"]),scale:i("math/scale",["esnext.math.scale"]),seededPRNG:i("math/seeded-prng",["esnext.math.seeded-prng"]),sign:i("math/sign",["es.math.sign"]),signbit:i("math/signbit",["esnext.math.signbit"]),sinh:i("math/sinh",["es.math.sinh"]),tanh:i("math/tanh",["es.math.tanh"]),trunc:i("math/trunc",["es.math.trunc"]),umulh:i("math/umulh",["esnext.math.umulh"])},Map:{from:i(null,["esnext.map.from",...T]),groupBy:i(null,["esnext.map.group-by",...T]),keyBy:i(null,["esnext.map.key-by",...T]),of:i(null,["esnext.map.of",...T])},Number:{EPSILON:i("number/epsilon",["es.number.epsilon"]),MAX_SAFE_INTEGER:i("number/max-safe-integer",["es.number.max-safe-integer"]),MIN_SAFE_INTEGER:i("number/min-safe-integer",["es.number.min-safe-integer"]),fromString:i("number/from-string",["esnext.number.from-string"]),isFinite:i("number/is-finite",["es.number.is-finite"]),isInteger:i("number/is-integer",["es.number.is-integer"]),isNaN:i("number/is-nan",["es.number.is-nan"]),isSafeInteger:i("number/is-safe-integer",["es.number.is-safe-integer"]),parseFloat:i("number/parse-float",["es.number.parse-float"]),parseInt:i("number/parse-int",["es.number.parse-int"])},Object:{assign:i("object/assign",["es.object.assign"]),create:i("object/create",["es.object.create"]),defineProperties:i("object/define-properties",["es.object.define-properties"]),defineProperty:i("object/define-property",["es.object.define-property"]),entries:i("object/entries",["es.object.entries"]),freeze:i("object/freeze",["es.object.freeze"]),fromEntries:i("object/from-entries",["es.object.from-entries","es.array.iterator"]),getOwnPropertyDescriptor:i("object/get-own-property-descriptor",["es.object.get-own-property-descriptor"]),getOwnPropertyDescriptors:i("object/get-own-property-descriptors",["es.object.get-own-property-descriptors"]),getOwnPropertyNames:i("object/get-own-property-names",["es.object.get-own-property-names"]),getOwnPropertySymbols:i("object/get-own-property-symbols",["es.symbol"]),getPrototypeOf:i("object/get-prototype-of",["es.object.get-prototype-of"]),hasOwn:i("object/has-own",["esnext.object.has-own"]),is:i("object/is",["es.object.is"]),isExtensible:i("object/is-extensible",["es.object.is-extensible"]),isFrozen:i("object/is-frozen",["es.object.is-frozen"]),isSealed:i("object/is-sealed",["es.object.is-sealed"]),keys:i("object/keys",["es.object.keys"]),preventExtensions:i("object/prevent-extensions",["es.object.prevent-extensions"]),seal:i("object/seal",["es.object.seal"]),setPrototypeOf:i("object/set-prototype-of",["es.object.set-prototype-of"]),values:i("object/values",["es.object.values"])},Promise:{all:i(null,y),allSettled:i(null,["es.promise.all-settled",...y]),any:i(null,["esnext.promise.any",...y]),race:i(null,y),try:i(null,["esnext.promise.try",...y])},Reflect:{apply:i("reflect/apply",["es.reflect.apply"]),construct:i("reflect/construct",["es.reflect.construct"]),defineMetadata:i("reflect/define-metadata",["esnext.reflect.define-metadata"]),defineProperty:i("reflect/define-property",["es.reflect.define-property"]),deleteMetadata:i("reflect/delete-metadata",["esnext.reflect.delete-metadata"]),deleteProperty:i("reflect/delete-property",["es.reflect.delete-property"]),get:i("reflect/get",["es.reflect.get"]),getMetadata:i("reflect/get-metadata",["esnext.reflect.get-metadata"]),getMetadataKeys:i("reflect/get-metadata-keys",["esnext.reflect.get-metadata-keys"]),getOwnMetadata:i("reflect/get-own-metadata",["esnext.reflect.get-own-metadata"]),getOwnMetadataKeys:i("reflect/get-own-metadata-keys",["esnext.reflect.get-own-metadata-keys"]),getOwnPropertyDescriptor:i("reflect/get-own-property-descriptor",["es.reflect.get-own-property-descriptor"]),getPrototypeOf:i("reflect/get-prototype-of",["es.reflect.get-prototype-of"]),has:i("reflect/has",["es.reflect.has"]),hasMetadata:i("reflect/has-metadata",["esnext.reflect.has-metadata"]),hasOwnMetadata:i("reflect/has-own-metadata",["esnext.reflect.has-own-metadata"]),isExtensible:i("reflect/is-extensible",["es.reflect.is-extensible"]),metadata:i("reflect/metadata",["esnext.reflect.metadata"]),ownKeys:i("reflect/own-keys",["es.reflect.own-keys"]),preventExtensions:i("reflect/prevent-extensions",["es.reflect.prevent-extensions"]),set:i("reflect/set",["es.reflect.set"]),setPrototypeOf:i("reflect/set-prototype-of",["es.reflect.set-prototype-of"])},Set:{from:i(null,["esnext.set.from",...h]),of:i(null,["esnext.set.of",...h])},String:{fromCodePoint:i("string/from-code-point",["es.string.from-code-point"]),raw:i("string/raw",["es.string.raw"])},Symbol:{asyncIterator:i("symbol/async-iterator",["es.symbol.async-iterator"]),dispose:i("symbol/dispose",["esnext.symbol.dispose"]),for:i("symbol/for",[],"es.symbol"),hasInstance:i("symbol/has-instance",["es.symbol.has-instance","es.function.has-instance"]),isConcatSpreadable:i("symbol/is-concat-spreadable",["es.symbol.is-concat-spreadable","es.array.concat"]),iterator:i("symbol/iterator",["es.symbol.iterator",...p]),keyFor:i("symbol/key-for",[],"es.symbol"),match:i("symbol/match",["es.symbol.match","es.string.match"]),observable:i("symbol/observable",["esnext.symbol.observable"]),patternMatch:i("symbol/pattern-match",["esnext.symbol.pattern-match"]),replace:i("symbol/replace",["es.symbol.replace","es.string.replace"]),search:i("symbol/search",["es.symbol.search","es.string.search"]),species:i("symbol/species",["es.symbol.species","es.array.species"]),split:i("symbol/split",["es.symbol.split","es.string.split"]),toPrimitive:i("symbol/to-primitive",["es.symbol.to-primitive","es.date.to-primitive"]),toStringTag:i("symbol/to-string-tag",["es.symbol.to-string-tag","es.object.to-string","es.math.to-string-tag","es.json.to-string-tag"]),unscopables:i("symbol/unscopables",["es.symbol.unscopables"])},WeakMap:{from:i(null,["esnext.weak-map.from",...S]),of:i(null,["esnext.weak-map.of",...S])},WeakSet:{from:i(null,["esnext.weak-set.from",...b]),of:i(null,["esnext.weak-set.of",...b])},Int8Array:c,Uint8Array:c,Uint8ClampedArray:c,Int16Array:c,Uint16Array:c,Int32Array:c,Uint32Array:c,Float32Array:c,Float64Array:c};t.StaticProperties=P;const x={at:i("instance/at",["esnext.string.at"]),anchor:i(null,["es.string.anchor"]),big:i(null,["es.string.big"]),bind:i("instance/bind",["es.function.bind"]),blink:i(null,["es.string.blink"]),bold:i(null,["es.string.bold"]),codePointAt:i("instance/code-point-at",["es.string.code-point-at"]),codePoints:i("instance/code-points",["esnext.string.code-points"]),concat:i("instance/concat",["es.array.concat"],undefined,["String"]),copyWithin:i("instance/copy-within",["es.array.copy-within"]),description:i(null,["es.symbol","es.symbol.description"]),endsWith:i("instance/ends-with",["es.string.ends-with"]),entries:i("instance/entries",u),every:i("instance/every",["es.array.every"]),exec:i(null,["es.regexp.exec"]),fill:i("instance/fill",["es.array.fill"]),filter:i("instance/filter",["es.array.filter"]),finally:i(null,["es.promise.finally",...d]),find:i("instance/find",["es.array.find"]),findIndex:i("instance/find-index",["es.array.find-index"]),fixed:i(null,["es.string.fixed"]),flags:i("instance/flags",["es.regexp.flags"]),flatMap:i("instance/flat-map",["es.array.flat-map","es.array.unscopables.flat-map"]),flat:i("instance/flat",["es.array.flat"]),fontcolor:i(null,["es.string.fontcolor"]),fontsize:i(null,["es.string.fontsize"]),forEach:i("instance/for-each",["es.array.for-each","web.dom-collections.for-each"]),includes:i("instance/includes",["es.array.includes","es.string.includes"]),indexOf:i("instance/index-of",["es.array.index-of"]),italic:i(null,["es.string.italics"]),join:i(null,["es.array.join"]),keys:i("instance/keys",u),lastIndex:i(null,["esnext.array.last-index"]),lastIndexOf:i("instance/last-index-of",["es.array.last-index-of"]),lastItem:i(null,["esnext.array.last-item"]),link:i(null,["es.string.link"]),map:i("instance/map",["es.array.map"]),match:i(null,["es.string.match","es.regexp.exec"]),matchAll:i("instance/match-all",["es.string.match-all"]),name:i(null,["es.function.name"]),padEnd:i("instance/pad-end",["es.string.pad-end"]),padStart:i("instance/pad-start",["es.string.pad-start"]),reduce:i("instance/reduce",["es.array.reduce"]),reduceRight:i("instance/reduce-right",["es.array.reduce-right"]),repeat:i("instance/repeat",["es.string.repeat"]),replace:i(null,["es.string.replace","es.regexp.exec"]),replaceAll:i("instance/replace-all",["esnext.string.replace-all"]),reverse:i("instance/reverse",["es.array.reverse"]),search:i(null,["es.string.search","es.regexp.exec"]),slice:i("instance/slice",["es.array.slice"]),small:i(null,["es.string.small"]),some:i("instance/some",["es.array.some"]),sort:i("instance/sort",["es.array.sort"]),splice:i("instance/splice",["es.array.splice"]),split:i(null,["es.string.split","es.regexp.exec"]),startsWith:i("instance/starts-with",["es.string.starts-with"]),strike:i(null,["es.string.strike"]),sub:i(null,["es.string.sub"]),sup:i(null,["es.string.sup"]),toFixed:i(null,["es.number.to-fixed"]),toISOString:i(null,["es.date.to-iso-string"]),toJSON:i(null,["es.date.to-json","web.url.to-json"]),toPrecision:i(null,["es.number.to-precision"]),toString:i(null,["es.object.to-string","es.regexp.to-string","es.date.to-string"]),trim:i("instance/trim",["es.string.trim"]),trimEnd:i("instance/trim-end",["es.string.trim-end"]),trimLeft:i("instance/trim-left",["es.string.trim-start"]),trimRight:i("instance/trim-right",["es.string.trim-end"]),trimStart:i("instance/trim-start",["es.string.trim-start"]),values:i("instance/values",u),__defineGetter__:i(null,["es.object.define-getter"]),__defineSetter__:i(null,["es.object.define-setter"]),__lookupGetter__:i(null,["es.object.lookup-getter"]),__lookupSetter__:i(null,["es.object.lookup-setter"])};t.InstanceProperties=x;const v=new Set(["es.object.to-string","es.object.define-getter","es.object.define-setter","es.object.lookup-getter","es.object.lookup-setter","es.regexp.exec"]);t.CommonInstanceDependencies=v},9125:(e,t,r)=>{"use strict";t.__esModule=true;t.default=void 0;var n=_interopRequireDefault(r(50325));var s=_interopRequireDefault(r(79203));var i=_interopRequireDefault(r(8784));var a=r(34683);var o=_interopRequireWildcard(r(91785));var l=r(39308);var u=_interopRequireDefault(r(71192));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _extends(){_extends=Object.assign||function(e){for(var t=1;t{if(t(e))return true;if(!e.startsWith("es."))return false;const r=`esnext.${e.slice(3)}`;if(!n.default[r])return false;return t(r)};var d=(0,u.default)(function({getUtils:e,method:t,shouldInjectPolyfill:r,createMetaResolver:o,debug:u,babel:d},{version:y=3,proposals:m,shippedProposals:T,[f]:{useBabelRuntime:h,ext:S=".js"}={}}){const b=d.caller(e=>(e==null?void 0:e.name)==="babel-loader");const E=o({global:a.BuiltIns,static:a.StaticProperties,instance:a.InstanceProperties});const g=new Set((0,i.default)(y));const P=h?m?`${h}/core-js`:`${h}/core-js-stable`:m?"core-js-pure/features":"core-js-pure/stable";function maybeInjectGlobalImpl(e,t){if(r(e)){u(e);t.injectGlobalImport((0,l.coreJSModule)(e));return true}return false}function maybeInjectGlobal(e,t,r=true){for(const n of e){if(r){c(n,e=>maybeInjectGlobalImpl(e,t))}else{maybeInjectGlobalImpl(n,t)}}}function maybeInjectPure(e,t,n,s){if(e.pure&&!(s&&e.exclude&&e.exclude.includes(s))&&c(e.name,r)){return n.injectDefaultImport(`${P}/${e.pure}${S}`,t)}}return{name:"corejs3",polyfills:n.default,filterPolyfills(e){if(!g.has(e))return false;if(m||t==="entry-global")return true;if(T&&s.default.has(e)){return true}return!e.startsWith("esnext.")},entryGlobal(e,t,n){if(e.kind!=="import")return;const s=(0,l.isCoreJSSource)(e.source);if(!s)return;if(s.length===1&&e.source===(0,l.coreJSModule)(s[0])&&r(s[0])){u(null);return}maybeInjectGlobal(s,t,false);n.remove()},usageGlobal(e,t){const r=E(e);if(!r)return;let n=r.desc.global;if(r.kind!=="global"&&e.object&&e.placement==="prototype"){const t=e.object.toLowerCase();n=n.filter(e=>e.includes(t)||a.CommonInstanceDependencies.has(e))}maybeInjectGlobal(n,t)},usagePure(e,t,n){if(e.kind==="in"){if(e.key==="Symbol.iterator"){n.replaceWith(p.callExpression(t.injectDefaultImport((0,l.coreJSPureHelper)("is-iterable",h,S),"isIterable"),[n.node.right]))}return}if(n.parentPath.isUnaryExpression({operator:"delete"}))return;let s;if(e.kind==="property"){if(!n.isMemberExpression())return;if(!n.isReferenced())return;s=n.parentPath.isCallExpression({callee:n.node});if(e.key==="Symbol.iterator"){if(!r("es.symbol.iterator"))return;if(s){if(n.parent.arguments.length===0){n.parentPath.replaceWith(p.callExpression(t.injectDefaultImport((0,l.coreJSPureHelper)("get-iterator",h,S),"getIterator"),[n.node.object]));n.skip()}else{(0,l.callMethod)(n,t.injectDefaultImport((0,l.coreJSPureHelper)("get-iterator-method",h,S),"getIteratorMethod"))}}else{n.replaceWith(p.callExpression(t.injectDefaultImport((0,l.coreJSPureHelper)("get-iterator-method",h,S),"getIteratorMethod"),[n.node.object]))}return}}let i=E(e);if(!i)return;if(h&&i.desc.pure&&i.desc.pure.slice(-6)==="/index"){i=_extends({},i,{desc:_extends({},i.desc,{pure:i.desc.pure.slice(0,-6)})})}if(i.kind==="global"){const e=maybeInjectPure(i.desc,i.name,t);if(e)n.replaceWith(e)}else if(i.kind==="static"){const r=maybeInjectPure(i.desc,i.name,t,e.object);if(r)n.replaceWith(r)}else if(i.kind==="instance"){const r=maybeInjectPure(i.desc,`${i.name}InstanceProperty`,t,e.object);if(!r)return;if(s){(0,l.callMethod)(n,r)}else{n.replaceWith(p.callExpression(r,[n.node.object]))}}},visitor:t==="usage-global"&&{CallExpression(t){if(t.get("callee").isImport()){const r=e(t);if(b){maybeInjectGlobal(a.PromiseDependenciesWithIterators,r)}else{maybeInjectGlobal(a.PromiseDependencies,r)}}},Function(t){if(t.node.async){maybeInjectGlobal(a.PromiseDependencies,e(t))}},"ForOfStatement|ArrayPattern"(t){maybeInjectGlobal(a.CommonIterators,e(t))},SpreadElement(t){if(!t.parentPath.isObjectExpression()){maybeInjectGlobal(a.CommonIterators,e(t))}},YieldExpression(t){if(t.node.delegate){maybeInjectGlobal(a.CommonIterators,e(t))}}}}});t.default=d},79203:(e,t)=>{"use strict";t.__esModule=true;t.default=void 0;var r=new Set(["esnext.global-this","esnext.string.match-all"]);t.default=r},39308:(e,t,r)=>{"use strict";t.__esModule=true;t.callMethod=callMethod;t.isCoreJSSource=isCoreJSSource;t.coreJSModule=coreJSModule;t.coreJSPureHelper=coreJSPureHelper;var n=_interopRequireWildcard(r(91785));var s=_interopRequireDefault(r(79485));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}const{types:i}=n.default||n;function callMethod(e,t){const{object:r}=e.node;let n,s;if(i.isIdentifier(r)){n=r;s=i.cloneNode(r)}else{n=e.scope.generateDeclaredUidIdentifier("context");s=i.assignmentExpression("=",i.cloneNode(n),r)}e.replaceWith(i.memberExpression(i.callExpression(t,[s]),i.identifier("call")));e.parentPath.unshiftContainer("arguments",n)}function isCoreJSSource(e){if(typeof e==="string"){e=e.replace(/\\/g,"/").replace(/(\/(index)?)?(\.js)?$/i,"").toLowerCase()}return hasOwnProperty.call(s.default,e)&&s.default[e]}function coreJSModule(e){return`core-js/modules/${e}.js`}function coreJSPureHelper(e,t,r){return t?`${t}/core-js/${e}${r}`:`core-js-pure/features/${e}.js`}},54116:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var n=r(36860);let s=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const i=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const s=Object.assign({},n,e.end);const{linesAbove:i=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const u=s.line;const p=s.column;let f=Math.max(o-(i+1),0);let c=Math.min(t.length,u+a);if(o===-1){f=0}if(u===-1){c=t.length}const d=u-o;const y={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){y[r]=true}else if(e===0){const e=t[r-1].length;y[r]=[l,e-l+1]}else if(e===d){y[r]=[0,p]}else{const n=t[r-e].length;y[r]=[0,n]}}}else{if(l===p){if(l){y[o]=[l,0]}else{y[o]=true}}else{y[o]=[l,p-l]}}return{start:f,end:c,markerLines:y}}function codeFrameColumns(e,t,r={}){const s=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const a=(0,n.getChalk)(r);const o=getDefs(a);const l=(e,t)=>{return s?e(t):t};const u=e.split(i);const{start:p,end:f,markerLines:c}=getMarkerLines(t,u,r);const d=t.start&&typeof t.start.column==="number";const y=String(f).length;const m=s?(0,n.default)(e,r):e;let T=m.split(i).slice(p,f).map((e,t)=>{const n=p+1+t;const s=` ${n}`.slice(-y);const i=` ${s} |`;const a=c[n];const u=!c[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const s=a[1]||1;t=["\n ",l(o.gutter,i.replace(/\d/g," "))," ",n,l(o.marker,"^").repeat(s)].join("");if(u&&r.message){t+=" "+l(o.message,r.message)}}return[l(o.marker,">"),l(o.gutter,i),e.length>0?` ${e}`:"",t].join("")}else{return` ${l(o.gutter,i)}${e.length>0?` ${e}`:""}`}}).join("\n");if(r.message&&!d){T=`${" ".repeat(y+1)}${r.message}\n${T}`}if(s){return a.reset(T)}else{return T}}function _default(e,t,r,n={}){if(!s){s=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const i={start:{column:r,line:t}};return codeFrameColumns(e,i,n)}},47235:(e,t,r)=>{e.exports=r(75954)},68616:(e,t,r)=>{e.exports=r(85331)},27027:()=>{},39272:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeWeakCache=makeWeakCache;t.makeWeakCacheSync=makeWeakCacheSync;t.makeStrongCache=makeStrongCache;t.makeStrongCacheSync=makeStrongCacheSync;t.assertSimpleType=assertSimpleType;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(33316);var s=r(80598);const i=e=>{return _gensync()(e).sync};function*genTrue(){return true}function makeWeakCache(e){return makeCachedFunction(WeakMap,e)}function makeWeakCacheSync(e){return i(makeWeakCache(e))}function makeStrongCache(e){return makeCachedFunction(Map,e)}function makeStrongCacheSync(e){return i(makeStrongCache(e))}function makeCachedFunction(e,t){const r=new e;const i=new e;const a=new e;return function*cachedFunction(e,o){const l=yield*(0,n.isAsync)();const u=l?i:r;const p=yield*getCachedValueOrWait(l,u,a,e,o);if(p.valid)return p.value;const f=new CacheConfigurator(o);const c=t(e,f);let d;let y;if((0,s.isIterableIterator)(c)){const t=c;y=yield*(0,n.onFirstPause)(t,()=>{d=setupAsyncLocks(f,a,e)})}else{y=c}updateFunctionCache(u,f,e,y);if(d){a.delete(e);d.release(y)}return y}}function*getCachedValue(e,t,r){const n=e.get(t);if(n){for(const{value:e,valid:t}of n){if(yield*t(r))return{valid:true,value:e}}}return{valid:false,value:null}}function*getCachedValueOrWait(e,t,r,s,i){const a=yield*getCachedValue(t,s,i);if(a.valid){return a}if(e){const e=yield*getCachedValue(r,s,i);if(e.valid){const t=yield*(0,n.waitFor)(e.value.promise);return{valid:true,value:t}}}return{valid:false,value:null}}function setupAsyncLocks(e,t,r){const n=new Lock;updateFunctionCache(t,e,r,n);return n}function updateFunctionCache(e,t,r,n){if(!t.configured())t.forever();let s=e.get(r);t.deactivate();switch(t.mode()){case"forever":s=[{value:n,valid:genTrue}];e.set(r,s);break;case"invalidate":s=[{value:n,valid:t.validator()}];e.set(r,s);break;case"valid":if(s){s.push({value:n,valid:t.validator()})}else{s=[{value:n,valid:t.validator()}];e.set(r,s)}}}class CacheConfigurator{constructor(e){this._active=true;this._never=false;this._forever=false;this._invalidate=false;this._configured=false;this._pairs=[];this._data=void 0;this._data=e}simple(){return makeSimpleConfigurator(this)}mode(){if(this._never)return"never";if(this._forever)return"forever";if(this._invalidate)return"invalidate";return"valid"}forever(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never){throw new Error("Caching has already been configured with .never()")}this._forever=true;this._configured=true}never(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._forever){throw new Error("Caching has already been configured with .forever()")}this._never=true;this._configured=true}using(e){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never||this._forever){throw new Error("Caching has already been configured with .never or .forever()")}this._configured=true;const t=e(this._data);const r=(0,n.maybeAsync)(e,`You appear to be using an async cache handler, but Babel has been called synchronously`);if((0,n.isThenable)(t)){return t.then(e=>{this._pairs.push([e,r]);return e})}this._pairs.push([t,r]);return t}invalidate(e){this._invalidate=true;return this.using(e)}validator(){const e=this._pairs;return function*(t){for(const[r,n]of e){if(r!==(yield*n(t)))return false}return true}}deactivate(){this._active=false}configured(){return this._configured}}function makeSimpleConfigurator(e){function cacheFn(t){if(typeof t==="boolean"){if(t)e.forever();else e.never();return}return e.using(()=>assertSimpleType(t()))}cacheFn.forever=(()=>e.forever());cacheFn.never=(()=>e.never());cacheFn.using=(t=>e.using(()=>assertSimpleType(t())));cacheFn.invalidate=(t=>e.invalidate(()=>assertSimpleType(t())));return cacheFn}function assertSimpleType(e){if((0,n.isThenable)(e)){throw new Error(`You appear to be using an async cache handler, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously handle your caching logic.`)}if(e!=null&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"){throw new Error("Cache keys must be either string, boolean, number, null, or undefined.")}return e}class Lock{constructor(){this.released=false;this.promise=void 0;this._resolve=void 0;this.promise=new Promise(e=>{this._resolve=e})}release(e){this.released=true;this._resolve(e)}}},65511:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPresetChain=buildPresetChain;t.buildRootChain=buildRootChain;t.buildPresetChainWalker=void 0;function _path(){const e=r(85622);_path=function(){return e};return e}function _debug(){const e=r(31185);_debug=function(){return e};return e}var n=r(45294);var s=r(99743);var i=r(89949);var a=r(81857);var o=r(39272);var l=r(87837);const u=_debug()("babel:config:config-chain");function*buildPresetChain(e,t){const r=yield*p(e,t);if(!r)return null;return{plugins:dedupDescriptors(r.plugins),presets:dedupDescriptors(r.presets),options:r.options.map(e=>normalizeOptions(e)),files:new Set}}const p=makeChainWalker({root:e=>f(e),env:(e,t)=>c(e)(t),overrides:(e,t)=>d(e)(t),overridesEnv:(e,t,r)=>y(e)(t)(r),createLogger:()=>()=>{}});t.buildPresetChainWalker=p;const f=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.alias,l.createUncachedDescriptors));const c=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const d=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const y=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(r=>buildOverrideEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t,r))));function*buildRootChain(e,t){let r,n;const s=new i.ConfigPrinter;const o=yield*S({options:e,dirname:t.cwd},t,undefined,s);if(!o)return null;const l=yield*s.output();let u;if(typeof e.configFile==="string"){u=yield*(0,a.loadConfig)(e.configFile,t.cwd,t.envName,t.caller)}else if(e.configFile!==false){u=yield*(0,a.findRootConfig)(t.root,t.envName,t.caller)}let{babelrc:p,babelrcRoots:f}=e;let c=t.cwd;const d=emptyChain();const y=new i.ConfigPrinter;if(u){const e=m(u);const n=yield*loadFileChain(e,t,undefined,y);if(!n)return null;r=yield*y.output();if(p===undefined){p=e.options.babelrc}if(f===undefined){c=e.dirname;f=e.options.babelrcRoots}mergeChain(d,n)}let h,b;let E=false;const g=emptyChain();if((p===true||p===undefined)&&typeof t.filename==="string"){const e=yield*(0,a.findPackageData)(t.filename);if(e&&babelrcLoadEnabled(t,e,f,c)){({ignore:h,config:b}=yield*(0,a.findRelativeConfig)(e,t.envName,t.caller));if(h){g.files.add(h.filepath)}if(h&&shouldIgnore(t,h.ignore,null,h.dirname)){E=true}if(b&&!E){const e=T(b);const r=new i.ConfigPrinter;const s=yield*loadFileChain(e,t,undefined,r);if(!s){E=true}else{n=yield*r.output();mergeChain(g,s)}}if(b&&E){g.files.add(b.filepath)}}}if(t.showConfig){console.log(`Babel configs on "${t.filename}" (ascending priority):\n`+[r,n,l].filter(e=>!!e).join("\n\n")+"\n-----End Babel configs-----")}const P=mergeChain(mergeChain(mergeChain(emptyChain(),d),g),o);return{plugins:E?[]:dedupDescriptors(P.plugins),presets:E?[]:dedupDescriptors(P.presets),options:E?[]:P.options.map(e=>normalizeOptions(e)),fileHandling:E?"ignored":"transpile",ignore:h||undefined,babelrc:b||undefined,config:u||undefined,files:P.files}}function babelrcLoadEnabled(e,t,r,n){if(typeof r==="boolean")return r;const i=e.root;if(r===undefined){return t.directories.indexOf(i)!==-1}let a=r;if(!Array.isArray(a)){a=[a]}a=a.map(e=>{return typeof e==="string"?_path().resolve(n,e):e});if(a.length===1&&a[0]===i){return t.directories.indexOf(i)!==-1}return a.some(r=>{if(typeof r==="string"){r=(0,s.default)(r,n)}return t.directories.some(t=>{return matchPattern(r,n,t,e)})})}const m=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("configfile",e.options)}));const T=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("babelrcfile",e.options)}));const h=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("extendsfile",e.options)}));const S=makeChainWalker({root:e=>buildRootDescriptors(e,"base",l.createCachedDescriptors),env:(e,t)=>buildEnvDescriptors(e,"base",l.createCachedDescriptors,t),overrides:(e,t)=>buildOverrideDescriptors(e,"base",l.createCachedDescriptors,t),overridesEnv:(e,t,r)=>buildOverrideEnvDescriptors(e,"base",l.createCachedDescriptors,t,r),createLogger:(e,t,r)=>buildProgrammaticLogger(e,t,r)});const b=makeChainWalker({root:e=>E(e),env:(e,t)=>g(e)(t),overrides:(e,t)=>P(e)(t),overridesEnv:(e,t,r)=>x(e)(t)(r),createLogger:(e,t,r)=>buildFileLogger(e.filepath,t,r)});function*loadFileChain(e,t,r,n){const s=yield*b(e,t,r,n);if(s){s.files.add(e.filepath)}return s}const E=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.filepath,l.createUncachedDescriptors));const g=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const P=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const x=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(r=>buildOverrideEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t,r))));function buildFileLogger(e,t,r){if(!r){return()=>{}}return r.configure(t.showConfig,i.ChainFormatter.Config,{filepath:e})}function buildRootDescriptors({dirname:e,options:t},r,n){return n(e,t,r)}function buildProgrammaticLogger(e,t,r){var n;if(!r){return()=>{}}return r.configure(t.showConfig,i.ChainFormatter.Programmatic,{callerName:(n=t.caller)==null?void 0:n.name})}function buildEnvDescriptors({dirname:e,options:t},r,n,s){const i=t.env&&t.env[s];return i?n(e,i,`${r}.env["${s}"]`):null}function buildOverrideDescriptors({dirname:e,options:t},r,n,s){const i=t.overrides&&t.overrides[s];if(!i)throw new Error("Assertion failure - missing override");return n(e,i,`${r}.overrides[${s}]`)}function buildOverrideEnvDescriptors({dirname:e,options:t},r,n,s,i){const a=t.overrides&&t.overrides[s];if(!a)throw new Error("Assertion failure - missing override");const o=a.env&&a.env[i];return o?n(e,o,`${r}.overrides[${s}].env["${i}"]`):null}function makeChainWalker({root:e,env:t,overrides:r,overridesEnv:n,createLogger:s}){return function*(i,a,o=new Set,l){const{dirname:u}=i;const p=[];const f=e(i);if(configIsApplicable(f,u,a)){p.push({config:f,envName:undefined,index:undefined});const e=t(i,a.envName);if(e&&configIsApplicable(e,u,a)){p.push({config:e,envName:a.envName,index:undefined})}(f.options.overrides||[]).forEach((e,t)=>{const s=r(i,t);if(configIsApplicable(s,u,a)){p.push({config:s,index:t,envName:undefined});const e=n(i,t,a.envName);if(e&&configIsApplicable(e,u,a)){p.push({config:e,index:t,envName:a.envName})}}})}if(p.some(({config:{options:{ignore:e,only:t}}})=>shouldIgnore(a,e,t,u))){return null}const c=emptyChain();const d=s(i,a,l);for(const{config:e,index:t,envName:r}of p){if(!(yield*mergeExtendsChain(c,e.options,u,a,o,l))){return null}d(e,t,r);yield*mergeChainOpts(c,e)}return c}}function*mergeExtendsChain(e,t,r,n,s,i){if(t.extends===undefined)return true;const o=yield*(0,a.loadConfig)(t.extends,r,n.envName,n.caller);if(s.has(o)){throw new Error(`Configuration cycle detected loading ${o.filepath}.\n`+`File already loaded following the config chain:\n`+Array.from(s,e=>` - ${e.filepath}`).join("\n"))}s.add(o);const l=yield*loadFileChain(h(o),n,s,i);s.delete(o);if(!l)return false;mergeChain(e,l);return true}function mergeChain(e,t){e.options.push(...t.options);e.plugins.push(...t.plugins);e.presets.push(...t.presets);for(const r of t.files){e.files.add(r)}return e}function*mergeChainOpts(e,{options:t,plugins:r,presets:n}){e.options.push(t);e.plugins.push(...yield*r());e.presets.push(...yield*n());return e}function emptyChain(){return{options:[],presets:[],plugins:[],files:new Set}}function normalizeOptions(e){const t=Object.assign({},e);delete t.extends;delete t.env;delete t.overrides;delete t.plugins;delete t.presets;delete t.passPerPreset;delete t.ignore;delete t.only;delete t.test;delete t.include;delete t.exclude;if(Object.prototype.hasOwnProperty.call(t,"sourceMap")){t.sourceMaps=t.sourceMap;delete t.sourceMap}return t}function dedupDescriptors(e){const t=new Map;const r=[];for(const n of e){if(typeof n.value==="function"){const e=n.value;let s=t.get(e);if(!s){s=new Map;t.set(e,s)}let i=s.get(n.name);if(!i){i={value:n};r.push(i);if(!n.ownPass)s.set(n.name,i)}else{i.value=n}}else{r.push({value:n})}}return r.reduce((e,t)=>{e.push(t.value);return e},[])}function configIsApplicable({options:e},t,r){return(e.test===undefined||configFieldIsApplicable(r,e.test,t))&&(e.include===undefined||configFieldIsApplicable(r,e.include,t))&&(e.exclude===undefined||!configFieldIsApplicable(r,e.exclude,t))}function configFieldIsApplicable(e,t,r){const n=Array.isArray(t)?t:[t];return matchesPatterns(e,n,r)}function shouldIgnore(e,t,r,n){if(t&&matchesPatterns(e,t,n)){var s;const r=`No config is applied to "${(s=e.filename)!=null?s:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(t)}\` from "${n}"`;u(r);if(e.showConfig){console.log(r)}return true}if(r&&!matchesPatterns(e,r,n)){var i;const t=`No config is applied to "${(i=e.filename)!=null?i:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(r)}\` from "${n}"`;u(t);if(e.showConfig){console.log(t)}return true}return false}function matchesPatterns(e,t,r){return t.some(t=>matchPattern(t,r,e.filename,e))}function matchPattern(e,t,r,n){if(typeof e==="function"){return!!e(r,{dirname:t,envName:n.envName,caller:n.caller})}if(typeof r!=="string"){throw new Error(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`)}if(typeof e==="string"){e=(0,s.default)(e,t)}return e.test(r)}},87837:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createCachedDescriptors=createCachedDescriptors;t.createUncachedDescriptors=createUncachedDescriptors;t.createDescriptor=createDescriptor;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(81857);var s=r(29272);var i=r(39272);var a=r(76309);function isEqualDescriptor(e,t){return e.name===t.name&&e.value===t.value&&e.options===t.options&&e.dirname===t.dirname&&e.alias===t.alias&&e.ownPass===t.ownPass&&(e.file&&e.file.request)===(t.file&&t.file.request)&&(e.file&&e.file.resolved)===(t.file&&t.file.resolved)}function*handlerOf(e){return e}function optionsWithResolvedBrowserslistConfigFile(e,t){if(typeof e.browserslistConfigFile==="string"){e.browserslistConfigFile=(0,a.resolveBrowserslistConfigFile)(e.browserslistConfigFile,t)}return e}function createCachedDescriptors(e,t,r){const{plugins:n,presets:s,passPerPreset:i}=t;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),plugins:n?()=>p(n,e)(r):()=>handlerOf([]),presets:s?()=>l(s,e)(r)(!!i):()=>handlerOf([])}}function createUncachedDescriptors(e,t,r){let n;let s;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),*plugins(){if(!n){n=yield*createPluginDescriptors(t.plugins||[],e,r)}return n},*presets(){if(!s){s=yield*createPresetDescriptors(t.presets||[],e,r,!!t.passPerPreset)}return s}}}const o=new WeakMap;const l=(0,i.makeWeakCacheSync)((e,t)=>{const r=t.using(e=>e);return(0,i.makeStrongCacheSync)(t=>(0,i.makeStrongCache)(function*(n){const s=yield*createPresetDescriptors(e,r,t,n);return s.map(e=>loadCachedDescriptor(o,e))}))});const u=new WeakMap;const p=(0,i.makeWeakCacheSync)((e,t)=>{const r=t.using(e=>e);return(0,i.makeStrongCache)(function*(t){const n=yield*createPluginDescriptors(e,r,t);return n.map(e=>loadCachedDescriptor(u,e))})});const f={};function loadCachedDescriptor(e,t){const{value:r,options:n=f}=t;if(n===false)return t;let s=e.get(r);if(!s){s=new WeakMap;e.set(r,s)}let i=s.get(n);if(!i){i=[];s.set(n,i)}if(i.indexOf(t)===-1){const e=i.filter(e=>isEqualDescriptor(e,t));if(e.length>0){return e[0]}i.push(t)}return t}function*createPresetDescriptors(e,t,r,n){return yield*createDescriptors("preset",e,t,r,n)}function*createPluginDescriptors(e,t,r){return yield*createDescriptors("plugin",e,t,r)}function*createDescriptors(e,t,r,n,s){const i=yield*_gensync().all(t.map((t,i)=>createDescriptor(t,r,{type:e,alias:`${n}$${i}`,ownPass:!!s})));assertNoDuplicates(i);return i}function*createDescriptor(e,t,{type:r,alias:i,ownPass:a}){const o=(0,s.getItemDescriptor)(e);if(o){return o}let l;let u;let p=e;if(Array.isArray(p)){if(p.length===3){[p,u,l]=p}else{[p,u]=p}}let f=undefined;let c=null;if(typeof p==="string"){if(typeof r!=="string"){throw new Error("To resolve a string-based item, the type of item must be given")}const e=r==="plugin"?n.loadPlugin:n.loadPreset;const s=p;({filepath:c,value:p}=yield*e(p,t));f={request:s,resolved:c}}if(!p){throw new Error(`Unexpected falsy value: ${String(p)}`)}if(typeof p==="object"&&p.__esModule){if(p.default){p=p.default}else{throw new Error("Must export a default export when using ES6 modules.")}}if(typeof p!=="object"&&typeof p!=="function"){throw new Error(`Unsupported format: ${typeof p}. Expected an object or a function.`)}if(c!==null&&typeof p==="object"&&p){throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${c}`)}return{name:l,alias:c||i,value:p,options:u,dirname:t,ownPass:a,file:f}}function assertNoDuplicates(e){const t=new Map;for(const r of e){if(typeof r.value!=="function")continue;let n=t.get(r.value);if(!n){n=new Set;t.set(r.value,n)}if(n.has(r.name)){const t=e.filter(e=>e.value===r.value);throw new Error([`Duplicate plugin/preset detected.`,`If you'd like to use two separate instances of a plugin,`,`they need separate names, e.g.`,``,` plugins: [`,` ['some-plugin', {}],`,` ['some-plugin', {}, 'some unique name'],`,` ]`,``,`Duplicates detected are:`,`${JSON.stringify(t,null,2)}`].join("\n"))}n.add(r.name)}}},61408:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findConfigUpwards=findConfigUpwards;t.findRelativeConfig=findRelativeConfig;t.findRootConfig=findRootConfig;t.loadConfig=loadConfig;t.resolveShowConfigPath=resolveShowConfigPath;t.ROOT_CONFIG_FILENAMES=void 0;function _debug(){const e=r(31185);_debug=function(){return e};return e}function _fs(){const e=r(35747);_fs=function(){return e};return e}function _path(){const e=r(85622);_path=function(){return e};return e}function _json(){const e=r(33170);_json=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(39272);var s=r(19184);var i=r(80834);var a=r(79376);var o=r(99743);var l=r(48451);function _module(){const e=r(32282);_module=function(){return e};return e}const u=_debug()("babel:config:loading:files:configuration");const p=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json"];t.ROOT_CONFIG_FILENAMES=p;const f=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json"];const c=".babelignore";function findConfigUpwards(e){let t=e;for(;;){for(const e of p){if(_fs().existsSync(_path().join(t,e))){return t}}const e=_path().dirname(t);if(t===e)break;t=e}return null}function*findRelativeConfig(e,t,r){let n=null;let s=null;const i=_path().dirname(e.filepath);for(const o of e.directories){if(!n){var a;n=yield*loadOneConfig(f,o,t,r,((a=e.pkg)==null?void 0:a.dirname)===o?m(e.pkg):null)}if(!s){const e=_path().join(o,c);s=yield*h(e);if(s){u("Found ignore %o from %o.",s.filepath,i)}}}return{config:n,ignore:s}}function findRootConfig(e,t,r){return loadOneConfig(p,e,t,r)}function*loadOneConfig(e,t,r,n,s=null){const i=yield*_gensync().all(e.map(e=>readConfig(_path().join(t,e),r,n)));const a=i.reduce((e,r)=>{if(r&&e){throw new Error(`Multiple configuration files found. Please remove one:\n`+` - ${_path().basename(e.filepath)}\n`+` - ${r.filepath}\n`+`from ${t}`)}return r||e},s);if(a){u("Found configuration %o from %o.",a.filepath,t)}return a}function*loadConfig(e,t,n,s){const i=(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(e,{paths:[t]});const a=yield*readConfig(i,n,s);if(!a){throw new Error(`Config file ${i} contains no configuration data`)}u("Loaded config %o from %o.",e,t);return a}function readConfig(e,t,r){const n=_path().extname(e);return n===".js"||n===".cjs"||n===".mjs"?y(e,{envName:t,caller:r}):T(e)}const d=new Set;const y=(0,n.makeStrongCache)(function*readConfigJS(e,t){if(!_fs().existsSync(e)){t.never();return null}if(d.has(e)){t.never();u("Auto-ignoring usage of config %o.",e);return{filepath:e,dirname:_path().dirname(e),options:{}}}let r;try{d.add(e);r=yield*(0,a.default)(e,"You appear to be using a native ECMAScript module configuration "+"file, which is only supported when running Babel asynchronously.")}catch(t){t.message=`${e}: Error while loading config - ${t.message}`;throw t}finally{d.delete(e)}let n=false;if(typeof r==="function"){yield*[];r=r((0,s.makeConfigAPI)(t));n=true}if(!r||typeof r!=="object"||Array.isArray(r)){throw new Error(`${e}: Configuration should be an exported JavaScript object.`)}if(typeof r.then==="function"){throw new Error(`You appear to be using an async configuration, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously return your config.`)}if(n&&!t.configured())throwConfigError();return{filepath:e,dirname:_path().dirname(e),options:r}});const m=(0,n.makeWeakCacheSync)(e=>{const t=e.options["babel"];if(typeof t==="undefined")return null;if(typeof t!=="object"||Array.isArray(t)||t===null){throw new Error(`${e.filepath}: .babel property must be an object`)}return{filepath:e.filepath,dirname:e.dirname,options:t}});const T=(0,i.makeStaticFileCache)((e,t)=>{let r;try{r=_json().parse(t)}catch(t){t.message=`${e}: Error while parsing config - ${t.message}`;throw t}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new Error(`${e}: Config returned typeof ${typeof r}`)}if(Array.isArray(r)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:r}});const h=(0,i.makeStaticFileCache)((e,t)=>{const r=_path().dirname(e);const n=t.split("\n").map(e=>e.replace(/#(.*?)$/,"").trim()).filter(e=>!!e);for(const e of n){if(e[0]==="!"){throw new Error(`Negation of file paths is not supported.`)}}return{filepath:e,dirname:_path().dirname(e),ignore:n.map(e=>(0,o.default)(e,r))}});function*resolveShowConfigPath(e){const t=process.env.BABEL_SHOW_CONFIG_FOR;if(t!=null){const r=_path().resolve(e,t);const n=yield*l.stat(r);if(!n.isFile()){throw new Error(`${r}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`)}return r}return null}function throwConfigError(){throw new Error(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don't call this function again.\n api.cache(true);\n\n // Don't cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === "production");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};`)}},41435:(e,t,r)=>{"use strict";var n;n={value:true};t.Z=import_;function import_(e){return r(21518)(e)}},81857:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"findPackageData",{enumerable:true,get:function(){return n.findPackageData}});Object.defineProperty(t,"findConfigUpwards",{enumerable:true,get:function(){return s.findConfigUpwards}});Object.defineProperty(t,"findRelativeConfig",{enumerable:true,get:function(){return s.findRelativeConfig}});Object.defineProperty(t,"findRootConfig",{enumerable:true,get:function(){return s.findRootConfig}});Object.defineProperty(t,"loadConfig",{enumerable:true,get:function(){return s.loadConfig}});Object.defineProperty(t,"resolveShowConfigPath",{enumerable:true,get:function(){return s.resolveShowConfigPath}});Object.defineProperty(t,"ROOT_CONFIG_FILENAMES",{enumerable:true,get:function(){return s.ROOT_CONFIG_FILENAMES}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return i.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return i.resolvePreset}});Object.defineProperty(t,"loadPlugin",{enumerable:true,get:function(){return i.loadPlugin}});Object.defineProperty(t,"loadPreset",{enumerable:true,get:function(){return i.loadPreset}});var n=r(87467);var s=r(61408);var i=r(61686);({})},79376:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadCjsOrMjsDefault;var n=r(33316);function _path(){const e=r(85622);_path=function(){return e};return e}function _url(){const e=r(78835);_url=function(){return e};return e}function _module(){const e=r(32282);_module=function(){return e};return e}function asyncGeneratorStep(e,t,r,n,s,i,a){try{var o=e[i](a);var l=o.value}catch(e){r(e);return}if(o.done){t(l)}else{Promise.resolve(l).then(n,s)}}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise(function(n,s){var i=e.apply(t,r);function _next(e){asyncGeneratorStep(i,n,s,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(i,n,s,_next,_throw,"throw",e)}_next(undefined)})}}let s;try{s=r(41435).Z}catch(e){}function*loadCjsOrMjsDefault(e,t,r=false){switch(guessJSModuleType(e)){case"cjs":return loadCjsDefault(e,r);case"unknown":try{return loadCjsDefault(e,r)}catch(e){if(e.code!=="ERR_REQUIRE_ESM")throw e}case"mjs":if(yield*(0,n.isAsync)()){return yield*(0,n.waitFor)(loadMjsDefault(e))}throw new Error(t)}}function guessJSModuleType(e){switch(_path().extname(e)){case".cjs":return"cjs";case".mjs":return"mjs";default:return"unknown"}}function loadCjsDefault(e,t){const r=require(e);return r!=null&&r.__esModule?r.default||(t?r:undefined):r}function loadMjsDefault(e){return _loadMjsDefault.apply(this,arguments)}function _loadMjsDefault(){_loadMjsDefault=_asyncToGenerator(function*(e){if(!s){throw new Error("Internal error: Native ECMAScript modules aren't supported"+" by this platform.\n")}const t=yield s((0,_url().pathToFileURL)(e));return t.default});return _loadMjsDefault.apply(this,arguments)}},87467:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findPackageData=findPackageData;function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(80834);const s="package.json";function*findPackageData(e){let t=null;const r=[];let n=true;let a=_path().dirname(e);while(!t&&_path().basename(a)!=="node_modules"){r.push(a);t=yield*i(_path().join(a,s));const e=_path().dirname(a);if(a===e){n=false;break}a=e}return{filepath:e,directories:r,pkg:t,isPackage:n}}const i=(0,n.makeStaticFileCache)((e,t)=>{let r;try{r=JSON.parse(t)}catch(t){t.message=`${e}: Error while parsing JSON - ${t.message}`;throw t}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new Error(`${e}: Config returned typeof ${typeof r}`)}if(Array.isArray(r)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:r}})},61686:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolvePlugin=resolvePlugin;t.resolvePreset=resolvePreset;t.loadPlugin=loadPlugin;t.loadPreset=loadPreset;function _debug(){const e=r(31185);_debug=function(){return e};return e}function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(79376);function _module(){const e=r(32282);_module=function(){return e};return e}const s=_debug()("babel:config:loading:files:plugins");const i=/^module:/;const a=/^(?!@|module:|[^/]+\/|babel-plugin-)/;const o=/^(?!@|module:|[^/]+\/|babel-preset-)/;const l=/^(@babel\/)(?!plugin-|[^/]+\/)/;const u=/^(@babel\/)(?!preset-|[^/]+\/)/;const p=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/;const f=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/;const c=/^(@(?!babel$)[^/]+)$/;function resolvePlugin(e,t){return resolveStandardizedName("plugin",e,t)}function resolvePreset(e,t){return resolveStandardizedName("preset",e,t)}function*loadPlugin(e,t){const r=resolvePlugin(e,t);if(!r){throw new Error(`Plugin ${e} not found relative to ${t}`)}const n=yield*requireModule("plugin",r);s("Loaded plugin %o from %o.",e,t);return{filepath:r,value:n}}function*loadPreset(e,t){const r=resolvePreset(e,t);if(!r){throw new Error(`Preset ${e} not found relative to ${t}`)}const n=yield*requireModule("preset",r);s("Loaded preset %o from %o.",e,t);return{filepath:r,value:n}}function standardizeName(e,t){if(_path().isAbsolute(t))return t;const r=e==="preset";return t.replace(r?o:a,`babel-${e}-`).replace(r?u:l,`$1${e}-`).replace(r?f:p,`$1babel-${e}-`).replace(c,`$1/babel-${e}`).replace(i,"")}function resolveStandardizedName(e,t,n=process.cwd()){const s=standardizeName(e,t);try{return(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(s,{paths:[n]})}catch(i){if(i.code!=="MODULE_NOT_FOUND")throw i;if(s!==t){let e=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(t,{paths:[n]});e=true}catch(e){}if(e){i.message+=`\n- If you want to resolve "${t}", use "module:${t}"`}}let a=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(standardizeName(e,"@babel/"+t),{paths:[n]});a=true}catch(e){}if(a){i.message+=`\n- Did you mean "@babel/${t}"?`}let o=false;const l=e==="preset"?"plugin":"preset";try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(32282))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(standardizeName(l,t),{paths:[n]});o=true}catch(e){}if(o){i.message+=`\n- Did you accidentally pass a ${l} as a ${e}?`}throw i}}const d=new Set;function*requireModule(e,t){if(d.has(t)){throw new Error(`Reentrant ${e} detected trying to load "${t}". This module is not ignored `+"and is trying to load itself while compiling itself, leading to a dependency cycle. "+'We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.')}try{d.add(t);return yield*(0,n.default)(t,`You appear to be using a native ECMAScript module ${e}, `+"which is only supported when running Babel asynchronously.",true)}catch(e){e.message=`[BABEL]: ${e.message} (While processing: ${t})`;throw e}finally{d.delete(t)}}},80834:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeStaticFileCache=makeStaticFileCache;var n=r(39272);var s=r(48451);function _fs2(){const e=r(35747);_fs2=function(){return e};return e}function makeStaticFileCache(e){return(0,n.makeStrongCache)(function*(t,r){const n=r.invalidate(()=>fileMtime(t));if(n===null){return null}return e(t,yield*s.readFile(t,"utf8"))})}function fileMtime(e){if(!_fs2().existsSync(e))return null;try{return+_fs2().statSync(e).mtime}catch(e){if(e.code!=="ENOENT"&&e.code!=="ENOTDIR")throw e}return null}},11298:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(33316);var s=r(80598);var i=r(91785);var a=r(78391);var o=r(29272);var l=r(65511);function _traverse(){const e=r(4267);_traverse=function(){return e};return e}var u=r(39272);var p=r(45294);var f=r(49114);var c=r(19184);var d=r(31747);var y=r(27027);var m=_gensync()(function*loadFullConfig(e){var t;const r=yield*(0,d.default)(e);if(!r){return null}const{options:n,context:i,fileHandling:a}=r;if(a==="ignored"){return null}const l={};const{plugins:u,presets:f}=n;if(!u||!f){throw new Error("Assertion failure - plugins and presets exist")}const c=Object.assign({},i,{targets:n.targets});const y=e=>{const t=(0,o.getItemDescriptor)(e);if(!t){throw new Error("Assertion failure - must be config item")}return t};const m=f.map(y);const T=u.map(y);const h=[[]];const S=[];const b=yield*enhanceError(i,function*recursePresetDescriptors(e,t){const r=[];for(let n=0;n0){h.splice(1,0,...r.map(e=>e.pass).filter(e=>e!==t));for(const{preset:e,pass:t}of r){if(!e)return true;t.push(...e.plugins);const r=yield*recursePresetDescriptors(e.presets,t);if(r)return true;e.options.forEach(e=>{(0,s.mergeOptions)(l,e)})}}})(m,h[0]);if(b)return null;const E=l;(0,s.mergeOptions)(E,n);const g=Object.assign({},c,{assumptions:(t=E.assumptions)!=null?t:{}});yield*enhanceError(i,function*loadPluginDescriptors(){h[0].unshift(...T);for(const e of h){const t=[];S.push(t);for(let r=0;re.length>0).map(e=>({plugins:e}));E.passPerPreset=E.presets.length>0;return{options:E,passes:S}});t.default=m;function enhanceError(e,t){return function*(r,n){try{return yield*t(r,n)}catch(t){if(!/^\[BABEL\]/.test(t.message)){t.message=`[BABEL] ${e.filename||"unknown"}: ${t.message}`}throw t}}}const T=e=>(0,u.makeWeakCache)(function*({value:t,options:r,dirname:s,alias:a},o){if(r===false)throw new Error("Assertion failure");r=r||{};let l=t;if(typeof t==="function"){const u=(0,n.maybeAsync)(t,`You appear to be using an async plugin/preset, but Babel has been called synchronously`);const p=Object.assign({},i,e(o));try{l=yield*u(p,r,s)}catch(e){if(a){e.message+=` (While processing: ${JSON.stringify(a)})`}throw e}}if(!l||typeof l!=="object"){throw new Error("Plugin/Preset did not return an object.")}if((0,n.isThenable)(l)){yield*[];throw new Error(`You appear to be using a promise as a plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version. `+`As an alternative, you can prefix the promise with "await". `+`(While processing: ${JSON.stringify(a)})`)}return{value:l,options:r,dirname:s,alias:a}});const h=T(c.makePluginAPI);const S=T(c.makePresetAPI);function*loadPluginDescriptor(e,t){if(e.value instanceof a.default){if(e.options){throw new Error("Passed options to an existing Plugin instance will not work.")}return e.value}return yield*b(yield*h(e,t),t)}const b=(0,u.makeWeakCache)(function*({value:e,options:t,dirname:r,alias:s},i){const o=(0,f.validatePluginObject)(e);const l=Object.assign({},o);if(l.visitor){l.visitor=_traverse().default.explode(Object.assign({},l.visitor))}if(l.inherits){const e={name:undefined,alias:`${s}$inherits`,value:l.inherits,options:t,dirname:r};const a=yield*(0,n.forwardAsync)(loadPluginDescriptor,t=>{return i.invalidate(r=>t(e,r))});l.pre=chain(a.pre,l.pre);l.post=chain(a.post,l.post);l.manipulateOptions=chain(a.manipulateOptions,l.manipulateOptions);l.visitor=_traverse().default.visitors.merge([a.visitor||{},l.visitor||{}])}return new a.default(l,t,s)});const E=(e,t)=>{if(e.test||e.include||e.exclude){const e=t.name?`"${t.name}"`:"/* your preset */";throw new Error([`Preset ${e} requires a filename to be set when babel is called directly,`,`\`\`\``,`babel.transform(code, { filename: 'file.ts', presets: [${e}] });`,`\`\`\``,`See https://babeljs.io/docs/en/options#filename for more information.`].join("\n"))}};const g=(e,t,r)=>{if(!t.filename){const{options:t}=e;E(t,r);if(t.overrides){t.overrides.forEach(e=>E(e,r))}}};function*loadPresetDescriptor(e,t){const r=P(yield*S(e,t));g(r,t,e);return yield*(0,l.buildPresetChain)(r,t)}const P=(0,u.makeWeakCacheSync)(({value:e,dirname:t,alias:r})=>{return{options:(0,p.validate)("preset",e),alias:r,dirname:t}});function chain(e,t){const r=[e,t].filter(Boolean);if(r.length<=1)return r[0];return function(...e){for(const t of r){t.apply(this,e)}}}},19184:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeConfigAPI=makeConfigAPI;t.makePresetAPI=makePresetAPI;t.makePluginAPI=makePluginAPI;function _semver(){const e=r(62519);_semver=function(){return e};return e}var n=r(91785);var s=r(39272);var i=r(27027);function makeConfigAPI(e){const t=t=>e.using(e=>{if(typeof t==="undefined")return e.envName;if(typeof t==="function"){return(0,s.assertSimpleType)(t(e.envName))}if(!Array.isArray(t))t=[t];return t.some(t=>{if(typeof t!=="string"){throw new Error("Unexpected non-string value")}return t===e.envName})});const r=t=>e.using(e=>(0,s.assertSimpleType)(t(e.caller)));return{version:n.version,cache:e.simple(),env:t,async:()=>false,caller:r,assertVersion:assertVersion}}function makePresetAPI(e){const t=()=>JSON.parse(e.using(e=>JSON.stringify(e.targets)));return Object.assign({},makeConfigAPI(e),{targets:t})}function makePluginAPI(e){const t=t=>e.using(e=>e.assumptions[t]);return Object.assign({},makePresetAPI(e),{assumption:t})}function assertVersion(e){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}if(_semver().satisfies(n.version,e))return;const t=Error.stackTraceLimit;if(typeof t==="number"&&t<25){Error.stackTraceLimit=25}const r=new Error(`Requires Babel "${e}", but was loaded with "${n.version}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`);if(typeof t==="number"){Error.stackTraceLimit=t}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:n.version,range:e})}},94332:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getEnv=getEnv;function getEnv(e="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||e}},49558:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createConfigItem=createConfigItem;Object.defineProperty(t,"default",{enumerable:true,get:function(){return n.default}});t.createConfigItemAsync=t.createConfigItemSync=t.loadOptionsAsync=t.loadOptionsSync=t.loadOptions=t.loadPartialConfigAsync=t.loadPartialConfigSync=t.loadPartialConfig=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(11298);var s=r(31747);var i=r(29272);const a=_gensync()(function*(e){var t;const r=yield*(0,n.default)(e);return(t=r==null?void 0:r.options)!=null?t:null});const o=_gensync()(i.createConfigItem);const l=e=>(t,r)=>{if(r===undefined&&typeof t==="function"){r=t;t=undefined}return r?e.errback(t,r):e.sync(t)};const u=l(s.loadPartialConfig);t.loadPartialConfig=u;const p=s.loadPartialConfig.sync;t.loadPartialConfigSync=p;const f=s.loadPartialConfig.async;t.loadPartialConfigAsync=f;const c=l(a);t.loadOptions=c;const d=a.sync;t.loadOptionsSync=d;const y=a.async;t.loadOptionsAsync=y;const m=o.sync;t.createConfigItemSync=m;const T=o.async;t.createConfigItemAsync=T;function createConfigItem(e,t,r){if(r!==undefined){return o.errback(e,t,r)}else if(typeof t==="function"){return o.errback(e,undefined,r)}else{return o.sync(e,t)}}},29272:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createItemFromDescriptor=createItemFromDescriptor;t.createConfigItem=createConfigItem;t.getItemDescriptor=getItemDescriptor;function _path(){const e=r(85622);_path=function(){return e};return e}var n=r(87837);function createItemFromDescriptor(e){return new ConfigItem(e)}function*createConfigItem(e,{dirname:t=".",type:r}={}){const s=yield*(0,n.createDescriptor)(e,_path().resolve(t),{type:r,alias:"programmatic item"});return createItemFromDescriptor(s)}function getItemDescriptor(e){if(e!=null&&e[s]){return e._descriptor}return undefined}const s=Symbol.for("@babel/core@7 - ConfigItem");class ConfigItem{constructor(e){this._descriptor=void 0;this[s]=true;this.value=void 0;this.options=void 0;this.dirname=void 0;this.name=void 0;this.file=void 0;this._descriptor=e;Object.defineProperty(this,"_descriptor",{enumerable:false});Object.defineProperty(this,s,{enumerable:false});this.value=this._descriptor.value;this.options=this._descriptor.options;this.dirname=this._descriptor.dirname;this.name=this._descriptor.name;this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:undefined;Object.freeze(this)}}Object.freeze(ConfigItem.prototype)},31747:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadPrivatePartialConfig;t.loadPartialConfig=void 0;function _path(){const e=r(85622);_path=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(78391);var s=r(80598);var i=r(29272);var a=r(65511);var o=r(94332);var l=r(45294);var u=r(81857);var p=r(76309);function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var s,i;for(i=0;i=0)continue;r[s]=e[s]}return r}function resolveRootMode(e,t){switch(t){case"root":return e;case"upward-optional":{const t=(0,u.findConfigUpwards)(e);return t===null?e:t}case"upward":{const t=(0,u.findConfigUpwards)(e);if(t!==null)return t;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not `+`be found when searching upward from "${e}".\n`+`One of the following config files must be in the directory tree: `+`"${u.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error(`Assertion failure - unknown rootMode value.`)}}function*loadPrivatePartialConfig(e){if(e!=null&&(typeof e!=="object"||Array.isArray(e))){throw new Error("Babel options must be an object, null, or undefined")}const t=e?(0,l.validate)("arguments",e):{};const{envName:r=(0,o.getEnv)(),cwd:n=".",root:f=".",rootMode:c="root",caller:d,cloneInputAst:y=true}=t;const m=_path().resolve(n);const T=resolveRootMode(_path().resolve(m,f),c);const h=typeof t.filename==="string"?_path().resolve(n,t.filename):undefined;const S=yield*(0,u.resolveShowConfigPath)(m);const b={filename:h,cwd:m,root:T,envName:r,caller:d,showConfig:S===h};const E=yield*(0,a.buildRootChain)(t,b);if(!E)return null;const g={assumptions:{}};E.options.forEach(e=>{(0,s.mergeOptions)(g,e)});const P=Object.assign({},g,{targets:(0,p.resolveTargets)(g,T),cloneInputAst:y,babelrc:false,configFile:false,browserslistConfigFile:false,passPerPreset:false,envName:b.envName,cwd:b.cwd,root:b.root,rootMode:"root",filename:typeof b.filename==="string"?b.filename:undefined,plugins:E.plugins.map(e=>(0,i.createItemFromDescriptor)(e)),presets:E.presets.map(e=>(0,i.createItemFromDescriptor)(e))});return{options:P,context:b,fileHandling:E.fileHandling,ignore:E.ignore,babelrc:E.babelrc,config:E.config,files:E.files}}const f=_gensync()(function*(e){let t=false;if(typeof e==="object"&&e!==null&&!Array.isArray(e)){var r=e;({showIgnoredFiles:t}=r);e=_objectWithoutPropertiesLoose(r,["showIgnoredFiles"]);r}const s=yield*loadPrivatePartialConfig(e);if(!s)return null;const{options:i,babelrc:a,ignore:o,config:l,fileHandling:u,files:p}=s;if(u==="ignored"&&!t){return null}(i.plugins||[]).forEach(e=>{if(e.value instanceof n.default){throw new Error("Passing cached plugin instances is not supported in "+"babel.loadPartialConfig()")}});return new PartialConfig(i,a?a.filepath:undefined,o?o.filepath:undefined,l?l.filepath:undefined,u,p)});t.loadPartialConfig=f;class PartialConfig{constructor(e,t,r,n,s,i){this.options=void 0;this.babelrc=void 0;this.babelignore=void 0;this.config=void 0;this.fileHandling=void 0;this.files=void 0;this.options=e;this.babelignore=r;this.babelrc=t;this.config=n;this.fileHandling=s;this.files=i;Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==undefined||this.config!==undefined}}Object.freeze(PartialConfig.prototype)},99743:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=pathToPattern;function _path(){const e=r(85622);_path=function(){return e};return e}const n=`\\${_path().sep}`;const s=`(?:${n}|$)`;const i=`[^${n}]+`;const a=`(?:${i}${n})`;const o=`(?:${i}${s})`;const l=`${a}*?`;const u=`${a}*?${o}?`;function escapeRegExp(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}function pathToPattern(e,t){const r=_path().resolve(t,e).split(_path().sep);return new RegExp(["^",...r.map((e,t)=>{const p=t===r.length-1;if(e==="**")return p?u:l;if(e==="*")return p?o:a;if(e.indexOf("*.")===0){return i+escapeRegExp(e.slice(1))+(p?s:n)}return escapeRegExp(e)+(p?s:n)})].join(""))}},78391:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Plugin{constructor(e,t,r){this.key=void 0;this.manipulateOptions=void 0;this.post=void 0;this.pre=void 0;this.visitor=void 0;this.parserOverride=void 0;this.generatorOverride=void 0;this.options=void 0;this.key=e.name||r;this.manipulateOptions=e.manipulateOptions;this.post=e.post;this.pre=e.pre;this.visitor=e.visitor||{};this.parserOverride=e.parserOverride;this.generatorOverride=e.generatorOverride;this.options=t}}t.default=Plugin},89949:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConfigPrinter=t.ChainFormatter=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n={Programmatic:0,Config:1};t.ChainFormatter=n;const s={title(e,t,r){let s="";if(e===n.Programmatic){s="programmatic options";if(t){s+=" from "+t}}else{s="config "+r}return s},loc(e,t){let r="";if(e!=null){r+=`.overrides[${e}]`}if(t!=null){r+=`.env["${t}"]`}return r},*optionsAndDescriptors(e){const t=Object.assign({},e.options);delete t.overrides;delete t.env;const r=[...yield*e.plugins()];if(r.length){t.plugins=r.map(e=>descriptorToConfig(e))}const n=[...yield*e.presets()];if(n.length){t.presets=[...n].map(e=>descriptorToConfig(e))}return JSON.stringify(t,undefined,2)}};function descriptorToConfig(e){var t;let r=(t=e.file)==null?void 0:t.request;if(r==null){if(typeof e.value==="object"){r=e.value}else if(typeof e.value==="function"){r=`[Function: ${e.value.toString().substr(0,50)} ... ]`}}if(r==null){r="[Unknown]"}if(e.options===undefined){return r}else if(e.name==null){return[r,e.options]}else{return[r,e.options,e.name]}}class ConfigPrinter{constructor(){this._stack=[]}configure(e,t,{callerName:r,filepath:n}){if(!e)return()=>{};return(e,s,i)=>{this._stack.push({type:t,callerName:r,filepath:n,content:e,index:s,envName:i})}}static*format(e){let t=s.title(e.type,e.callerName,e.filepath);const r=s.loc(e.index,e.envName);if(r)t+=` ${r}`;const n=yield*s.optionsAndDescriptors(e.content);return`${t}\n${n}`}*output(){if(this._stack.length===0)return"";const e=yield*_gensync().all(this._stack.map(e=>ConfigPrinter.format(e)));return e.join("\n\n")}}t.ConfigPrinter=ConfigPrinter},76309:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveBrowserslistConfigFile=resolveBrowserslistConfigFile;t.resolveTargets=resolveTargets;function _path(){const e=r(85622);_path=function(){return e};return e}function _helperCompilationTargets(){const e=r(40773);_helperCompilationTargets=function(){return e};return e}({});function resolveBrowserslistConfigFile(e,t){return _path().resolve(t,e)}function resolveTargets(e,t){let r=e.targets;if(typeof r==="string"||Array.isArray(r)){r={browsers:r}}if(r&&r.esmodules){r=Object.assign({},r,{esmodules:"intersect"})}const{browserslistConfigFile:n}=e;let s;let i=false;if(typeof n==="string"){s=n}else{i=n===false}return(0,_helperCompilationTargets().default)(r,{ignoreBrowserslistConfig:i,configFile:s,configPath:t,browserslistEnv:e.browserslistEnv})}},80598:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.mergeOptions=mergeOptions;t.isIterableIterator=isIterableIterator;function mergeOptions(e,t){for(const r of Object.keys(t)){if((r==="parserOpts"||r==="generatorOpts"||r==="assumptions")&&t[r]){const n=t[r];const s=e[r]||(e[r]={});mergeDefaultFields(s,n)}else{const n=t[r];if(n!==undefined)e[r]=n}}}function mergeDefaultFields(e,t){for(const r of Object.keys(t)){const n=t[r];if(n!==undefined)e[r]=n}}function isIterableIterator(e){return!!e&&typeof e.next==="function"&&typeof e[Symbol.iterator]==="function"}},77872:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.msg=msg;t.access=access;t.assertRootMode=assertRootMode;t.assertSourceMaps=assertSourceMaps;t.assertCompact=assertCompact;t.assertSourceType=assertSourceType;t.assertCallerMetadata=assertCallerMetadata;t.assertInputSourceMap=assertInputSourceMap;t.assertString=assertString;t.assertFunction=assertFunction;t.assertBoolean=assertBoolean;t.assertObject=assertObject;t.assertArray=assertArray;t.assertIgnoreList=assertIgnoreList;t.assertConfigApplicableTest=assertConfigApplicableTest;t.assertConfigFileSearch=assertConfigFileSearch;t.assertBabelrcSearch=assertBabelrcSearch;t.assertPluginList=assertPluginList;t.assertTargets=assertTargets;t.assertAssumptions=assertAssumptions;function _helperCompilationTargets(){const e=r(40773);_helperCompilationTargets=function(){return e};return e}var n=r(45294);function msg(e){switch(e.type){case"root":return``;case"env":return`${msg(e.parent)}.env["${e.name}"]`;case"overrides":return`${msg(e.parent)}.overrides[${e.index}]`;case"option":return`${msg(e.parent)}.${e.name}`;case"access":return`${msg(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${e.type}`)}}function access(e,t){return{type:"access",name:t,parent:e}}function assertRootMode(e,t){if(t!==undefined&&t!=="root"&&t!=="upward"&&t!=="upward-optional"){throw new Error(`${msg(e)} must be a "root", "upward", "upward-optional" or undefined`)}return t}function assertSourceMaps(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="inline"&&t!=="both"){throw new Error(`${msg(e)} must be a boolean, "inline", "both", or undefined`)}return t}function assertCompact(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="auto"){throw new Error(`${msg(e)} must be a boolean, "auto", or undefined`)}return t}function assertSourceType(e,t){if(t!==undefined&&t!=="module"&&t!=="script"&&t!=="unambiguous"){throw new Error(`${msg(e)} must be "module", "script", "unambiguous", or undefined`)}return t}function assertCallerMetadata(e,t){const r=assertObject(e,t);if(r){if(typeof r.name!=="string"){throw new Error(`${msg(e)} set but does not contain "name" property string`)}for(const t of Object.keys(r)){const n=access(e,t);const s=r[t];if(s!=null&&typeof s!=="boolean"&&typeof s!=="string"&&typeof s!=="number"){throw new Error(`${msg(n)} must be null, undefined, a boolean, a string, or a number.`)}}}return t}function assertInputSourceMap(e,t){if(t!==undefined&&typeof t!=="boolean"&&(typeof t!=="object"||!t)){throw new Error(`${msg(e)} must be a boolean, object, or undefined`)}return t}function assertString(e,t){if(t!==undefined&&typeof t!=="string"){throw new Error(`${msg(e)} must be a string, or undefined`)}return t}function assertFunction(e,t){if(t!==undefined&&typeof t!=="function"){throw new Error(`${msg(e)} must be a function, or undefined`)}return t}function assertBoolean(e,t){if(t!==undefined&&typeof t!=="boolean"){throw new Error(`${msg(e)} must be a boolean, or undefined`)}return t}function assertObject(e,t){if(t!==undefined&&(typeof t!=="object"||Array.isArray(t)||!t)){throw new Error(`${msg(e)} must be an object, or undefined`)}return t}function assertArray(e,t){if(t!=null&&!Array.isArray(t)){throw new Error(`${msg(e)} must be an array, or undefined`)}return t}function assertIgnoreList(e,t){const r=assertArray(e,t);if(r){r.forEach((t,r)=>assertIgnoreItem(access(e,r),t))}return r}function assertIgnoreItem(e,t){if(typeof t!=="string"&&typeof t!=="function"&&!(t instanceof RegExp)){throw new Error(`${msg(e)} must be an array of string/Function/RegExp values, or undefined`)}return t}function assertConfigApplicableTest(e,t){if(t===undefined)return t;if(Array.isArray(t)){t.forEach((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a string/Function/RegExp, or an array of those`)}return t}function checkValidTest(e){return typeof e==="string"||typeof e==="function"||e instanceof RegExp}function assertConfigFileSearch(e,t){if(t!==undefined&&typeof t!=="boolean"&&typeof t!=="string"){throw new Error(`${msg(e)} must be a undefined, a boolean, a string, `+`got ${JSON.stringify(t)}`)}return t}function assertBabelrcSearch(e,t){if(t===undefined||typeof t==="boolean")return t;if(Array.isArray(t)){t.forEach((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a undefined, a boolean, a string/Function/RegExp `+`or an array of those, got ${JSON.stringify(t)}`)}return t}function assertPluginList(e,t){const r=assertArray(e,t);if(r){r.forEach((t,r)=>assertPluginItem(access(e,r),t))}return r}function assertPluginItem(e,t){if(Array.isArray(t)){if(t.length===0){throw new Error(`${msg(e)} must include an object`)}if(t.length>3){throw new Error(`${msg(e)} may only be a two-tuple or three-tuple`)}assertPluginTarget(access(e,0),t[0]);if(t.length>1){const r=t[1];if(r!==undefined&&r!==false&&(typeof r!=="object"||Array.isArray(r)||r===null)){throw new Error(`${msg(access(e,1))} must be an object, false, or undefined`)}}if(t.length===3){const r=t[2];if(r!==undefined&&typeof r!=="string"){throw new Error(`${msg(access(e,2))} must be a string, or undefined`)}}}else{assertPluginTarget(e,t)}return t}function assertPluginTarget(e,t){if((typeof t!=="object"||!t)&&typeof t!=="string"&&typeof t!=="function"){throw new Error(`${msg(e)} must be a string, object, function`)}return t}function assertTargets(e,t){if((0,_helperCompilationTargets().isBrowsersQueryValid)(t))return t;if(typeof t!=="object"||!t||Array.isArray(t)){throw new Error(`${msg(e)} must be a string, an array of strings or an object`)}const r=access(e,"browsers");const n=access(e,"esmodules");assertBrowsersList(r,t.browsers);assertBoolean(n,t.esmodules);for(const r of Object.keys(t)){const n=t[r];const s=access(e,r);if(r==="esmodules")assertBoolean(s,n);else if(r==="browsers")assertBrowsersList(s,n);else if(!Object.hasOwnProperty.call(_helperCompilationTargets().TargetNames,r)){const e=Object.keys(_helperCompilationTargets().TargetNames).join(", ");throw new Error(`${msg(s)} is not a valid target. Supported targets are ${e}`)}else assertBrowserVersion(s,n)}return t}function assertBrowsersList(e,t){if(t!==undefined&&!(0,_helperCompilationTargets().isBrowsersQueryValid)(t)){throw new Error(`${msg(e)} must be undefined, a string or an array of strings`)}}function assertBrowserVersion(e,t){if(typeof t==="number"&&Math.round(t)===t)return;if(typeof t==="string")return;throw new Error(`${msg(e)} must be a string or an integer number`)}function assertAssumptions(e,t){if(t===undefined)return;if(typeof t!=="object"||t===null){throw new Error(`${msg(e)} must be an object or undefined.`)}let r=e;do{r=r.parent}while(r.type!=="root");const s=r.source==="preset";for(const r of Object.keys(t)){const i=access(e,r);if(!n.assumptionsNames.has(r)){throw new Error(`${msg(i)} is not a supported assumption.`)}if(typeof t[r]!=="boolean"){throw new Error(`${msg(i)} must be a boolean.`)}if(s&&t[r]===false){throw new Error(`${msg(i)} cannot be set to 'false' inside presets.`)}}return t}},45294:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.checkNoUnwrappedItemOptionPairs=checkNoUnwrappedItemOptionPairs;t.assumptionsNames=void 0;var n=r(78391);var s=r(12383);var i=r(77872);const a={cwd:i.assertString,root:i.assertString,rootMode:i.assertRootMode,configFile:i.assertConfigFileSearch,caller:i.assertCallerMetadata,filename:i.assertString,filenameRelative:i.assertString,code:i.assertBoolean,ast:i.assertBoolean,cloneInputAst:i.assertBoolean,envName:i.assertString};const o={babelrc:i.assertBoolean,babelrcRoots:i.assertBabelrcSearch};const l={extends:i.assertString,ignore:i.assertIgnoreList,only:i.assertIgnoreList,targets:i.assertTargets,browserslistConfigFile:i.assertConfigFileSearch,browserslistEnv:i.assertString};const u={inputSourceMap:i.assertInputSourceMap,presets:i.assertPluginList,plugins:i.assertPluginList,passPerPreset:i.assertBoolean,assumptions:i.assertAssumptions,env:assertEnvSet,overrides:assertOverridesList,test:i.assertConfigApplicableTest,include:i.assertConfigApplicableTest,exclude:i.assertConfigApplicableTest,retainLines:i.assertBoolean,comments:i.assertBoolean,shouldPrintComment:i.assertFunction,compact:i.assertCompact,minified:i.assertBoolean,auxiliaryCommentBefore:i.assertString,auxiliaryCommentAfter:i.assertString,sourceType:i.assertSourceType,wrapPluginVisitorMethod:i.assertFunction,highlightCode:i.assertBoolean,sourceMaps:i.assertSourceMaps,sourceMap:i.assertSourceMaps,sourceFileName:i.assertString,sourceRoot:i.assertString,parserOpts:i.assertObject,generatorOpts:i.assertObject};{Object.assign(u,{getModuleId:i.assertFunction,moduleRoot:i.assertString,moduleIds:i.assertBoolean,moduleId:i.assertString})}const p=new Set(["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noNewArrows","objectRestNoSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"]);t.assumptionsNames=p;function getSource(e){return e.type==="root"?e.source:getSource(e.parent)}function validate(e,t){return validateNested({type:"root",source:e},t)}function validateNested(e,t){const r=getSource(e);assertNoDuplicateSourcemap(t);Object.keys(t).forEach(n=>{const s={type:"option",name:n,parent:e};if(r==="preset"&&l[n]){throw new Error(`${(0,i.msg)(s)} is not allowed in preset options`)}if(r!=="arguments"&&a[n]){throw new Error(`${(0,i.msg)(s)} is only allowed in root programmatic options`)}if(r!=="arguments"&&r!=="configfile"&&o[n]){if(r==="babelrcfile"||r==="extendsfile"){throw new Error(`${(0,i.msg)(s)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, `+`or babel.config.js/config file options`)}throw new Error(`${(0,i.msg)(s)} is only allowed in root programmatic options, or babel.config.js/config file options`)}const p=u[n]||l[n]||o[n]||a[n]||throwUnknownError;p(s,t[n])});return t}function throwUnknownError(e){const t=e.name;if(s.default[t]){const{message:r,version:n=5}=s.default[t];throw new Error(`Using removed Babel ${n} option: ${(0,i.msg)(e)} - ${r}`)}else{const t=new Error(`Unknown option: ${(0,i.msg)(e)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);t.code="BABEL_UNKNOWN_OPTION";throw t}}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function assertNoDuplicateSourcemap(e){if(has(e,"sourceMap")&&has(e,"sourceMaps")){throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}}function assertEnvSet(e,t){if(e.parent.type==="env"){throw new Error(`${(0,i.msg)(e)} is not allowed inside of another .env block`)}const r=e.parent;const n=(0,i.assertObject)(e,t);if(n){for(const t of Object.keys(n)){const s=(0,i.assertObject)((0,i.access)(e,t),n[t]);if(!s)continue;const a={type:"env",name:t,parent:r};validateNested(a,s)}}return n}function assertOverridesList(e,t){if(e.parent.type==="env"){throw new Error(`${(0,i.msg)(e)} is not allowed inside an .env block`)}if(e.parent.type==="overrides"){throw new Error(`${(0,i.msg)(e)} is not allowed inside an .overrides block`)}const r=e.parent;const n=(0,i.assertArray)(e,t);if(n){for(const[t,s]of n.entries()){const n=(0,i.access)(e,t);const a=(0,i.assertObject)(n,s);if(!a)throw new Error(`${(0,i.msg)(n)} must be an object`);const o={type:"overrides",index:t,parent:r};validateNested(o,a)}}return n}function checkNoUnwrappedItemOptionPairs(e,t,r,n){if(t===0)return;const s=e[t-1];const i=e[t];if(s.file&&s.options===undefined&&typeof i.value==="object"){n.message+=`\n- Maybe you meant to use\n`+`"${r}": [\n ["${s.file.request}", ${JSON.stringify(i.value,undefined,2)}]\n]\n`+`To be a valid ${r}, its name and options should be wrapped in a pair of brackets`}}},49114:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validatePluginObject=validatePluginObject;var n=r(77872);const s={name:n.assertString,manipulateOptions:n.assertFunction,pre:n.assertFunction,post:n.assertFunction,inherits:n.assertFunction,visitor:assertVisitorMap,parserOverride:n.assertFunction,generatorOverride:n.assertFunction};function assertVisitorMap(e,t){const r=(0,n.assertObject)(e,t);if(r){Object.keys(r).forEach(e=>assertVisitorHandler(e,r[e]));if(r.enter||r.exit){throw new Error(`${(0,n.msg)(e)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`)}}return r}function assertVisitorHandler(e,t){if(t&&typeof t==="object"){Object.keys(t).forEach(t=>{if(t!=="enter"&&t!=="exit"){throw new Error(`.visitor["${e}"] may only have .enter and/or .exit handlers.`)}})}else if(typeof t!=="function"){throw new Error(`.visitor["${e}"] must be a function`)}return t}function validatePluginObject(e){const t={type:"root",source:"plugin"};Object.keys(e).forEach(r=>{const n=s[r];if(n){const s={type:"option",name:r,parent:t};n(s,e[r])}else{const e=new Error(`.${r} is not a valid Plugin property`);e.code="BABEL_UNKNOWN_PLUGIN_PROPERTY";throw e}});return e}},12383:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. "+"Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. "+"Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using "+"or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. "+"Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. "+"Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the "+"tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling "+"that calls Babel to assign `map.file` themselves."}};t.default=r},33316:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.maybeAsync=maybeAsync;t.forwardAsync=forwardAsync;t.isThenable=isThenable;t.waitFor=t.onFirstPause=t.isAsync=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n=e=>e;const s=_gensync()(function*(e){return yield*e});const i=_gensync()({sync:()=>false,errback:e=>e(null,true)});t.isAsync=i;function maybeAsync(e,t){return _gensync()({sync(...r){const n=e.apply(this,r);if(isThenable(n))throw new Error(t);return n},async(...t){return Promise.resolve(e.apply(this,t))}})}const a=_gensync()({sync:e=>e("sync"),async:e=>e("async")});function forwardAsync(e,t){const r=_gensync()(e);return a(e=>{const n=r[e];return t(n)})}const o=_gensync()({name:"onFirstPause",arity:2,sync:function(e){return s.sync(e)},errback:function(e,t,r){let n=false;s.errback(e,(e,t)=>{n=true;r(e,t)});if(!n){t()}}});t.onFirstPause=o;const l=_gensync()({sync:n,async:n});t.waitFor=l;function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},48451:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stat=t.readFile=void 0;function _fs(){const e=r(35747);_fs=function(){return e};return e}function _gensync(){const e=r(67941);_gensync=function(){return e};return e}const n=_gensync()({sync:_fs().readFileSync,errback:_fs().readFile});t.readFile=n;const s=_gensync()({sync:_fs().statSync,errback:_fs().stat});t.stat=s},91785:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Plugin=Plugin;Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"buildExternalHelpers",{enumerable:true,get:function(){return s.default}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return i.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return i.resolvePreset}});Object.defineProperty(t,"getEnv",{enumerable:true,get:function(){return a.getEnv}});Object.defineProperty(t,"tokTypes",{enumerable:true,get:function(){return _parser().tokTypes}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return _traverse().default}});Object.defineProperty(t,"template",{enumerable:true,get:function(){return _template().default}});Object.defineProperty(t,"createConfigItem",{enumerable:true,get:function(){return o.createConfigItem}});Object.defineProperty(t,"createConfigItemSync",{enumerable:true,get:function(){return o.createConfigItemSync}});Object.defineProperty(t,"createConfigItemAsync",{enumerable:true,get:function(){return o.createConfigItemAsync}});Object.defineProperty(t,"loadPartialConfig",{enumerable:true,get:function(){return o.loadPartialConfig}});Object.defineProperty(t,"loadPartialConfigSync",{enumerable:true,get:function(){return o.loadPartialConfigSync}});Object.defineProperty(t,"loadPartialConfigAsync",{enumerable:true,get:function(){return o.loadPartialConfigAsync}});Object.defineProperty(t,"loadOptions",{enumerable:true,get:function(){return o.loadOptions}});Object.defineProperty(t,"loadOptionsSync",{enumerable:true,get:function(){return o.loadOptionsSync}});Object.defineProperty(t,"loadOptionsAsync",{enumerable:true,get:function(){return o.loadOptionsAsync}});Object.defineProperty(t,"transform",{enumerable:true,get:function(){return l.transform}});Object.defineProperty(t,"transformSync",{enumerable:true,get:function(){return l.transformSync}});Object.defineProperty(t,"transformAsync",{enumerable:true,get:function(){return l.transformAsync}});Object.defineProperty(t,"transformFile",{enumerable:true,get:function(){return u.transformFile}});Object.defineProperty(t,"transformFileSync",{enumerable:true,get:function(){return u.transformFileSync}});Object.defineProperty(t,"transformFileAsync",{enumerable:true,get:function(){return u.transformFileAsync}});Object.defineProperty(t,"transformFromAst",{enumerable:true,get:function(){return p.transformFromAst}});Object.defineProperty(t,"transformFromAstSync",{enumerable:true,get:function(){return p.transformFromAstSync}});Object.defineProperty(t,"transformFromAstAsync",{enumerable:true,get:function(){return p.transformFromAstAsync}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return f.parse}});Object.defineProperty(t,"parseSync",{enumerable:true,get:function(){return f.parseSync}});Object.defineProperty(t,"parseAsync",{enumerable:true,get:function(){return f.parseAsync}});t.types=t.OptionManager=t.DEFAULT_EXTENSIONS=t.version=void 0;var n=r(34284);var s=r(72293);var i=r(81857);var a=r(94332);function _types(){const e=r(8892);_types=function(){return e};return e}Object.defineProperty(t,"types",{enumerable:true,get:function(){return _types()}});function _parser(){const e=r(72218);_parser=function(){return e};return e}function _traverse(){const e=r(4267);_traverse=function(){return e};return e}function _template(){const e=r(36900);_template=function(){return e};return e}var o=r(49558);var l=r(41478);var u=r(28678);var p=r(29437);var f=r(608);const c="7.14.6";t.version=c;const d=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);t.DEFAULT_EXTENSIONS=d;class OptionManager{init(e){return(0,o.loadOptions)(e)}}t.OptionManager=OptionManager;function Plugin(e){throw new Error(`The (${e}) Babel 5 plugin is being run with an unsupported Babel version.`)}},608:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseAsync=t.parseSync=t.parse=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(49558);var s=r(20886);var i=r(25042);const a=_gensync()(function*parse(e,t){const r=yield*(0,n.default)(t);if(r===null){return null}return yield*(0,s.default)(r.passes,(0,i.default)(r),e)});const o=function parse(e,t,r){if(typeof t==="function"){r=t;t=undefined}if(r===undefined)return a.sync(e,t);a.errback(e,t,r)};t.parse=o;const l=a.sync;t.parseSync=l;const u=a.async;t.parseAsync=u},20886:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parser;function _parser(){const e=r(72218);_parser=function(){return e};return e}function _codeFrame(){const e=r(54116);_codeFrame=function(){return e};return e}var n=r(27015);function*parser(e,{parserOpts:t,highlightCode:r=true,filename:s="unknown"},i){try{const a=[];for(const r of e){for(const e of r){const{parserOverride:r}=e;if(r){const e=r(i,t,_parser().parse);if(e!==undefined)a.push(e)}}}if(a.length===0){return(0,_parser().parse)(i,t)}else if(a.length===1){yield*[];if(typeof a[0].then==="function"){throw new Error(`You appear to be using an async parser plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}return a[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(e){if(e.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"){e.message+="\nConsider renaming the file to '.mjs', or setting sourceType:module "+"or sourceType:unambiguous in your Babel config for this file."}const{loc:t,missingPlugin:a}=e;if(t){const o=(0,_codeFrame().codeFrameColumns)(i,{start:{line:t.line,column:t.column+1}},{highlightCode:r});if(a){e.message=`${s}: `+(0,n.default)(a[0],t,o)}else{e.message=`${s}: ${e.message}\n\n`+o}e.code="BABEL_PARSE_ERROR"}throw e}}},27015:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateMissingPluginMessage;const r={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",url:"https://git.io/JYer8"}},classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-private-methods",url:"https://git.io/JvpRG"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://git.io/JTLB6"},transform:{name:"@babel/plugin-proposal-class-static-block",url:"https://git.io/JTLBP"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://git.io/JfKOH"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://git.io/vb4y9"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://git.io/vb4ST"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://git.io/vb4yh"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://git.io/vb4S3"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://git.io/vb4Sv"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://git.io/vb4SO"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://git.io/vb4yH"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://git.io/vb4Sf"},transform:{name:"@babel/plugin-proposal-export-namespace-from",url:"https://git.io/vb4SG"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://git.io/vb4yb"},transform:{name:"@babel/preset-flow",url:"https://git.io/JfeDn"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://git.io/vb4y7"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://git.io/vb4St"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://git.io/vb4yN"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://git.io/vb4SZ"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://git.io/vbKK6"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://git.io/vb4yA"},transform:{name:"@babel/preset-react",url:"https://git.io/JfeDR"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://git.io/JUbkv"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://git.io/JTL8G"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://git.io/vb4Sq"},transform:{name:"@babel/plugin-proposal-numeric-separator",url:"https://git.io/vb4yS"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://git.io/vb4Sc"},transform:{name:"@babel/plugin-proposal-optional-chaining",url:"https://git.io/vb4Sk"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://git.io/vb4yj"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://git.io/vb4SU"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://git.io/JfK3q"},transform:{name:"@babel/plugin-proposal-private-property-in-object",url:"https://git.io/JfK3O"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://git.io/JvKp3"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://git.io/vb4SJ"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://git.io/vb4yF"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://git.io/vb4SC"},transform:{name:"@babel/preset-typescript",url:"https://git.io/JfeDz"}},asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://git.io/vb4SY"},transform:{name:"@babel/plugin-proposal-async-generator-functions",url:"https://git.io/vb4yp"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://git.io/vAlBp"},transform:{name:"@babel/plugin-proposal-logical-assignment-operators",url:"https://git.io/vAlRe"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://git.io/vb4yx"},transform:{name:"@babel/plugin-proposal-nullish-coalescing-operator",url:"https://git.io/vb4Se"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://git.io/vb4y5"},transform:{name:"@babel/plugin-proposal-object-rest-spread",url:"https://git.io/vb4Ss"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://git.io/vb4Sn"},transform:{name:"@babel/plugin-proposal-optional-catch-binding",url:"https://git.io/vb4SI"}}};r.privateIn.syntax=r.privateIn.transform;const n=({name:e,url:t})=>`${e} (${t})`;function generateMissingPluginMessage(e,t,s){let i=`Support for the experimental syntax '${e}' isn't currently enabled `+`(${t.line}:${t.column+1}):\n\n`+s;const a=r[e];if(a){const{syntax:e,transform:t}=a;if(e){const r=n(e);if(t){const e=n(t);const s=t.name.startsWith("@babel/plugin")?"plugins":"presets";i+=`\n\nAdd ${e} to the '${s}' section of your Babel config to enable transformation.\nIf you want to leave it as-is, add ${r} to the 'plugins' section to enable parsing.`}else{i+=`\n\nAdd ${r} to the 'plugins' section of your Babel config `+`to enable parsing.`}}}return i}},72293:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=_default;function helpers(){const e=n(25419);helpers=function(){return e};return e}function _generator(){const e=n(23656);_generator=function(){return e};return e}function _template(){const e=n(36900);_template=function(){return e};return e}function t(){const e=n(8892);t=function(){return e};return e}var s=n(34284);const i=e=>(0,_template().default)` + `}},35295:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.get=get;t.minVersion=minVersion;t.getDependencies=getDependencies;t.ensure=ensure;t.default=t.list=void 0;var r=s(4267);var i=s(19761);var n=s(53482);function makePath(e){const t=[];for(;e.parentPath;e=e.parentPath){t.push(e.key);if(e.inList)t.push(e.listKey)}return t.reverse().join(".")}let a=undefined;function getHelperMetadata(e){const t=new Set;const s=new Set;const i=new Map;let a;let o;const l=[];const c=[];const p=[];const u={ImportDeclaration(e){const t=e.node.source.value;if(!n.default[t]){throw e.buildCodeFrameError(`Unknown helper ${t}`)}if(e.get("specifiers").length!==1||!e.get("specifiers.0").isImportDefaultSpecifier()){throw e.buildCodeFrameError("Helpers can only import a default value")}const s=e.node.specifiers[0].local;i.set(s,t);c.push(makePath(e))},ExportDefaultDeclaration(e){const t=e.get("declaration");if(t.isFunctionDeclaration()){if(!t.node.id){throw t.buildCodeFrameError("Helpers should give names to their exported func declaration")}a=t.node.id.name}o=makePath(e)},ExportAllDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},ExportNamedDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},Statement(e){if(e.isModuleDeclaration())return;e.skip()}};const h={Program(e){const t=e.scope.getAllBindings();Object.keys(t).forEach(e=>{if(e===a)return;if(i.has(t[e].identifier))return;s.add(e)})},ReferencedIdentifier(e){const s=e.node.name;const r=e.scope.getBinding(s,true);if(!r){t.add(s)}else if(i.has(r.identifier)){p.push(makePath(e))}},AssignmentExpression(e){const t=e.get("left");if(!(a in t.getBindingIdentifiers()))return;if(!t.isIdentifier()){throw t.buildCodeFrameError("Only simple assignments to exports are allowed in helpers")}const s=e.scope.getBinding(a);if(s!=null&&s.scope.path.isProgram()){l.push(makePath(e))}}};(0,r.default)(e.ast,u,e.scope);(0,r.default)(e.ast,h,e.scope);if(!o)throw new Error("Helpers must default-export something.");l.reverse();return{globals:Array.from(t),localBindingNames:Array.from(s),dependencies:i,exportBindingAssignments:l,exportPath:o,exportName:a,importBindingsReferences:p,importPaths:c}}function permuteHelperAST(e,t,s,n,a){if(n&&!s){throw new Error("Unexpected local bindings for module-based helpers.")}if(!s)return;const{localBindingNames:o,dependencies:l,exportBindingAssignments:c,exportPath:p,exportName:u,importBindingsReferences:h,importPaths:f}=t;const d={};l.forEach((e,t)=>{d[t.name]=typeof a==="function"&&a(e)||t});const y={};const m=new Set(n||[]);o.forEach(e=>{let t=e;while(m.has(t))t="_"+t;if(t!==e)y[e]=t});if(s.type==="Identifier"&&u!==s.name){y[u]=s.name}const g={Program(e){const t=e.get(p);const r=f.map(t=>e.get(t));const n=h.map(t=>e.get(t));const a=t.get("declaration");if(s.type==="Identifier"){if(a.isFunctionDeclaration()){t.replaceWith(a)}else{t.replaceWith(i.variableDeclaration("var",[i.variableDeclarator(s,a.node)]))}}else if(s.type==="MemberExpression"){if(a.isFunctionDeclaration()){c.forEach(t=>{const r=e.get(t);r.replaceWith(i.assignmentExpression("=",s,r.node))});t.replaceWith(a);e.pushContainer("body",i.expressionStatement(i.assignmentExpression("=",s,i.identifier(u))))}else{t.replaceWith(i.expressionStatement(i.assignmentExpression("=",s,a.node)))}}else{throw new Error("Unexpected helper format.")}Object.keys(y).forEach(t=>{e.scope.rename(t,y[t])});for(const e of r)e.remove();for(const e of n){const t=i.cloneNode(d[e.node.name]);e.replaceWith(t)}e.stop()}};(0,r.default)(e.ast,g,e.scope)}const o=Object.create(null);function loadHelper(e){if(!o[e]){const t=n.default[e];if(!t){throw Object.assign(new ReferenceError(`Unknown helper ${e}`),{code:"BABEL_HELPER_UNKNOWN",helper:e})}const s=()=>{const s={ast:i.file(t.ast())};if(a){return new a({filename:`babel-helper://${e}`},s)}return s};const r=getHelperMetadata(s());o[e]={build(e,t,i){const n=s();permuteHelperAST(n,r,t,i,e);return{nodes:n.ast.program.body,globals:r.globals}},minVersion(){return t.minVersion},dependencies:r.dependencies}}return o[e]}function get(e,t,s,r){return loadHelper(e).build(t,s,r)}function minVersion(e){return loadHelper(e).minVersion()}function getDependencies(e){return Array.from(loadHelper(e).dependencies.values())}function ensure(e,t){if(!a){a=t}loadHelper(e)}const l=Object.keys(n.default).map(e=>e.replace(/^_/,"")).filter(e=>e!=="__esModule");t.list=l;var c=get;t.default=c},51201:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const s=true;const r=true;const i=true;const n=true;const a=true;const o=true;class TokenType{constructor(e,t={}){this.label=void 0;this.keyword=void 0;this.beforeExpr=void 0;this.startsExpr=void 0;this.rightAssociative=void 0;this.isLoop=void 0;this.isAssign=void 0;this.prefix=void 0;this.postfix=void 0;this.binop=void 0;this.updateContext=void 0;this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.rightAssociative=!!t.rightAssociative;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop!=null?t.binop:null;this.updateContext=null}}const l=new Map;function createKeyword(e,t={}){t.keyword=e;const s=new TokenType(e,t);l.set(e,s);return s}function createBinop(e,t){return new TokenType(e,{beforeExpr:s,binop:t})}const c={num:new TokenType("num",{startsExpr:r}),bigint:new TokenType("bigint",{startsExpr:r}),decimal:new TokenType("decimal",{startsExpr:r}),regexp:new TokenType("regexp",{startsExpr:r}),string:new TokenType("string",{startsExpr:r}),name:new TokenType("name",{startsExpr:r}),privateName:new TokenType("#name",{startsExpr:r}),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:s,startsExpr:r}),bracketHashL:new TokenType("#[",{beforeExpr:s,startsExpr:r}),bracketBarL:new TokenType("[|",{beforeExpr:s,startsExpr:r}),bracketR:new TokenType("]"),bracketBarR:new TokenType("|]"),braceL:new TokenType("{",{beforeExpr:s,startsExpr:r}),braceBarL:new TokenType("{|",{beforeExpr:s,startsExpr:r}),braceHashL:new TokenType("#{",{beforeExpr:s,startsExpr:r}),braceR:new TokenType("}",{beforeExpr:s}),braceBarR:new TokenType("|}"),parenL:new TokenType("(",{beforeExpr:s,startsExpr:r}),parenR:new TokenType(")"),comma:new TokenType(",",{beforeExpr:s}),semi:new TokenType(";",{beforeExpr:s}),colon:new TokenType(":",{beforeExpr:s}),doubleColon:new TokenType("::",{beforeExpr:s}),dot:new TokenType("."),question:new TokenType("?",{beforeExpr:s}),questionDot:new TokenType("?."),arrow:new TokenType("=>",{beforeExpr:s}),template:new TokenType("template"),ellipsis:new TokenType("...",{beforeExpr:s}),backQuote:new TokenType("`",{startsExpr:r}),dollarBraceL:new TokenType("${",{beforeExpr:s,startsExpr:r}),at:new TokenType("@"),hash:new TokenType("#",{startsExpr:r}),interpreterDirective:new TokenType("#!..."),eq:new TokenType("=",{beforeExpr:s,isAssign:n}),assign:new TokenType("_=",{beforeExpr:s,isAssign:n}),slashAssign:new TokenType("_=",{beforeExpr:s,isAssign:n}),incDec:new TokenType("++/--",{prefix:a,postfix:o,startsExpr:r}),bang:new TokenType("!",{beforeExpr:s,prefix:a,startsExpr:r}),tilde:new TokenType("~",{beforeExpr:s,prefix:a,startsExpr:r}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:s,binop:9,prefix:a,startsExpr:r}),modulo:new TokenType("%",{beforeExpr:s,binop:10,startsExpr:r}),star:new TokenType("*",{binop:10}),slash:createBinop("/",10),exponent:new TokenType("**",{beforeExpr:s,binop:11,rightAssociative:true}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:s}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:s}),_do:createKeyword("do",{isLoop:i,beforeExpr:s}),_else:createKeyword("else",{beforeExpr:s}),_finally:createKeyword("finally"),_for:createKeyword("for",{isLoop:i}),_function:createKeyword("function",{startsExpr:r}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:s}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:s,prefix:a,startsExpr:r}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_while:createKeyword("while",{isLoop:i}),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:s,startsExpr:r}),_this:createKeyword("this",{startsExpr:r}),_super:createKeyword("super",{startsExpr:r}),_class:createKeyword("class",{startsExpr:r}),_extends:createKeyword("extends",{beforeExpr:s}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:r}),_null:createKeyword("null",{startsExpr:r}),_true:createKeyword("true",{startsExpr:r}),_false:createKeyword("false",{startsExpr:r}),_in:createKeyword("in",{beforeExpr:s,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:s,binop:7}),_typeof:createKeyword("typeof",{beforeExpr:s,prefix:a,startsExpr:r}),_void:createKeyword("void",{beforeExpr:s,prefix:a,startsExpr:r}),_delete:createKeyword("delete",{beforeExpr:s,prefix:a,startsExpr:r})};const p=/\r\n?|[\n\u2028\u2029]/;const u=new RegExp(p.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const h=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function isWhitespace(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return true;default:return false}}class Position{constructor(e,t){this.line=void 0;this.column=void 0;this.line=e;this.column=t}}class SourceLocation{constructor(e,t){this.start=void 0;this.end=void 0;this.filename=void 0;this.identifierName=void 0;this.start=e;this.end=t}}function getLineInfo(e,t){let s=1;let r=0;let i;u.lastIndex=0;while((i=u.exec(e))&&i.index0){r=t[--i]}if(r===null){return}for(let e=0;e0){r.trailingComments=n}else if(r.trailingComments!==undefined){r.trailingComments=[]}}processComment(e){if(e.type==="Program"&&e.body.length>0)return;const t=this.state.commentStack;let s,r,i,n,a;if(this.state.trailingComments.length>0){if(this.state.trailingComments[0].start>=e.end){i=this.state.trailingComments;this.state.trailingComments=[]}else{this.state.trailingComments.length=0}}else if(t.length>0){const s=last(t);if(s.trailingComments&&s.trailingComments[0].start>=e.end){i=s.trailingComments;delete s.trailingComments}}if(t.length>0&&last(t).start>=e.start){s=t.pop()}while(t.length>0&&last(t).start>=e.start){r=t.pop()}if(!r&&s)r=s;if(s){switch(e.type){case"ObjectExpression":this.adjustCommentsAfterTrailingComma(e,e.properties);break;case"ObjectPattern":this.adjustCommentsAfterTrailingComma(e,e.properties,true);break;case"CallExpression":this.adjustCommentsAfterTrailingComma(e,e.arguments);break;case"ArrayExpression":this.adjustCommentsAfterTrailingComma(e,e.elements);break;case"ArrayPattern":this.adjustCommentsAfterTrailingComma(e,e.elements,true);break}}else if(this.state.commentPreviousNode&&(this.state.commentPreviousNode.type==="ImportSpecifier"&&e.type!=="ImportSpecifier"||this.state.commentPreviousNode.type==="ExportSpecifier"&&e.type!=="ExportSpecifier")){this.adjustCommentsAfterTrailingComma(e,[this.state.commentPreviousNode])}if(r){if(r.leadingComments){if(r!==e&&r.leadingComments.length>0&&last(r.leadingComments).end<=e.start){e.leadingComments=r.leadingComments;delete r.leadingComments}else{for(n=r.leadingComments.length-2;n>=0;--n){if(r.leadingComments[n].end<=e.start){e.leadingComments=r.leadingComments.splice(0,n+1);break}}}}}else if(this.state.leadingComments.length>0){if(last(this.state.leadingComments).end<=e.start){if(this.state.commentPreviousNode){for(a=0;a0){e.leadingComments=this.state.leadingComments;this.state.leadingComments=[]}}else{for(n=0;ne.start){break}}const t=this.state.leadingComments.slice(0,n);if(t.length){e.leadingComments=t}i=this.state.leadingComments.slice(n);if(i.length===0){i=null}}}this.state.commentPreviousNode=e;if(i){if(i.length&&i[0].start>=e.start&&last(i).end<=e.end){e.innerComments=i}else{const t=i.findIndex(t=>t.end>=e.end);if(t>0){e.innerComments=i.slice(0,t);e.trailingComments=i.slice(t)}else{e.trailingComments=i}}}t.push(e)}}const f=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const d=makeErrorTemplates({AccessorIsGenerator:"A %0ter cannot be a generator.",ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accesor must not have any formal parameters.",BadSetterArity:"A 'set' accesor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accesor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:"'%0' require an initialization value.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:"`%0` has already been exported. Exported identifiers must be unique.",DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '%0' as '%1' } from 'some-module'`?",ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:"'%0' loop variable declaration may not have an initializer.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:"Unsyntactic %0.",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:'A string literal cannot be used as an imported binding.\n- Did you mean `import { "%0" as foo }`?',ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:"`import()` requires exactly %0.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidDecimal:"Invalid decimal.",InvalidDigit:"Expected number in radix %0.",InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:"Escape sequence in keyword %0.",InvalidIdentifier:"Invalid identifier %0.",InvalidLhs:"Invalid left-hand side in %0.",InvalidLhsBinding:"Binding invalid left-hand side in %0.",InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:"Unexpected character '%0'.",InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:"Private name #%0 is not defined.",InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:"Label '%0' is already declared.",LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:'Duplicate key "%0" is not allowed in module attributes.',ModuleExportNameHasLoneSurrogate:"An export name cannot include a lone surrogate, found '\\u%0'.",ModuleExportUndefined:"Export '%0' is not defined.",MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:"Primary Topic Reference found but pipelineOperator not passed 'smart' for 'proposal' option.",PrivateInExpectedIn:"Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`).",PrivateNameRedeclaration:"Duplicate private name #%0.",RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:"Assigning to '%0' in strict mode.",StrictEvalArgumentsBinding:"Binding '%0' in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:"Unexpected keyword '%0'.",UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Private names can only be used as the name of a class element (i.e. class C { #p = 42; #m() {} } )\n or a property of member expression (i.e. this.#p).",UnexpectedReservedWord:"Unexpected reserved word '%0'.",UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:"Unexpected token '%0'.",UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:"The only valid meta property for %0 is %0.%1.",UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",VarRedeclaration:"Identifier '%0' has already been declared.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},f.SyntaxError);const y=makeErrorTemplates({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},f.SourceTypeModuleError);function makeErrorTemplates(e,t){const s={};Object.keys(e).forEach(r=>{s[r]=Object.freeze({code:t,reasonCode:r,template:e[r]})});return Object.freeze(s)}class ParserError extends CommentsParser{getLocationForPosition(e){let t;if(e===this.state.start)t=this.state.startLoc;else if(e===this.state.lastTokStart)t=this.state.lastTokStartLoc;else if(e===this.state.end)t=this.state.endLoc;else if(e===this.state.lastTokEnd)t=this.state.lastTokEndLoc;else t=getLineInfo(this.input,e);return t}raise(e,{code:t,reasonCode:s,template:r},...i){return this.raiseWithData(e,{code:t,reasonCode:s},r,...i)}raiseOverwrite(e,{code:t,template:s},...r){const i=this.getLocationForPosition(e);const n=s.replace(/%(\d+)/g,(e,t)=>r[t])+` (${i.line}:${i.column})`;if(this.options.errorRecovery){const t=this.state.errors;for(let s=t.length-1;s>=0;s--){const r=t[s];if(r.pos===e){return Object.assign(r,{message:n})}else if(r.posr[t])+` (${i.line}:${i.column})`;return this._raise(Object.assign({loc:i,pos:e},t),n)}_raise(e,t){const s=new SyntaxError(t);Object.assign(s,e);if(this.options.errorRecovery){if(!this.isLookahead)this.state.errors.push(s);return s}else{throw s}}}var m=e=>(class extends e{parseRegExpLiteral({pattern:e,flags:t}){let s=null;try{s=new RegExp(e,t)}catch(e){}const r=this.estreeParseLiteral(s);r.regex={pattern:e,flags:t};return r}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const s=this.estreeParseLiteral(t);s.bigint=String(s.value||e);return s}parseDecimalLiteral(e){const t=null;const s=this.estreeParseLiteral(t);s.decimal=String(s.value||e);return s}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;const s=this.startNodeAt(e.start,e.loc.start);const r=this.startNodeAt(t.start,t.loc.start);r.value=t.extra.expressionValue;r.raw=t.extra.raw;s.expression=this.finishNodeAt(r,"Literal",t.end,t.loc.end);s.directive=t.extra.raw.slice(1,-1);return this.finishNodeAt(s,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}stmtToDirective(e){const t=super.stmtToDirective(e);const s=e.expression.value;this.addExtra(t.value,"expressionValue",s);return t}parseBlockBody(e,...t){super.parseBlockBody(e,...t);const s=e.directives.map(e=>this.directiveToStmt(e));e.body=s.concat(e.body);delete e.directives}pushClassMethod(e,t,s,r,i,n){this.parseMethod(t,s,r,i,n,"ClassMethod",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parseMaybePrivateName(...e){const t=super.parseMaybePrivateName(...e);if(t.type==="PrivateName"&&this.getPluginOption("estree","classFeatures")){return this.convertPrivateNameToPrivateIdentifier(t)}return t}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}return e.name}parseLiteral(e,t){const s=super.parseLiteral(e,t);s.raw=s.extra.raw;delete s.extra;return s}parseFunctionBody(e,t,s=false){super.parseFunctionBody(e,t,s);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,s,r,i,n,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,s,r,i,n,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(n==="ClassPrivateMethod"){e.computed=false}n="MethodDefinition";return this.finishNode(e,n)}parseClassProperty(...e){const t=super.parseClassProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition"}return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition";t.computed=false}return t}parseObjectMethod(e,t,s,r,i){const n=super.parseObjectMethod(e,t,s,r,i);if(n){n.type="Property";if(n.kind==="method")n.kind="init";n.shorthand=false}return n}parseObjectProperty(e,t,s,r,i){const n=super.parseObjectProperty(e,t,s,r,i);if(n){n.kind="init";n.type="Property"}return n}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){this.toAssignable(e.value,t);return e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){if(e.kind==="get"||e.kind==="set"){this.raise(e.key.start,d.PatternHasAccessor)}else if(e.method){this.raise(e.key.start,d.PatternHasMethod)}else{super.toAssignableObjectExpressionProp(e,...t)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];if(this.hasPlugin("importAssertions")){var s;e.attributes=(s=e.arguments[1])!=null?s:null}delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,s,r,i){const n=super.parseSubscript(e,t,s,r,i);if(i.optionalChainMember){if(n.type==="OptionalMemberExpression"||n.type==="OptionalCallExpression"){n.type=n.type.substring(8)}if(i.stop){const e=this.startNodeAtNode(n);e.expression=n;return this.finishNode(e,"ChainExpression")}}else if(n.type==="MemberExpression"||n.type==="CallExpression"){n.optional=false}return n}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}});class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const g={brace:new TokContext("{"),templateQuasi:new TokContext("${"),template:new TokContext("`",true)};c.braceR.updateContext=(e=>{if(e.length>1){e.pop()}});c.braceL.updateContext=c.braceHashL.updateContext=(e=>{e.push(g.brace)});c.dollarBraceL.updateContext=(e=>{e.push(g.templateQuasi)});c.backQuote.updateContext=(e=>{if(e[e.length-1]===g.template){e.pop()}else{e.push(g.template)}});let b="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let x="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const v=new RegExp("["+b+"]");const w=new RegExp("["+b+x+"]");b=x=null;const P=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const E=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let s=65536;for(let r=0,i=t.length;re)return false;s+=t[r+1];if(s>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&v.test(String.fromCharCode(e))}return isInAstralSet(e,P)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&w.test(String.fromCharCode(e))}return isInAstralSet(e,P)||isInAstralSet(e,E)}const A={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const T=new Set(A.keyword);const C=new Set(A.strict);const k=new Set(A.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||C.has(e)}function isStrictBindOnlyReservedWord(e){return k.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return T.has(e)}function isIteratorStart(e,t){return e===64&&t===64}const I=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function canBeReservedWord(e){return I.has(e)}const j=0,O=1,S=2,_=4,R=8,D=16,N=32,F=64,M=128,L=256,B=O|S|L;const U=1,W=2,q=4,H=8,z=16,V=64,K=128,$=256,G=512,J=1024,X=2048;const Y=U|W|H|K,Q=U|0|H|0,Z=U|0|q|0,ee=U|0|z|0,te=0|W|0|K,se=0|W|0|0,re=U|W|H|$,ie=0|0|0|J,ne=0|0|0|V,ae=U|0|0|V,oe=re|G,le=0|0|0|J,ce=X;const pe=4,ue=2,he=1,fe=ue|he;const de=ue|pe,ye=he|pe,me=ue,ge=he,be=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.scopeStack=[];this.undefinedExports=new Map;this.undefinedPrivateNames=new Map;this.raise=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&S)>0}get allowSuper(){return(this.currentThisScopeFlags()&D)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&N)>0}get inClass(){return(this.currentThisScopeFlags()&F)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&F)>0&&(e&S)===0}get inStaticBlock(){return(this.currentThisScopeFlags()&M)>0}get inNonArrowFunction(){return(this.currentThisScopeFlags()&S)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&S||!this.inModule&&e.flags&O)}declareName(e,t,s){let r=this.currentScope();if(t&H||t&z){this.checkRedeclarationInScope(r,e,t,s);if(t&z){r.functions.add(e)}else{r.lexical.add(e)}if(t&H){this.maybeExportDefined(r,e)}}else if(t&q){for(let i=this.scopeStack.length-1;i>=0;--i){r=this.scopeStack[i];this.checkRedeclarationInScope(r,e,t,s);r.var.add(e);this.maybeExportDefined(r,e);if(r.flags&B)break}}if(this.inModule&&r.flags&O){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.inModule&&e.flags&O){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,s,r){if(this.isRedeclaredInScope(e,t,s)){this.raise(r,d.VarRedeclaration,t)}}isRedeclaredInScope(e,t,s){if(!(s&U))return false;if(s&H){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(s&z){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&R&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const s=this.scopeStack[0];if(!s.lexical.has(t)&&!s.var.has(t)&&!s.functions.has(t)){this.undefinedExports.set(t,e.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&B){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(B|F)&&!(t&_)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,s){const r=this.currentScope();if(t&X){this.checkRedeclarationInScope(r,e,t,s);this.maybeExportDefined(r,e);r.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,s){if(super.isRedeclaredInScope(...arguments))return true;if(s&X){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}const xe=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]);const ve=makeErrorTemplates({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:"Cannot overwrite reserved type %0.",DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:"Boolean enum members need to be initialized. Use either `%0 = true,` or `%0 = false,` in enum `%1`.",EnumDuplicateMemberName:"Enum member names need to be unique, but the name `%0` has already been used before in enum `%1`.",EnumInconsistentMemberValues:"Enum `%0` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.",EnumInvalidExplicitType:"Enum type `%1` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidExplicitTypeUnknownSupplied:"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidMemberInitializerPrimaryType:"Enum `%0` has type `%2`, so the initializer of `%1` needs to be a %2 literal.",EnumInvalidMemberInitializerSymbolType:"Symbol enum members cannot be initialized. Use `%1,` in enum `%0`.",EnumInvalidMemberInitializerUnknownType:"The enum member initializer for `%1` needs to be a literal (either a boolean, number, or string) in enum `%0`.",EnumInvalidMemberName:"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%0`, consider using `%1`, in enum `%2`.",EnumNumberMemberNotInitialized:"Number enum members need to be initialized, e.g. `%1 = 1` in enum `%0`.",EnumStringMemberInconsistentlyInitailized:"String enum members need to consistently either all use initializers, or use no initializers, in enum `%0`.",GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",OptionalBindingPattern:"A binding pattern parameter cannot be optional in an implementation signature.",SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:"Unexpected reserved type %0.",UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:"`declare export %0` is not supported. Use `%1` instead.",UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."},f.SyntaxError);function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return(e.type===c.name||!!e.type.keyword)&&e.value!=="from"}const we={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const s=[];const r=[];for(let i=0;i(class extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==c.string&&e!==c.semi&&e!==c.interpreterDirective){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=Pe.exec(e.value);if(!t) ;else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||c.colon);const s=this.flowParseType();this.state.inType=t;return s}flowParsePredicate(){const e=this.startNode();const t=this.state.start;this.next();this.expectContextual("checks");if(this.state.lastTokStart>t+1){this.raise(t,ve.UnexpectedSpaceBetweenModuloChecks)}if(this.eat(c.parenL)){e.value=this.parseExpression();this.expect(c.parenR);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(c.colon);let t=null;let s=null;if(this.match(c.modulo)){this.state.inType=e;s=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(c.modulo)){s=this.flowParsePredicate()}}return[t,s]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const s=this.startNode();const r=this.startNode();if(this.isRelational("<")){s.typeParameters=this.flowParseTypeParameterDeclaration()}else{s.typeParameters=null}this.expect(c.parenL);const i=this.flowParseFunctionTypeParams();s.params=i.params;s.rest=i.rest;s.this=i._this;this.expect(c.parenR);[s.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser();r.typeAnnotation=this.finishNode(s,"FunctionTypeAnnotation");t.typeAnnotation=this.finishNode(r,"TypeAnnotation");this.resetEndLocation(t);this.semicolon();this.scope.declareName(e.id.name,ce,e.id.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(c._class)){return this.flowParseDeclareClass(e)}else if(this.match(c._function)){return this.flowParseDeclareFunction(e)}else if(this.match(c._var)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual("module")){if(this.match(c.dot)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(this.state.lastTokStart,ve.NestedDeclareModule)}return this.flowParseDeclareModule(e)}}else if(this.isContextual("type")){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual("opaque")){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual("interface")){return this.flowParseDeclareInterface(e)}else if(this.match(c._export)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,Z,e.id.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(j);if(this.match(c.string)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const s=t.body=[];this.expect(c.braceL);while(!this.match(c.braceR)){let e=this.startNode();if(this.match(c._import)){this.next();if(!this.isContextual("type")&&!this.match(c._typeof)){this.raise(this.state.lastTokStart,ve.InvalidNonTypeImportInDeclareModule)}this.parseImport(e)}else{this.expectContextual("declare",ve.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}s.push(e)}this.scope.exit();this.expect(c.braceR);this.finishNode(t,"BlockStatement");let r=null;let i=false;s.forEach(e=>{if(isEsModuleType(e)){if(r==="CommonJS"){this.raise(e.start,ve.AmbiguousDeclareModuleKind)}r="ES"}else if(e.type==="DeclareModuleExports"){if(i){this.raise(e.start,ve.DuplicateDeclareModuleExports)}if(r==="ES"){this.raise(e.start,ve.AmbiguousDeclareModuleKind)}r="CommonJS";i=true}});e.kind=r||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(c._export);if(this.eat(c._default)){if(this.match(c._function)||this.match(c._class)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(c._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value;const t=we[e];throw this.raise(this.state.start,ve.UnsupportedDeclareExportKind,e,t)}if(this.match(c._var)||this.match(c._function)||this.match(c._class)||this.isContextual("opaque")){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(c.star)||this.match(c.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque")){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual("exports");e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?ee:Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(c._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(c.comma))}if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(c.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(c.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(this.state.start,ve.UnexpectedReservedUnderscore)}}checkReservedType(e,t,s){if(!xe.has(e))return;this.raise(t,s?ve.AssignReservedType:ve.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.start,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(c.eq);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual("type");e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(c.colon)){e.supertype=this.flowParseTypeInitialiser(c.colon)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(c.eq)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.start;const s=this.startNode();const r=this.flowParseVariance();const i=this.flowParseTypeAnnotatableIdentifier();s.name=i.name;s.variance=r;s.bound=i.typeAnnotation;if(this.match(c.eq)){this.eat(c.eq);s.default=this.flowParseType()}else{if(e){this.raise(t,ve.MissingTypeParamDefault)}}return this.finishNode(s,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.isRelational("<")||this.match(c.jsxTagStart)){this.next()}else{this.unexpected()}let s=false;do{const e=this.flowParseTypeParameter(s);t.params.push(e);if(e.default){s=true}if(!this.isRelational(">")){this.expect(c.comma)}}while(!this.isRelational(">"));this.expectRelational(">");this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");const s=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.isRelational(">")){e.params.push(this.flowParseType());if(!this.isRelational(">")){this.expect(c.comma)}}this.state.noAnonFunctionType=s;this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");while(!this.isRelational(">")){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.isRelational(">")){this.expect(c.comma)}}this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual("interface");e.extends=[];if(this.eat(c._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(c.comma))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(c.num)||this.match(c.string)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,s){e.static=t;if(this.lookahead().type===c.colon){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(c.bracketR);e.value=this.flowParseTypeInitialiser();e.variance=s;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(c.bracketR);this.expect(c.bracketR);if(this.isRelational("<")||this.match(c.parenL)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(c.question)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(c.parenL);if(this.match(c._this)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(c.parenR)){this.expect(c.comma)}}while(!this.match(c.parenR)&&!this.match(c.ellipsis)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(c.parenR)){this.expect(c.comma)}}if(this.eat(c.ellipsis)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(c.parenR);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const s=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(s);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:s,allowProto:r,allowInexact:i}){const n=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let p=false;if(t&&this.match(c.braceBarL)){this.expect(c.braceBarL);o=c.braceBarR;l=true}else{this.expect(c.braceL);o=c.braceR;l=false}a.exact=l;while(!this.match(o)){let t=false;let n=null;let o=null;const u=this.startNode();if(r&&this.isContextual("proto")){const t=this.lookahead();if(t.type!==c.colon&&t.type!==c.question){this.next();n=this.state.start;e=false}}if(e&&this.isContextual("static")){const e=this.lookahead();if(e.type!==c.colon&&e.type!==c.question){this.next();t=true}}const h=this.flowParseVariance();if(this.eat(c.bracketL)){if(n!=null){this.unexpected(n)}if(this.eat(c.bracketL)){if(h){this.unexpected(h.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(u,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(u,t,h))}}else if(this.match(c.parenL)||this.isRelational("<")){if(n!=null){this.unexpected(n)}if(h){this.unexpected(h.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(u,t))}else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();if(t.type===c.name||t.type===c.string||t.type===c.num){e=this.state.value;this.next()}}const r=this.flowParseObjectTypeProperty(u,t,n,h,e,s,i!=null?i:!l);if(r===null){p=true;o=this.state.lastTokStart}else{a.properties.push(r)}}this.flowObjectTypeSemicolon();if(o&&!this.match(c.braceR)&&!this.match(c.braceBarR)){this.raise(o,ve.UnexpectedExplicitInexactInObject)}}this.expect(o);if(s){a.inexact=p}const u=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=n;return u}flowParseObjectTypeProperty(e,t,s,r,i,n,a){if(this.eat(c.ellipsis)){const t=this.match(c.comma)||this.match(c.semi)||this.match(c.braceR)||this.match(c.braceBarR);if(t){if(!n){this.raise(this.state.lastTokStart,ve.InexactInsideNonObject)}else if(!a){this.raise(this.state.lastTokStart,ve.InexactInsideExact)}if(r){this.raise(r.start,ve.InexactVariance)}return null}if(!n){this.raise(this.state.lastTokStart,ve.UnexpectedSpreadType)}if(s!=null){this.unexpected(s)}if(r){this.raise(r.start,ve.SpreadVariance)}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=s!=null;e.kind=i;let a=false;if(this.isRelational("<")||this.match(c.parenL)){e.method=true;if(s!=null){this.unexpected(s)}if(r){this.unexpected(r.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(i==="get"||i==="set"){this.flowCheckGetterSetterParams(e)}if(!n&&e.key.name==="constructor"&&e.value.this){this.raise(e.value.this.start,ve.ThisParamBannedInConstructor)}}else{if(i!=="init")this.unexpected();e.method=false;if(this.eat(c.question)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=r}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const s=e.start;const r=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.value.this.start,e.kind==="get"?ve.GetterMayNotHaveThisParam:ve.SetterMayNotHaveThisParam)}if(r!==t){if(e.kind==="get"){this.raise(s,d.BadGetterArity)}else{this.raise(s,d.BadSetterArity)}}if(e.kind==="set"&&e.value.rest){this.raise(s,d.BadSetterRestParameter)}}flowObjectTypeSemicolon(){if(!this.eat(c.semi)&&!this.eat(c.comma)&&!this.match(c.braceR)&&!this.match(c.braceBarR)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,s){e=e||this.state.start;t=t||this.state.startLoc;let r=s||this.flowParseRestrictedIdentifier(true);while(this.eat(c.dot)){const s=this.startNodeAt(e,t);s.qualification=r;s.id=this.flowParseRestrictedIdentifier(true);r=this.finishNode(s,"QualifiedTypeIdentifier")}return r}flowParseGenericType(e,t,s){const r=this.startNodeAt(e,t);r.typeParameters=null;r.id=this.flowParseQualifiedTypeIdentifier(e,t,s);if(this.isRelational("<")){r.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(r,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(c._typeof);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(c.bracketL);while(this.state.possuper.parseFunctionBody(e,true,s))}return super.parseFunctionBody(e,false,s)}parseFunctionBodyAndFinish(e,t,s=false){if(this.match(c.colon)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(e,t,s)}parseStatement(e,t){if(this.state.strict&&this.match(c.name)&&this.state.value==="interface"){const e=this.lookahead();if(e.type===c.name||isKeyword(e.value)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const s=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(s)){this.flowPragma=null}return s}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(c._class)||this.match(c.name)||this.match(c._function)||this.match(c._var)||this.match(c._export)){return this.flowParseDeclare(e)}}else if(this.match(c.name)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){if(this.match(c.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"||this.shouldParseEnums()&&this.state.value==="enum")){return false}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,s,r){if(!this.match(c.question))return e;if(r){const i=this.tryParse(()=>super.parseConditional(e,t,s));if(!i.node){r.start=i.error.pos||this.state.start;return e}if(i.error)this.state=i.failState;return i.node}this.expect(c.question);const i=this.state.clone();const n=this.state.noArrowAt;const a=this.startNodeAt(t,s);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[p,u]=this.getArrowLikeExpressions(o);if(l||u.length>0){const e=[...n];if(u.length>0){this.state=i;this.state.noArrowAt=e;for(let t=0;t1){this.raise(i.start,ve.AmbiguousConditionalArrow)}if(l&&p.length===1){this.state=i;this.state.noArrowAt=e.concat(p[0].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=n;this.expect(c.colon);a.test=e;a.consequent=o;a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(undefined,undefined,undefined));return this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(c.colon);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const s=[e];const r=[];while(s.length!==0){const e=s.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{r.push(e)}s.push(e.body)}else if(e.type==="ConditionalExpression"){s.push(e.consequent);s.push(e.alternate)}}if(t){r.forEach(e=>this.finishArrowValidation(e));return[r,[]]}return partition(r,e=>e.params.every(e=>this.isAssignable(e,true)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingComma,false);this.scope.enter(S|_);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let s;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);s=t();this.state.noArrowParamsConversionAt.pop()}else{s=t()}return s}parseParenItem(e,t,s){e=super.parseParenItem(e,t,s);if(this.eat(c.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(c.colon)){const r=this.startNodeAt(t,s);r.expression=e;r.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(r,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();this.next();if(this.match(c.braceL)){e.specifiers=this.parseExportSpecifiers();this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual("enum")){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual("type")&&this.lookahead().type===c.star){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const t=this.state.start;const s=super.maybeParseExportNamespaceSpecifier(e);if(s&&e.exportKind==="type"){this.unexpected(t)}return s}parseClassId(e,t,s){super.parseClassId(e,t,s);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}}parseClassMember(e,t,s){const r=this.state.start;if(this.isContextual("declare")){if(this.parseClassMemberFromModifier(e,t)){return}t.declare=true}super.parseClassMember(e,t,s);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(r,ve.DeclareClassElement)}else if(t.value){this.raise(t.value.start,ve.DeclareClassFieldInitializer)}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(this.state.pos,d.InvalidIdentifier,t)}this.finishToken(c.name,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(c.braceBarL,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(c.relational,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(c.questionDot,2)}return this.finishOp(c.question,1)}else if(isIteratorStart(e,t)){this.state.pos+=2;return this.readIterator()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":return true;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every((e,s)=>{return e.type!=="ObjectMethod"&&(s===t||e.type==="SpreadElement")&&this.isAssignable(e)})}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every(e=>this.isAssignable(e));case"AssignmentExpression":return e.operator==="=";case"ParenthesizedExpression":case"TypeCastExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return false}}toAssignable(e,t=false){if(e.type==="TypeCastExpression"){return super.toAssignable(this.typeCastToParameter(e),t)}else{return super.toAssignable(e,t)}}toAssignableList(e,t,s){for(let t=0;t1||!t)){this.raise(i.typeAnnotation.start,ve.TypeCastInPattern)}}return e}parseArrayLike(e,t,s,r){const i=super.parseArrayLike(e,t,s,r);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(i.elements)}return i}checkLVal(e,...t){if(e.type!=="TypeCastExpression"){return super.checkLVal(e,...t)}}parseClassProperty(e){if(this.match(c.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(c.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(c.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(c.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,s,r,i,n){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,s,r,i,n);if(t.params&&i){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,ve.ThisParamBannedInConstructor)}}else if(t.type==="MethodDefinition"&&i&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,ve.ThisParamBannedInConstructor)}}}pushClassPrivateMethod(e,t,s,r){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,s,r)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(c.comma))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const s=t[0];if(this.isThisParam(s)&&e.kind==="get"){this.raise(s.start,ve.GetterMayNotHaveThisParam)}else if(this.isThisParam(s)){this.raise(s.start,ve.SetterMayNotHaveThisParam)}}}parsePropertyName(e,t){const s=this.flowParseVariance();const r=super.parsePropertyName(e,t);e.variance=s;return r}parseObjPropValue(e,t,s,r,i,n,a,o){if(e.variance){this.unexpected(e.variance.start)}delete e.variance;let l;if(this.isRelational("<")&&!a){l=this.flowParseTypeParameterDeclaration();if(!this.match(c.parenL))this.unexpected()}super.parseObjPropValue(e,t,s,r,i,n,a,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(c.question)){if(e.type!=="Identifier"){this.raise(e.start,ve.OptionalBindingPattern)}if(this.isThisParam(e)){this.raise(e.start,ve.ThisParamMayNotBeOptional)}e.optional=true}if(this.match(c.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(e.start,ve.ThisParamAnnotationRequired)}if(this.match(c.eq)&&this.isThisParam(e)){this.raise(e.start,ve.ThisParamNoDefault)}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,s){const r=super.parseMaybeDefault(e,t,s);if(r.type==="AssignmentPattern"&&r.typeAnnotation&&r.right.startsuper.parseMaybeAssign(e,t,s),i);if(!n.error)return n.node;const{context:r}=this.state;if(r[r.length-1]===g.j_oTag){r.length-=2}else if(r[r.length-1]===g.j_expr){r.length-=1}}if((r=n)!=null&&r.error||this.isRelational("<")){var a,o;i=i||this.state.clone();let r;const l=this.tryParse(i=>{var n;r=this.flowParseTypeParameterDeclaration();const a=this.forwardNoArrowParamsConversionAt(r,()=>{const i=super.parseMaybeAssign(e,t,s);this.resetStartLocationFromNode(i,r);return i});if(a.type!=="ArrowFunctionExpression"&&(n=a.extra)!=null&&n.parenthesized){i()}const o=this.maybeUnwrapTypeCastExpression(a);o.typeParameters=r;this.resetStartLocationFromNode(o,r);return a},i);let c=null;if(l.node&&this.maybeUnwrapTypeCastExpression(l.node).type==="ArrowFunctionExpression"){if(!l.error&&!l.aborted){if(l.node.async){this.raise(r.start,ve.UnexpectedTypeParameterBeforeAsyncArrowFunction)}return l.node}c=l.node}if((a=n)!=null&&a.node){this.state=n.failState;return n.node}if(c){this.state=l.failState;return c}if((o=n)!=null&&o.thrown)throw n.error;if(l.thrown)throw l.error;throw this.raise(r.start,ve.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t,s)}parseArrow(e){if(this.match(c.colon)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const s=this.startNode();[s.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(c.arrow))this.unexpected();return s});if(t.thrown)return null;if(t.error)this.state=t.failState;e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(){return this.match(c.colon)||super.shouldParseArrow()}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,s){if(s&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t0){this.raise(e.params[t].start,ve.ThisParamMustBeFirst)}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,s,r){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const r=this.startNodeAt(t,s);r.callee=e;r.arguments=this.parseCallExpressionArguments(c.parenR,false);e=this.finishNode(r,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.isRelational("<")){const i=this.state.clone();const n=this.tryParse(e=>this.parseAsyncArrowWithTypeParameters(t,s)||e(),i);if(!n.error&&!n.aborted)return n.node;const a=this.tryParse(()=>super.parseSubscripts(e,t,s,r),i);if(a.node&&!a.error)return a.node;if(n.node){this.state=n.failState;return n.node}if(a.node){this.state=a.failState;return a.node}throw n.error||a.error}return super.parseSubscripts(e,t,s,r)}parseSubscript(e,t,s,r,i){if(this.match(c.questionDot)&&this.isLookaheadToken_lt()){i.optionalChainMember=true;if(r){i.stop=true;return e}this.next();const n=this.startNodeAt(t,s);n.callee=e;n.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(c.parenL);n.arguments=this.parseCallExpressionArguments(c.parenR,false);n.optional=true;return this.finishCallExpression(n,true)}else if(!r&&this.shouldParseTypes()&&this.isRelational("<")){const r=this.startNodeAt(t,s);r.callee=e;const n=this.tryParse(()=>{r.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew();this.expect(c.parenL);r.arguments=this.parseCallExpressionArguments(c.parenR,false);if(i.optionalChainMember)r.optional=false;return this.finishCallExpression(r,i.optionalChainMember)});if(n.node){if(n.error)this.state=n.failState;return n.node}}return super.parseSubscript(e,t,s,r,i)}parseNewArguments(e){let t=null;if(this.shouldParseTypes()&&this.isRelational("<")){t=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node}e.typeArguments=t;super.parseNewArguments(e)}parseAsyncArrowWithTypeParameters(e,t){const s=this.startNodeAt(e,t);this.parseFunctionParams(s);if(!this.parseArrow(s))return;return this.parseArrowExpression(s,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(c.braceBarR,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const s=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(this.state.pos,ve.UnterminatedFlowComment)}return s}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){this.unexpected(null,ve.NestedFlowComment)}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1){throw this.raise(this.state.pos-2,d.UnterminatedComment)}this.state.pos=e+3;return}super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const s=this.input.charCodeAt(t+e);const r=this.input.charCodeAt(t+e+1);if(s===58&&r===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(s===58&&r!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(this.state.pos,d.UnterminatedComment)}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:s}){this.raise(e,ve.EnumBooleanMemberNotInitialized,s,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:s}){const r=s[0].toUpperCase()+s.slice(1);this.raise(e,ve.EnumInvalidMemberName,s,r,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:s}){this.raise(e,ve.EnumDuplicateMemberName,s,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,ve.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:s}){return this.raise(e,s===null?ve.EnumInvalidExplicitTypeUnknownSupplied:ve.EnumInvalidExplicitType,t,s)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:s,memberName:r}){let i=null;switch(s){case"boolean":case"number":case"string":i=ve.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":i=ve.EnumInvalidMemberInitializerSymbolType;break;default:i=ve.EnumInvalidMemberInitializerUnknownType}return this.raise(e,i,t,r,s)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:s}){this.raise(e,ve.EnumNumberMemberNotInitialized,t,s)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,ve.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start;const t=()=>this.match(c.comma)||this.match(c.braceR);switch(this.state.type){case c.num:{const s=this.parseNumericLiteral(this.state.value);if(t()){return{type:"number",pos:s.start,value:s}}return{type:"invalid",pos:e}}case c.string:{const s=this.parseStringLiteral(this.state.value);if(t()){return{type:"string",pos:s.start,value:s}}return{type:"invalid",pos:e}}case c._true:case c._false:{const s=this.parseBooleanLiteral(this.match(c._true));if(t()){return{type:"boolean",pos:s.start,value:s}}return{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;const t=this.parseIdentifier(true);const s=this.eat(c.eq)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:s}}flowEnumCheckExplicitTypeMismatch(e,t,s){const{explicitType:r}=t;if(r===null){return}if(r!==s){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const s=new Set;const r={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let i=false;while(!this.match(c.braceR)){if(this.eat(c.ellipsis)){i=true;break}const n=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.flowEnumErrorInvalidMemberName(a.start,{enumName:e,memberName:l})}if(s.has(l)){this.flowEnumErrorDuplicateMemberName(a.start,{enumName:e,memberName:l})}s.add(l);const p={enumName:e,explicitType:t,memberName:l};n.id=a;switch(o.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"boolean");n.init=o.value;r.booleanMembers.push(this.finishNode(n,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"number");n.init=o.value;r.numberMembers.push(this.finishNode(n,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"string");n.init=o.value;r.stringMembers.push(this.finishNode(n,"EnumStringMember"));break}case"invalid":{throw this.flowEnumErrorInvalidMemberInitializer(o.pos,p)}case"none":{switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.pos,p);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.pos,p);break;default:r.defaultedMembers.push(this.finishNode(n,"EnumDefaultedMember"))}}}if(!this.match(c.braceR)){this.expect(c.comma)}}return{members:r,hasUnknownMembers:i}}flowEnumStringMembers(e,t,{enumName:s}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:s})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:s})}return e}}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual("of")){if(!this.match(c.name)){throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t})}return t}return null}flowEnumBody(e,{enumName:t,nameLoc:s}){const r=this.flowEnumParseExplicitType({enumName:t});this.expect(c.braceL);const{members:i,hasUnknownMembers:n}=this.flowEnumMembers({enumName:t,explicitType:r});e.hasUnknownMembers=n;switch(r){case"boolean":e.explicitType=true;e.members=i.booleanMembers;this.expect(c.braceR);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=i.numberMembers;this.expect(c.braceR);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(c.braceR);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=i.defaultedMembers;this.expect(c.braceR);return this.finishNode(e,"EnumSymbolBody");default:{const r=()=>{e.members=[];this.expect(c.braceR);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const n=i.booleanMembers.length;const a=i.numberMembers.length;const o=i.stringMembers.length;const l=i.defaultedMembers.length;if(!n&&!a&&!o&&!l){return r()}else if(!n&&!a){e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(c.braceR);return this.finishNode(e,"EnumStringBody")}else if(!a&&!o&&n>=l){for(const e of i.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.booleanMembers;this.expect(c.braceR);return this.finishNode(e,"EnumBooleanBody")}else if(!n&&!o&&a>=l){for(const e of i.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.numberMembers;this.expect(c.braceR);return this.finishNode(e,"EnumNumberBody")}else{this.flowEnumErrorInconsistentMemberValues(s,{enumName:t});return r()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start});return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}});const Ae={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"};class State{constructor(){this.strict=void 0;this.curLine=void 0;this.startLoc=void 0;this.endLoc=void 0;this.errors=[];this.potentialArrowAt=-1;this.noArrowAt=[];this.noArrowParamsConversionAt=[];this.maybeInArrowParameters=false;this.inPipeline=false;this.inType=false;this.noAnonFunctionType=false;this.inPropertyName=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.decoratorStack=[[]];this.comments=[];this.trailingComments=[];this.leadingComments=[];this.commentStack=[];this.commentPreviousNode=null;this.pos=0;this.lineStart=0;this.type=c.eof;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.lastTokEnd=0;this.context=[g.brace];this.exprAllowed=true;this.containsEsc=false;this.strictErrors=new Map;this.tokensLength=0}init(e){this.strict=e.strictMode===false?false:e.sourceType==="module";this.curLine=e.startLine;this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new Position(this.curLine,this.pos-this.lineStart)}clone(e){const t=new State;const s=Object.keys(this);for(let r=0,i=s.length;r.",MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"},f.SyntaxError);g.j_oTag=new TokContext("...",true);c.jsxName=new TokenType("jsxName");c.jsxText=new TokenType("jsxText",{beforeExpr:true});c.jsxTagStart=new TokenType("jsxTagStart",{startsExpr:true});c.jsxTagEnd=new TokenType("jsxTagEnd");c.jsxTagStart.updateContext=(e=>{e.push(g.j_expr);e.push(g.j_oTag)});function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var Ie=e=>(class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,ke.UnterminatedJsxContent)}const s=this.input.charCodeAt(this.state.pos);switch(s){case 60:case 123:if(this.state.pos===this.state.start){if(s===60&&this.state.exprAllowed){++this.state.pos;return this.finishToken(c.jsxTagStart)}return super.getTokenFromCode(s)}e+=this.input.slice(t,this.state.pos);return this.finishToken(c.jsxText,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(s)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let s;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;s=e?"\n":"\r\n"}else{s=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return s}jsxReadString(e){let t="";let s=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,d.UnterminatedString)}const r=this.input.charCodeAt(this.state.pos);if(r===e)break;if(r===38){t+=this.input.slice(s,this.state.pos);t+=this.jsxReadEntity();s=this.state.pos}else if(isNewLine(r)){t+=this.input.slice(s,this.state.pos);t+=this.jsxReadNewLine(false);s=this.state.pos}else{++this.state.pos}}t+=this.input.slice(s,this.state.pos++);return this.finishToken(c.string,t)}jsxReadEntity(){let e="";let t=0;let s;let r=this.input[this.state.pos];const i=++this.state.pos;while(this.state.pos0}get hasYield(){return(this.currentFlags()&Oe)>0}get hasReturn(){return(this.currentFlags()&_e)>0}get hasIn(){return(this.currentFlags()&Re)>0}}function functionFlags(e,t){return(e?Se:0)|(t?Oe:0)}function nonNull(e){if(e==null){throw new Error(`Unexpected ${e} value.`)}return e}function assert(e){if(!e){throw new Error("Assert fail")}}const De=makeErrorTemplates({AbstractMethodHasImplementation:"Method '%0' cannot have an implementation because it is marked abstract.",AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:"'declare' is not allowed in %0ters.",DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:"Accessibility modifier already seen.",DuplicateModifier:"Duplicate modifier: '%0'.",EmptyHeritageClauseType:"'%0' list cannot be empty.",EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",IncompatibleModifiers:"'%0' modifier cannot be used with '%1' modifier.",IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:"Index signatures cannot have an accessibility modifier ('%0').",IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InvalidModifierOnTypeMember:"'%0' modifier cannot appear on a type member.",InvalidModifiersOrder:"'%0' modifier must precede '%1' modifier.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:"Private elements cannot have an accessibility modifier ('%0').",ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got %0."},f.SyntaxError);function keywordTypeFromName(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return undefined}}function tsIsAccessModifier(e){return e==="private"||e==="public"||e==="protected"}var Ne=e=>(class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return this.match(c.name)}tsTokenCanFollowModifier(){return(this.match(c.bracketL)||this.match(c.braceL)||this.match(c.star)||this.match(c.ellipsis)||this.match(c.privateName)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e){if(!this.match(c.name)){return undefined}const t=this.state.value;if(e.indexOf(t)!==-1&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return t}return undefined}tsParseModifiers(e,t,s,r){const i=(t,s,r,i)=>{if(s===r&&e[i]){this.raise(t,De.InvalidModifiersOrder,r,i)}};const n=(t,s,r,i)=>{if(e[r]&&s===i||e[i]&&s===r){this.raise(t,De.IncompatibleModifiers,r,i)}};for(;;){const a=this.state.start;const o=this.tsParseModifier(t.concat(s!=null?s:[]));if(!o)break;if(tsIsAccessModifier(o)){if(e.accessibility){this.raise(a,De.DuplicateAccessibilityModifier)}else{i(a,o,o,"override");i(a,o,o,"static");i(a,o,o,"readonly");e.accessibility=o}}else{if(Object.hasOwnProperty.call(e,o)){this.raise(a,De.DuplicateModifier,o)}else{i(a,o,"static","readonly");i(a,o,"static","override");i(a,o,"override","readonly");i(a,o,"abstract","override");n(a,o,"declare","override");n(a,o,"static","abstract")}e[o]=true}if(s!=null&&s.includes(o)){this.raise(a,r,o)}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(c.braceR);case"HeritageClauseElement":return this.match(c.braceL);case"TupleElementTypes":return this.match(c.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const s=[];while(!this.tsIsListTerminator(e)){s.push(t())}return s}tsParseDelimitedList(e,t){return nonNull(this.tsParseDelimitedListWorker(e,t,true))}tsParseDelimitedListWorker(e,t,s){const r=[];for(;;){if(this.tsIsListTerminator(e)){break}const i=t();if(i==null){return undefined}r.push(i);if(this.eat(c.comma)){continue}if(this.tsIsListTerminator(e)){break}if(s){this.expect(c.comma)}return undefined}return r}tsParseBracketedList(e,t,s,r){if(!r){if(s){this.expect(c.bracketL)}else{this.expectRelational("<")}}const i=this.tsParseDelimitedList(e,t);if(s){this.expect(c.bracketR)}else{this.expectRelational(">")}return i}tsParseImportType(){const e=this.startNode();this.expect(c._import);this.expect(c.parenL);if(!this.match(c.string)){this.raise(this.state.start,De.UnsupportedImportTypeArgument)}e.argument=this.parseExprAtom();this.expect(c.parenR);if(this.eat(c.dot)){e.qualifier=this.tsParseEntityName(true)}if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();while(this.eat(c.dot)){const s=this.startNodeAtNode(t);s.left=t;s.right=this.parseIdentifier(e);t=this.finishNode(s,"TSQualifiedName")}return t}tsParseTypeReference(){const e=this.startNode();e.typeName=this.tsParseEntityName(false);if(!this.hasPrecedingLineBreak()&&this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(c._typeof);if(this.match(c._import)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName(true)}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsEatThenParseType(c._extends);e.default=this.tsEatThenParseType(c.eq);return this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<")){return this.tsParseTypeParameters()}}tsParseTypeParameters(){const e=this.startNode();if(this.isRelational("<")||this.match(c.jsxTagStart)){this.next()}else{this.unexpected()}e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),false,true);if(e.params.length===0){this.raise(e.start,De.EmptyTypeParameters)}return this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type===c._const){this.next();return this.tsParseTypeReference()}return null}tsFillSignature(e,t){const s=e===c.arrow;t.typeParameters=this.tsTryParseTypeParameters();this.expect(c.parenL);t.parameters=this.tsParseBindingListForSignature();if(s){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(c.parenR,41).map(e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(e.start,De.UnsupportedSignatureParameterKind,e.type)}return e})}tsParseTypeMemberSemicolon(){if(!this.eat(c.comma)&&!this.isLineTerminator()){this.expect(c.semi)}}tsParseSignatureMember(e,t){this.tsFillSignature(c.colon,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();return this.eat(c.name)&&this.match(c.colon)}tsTryParseIndexSignature(e){if(!(this.match(c.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(c.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(c.bracketR);e.parameters=[t];const s=this.tsTryParseTypeAnnotation();if(s)e.typeAnnotation=s;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(c.question))e.optional=true;const s=e;if(this.match(c.parenL)||this.isRelational("<")){if(t){this.raise(e.start,De.ReadonlyForMethodSignature)}const r=s;if(r.kind&&this.isRelational("<")){this.raise(this.state.pos,De.AccesorCannotHaveTypeParameters)}this.tsFillSignature(c.colon,r);this.tsParseTypeMemberSemicolon();if(r.kind==="get"){if(r.parameters.length>0){this.raise(this.state.pos,d.BadGetterArity);if(this.isThisParam(r.parameters[0])){this.raise(this.state.pos,De.AccesorCannotDeclareThisParameter)}}}else if(r.kind==="set"){if(r.parameters.length!==1){this.raise(this.state.pos,d.BadSetterArity)}else{const e=r.parameters[0];if(this.isThisParam(e)){this.raise(this.state.pos,De.AccesorCannotDeclareThisParameter)}if(e.type==="Identifier"&&e.optional){this.raise(this.state.pos,De.SetAccesorCannotHaveOptionalParameter)}if(e.type==="RestElement"){this.raise(this.state.pos,De.SetAccesorCannotHaveRestParameter)}}if(r.typeAnnotation){this.raise(r.typeAnnotation.start,De.SetAccesorCannotHaveReturnType)}}else{r.kind="method"}return this.finishNode(r,"TSMethodSignature")}else{const e=s;if(t)e.readonly=true;const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(c.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(c._new)){const t=this.startNode();this.next();if(this.match(c.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],De.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e,false);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;this.parsePropertyName(e,false)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(c.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(c.braceR);return e}tsIsStartOfMappedType(){this.next();if(this.eat(c.plusMin)){return this.isContextual("readonly")}if(this.isContextual("readonly")){this.next()}if(!this.match(c.bracketL)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(c._in)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsExpectThenParseType(c._in);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(c.braceL);if(this.match(c.plusMin)){e.readonly=this.state.value;this.next();this.expectContextual("readonly")}else if(this.eatContextual("readonly")){e.readonly=true}this.expect(c.bracketL);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual("as")?this.tsParseType():null;this.expect(c.bracketR);if(this.match(c.plusMin)){e.optional=this.state.value;this.next();this.expect(c.question)}else if(this.eat(c.question)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(c.braceR);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let s=null;e.elementTypes.forEach(e=>{var r;let{type:i}=e;if(t&&i!=="TSRestType"&&i!=="TSOptionalType"&&!(i==="TSNamedTupleMember"&&e.optional)){this.raise(e.start,De.OptionalTypeBeforeRequired)}t=t||i==="TSNamedTupleMember"&&e.optional||i==="TSOptionalType";if(i==="TSRestType"){e=e.typeAnnotation;i=e.type}const n=i==="TSNamedTupleMember";s=(r=s)!=null?r:n;if(s!==n){this.raise(e.start,De.MixedLabeledAndUnlabeledElements)}});return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const s=this.eat(c.ellipsis);let r=this.tsParseType();const i=this.eat(c.question);const n=this.eat(c.colon);if(n){const e=this.startNodeAtNode(r);e.optional=i;if(r.type==="TSTypeReference"&&!r.typeParameters&&r.typeName.type==="Identifier"){e.label=r.typeName}else{this.raise(r.start,De.InvalidTupleMemberLabel);e.label=r}e.elementType=this.tsParseType();r=this.finishNode(e,"TSNamedTupleMember")}else if(i){const e=this.startNodeAtNode(r);e.typeAnnotation=r;r=this.finishNode(e,"TSOptionalType")}if(s){const s=this.startNodeAt(e,t);s.typeAnnotation=r;r=this.finishNode(s,"TSRestType")}return r}tsParseParenthesizedType(){const e=this.startNode();this.expect(c.parenL);e.typeAnnotation=this.tsParseType();this.expect(c.parenR);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const s=this.startNode();if(e==="TSConstructorType"){s.abstract=!!t;if(t)this.next();this.next()}this.tsFillSignature(c.arrow,s);return this.finishNode(s,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case c.num:case c.bigint:case c.string:case c._true:case c._false:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case c.name:case c._void:case c._null:{const e=this.match(c._void)?"TSVoidKeyword":this.match(c._null)?"TSNullKeyword":keywordTypeFromName(this.state.value);if(e!==undefined&&this.lookaheadCharCode()!==46){const t=this.startNode();this.next();return this.finishNode(t,e)}return this.tsParseTypeReference()}case c.string:case c.num:case c.bigint:case c._true:case c._false:return this.tsParseLiteralTypeNode();case c.plusMin:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==c.num&&t.type!==c.bigint){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case c._this:return this.tsParseThisTypeOrThisTypePredicate();case c._typeof:return this.tsParseTypeQuery();case c._import:return this.tsParseImportType();case c.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case c.bracketL:return this.tsParseTupleType();case c.parenL:return this.tsParseParenthesizedType();case c.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(c.bracketL)){if(this.match(c.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(c.bracketR);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(c.bracketR);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(e){const t=this.startNode();this.expectContextual(e);t.operator=e;t.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(e==="readonly"){this.tsCheckTypeAnnotationForReadOnly(t)}return this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,De.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();t.name=this.parseIdentifierName(t.start);e.typeParameter=this.finishNode(t,"TSTypeParameter");return this.finishNode(e,"TSInferType")}tsParseTypeOperatorOrHigher(){const e=["keyof","unique","readonly"].find(e=>this.isContextual(e));return e?this.tsParseTypeOperator(e):this.isContextual("infer")?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}tsParseUnionOrIntersectionType(e,t,s){const r=this.startNode();const i=this.eat(s);const n=[];do{n.push(t())}while(this.eat(s));if(n.length===1&&!i){return n[0]}r.types=n;return this.finishNode(r,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),c.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),c.bitwiseOR)}tsIsStartOfFunctionType(){if(this.isRelational("<")){return true}return this.match(c.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(c.name)||this.match(c._this)){this.next();return true}if(this.match(c.braceL)){let e=1;this.next();while(e>0){if(this.match(c.braceL)){++e}else if(this.match(c.braceR)){--e}this.next()}return true}if(this.match(c.bracketL)){let e=1;this.next();while(e>0){if(this.match(c.bracketL)){++e}else if(this.match(c.bracketR)){--e}this.next()}return true}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(c.parenR)||this.match(c.ellipsis)){return true}if(this.tsSkipParameterStart()){if(this.match(c.colon)||this.match(c.comma)||this.match(c.question)||this.match(c.eq)){return true}if(this.match(c.parenR)){this.next();if(this.match(c.arrow)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const s=this.startNode();const r=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(r&&this.match(c._this)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){s.parameterName=e;s.asserts=true;s.typeAnnotation=null;e=this.finishNode(s,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,s);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i){if(!r){return this.tsParseTypeAnnotation(false,t)}s.parameterName=this.parseIdentifier();s.asserts=r;s.typeAnnotation=null;t.typeAnnotation=this.finishNode(s,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const n=this.tsParseTypeAnnotation(false);s.parameterName=i;s.typeAnnotation=n;s.asserts=r;t.typeAnnotation=this.finishNode(s,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(c.colon)?this.tsParseTypeOrTypePredicateAnnotation(c.colon):undefined}tsTryParseTypeAnnotation(){return this.match(c.colon)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(c.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(!this.match(c.name)||this.state.value!=="asserts"||this.hasPrecedingLineBreak()){return false}const e=this.state.containsEsc;this.next();if(!this.match(c.name)&&!this.match(c._this)){return false}if(e){this.raise(this.state.lastTokStart,d.InvalidEscapedReservedWord,"asserts")}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType(()=>{if(e)this.expect(c.colon);t.typeAnnotation=this.tsParseType()});return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(c._extends)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsParseNonConditionalType();this.expect(c.question);t.trueType=this.tsParseType();this.expect(c.colon);t.falseType=this.tsParseType();return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual("abstract")&&this.lookahead().type===c._new}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(c._new)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expectRelational(">");e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start;const s=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));if(!s.length){this.raise(t,De.EmptyHeritageClauseType,e)}return s}tsParseExpressionWithTypeArguments(){const e=this.startNode();e.expression=this.tsParseEntityName(false);if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript interface declaration",te);e.typeParameters=this.tsTryParseTypeParameters();if(this.eat(c._extends)){e.extends=this.tsParseHeritageClause("extends")}const t=this.startNode();t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(t,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript type alias",se);e.typeParameters=this.tsTryParseTypeParameters();e.typeAnnotation=this.tsInType(()=>{this.expect(c.eq);if(this.isContextual("intrinsic")&&this.lookahead().type!==c.dot){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()});this.semicolon();return this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){const t=this.state.inType;this.state.inType=true;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>{e();return this.tsParseType()})}tsParseEnumMember(){const e=this.startNode();e.id=this.match(c.string)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(c.eq)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){if(t)e.const=true;e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript enum declaration",t?oe:re);this.expect(c.braceL);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(c.braceR);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(j);this.expect(c.braceL);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,c.braceR);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkLVal(e.id,"module or namespace declaration",le)}if(this.eat(c.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(L);this.prodParam.enter(je);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual("global")){e.global=true;e.id=this.parseIdentifier()}else if(this.match(c.string)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(c.braceL)){this.scope.enter(L);this.prodParam.enter(je);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkLVal(e.id,"import equals declaration",Q);this.expect(c.eq);const s=this.tsParseModuleReference();if(e.importKind==="type"&&s.type!=="TSExternalModuleReference"){this.raise(s.start,De.ImportAliasHasImportType)}e.moduleReference=s;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual("require");this.expect(c.parenL);if(!this.match(c.string)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(c.parenR);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const s=e();this.state=t;return s}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const s=e();if(s!==undefined&&s!==false){return s}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let s;if(this.isContextual("let")){t=c._var;s="let"}return this.tsInAmbientContext(()=>{switch(t){case c._function:e.declare=true;return this.parseFunctionStatement(e,false,true);case c._class:e.declare=true;return this.parseClass(e,true,false);case c._const:if(this.match(c._const)&&this.isLookaheadContextual("enum")){this.expect(c._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}case c._var:s=s||this.state.value;return this.parseVarStatement(e,s);case c.name:{const t=this.state.value;if(t==="global"){return this.tsParseAmbientExternalModuleDeclaration(e)}else{return this.tsParseDeclaration(e,t,true)}}}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(c.braceL)){this.scope.enter(L);this.prodParam.enter(je);const s=e;s.global=true;s.id=t;s.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(s,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,s){switch(t){case"abstract":if(this.tsCheckLineTerminator(s)&&(this.match(c._class)||this.match(c.name))){return this.tsParseAbstractDeclaration(e)}break;case"enum":if(s||this.match(c.name)){if(s)this.next();return this.tsParseEnumDeclaration(e,false)}break;case"interface":if(this.tsCheckLineTerminator(s)&&this.match(c.name)){return this.tsParseInterfaceDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(s)){if(this.match(c.string)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(this.match(c.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(s)&&this.match(c.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(s)&&this.match(c.name)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<")){return undefined}const s=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const r=this.tsTryParseAndCatch(()=>{const s=this.startNodeAt(e,t);s.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(s);s.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(c.arrow);return s});this.state.maybeInArrowParameters=s;if(!r){return undefined}return this.parseArrowExpression(r,null,true)}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType(()=>this.tsInNoContext(()=>{this.expectRelational("<");return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}));if(e.params.length===0){this.raise(e.start,De.EmptyTypeArguments)}this.expectRelational(">");return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(c.name)){switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return true}}return false}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const s=this.state.start;const r=this.state.startLoc;let i;let n=false;let a=false;if(e!==undefined){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]);i=t.accessibility;a=t.override;n=t.readonly;if(e===false&&(i||n||a)){this.raise(s,De.UnexpectedParameterModifier)}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(i||n||a){const e=this.startNodeAt(s,r);if(t.length){e.decorators=t}if(i)e.accessibility=i;if(n)e.readonly=n;if(a)e.override=a;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(e.start,De.UnsupportedParameterPropertyKind)}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}parseFunctionBodyAndFinish(e,t,s=false){if(this.match(c.colon)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(c.colon)}const r=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"?"TSDeclareMethod":undefined;if(r&&!this.match(c.braceL)&&this.isLineTerminator()){this.finishNode(e,r);return}if(r==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(e.start,De.DeclareFunctionHasImplementation);if(e.declare){super.parseFunctionBodyAndFinish(e,r,s);return}}super.parseFunctionBodyAndFinish(e,t,s)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkLVal(e.id,"function name",ie)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(e.typeAnnotation.start,De.UnexpectedTypeAnnotation)}})}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,s,r,i){if(!this.hasPrecedingLineBreak()&&this.match(c.bang)){this.state.exprAllowed=false;this.next();const r=this.startNodeAt(t,s);r.expression=e;return this.finishNode(r,"TSNonNullExpression")}if(this.isRelational("<")){const n=this.tsTryParseAndCatch(()=>{if(!r&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,s);if(e){return e}}const n=this.startNodeAt(t,s);n.callee=e;const a=this.tsParseTypeArguments();if(a){if(!r&&this.eat(c.parenL)){n.arguments=this.parseCallExpressionArguments(c.parenR,false);this.tsCheckForInvalidTypeCasts(n.arguments);n.typeParameters=a;if(i.optionalChainMember){n.optional=false}return this.finishCallExpression(n,i.optionalChainMember)}else if(this.match(c.backQuote)){const r=this.parseTaggedTemplateExpression(e,t,s,i);r.typeParameters=a;return r}}this.unexpected()});if(n)return n}return super.parseSubscript(e,t,s,r,i)}parseNewArguments(e){if(this.isRelational("<")){const t=this.tsTryParseAndCatch(()=>{const e=this.tsParseTypeArguments();if(!this.match(c.parenL))this.unexpected();return e});if(t){e.typeParameters=t}}super.parseNewArguments(e)}parseExprOp(e,t,s,r){if(nonNull(c._in.binop)>r&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const i=this.startNodeAt(t,s);i.expression=e;const n=this.tsTryNextParseConstantContext();if(n){i.typeAnnotation=n}else{i.typeAnnotation=this.tsNextThenParseType()}this.finishNode(i,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(i,t,s,r)}return super.parseExprOp(e,t,s,r)}checkReservedWord(e,t,s,r){}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(this.match(c.name)||this.match(c.star)||this.match(c.braceL)){let t=this.lookahead();if(this.isContextual("type")&&t.type!==c.comma&&!(t.type===c.name&&t.value==="from")&&t.type!==c.eq){e.importKind="type";this.next();t=this.lookahead()}if(this.match(c.name)&&t.type===c.eq){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(t.start,De.TypeImportCannotSpecifyDefaultAndNamed)}return t}parseExport(e){if(this.match(c._import)){this.next();if(this.isContextual("type")&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(c.eq)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual("as")){const t=e;this.expectContextual("namespace");t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual("type")&&this.lookahead().type===c.braceL){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===c._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.state.value==="interface"){const e=this.tsParseDeclaration(this.startNode(),this.state.value,true);if(e)return e}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===c._const){const e=this.lookahead();if(e.type===c.name&&e.value==="enum"){const e=this.startNode();this.expect(c._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!e[t]})}parseClassMember(e,t,s){const r=["declare","private","public","protected","override","abstract","readonly"];this.tsParseModifiers(t,r.concat(["static"]));const i=()=>{const i=!!t.static;if(i&&this.eat(c.braceL)){if(this.tsHasSomeModifiers(t,r)){this.raise(this.state.pos,De.StaticBlockCannotHaveModifier)}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,s,i)}};if(t.declare){this.tsInAmbientContext(i)}else{i()}}parseClassMemberWithIsStatic(e,t,s,r){const i=this.tsTryParseIndexSignature(t);if(i){e.body.push(i);if(t.abstract){this.raise(t.start,De.IndexSignatureHasAbstract)}if(t.accessibility){this.raise(t.start,De.IndexSignatureHasAccessibility,t.accessibility)}if(t.declare){this.raise(t.start,De.IndexSignatureHasDeclare)}if(t.override){this.raise(t.start,De.IndexSignatureHasOverride)}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(t.start,De.NonAbstractClassHasAbstractMethod)}if(t.override){if(!s.hadSuperClass){this.raise(t.start,De.OverrideNotInSubClass)}}super.parseClassMemberWithIsStatic(e,t,s,r)}parsePostMemberNameModifiers(e){const t=this.eat(c.question);if(t)e.optional=true;if(e.readonly&&this.match(c.parenL)){this.raise(e.start,De.ClassMethodHasReadonly)}if(e.declare&&this.match(c.parenL)){this.raise(e.start,De.ClassMethodHasDeclare)}}parseExpressionStatement(e,t){const s=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return s||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,s,r){if(!r||!this.match(c.question)){return super.parseConditional(e,t,s,r)}const i=this.tryParse(()=>super.parseConditional(e,t,s));if(!i.node){r.start=i.error.pos||this.state.start;return e}if(i.error)this.state=i.failState;return i.node}parseParenItem(e,t,s){e=super.parseParenItem(e,t,s);if(this.eat(c.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(c.colon)){const r=this.startNodeAt(t,s);r.expression=e;r.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(r,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start;const s=this.state.startLoc;const r=this.eatContextual("declare");if(r&&(this.isContextual("declare")||!this.shouldParseExportDeclaration())){throw this.raise(this.state.start,De.ExpectedAmbientAfterExportDeclare)}let i;if(this.match(c.name)){i=this.tsTryParseExportDeclaration()}if(!i){i=super.parseExportDeclaration(e)}if(i&&(i.type==="TSInterfaceDeclaration"||i.type==="TSTypeAliasDeclaration"||r)){e.exportKind="type"}if(i&&r){this.resetStartLocation(i,t,s);i.declare=true}return i}parseClassId(e,t,s){if((!t||s)&&this.isContextual("implements")){return}super.parseClassId(e,t,s,e.declare?ie:Y);const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(c.bang)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(c.eq)){this.raise(this.state.start,De.DeclareClassFieldHasInitializer)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(e.start,De.PrivateElementHasAbstract)}if(e.accessibility){this.raise(e.start,De.PrivateElementHasAccessibility,e.accessibility)}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,s,r,i,n){const a=this.tsTryParseTypeParameters();if(a&&i){this.raise(a.start,De.ConstructorHasTypeParameters)}if(t.declare&&(t.kind==="get"||t.kind==="set")){this.raise(t.start,De.DeclareAccessor,t.kind)}if(a)t.typeParameters=a;super.pushClassMethod(e,t,s,r,i,n)}pushClassPrivateMethod(e,t,s,r){const i=this.tsTryParseTypeParameters();if(i)t.typeParameters=i;super.pushClassPrivateMethod(e,t,s,r)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.tsParseTypeArguments()}if(this.eatContextual("implements")){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const s=this.tsTryParseTypeParameters();if(s)e.typeParameters=s;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const s=this.tsTryParseTypeParameters();if(s)e.typeParameters=s;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&this.eat(c.bang)){e.definite=true}const s=this.tsTryParseTypeAnnotation();if(s){e.id.typeAnnotation=s;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(c.colon)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,s,r,i,n,a,o;let l;let p;let u;if(this.hasPlugin("jsx")&&(this.match(c.jsxTagStart)||this.isRelational("<"))){l=this.state.clone();p=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!p.error)return p.node;const{context:t}=this.state;if(t[t.length-1]===g.j_oTag){t.length-=2}else if(t[t.length-1]===g.j_expr){t.length-=1}}if(!((t=p)!=null&&t.error)&&!this.isRelational("<")){return super.parseMaybeAssign(...e)}let h;l=l||this.state.clone();const f=this.tryParse(t=>{var s,r;h=this.tsParseTypeParameters();const i=super.parseMaybeAssign(...e);if(i.type!=="ArrowFunctionExpression"||(s=i.extra)!=null&&s.parenthesized){t()}if(((r=h)==null?void 0:r.params.length)!==0){this.resetStartLocationFromNode(i,h)}i.typeParameters=h;return i},l);if(!f.error&&!f.aborted)return f.node;if(!p){assert(!this.hasPlugin("jsx"));u=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!u.error)return u.node}if((s=p)!=null&&s.node){this.state=p.failState;return p.node}if(f.node){this.state=f.failState;return f.node}if((r=u)!=null&&r.node){this.state=u.failState;return u.node}if((i=p)!=null&&i.thrown)throw p.error;if(f.thrown)throw f.error;if((n=u)!=null&&n.thrown)throw u.error;throw((a=p)==null?void 0:a.error)||f.error||((o=u)==null?void 0:o.error)}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.isRelational("<")){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(c.colon)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(c.colon);if(this.canInsertSemicolon()||!this.match(c.arrow))e();return t});if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(c.question)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(e.start,De.PatternIsOptional)}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}toAssignable(e,t=false){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...s){var r;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...s);return;case"TSAsExpression":case"TSTypeAssertion":if(!s[0]&&t!=="parenthesized expression"&&!((r=e.extra)!=null&&r.parenthesized)){this.raise(e.start,d.InvalidLhs,t);break}this.checkLVal(e.expression,"parenthesized expression",...s);return;case"TSNonNullExpression":this.checkLVal(e.expression,t,...s);return;default:super.checkLVal(e,t,...s);return}}parseBindingAtom(){switch(this.state.type){case c._this:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(c.parenL)){const s=super.parseMaybeDecoratorArguments(e);s.typeParameters=t;return s}this.unexpected(this.state.start,c.parenL)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(c.comma)&&this.lookaheadCharCode()===e){this.next()}else{super.checkCommaAfterRest(e)}}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(c.bang)||this.match(c.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.startthis.tsParseTypeArguments());if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const s=this.getObjectOrClassMethodParams(e);const r=s[0];const i=r&&this.isThisParam(r);return i?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,...t){const s=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,...t)}finally{this.state.inAbstractClass=s}}tsParseAbstractDeclaration(e){if(this.match(c._class)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual("interface")){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(e.start,De.NonClassMethodPropertyHasAbstractModifer);this.next();return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,c._class)}}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(t.start,De.AbstractMethodHasImplementation,e.type==="Identifier"?e.name:`[${this.input.slice(e.start,e.end)}]`)}}return t}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}});c.placeholder=new TokenType("%%",{startsExpr:true});const Fe=makeErrorTemplates({ClassNameIsRequired:"A class name is required."},f.SyntaxError);var Me=e=>(class extends e{parsePlaceholder(e){if(this.match(c.placeholder)){const t=this.startNode();this.next();this.assertNoSpace("Unexpected space in placeholder.");t.name=super.parseIdentifier(true);this.assertNoSpace("Unexpected space in placeholder.");this.expect(c.placeholder);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const s=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return s?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(c.placeholder,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){if(e.type!=="Placeholder")super.checkLVal(...arguments)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern";return e}return super.toAssignable(...arguments)}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual("let")){return false}if(e)return false;const t=this.lookahead();if(t.type===c.placeholder){return true}return false}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(c.colon)){const s=e;s.label=this.finishPlaceholder(t,"Identifier");this.next();s.body=this.parseStatement("label");return this.finishNode(s,"LabeledStatement")}this.semicolon();e.name=t.name;return this.finishPlaceholder(e,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(e,t,s){const r=t?"ClassDeclaration":"ClassExpression";this.next();this.takeDecorators(e);const i=this.state.strict;const n=this.parsePlaceholder("Identifier");if(n){if(this.match(c._extends)||this.match(c.placeholder)||this.match(c.braceL)){e.id=n}else if(s||!t){e.id=null;e.body=this.finishPlaceholder(n,"ClassBody");return this.finishNode(e,r)}else{this.unexpected(null,Fe.ClassNameIsRequired)}}else{this.parseClassId(e,t,s)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,i);return this.finishNode(e,r)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(c.comma)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const s=this.startNode();s.exported=t;e.specifiers=[this.finishNode(s,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(c._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(c.placeholder.label,this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter(e=>e.exported.type==="Placeholder")}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual("from")&&!this.match(c.comma)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const s=this.startNodeAtNode(t);s.local=t;this.finishNode(s,"ImportDefaultSpecifier");e.specifiers.push(s);if(this.eat(c.comma)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual("from");e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}});var Le=e=>(class extends e{parseV8Intrinsic(){if(this.match(c.modulo)){const e=this.state.start;const t=this.startNode();this.eat(c.modulo);if(this.match(c.name)){const e=this.parseIdentifierName(this.state.start);const s=this.createIdentifier(t,e);s.type="V8IntrinsicIdentifier";if(this.match(c.parenL)){return s}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}});function hasPlugin(e,t){return e.some(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}})}function getPluginOption(e,t,s){const r=e.find(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}});if(r&&Array.isArray(r)){return r[1][s]}return null}const Be=["minimal","smart","fsharp"];const Ue=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option,"+" whose value must be a boolean. If you are migrating from"+" Babylon/Babel 6 or want to use the old decorators proposal, you"+" should use the 'decorators-legacy' plugin instead of 'decorators'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")&&!Be.includes(getPluginOption(e,"pipelineOperator","proposal"))){throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: "+Be.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}}if(hasPlugin(e,"recordAndTuple")&&!Ue.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Ue.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const We={estree:m,jsx:Ie,flow:Ee,typescript:Ne,v8intrinsic:Le,placeholders:Me};const qe=Object.keys(We);const He={sourceType:"script",sourceFilename:undefined,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false};function getOptions(e){const t={};for(const s of Object.keys(He)){t[s]=e&&e[s]!=null?e[s]:He[s]}return t}var ze=function isDigit(e){return e>=48&&e<=57};const Ve=new Set([103,109,115,105,121,117,100]);const Ke={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]};const $e={};$e.bin=[48,49];$e.oct=[...$e.bin,50,51,52,53,54,55];$e.dec=[...$e.oct,56,57];$e.hex=[...$e.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends ParserError{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(this.state))}this.state.lastTokEnd=this.state.end;this.state.lastTokStart=this.state.start;this.state.lastTokEndLoc=this.state.endLoc;this.state.lastTokStartLoc=this.state.startLoc;this.nextToken()}eat(e){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){h.lastIndex=e;const t=h.exec(this.input);return e+t[0].length}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(t,e));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(!e.preserveSpace)this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(c.eof);return}if(e===g.template){this.readTmplToken()}else{this.getTokenFromCode(this.codePointAtPos(this.state.pos))}}pushComment(e,t,s,r,i,n){const a={type:e?"CommentBlock":"CommentLine",value:t,start:s,end:r,loc:new SourceLocation(i,n)};if(this.options.tokens)this.pushToken(a);this.state.comments.push(a);this.addComment(a)}skipBlockComment(){let e;if(!this.isLookahead)e=this.state.curPosition();const t=this.state.pos;const s=this.input.indexOf("*/",this.state.pos+2);if(s===-1)throw this.raise(t,d.UnterminatedComment);this.state.pos=s+2;u.lastIndex=t;let r;while((r=u.exec(this.input))&&r.index=48&&t<=57){throw this.raise(this.state.pos,d.UnexpectedDigitAfterHash)}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(this.state.pos,t===123?d.RecordExpressionHashIncorrectStartSyntaxType:d.TupleExpressionHashIncorrectStartSyntaxType)}this.state.pos+=2;if(t===123){this.finishToken(c.braceHashL)}else{this.finishToken(c.bracketHashL)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(c.privateName,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(c.privateName,this.readWord1())}else{this.finishOp(c.hash,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(c.ellipsis)}else{++this.state.pos;this.finishToken(c.dot)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(c.slashAssign,2)}else{this.finishOp(c.slash,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos=48&&t<=57)){this.state.pos+=2;this.finishToken(c.questionDot)}else{++this.state.pos;this.finishToken(c.question)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(c.parenL);return;case 41:++this.state.pos;this.finishToken(c.parenR);return;case 59:++this.state.pos;this.finishToken(c.semi);return;case 44:++this.state.pos;this.finishToken(c.comma);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,d.TupleExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(c.bracketBarL)}else{++this.state.pos;this.finishToken(c.bracketL)}return;case 93:++this.state.pos;this.finishToken(c.bracketR);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,d.RecordExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(c.braceBarL)}else{++this.state.pos;this.finishToken(c.braceL)}return;case 125:++this.state.pos;this.finishToken(c.braceR);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(c.doubleColon,2)}else{++this.state.pos;this.finishToken(c.colon)}return;case 63:this.readToken_question();return;case 96:++this.state.pos;this.finishToken(c.backQuote);return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:case 62:this.readToken_lt_gt(e);return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(c.tilde,1);return;case 64:++this.state.pos;this.finishToken(c.at);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(this.state.pos,d.InvalidOrUnexpectedToken,String.fromCodePoint(e))}finishOp(e,t){const s=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t;this.finishToken(e,s)}readRegexp(){const e=this.state.start+1;let t,s;let{pos:r}=this.state;for(;;++r){if(r>=this.length){throw this.raise(e,d.UnterminatedRegExp)}const i=this.input.charCodeAt(r);if(isNewLine(i)){throw this.raise(e,d.UnterminatedRegExp)}if(t){t=false}else{if(i===91){s=true}else if(i===93&&s){s=false}else if(i===47&&!s){break}t=i===92}}const i=this.input.slice(e,r);++r;let n="";while(r-1||n.indexOf(t)>-1||Number.isNaN(t)){this.raise(this.state.pos,d.UnexpectedNumericSeparator)}if(!r){this.raise(this.state.pos,d.NumericSeparatorInEscapeSequence)}++this.state.pos;continue}if(t>=97){c=t-97+10}else if(t>=65){c=t-65+10}else if(ze(t)){c=t-48}else{c=Infinity}if(c>=e){if(this.options.errorRecovery&&c<=9){c=0;this.raise(this.state.start+i+2,d.InvalidDigit,e)}else if(s){c=0;o=true}else{break}}++this.state.pos;l=l*e+c}if(this.state.pos===i||t!=null&&this.state.pos-i!==t||o){return null}return l}readRadixNumber(e){const t=this.state.pos;let s=false;this.state.pos+=2;const r=this.readInt(e);if(r==null){this.raise(this.state.start+2,d.InvalidDigit,e)}const i=this.input.charCodeAt(this.state.pos);if(i===110){++this.state.pos;s=true}else if(i===109){throw this.raise(t,d.InvalidDecimal)}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,d.NumberIdentifier)}if(s){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(c.bigint,e);return}this.finishToken(c.num,r)}readNumber(e){const t=this.state.pos;let s=false;let r=false;let i=false;let n=false;let a=false;if(!e&&this.readInt(10)===null){this.raise(t,d.InvalidNumber)}const o=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(o){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(t,d.StrictOctalLiteral);if(!this.state.strict){const s=e.indexOf("_");if(s>0){this.raise(s+t,d.ZeroDigitNumericSeparator)}}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!a){++this.state.pos;this.readInt(10);s=true;l=this.input.charCodeAt(this.state.pos)}if((l===69||l===101)&&!a){l=this.input.charCodeAt(++this.state.pos);if(l===43||l===45){++this.state.pos}if(this.readInt(10)===null){this.raise(t,d.InvalidOrMissingExponent)}s=true;n=true;l=this.input.charCodeAt(this.state.pos)}if(l===110){if(s||o){this.raise(t,d.InvalidBigIntLiteral)}++this.state.pos;r=true}if(l===109){this.expectPlugin("decimal",this.state.pos);if(n||o){this.raise(t,d.InvalidDecimal)}++this.state.pos;i=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,d.NumberIdentifier)}const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(r){this.finishToken(c.bigint,p);return}if(i){this.finishToken(c.decimal,p);return}const u=a?parseInt(p,8):parseFloat(p);this.finishToken(c.num,u)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let s;if(t===123){const t=++this.state.pos;s=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(s!==null&&s>1114111){if(e){this.raise(t,d.InvalidCodePoint)}else{return null}}}else{s=this.readHexChar(4,false,e)}return s}readString(e){let t="",s=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,d.UnterminatedString)}const r=this.input.charCodeAt(this.state.pos);if(r===e)break;if(r===92){t+=this.input.slice(s,this.state.pos);t+=this.readEscapedChar(false);s=this.state.pos}else if(r===8232||r===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(r)){throw this.raise(this.state.start,d.UnterminatedString)}else{++this.state.pos}}t+=this.input.slice(s,this.state.pos++);this.finishToken(c.string,t)}readTmplToken(){let e="",t=this.state.pos,s=false;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,d.UnterminatedTemplate)}const r=this.input.charCodeAt(this.state.pos);if(r===96||r===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(c.template)){if(r===36){this.state.pos+=2;this.finishToken(c.dollarBraceL);return}else{++this.state.pos;this.finishToken(c.backQuote);return}}e+=this.input.slice(t,this.state.pos);this.finishToken(c.template,s?null:e);return}if(r===92){e+=this.input.slice(t,this.state.pos);const r=this.readEscapedChar(true);if(r===null){s=true}else{e+=r}t=this.state.pos}else if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(r){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(r);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,t){if(this.state.strict&&!this.state.strictErrors.has(e)){this.raise(e,t)}else{this.state.strictErrors.set(e,t)}}readEscapedChar(e){const t=!e;const s=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(s){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:this.state.lineStart=this.state.pos;++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(e){return null}else{this.recordStrictModeErrors(this.state.pos-1,d.StrictNumericEscape)}default:if(s>=48&&s<=55){const t=this.state.pos-1;const s=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let r=s[0];let i=parseInt(r,8);if(i>255){r=r.slice(0,-1);i=parseInt(r,8)}this.state.pos+=r.length-1;const n=this.input.charCodeAt(this.state.pos);if(r!=="0"||n===56||n===57){if(e){return null}else{this.recordStrictModeErrors(t,d.StrictNumericEscape)}}return String.fromCharCode(i)}return String.fromCharCode(s)}}readHexChar(e,t,s){const r=this.state.pos;const i=this.readInt(16,e,t,false);if(i===null){if(s){this.raise(r,d.InvalidEscapeSequence)}else{this.state.pos=r-1}}return i}readWord1(e){this.state.containsEsc=false;let t="";const s=this.state.pos;let r=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos{this.raise(s,t);let r=e.length-2;let i=e[r];while(i.canBeArrowParameterDeclaration()){i.clearDeclarationError(s);i=e[--r]}})}}function newParameterDeclarationScope(){return new ExpressionScope(Ye)}function newArrowHeadScope(){return new ArrowHeadParsingScope(Je)}function newAsyncArrowScope(){return new ArrowHeadParsingScope(Xe)}function newExpressionScope(){return new ExpressionScope}class UtilParser extends Tokenizer{addExtra(e,t,s){if(!e)return;const r=e.extra=e.extra||{};r[t]=s}isRelational(e){return this.match(c.relational)&&this.state.value===e}expectRelational(e){if(this.isRelational(e)){this.next()}else{this.unexpected(null,c.relational)}}isContextual(e){return this.match(c.name)&&this.state.value===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const s=e+t.length;if(this.input.slice(e,s)===t){const e=this.input.charCodeAt(s);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)&&this.eat(c.name)}expectContextual(e,t){if(!this.eatContextual(e))this.unexpected(null,t)}canInsertSemicolon(){return this.match(c.eof)||this.match(c.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return p.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){return p.test(this.input.slice(this.state.end,this.nextTokenStart()))}isLineTerminator(){return this.eat(c.semi)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(c.semi))return;this.raise(this.state.lastTokEnd,d.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){if(this.state.start>this.state.lastTokEnd){this.raise(this.state.lastTokEnd,{code:f.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}}unexpected(e,t={code:f.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){if(t instanceof TokenType){t={code:f.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${t.label}"`}}throw this.raise(e!=null?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e)){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`)}return true}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e))){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:e},`This experimental syntax requires enabling one of the following parser plugin(s): '${e.join(", ")}'`)}}tryParse(e,t=this.state.clone()){const s={node:null};try{const r=e((e=null)=>{s.node=e;throw s});if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:r,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:r,error:null,thrown:false,aborted:false,failState:null}}catch(e){const r=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:r}}if(e===s){return{node:s.node,error:null,thrown:false,aborted:true,failState:r}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssign:s,doubleProto:r}=e;if(!t)return s>=0||r>=0;if(s>=0){this.unexpected(s)}if(r>=0){this.raise(r,d.DuplicateProto)}}isLiteralPropertyName(){return this.match(c.name)||!!this.state.type.keyword||this.match(c.string)||this.match(c.num)||this.match(c.bigint)||this.match(c.decimal)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const s=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const r=this.inModule;this.inModule=e;const i=this.scope;const n=this.getScopeHandler();this.scope=new n(this.raise.bind(this),this.inModule);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this.raise.bind(this));const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this.raise.bind(this));return()=>{this.state.labels=t;this.exportedIdentifiers=s;this.inModule=r;this.scope=i;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=je;if(this.hasPlugin("topLevelAwait")&&this.inModule){e|=Se}this.scope.enter(O);this.prodParam.enter(e)}}class ExpressionErrors{constructor(){this.shorthandAssign=-1;this.doubleProto=-1}}class Node{constructor(e,t,s){this.type=void 0;this.start=void 0;this.end=void 0;this.loc=void 0;this.range=void 0;this.leadingComments=void 0;this.trailingComments=void 0;this.innerComments=void 0;this.extra=void 0;this.type="";this.start=t;this.end=0;this.loc=new SourceLocation(s);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}__clone(){const e=new Node;const t=Object.keys(this);for(let s=0,r=t.length;s{return e.type==="ParenthesizedExpression"?Qe(e.expression):e};class LValParser extends NodeUtils{toAssignable(e,t=false){var s,r;let i=undefined;if(e.type==="ParenthesizedExpression"||(s=e.extra)!=null&&s.parenthesized){i=Qe(e);if(t){if(i.type==="Identifier"){this.expressionScope.recordParenthesizedIdentifierError(e.start,d.InvalidParenthesizedAssignment)}else if(i.type!=="MemberExpression"){this.raise(e.start,d.InvalidParenthesizedAssignment)}}else{this.raise(e.start,d.InvalidParenthesizedAssignment)}}switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":break;case"ObjectExpression":e.type="ObjectPattern";for(let s=0,r=e.properties.length,i=r-1;sthis.parseExpressionBase(t))}return this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start;const s=this.state.startLoc;const r=this.parseMaybeAssign(e);if(this.match(c.comma)){const i=this.startNodeAt(t,s);i.expressions=[r];while(this.eat(c.comma)){i.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(i.expressions);return this.finishNode(i,"SequenceExpression")}return r}parseMaybeAssignDisallowIn(e,t,s){return this.disallowInAnd(()=>this.parseMaybeAssign(e,t,s))}parseMaybeAssignAllowIn(e,t,s){return this.allowInAnd(()=>this.parseMaybeAssign(e,t,s))}parseMaybeAssign(e,t,s){const r=this.state.start;const i=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,r,i)}return e}}let n;if(e){n=false}else{e=new ExpressionErrors;n=true}if(this.match(c.parenL)||this.match(c.name)){this.state.potentialArrowAt=this.state.start}let a=this.parseMaybeConditional(e,s);if(t){a=t.call(this,a,r,i)}if(this.state.type.isAssign){const t=this.startNodeAt(r,i);const s=this.state.value;t.operator=s;if(this.match(c.eq)){t.left=this.toAssignable(a,true);e.doubleProto=-1}else{t.left=a}if(e.shorthandAssign>=t.left.start){e.shorthandAssign=-1}this.checkLVal(a,"assignment expression");this.next();t.right=this.parseMaybeAssign();return this.finishNode(t,"AssignmentExpression")}else if(n){this.checkExpressionErrors(e,true)}return a}parseMaybeConditional(e,t){const s=this.state.start;const r=this.state.startLoc;const i=this.state.potentialArrowAt;const n=this.parseExprOps(e);if(this.shouldExitDescending(n,i)){return n}return this.parseConditional(n,s,r,t)}parseConditional(e,t,s,r){if(this.eat(c.question)){const r=this.startNodeAt(t,s);r.test=e;r.consequent=this.parseMaybeAssignAllowIn();this.expect(c.colon);r.alternate=this.parseMaybeAssign();return this.finishNode(r,"ConditionalExpression")}return e}parseExprOps(e){const t=this.state.start;const s=this.state.startLoc;const r=this.state.potentialArrowAt;const i=this.parseMaybeUnary(e);if(this.shouldExitDescending(i,r)){return i}return this.parseExprOp(i,t,s,-1)}parseExprOp(e,t,s,r){let i=this.state.type.binop;if(i!=null&&(this.prodParam.hasIn||!this.match(c._in))){if(i>r){const n=this.state.type;if(n===c.pipeline){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.state.inPipeline=true;this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,s);a.left=e;a.operator=this.state.value;const o=n===c.logicalOR||n===c.logicalAND;const l=n===c.nullishCoalescing;if(l){i=c.logicalAND.binop}this.next();if(n===c.pipeline&&this.getPluginOption("pipelineOperator","proposal")==="minimal"){if(this.match(c.name)&&this.state.value==="await"&&this.prodParam.hasAwait){throw this.raise(this.state.start,d.UnexpectedAwaitAfterPipelineBody)}}a.right=this.parseExprOpRightExpr(n,i);this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");const p=this.state.type;if(l&&(p===c.logicalOR||p===c.logicalAND)||o&&p===c.nullishCoalescing){throw this.raise(this.state.start,d.MixingCoalesceWithLogical)}return this.parseExprOp(a,t,s,r)}}return e}parseExprOpRightExpr(e,t){const s=this.state.start;const r=this.state.startLoc;switch(e){case c.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"smart":return this.withTopicPermittingContext(()=>{return this.parseSmartPipelineBody(this.parseExprOpBaseRightExpr(e,t),s,r)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(t)})}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const s=this.state.start;const r=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),s,r,e.rightAssociative?t-1:t)}checkExponentialAfterUnary(e){if(this.match(c.exponent)){this.raise(e.argument.start,d.UnexpectedTokenUnaryExponentiation)}}parseMaybeUnary(e,t){const s=this.state.start;const r=this.state.startLoc;const i=this.isContextual("await");if(i&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(s,r);if(!t)this.checkExponentialAfterUnary(e);return e}if(this.isContextual("module")&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak()){return this.parseModuleExpression()}const n=this.match(c.incDec);const a=this.startNode();if(this.state.type.prefix){a.operator=this.state.value;a.prefix=true;if(this.match(c._throw)){this.expectPlugin("throwExpressions")}const s=this.match(c._delete);this.next();a.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&s){const e=a.argument;if(e.type==="Identifier"){this.raise(a.start,d.StrictDelete)}else if(this.hasPropertyAsPrivateName(e)){this.raise(a.start,d.DeletePrivateField)}}if(!n){if(!t)this.checkExponentialAfterUnary(a);return this.finishNode(a,"UnaryExpression")}}const o=this.parseUpdate(a,n,e);if(i){const e=this.hasPlugin("v8intrinsic")?this.state.type.startsExpr:this.state.type.startsExpr&&!this.match(c.modulo);if(e&&!this.isAmbiguousAwait()){this.raiseOverwrite(s,this.hasPlugin("topLevelAwait")?d.AwaitNotInAsyncContext:d.AwaitNotInAsyncFunction);return this.parseAwait(s,r)}}return o}parseUpdate(e,t,s){if(t){this.checkLVal(e.argument,"prefix operation");return this.finishNode(e,"UpdateExpression")}const r=this.state.start;const i=this.state.startLoc;let n=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,false))return n;while(this.state.type.postfix&&!this.canInsertSemicolon()){const e=this.startNodeAt(r,i);e.operator=this.state.value;e.prefix=false;e.argument=n;this.checkLVal(n,"postfix operation");this.next();n=this.finishNode(e,"UpdateExpression")}return n}parseExprSubscripts(e){const t=this.state.start;const s=this.state.startLoc;const r=this.state.potentialArrowAt;const i=this.parseExprAtom(e);if(this.shouldExitDescending(i,r)){return i}return this.parseSubscripts(i,t,s)}parseSubscripts(e,t,s,r){const i={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,s,r,i);i.maybeAsyncArrow=false}while(!i.stop);return e}parseSubscript(e,t,s,r,i){if(!r&&this.eat(c.doubleColon)){return this.parseBind(e,t,s,r,i)}else if(this.match(c.backQuote)){return this.parseTaggedTemplateExpression(e,t,s,i)}let n=false;if(this.match(c.questionDot)){if(r&&this.lookaheadCharCode()===40){i.stop=true;return e}i.optionalChainMember=n=true;this.next()}if(!r&&this.match(c.parenL)){return this.parseCoverCallAndAsyncArrowHead(e,t,s,i,n)}else if(n||this.match(c.bracketL)||this.eat(c.dot)){return this.parseMember(e,t,s,i,n)}else{i.stop=true;return e}}parseMember(e,t,s,r,i){const n=this.startNodeAt(t,s);const a=this.eat(c.bracketL);n.object=e;n.computed=a;const o=!a&&this.match(c.privateName)&&this.state.value;const l=a?this.parseExpression():o?this.parsePrivateName():this.parseIdentifier(true);if(o!==false){if(n.object.type==="Super"){this.raise(t,d.SuperPrivateField)}this.classScope.usePrivateName(o,l.start)}n.property=l;if(a){this.expect(c.bracketR)}if(r.optionalChainMember){n.optional=i;return this.finishNode(n,"OptionalMemberExpression")}else{return this.finishNode(n,"MemberExpression")}}parseBind(e,t,s,r,i){const n=this.startNodeAt(t,s);n.object=e;n.callee=this.parseNoCallExpr();i.stop=true;return this.parseSubscripts(this.finishNode(n,"BindExpression"),t,s,r)}parseCoverCallAndAsyncArrowHead(e,t,s,r,i){const n=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,s);o.callee=e;if(r.maybeAsyncArrow){this.expressionScope.enter(newAsyncArrowScope());a=new ExpressionErrors}if(r.optionalChainMember){o.optional=i}if(i){o.arguments=this.parseCallExpressionArguments(c.parenR)}else{o.arguments=this.parseCallExpressionArguments(c.parenR,e.type==="Import",e.type!=="Super",o,a)}this.finishCallExpression(o,r.optionalChainMember);if(r.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!i){r.stop=true;this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,s),o)}else{if(r.maybeAsyncArrow){this.checkExpressionErrors(a,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=n;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,s,r){const i=this.startNodeAt(t,s);i.tag=e;i.quasi=this.parseTemplate(true);if(r.optionalChainMember){this.raise(t,d.OptionalChainingNoTemplate)}return this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(e.start,d.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument")}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(t.start,d.ImportCallSpreadArgument)}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,s,r,i){const n=[];let a=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(a){a=false}else{this.expect(c.comma);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(this.state.lastTokStart,d.ImportCallArgumentTrailingComma)}if(r){this.addExtra(r,"trailingComma",this.state.lastTokStart)}this.next();break}}n.push(this.parseExprListItem(false,i,{start:0},s))}this.state.inFSharpPipelineDirectBody=o;return n}shouldParseAsyncArrow(){return this.match(c.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var s;this.expect(c.arrow);this.parseArrowExpression(e,t.arguments,true,(s=t.extra)==null?void 0:s.trailingComma);return e}parseNoCallExpr(){const e=this.state.start;const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,true)}parseExprAtom(e){let t;switch(this.state.type){case c._super:return this.parseSuper();case c._import:t=this.startNode();this.next();if(this.match(c.dot)){return this.parseImportMetaProperty(t)}if(!this.match(c.parenL)){this.raise(this.state.lastTokStart,d.UnsupportedImport)}return this.finishNode(t,"Import");case c._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case c.name:{const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const s=this.parseIdentifier();if(!t&&s.name==="async"&&!this.canInsertSemicolon()){if(this.match(c._function)){this.next();return this.parseFunction(this.startNodeAtNode(s),undefined,true)}else if(this.match(c.name)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(s)}else{return s}}else if(this.match(c._do)){return this.parseDo(true)}}if(e&&this.match(c.arrow)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(s),[s],false)}return s}case c._do:{return this.parseDo(false)}case c.slash:case c.slashAssign:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case c.num:return this.parseNumericLiteral(this.state.value);case c.bigint:return this.parseBigIntLiteral(this.state.value);case c.decimal:return this.parseDecimalLiteral(this.state.value);case c.string:return this.parseStringLiteral(this.state.value);case c._null:return this.parseNullLiteral();case c._true:return this.parseBooleanLiteral(true);case c._false:return this.parseBooleanLiteral(false);case c.parenL:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case c.bracketBarL:case c.bracketHashL:{return this.parseArrayLike(this.state.type===c.bracketBarL?c.bracketBarR:c.bracketR,false,true,e)}case c.bracketL:{return this.parseArrayLike(c.bracketR,true,false,e)}case c.braceBarL:case c.braceHashL:{return this.parseObjectLike(this.state.type===c.braceBarL?c.braceBarR:c.braceR,false,true,e)}case c.braceL:{return this.parseObjectLike(c.braceR,false,false,e)}case c._function:return this.parseFunctionOrFunctionSent();case c.at:this.parseDecorators();case c._class:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case c._new:return this.parseNewOrNewTarget();case c.backQuote:return this.parseTemplate(false);case c.doubleColon:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(e.start,d.UnsupportedBind)}}case c.privateName:{const e=this.state.start;const s=this.state.value;t=this.parsePrivateName();if(this.match(c._in)){this.expectPlugin("privateIn");this.classScope.usePrivateName(s,t.start)}else if(this.hasPlugin("privateIn")){this.raise(this.state.start,d.PrivateInExpectedIn,s)}else{throw this.unexpected(e)}return t}case c.hash:{if(this.state.inPipeline){t=this.startNode();if(this.getPluginOption("pipelineOperator","proposal")!=="smart"){this.raise(t.start,d.PrimaryTopicRequiresSmartPipeline)}this.next();if(!this.primaryTopicReferenceIsAllowedInCurrentTopicContext()){this.raise(t.start,d.PrimaryTopicNotAllowed)}this.registerTopicReference();return this.finishNode(t,"PipelinePrimaryTopicReference")}}case c.relational:{if(this.state.value==="<"){const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}}}default:throw this.unexpected()}}parseAsyncArrowUnaryFunction(e){const t=this.startNodeAtNode(e);this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const s=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(this.state.pos,d.LineTerminatorBeforeArrow)}this.expect(c.arrow);this.parseArrowExpression(t,s,true);return t}parseDo(e){this.expectPlugin("doExpressions");if(e){this.expectPlugin("asyncDoExpressions")}const t=this.startNode();t.async=e;this.next();const s=this.state.labels;this.state.labels=[];if(e){this.prodParam.enter(Se);t.body=this.parseBlock();this.prodParam.exit()}else{t.body=this.parseBlock()}this.state.labels=s;return this.finishNode(t,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(c.parenL)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,d.SuperNotAllowed)}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,d.UnexpectedSuper)}if(!this.match(c.parenL)&&!this.match(c.bracketL)&&!this.match(c.dot)){this.raise(e.start,d.UnsupportedSuper)}return this.finishNode(e,"Super")}parseMaybePrivateName(e){const t=this.match(c.privateName);if(t){if(!e){this.raise(this.state.start+1,d.UnexpectedPrivateField)}return this.parsePrivateName()}else{return this.parseIdentifier(true)}}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(this.state.start+1,new Position(this.state.curLine,this.state.start+1-this.state.lineStart));const s=this.state.value;this.next();e.id=this.createIdentifier(t,s);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(c.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,s){e.meta=t;if(t.name==="function"&&s==="sent"){if(this.isContextual(s)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}}const r=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==s||r){this.raise(e.property.start,d.UnsupportedMetaProperty,t.name,s)}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual("meta")){if(!this.inModule){this.raise(t.start,y.ImportMetaOutsideModule)}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,s){this.addExtra(s,"rawValue",e);this.addExtra(s,"raw",this.input.slice(s.start,this.state.end));s.value=e;this.next();return this.finishNode(s,t)}parseLiteral(e,t){const s=this.startNode();return this.parseLiteralAtNode(e,t,s)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start;const s=this.state.startLoc;let r;this.next();this.expressionScope.enter(newArrowHeadScope());const i=this.state.maybeInArrowParameters;const n=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const a=this.state.start;const o=this.state.startLoc;const l=[];const p=new ExpressionErrors;const u={start:0};let h=true;let f;let d;while(!this.match(c.parenR)){if(h){h=false}else{this.expect(c.comma,u.start||null);if(this.match(c.parenR)){d=this.state.start;break}}if(this.match(c.ellipsis)){const e=this.state.start;const t=this.state.startLoc;f=this.state.start;l.push(this.parseParenItem(this.parseRestBinding(),e,t));this.checkCommaAfterRest(41);break}else{l.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem,u))}}const y=this.state.lastTokEnd;const m=this.state.lastTokEndLoc;this.expect(c.parenR);this.state.maybeInArrowParameters=i;this.state.inFSharpPipelineDirectBody=n;let g=this.startNodeAt(t,s);if(e&&this.shouldParseArrow()&&(g=this.parseArrow(g))){this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(g,l,false);return g}this.expressionScope.exit();if(!l.length){this.unexpected(this.state.lastTokStart)}if(d)this.unexpected(d);if(f)this.unexpected(f);this.checkExpressionErrors(p,true);if(u.start)this.unexpected(u.start);this.toReferencedListDeep(l,true);if(l.length>1){r=this.startNodeAt(a,o);r.expressions=l;this.finishNodeAt(r,"SequenceExpression",y,m)}else{r=l[0]}if(!this.options.createParenthesizedExpressions){this.addExtra(r,"parenthesized",true);this.addExtra(r,"parenStart",t);return r}const b=this.startNodeAt(t,s);b.expression=r;this.finishNode(b,"ParenthesizedExpression");return b}shouldParseArrow(){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(c.arrow)){return e}}parseParenItem(e,t,s){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(c.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const s=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){this.raise(s.start,d.UnexpectedNewTarget)}return s}return this.parseNew(e)}parseNew(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(e.callee.start,d.ImportCallNotNewExpression)}else if(this.isOptionalChain(e.callee)){this.raise(this.state.lastTokEnd,d.OptionalChainingNoNew)}else if(this.eat(c.questionDot)){this.raise(this.state.start,d.OptionalChainingNoNew)}this.parseNewArguments(e);return this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(c.parenL)){const t=this.parseExprList(c.parenR);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}}parseTemplateElement(e){const t=this.startNode();if(this.state.value===null){if(!e){this.raise(this.state.start+1,d.InvalidEscapeSequenceTemplate)}}t.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,"\n"),cooked:this.state.value};this.next();t.tail=this.match(c.backQuote);return this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next();t.expressions=[];let s=this.parseTemplateElement(e);t.quasis=[s];while(!s.tail){this.expect(c.dollarBraceL);t.expressions.push(this.parseTemplateSubstitution());this.expect(c.braceR);t.quasis.push(s=this.parseTemplateElement(e))}this.next();return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,s,r){if(s){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const n=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(c.comma);if(this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}}const i=this.parsePropertyDefinition(t,r);if(!t){this.checkProto(i,s,n,r)}if(s&&!this.isObjectProperty(i)&&i.type!=="SpreadElement"){this.raise(i.start,d.InvalidRecordProperty)}if(i.shorthand){this.addExtra(i,"shorthand",true)}o.properties.push(i)}this.next();this.state.inFSharpPipelineDirectBody=i;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(s){l="RecordExpression"}return this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(c.bracketL)||this.match(c.star))}parsePropertyDefinition(e,t){let s=[];if(this.match(c.at)){if(this.hasPlugin("decorators")){this.raise(this.state.start,d.UnsupportedPropertyDecorator)}while(this.match(c.at)){s.push(this.parseDecorator())}}const r=this.startNode();let i=false;let n=false;let a=false;let o;let l;if(this.match(c.ellipsis)){if(s.length)this.unexpected();if(e){this.next();r.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(r,"RestElement")}return this.parseSpread()}if(s.length){r.decorators=s;s=[]}r.method=false;if(e||t){o=this.state.start;l=this.state.startLoc}if(!e){i=this.eat(c.star)}const p=this.state.containsEsc;const u=this.parsePropertyName(r,false);if(!e&&!i&&!p&&this.maybeAsyncOrAccessorProp(r)){const e=u.name;if(e==="async"&&!this.hasPrecedingLineBreak()){n=true;i=this.eat(c.star);this.parsePropertyName(r,false)}if(e==="get"||e==="set"){a=true;r.kind=e;if(this.match(c.star)){i=true;this.raise(this.state.pos,d.AccessorIsGenerator,e);this.next()}this.parsePropertyName(r,false)}}this.parseObjPropValue(r,o,l,i,n,e,a,t);return r}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const s=this.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const i=e.start;if(r.length!==s){if(e.kind==="get"){this.raise(i,d.BadGetterArity)}else{this.raise(i,d.BadSetterArity)}}if(e.kind==="set"&&((t=r[r.length-1])==null?void 0:t.type)==="RestElement"){this.raise(i,d.BadSetterRestParameter)}}parseObjectMethod(e,t,s,r,i){if(i){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(s||t||this.match(c.parenL)){if(r)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,s,false,false,"ObjectMethod")}}parseObjectProperty(e,t,s,r,i){e.shorthand=false;if(this.eat(c.colon)){e.value=r?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(i);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.start,true,false);if(r){e.value=this.parseMaybeDefault(t,s,e.key.__clone())}else if(this.match(c.eq)&&i){if(i.shorthandAssign===-1){i.shorthandAssign=this.state.start}e.value=this.parseMaybeDefault(t,s,e.key.__clone())}else{e.value=e.key.__clone()}e.shorthand=true;return this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,s,r,i,n,a,o){const l=this.parseObjectMethod(e,r,i,n,a)||this.parseObjectProperty(e,t,s,n,o);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(c.bracketL)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(c.bracketR)}else{const s=this.state.inPropertyName;this.state.inPropertyName=true;const r=this.state.type;e.key=r===c.num||r===c.string||r===c.bigint||r===c.decimal?this.parseExprAtom():this.parseMaybePrivateName(t);if(r!==c.privateName){e.computed=false}this.state.inPropertyName=s}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,s,r,i,n,a=false){this.initFunction(e,s);e.generator=!!t;const o=r;this.scope.enter(S|D|(a?F:0)|(i?N:0));this.prodParam.enter(functionFlags(s,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,n,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,s,r){if(s){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const n=this.startNode();this.next();n.elements=this.parseExprList(e,!s,r,n);this.state.inFSharpPipelineDirectBody=i;return this.finishNode(n,s?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,s,r){this.scope.enter(S|_);let i=functionFlags(s,false);if(!this.match(c.bracketL)&&this.prodParam.hasIn){i|=Re}this.prodParam.enter(i);this.initFunction(e,s);const n=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,r)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=n;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,s){e.params=this.toAssignableList(t,s,false)}parseFunctionBodyAndFinish(e,t,s=false){this.parseFunctionBody(e,false,s);this.finishNode(e,t)}parseFunctionBody(e,t,s=false){const r=t&&!this.match(c.braceL);this.expressionScope.enter(newExpressionScope());if(r){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const r=this.state.strict;const i=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|_e);e.body=this.parseBlock(true,false,i=>{const n=!this.isSimpleParamList(e.params);if(i&&n){const t=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(t,d.IllegalLanguageModeDirective)}const a=!r&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!s&&!n,t,a);if(this.state.strict&&e.id){this.checkLVal(e.id,"function name",ae,undefined,undefined,a)}});this.prodParam.exit();this.expressionScope.exit();this.state.labels=i}}isSimpleParamList(e){for(let t=0,s=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(t,d.YieldBindingIdentifier);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(t,d.AwaitBindingIdentifier);return}else if(this.scope.inStaticBlock&&!this.scope.inNonArrowFunction){this.raise(t,d.AwaitBindingIdentifierInStaticBlock);return}else{this.expressionScope.recordAsyncArrowParametersError(t,d.AwaitBindingIdentifier)}}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(t,d.ArgumentsInClass);return}}if(s&&isKeyword(e)){this.raise(t,d.UnexpectedKeyword,e);return}const i=!this.state.strict?isReservedWord:r?isStrictBindReservedWord:isStrictReservedWord;if(i(e,this.inModule)){this.raise(t,d.UnexpectedReservedWord,e)}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e,t){const s=this.startNodeAt(e,t);this.expressionScope.recordParameterInitializerError(s.start,d.AwaitExpressionFormalParameter);if(this.eat(c.star)){this.raise(s.start,d.ObsoleteAwaitStar)}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){s.argument=this.parseMaybeUnary(null,true)}return this.finishNode(s,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(c.plusMin)||this.match(c.parenL)||this.match(c.bracketL)||this.match(c.backQuote)||this.match(c.regexp)||this.match(c.slash)||this.hasPlugin("v8intrinsic")&&this.match(c.modulo)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,d.YieldInParameter);this.next();let t=false;let s=null;if(!this.hasPrecedingLineBreak()){t=this.eat(c.star);switch(this.state.type){case c.semi:case c.eof:case c.braceR:case c.parenR:case c.bracketR:case c.braceBarR:case c.colon:case c.comma:if(!t)break;default:s=this.parseMaybeAssign()}}e.delegate=t;e.argument=s;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.getPluginOption("pipelineOperator","proposal")==="smart"){if(e.type==="SequenceExpression"){this.raise(t,d.PipelineHeadSequenceExpression)}}}parseSmartPipelineBody(e,t,s){this.checkSmartPipelineBodyEarlyErrors(e,t);return this.parseSmartPipelineBodyInStyle(e,t,s)}checkSmartPipelineBodyEarlyErrors(e,t){if(this.match(c.arrow)){throw this.raise(this.state.start,d.PipelineBodyNoArrow)}else if(e.type==="SequenceExpression"){this.raise(t,d.PipelineBodySequenceExpression)}}parseSmartPipelineBodyInStyle(e,t,s){const r=this.startNodeAt(t,s);const i=this.isSimpleReference(e);if(i){r.callee=e}else{if(!this.topicReferenceWasUsedInCurrentTopicContext()){this.raise(t,d.PipelineTopicUnused)}r.expression=e}return this.finishNode(r,i?"PipelineBareFunction":"PipelineTopicExpression")}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}withTopicPermittingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withTopicForbiddingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const s=Re&~t;if(s){this.prodParam.enter(t|Re);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const s=Re&t;if(s){this.prodParam.enter(t&~Re);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}primaryTopicReferenceIsAllowedInCurrentTopicContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentTopicContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const s=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const i=this.parseExprOp(this.parseMaybeUnary(),t,s,e);this.state.inFSharpPipelineDirectBody=r;return i}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(c.braceL);const t=this.initializeScopes(true);this.enterInitialScopes();const s=this.startNode();try{e.body=this.parseProgram(s,c.braceR,"module")}finally{t()}this.eat(c.braceR);return this.finishNode(e,"ModuleExpression")}}const Ze={kind:"loop"},et={kind:"switch"};const tt=0,st=1,rt=2,it=4;const nt=/[\uD800-\uDFFF]/u;const at=/in(?:stanceof)?/y;function babel7CompatTokens(e){{for(let t=0;t0){for(const[e]of Array.from(this.scope.undefinedExports)){const t=this.scope.undefinedExports.get(e);this.raise(t,d.ModuleExportUndefined,e)}}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e.expression;const s=this.startNodeAt(t.start,t.loc.start);const r=this.startNodeAt(e.start,e.loc.start);const i=this.input.slice(t.start,t.end);const n=s.value=i.slice(1,-1);this.addExtra(s,"raw",i);this.addExtra(s,"rawValue",n);r.value=this.finishNodeAt(s,"DirectiveLiteral",t.end,t.loc.end);return this.finishNodeAt(r,"Directive",e.end,e.loc.end)}parseInterpreterDirective(){if(!this.match(c.interpreterDirective)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual("let")){return false}return this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart();const s=this.codePointAtPos(t);if(s===92||s===91){return true}if(e)return false;if(s===123)return true;if(isIdentifierStart(s)){at.lastIndex=t;const e=at.exec(this.input);if(e!==null){const s=this.codePointAtPos(t+e[0].length);if(!isIdentifierChar(s)&&s!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(c.at)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let s=this.state.type;const r=this.startNode();let i;if(this.isLet(e)){s=c._var;i="let"}switch(s){case c._break:case c._continue:return this.parseBreakContinueStatement(r,s.keyword);case c._debugger:return this.parseDebuggerStatement(r);case c._do:return this.parseDoStatement(r);case c._for:return this.parseForStatement(r);case c._function:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(this.state.start,d.StrictFunction)}else if(e!=="if"&&e!=="label"){this.raise(this.state.start,d.SloppyFunction)}}return this.parseFunctionStatement(r,false,!e);case c._class:if(e)this.unexpected();return this.parseClass(r,true);case c._if:return this.parseIfStatement(r);case c._return:return this.parseReturnStatement(r);case c._switch:return this.parseSwitchStatement(r);case c._throw:return this.parseThrowStatement(r);case c._try:return this.parseTryStatement(r);case c._const:case c._var:i=i||this.state.value;if(e&&i!=="var"){this.raise(this.state.start,d.UnexpectedLexicalDeclaration)}return this.parseVarStatement(r,i);case c._while:return this.parseWhileStatement(r);case c._with:return this.parseWithStatement(r);case c.braceL:return this.parseBlock();case c.semi:return this.parseEmptyStatement(r);case c._import:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case c._export:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(this.state.start,d.UnexpectedImportExport)}this.next();let e;if(s===c._import){e=this.parseImport(r);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(r);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(r);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(this.state.start,d.AsyncFunctionInSingleStatementContext)}this.next();return this.parseFunctionStatement(r,true,!e)}}}const n=this.state.value;const a=this.parseExpression();if(s===c.name&&a.type==="Identifier"&&this.eat(c.colon)){return this.parseLabeledStatement(r,n,a,e)}else{return this.parseExpressionStatement(r,a)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(e.start,y.ImportOutsideModule)}}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];if(t.length){e.decorators=t;this.resetStartLocationFromNode(e,t[0]);this.state.decoratorStack[this.state.decoratorStack.length-1]=[]}}canHaveLeadingDecorator(){return this.match(c._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(c.at)){const e=this.parseDecorator();t.push(e)}if(this.match(c._export)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,d.DecoratorExportClass)}}else if(!this.canHaveLeadingDecorator()){throw this.raise(this.state.start,d.UnexpectedLeadingDecorator)}}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start;const s=this.state.startLoc;let r;if(this.eat(c.parenL)){r=this.parseExpression();this.expect(c.parenR)}else{r=this.parseIdentifier(false);while(this.eat(c.dot)){const e=this.startNodeAt(t,s);e.object=r;e.property=this.parseIdentifier(true);e.computed=false;r=this.finishNode(e,"MemberExpression")}}e.expression=this.parseMaybeDecoratorArguments(r);this.state.decoratorStack.pop()}else{e.expression=this.parseExprSubscripts()}return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(c.parenL)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(c.parenR,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){const s=t==="break";this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,s?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){const s=t==="break";let r;for(r=0;rthis.parseStatement("do"));this.state.labels.pop();this.expect(c._while);e.test=this.parseHeaderExpression();this.eat(c.semi);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(Ze);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual("await")){t=this.state.lastTokStart}this.scope.enter(j);this.expect(c.parenL);if(this.match(c.semi)){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}const s=this.isContextual("let");const r=s&&this.isLetKeyword();if(this.match(c._var)||this.match(c._const)||r){const s=this.startNode();const i=r?"let":this.state.value;this.next();this.parseVar(s,true,i);this.finishNode(s,"VariableDeclaration");if((this.match(c._in)||this.isContextual("of"))&&s.declarations.length===1){return this.parseForIn(e,s,t)}if(t>-1){this.unexpected(t)}return this.parseFor(e,s)}const i=this.match(c.name)&&!this.state.containsEsc;const n=new ExpressionErrors;const a=this.parseExpression(true,n);const o=this.isContextual("of");if(o){if(s){this.raise(a.start,d.ForOfLet)}else if(t===-1&&i&&a.type==="Identifier"&&a.name==="async"){this.raise(a.start,d.ForOfAsync)}}if(o||this.match(c._in)){this.toAssignable(a,true);const s=o?"for-of statement":"for-in statement";this.checkLVal(a,s);return this.parseForIn(e,a,t)}else{this.checkExpressionErrors(n,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)}parseFunctionStatement(e,t,s){this.next();return this.parseFunction(e,st|(s?0:rt),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(c._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(this.state.start,d.IllegalReturn)}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(c.braceL);this.state.labels.push(et);this.scope.enter(j);let s;for(let e;!this.match(c.braceR);){if(this.match(c._case)||this.match(c._default)){const r=this.match(c._case);if(s)this.finishNode(s,"SwitchCase");t.push(s=this.startNode());s.consequent=[];this.next();if(r){s.test=this.parseExpression()}else{if(e){this.raise(this.state.lastTokStart,d.MultipleDefaultsInSwitch)}e=true;s.test=null}this.expect(c.colon)}else{if(s){s.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(s)this.finishNode(s,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(this.state.lastTokEnd,d.NewlineAfterThrow)}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?R:0);this.checkLVal(e,"catch clause",Q);return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(c._catch)){const t=this.startNode();this.next();if(this.match(c.parenL)){this.expect(c.parenL);t.param=this.parseCatchClauseParam();this.expect(c.parenR)}else{t.param=null;this.scope.enter(j)}t.body=this.withTopicForbiddingContext(()=>this.parseBlock(false,false));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(c._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,d.NoCatchOrFinally)}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(Ze);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("while"));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(this.state.start,d.StrictWith)}this.next();e.object=this.parseHeaderExpression();e.body=this.withTopicForbiddingContext(()=>this.parseStatement("with"));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,s,r){for(const e of this.state.labels){if(e.name===t){this.raise(s.start,d.LabelRedeclaration,t)}}const i=this.state.type.isLoop?"loop":this.match(c._switch)?"switch":null;for(let t=this.state.labels.length-1;t>=0;t--){const s=this.state.labels[t];if(s.statementStart===e.start){s.statementStart=this.state.start;s.kind=i}else{break}}this.state.labels.push({name:t,kind:i,statementStart:this.state.start});e.body=this.parseStatement(r?r.indexOf("label")===-1?r+"label":r:"label");this.state.labels.pop();e.label=s;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,s){const r=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(c.braceL);if(t){this.scope.enter(j)}this.parseBlockBody(r,e,false,c.braceR,s);if(t){this.scope.exit()}return this.finishNode(r,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,s,r,i){const n=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(n,t?a:undefined,s,r,i)}parseBlockOrModuleBlockBody(e,t,s,r,i){const n=this.state.strict;let a=false;let o=false;while(!this.match(r)){const r=this.parseStatement(null,s);if(t&&!o){if(this.isValidDirective(r)){const e=this.stmtToDirective(r);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(r)}if(i){i.call(this,a)}if(!n){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(c.semi)?null:this.parseExpression();this.semicolon(false);e.update=this.match(c.parenR)?null:this.parseExpression();this.expect(c.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,s){const r=this.match(c._in);this.next();if(r){if(s>-1)this.unexpected(s)}else{e.await=s>-1}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,d.ForInOfLoopInitializer,r?"for-in":"for-of")}else if(t.type==="AssignmentPattern"){this.raise(t.start,d.InvalidLhs,"for-loop")}e.left=t;e.right=r?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(c.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,r?"ForInStatement":"ForOfStatement")}parseVar(e,t,s){const r=e.declarations=[];const i=this.hasPlugin("typescript");e.kind=s;for(;;){const e=this.startNode();this.parseVarId(e,s);if(this.eat(c.eq)){e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn()}else{if(s==="const"&&!(this.match(c._in)||this.isContextual("of"))){if(!i){this.raise(this.state.lastTokEnd,d.DeclarationMissingInitializer,"Const declarations")}}else if(e.id.type!=="Identifier"&&!(t&&(this.match(c._in)||this.isContextual("of")))){this.raise(this.state.lastTokEnd,d.DeclarationMissingInitializer,"Complex binding patterns")}e.init=null}r.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(c.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,"variable declaration",t==="var"?Z:Q,undefined,t!=="var")}parseFunction(e,t=tt,s=false){const r=t&st;const i=t&rt;const n=!!r&&!(t&it);this.initFunction(e,s);if(this.match(c.star)&&i){this.raise(this.state.start,d.GeneratorInSingleStatementContext)}e.generator=this.eat(c.star);if(r){e.id=this.parseFunctionId(n)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(S);this.prodParam.enter(functionFlags(s,e.generator));if(!r){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,r?"FunctionDeclaration":"FunctionExpression")});this.prodParam.exit();this.scope.exit();if(r&&!i){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||this.match(c.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(c.parenL);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(c.parenR,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?Z:Q:ee,e.id.start)}parseClass(e,t,s){this.next();this.takeDecorators(e);const r=this.state.strict;this.state.strict=true;this.parseClassId(e,t,s);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,r);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(c.eq)||this.match(c.semi)||this.match(c.braceR)}isClassMethod(){return this.match(c.parenL)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const s={hadConstructor:false,hadSuperClass:e};let r=[];const i=this.startNode();i.body=[];this.expect(c.braceL);this.withTopicForbiddingContext(()=>{while(!this.match(c.braceR)){if(this.eat(c.semi)){if(r.length>0){throw this.raise(this.state.lastTokEnd,d.DecoratorSemicolon)}continue}if(this.match(c.at)){r.push(this.parseDecorator());continue}const e=this.startNode();if(r.length){e.decorators=r;this.resetStartLocationFromNode(e,r[0]);r=[]}this.parseClassMember(i,e,s);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(e.start,d.DecoratorConstructor)}}});this.state.strict=t;this.next();if(r.length){throw this.raise(this.state.start,d.TrailingDecorator)}this.classScope.exit();return this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){const s=this.parseIdentifier(true);if(this.isClassMethod()){const r=t;r.kind="method";r.computed=false;r.key=s;r.static=false;this.pushClassMethod(e,r,false,false,false,false);return true}else if(this.isClassProperty()){const r=t;r.computed=false;r.key=s;r.static=false;e.body.push(this.parseClassProperty(r));return true}return false}parseClassMember(e,t,s){const r=this.isContextual("static");if(r){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(c.braceL)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,s,r)}parseClassMemberWithIsStatic(e,t,s,r){const i=t;const n=t;const a=t;const o=t;const l=i;const p=i;t.static=r;if(this.eat(c.star)){l.kind="method";const t=this.match(c.privateName);this.parseClassElementName(l);if(t){this.pushClassPrivateMethod(e,n,true,false);return}if(this.isNonstaticConstructor(i)){this.raise(i.key.start,d.ConstructorIsGenerator)}this.pushClassMethod(e,i,true,false,false,false);return}const u=this.state.containsEsc;const h=this.match(c.privateName);const f=this.parseClassElementName(t);const y=f.type==="Identifier";const m=this.state.start;this.parsePostMemberNameModifiers(p);if(this.isClassMethod()){l.kind="method";if(h){this.pushClassPrivateMethod(e,n,false,false);return}const r=this.isNonstaticConstructor(i);let a=false;if(r){i.kind="constructor";if(s.hadConstructor&&!this.hasPlugin("typescript")){this.raise(f.start,d.DuplicateConstructor)}if(r&&this.hasPlugin("typescript")&&t.override){this.raise(f.start,d.OverrideOnConstructor)}s.hadConstructor=true;a=s.hadSuperClass}this.pushClassMethod(e,i,false,false,r,a)}else if(this.isClassProperty()){if(h){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(y&&f.name==="async"&&!u&&!this.isLineTerminator()){const t=this.eat(c.star);if(p.optional){this.unexpected(m)}l.kind="method";const s=this.match(c.privateName);this.parseClassElementName(l);this.parsePostMemberNameModifiers(p);if(s){this.pushClassPrivateMethod(e,n,t,true)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,d.ConstructorIsAsync)}this.pushClassMethod(e,i,t,true,false,false)}}else if(y&&(f.name==="get"||f.name==="set")&&!u&&!(this.match(c.star)&&this.isLineTerminator())){l.kind=f.name;const t=this.match(c.privateName);this.parseClassElementName(i);if(t){this.pushClassPrivateMethod(e,n,false,false)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,d.ConstructorIsAccessor)}this.pushClassMethod(e,i,false,false,false,false)}this.checkGetterSetterParams(i)}else if(this.isLineTerminator()){if(h){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:s,start:r}=this.state;if((t===c.name||t===c.string)&&e.static&&s==="prototype"){this.raise(r,d.StaticPrototype)}if(t===c.privateName&&s==="constructor"){this.raise(r,d.ConstructorClassPrivateField)}return this.parsePropertyName(e,true)}parseClassStaticBlock(e,t){var s;this.expectPlugin("classStaticBlock",t.start);this.scope.enter(F|M|D);const r=this.state.labels;this.state.labels=[];this.prodParam.enter(je);const i=t.body=[];this.parseBlockOrModuleBlockBody(i,undefined,false,c.braceR);this.prodParam.exit();this.scope.exit();this.state.labels=r;e.body.push(this.finishNode(t,"StaticBlock"));if((s=t.decorators)!=null&&s.length){this.raise(t.start,d.DecoratorStaticBlock)}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(t.key.start,d.ConstructorClassField)}e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const s=this.parseClassPrivateProperty(t);e.body.push(s);this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),be,s.key.start)}pushClassMethod(e,t,s,r,i,n){e.body.push(this.parseMethod(t,s,r,i,n,"ClassMethod",true))}pushClassPrivateMethod(e,t,s,r){const i=this.parseMethod(t,s,r,false,false,"ClassPrivateMethod",true);e.body.push(i);const n=i.kind==="get"?i.static?de:me:i.kind==="set"?i.static?ye:ge:be;this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),n,i.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(F|D);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(je);e.value=this.eat(c.eq)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,s,r=Y){if(this.match(c.name)){e.id=this.parseIdentifier();if(t){this.checkLVal(e.id,"class name",r)}}else{if(s||!t){e.id=null}else{this.unexpected(null,d.MissingClassName)}}}parseClassSuper(e){e.superClass=this.eat(c._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const s=!t||this.eat(c.comma);const r=s&&this.eatExportStar(e);const i=r&&this.maybeParseExportNamespaceSpecifier(e);const n=s&&(!i||this.eat(c.comma));const a=t||r;if(r&&!i){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&s&&!r&&!o||i&&n&&!o){throw this.unexpected(null,c.braceL)}let l;if(a||o){l=false;this.parseExportFrom(e,a)}else{l=this.maybeParseExportDeclaration(e)}if(a||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(c._default)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,c.braceL)}eatExportStar(e){return this.eat(c.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(c.braceL)){if(!e.specifiers)e.specifiers=[];e.specifiers.push(...this.parseExportSpecifiers());e.source=null;e.declaration=null;return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual("async"))return false;const e=this.nextTokenStart();return!p.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(c._function)||t){this.next();if(t){this.next()}return this.parseFunction(e,st|it,t)}else if(this.match(c._class)){return this.parseClass(e,true,true)}else if(this.match(c.at)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,d.DecoratorBeforeExport)}this.parseDecorators(false);return this.parseClass(e,true,true)}else if(this.match(c._const)||this.match(c._var)||this.isLet()){throw this.raise(this.state.start,d.UnsupportedDefaultExport)}else{const e=this.parseMaybeAssignAllowIn();this.semicolon();return e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(c.name)){const e=this.state.value;if(e==="async"&&!this.state.containsEsc||e==="let"){return false}if((e==="type"||e==="interface")&&!this.state.containsEsc){const e=this.lookahead();if(e.type===c.name&&e.value!=="from"||e.type===c.braceL){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(c._default)){return false}const e=this.nextTokenStart();const t=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||this.match(c.name)&&t){return true}if(this.match(c._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return t===34||t===39}return false}parseExportFrom(e,t){if(this.eatContextual("from")){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else{if(t){this.unexpected()}else{e.source=null}}this.semicolon()}shouldParseExportDeclaration(){if(this.match(c.at)){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){this.unexpected(this.state.start,d.DecoratorBeforeExport)}else{return true}}}return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isLet()||this.isAsyncFunction()}checkExport(e,t,s,r){if(t){if(s){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var i;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((i=t.extra)!=null&&i.parenthesized)){this.raise(t.start,d.ExportDefaultFromAsIdentifier)}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const s=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,s);if(!r&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(t.start,d.ExportBindingIsString,e.value,s)}else{this.checkReservedWord(e.name,e.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}const n=this.state.decoratorStack[this.state.decoratorStack.length-1];if(n.length){throw this.raise(e.start,d.UnsupportedDecoratorExport)}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){this.raise(e.start,t==="default"?d.DuplicateDefaultExport:d.DuplicateExport,t)}this.exportedIdentifiers.add(t)}parseExportSpecifiers(){const e=[];let t=true;this.expect(c.braceL);while(!this.eat(c.braceR)){if(t){t=false}else{this.expect(c.comma);if(this.eat(c.braceR))break}const s=this.startNode();s.local=this.parseModuleExportName();s.exported=this.eatContextual("as")?this.parseModuleExportName():s.local.__clone();e.push(this.finishNode(s,"ExportSpecifier"))}return e}parseModuleExportName(){if(this.match(c.string)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(nt);if(t){this.raise(e.start,d.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16))}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(c.string)){const t=this.maybeParseDefaultImportSpecifier(e);const s=!t||this.eat(c.comma);const r=s&&this.maybeParseStarImportSpecifier(e);if(s&&!r)this.parseNamedImportSpecifiers(e);this.expectContextual("from")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(c.string))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(c.name)}parseImportSpecifierLocal(e,t,s,r){t.local=this.parseIdentifier();this.checkLVal(t.local,r,Q);e.specifiers.push(this.finishNode(t,s))}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(c.braceR)){break}const s=this.startNode();const r=this.state.value;if(t.has(r)){this.raise(this.state.start,d.ModuleAttributesWithDuplicateKeys,r)}t.add(r);if(this.match(c.string)){s.key=this.parseStringLiteral(r)}else{s.key=this.parseIdentifier(true)}this.expect(c.colon);if(!this.match(c.string)){throw this.unexpected(this.state.start,d.ModuleAttributeInvalidValue)}s.value=this.parseStringLiteral(this.state.value);this.finishNode(s,"ImportAttribute");e.push(s)}while(this.eat(c.comma));return e}maybeParseModuleAttributes(){if(this.match(c._with)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const s=this.startNode();s.key=this.parseIdentifier(true);if(s.key.name!=="type"){this.raise(s.key.start,d.ModuleAttributeDifferentFromType,s.key.name)}if(t.has(s.key.name)){this.raise(s.key.start,d.ModuleAttributesWithDuplicateKeys,s.key.name)}t.add(s.key.name);this.expect(c.colon);if(!this.match(c.string)){throw this.unexpected(this.state.start,d.ModuleAttributeInvalidValue)}s.value=this.parseStringLiteral(this.state.value);this.finishNode(s,"ImportAttribute");e.push(s)}while(this.eat(c.comma));return e}maybeParseImportAssertions(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(c.braceL);const e=this.parseAssertEntries();this.eat(c.braceR);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(c.star)){const t=this.startNode();this.next();this.expectContextual("as");this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(c.braceL);while(!this.eat(c.braceR)){if(t){t=false}else{if(this.eat(c.colon)){throw this.raise(this.state.start,d.DestructureNamedImport)}this.expect(c.comma);if(this.eat(c.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();const s=this.match(c.string);t.imported=this.parseModuleExportName();if(this.eatContextual("as")){t.local=this.parseIdentifier()}else{const{imported:e}=t;if(s){throw this.raise(t.start,d.ImportBindingIsString,e.value)}this.checkReservedWord(e.name,t.start,true,true);t.local=e.__clone()}this.checkLVal(t.local,"import specifier",Q);e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const s of e){const[e,r]=Array.isArray(s)?s:[s,{}];if(!t.has(e))t.set(e,r||{})}return t}function parse(e,t){var s;if(((s=t)==null?void 0:s.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const s=getParser(t,e);const r=s.parse();if(s.sawUnambiguousESM){return r}if(s.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{r.program.sourceType="script"}return r}catch(s){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw s}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const s=getParser(t,e);if(s.options.strictMode){s.state.strict=true}return s.getExpression()}function getParser(e,t){let s=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);s=getParserClass(e.plugins)}return new s(e,t)}const ot={};function getParserClass(e){const t=qe.filter(t=>hasPlugin(e,t));const s=t.join("/");let r=ot[s];if(!r){r=Parser;for(const e of t){r=We[e](r)}ot[s]=r}return r}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=c},50325:(e,t,s)=>{e.exports=s(61610)},79485:(e,t,s)=>{e.exports=s(98742)},8784:(e,t,s)=>{e.exports=s(73878)},34683:(e,t,s)=>{"use strict";t.__esModule=true;t.CommonInstanceDependencies=t.InstanceProperties=t.StaticProperties=t.BuiltIns=t.PromiseDependenciesWithIterators=t.PromiseDependencies=t.CommonIterators=void 0;var r=_interopRequireDefault(s(50325));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const i={};Object.keys(r.default).forEach((e,t)=>{i[e]=t});const n=(e,t,s=t[0],r)=>{return{name:s,pure:e,global:t.sort((e,t)=>i[e]-i[t]),exclude:r}};const a=e=>n(null,[e,...u]);const o=["es.array.iterator","web.dom-collections.iterator"];const l=["es.string.iterator",...o];t.CommonIterators=l;const c=["es.object.to-string",...o];const p=["es.object.to-string",...l];const u=["es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.object.to-string","es.array.iterator","es.array-buffer.slice"];const h={from:n(null,["es.typed-array.from"]),of:n(null,["es.typed-array.of"])};const f=["es.promise","es.object.to-string"];t.PromiseDependencies=f;const d=[...f,...l];t.PromiseDependenciesWithIterators=d;const y=["es.symbol","es.symbol.description","es.object.to-string"];const m=["es.map","esnext.map.delete-all","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.includes","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.reduce","esnext.map.some","esnext.map.update",...p];const g=["es.set","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union",...p];const b=["es.weak-map","esnext.weak-map.delete-all",...p];const x=["es.weak-set","esnext.weak-set.add-all","esnext.weak-set.delete-all",...p];const v=["web.url",...p];const w={AggregateError:n("aggregate-error",["esnext.aggregate-error",...l]),ArrayBuffer:n(null,["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string"]),DataView:n(null,["es.data-view","es.array-buffer.slice","es.object.to-string"]),Date:n(null,["es.date.to-string"]),Float32Array:a("es.typed-array.float32-array"),Float64Array:a("es.typed-array.float64-array"),Int8Array:a("es.typed-array.int8-array"),Int16Array:a("es.typed-array.int16-array"),Int32Array:a("es.typed-array.int32-array"),Uint8Array:a("es.typed-array.uint8-array"),Uint8ClampedArray:a("es.typed-array.uint8-clamped-array"),Uint16Array:a("es.typed-array.uint16-array"),Uint32Array:a("es.typed-array.uint32-array"),Map:n("map/index",m),Number:n(null,["es.number.constructor"]),Observable:n("observable/index",["esnext.observable","esnext.symbol.observable","es.object.to-string",...p]),Promise:n("promise/index",f),RegExp:n(null,["es.regexp.constructor","es.regexp.exec","es.regexp.to-string"]),Set:n("set/index",g),Symbol:n("symbol/index",y),URL:n("url/index",["web.url",...v]),URLSearchParams:n("url-search-params/index",v),WeakMap:n("weak-map/index",b),WeakSet:n("weak-set/index",x),clearImmediate:n("clear-immediate",["web.immediate"]),compositeKey:n("composite-key",["esnext.composite-key"]),compositeSymbol:n("composite-symbol",["esnext.composite-symbol"]),fetch:n(null,f),globalThis:n("global-this",["es.global-this"]),parseFloat:n("parse-float",["es.parse-float"]),parseInt:n("parse-int",["es.parse-int"]),queueMicrotask:n("queue-microtask",["web.queue-microtask"]),setImmediate:n("set-immediate",["web.immediate"]),setInterval:n("set-interval",["web.timers"]),setTimeout:n("set-timeout",["web.timers"])};t.BuiltIns=w;const P={Array:{from:n("array/from",["es.array.from","es.string.iterator"]),isArray:n("array/is-array",["es.array.is-array"]),of:n("array/of",["es.array.of"])},ArrayBuffer:{isView:n(null,["es.array-buffer.is-view"])},Date:{now:n("date/now",["es.date.now"])},JSON:{stringify:n("json/stringify",[],"es.symbol")},Math:{DEG_PER_RAD:n("math/deg-per-rad",["esnext.math.deg-per-rad"]),RAD_PER_DEG:n("math/rad-per-deg",["esnext.math.rad-per-deg"]),acosh:n("math/acosh",["es.math.acosh"]),asinh:n("math/asinh",["es.math.asinh"]),atanh:n("math/atanh",["es.math.atanh"]),cbrt:n("math/cbrt",["es.math.cbrt"]),clamp:n("math/clamp",["esnext.math.clamp"]),clz32:n("math/clz32",["es.math.clz32"]),cosh:n("math/cosh",["es.math.cosh"]),degrees:n("math/degrees",["esnext.math.degrees"]),expm1:n("math/expm1",["es.math.expm1"]),fround:n("math/fround",["es.math.fround"]),fscale:n("math/fscale",["esnext.math.fscale"]),hypot:n("math/hypot",["es.math.hypot"]),iaddh:n("math/iaddh",["esnext.math.iaddh"]),imul:n("math/imul",["es.math.imul"]),imulh:n("math/imulh",["esnext.math.imulh"]),isubh:n("math/isubh",["esnext.math.isubh"]),log10:n("math/log10",["es.math.log10"]),log1p:n("math/log1p",["es.math.log1p"]),log2:n("math/log2",["es.math.log2"]),radians:n("math/radians",["esnext.math.radians"]),scale:n("math/scale",["esnext.math.scale"]),seededPRNG:n("math/seeded-prng",["esnext.math.seeded-prng"]),sign:n("math/sign",["es.math.sign"]),signbit:n("math/signbit",["esnext.math.signbit"]),sinh:n("math/sinh",["es.math.sinh"]),tanh:n("math/tanh",["es.math.tanh"]),trunc:n("math/trunc",["es.math.trunc"]),umulh:n("math/umulh",["esnext.math.umulh"])},Map:{from:n(null,["esnext.map.from",...m]),groupBy:n(null,["esnext.map.group-by",...m]),keyBy:n(null,["esnext.map.key-by",...m]),of:n(null,["esnext.map.of",...m])},Number:{EPSILON:n("number/epsilon",["es.number.epsilon"]),MAX_SAFE_INTEGER:n("number/max-safe-integer",["es.number.max-safe-integer"]),MIN_SAFE_INTEGER:n("number/min-safe-integer",["es.number.min-safe-integer"]),fromString:n("number/from-string",["esnext.number.from-string"]),isFinite:n("number/is-finite",["es.number.is-finite"]),isInteger:n("number/is-integer",["es.number.is-integer"]),isNaN:n("number/is-nan",["es.number.is-nan"]),isSafeInteger:n("number/is-safe-integer",["es.number.is-safe-integer"]),parseFloat:n("number/parse-float",["es.number.parse-float"]),parseInt:n("number/parse-int",["es.number.parse-int"])},Object:{assign:n("object/assign",["es.object.assign"]),create:n("object/create",["es.object.create"]),defineProperties:n("object/define-properties",["es.object.define-properties"]),defineProperty:n("object/define-property",["es.object.define-property"]),entries:n("object/entries",["es.object.entries"]),freeze:n("object/freeze",["es.object.freeze"]),fromEntries:n("object/from-entries",["es.object.from-entries","es.array.iterator"]),getOwnPropertyDescriptor:n("object/get-own-property-descriptor",["es.object.get-own-property-descriptor"]),getOwnPropertyDescriptors:n("object/get-own-property-descriptors",["es.object.get-own-property-descriptors"]),getOwnPropertyNames:n("object/get-own-property-names",["es.object.get-own-property-names"]),getOwnPropertySymbols:n("object/get-own-property-symbols",["es.symbol"]),getPrototypeOf:n("object/get-prototype-of",["es.object.get-prototype-of"]),hasOwn:n("object/has-own",["esnext.object.has-own"]),is:n("object/is",["es.object.is"]),isExtensible:n("object/is-extensible",["es.object.is-extensible"]),isFrozen:n("object/is-frozen",["es.object.is-frozen"]),isSealed:n("object/is-sealed",["es.object.is-sealed"]),keys:n("object/keys",["es.object.keys"]),preventExtensions:n("object/prevent-extensions",["es.object.prevent-extensions"]),seal:n("object/seal",["es.object.seal"]),setPrototypeOf:n("object/set-prototype-of",["es.object.set-prototype-of"]),values:n("object/values",["es.object.values"])},Promise:{all:n(null,d),allSettled:n(null,["es.promise.all-settled",...d]),any:n(null,["esnext.promise.any",...d]),race:n(null,d),try:n(null,["esnext.promise.try",...d])},Reflect:{apply:n("reflect/apply",["es.reflect.apply"]),construct:n("reflect/construct",["es.reflect.construct"]),defineMetadata:n("reflect/define-metadata",["esnext.reflect.define-metadata"]),defineProperty:n("reflect/define-property",["es.reflect.define-property"]),deleteMetadata:n("reflect/delete-metadata",["esnext.reflect.delete-metadata"]),deleteProperty:n("reflect/delete-property",["es.reflect.delete-property"]),get:n("reflect/get",["es.reflect.get"]),getMetadata:n("reflect/get-metadata",["esnext.reflect.get-metadata"]),getMetadataKeys:n("reflect/get-metadata-keys",["esnext.reflect.get-metadata-keys"]),getOwnMetadata:n("reflect/get-own-metadata",["esnext.reflect.get-own-metadata"]),getOwnMetadataKeys:n("reflect/get-own-metadata-keys",["esnext.reflect.get-own-metadata-keys"]),getOwnPropertyDescriptor:n("reflect/get-own-property-descriptor",["es.reflect.get-own-property-descriptor"]),getPrototypeOf:n("reflect/get-prototype-of",["es.reflect.get-prototype-of"]),has:n("reflect/has",["es.reflect.has"]),hasMetadata:n("reflect/has-metadata",["esnext.reflect.has-metadata"]),hasOwnMetadata:n("reflect/has-own-metadata",["esnext.reflect.has-own-metadata"]),isExtensible:n("reflect/is-extensible",["es.reflect.is-extensible"]),metadata:n("reflect/metadata",["esnext.reflect.metadata"]),ownKeys:n("reflect/own-keys",["es.reflect.own-keys"]),preventExtensions:n("reflect/prevent-extensions",["es.reflect.prevent-extensions"]),set:n("reflect/set",["es.reflect.set"]),setPrototypeOf:n("reflect/set-prototype-of",["es.reflect.set-prototype-of"])},Set:{from:n(null,["esnext.set.from",...g]),of:n(null,["esnext.set.of",...g])},String:{fromCodePoint:n("string/from-code-point",["es.string.from-code-point"]),raw:n("string/raw",["es.string.raw"])},Symbol:{asyncIterator:n("symbol/async-iterator",["es.symbol.async-iterator"]),dispose:n("symbol/dispose",["esnext.symbol.dispose"]),for:n("symbol/for",[],"es.symbol"),hasInstance:n("symbol/has-instance",["es.symbol.has-instance","es.function.has-instance"]),isConcatSpreadable:n("symbol/is-concat-spreadable",["es.symbol.is-concat-spreadable","es.array.concat"]),iterator:n("symbol/iterator",["es.symbol.iterator",...p]),keyFor:n("symbol/key-for",[],"es.symbol"),match:n("symbol/match",["es.symbol.match","es.string.match"]),observable:n("symbol/observable",["esnext.symbol.observable"]),patternMatch:n("symbol/pattern-match",["esnext.symbol.pattern-match"]),replace:n("symbol/replace",["es.symbol.replace","es.string.replace"]),search:n("symbol/search",["es.symbol.search","es.string.search"]),species:n("symbol/species",["es.symbol.species","es.array.species"]),split:n("symbol/split",["es.symbol.split","es.string.split"]),toPrimitive:n("symbol/to-primitive",["es.symbol.to-primitive","es.date.to-primitive"]),toStringTag:n("symbol/to-string-tag",["es.symbol.to-string-tag","es.object.to-string","es.math.to-string-tag","es.json.to-string-tag"]),unscopables:n("symbol/unscopables",["es.symbol.unscopables"])},WeakMap:{from:n(null,["esnext.weak-map.from",...b]),of:n(null,["esnext.weak-map.of",...b])},WeakSet:{from:n(null,["esnext.weak-set.from",...x]),of:n(null,["esnext.weak-set.of",...x])},Int8Array:h,Uint8Array:h,Uint8ClampedArray:h,Int16Array:h,Uint16Array:h,Int32Array:h,Uint32Array:h,Float32Array:h,Float64Array:h};t.StaticProperties=P;const E={at:n("instance/at",["esnext.string.at"]),anchor:n(null,["es.string.anchor"]),big:n(null,["es.string.big"]),bind:n("instance/bind",["es.function.bind"]),blink:n(null,["es.string.blink"]),bold:n(null,["es.string.bold"]),codePointAt:n("instance/code-point-at",["es.string.code-point-at"]),codePoints:n("instance/code-points",["esnext.string.code-points"]),concat:n("instance/concat",["es.array.concat"],undefined,["String"]),copyWithin:n("instance/copy-within",["es.array.copy-within"]),description:n(null,["es.symbol","es.symbol.description"]),endsWith:n("instance/ends-with",["es.string.ends-with"]),entries:n("instance/entries",c),every:n("instance/every",["es.array.every"]),exec:n(null,["es.regexp.exec"]),fill:n("instance/fill",["es.array.fill"]),filter:n("instance/filter",["es.array.filter"]),finally:n(null,["es.promise.finally",...f]),find:n("instance/find",["es.array.find"]),findIndex:n("instance/find-index",["es.array.find-index"]),fixed:n(null,["es.string.fixed"]),flags:n("instance/flags",["es.regexp.flags"]),flatMap:n("instance/flat-map",["es.array.flat-map","es.array.unscopables.flat-map"]),flat:n("instance/flat",["es.array.flat"]),fontcolor:n(null,["es.string.fontcolor"]),fontsize:n(null,["es.string.fontsize"]),forEach:n("instance/for-each",["es.array.for-each","web.dom-collections.for-each"]),includes:n("instance/includes",["es.array.includes","es.string.includes"]),indexOf:n("instance/index-of",["es.array.index-of"]),italic:n(null,["es.string.italics"]),join:n(null,["es.array.join"]),keys:n("instance/keys",c),lastIndex:n(null,["esnext.array.last-index"]),lastIndexOf:n("instance/last-index-of",["es.array.last-index-of"]),lastItem:n(null,["esnext.array.last-item"]),link:n(null,["es.string.link"]),map:n("instance/map",["es.array.map"]),match:n(null,["es.string.match","es.regexp.exec"]),matchAll:n("instance/match-all",["es.string.match-all"]),name:n(null,["es.function.name"]),padEnd:n("instance/pad-end",["es.string.pad-end"]),padStart:n("instance/pad-start",["es.string.pad-start"]),reduce:n("instance/reduce",["es.array.reduce"]),reduceRight:n("instance/reduce-right",["es.array.reduce-right"]),repeat:n("instance/repeat",["es.string.repeat"]),replace:n(null,["es.string.replace","es.regexp.exec"]),replaceAll:n("instance/replace-all",["esnext.string.replace-all"]),reverse:n("instance/reverse",["es.array.reverse"]),search:n(null,["es.string.search","es.regexp.exec"]),slice:n("instance/slice",["es.array.slice"]),small:n(null,["es.string.small"]),some:n("instance/some",["es.array.some"]),sort:n("instance/sort",["es.array.sort"]),splice:n("instance/splice",["es.array.splice"]),split:n(null,["es.string.split","es.regexp.exec"]),startsWith:n("instance/starts-with",["es.string.starts-with"]),strike:n(null,["es.string.strike"]),sub:n(null,["es.string.sub"]),sup:n(null,["es.string.sup"]),toFixed:n(null,["es.number.to-fixed"]),toISOString:n(null,["es.date.to-iso-string"]),toJSON:n(null,["es.date.to-json","web.url.to-json"]),toPrecision:n(null,["es.number.to-precision"]),toString:n(null,["es.object.to-string","es.regexp.to-string","es.date.to-string"]),trim:n("instance/trim",["es.string.trim"]),trimEnd:n("instance/trim-end",["es.string.trim-end"]),trimLeft:n("instance/trim-left",["es.string.trim-start"]),trimRight:n("instance/trim-right",["es.string.trim-end"]),trimStart:n("instance/trim-start",["es.string.trim-start"]),values:n("instance/values",c),__defineGetter__:n(null,["es.object.define-getter"]),__defineSetter__:n(null,["es.object.define-setter"]),__lookupGetter__:n(null,["es.object.lookup-getter"]),__lookupSetter__:n(null,["es.object.lookup-setter"])};t.InstanceProperties=E;const A=new Set(["es.object.to-string","es.object.define-getter","es.object.define-setter","es.object.lookup-getter","es.object.lookup-setter","es.regexp.exec"]);t.CommonInstanceDependencies=A},9125:(e,t,s)=>{"use strict";t.__esModule=true;t.default=void 0;var r=_interopRequireDefault(s(50325));var i=_interopRequireDefault(s(79203));var n=_interopRequireDefault(s(8784));var a=s(34683);var o=_interopRequireWildcard(s(91785));var l=s(39308);var c=_interopRequireDefault(s(71192));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var s={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(Object.prototype.hasOwnProperty.call(e,i)){var n=r?Object.getOwnPropertyDescriptor(e,i):null;if(n&&(n.get||n.set)){Object.defineProperty(s,i,n)}else{s[i]=e[i]}}}s.default=e;if(t){t.set(e,s)}return s}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _extends(){_extends=Object.assign||function(e){for(var t=1;t{if(t(e))return true;if(!e.startsWith("es."))return false;const s=`esnext.${e.slice(3)}`;if(!r.default[s])return false;return t(s)};var f=(0,c.default)(function({getUtils:e,method:t,shouldInjectPolyfill:s,createMetaResolver:o,debug:c,babel:f},{version:d=3,proposals:y,shippedProposals:m,[u]:{useBabelRuntime:g,ext:b=".js"}={}}){const x=f.caller(e=>(e==null?void 0:e.name)==="babel-loader");const v=o({global:a.BuiltIns,static:a.StaticProperties,instance:a.InstanceProperties});const w=new Set((0,n.default)(d));const P=g?y?`${g}/core-js`:`${g}/core-js-stable`:y?"core-js-pure/features":"core-js-pure/stable";function maybeInjectGlobalImpl(e,t){if(s(e)){c(e);t.injectGlobalImport((0,l.coreJSModule)(e));return true}return false}function maybeInjectGlobal(e,t,s=true){for(const r of e){if(s){h(r,e=>maybeInjectGlobalImpl(e,t))}else{maybeInjectGlobalImpl(r,t)}}}function maybeInjectPure(e,t,r,i){if(e.pure&&!(i&&e.exclude&&e.exclude.includes(i))&&h(e.name,s)){return r.injectDefaultImport(`${P}/${e.pure}${b}`,t)}}return{name:"corejs3",polyfills:r.default,filterPolyfills(e){if(!w.has(e))return false;if(y||t==="entry-global")return true;if(m&&i.default.has(e)){return true}return!e.startsWith("esnext.")},entryGlobal(e,t,r){if(e.kind!=="import")return;const i=(0,l.isCoreJSSource)(e.source);if(!i)return;if(i.length===1&&e.source===(0,l.coreJSModule)(i[0])&&s(i[0])){c(null);return}maybeInjectGlobal(i,t,false);r.remove()},usageGlobal(e,t){const s=v(e);if(!s)return;let r=s.desc.global;if(s.kind!=="global"&&e.object&&e.placement==="prototype"){const t=e.object.toLowerCase();r=r.filter(e=>e.includes(t)||a.CommonInstanceDependencies.has(e))}maybeInjectGlobal(r,t)},usagePure(e,t,r){if(e.kind==="in"){if(e.key==="Symbol.iterator"){r.replaceWith(p.callExpression(t.injectDefaultImport((0,l.coreJSPureHelper)("is-iterable",g,b),"isIterable"),[r.node.right]))}return}if(r.parentPath.isUnaryExpression({operator:"delete"}))return;let i;if(e.kind==="property"){if(!r.isMemberExpression())return;if(!r.isReferenced())return;i=r.parentPath.isCallExpression({callee:r.node});if(e.key==="Symbol.iterator"){if(!s("es.symbol.iterator"))return;if(i){if(r.parent.arguments.length===0){r.parentPath.replaceWith(p.callExpression(t.injectDefaultImport((0,l.coreJSPureHelper)("get-iterator",g,b),"getIterator"),[r.node.object]));r.skip()}else{(0,l.callMethod)(r,t.injectDefaultImport((0,l.coreJSPureHelper)("get-iterator-method",g,b),"getIteratorMethod"))}}else{r.replaceWith(p.callExpression(t.injectDefaultImport((0,l.coreJSPureHelper)("get-iterator-method",g,b),"getIteratorMethod"),[r.node.object]))}return}}let n=v(e);if(!n)return;if(g&&n.desc.pure&&n.desc.pure.slice(-6)==="/index"){n=_extends({},n,{desc:_extends({},n.desc,{pure:n.desc.pure.slice(0,-6)})})}if(n.kind==="global"){const e=maybeInjectPure(n.desc,n.name,t);if(e)r.replaceWith(e)}else if(n.kind==="static"){const s=maybeInjectPure(n.desc,n.name,t,e.object);if(s)r.replaceWith(s)}else if(n.kind==="instance"){const s=maybeInjectPure(n.desc,`${n.name}InstanceProperty`,t,e.object);if(!s)return;if(i){(0,l.callMethod)(r,s)}else{r.replaceWith(p.callExpression(s,[r.node.object]))}}},visitor:t==="usage-global"&&{CallExpression(t){if(t.get("callee").isImport()){const s=e(t);if(x){maybeInjectGlobal(a.PromiseDependenciesWithIterators,s)}else{maybeInjectGlobal(a.PromiseDependencies,s)}}},Function(t){if(t.node.async){maybeInjectGlobal(a.PromiseDependencies,e(t))}},"ForOfStatement|ArrayPattern"(t){maybeInjectGlobal(a.CommonIterators,e(t))},SpreadElement(t){if(!t.parentPath.isObjectExpression()){maybeInjectGlobal(a.CommonIterators,e(t))}},YieldExpression(t){if(t.node.delegate){maybeInjectGlobal(a.CommonIterators,e(t))}}}}});t.default=f},79203:(e,t)=>{"use strict";t.__esModule=true;t.default=void 0;var s=new Set(["esnext.global-this","esnext.string.match-all"]);t.default=s},39308:(e,t,s)=>{"use strict";t.__esModule=true;t.callMethod=callMethod;t.isCoreJSSource=isCoreJSSource;t.coreJSModule=coreJSModule;t.coreJSPureHelper=coreJSPureHelper;var r=_interopRequireWildcard(s(91785));var i=_interopRequireDefault(s(79485));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var s={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(Object.prototype.hasOwnProperty.call(e,i)){var n=r?Object.getOwnPropertyDescriptor(e,i):null;if(n&&(n.get||n.set)){Object.defineProperty(s,i,n)}else{s[i]=e[i]}}}s.default=e;if(t){t.set(e,s)}return s}const{types:n}=r.default||r;function callMethod(e,t){const{object:s}=e.node;let r,i;if(n.isIdentifier(s)){r=s;i=n.cloneNode(s)}else{r=e.scope.generateDeclaredUidIdentifier("context");i=n.assignmentExpression("=",n.cloneNode(r),s)}e.replaceWith(n.memberExpression(n.callExpression(t,[i]),n.identifier("call")));e.parentPath.unshiftContainer("arguments",r)}function isCoreJSSource(e){if(typeof e==="string"){e=e.replace(/\\/g,"/").replace(/(\/(index)?)?(\.js)?$/i,"").toLowerCase()}return hasOwnProperty.call(i.default,e)&&i.default[e]}function coreJSModule(e){return`core-js/modules/${e}.js`}function coreJSPureHelper(e,t,s){return t?`${t}/core-js/${e}${s}`:`core-js-pure/features/${e}.js`}},54116:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var r=s(36860);let i=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const n=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,s){const r=Object.assign({column:0,line:-1},e.start);const i=Object.assign({},r,e.end);const{linesAbove:n=2,linesBelow:a=3}=s||{};const o=r.line;const l=r.column;const c=i.line;const p=i.column;let u=Math.max(o-(n+1),0);let h=Math.min(t.length,c+a);if(o===-1){u=0}if(c===-1){h=t.length}const f=c-o;const d={};if(f){for(let e=0;e<=f;e++){const s=e+o;if(!l){d[s]=true}else if(e===0){const e=t[s-1].length;d[s]=[l,e-l+1]}else if(e===f){d[s]=[0,p]}else{const r=t[s-e].length;d[s]=[0,r]}}}else{if(l===p){if(l){d[o]=[l,0]}else{d[o]=true}}else{d[o]=[l,p-l]}}return{start:u,end:h,markerLines:d}}function codeFrameColumns(e,t,s={}){const i=(s.highlightCode||s.forceColor)&&(0,r.shouldHighlight)(s);const a=(0,r.getChalk)(s);const o=getDefs(a);const l=(e,t)=>{return i?e(t):t};const c=e.split(n);const{start:p,end:u,markerLines:h}=getMarkerLines(t,c,s);const f=t.start&&typeof t.start.column==="number";const d=String(u).length;const y=i?(0,r.default)(e,s):e;let m=y.split(n).slice(p,u).map((e,t)=>{const r=p+1+t;const i=` ${r}`.slice(-d);const n=` ${i} |`;const a=h[r];const c=!h[r+1];if(a){let t="";if(Array.isArray(a)){const r=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const i=a[1]||1;t=["\n ",l(o.gutter,n.replace(/\d/g," "))," ",r,l(o.marker,"^").repeat(i)].join("");if(c&&s.message){t+=" "+l(o.message,s.message)}}return[l(o.marker,">"),l(o.gutter,n),e.length>0?` ${e}`:"",t].join("")}else{return` ${l(o.gutter,n)}${e.length>0?` ${e}`:""}`}}).join("\n");if(s.message&&!f){m=`${" ".repeat(d+1)}${s.message}\n${m}`}if(i){return a.reset(m)}else{return m}}function _default(e,t,s,r={}){if(!i){i=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}s=Math.max(s,0);const n={start:{column:s,line:t}};return codeFrameColumns(e,n,r)}},47235:(e,t,s)=>{e.exports=s(75954)},68616:(e,t,s)=>{e.exports=s(85331)},27027:()=>{},39272:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeWeakCache=makeWeakCache;t.makeWeakCacheSync=makeWeakCacheSync;t.makeStrongCache=makeStrongCache;t.makeStrongCacheSync=makeStrongCacheSync;t.assertSimpleType=assertSimpleType;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(33316);var i=s(80598);const n=e=>{return _gensync()(e).sync};function*genTrue(){return true}function makeWeakCache(e){return makeCachedFunction(WeakMap,e)}function makeWeakCacheSync(e){return n(makeWeakCache(e))}function makeStrongCache(e){return makeCachedFunction(Map,e)}function makeStrongCacheSync(e){return n(makeStrongCache(e))}function makeCachedFunction(e,t){const s=new e;const n=new e;const a=new e;return function*cachedFunction(e,o){const l=yield*(0,r.isAsync)();const c=l?n:s;const p=yield*getCachedValueOrWait(l,c,a,e,o);if(p.valid)return p.value;const u=new CacheConfigurator(o);const h=t(e,u);let f;let d;if((0,i.isIterableIterator)(h)){const t=h;d=yield*(0,r.onFirstPause)(t,()=>{f=setupAsyncLocks(u,a,e)})}else{d=h}updateFunctionCache(c,u,e,d);if(f){a.delete(e);f.release(d)}return d}}function*getCachedValue(e,t,s){const r=e.get(t);if(r){for(const{value:e,valid:t}of r){if(yield*t(s))return{valid:true,value:e}}}return{valid:false,value:null}}function*getCachedValueOrWait(e,t,s,i,n){const a=yield*getCachedValue(t,i,n);if(a.valid){return a}if(e){const e=yield*getCachedValue(s,i,n);if(e.valid){const t=yield*(0,r.waitFor)(e.value.promise);return{valid:true,value:t}}}return{valid:false,value:null}}function setupAsyncLocks(e,t,s){const r=new Lock;updateFunctionCache(t,e,s,r);return r}function updateFunctionCache(e,t,s,r){if(!t.configured())t.forever();let i=e.get(s);t.deactivate();switch(t.mode()){case"forever":i=[{value:r,valid:genTrue}];e.set(s,i);break;case"invalidate":i=[{value:r,valid:t.validator()}];e.set(s,i);break;case"valid":if(i){i.push({value:r,valid:t.validator()})}else{i=[{value:r,valid:t.validator()}];e.set(s,i)}}}class CacheConfigurator{constructor(e){this._active=true;this._never=false;this._forever=false;this._invalidate=false;this._configured=false;this._pairs=[];this._data=void 0;this._data=e}simple(){return makeSimpleConfigurator(this)}mode(){if(this._never)return"never";if(this._forever)return"forever";if(this._invalidate)return"invalidate";return"valid"}forever(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never){throw new Error("Caching has already been configured with .never()")}this._forever=true;this._configured=true}never(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._forever){throw new Error("Caching has already been configured with .forever()")}this._never=true;this._configured=true}using(e){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never||this._forever){throw new Error("Caching has already been configured with .never or .forever()")}this._configured=true;const t=e(this._data);const s=(0,r.maybeAsync)(e,`You appear to be using an async cache handler, but Babel has been called synchronously`);if((0,r.isThenable)(t)){return t.then(e=>{this._pairs.push([e,s]);return e})}this._pairs.push([t,s]);return t}invalidate(e){this._invalidate=true;return this.using(e)}validator(){const e=this._pairs;return function*(t){for(const[s,r]of e){if(s!==(yield*r(t)))return false}return true}}deactivate(){this._active=false}configured(){return this._configured}}function makeSimpleConfigurator(e){function cacheFn(t){if(typeof t==="boolean"){if(t)e.forever();else e.never();return}return e.using(()=>assertSimpleType(t()))}cacheFn.forever=(()=>e.forever());cacheFn.never=(()=>e.never());cacheFn.using=(t=>e.using(()=>assertSimpleType(t())));cacheFn.invalidate=(t=>e.invalidate(()=>assertSimpleType(t())));return cacheFn}function assertSimpleType(e){if((0,r.isThenable)(e)){throw new Error(`You appear to be using an async cache handler, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously handle your caching logic.`)}if(e!=null&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"){throw new Error("Cache keys must be either string, boolean, number, null, or undefined.")}return e}class Lock{constructor(){this.released=false;this.promise=void 0;this._resolve=void 0;this.promise=new Promise(e=>{this._resolve=e})}release(e){this.released=true;this._resolve(e)}}},65511:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPresetChain=buildPresetChain;t.buildRootChain=buildRootChain;t.buildPresetChainWalker=void 0;function _path(){const e=s(85622);_path=function(){return e};return e}function _debug(){const e=s(31185);_debug=function(){return e};return e}var r=s(45294);var i=s(99743);var n=s(89949);var a=s(81857);var o=s(39272);var l=s(87837);const c=_debug()("babel:config:config-chain");function*buildPresetChain(e,t){const s=yield*p(e,t);if(!s)return null;return{plugins:dedupDescriptors(s.plugins),presets:dedupDescriptors(s.presets),options:s.options.map(e=>normalizeOptions(e)),files:new Set}}const p=makeChainWalker({root:e=>u(e),env:(e,t)=>h(e)(t),overrides:(e,t)=>f(e)(t),overridesEnv:(e,t,s)=>d(e)(t)(s),createLogger:()=>()=>{}});t.buildPresetChainWalker=p;const u=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.alias,l.createUncachedDescriptors));const h=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const f=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.alias,l.createUncachedDescriptors,t)));const d=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(s=>buildOverrideEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t,s))));function*buildRootChain(e,t){let s,r;const i=new n.ConfigPrinter;const o=yield*b({options:e,dirname:t.cwd},t,undefined,i);if(!o)return null;const l=yield*i.output();let c;if(typeof e.configFile==="string"){c=yield*(0,a.loadConfig)(e.configFile,t.cwd,t.envName,t.caller)}else if(e.configFile!==false){c=yield*(0,a.findRootConfig)(t.root,t.envName,t.caller)}let{babelrc:p,babelrcRoots:u}=e;let h=t.cwd;const f=emptyChain();const d=new n.ConfigPrinter;if(c){const e=y(c);const r=yield*loadFileChain(e,t,undefined,d);if(!r)return null;s=yield*d.output();if(p===undefined){p=e.options.babelrc}if(u===undefined){h=e.dirname;u=e.options.babelrcRoots}mergeChain(f,r)}let g,x;let v=false;const w=emptyChain();if((p===true||p===undefined)&&typeof t.filename==="string"){const e=yield*(0,a.findPackageData)(t.filename);if(e&&babelrcLoadEnabled(t,e,u,h)){({ignore:g,config:x}=yield*(0,a.findRelativeConfig)(e,t.envName,t.caller));if(g){w.files.add(g.filepath)}if(g&&shouldIgnore(t,g.ignore,null,g.dirname)){v=true}if(x&&!v){const e=m(x);const s=new n.ConfigPrinter;const i=yield*loadFileChain(e,t,undefined,s);if(!i){v=true}else{r=yield*s.output();mergeChain(w,i)}}if(x&&v){w.files.add(x.filepath)}}}if(t.showConfig){console.log(`Babel configs on "${t.filename}" (ascending priority):\n`+[s,r,l].filter(e=>!!e).join("\n\n")+"\n-----End Babel configs-----")}const P=mergeChain(mergeChain(mergeChain(emptyChain(),f),w),o);return{plugins:v?[]:dedupDescriptors(P.plugins),presets:v?[]:dedupDescriptors(P.presets),options:v?[]:P.options.map(e=>normalizeOptions(e)),fileHandling:v?"ignored":"transpile",ignore:g||undefined,babelrc:x||undefined,config:c||undefined,files:P.files}}function babelrcLoadEnabled(e,t,s,r){if(typeof s==="boolean")return s;const n=e.root;if(s===undefined){return t.directories.indexOf(n)!==-1}let a=s;if(!Array.isArray(a)){a=[a]}a=a.map(e=>{return typeof e==="string"?_path().resolve(r,e):e});if(a.length===1&&a[0]===n){return t.directories.indexOf(n)!==-1}return a.some(s=>{if(typeof s==="string"){s=(0,i.default)(s,r)}return t.directories.some(t=>{return matchPattern(s,r,t,e)})})}const y=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,r.validate)("configfile",e.options)}));const m=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,r.validate)("babelrcfile",e.options)}));const g=(0,o.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,r.validate)("extendsfile",e.options)}));const b=makeChainWalker({root:e=>buildRootDescriptors(e,"base",l.createCachedDescriptors),env:(e,t)=>buildEnvDescriptors(e,"base",l.createCachedDescriptors,t),overrides:(e,t)=>buildOverrideDescriptors(e,"base",l.createCachedDescriptors,t),overridesEnv:(e,t,s)=>buildOverrideEnvDescriptors(e,"base",l.createCachedDescriptors,t,s),createLogger:(e,t,s)=>buildProgrammaticLogger(e,t,s)});const x=makeChainWalker({root:e=>v(e),env:(e,t)=>w(e)(t),overrides:(e,t)=>P(e)(t),overridesEnv:(e,t,s)=>E(e)(t)(s),createLogger:(e,t,s)=>buildFileLogger(e.filepath,t,s)});function*loadFileChain(e,t,s,r){const i=yield*x(e,t,s,r);if(i){i.files.add(e.filepath)}return i}const v=(0,o.makeWeakCacheSync)(e=>buildRootDescriptors(e,e.filepath,l.createUncachedDescriptors));const w=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const P=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>buildOverrideDescriptors(e,e.filepath,l.createUncachedDescriptors,t)));const E=(0,o.makeWeakCacheSync)(e=>(0,o.makeStrongCacheSync)(t=>(0,o.makeStrongCacheSync)(s=>buildOverrideEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t,s))));function buildFileLogger(e,t,s){if(!s){return()=>{}}return s.configure(t.showConfig,n.ChainFormatter.Config,{filepath:e})}function buildRootDescriptors({dirname:e,options:t},s,r){return r(e,t,s)}function buildProgrammaticLogger(e,t,s){var r;if(!s){return()=>{}}return s.configure(t.showConfig,n.ChainFormatter.Programmatic,{callerName:(r=t.caller)==null?void 0:r.name})}function buildEnvDescriptors({dirname:e,options:t},s,r,i){const n=t.env&&t.env[i];return n?r(e,n,`${s}.env["${i}"]`):null}function buildOverrideDescriptors({dirname:e,options:t},s,r,i){const n=t.overrides&&t.overrides[i];if(!n)throw new Error("Assertion failure - missing override");return r(e,n,`${s}.overrides[${i}]`)}function buildOverrideEnvDescriptors({dirname:e,options:t},s,r,i,n){const a=t.overrides&&t.overrides[i];if(!a)throw new Error("Assertion failure - missing override");const o=a.env&&a.env[n];return o?r(e,o,`${s}.overrides[${i}].env["${n}"]`):null}function makeChainWalker({root:e,env:t,overrides:s,overridesEnv:r,createLogger:i}){return function*(n,a,o=new Set,l){const{dirname:c}=n;const p=[];const u=e(n);if(configIsApplicable(u,c,a)){p.push({config:u,envName:undefined,index:undefined});const e=t(n,a.envName);if(e&&configIsApplicable(e,c,a)){p.push({config:e,envName:a.envName,index:undefined})}(u.options.overrides||[]).forEach((e,t)=>{const i=s(n,t);if(configIsApplicable(i,c,a)){p.push({config:i,index:t,envName:undefined});const e=r(n,t,a.envName);if(e&&configIsApplicable(e,c,a)){p.push({config:e,index:t,envName:a.envName})}}})}if(p.some(({config:{options:{ignore:e,only:t}}})=>shouldIgnore(a,e,t,c))){return null}const h=emptyChain();const f=i(n,a,l);for(const{config:e,index:t,envName:s}of p){if(!(yield*mergeExtendsChain(h,e.options,c,a,o,l))){return null}f(e,t,s);yield*mergeChainOpts(h,e)}return h}}function*mergeExtendsChain(e,t,s,r,i,n){if(t.extends===undefined)return true;const o=yield*(0,a.loadConfig)(t.extends,s,r.envName,r.caller);if(i.has(o)){throw new Error(`Configuration cycle detected loading ${o.filepath}.\n`+`File already loaded following the config chain:\n`+Array.from(i,e=>` - ${e.filepath}`).join("\n"))}i.add(o);const l=yield*loadFileChain(g(o),r,i,n);i.delete(o);if(!l)return false;mergeChain(e,l);return true}function mergeChain(e,t){e.options.push(...t.options);e.plugins.push(...t.plugins);e.presets.push(...t.presets);for(const s of t.files){e.files.add(s)}return e}function*mergeChainOpts(e,{options:t,plugins:s,presets:r}){e.options.push(t);e.plugins.push(...yield*s());e.presets.push(...yield*r());return e}function emptyChain(){return{options:[],presets:[],plugins:[],files:new Set}}function normalizeOptions(e){const t=Object.assign({},e);delete t.extends;delete t.env;delete t.overrides;delete t.plugins;delete t.presets;delete t.passPerPreset;delete t.ignore;delete t.only;delete t.test;delete t.include;delete t.exclude;if(Object.prototype.hasOwnProperty.call(t,"sourceMap")){t.sourceMaps=t.sourceMap;delete t.sourceMap}return t}function dedupDescriptors(e){const t=new Map;const s=[];for(const r of e){if(typeof r.value==="function"){const e=r.value;let i=t.get(e);if(!i){i=new Map;t.set(e,i)}let n=i.get(r.name);if(!n){n={value:r};s.push(n);if(!r.ownPass)i.set(r.name,n)}else{n.value=r}}else{s.push({value:r})}}return s.reduce((e,t)=>{e.push(t.value);return e},[])}function configIsApplicable({options:e},t,s){return(e.test===undefined||configFieldIsApplicable(s,e.test,t))&&(e.include===undefined||configFieldIsApplicable(s,e.include,t))&&(e.exclude===undefined||!configFieldIsApplicable(s,e.exclude,t))}function configFieldIsApplicable(e,t,s){const r=Array.isArray(t)?t:[t];return matchesPatterns(e,r,s)}function shouldIgnore(e,t,s,r){if(t&&matchesPatterns(e,t,r)){var i;const s=`No config is applied to "${(i=e.filename)!=null?i:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(t)}\` from "${r}"`;c(s);if(e.showConfig){console.log(s)}return true}if(s&&!matchesPatterns(e,s,r)){var n;const t=`No config is applied to "${(n=e.filename)!=null?n:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(s)}\` from "${r}"`;c(t);if(e.showConfig){console.log(t)}return true}return false}function matchesPatterns(e,t,s){return t.some(t=>matchPattern(t,s,e.filename,e))}function matchPattern(e,t,s,r){if(typeof e==="function"){return!!e(s,{dirname:t,envName:r.envName,caller:r.caller})}if(typeof s!=="string"){throw new Error(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`)}if(typeof e==="string"){e=(0,i.default)(e,t)}return e.test(s)}},87837:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createCachedDescriptors=createCachedDescriptors;t.createUncachedDescriptors=createUncachedDescriptors;t.createDescriptor=createDescriptor;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(81857);var i=s(29272);var n=s(39272);var a=s(76309);function isEqualDescriptor(e,t){return e.name===t.name&&e.value===t.value&&e.options===t.options&&e.dirname===t.dirname&&e.alias===t.alias&&e.ownPass===t.ownPass&&(e.file&&e.file.request)===(t.file&&t.file.request)&&(e.file&&e.file.resolved)===(t.file&&t.file.resolved)}function*handlerOf(e){return e}function optionsWithResolvedBrowserslistConfigFile(e,t){if(typeof e.browserslistConfigFile==="string"){e.browserslistConfigFile=(0,a.resolveBrowserslistConfigFile)(e.browserslistConfigFile,t)}return e}function createCachedDescriptors(e,t,s){const{plugins:r,presets:i,passPerPreset:n}=t;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),plugins:r?()=>p(r,e)(s):()=>handlerOf([]),presets:i?()=>l(i,e)(s)(!!n):()=>handlerOf([])}}function createUncachedDescriptors(e,t,s){let r;let i;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),*plugins(){if(!r){r=yield*createPluginDescriptors(t.plugins||[],e,s)}return r},*presets(){if(!i){i=yield*createPresetDescriptors(t.presets||[],e,s,!!t.passPerPreset)}return i}}}const o=new WeakMap;const l=(0,n.makeWeakCacheSync)((e,t)=>{const s=t.using(e=>e);return(0,n.makeStrongCacheSync)(t=>(0,n.makeStrongCache)(function*(r){const i=yield*createPresetDescriptors(e,s,t,r);return i.map(e=>loadCachedDescriptor(o,e))}))});const c=new WeakMap;const p=(0,n.makeWeakCacheSync)((e,t)=>{const s=t.using(e=>e);return(0,n.makeStrongCache)(function*(t){const r=yield*createPluginDescriptors(e,s,t);return r.map(e=>loadCachedDescriptor(c,e))})});const u={};function loadCachedDescriptor(e,t){const{value:s,options:r=u}=t;if(r===false)return t;let i=e.get(s);if(!i){i=new WeakMap;e.set(s,i)}let n=i.get(r);if(!n){n=[];i.set(r,n)}if(n.indexOf(t)===-1){const e=n.filter(e=>isEqualDescriptor(e,t));if(e.length>0){return e[0]}n.push(t)}return t}function*createPresetDescriptors(e,t,s,r){return yield*createDescriptors("preset",e,t,s,r)}function*createPluginDescriptors(e,t,s){return yield*createDescriptors("plugin",e,t,s)}function*createDescriptors(e,t,s,r,i){const n=yield*_gensync().all(t.map((t,n)=>createDescriptor(t,s,{type:e,alias:`${r}$${n}`,ownPass:!!i})));assertNoDuplicates(n);return n}function*createDescriptor(e,t,{type:s,alias:n,ownPass:a}){const o=(0,i.getItemDescriptor)(e);if(o){return o}let l;let c;let p=e;if(Array.isArray(p)){if(p.length===3){[p,c,l]=p}else{[p,c]=p}}let u=undefined;let h=null;if(typeof p==="string"){if(typeof s!=="string"){throw new Error("To resolve a string-based item, the type of item must be given")}const e=s==="plugin"?r.loadPlugin:r.loadPreset;const i=p;({filepath:h,value:p}=yield*e(p,t));u={request:i,resolved:h}}if(!p){throw new Error(`Unexpected falsy value: ${String(p)}`)}if(typeof p==="object"&&p.__esModule){if(p.default){p=p.default}else{throw new Error("Must export a default export when using ES6 modules.")}}if(typeof p!=="object"&&typeof p!=="function"){throw new Error(`Unsupported format: ${typeof p}. Expected an object or a function.`)}if(h!==null&&typeof p==="object"&&p){throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${h}`)}return{name:l,alias:h||n,value:p,options:c,dirname:t,ownPass:a,file:u}}function assertNoDuplicates(e){const t=new Map;for(const s of e){if(typeof s.value!=="function")continue;let r=t.get(s.value);if(!r){r=new Set;t.set(s.value,r)}if(r.has(s.name)){const t=e.filter(e=>e.value===s.value);throw new Error([`Duplicate plugin/preset detected.`,`If you'd like to use two separate instances of a plugin,`,`they need separate names, e.g.`,``,` plugins: [`,` ['some-plugin', {}],`,` ['some-plugin', {}, 'some unique name'],`,` ]`,``,`Duplicates detected are:`,`${JSON.stringify(t,null,2)}`].join("\n"))}r.add(s.name)}}},61408:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findConfigUpwards=findConfigUpwards;t.findRelativeConfig=findRelativeConfig;t.findRootConfig=findRootConfig;t.loadConfig=loadConfig;t.resolveShowConfigPath=resolveShowConfigPath;t.ROOT_CONFIG_FILENAMES=void 0;function _debug(){const e=s(31185);_debug=function(){return e};return e}function _fs(){const e=s(35747);_fs=function(){return e};return e}function _path(){const e=s(85622);_path=function(){return e};return e}function _json(){const e=s(33170);_json=function(){return e};return e}function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(39272);var i=s(19184);var n=s(80834);var a=s(79376);var o=s(99743);var l=s(48451);function _module(){const e=s(32282);_module=function(){return e};return e}const c=_debug()("babel:config:loading:files:configuration");const p=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json"];t.ROOT_CONFIG_FILENAMES=p;const u=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json"];const h=".babelignore";function findConfigUpwards(e){let t=e;for(;;){for(const e of p){if(_fs().existsSync(_path().join(t,e))){return t}}const e=_path().dirname(t);if(t===e)break;t=e}return null}function*findRelativeConfig(e,t,s){let r=null;let i=null;const n=_path().dirname(e.filepath);for(const o of e.directories){if(!r){var a;r=yield*loadOneConfig(u,o,t,s,((a=e.pkg)==null?void 0:a.dirname)===o?y(e.pkg):null)}if(!i){const e=_path().join(o,h);i=yield*g(e);if(i){c("Found ignore %o from %o.",i.filepath,n)}}}return{config:r,ignore:i}}function findRootConfig(e,t,s){return loadOneConfig(p,e,t,s)}function*loadOneConfig(e,t,s,r,i=null){const n=yield*_gensync().all(e.map(e=>readConfig(_path().join(t,e),s,r)));const a=n.reduce((e,s)=>{if(s&&e){throw new Error(`Multiple configuration files found. Please remove one:\n`+` - ${_path().basename(e.filepath)}\n`+` - ${s.filepath}\n`+`from ${t}`)}return s||e},i);if(a){c("Found configuration %o from %o.",a.filepath,t)}return a}function*loadConfig(e,t,r,i){const n=(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(e,{paths:[t]});const a=yield*readConfig(n,r,i);if(!a){throw new Error(`Config file ${n} contains no configuration data`)}c("Loaded config %o from %o.",e,t);return a}function readConfig(e,t,s){const r=_path().extname(e);return r===".js"||r===".cjs"||r===".mjs"?d(e,{envName:t,caller:s}):m(e)}const f=new Set;const d=(0,r.makeStrongCache)(function*readConfigJS(e,t){if(!_fs().existsSync(e)){t.never();return null}if(f.has(e)){t.never();c("Auto-ignoring usage of config %o.",e);return{filepath:e,dirname:_path().dirname(e),options:{}}}let s;try{f.add(e);s=yield*(0,a.default)(e,"You appear to be using a native ECMAScript module configuration "+"file, which is only supported when running Babel asynchronously.")}catch(t){t.message=`${e}: Error while loading config - ${t.message}`;throw t}finally{f.delete(e)}let r=false;if(typeof s==="function"){yield*[];s=s((0,i.makeConfigAPI)(t));r=true}if(!s||typeof s!=="object"||Array.isArray(s)){throw new Error(`${e}: Configuration should be an exported JavaScript object.`)}if(typeof s.then==="function"){throw new Error(`You appear to be using an async configuration, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously return your config.`)}if(r&&!t.configured())throwConfigError();return{filepath:e,dirname:_path().dirname(e),options:s}});const y=(0,r.makeWeakCacheSync)(e=>{const t=e.options["babel"];if(typeof t==="undefined")return null;if(typeof t!=="object"||Array.isArray(t)||t===null){throw new Error(`${e.filepath}: .babel property must be an object`)}return{filepath:e.filepath,dirname:e.dirname,options:t}});const m=(0,n.makeStaticFileCache)((e,t)=>{let s;try{s=_json().parse(t)}catch(t){t.message=`${e}: Error while parsing config - ${t.message}`;throw t}if(!s)throw new Error(`${e}: No config detected`);if(typeof s!=="object"){throw new Error(`${e}: Config returned typeof ${typeof s}`)}if(Array.isArray(s)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:s}});const g=(0,n.makeStaticFileCache)((e,t)=>{const s=_path().dirname(e);const r=t.split("\n").map(e=>e.replace(/#(.*?)$/,"").trim()).filter(e=>!!e);for(const e of r){if(e[0]==="!"){throw new Error(`Negation of file paths is not supported.`)}}return{filepath:e,dirname:_path().dirname(e),ignore:r.map(e=>(0,o.default)(e,s))}});function*resolveShowConfigPath(e){const t=process.env.BABEL_SHOW_CONFIG_FOR;if(t!=null){const s=_path().resolve(e,t);const r=yield*l.stat(s);if(!r.isFile()){throw new Error(`${s}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`)}return s}return null}function throwConfigError(){throw new Error(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don't call this function again.\n api.cache(true);\n\n // Don't cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === "production");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};`)}},41435:(e,t,s)=>{"use strict";var r;r={value:true};t.Z=import_;function import_(e){return s(21518)(e)}},81857:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"findPackageData",{enumerable:true,get:function(){return r.findPackageData}});Object.defineProperty(t,"findConfigUpwards",{enumerable:true,get:function(){return i.findConfigUpwards}});Object.defineProperty(t,"findRelativeConfig",{enumerable:true,get:function(){return i.findRelativeConfig}});Object.defineProperty(t,"findRootConfig",{enumerable:true,get:function(){return i.findRootConfig}});Object.defineProperty(t,"loadConfig",{enumerable:true,get:function(){return i.loadConfig}});Object.defineProperty(t,"resolveShowConfigPath",{enumerable:true,get:function(){return i.resolveShowConfigPath}});Object.defineProperty(t,"ROOT_CONFIG_FILENAMES",{enumerable:true,get:function(){return i.ROOT_CONFIG_FILENAMES}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return n.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return n.resolvePreset}});Object.defineProperty(t,"loadPlugin",{enumerable:true,get:function(){return n.loadPlugin}});Object.defineProperty(t,"loadPreset",{enumerable:true,get:function(){return n.loadPreset}});var r=s(87467);var i=s(61408);var n=s(61686);({})},79376:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadCjsOrMjsDefault;var r=s(33316);function _path(){const e=s(85622);_path=function(){return e};return e}function _url(){const e=s(78835);_url=function(){return e};return e}function _module(){const e=s(32282);_module=function(){return e};return e}function asyncGeneratorStep(e,t,s,r,i,n,a){try{var o=e[n](a);var l=o.value}catch(e){s(e);return}if(o.done){t(l)}else{Promise.resolve(l).then(r,i)}}function _asyncToGenerator(e){return function(){var t=this,s=arguments;return new Promise(function(r,i){var n=e.apply(t,s);function _next(e){asyncGeneratorStep(n,r,i,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(n,r,i,_next,_throw,"throw",e)}_next(undefined)})}}let i;try{i=s(41435).Z}catch(e){}function*loadCjsOrMjsDefault(e,t,s=false){switch(guessJSModuleType(e)){case"cjs":return loadCjsDefault(e,s);case"unknown":try{return loadCjsDefault(e,s)}catch(e){if(e.code!=="ERR_REQUIRE_ESM")throw e}case"mjs":if(yield*(0,r.isAsync)()){return yield*(0,r.waitFor)(loadMjsDefault(e))}throw new Error(t)}}function guessJSModuleType(e){switch(_path().extname(e)){case".cjs":return"cjs";case".mjs":return"mjs";default:return"unknown"}}function loadCjsDefault(e,t){const s=require(e);return s!=null&&s.__esModule?s.default||(t?s:undefined):s}function loadMjsDefault(e){return _loadMjsDefault.apply(this,arguments)}function _loadMjsDefault(){_loadMjsDefault=_asyncToGenerator(function*(e){if(!i){throw new Error("Internal error: Native ECMAScript modules aren't supported"+" by this platform.\n")}const t=yield i((0,_url().pathToFileURL)(e));return t.default});return _loadMjsDefault.apply(this,arguments)}},87467:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findPackageData=findPackageData;function _path(){const e=s(85622);_path=function(){return e};return e}var r=s(80834);const i="package.json";function*findPackageData(e){let t=null;const s=[];let r=true;let a=_path().dirname(e);while(!t&&_path().basename(a)!=="node_modules"){s.push(a);t=yield*n(_path().join(a,i));const e=_path().dirname(a);if(a===e){r=false;break}a=e}return{filepath:e,directories:s,pkg:t,isPackage:r}}const n=(0,r.makeStaticFileCache)((e,t)=>{let s;try{s=JSON.parse(t)}catch(t){t.message=`${e}: Error while parsing JSON - ${t.message}`;throw t}if(!s)throw new Error(`${e}: No config detected`);if(typeof s!=="object"){throw new Error(`${e}: Config returned typeof ${typeof s}`)}if(Array.isArray(s)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:s}})},61686:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolvePlugin=resolvePlugin;t.resolvePreset=resolvePreset;t.loadPlugin=loadPlugin;t.loadPreset=loadPreset;function _debug(){const e=s(31185);_debug=function(){return e};return e}function _path(){const e=s(85622);_path=function(){return e};return e}var r=s(79376);function _module(){const e=s(32282);_module=function(){return e};return e}const i=_debug()("babel:config:loading:files:plugins");const n=/^module:/;const a=/^(?!@|module:|[^/]+\/|babel-plugin-)/;const o=/^(?!@|module:|[^/]+\/|babel-preset-)/;const l=/^(@babel\/)(?!plugin-|[^/]+\/)/;const c=/^(@babel\/)(?!preset-|[^/]+\/)/;const p=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/;const u=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/;const h=/^(@(?!babel$)[^/]+)$/;function resolvePlugin(e,t){return resolveStandardizedName("plugin",e,t)}function resolvePreset(e,t){return resolveStandardizedName("preset",e,t)}function*loadPlugin(e,t){const s=resolvePlugin(e,t);if(!s){throw new Error(`Plugin ${e} not found relative to ${t}`)}const r=yield*requireModule("plugin",s);i("Loaded plugin %o from %o.",e,t);return{filepath:s,value:r}}function*loadPreset(e,t){const s=resolvePreset(e,t);if(!s){throw new Error(`Preset ${e} not found relative to ${t}`)}const r=yield*requireModule("preset",s);i("Loaded preset %o from %o.",e,t);return{filepath:s,value:r}}function standardizeName(e,t){if(_path().isAbsolute(t))return t;const s=e==="preset";return t.replace(s?o:a,`babel-${e}-`).replace(s?c:l,`$1${e}-`).replace(s?u:p,`$1babel-${e}-`).replace(h,`$1/babel-${e}`).replace(n,"")}function resolveStandardizedName(e,t,r=process.cwd()){const i=standardizeName(e,t);try{return(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(i,{paths:[r]})}catch(n){if(n.code!=="MODULE_NOT_FOUND")throw n;if(i!==t){let e=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(t,{paths:[r]});e=true}catch(e){}if(e){n.message+=`\n- If you want to resolve "${t}", use "module:${t}"`}}let a=false;try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(standardizeName(e,"@babel/"+t),{paths:[r]});a=true}catch(e){}if(a){n.message+=`\n- Did you mean "@babel/${t}"?`}let o=false;const l=e==="preset"?"plugin":"preset";try{(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},r=s(32282))=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;i=new Error(`Cannot resolve module '${e}'`);i.code="MODULE_NOT_FOUND";throw i})(standardizeName(l,t),{paths:[r]});o=true}catch(e){}if(o){n.message+=`\n- Did you accidentally pass a ${l} as a ${e}?`}throw n}}const f=new Set;function*requireModule(e,t){if(f.has(t)){throw new Error(`Reentrant ${e} detected trying to load "${t}". This module is not ignored `+"and is trying to load itself while compiling itself, leading to a dependency cycle. "+'We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.')}try{f.add(t);return yield*(0,r.default)(t,`You appear to be using a native ECMAScript module ${e}, `+"which is only supported when running Babel asynchronously.",true)}catch(e){e.message=`[BABEL]: ${e.message} (While processing: ${t})`;throw e}finally{f.delete(t)}}},80834:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeStaticFileCache=makeStaticFileCache;var r=s(39272);var i=s(48451);function _fs2(){const e=s(35747);_fs2=function(){return e};return e}function makeStaticFileCache(e){return(0,r.makeStrongCache)(function*(t,s){const r=s.invalidate(()=>fileMtime(t));if(r===null){return null}return e(t,yield*i.readFile(t,"utf8"))})}function fileMtime(e){if(!_fs2().existsSync(e))return null;try{return+_fs2().statSync(e).mtime}catch(e){if(e.code!=="ENOENT"&&e.code!=="ENOTDIR")throw e}return null}},11298:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(33316);var i=s(80598);var n=s(91785);var a=s(78391);var o=s(29272);var l=s(65511);function _traverse(){const e=s(4267);_traverse=function(){return e};return e}var c=s(39272);var p=s(45294);var u=s(49114);var h=s(19184);var f=s(31747);var d=s(27027);var y=_gensync()(function*loadFullConfig(e){var t;const s=yield*(0,f.default)(e);if(!s){return null}const{options:r,context:n,fileHandling:a}=s;if(a==="ignored"){return null}const l={};const{plugins:c,presets:u}=r;if(!c||!u){throw new Error("Assertion failure - plugins and presets exist")}const h=Object.assign({},n,{targets:r.targets});const d=e=>{const t=(0,o.getItemDescriptor)(e);if(!t){throw new Error("Assertion failure - must be config item")}return t};const y=u.map(d);const m=c.map(d);const g=[[]];const b=[];const x=yield*enhanceError(n,function*recursePresetDescriptors(e,t){const s=[];for(let r=0;r0){g.splice(1,0,...s.map(e=>e.pass).filter(e=>e!==t));for(const{preset:e,pass:t}of s){if(!e)return true;t.push(...e.plugins);const s=yield*recursePresetDescriptors(e.presets,t);if(s)return true;e.options.forEach(e=>{(0,i.mergeOptions)(l,e)})}}})(y,g[0]);if(x)return null;const v=l;(0,i.mergeOptions)(v,r);const w=Object.assign({},h,{assumptions:(t=v.assumptions)!=null?t:{}});yield*enhanceError(n,function*loadPluginDescriptors(){g[0].unshift(...m);for(const e of g){const t=[];b.push(t);for(let s=0;se.length>0).map(e=>({plugins:e}));v.passPerPreset=v.presets.length>0;return{options:v,passes:b}});t.default=y;function enhanceError(e,t){return function*(s,r){try{return yield*t(s,r)}catch(t){if(!/^\[BABEL\]/.test(t.message)){t.message=`[BABEL] ${e.filename||"unknown"}: ${t.message}`}throw t}}}const m=e=>(0,c.makeWeakCache)(function*({value:t,options:s,dirname:i,alias:a},o){if(s===false)throw new Error("Assertion failure");s=s||{};let l=t;if(typeof t==="function"){const c=(0,r.maybeAsync)(t,`You appear to be using an async plugin/preset, but Babel has been called synchronously`);const p=Object.assign({},n,e(o));try{l=yield*c(p,s,i)}catch(e){if(a){e.message+=` (While processing: ${JSON.stringify(a)})`}throw e}}if(!l||typeof l!=="object"){throw new Error("Plugin/Preset did not return an object.")}if((0,r.isThenable)(l)){yield*[];throw new Error(`You appear to be using a promise as a plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version. `+`As an alternative, you can prefix the promise with "await". `+`(While processing: ${JSON.stringify(a)})`)}return{value:l,options:s,dirname:i,alias:a}});const g=m(h.makePluginAPI);const b=m(h.makePresetAPI);function*loadPluginDescriptor(e,t){if(e.value instanceof a.default){if(e.options){throw new Error("Passed options to an existing Plugin instance will not work.")}return e.value}return yield*x(yield*g(e,t),t)}const x=(0,c.makeWeakCache)(function*({value:e,options:t,dirname:s,alias:i},n){const o=(0,u.validatePluginObject)(e);const l=Object.assign({},o);if(l.visitor){l.visitor=_traverse().default.explode(Object.assign({},l.visitor))}if(l.inherits){const e={name:undefined,alias:`${i}$inherits`,value:l.inherits,options:t,dirname:s};const a=yield*(0,r.forwardAsync)(loadPluginDescriptor,t=>{return n.invalidate(s=>t(e,s))});l.pre=chain(a.pre,l.pre);l.post=chain(a.post,l.post);l.manipulateOptions=chain(a.manipulateOptions,l.manipulateOptions);l.visitor=_traverse().default.visitors.merge([a.visitor||{},l.visitor||{}])}return new a.default(l,t,i)});const v=(e,t)=>{if(e.test||e.include||e.exclude){const e=t.name?`"${t.name}"`:"/* your preset */";throw new Error([`Preset ${e} requires a filename to be set when babel is called directly,`,`\`\`\``,`babel.transform(code, { filename: 'file.ts', presets: [${e}] });`,`\`\`\``,`See https://babeljs.io/docs/en/options#filename for more information.`].join("\n"))}};const w=(e,t,s)=>{if(!t.filename){const{options:t}=e;v(t,s);if(t.overrides){t.overrides.forEach(e=>v(e,s))}}};function*loadPresetDescriptor(e,t){const s=P(yield*b(e,t));w(s,t,e);return yield*(0,l.buildPresetChain)(s,t)}const P=(0,c.makeWeakCacheSync)(({value:e,dirname:t,alias:s})=>{return{options:(0,p.validate)("preset",e),alias:s,dirname:t}});function chain(e,t){const s=[e,t].filter(Boolean);if(s.length<=1)return s[0];return function(...e){for(const t of s){t.apply(this,e)}}}},19184:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeConfigAPI=makeConfigAPI;t.makePresetAPI=makePresetAPI;t.makePluginAPI=makePluginAPI;function _semver(){const e=s(62519);_semver=function(){return e};return e}var r=s(91785);var i=s(39272);var n=s(27027);function makeConfigAPI(e){const t=t=>e.using(e=>{if(typeof t==="undefined")return e.envName;if(typeof t==="function"){return(0,i.assertSimpleType)(t(e.envName))}if(!Array.isArray(t))t=[t];return t.some(t=>{if(typeof t!=="string"){throw new Error("Unexpected non-string value")}return t===e.envName})});const s=t=>e.using(e=>(0,i.assertSimpleType)(t(e.caller)));return{version:r.version,cache:e.simple(),env:t,async:()=>false,caller:s,assertVersion:assertVersion}}function makePresetAPI(e){const t=()=>JSON.parse(e.using(e=>JSON.stringify(e.targets)));return Object.assign({},makeConfigAPI(e),{targets:t})}function makePluginAPI(e){const t=t=>e.using(e=>e.assumptions[t]);return Object.assign({},makePresetAPI(e),{assumption:t})}function assertVersion(e){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}if(_semver().satisfies(r.version,e))return;const t=Error.stackTraceLimit;if(typeof t==="number"&&t<25){Error.stackTraceLimit=25}const s=new Error(`Requires Babel "${e}", but was loaded with "${r.version}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`);if(typeof t==="number"){Error.stackTraceLimit=t}throw Object.assign(s,{code:"BABEL_VERSION_UNSUPPORTED",version:r.version,range:e})}},94332:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getEnv=getEnv;function getEnv(e="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||e}},49558:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createConfigItem=createConfigItem;Object.defineProperty(t,"default",{enumerable:true,get:function(){return r.default}});t.createConfigItemAsync=t.createConfigItemSync=t.loadOptionsAsync=t.loadOptionsSync=t.loadOptions=t.loadPartialConfigAsync=t.loadPartialConfigSync=t.loadPartialConfig=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(11298);var i=s(31747);var n=s(29272);const a=_gensync()(function*(e){var t;const s=yield*(0,r.default)(e);return(t=s==null?void 0:s.options)!=null?t:null});const o=_gensync()(n.createConfigItem);const l=e=>(t,s)=>{if(s===undefined&&typeof t==="function"){s=t;t=undefined}return s?e.errback(t,s):e.sync(t)};const c=l(i.loadPartialConfig);t.loadPartialConfig=c;const p=i.loadPartialConfig.sync;t.loadPartialConfigSync=p;const u=i.loadPartialConfig.async;t.loadPartialConfigAsync=u;const h=l(a);t.loadOptions=h;const f=a.sync;t.loadOptionsSync=f;const d=a.async;t.loadOptionsAsync=d;const y=o.sync;t.createConfigItemSync=y;const m=o.async;t.createConfigItemAsync=m;function createConfigItem(e,t,s){if(s!==undefined){return o.errback(e,t,s)}else if(typeof t==="function"){return o.errback(e,undefined,s)}else{return o.sync(e,t)}}},29272:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createItemFromDescriptor=createItemFromDescriptor;t.createConfigItem=createConfigItem;t.getItemDescriptor=getItemDescriptor;function _path(){const e=s(85622);_path=function(){return e};return e}var r=s(87837);function createItemFromDescriptor(e){return new ConfigItem(e)}function*createConfigItem(e,{dirname:t=".",type:s}={}){const i=yield*(0,r.createDescriptor)(e,_path().resolve(t),{type:s,alias:"programmatic item"});return createItemFromDescriptor(i)}function getItemDescriptor(e){if(e!=null&&e[i]){return e._descriptor}return undefined}const i=Symbol.for("@babel/core@7 - ConfigItem");class ConfigItem{constructor(e){this._descriptor=void 0;this[i]=true;this.value=void 0;this.options=void 0;this.dirname=void 0;this.name=void 0;this.file=void 0;this._descriptor=e;Object.defineProperty(this,"_descriptor",{enumerable:false});Object.defineProperty(this,i,{enumerable:false});this.value=this._descriptor.value;this.options=this._descriptor.options;this.dirname=this._descriptor.dirname;this.name=this._descriptor.name;this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:undefined;Object.freeze(this)}}Object.freeze(ConfigItem.prototype)},31747:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadPrivatePartialConfig;t.loadPartialConfig=void 0;function _path(){const e=s(85622);_path=function(){return e};return e}function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(78391);var i=s(80598);var n=s(29272);var a=s(65511);var o=s(94332);var l=s(45294);var c=s(81857);var p=s(76309);function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var s={};var r=Object.keys(e);var i,n;for(n=0;n=0)continue;s[i]=e[i]}return s}function resolveRootMode(e,t){switch(t){case"root":return e;case"upward-optional":{const t=(0,c.findConfigUpwards)(e);return t===null?e:t}case"upward":{const t=(0,c.findConfigUpwards)(e);if(t!==null)return t;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not `+`be found when searching upward from "${e}".\n`+`One of the following config files must be in the directory tree: `+`"${c.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error(`Assertion failure - unknown rootMode value.`)}}function*loadPrivatePartialConfig(e){if(e!=null&&(typeof e!=="object"||Array.isArray(e))){throw new Error("Babel options must be an object, null, or undefined")}const t=e?(0,l.validate)("arguments",e):{};const{envName:s=(0,o.getEnv)(),cwd:r=".",root:u=".",rootMode:h="root",caller:f,cloneInputAst:d=true}=t;const y=_path().resolve(r);const m=resolveRootMode(_path().resolve(y,u),h);const g=typeof t.filename==="string"?_path().resolve(r,t.filename):undefined;const b=yield*(0,c.resolveShowConfigPath)(y);const x={filename:g,cwd:y,root:m,envName:s,caller:f,showConfig:b===g};const v=yield*(0,a.buildRootChain)(t,x);if(!v)return null;const w={assumptions:{}};v.options.forEach(e=>{(0,i.mergeOptions)(w,e)});const P=Object.assign({},w,{targets:(0,p.resolveTargets)(w,m),cloneInputAst:d,babelrc:false,configFile:false,browserslistConfigFile:false,passPerPreset:false,envName:x.envName,cwd:x.cwd,root:x.root,rootMode:"root",filename:typeof x.filename==="string"?x.filename:undefined,plugins:v.plugins.map(e=>(0,n.createItemFromDescriptor)(e)),presets:v.presets.map(e=>(0,n.createItemFromDescriptor)(e))});return{options:P,context:x,fileHandling:v.fileHandling,ignore:v.ignore,babelrc:v.babelrc,config:v.config,files:v.files}}const u=_gensync()(function*(e){let t=false;if(typeof e==="object"&&e!==null&&!Array.isArray(e)){var s=e;({showIgnoredFiles:t}=s);e=_objectWithoutPropertiesLoose(s,["showIgnoredFiles"]);s}const i=yield*loadPrivatePartialConfig(e);if(!i)return null;const{options:n,babelrc:a,ignore:o,config:l,fileHandling:c,files:p}=i;if(c==="ignored"&&!t){return null}(n.plugins||[]).forEach(e=>{if(e.value instanceof r.default){throw new Error("Passing cached plugin instances is not supported in "+"babel.loadPartialConfig()")}});return new PartialConfig(n,a?a.filepath:undefined,o?o.filepath:undefined,l?l.filepath:undefined,c,p)});t.loadPartialConfig=u;class PartialConfig{constructor(e,t,s,r,i,n){this.options=void 0;this.babelrc=void 0;this.babelignore=void 0;this.config=void 0;this.fileHandling=void 0;this.files=void 0;this.options=e;this.babelignore=s;this.babelrc=t;this.config=r;this.fileHandling=i;this.files=n;Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==undefined||this.config!==undefined}}Object.freeze(PartialConfig.prototype)},99743:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=pathToPattern;function _path(){const e=s(85622);_path=function(){return e};return e}const r=`\\${_path().sep}`;const i=`(?:${r}|$)`;const n=`[^${r}]+`;const a=`(?:${n}${r})`;const o=`(?:${n}${i})`;const l=`${a}*?`;const c=`${a}*?${o}?`;function escapeRegExp(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}function pathToPattern(e,t){const s=_path().resolve(t,e).split(_path().sep);return new RegExp(["^",...s.map((e,t)=>{const p=t===s.length-1;if(e==="**")return p?c:l;if(e==="*")return p?o:a;if(e.indexOf("*.")===0){return n+escapeRegExp(e.slice(1))+(p?i:r)}return escapeRegExp(e)+(p?i:r)})].join(""))}},78391:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Plugin{constructor(e,t,s){this.key=void 0;this.manipulateOptions=void 0;this.post=void 0;this.pre=void 0;this.visitor=void 0;this.parserOverride=void 0;this.generatorOverride=void 0;this.options=void 0;this.key=e.name||s;this.manipulateOptions=e.manipulateOptions;this.post=e.post;this.pre=e.pre;this.visitor=e.visitor||{};this.parserOverride=e.parserOverride;this.generatorOverride=e.generatorOverride;this.options=t}}t.default=Plugin},89949:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConfigPrinter=t.ChainFormatter=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}const r={Programmatic:0,Config:1};t.ChainFormatter=r;const i={title(e,t,s){let i="";if(e===r.Programmatic){i="programmatic options";if(t){i+=" from "+t}}else{i="config "+s}return i},loc(e,t){let s="";if(e!=null){s+=`.overrides[${e}]`}if(t!=null){s+=`.env["${t}"]`}return s},*optionsAndDescriptors(e){const t=Object.assign({},e.options);delete t.overrides;delete t.env;const s=[...yield*e.plugins()];if(s.length){t.plugins=s.map(e=>descriptorToConfig(e))}const r=[...yield*e.presets()];if(r.length){t.presets=[...r].map(e=>descriptorToConfig(e))}return JSON.stringify(t,undefined,2)}};function descriptorToConfig(e){var t;let s=(t=e.file)==null?void 0:t.request;if(s==null){if(typeof e.value==="object"){s=e.value}else if(typeof e.value==="function"){s=`[Function: ${e.value.toString().substr(0,50)} ... ]`}}if(s==null){s="[Unknown]"}if(e.options===undefined){return s}else if(e.name==null){return[s,e.options]}else{return[s,e.options,e.name]}}class ConfigPrinter{constructor(){this._stack=[]}configure(e,t,{callerName:s,filepath:r}){if(!e)return()=>{};return(e,i,n)=>{this._stack.push({type:t,callerName:s,filepath:r,content:e,index:i,envName:n})}}static*format(e){let t=i.title(e.type,e.callerName,e.filepath);const s=i.loc(e.index,e.envName);if(s)t+=` ${s}`;const r=yield*i.optionsAndDescriptors(e.content);return`${t}\n${r}`}*output(){if(this._stack.length===0)return"";const e=yield*_gensync().all(this._stack.map(e=>ConfigPrinter.format(e)));return e.join("\n\n")}}t.ConfigPrinter=ConfigPrinter},76309:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveBrowserslistConfigFile=resolveBrowserslistConfigFile;t.resolveTargets=resolveTargets;function _path(){const e=s(85622);_path=function(){return e};return e}function _helperCompilationTargets(){const e=s(40773);_helperCompilationTargets=function(){return e};return e}({});function resolveBrowserslistConfigFile(e,t){return _path().resolve(t,e)}function resolveTargets(e,t){let s=e.targets;if(typeof s==="string"||Array.isArray(s)){s={browsers:s}}if(s&&s.esmodules){s=Object.assign({},s,{esmodules:"intersect"})}const{browserslistConfigFile:r}=e;let i;let n=false;if(typeof r==="string"){i=r}else{n=r===false}return(0,_helperCompilationTargets().default)(s,{ignoreBrowserslistConfig:n,configFile:i,configPath:t,browserslistEnv:e.browserslistEnv})}},80598:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.mergeOptions=mergeOptions;t.isIterableIterator=isIterableIterator;function mergeOptions(e,t){for(const s of Object.keys(t)){if((s==="parserOpts"||s==="generatorOpts"||s==="assumptions")&&t[s]){const r=t[s];const i=e[s]||(e[s]={});mergeDefaultFields(i,r)}else{const r=t[s];if(r!==undefined)e[s]=r}}}function mergeDefaultFields(e,t){for(const s of Object.keys(t)){const r=t[s];if(r!==undefined)e[s]=r}}function isIterableIterator(e){return!!e&&typeof e.next==="function"&&typeof e[Symbol.iterator]==="function"}},77872:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.msg=msg;t.access=access;t.assertRootMode=assertRootMode;t.assertSourceMaps=assertSourceMaps;t.assertCompact=assertCompact;t.assertSourceType=assertSourceType;t.assertCallerMetadata=assertCallerMetadata;t.assertInputSourceMap=assertInputSourceMap;t.assertString=assertString;t.assertFunction=assertFunction;t.assertBoolean=assertBoolean;t.assertObject=assertObject;t.assertArray=assertArray;t.assertIgnoreList=assertIgnoreList;t.assertConfigApplicableTest=assertConfigApplicableTest;t.assertConfigFileSearch=assertConfigFileSearch;t.assertBabelrcSearch=assertBabelrcSearch;t.assertPluginList=assertPluginList;t.assertTargets=assertTargets;t.assertAssumptions=assertAssumptions;function _helperCompilationTargets(){const e=s(40773);_helperCompilationTargets=function(){return e};return e}var r=s(45294);function msg(e){switch(e.type){case"root":return``;case"env":return`${msg(e.parent)}.env["${e.name}"]`;case"overrides":return`${msg(e.parent)}.overrides[${e.index}]`;case"option":return`${msg(e.parent)}.${e.name}`;case"access":return`${msg(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${e.type}`)}}function access(e,t){return{type:"access",name:t,parent:e}}function assertRootMode(e,t){if(t!==undefined&&t!=="root"&&t!=="upward"&&t!=="upward-optional"){throw new Error(`${msg(e)} must be a "root", "upward", "upward-optional" or undefined`)}return t}function assertSourceMaps(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="inline"&&t!=="both"){throw new Error(`${msg(e)} must be a boolean, "inline", "both", or undefined`)}return t}function assertCompact(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="auto"){throw new Error(`${msg(e)} must be a boolean, "auto", or undefined`)}return t}function assertSourceType(e,t){if(t!==undefined&&t!=="module"&&t!=="script"&&t!=="unambiguous"){throw new Error(`${msg(e)} must be "module", "script", "unambiguous", or undefined`)}return t}function assertCallerMetadata(e,t){const s=assertObject(e,t);if(s){if(typeof s.name!=="string"){throw new Error(`${msg(e)} set but does not contain "name" property string`)}for(const t of Object.keys(s)){const r=access(e,t);const i=s[t];if(i!=null&&typeof i!=="boolean"&&typeof i!=="string"&&typeof i!=="number"){throw new Error(`${msg(r)} must be null, undefined, a boolean, a string, or a number.`)}}}return t}function assertInputSourceMap(e,t){if(t!==undefined&&typeof t!=="boolean"&&(typeof t!=="object"||!t)){throw new Error(`${msg(e)} must be a boolean, object, or undefined`)}return t}function assertString(e,t){if(t!==undefined&&typeof t!=="string"){throw new Error(`${msg(e)} must be a string, or undefined`)}return t}function assertFunction(e,t){if(t!==undefined&&typeof t!=="function"){throw new Error(`${msg(e)} must be a function, or undefined`)}return t}function assertBoolean(e,t){if(t!==undefined&&typeof t!=="boolean"){throw new Error(`${msg(e)} must be a boolean, or undefined`)}return t}function assertObject(e,t){if(t!==undefined&&(typeof t!=="object"||Array.isArray(t)||!t)){throw new Error(`${msg(e)} must be an object, or undefined`)}return t}function assertArray(e,t){if(t!=null&&!Array.isArray(t)){throw new Error(`${msg(e)} must be an array, or undefined`)}return t}function assertIgnoreList(e,t){const s=assertArray(e,t);if(s){s.forEach((t,s)=>assertIgnoreItem(access(e,s),t))}return s}function assertIgnoreItem(e,t){if(typeof t!=="string"&&typeof t!=="function"&&!(t instanceof RegExp)){throw new Error(`${msg(e)} must be an array of string/Function/RegExp values, or undefined`)}return t}function assertConfigApplicableTest(e,t){if(t===undefined)return t;if(Array.isArray(t)){t.forEach((t,s)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,s))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a string/Function/RegExp, or an array of those`)}return t}function checkValidTest(e){return typeof e==="string"||typeof e==="function"||e instanceof RegExp}function assertConfigFileSearch(e,t){if(t!==undefined&&typeof t!=="boolean"&&typeof t!=="string"){throw new Error(`${msg(e)} must be a undefined, a boolean, a string, `+`got ${JSON.stringify(t)}`)}return t}function assertBabelrcSearch(e,t){if(t===undefined||typeof t==="boolean")return t;if(Array.isArray(t)){t.forEach((t,s)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,s))} must be a string/Function/RegExp.`)}})}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a undefined, a boolean, a string/Function/RegExp `+`or an array of those, got ${JSON.stringify(t)}`)}return t}function assertPluginList(e,t){const s=assertArray(e,t);if(s){s.forEach((t,s)=>assertPluginItem(access(e,s),t))}return s}function assertPluginItem(e,t){if(Array.isArray(t)){if(t.length===0){throw new Error(`${msg(e)} must include an object`)}if(t.length>3){throw new Error(`${msg(e)} may only be a two-tuple or three-tuple`)}assertPluginTarget(access(e,0),t[0]);if(t.length>1){const s=t[1];if(s!==undefined&&s!==false&&(typeof s!=="object"||Array.isArray(s)||s===null)){throw new Error(`${msg(access(e,1))} must be an object, false, or undefined`)}}if(t.length===3){const s=t[2];if(s!==undefined&&typeof s!=="string"){throw new Error(`${msg(access(e,2))} must be a string, or undefined`)}}}else{assertPluginTarget(e,t)}return t}function assertPluginTarget(e,t){if((typeof t!=="object"||!t)&&typeof t!=="string"&&typeof t!=="function"){throw new Error(`${msg(e)} must be a string, object, function`)}return t}function assertTargets(e,t){if((0,_helperCompilationTargets().isBrowsersQueryValid)(t))return t;if(typeof t!=="object"||!t||Array.isArray(t)){throw new Error(`${msg(e)} must be a string, an array of strings or an object`)}const s=access(e,"browsers");const r=access(e,"esmodules");assertBrowsersList(s,t.browsers);assertBoolean(r,t.esmodules);for(const s of Object.keys(t)){const r=t[s];const i=access(e,s);if(s==="esmodules")assertBoolean(i,r);else if(s==="browsers")assertBrowsersList(i,r);else if(!Object.hasOwnProperty.call(_helperCompilationTargets().TargetNames,s)){const e=Object.keys(_helperCompilationTargets().TargetNames).join(", ");throw new Error(`${msg(i)} is not a valid target. Supported targets are ${e}`)}else assertBrowserVersion(i,r)}return t}function assertBrowsersList(e,t){if(t!==undefined&&!(0,_helperCompilationTargets().isBrowsersQueryValid)(t)){throw new Error(`${msg(e)} must be undefined, a string or an array of strings`)}}function assertBrowserVersion(e,t){if(typeof t==="number"&&Math.round(t)===t)return;if(typeof t==="string")return;throw new Error(`${msg(e)} must be a string or an integer number`)}function assertAssumptions(e,t){if(t===undefined)return;if(typeof t!=="object"||t===null){throw new Error(`${msg(e)} must be an object or undefined.`)}let s=e;do{s=s.parent}while(s.type!=="root");const i=s.source==="preset";for(const s of Object.keys(t)){const n=access(e,s);if(!r.assumptionsNames.has(s)){throw new Error(`${msg(n)} is not a supported assumption.`)}if(typeof t[s]!=="boolean"){throw new Error(`${msg(n)} must be a boolean.`)}if(i&&t[s]===false){throw new Error(`${msg(n)} cannot be set to 'false' inside presets.`)}}return t}},45294:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.checkNoUnwrappedItemOptionPairs=checkNoUnwrappedItemOptionPairs;t.assumptionsNames=void 0;var r=s(78391);var i=s(12383);var n=s(77872);const a={cwd:n.assertString,root:n.assertString,rootMode:n.assertRootMode,configFile:n.assertConfigFileSearch,caller:n.assertCallerMetadata,filename:n.assertString,filenameRelative:n.assertString,code:n.assertBoolean,ast:n.assertBoolean,cloneInputAst:n.assertBoolean,envName:n.assertString};const o={babelrc:n.assertBoolean,babelrcRoots:n.assertBabelrcSearch};const l={extends:n.assertString,ignore:n.assertIgnoreList,only:n.assertIgnoreList,targets:n.assertTargets,browserslistConfigFile:n.assertConfigFileSearch,browserslistEnv:n.assertString};const c={inputSourceMap:n.assertInputSourceMap,presets:n.assertPluginList,plugins:n.assertPluginList,passPerPreset:n.assertBoolean,assumptions:n.assertAssumptions,env:assertEnvSet,overrides:assertOverridesList,test:n.assertConfigApplicableTest,include:n.assertConfigApplicableTest,exclude:n.assertConfigApplicableTest,retainLines:n.assertBoolean,comments:n.assertBoolean,shouldPrintComment:n.assertFunction,compact:n.assertCompact,minified:n.assertBoolean,auxiliaryCommentBefore:n.assertString,auxiliaryCommentAfter:n.assertString,sourceType:n.assertSourceType,wrapPluginVisitorMethod:n.assertFunction,highlightCode:n.assertBoolean,sourceMaps:n.assertSourceMaps,sourceMap:n.assertSourceMaps,sourceFileName:n.assertString,sourceRoot:n.assertString,parserOpts:n.assertObject,generatorOpts:n.assertObject};{Object.assign(c,{getModuleId:n.assertFunction,moduleRoot:n.assertString,moduleIds:n.assertBoolean,moduleId:n.assertString})}const p=new Set(["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noNewArrows","objectRestNoSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"]);t.assumptionsNames=p;function getSource(e){return e.type==="root"?e.source:getSource(e.parent)}function validate(e,t){return validateNested({type:"root",source:e},t)}function validateNested(e,t){const s=getSource(e);assertNoDuplicateSourcemap(t);Object.keys(t).forEach(r=>{const i={type:"option",name:r,parent:e};if(s==="preset"&&l[r]){throw new Error(`${(0,n.msg)(i)} is not allowed in preset options`)}if(s!=="arguments"&&a[r]){throw new Error(`${(0,n.msg)(i)} is only allowed in root programmatic options`)}if(s!=="arguments"&&s!=="configfile"&&o[r]){if(s==="babelrcfile"||s==="extendsfile"){throw new Error(`${(0,n.msg)(i)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, `+`or babel.config.js/config file options`)}throw new Error(`${(0,n.msg)(i)} is only allowed in root programmatic options, or babel.config.js/config file options`)}const p=c[r]||l[r]||o[r]||a[r]||throwUnknownError;p(i,t[r])});return t}function throwUnknownError(e){const t=e.name;if(i.default[t]){const{message:s,version:r=5}=i.default[t];throw new Error(`Using removed Babel ${r} option: ${(0,n.msg)(e)} - ${s}`)}else{const t=new Error(`Unknown option: ${(0,n.msg)(e)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);t.code="BABEL_UNKNOWN_OPTION";throw t}}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function assertNoDuplicateSourcemap(e){if(has(e,"sourceMap")&&has(e,"sourceMaps")){throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}}function assertEnvSet(e,t){if(e.parent.type==="env"){throw new Error(`${(0,n.msg)(e)} is not allowed inside of another .env block`)}const s=e.parent;const r=(0,n.assertObject)(e,t);if(r){for(const t of Object.keys(r)){const i=(0,n.assertObject)((0,n.access)(e,t),r[t]);if(!i)continue;const a={type:"env",name:t,parent:s};validateNested(a,i)}}return r}function assertOverridesList(e,t){if(e.parent.type==="env"){throw new Error(`${(0,n.msg)(e)} is not allowed inside an .env block`)}if(e.parent.type==="overrides"){throw new Error(`${(0,n.msg)(e)} is not allowed inside an .overrides block`)}const s=e.parent;const r=(0,n.assertArray)(e,t);if(r){for(const[t,i]of r.entries()){const r=(0,n.access)(e,t);const a=(0,n.assertObject)(r,i);if(!a)throw new Error(`${(0,n.msg)(r)} must be an object`);const o={type:"overrides",index:t,parent:s};validateNested(o,a)}}return r}function checkNoUnwrappedItemOptionPairs(e,t,s,r){if(t===0)return;const i=e[t-1];const n=e[t];if(i.file&&i.options===undefined&&typeof n.value==="object"){r.message+=`\n- Maybe you meant to use\n`+`"${s}": [\n ["${i.file.request}", ${JSON.stringify(n.value,undefined,2)}]\n]\n`+`To be a valid ${s}, its name and options should be wrapped in a pair of brackets`}}},49114:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validatePluginObject=validatePluginObject;var r=s(77872);const i={name:r.assertString,manipulateOptions:r.assertFunction,pre:r.assertFunction,post:r.assertFunction,inherits:r.assertFunction,visitor:assertVisitorMap,parserOverride:r.assertFunction,generatorOverride:r.assertFunction};function assertVisitorMap(e,t){const s=(0,r.assertObject)(e,t);if(s){Object.keys(s).forEach(e=>assertVisitorHandler(e,s[e]));if(s.enter||s.exit){throw new Error(`${(0,r.msg)(e)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`)}}return s}function assertVisitorHandler(e,t){if(t&&typeof t==="object"){Object.keys(t).forEach(t=>{if(t!=="enter"&&t!=="exit"){throw new Error(`.visitor["${e}"] may only have .enter and/or .exit handlers.`)}})}else if(typeof t!=="function"){throw new Error(`.visitor["${e}"] must be a function`)}return t}function validatePluginObject(e){const t={type:"root",source:"plugin"};Object.keys(e).forEach(s=>{const r=i[s];if(r){const i={type:"option",name:s,parent:t};r(i,e[s])}else{const e=new Error(`.${s} is not a valid Plugin property`);e.code="BABEL_UNKNOWN_PLUGIN_PROPERTY";throw e}});return e}},12383:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var s={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. "+"Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. "+"Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using "+"or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. "+"Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. "+"Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the "+"tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling "+"that calls Babel to assign `map.file` themselves."}};t.default=s},33316:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.maybeAsync=maybeAsync;t.forwardAsync=forwardAsync;t.isThenable=isThenable;t.waitFor=t.onFirstPause=t.isAsync=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}const r=e=>e;const i=_gensync()(function*(e){return yield*e});const n=_gensync()({sync:()=>false,errback:e=>e(null,true)});t.isAsync=n;function maybeAsync(e,t){return _gensync()({sync(...s){const r=e.apply(this,s);if(isThenable(r))throw new Error(t);return r},async(...t){return Promise.resolve(e.apply(this,t))}})}const a=_gensync()({sync:e=>e("sync"),async:e=>e("async")});function forwardAsync(e,t){const s=_gensync()(e);return a(e=>{const r=s[e];return t(r)})}const o=_gensync()({name:"onFirstPause",arity:2,sync:function(e){return i.sync(e)},errback:function(e,t,s){let r=false;i.errback(e,(e,t)=>{r=true;s(e,t)});if(!r){t()}}});t.onFirstPause=o;const l=_gensync()({sync:r,async:r});t.waitFor=l;function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},48451:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stat=t.readFile=void 0;function _fs(){const e=s(35747);_fs=function(){return e};return e}function _gensync(){const e=s(67941);_gensync=function(){return e};return e}const r=_gensync()({sync:_fs().readFileSync,errback:_fs().readFile});t.readFile=r;const i=_gensync()({sync:_fs().statSync,errback:_fs().stat});t.stat=i},91785:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Plugin=Plugin;Object.defineProperty(t,"File",{enumerable:true,get:function(){return r.default}});Object.defineProperty(t,"buildExternalHelpers",{enumerable:true,get:function(){return i.default}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return n.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return n.resolvePreset}});Object.defineProperty(t,"getEnv",{enumerable:true,get:function(){return a.getEnv}});Object.defineProperty(t,"tokTypes",{enumerable:true,get:function(){return _parser().tokTypes}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return _traverse().default}});Object.defineProperty(t,"template",{enumerable:true,get:function(){return _template().default}});Object.defineProperty(t,"createConfigItem",{enumerable:true,get:function(){return o.createConfigItem}});Object.defineProperty(t,"createConfigItemSync",{enumerable:true,get:function(){return o.createConfigItemSync}});Object.defineProperty(t,"createConfigItemAsync",{enumerable:true,get:function(){return o.createConfigItemAsync}});Object.defineProperty(t,"loadPartialConfig",{enumerable:true,get:function(){return o.loadPartialConfig}});Object.defineProperty(t,"loadPartialConfigSync",{enumerable:true,get:function(){return o.loadPartialConfigSync}});Object.defineProperty(t,"loadPartialConfigAsync",{enumerable:true,get:function(){return o.loadPartialConfigAsync}});Object.defineProperty(t,"loadOptions",{enumerable:true,get:function(){return o.loadOptions}});Object.defineProperty(t,"loadOptionsSync",{enumerable:true,get:function(){return o.loadOptionsSync}});Object.defineProperty(t,"loadOptionsAsync",{enumerable:true,get:function(){return o.loadOptionsAsync}});Object.defineProperty(t,"transform",{enumerable:true,get:function(){return l.transform}});Object.defineProperty(t,"transformSync",{enumerable:true,get:function(){return l.transformSync}});Object.defineProperty(t,"transformAsync",{enumerable:true,get:function(){return l.transformAsync}});Object.defineProperty(t,"transformFile",{enumerable:true,get:function(){return c.transformFile}});Object.defineProperty(t,"transformFileSync",{enumerable:true,get:function(){return c.transformFileSync}});Object.defineProperty(t,"transformFileAsync",{enumerable:true,get:function(){return c.transformFileAsync}});Object.defineProperty(t,"transformFromAst",{enumerable:true,get:function(){return p.transformFromAst}});Object.defineProperty(t,"transformFromAstSync",{enumerable:true,get:function(){return p.transformFromAstSync}});Object.defineProperty(t,"transformFromAstAsync",{enumerable:true,get:function(){return p.transformFromAstAsync}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return u.parse}});Object.defineProperty(t,"parseSync",{enumerable:true,get:function(){return u.parseSync}});Object.defineProperty(t,"parseAsync",{enumerable:true,get:function(){return u.parseAsync}});t.types=t.OptionManager=t.DEFAULT_EXTENSIONS=t.version=void 0;var r=s(34284);var i=s(72293);var n=s(81857);var a=s(94332);function _types(){const e=s(19761);_types=function(){return e};return e}Object.defineProperty(t,"types",{enumerable:true,get:function(){return _types()}});function _parser(){const e=s(72218);_parser=function(){return e};return e}function _traverse(){const e=s(4267);_traverse=function(){return e};return e}function _template(){const e=s(36900);_template=function(){return e};return e}var o=s(49558);var l=s(41478);var c=s(28678);var p=s(29437);var u=s(608);const h="7.14.6";t.version=h;const f=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);t.DEFAULT_EXTENSIONS=f;class OptionManager{init(e){return(0,o.loadOptions)(e)}}t.OptionManager=OptionManager;function Plugin(e){throw new Error(`The (${e}) Babel 5 plugin is being run with an unsupported Babel version.`)}},608:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseAsync=t.parseSync=t.parse=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(49558);var i=s(20886);var n=s(25042);const a=_gensync()(function*parse(e,t){const s=yield*(0,r.default)(t);if(s===null){return null}return yield*(0,i.default)(s.passes,(0,n.default)(s),e)});const o=function parse(e,t,s){if(typeof t==="function"){s=t;t=undefined}if(s===undefined)return a.sync(e,t);a.errback(e,t,s)};t.parse=o;const l=a.sync;t.parseSync=l;const c=a.async;t.parseAsync=c},20886:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parser;function _parser(){const e=s(72218);_parser=function(){return e};return e}function _codeFrame(){const e=s(54116);_codeFrame=function(){return e};return e}var r=s(27015);function*parser(e,{parserOpts:t,highlightCode:s=true,filename:i="unknown"},n){try{const a=[];for(const s of e){for(const e of s){const{parserOverride:s}=e;if(s){const e=s(n,t,_parser().parse);if(e!==undefined)a.push(e)}}}if(a.length===0){return(0,_parser().parse)(n,t)}else if(a.length===1){yield*[];if(typeof a[0].then==="function"){throw new Error(`You appear to be using an async parser plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}return a[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(e){if(e.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"){e.message+="\nConsider renaming the file to '.mjs', or setting sourceType:module "+"or sourceType:unambiguous in your Babel config for this file."}const{loc:t,missingPlugin:a}=e;if(t){const o=(0,_codeFrame().codeFrameColumns)(n,{start:{line:t.line,column:t.column+1}},{highlightCode:s});if(a){e.message=`${i}: `+(0,r.default)(a[0],t,o)}else{e.message=`${i}: ${e.message}\n\n`+o}e.code="BABEL_PARSE_ERROR"}throw e}}},27015:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateMissingPluginMessage;const s={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",url:"https://git.io/JYer8"}},classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-private-methods",url:"https://git.io/JvpRG"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://git.io/JTLB6"},transform:{name:"@babel/plugin-proposal-class-static-block",url:"https://git.io/JTLBP"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://git.io/JfKOH"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://git.io/vb4y9"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://git.io/vb4ST"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://git.io/vb4yh"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://git.io/vb4S3"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://git.io/vb4Sv"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://git.io/vb4SO"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://git.io/vb4yH"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://git.io/vb4Sf"},transform:{name:"@babel/plugin-proposal-export-namespace-from",url:"https://git.io/vb4SG"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://git.io/vb4yb"},transform:{name:"@babel/preset-flow",url:"https://git.io/JfeDn"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://git.io/vb4y7"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://git.io/vb4St"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://git.io/vb4yN"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://git.io/vb4SZ"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://git.io/vbKK6"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://git.io/vb4yA"},transform:{name:"@babel/preset-react",url:"https://git.io/JfeDR"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://git.io/JUbkv"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://git.io/JTL8G"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://git.io/vb4Sq"},transform:{name:"@babel/plugin-proposal-numeric-separator",url:"https://git.io/vb4yS"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://git.io/vb4Sc"},transform:{name:"@babel/plugin-proposal-optional-chaining",url:"https://git.io/vb4Sk"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://git.io/vb4yj"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://git.io/vb4SU"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://git.io/JfK3q"},transform:{name:"@babel/plugin-proposal-private-property-in-object",url:"https://git.io/JfK3O"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://git.io/JvKp3"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://git.io/vb4SJ"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://git.io/vb4yF"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://git.io/vb4SC"},transform:{name:"@babel/preset-typescript",url:"https://git.io/JfeDz"}},asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://git.io/vb4SY"},transform:{name:"@babel/plugin-proposal-async-generator-functions",url:"https://git.io/vb4yp"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://git.io/vAlBp"},transform:{name:"@babel/plugin-proposal-logical-assignment-operators",url:"https://git.io/vAlRe"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://git.io/vb4yx"},transform:{name:"@babel/plugin-proposal-nullish-coalescing-operator",url:"https://git.io/vb4Se"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://git.io/vb4y5"},transform:{name:"@babel/plugin-proposal-object-rest-spread",url:"https://git.io/vb4Ss"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://git.io/vb4Sn"},transform:{name:"@babel/plugin-proposal-optional-catch-binding",url:"https://git.io/vb4SI"}}};s.privateIn.syntax=s.privateIn.transform;const r=({name:e,url:t})=>`${e} (${t})`;function generateMissingPluginMessage(e,t,i){let n=`Support for the experimental syntax '${e}' isn't currently enabled `+`(${t.line}:${t.column+1}):\n\n`+i;const a=s[e];if(a){const{syntax:e,transform:t}=a;if(e){const s=r(e);if(t){const e=r(t);const i=t.name.startsWith("@babel/plugin")?"plugins":"presets";n+=`\n\nAdd ${e} to the '${i}' section of your Babel config to enable transformation.\nIf you want to leave it as-is, add ${s} to the 'plugins' section to enable parsing.`}else{n+=`\n\nAdd ${s} to the 'plugins' section of your Babel config `+`to enable parsing.`}}}return n}},72293:(e,s,r)=>{"use strict";Object.defineProperty(s,"__esModule",{value:true});s.default=_default;function helpers(){const e=r(25419);helpers=function(){return e};return e}function _generator(){const e=r(23656);_generator=function(){return e};return e}function _template(){const e=r(36900);_template=function(){return e};return e}function t(){const e=r(19761);t=function(){return e};return e}var i=r(34284);const n=e=>(0,_template().default)` (function (root, factory) { if (typeof define === "function" && define.amd) { define(AMD_ARGUMENTS, factory); @@ -9842,27 +9842,27 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m })(UMD_ROOT, function (FACTORY_PARAMETERS) { FACTORY_BODY }); - `(e);function buildGlobal(e){const r=t().identifier("babelHelpers");const n=[];const s=t().functionExpression(null,[t().identifier("global")],t().blockStatement(n));const i=t().program([t().expressionStatement(t().callExpression(s,[t().conditionalExpression(t().binaryExpression("===",t().unaryExpression("typeof",t().identifier("global")),t().stringLiteral("undefined")),t().identifier("self"),t().identifier("global"))]))]);n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().assignmentExpression("=",t().memberExpression(t().identifier("global"),r),t().objectExpression([])))]));buildHelpers(n,r,e);return i}function buildModule(e){const r=[];const n=buildHelpers(r,null,e);r.unshift(t().exportNamedDeclaration(null,Object.keys(n).map(e=>{return t().exportSpecifier(t().cloneNode(n[e]),t().identifier(e))})));return t().program(r,[],"module")}function buildUmd(e){const r=t().identifier("babelHelpers");const n=[];n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().identifier("global"))]));buildHelpers(n,r,e);return t().program([i({FACTORY_PARAMETERS:t().identifier("global"),BROWSER_ARGUMENTS:t().assignmentExpression("=",t().memberExpression(t().identifier("root"),r),t().objectExpression([])),COMMON_ARGUMENTS:t().identifier("exports"),AMD_ARGUMENTS:t().arrayExpression([t().stringLiteral("exports")]),FACTORY_BODY:n,UMD_ROOT:t().identifier("this")})])}function buildVar(e){const r=t().identifier("babelHelpers");const n=[];n.push(t().variableDeclaration("var",[t().variableDeclarator(r,t().objectExpression([]))]));const s=t().program(n);buildHelpers(n,r,e);n.push(t().expressionStatement(r));return s}function buildHelpers(e,r,n){const i=e=>{return r?t().memberExpression(r,t().identifier(e)):t().identifier(`_${e}`)};const a={};helpers().list.forEach(function(t){if(n&&n.indexOf(t)<0)return;const r=a[t]=i(t);helpers().ensure(t,s.default);const{nodes:o}=helpers().get(t,i,r);e.push(...o)});return a}function _default(e,t="global"){let r;const n={global:buildGlobal,module:buildModule,umd:buildUmd,var:buildVar}[t];if(n){r=n(e)}else{throw new Error(`Unsupported output type ${t}`)}return(0,_generator().default)(r).code}},29437:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFromAstAsync=t.transformFromAstSync=t.transformFromAst=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(49558);var s=r(83703);const i=_gensync()(function*(e,t,r){const i=yield*(0,n.default)(r);if(i===null)return null;if(!e)throw new Error("No AST given");return yield*(0,s.run)(i,t,e)});const a=function transformFromAst(e,t,r,n){if(typeof r==="function"){n=r;r=undefined}if(n===undefined){return i.sync(e,t,r)}i.errback(e,t,r,n)};t.transformFromAst=a;const o=i.sync;t.transformFromAstSync=o;const l=i.async;t.transformFromAstAsync=l},28678:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFileAsync=t.transformFileSync=t.transformFile=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(49558);var s=r(83703);var i=r(48451);({});const a=_gensync()(function*(e,t){const r=Object.assign({},t,{filename:e});const a=yield*(0,n.default)(r);if(a===null)return null;const o=yield*i.readFile(e,"utf8");return yield*(0,s.run)(a,o)});const o=a.errback;t.transformFile=o;const l=a.sync;t.transformFileSync=l;const u=a.async;t.transformFileAsync=u},41478:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformAsync=t.transformSync=t.transform=void 0;function _gensync(){const e=r(67941);_gensync=function(){return e};return e}var n=r(49558);var s=r(83703);const i=_gensync()(function*transform(e,t){const r=yield*(0,n.default)(t);if(r===null)return null;return yield*(0,s.run)(r,e)});const a=function transform(e,t,r){if(typeof t==="function"){r=t;t=undefined}if(r===undefined)return i.sync(e,t);i.errback(e,t,r)};t.transform=a;const o=i.sync;t.transformSync=o;const l=i.async;t.transformAsync=l},84186:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadBlockHoistPlugin;function _traverse(){const e=r(4267);_traverse=function(){return e};return e}var n=r(78391);let s;function loadBlockHoistPlugin(){if(!s){s=new n.default(Object.assign({},i,{visitor:_traverse().default.explode(i.visitor)}),{})}return s}function priority(e){const t=e==null?void 0:e._blockHoist;if(t==null)return 1;if(t===true)return 2;return t}function stableSort(e){const t=Object.create(null);for(let r=0;r+e).sort((e,t)=>t-e);let n=0;for(const s of r){const r=t[s];for(const t of r){e[n++]=t}}return e}const i={name:"internal.blockHoist",visitor:{Block:{exit({node:e}){const{body:t}=e;let r=Math.pow(2,30)-1;let n=false;for(let e=0;er){n=true;break}r=i}if(!n)return;e.body=stableSort(t.slice())}}}}},34284:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=void 0;function helpers(){const e=n(25419);helpers=function(){return e};return e}function _traverse(){const e=n(4267);_traverse=function(){return e};return e}function _codeFrame(){const e=n(54116);_codeFrame=function(){return e};return e}function t(){const e=n(8892);t=function(){return e};return e}function _helperModuleTransforms(){const e=n(37763);_helperModuleTransforms=function(){return e};return e}function _semver(){const e=n(62519);_semver=function(){return e};return e}const s={enter(e,t){const r=e.node.loc;if(r){t.loc=r;e.stop()}}};class File{constructor(e,{code:t,ast:r,inputMap:n}){this._map=new Map;this.opts=void 0;this.declarations={};this.path=null;this.ast={};this.scope=void 0;this.metadata={};this.code="";this.inputMap=null;this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)};this.opts=e;this.code=t;this.ast=r;this.inputMap=n;this.path=_traverse().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext();this.scope=this.path.scope}get shebang(){const{interpreter:e}=this.path.node;return e?e.value:""}set shebang(e){if(e){this.path.get("interpreter").replaceWith(t().interpreterDirective(e))}else{this.path.get("interpreter").remove()}}set(e,t){if(e==="helpersNamespace"){throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility."+"If you are using @babel/plugin-external-helpers you will need to use a newer "+"version than the one you currently have installed. "+"If you have your own implementation, you'll want to explore using 'helperGenerator' "+"alongside 'file.availableHelper()'.")}this._map.set(e,t)}get(e){return this._map.get(e)}has(e){return this._map.has(e)}getModuleName(){return(0,_helperModuleTransforms().getModuleName)(this.opts,this.opts)}addImport(){throw new Error("This API has been removed. If you're looking for this "+"functionality in Babel 7, you should import the "+"'@babel/helper-module-imports' module and use the functions exposed "+" from that module, such as 'addNamed' or 'addDefault'.")}availableHelper(e,t){let r;try{r=helpers().minVersion(e)}catch(e){if(e.code!=="BABEL_HELPER_UNKNOWN")throw e;return false}if(typeof t!=="string")return true;if(_semver().valid(t))t=`^${t}`;return!_semver().intersects(`<${r}`,t)&&!_semver().intersects(`>=8.0.0`,t)}addHelper(e){const r=this.declarations[e];if(r)return t().cloneNode(r);const n=this.get("helperGenerator");if(n){const t=n(e);if(t)return t}helpers().ensure(e,File);const s=this.declarations[e]=this.scope.generateUidIdentifier(e);const i={};for(const t of helpers().getDependencies(e)){i[t]=this.addHelper(t)}const{nodes:a,globals:o}=helpers().get(e,e=>i[e],s,Object.keys(this.scope.getAllBindings()));o.forEach(e=>{if(this.path.scope.hasBinding(e,true)){this.path.scope.rename(e)}});a.forEach(e=>{e._compact=true});this.path.unshiftContainer("body",a);this.path.get("body").forEach(e=>{if(a.indexOf(e.node)===-1)return;if(e.isVariableDeclaration())this.scope.registerDeclaration(e)});return s}addTemplateObject(){throw new Error("This function has been moved into the template literal transform itself.")}buildCodeFrameError(e,t,r=SyntaxError){let n=e&&(e.loc||e._loc);if(!n&&e){const r={loc:null};(0,_traverse().default)(e,s,this.scope,r);n=r.loc;let i="This is an error on an internal node. Probably an internal error.";if(n)i+=" Location has been estimated.";t+=` (${i})`}if(n){const{highlightCode:e=true}=this.opts;t+="\n"+(0,_codeFrame().codeFrameColumns)(this.code,{start:{line:n.start.line,column:n.start.column+1},end:n.end&&n.start.line===n.end.line?{line:n.end.line,column:n.end.column+1}:undefined},{highlightCode:e})}return new r(t)}}r.default=File},43939:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateCode;function _convertSourceMap(){const e=r(36301);_convertSourceMap=function(){return e};return e}function _generator(){const e=r(23656);_generator=function(){return e};return e}var n=r(43717);function generateCode(e,t){const{opts:r,ast:s,code:i,inputMap:a}=t;const o=[];for(const t of e){for(const e of t){const{generatorOverride:t}=e;if(t){const e=t(s,r.generatorOpts,i,_generator().default);if(e!==undefined)o.push(e)}}}let l;if(o.length===0){l=(0,_generator().default)(s,r.generatorOpts,i)}else if(o.length===1){l=o[0];if(typeof l.then==="function"){throw new Error(`You appear to be using an async codegen plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version.`)}}else{throw new Error("More than one plugin attempted to override codegen.")}let{code:u,map:p}=l;if(p&&a){p=(0,n.default)(a.toObject(),p)}if(r.sourceMaps==="inline"||r.sourceMaps==="both"){u+="\n"+_convertSourceMap().fromObject(p).toComment()}if(r.sourceMaps==="inline"){p=null}return{outputCode:u,outputMap:p}}},43717:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=mergeSourceMap;function _sourceMap(){const e=r(96241);_sourceMap=function(){return e};return e}function mergeSourceMap(e,t){const r=buildMappingData(e);const n=buildMappingData(t);const s=new(_sourceMap().SourceMapGenerator);for(const{source:e}of r.sources){if(typeof e.content==="string"){s.setSourceContent(e.path,e.content)}}if(n.sources.length===1){const e=n.sources[0];const t=new Map;eachInputGeneratedRange(r,(r,n,i)=>{eachOverlappingGeneratedOutputRange(e,r,e=>{const r=makeMappingKey(e);if(t.has(r))return;t.set(r,e);s.addMapping({source:i.path,original:{line:n.line,column:n.columnStart},generated:{line:e.line,column:e.columnStart},name:n.name})})});for(const e of t.values()){if(e.columnEnd===Infinity){continue}const r={line:e.line,columnStart:e.columnEnd};const n=makeMappingKey(r);if(t.has(n)){continue}s.addMapping({generated:{line:r.line,column:r.columnStart}})}}const i=s.toJSON();if(typeof r.sourceRoot==="string"){i.sourceRoot=r.sourceRoot}return i}function makeMappingKey(e){return`${e.line}/${e.columnStart}`}function eachOverlappingGeneratedOutputRange(e,t,r){const n=filterApplicableOriginalRanges(e,t);for(const{generated:e}of n){for(const t of e){r(t)}}}function filterApplicableOriginalRanges({mappings:e},{line:t,columnStart:r,columnEnd:n}){return filterSortedArray(e,({original:e})=>{if(t>e.line)return-1;if(t=e.columnEnd)return-1;if(n<=e.columnStart)return 1;return 0})}function eachInputGeneratedRange(e,t){for(const{source:r,mappings:n}of e.sources){for(const{original:e,generated:s}of n){for(const n of s){t(n,e,r)}}}}function buildMappingData(e){const t=new(_sourceMap().SourceMapConsumer)(Object.assign({},e,{sourceRoot:null}));const r=new Map;const n=new Map;let s=null;t.computeColumnSpans();t.eachMapping(e=>{if(e.originalLine===null)return;let i=r.get(e.source);if(!i){i={path:e.source,content:t.sourceContentFor(e.source,true)};r.set(e.source,i)}let a=n.get(i);if(!a){a={source:i,mappings:[]};n.set(i,a)}const o={line:e.originalLine,columnStart:e.originalColumn,columnEnd:Infinity,name:e.name};if(s&&s.source===i&&s.mapping.line===e.originalLine){s.mapping.columnEnd=e.originalColumn}s={source:i,mapping:o};a.mappings.push({original:o,generated:t.allGeneratedPositionsFor({source:e.source,line:e.originalLine,column:e.originalColumn}).map(e=>({line:e.line,columnStart:e.column,columnEnd:e.lastColumn+1}))})},null,_sourceMap().SourceMapConsumer.ORIGINAL_ORDER);return{file:e.file,sourceRoot:e.sourceRoot,sources:Array.from(n.values())}}function findInsertionLocation(e,t){let r=0;let n=e.length;while(r=0){n=s}else{r=s+1}}let s=r;if(s=0&&t(e[s])>=0){s--}return s+1}return s}function filterSortedArray(e,t){const r=findInsertionLocation(e,t);const n=[];for(let s=r;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.run=run;function _traverse(){const e=r(4267);_traverse=function(){return e};return e}var n=r(66729);var s=r(84186);var i=r(25042);var a=r(56479);var o=r(43939);function*run(e,t,r){const n=yield*(0,a.default)(e.passes,(0,i.default)(e),t,r);const s=n.opts;try{yield*transformFile(n,e.passes)}catch(e){var l;e.message=`${(l=s.filename)!=null?l:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_TRANSFORM_ERROR"}throw e}let u,p;try{if(s.code!==false){({outputCode:u,outputMap:p}=(0,o.default)(e.passes,n))}}catch(e){var f;e.message=`${(f=s.filename)!=null?f:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_GENERATE_ERROR"}throw e}return{metadata:n.metadata,options:s,ast:s.ast===true?n.ast:null,code:u===undefined?null:u,map:p===undefined?null:p,sourceType:n.ast.program.sourceType}}function*transformFile(e,t){for(const r of t){const t=[];const i=[];const a=[];for(const o of r.concat([(0,s.default)()])){const r=new n.default(e,o.key,o.options);t.push([o,r]);i.push(r);a.push(o.visitor)}for(const[r,n]of t){const t=r.pre;if(t){const r=t.call(n,e);yield*[];if(isThenable(r)){throw new Error(`You appear to be using an plugin with an async .pre, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}const o=_traverse().default.visitors.merge(a,i,e.opts.wrapPluginVisitorMethod);(0,_traverse().default)(e.ast,o,e.scope);for(const[r,n]of t){const t=r.post;if(t){const r=t.call(n,e);yield*[];if(isThenable(r)){throw new Error(`You appear to be using an plugin with an async .post, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}}}function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},56479:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=normalizeFile;function _fs(){const e=n(35747);_fs=function(){return e};return e}function _path(){const e=n(85622);_path=function(){return e};return e}function _debug(){const e=n(31185);_debug=function(){return e};return e}function t(){const e=n(8892);t=function(){return e};return e}function _convertSourceMap(){const e=n(36301);_convertSourceMap=function(){return e};return e}var s=n(34284);var i=n(20886);var a=n(76990);const o=_debug()("babel:transform:file");const l=1e6;function*normalizeFile(e,r,n,f){n=`${n||""}`;if(f){if(f.type==="Program"){f=t().file(f,[],[])}else if(f.type!=="File"){throw new Error("AST root must be a Program or File node")}if(r.cloneInputAst){f=(0,a.default)(f)}}else{f=yield*(0,i.default)(e,r,n)}let c=null;if(r.inputSourceMap!==false){if(typeof r.inputSourceMap==="object"){c=_convertSourceMap().fromObject(r.inputSourceMap)}if(!c){const e=extractComments(u,f);if(e){try{c=_convertSourceMap().fromComment(e)}catch(e){o("discarding unknown inline input sourcemap",e)}}}if(!c){const e=extractComments(p,f);if(typeof r.filename==="string"&&e){try{const t=p.exec(e);const n=_fs().readFileSync(_path().resolve(_path().dirname(r.filename),t[1]));if(n.length>l){o("skip merging input map > 1 MB")}else{c=_convertSourceMap().fromJSON(n)}}catch(e){o("discarding unknown file input sourcemap",e)}}else if(e){o("discarding un-loadable file input sourcemap")}}}return new s.default(r,{code:n,ast:f,inputMap:c})}const u=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/;const p=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function extractCommentsFromList(e,t,r){if(t){t=t.filter(({value:t})=>{if(e.test(t)){r=t;return false}return true})}return[t,r]}function extractComments(e,r){let n=null;t().traverseFast(r,t=>{[t.leadingComments,n]=extractCommentsFromList(e,t.leadingComments,n);[t.innerComments,n]=extractCommentsFromList(e,t.innerComments,n);[t.trailingComments,n]=extractCommentsFromList(e,t.trailingComments,n)});return n}},25042:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=normalizeOptions;function _path(){const e=r(85622);_path=function(){return e};return e}function normalizeOptions(e){const{filename:t,cwd:r,filenameRelative:n=(typeof t==="string"?_path().relative(r,t):"unknown"),sourceType:s="module",inputSourceMap:i,sourceMaps:a=!!i,sourceRoot:o=e.options.moduleRoot,sourceFileName:l=_path().basename(n),comments:u=true,compact:p="auto"}=e.options;const f=e.options;const c=Object.assign({},f,{parserOpts:Object.assign({sourceType:_path().extname(n)===".mjs"?"module":s,sourceFileName:t,plugins:[]},f.parserOpts),generatorOpts:Object.assign({filename:t,auxiliaryCommentBefore:f.auxiliaryCommentBefore,auxiliaryCommentAfter:f.auxiliaryCommentAfter,retainLines:f.retainLines,comments:u,shouldPrintComment:f.shouldPrintComment,compact:p,minified:f.minified,sourceMaps:a,sourceRoot:o,sourceFileName:l},f.generatorOpts)});for(const t of e.passes){for(const e of t){if(e.manipulateOptions){e.manipulateOptions(c,c.parserOpts)}}}return c}},66729:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class PluginPass{constructor(e,t,r){this._map=new Map;this.key=void 0;this.file=void 0;this.opts=void 0;this.cwd=void 0;this.filename=void 0;this.key=t;this.file=e;this.opts=r||{};this.cwd=e.opts.cwd;this.filename=e.opts.filename}set(e,t){this._map.set(e,t)}get(e){return this._map.get(e)}availableHelper(e,t){return this.file.availableHelper(e,t)}addHelper(e){return this.file.addHelper(e)}addImport(){return this.file.addImport()}buildCodeFrameError(e,t,r){return this.file.buildCodeFrameError(e,t,r)}}t.default=PluginPass;{PluginPass.prototype.getModuleName=function getModuleName(){return this.file.getModuleName()}}},45157:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;const r="$$ babel internal serialized type"+Math.random();function serialize(e,t){if(typeof t!=="bigint")return t;return{[r]:"BigInt",value:t.toString()}}function revive(e,t){if(!t||typeof t!=="object")return t;if(t[r]!=="BigInt")return t;return BigInt(t.value)}function _default(e){return JSON.parse(JSON.stringify(e,serialize),revive)}},76990:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;function _v(){const e=r(68987);_v=function(){return e};return e}var n=r(45157);function _default(e){if(_v().deserialize&&_v().serialize){return _v().deserialize(_v().serialize(e))}return(0,n.default)(e)}},78595:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getInclusionReasons=getInclusionReasons;var n=r(62519);var s=r(43310);var i=r(24275);function getInclusionReasons(e,t,r){const a=r[e]||{};return Object.keys(t).reduce((e,r)=>{const o=(0,i.getLowestImplementedVersion)(a,r);const l=t[r];if(!o){e[r]=(0,s.prettifyVersion)(l)}else{const t=(0,i.isUnreleasedVersion)(o,r);const a=(0,i.isUnreleasedVersion)(l,r);if(!a&&(t||n.lt(l.toString(),(0,i.semverify)(o)))){e[r]=(0,s.prettifyVersion)(l)}}return e},{})}},51111:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.targetsSupported=targetsSupported;t.isRequired=isRequired;t.default=filterItems;var n=r(62519);var s=r(68616);var i=r(24275);function targetsSupported(e,t){const r=Object.keys(e);if(r.length===0){return false}const s=r.filter(r=>{const s=(0,i.getLowestImplementedVersion)(t,r);if(!s){return true}const a=e[r];if((0,i.isUnreleasedVersion)(a,r)){return false}if((0,i.isUnreleasedVersion)(s,r)){return true}if(!n.valid(a.toString())){throw new Error(`Invalid version passed for target "${r}": "${a}". `+"Versions must be in semver format (major.minor.patch)")}return n.gt((0,i.semverify)(s),a.toString())});return s.length===0}function isRequired(e,t,{compatData:r=s,includes:n,excludes:i}={}){if(i!=null&&i.has(e))return false;if(n!=null&&n.has(e))return true;return!targetsSupported(t,r[e])}function filterItems(e,t,r,n,s,i,a){const o=new Set;const l={compatData:e,includes:t,excludes:r};for(const t in e){if(isRequired(t,n,l)){o.add(t)}else if(a){const e=a.get(t);if(e){o.add(e)}}}if(s){s.forEach(e=>!r.has(e)&&o.add(e))}if(i){i.forEach(e=>!t.has(e)&&o.delete(e))}return o}},40773:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isBrowsersQueryValid=isBrowsersQueryValid;t.default=getTargets;Object.defineProperty(t,"unreleasedLabels",{enumerable:true,get:function(){return o.unreleasedLabels}});Object.defineProperty(t,"TargetNames",{enumerable:true,get:function(){return l.TargetNames}});Object.defineProperty(t,"prettifyTargets",{enumerable:true,get:function(){return u.prettifyTargets}});Object.defineProperty(t,"getInclusionReasons",{enumerable:true,get:function(){return p.getInclusionReasons}});Object.defineProperty(t,"filterItems",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"isRequired",{enumerable:true,get:function(){return f.isRequired}});var n=r(3561);var s=r(69562);var i=r(47235);var a=r(24275);var o=r(44153);var l=r(29049);var u=r(43310);var p=r(78595);var f=r(51111);const c=i["es6.module"];const d=new s.OptionValidator("@babel/helper-compilation-targets");function validateTargetNames(e){const t=Object.keys(l.TargetNames);for(const r of Object.keys(e)){if(!(r in l.TargetNames)){throw new Error(d.formatMessage(`'${r}' is not a valid target\n- Did you mean '${(0,s.findSuggestion)(r,t)}'?`))}}return e}function isBrowsersQueryValid(e){return typeof e==="string"||Array.isArray(e)&&e.every(e=>typeof e==="string")}function validateBrowsers(e){d.invariant(e===undefined||isBrowsersQueryValid(e),`'${String(e)}' is not a valid browserslist query`);return e}function getLowestVersions(e){return e.reduce((e,t)=>{const[r,n]=t.split(" ");const s=o.browserNameMap[r];if(!s){return e}try{const t=n.split("-")[0].toLowerCase();const i=(0,a.isUnreleasedVersion)(t,r);if(!e[s]){e[s]=i?t:(0,a.semverify)(t);return e}const o=e[s];const l=(0,a.isUnreleasedVersion)(o,r);if(l&&i){e[s]=(0,a.getLowestUnreleased)(o,t,r)}else if(l){e[s]=(0,a.semverify)(t)}else if(!l&&!i){const r=(0,a.semverify)(t);e[s]=(0,a.semverMin)(o,r)}}catch(e){}return e},{})}function outputDecimalWarning(e){if(!e.length){return}console.warn("Warning, the following targets are using a decimal version:\n");e.forEach(({target:e,value:t})=>console.warn(` ${e}: ${t}`));console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`)}function semverifyTarget(e,t){try{return(0,a.semverify)(t)}catch(r){throw new Error(d.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}const y={__default(e,t){const r=(0,a.isUnreleasedVersion)(t,e)?t.toLowerCase():semverifyTarget(e,t);return[e,r]},node(e,t){const r=t===true||t==="current"?process.versions.node:semverifyTarget(e,t);return[e,r]}};function generateTargets(e){const t=Object.assign({},e);delete t.esmodules;delete t.browsers;return t}function resolveTargets(e){const t=n(e,{mobileToDesktop:true});return getLowestVersions(t)}function getTargets(e={},t={}){var r;let{browsers:s,esmodules:i}=e;const{configPath:o="."}=t;validateBrowsers(s);const l=generateTargets(e);let u=validateTargetNames(l);const p=!!s;const f=p||Object.keys(u).length>0;const d=!t.ignoreBrowserslistConfig&&!f;if(!s&&d){s=n.loadConfig({config:t.configFile,path:o,env:t.browserslistEnv});if(s==null){{s=[]}}}if(i&&(i!=="intersect"||!((r=s)!=null&&r.length))){s=Object.keys(c).map(e=>`${e} >= ${c[e]}`).join(", ");i=false}if(s){const e=resolveTargets(s);if(i==="intersect"){for(const t of Object.keys(e)){const r=e[t];if(c[t]){e[t]=(0,a.getHighestUnreleased)(r,(0,a.semverify)(c[t]),t)}else{delete e[t]}}}u=Object.assign(e,u)}const m={};const T=[];for(const e of Object.keys(u).sort()){var h;const t=u[e];if(typeof t==="number"&&t%1!==0){T.push({target:e,value:t})}const r=(h=y[e])!=null?h:y.__default;const[n,s]=r(e,t);if(s){m[n]=s}}outputDecimalWarning(T);return m}},29049:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TargetNames=void 0;const r={node:"node",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung"};t.TargetNames=r},43310:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.prettifyVersion=prettifyVersion;t.prettifyTargets=prettifyTargets;var n=r(62519);var s=r(44153);function prettifyVersion(e){if(typeof e!=="string"){return e}const t=[n.major(e)];const r=n.minor(e);const s=n.patch(e);if(r||s){t.push(r)}if(s){t.push(s)}return t.join(".")}function prettifyTargets(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];const i=s.unreleasedLabels[r];if(typeof n==="string"&&i!==n){n=prettifyVersion(n)}t[r]=n;return t},{})}},44153:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.browserNameMap=t.unreleasedLabels=void 0;const r={safari:"tp"};t.unreleasedLabels=r;const n={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",op_mob:"opera",opera:"opera",safari:"safari",samsung:"samsung"};t.browserNameMap=n},24275:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.semverMin=semverMin;t.semverify=semverify;t.isUnreleasedVersion=isUnreleasedVersion;t.getLowestUnreleased=getLowestUnreleased;t.getHighestUnreleased=getHighestUnreleased;t.getLowestImplementedVersion=getLowestImplementedVersion;var n=r(62519);var s=r(69562);var i=r(44153);const a=/^(\d+|\d+.\d+)$/;const o=new s.OptionValidator("@babel/helper-compilation-targets");function semverMin(e,t){return e&&n.lt(e,t)?e:t}function semverify(e){if(typeof e==="string"&&n.valid(e)){return e}o.invariant(typeof e==="number"||typeof e==="string"&&a.test(e),`'${e}' is not a valid version`);const t=e.toString().split(".");while(t.length<3){t.push("0")}return t.join(".")}function isUnreleasedVersion(e,t){const r=i.unreleasedLabels[t];return!!r&&r===e.toString().toLowerCase()}function getLowestUnreleased(e,t,r){const n=i.unreleasedLabels[r];const s=[e,t].some(e=>e===n);if(s){return e===s?t:e||t}return semverMin(e,t)}function getHighestUnreleased(e,t,r){return getLowestUnreleased(e,t,r)===e?t:e}function getLowestImplementedVersion(e,t){const r=e[t];if(!r&&t==="android"){return e.chrome}return r}},40866:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getModuleName;{const e=getModuleName;t.default=getModuleName=function getModuleName(t,r){var n,s,i,a;return e(t,{moduleId:(n=r.moduleId)!=null?n:t.moduleId,moduleIds:(s=r.moduleIds)!=null?s:t.moduleIds,getModuleId:(i=r.getModuleId)!=null?i:t.getModuleId,moduleRoot:(a=r.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:r,filenameRelative:n=r,sourceRoot:s=t.moduleRoot}=e;const{moduleId:i,moduleIds:a=!!i,getModuleId:o,moduleRoot:l=s}=t;if(!a)return null;if(i!=null&&!o){return i}let u=l!=null?l+"/":"";if(n){const e=s!=null?new RegExp("^"+s+"/?"):"";u+=n.replace(e,"").replace(/\.(\w*?)$/,"")}u=u.replace(/\\/g,"/");if(o){return o(u)||u}else{return u}}},37763:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;t.ensureStatementsHoisted=ensureStatementsHoisted;t.wrapInterop=wrapInterop;t.buildNamespaceInitStatements=buildNamespaceInitStatements;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.isModule}});Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return u.hasExports}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return u.isSideEffectImport}});Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});var n=r(42357);var s=r(8892);var i=r(36900);var a=r(49834);var o=r(99369);var l=r(90714);var u=r(28254);var p=r(40866);function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:r,strict:i,allowTopLevelThis:p,strictMode:f,noInterop:c,importInterop:d=(c?"none":"babel"),lazy:y,esNamespaceOnly:m,constantReexports:T=t,enumerableModuleMeta:h=t}){(0,u.validateImportInteropOption)(d);n((0,a.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const S=(0,u.default)(e,r,{importInterop:d,initializeReexports:T,lazy:y,esNamespaceOnly:m});if(!p){(0,o.default)(e)}(0,l.default)(e,S);if(f!==false){const t=e.node.directives.some(e=>{return e.value.value==="use strict"});if(!t){e.unshiftContainer("directives",s.directive(s.directiveLiteral("use strict")))}}const b=[];if((0,u.hasExports)(S)&&!i){b.push(buildESModuleHeader(S,h))}const E=buildExportNameListDeclaration(e,S);if(E){S.exportNameListName=E.name;b.push(E.statement)}b.push(...buildExportInitializationStatements(e,S,T));return{meta:S,headers:b}}function ensureStatementsHoisted(e){e.forEach(e=>{e._blockHoist=3})}function wrapInterop(e,t,r){if(r==="none"){return null}if(r==="node-namespace"){return s.callExpression(e.hub.addHelper("interopRequireWildcard"),[t,s.booleanLiteral(true)])}else if(r==="node-default"){return null}let n;if(r==="default"){n="interopRequireDefault"}else if(r==="namespace"){n="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${r}`)}return s.callExpression(e.hub.addHelper(n),[t])}function buildNamespaceInitStatements(e,t,r=false){const n=[];let a=s.identifier(t.name);if(t.lazy)a=s.callExpression(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;n.push(i.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:s.cloneNode(a)}))}if(r){n.push(...c(e,t,true))}for(const r of t.reexportNamespace){n.push((t.lazy?i.default.statement` + `(e);function buildGlobal(e){const s=t().identifier("babelHelpers");const r=[];const i=t().functionExpression(null,[t().identifier("global")],t().blockStatement(r));const n=t().program([t().expressionStatement(t().callExpression(i,[t().conditionalExpression(t().binaryExpression("===",t().unaryExpression("typeof",t().identifier("global")),t().stringLiteral("undefined")),t().identifier("self"),t().identifier("global"))]))]);r.push(t().variableDeclaration("var",[t().variableDeclarator(s,t().assignmentExpression("=",t().memberExpression(t().identifier("global"),s),t().objectExpression([])))]));buildHelpers(r,s,e);return n}function buildModule(e){const s=[];const r=buildHelpers(s,null,e);s.unshift(t().exportNamedDeclaration(null,Object.keys(r).map(e=>{return t().exportSpecifier(t().cloneNode(r[e]),t().identifier(e))})));return t().program(s,[],"module")}function buildUmd(e){const s=t().identifier("babelHelpers");const r=[];r.push(t().variableDeclaration("var",[t().variableDeclarator(s,t().identifier("global"))]));buildHelpers(r,s,e);return t().program([n({FACTORY_PARAMETERS:t().identifier("global"),BROWSER_ARGUMENTS:t().assignmentExpression("=",t().memberExpression(t().identifier("root"),s),t().objectExpression([])),COMMON_ARGUMENTS:t().identifier("exports"),AMD_ARGUMENTS:t().arrayExpression([t().stringLiteral("exports")]),FACTORY_BODY:r,UMD_ROOT:t().identifier("this")})])}function buildVar(e){const s=t().identifier("babelHelpers");const r=[];r.push(t().variableDeclaration("var",[t().variableDeclarator(s,t().objectExpression([]))]));const i=t().program(r);buildHelpers(r,s,e);r.push(t().expressionStatement(s));return i}function buildHelpers(e,s,r){const n=e=>{return s?t().memberExpression(s,t().identifier(e)):t().identifier(`_${e}`)};const a={};helpers().list.forEach(function(t){if(r&&r.indexOf(t)<0)return;const s=a[t]=n(t);helpers().ensure(t,i.default);const{nodes:o}=helpers().get(t,n,s);e.push(...o)});return a}function _default(e,t="global"){let s;const r={global:buildGlobal,module:buildModule,umd:buildUmd,var:buildVar}[t];if(r){s=r(e)}else{throw new Error(`Unsupported output type ${t}`)}return(0,_generator().default)(s).code}},29437:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFromAstAsync=t.transformFromAstSync=t.transformFromAst=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(49558);var i=s(83703);const n=_gensync()(function*(e,t,s){const n=yield*(0,r.default)(s);if(n===null)return null;if(!e)throw new Error("No AST given");return yield*(0,i.run)(n,t,e)});const a=function transformFromAst(e,t,s,r){if(typeof s==="function"){r=s;s=undefined}if(r===undefined){return n.sync(e,t,s)}n.errback(e,t,s,r)};t.transformFromAst=a;const o=n.sync;t.transformFromAstSync=o;const l=n.async;t.transformFromAstAsync=l},28678:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFileAsync=t.transformFileSync=t.transformFile=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(49558);var i=s(83703);var n=s(48451);({});const a=_gensync()(function*(e,t){const s=Object.assign({},t,{filename:e});const a=yield*(0,r.default)(s);if(a===null)return null;const o=yield*n.readFile(e,"utf8");return yield*(0,i.run)(a,o)});const o=a.errback;t.transformFile=o;const l=a.sync;t.transformFileSync=l;const c=a.async;t.transformFileAsync=c},41478:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformAsync=t.transformSync=t.transform=void 0;function _gensync(){const e=s(67941);_gensync=function(){return e};return e}var r=s(49558);var i=s(83703);const n=_gensync()(function*transform(e,t){const s=yield*(0,r.default)(t);if(s===null)return null;return yield*(0,i.run)(s,e)});const a=function transform(e,t,s){if(typeof t==="function"){s=t;t=undefined}if(s===undefined)return n.sync(e,t);n.errback(e,t,s)};t.transform=a;const o=n.sync;t.transformSync=o;const l=n.async;t.transformAsync=l},81890:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loadBlockHoistPlugin;function _traverse(){const e=s(4267);_traverse=function(){return e};return e}var r=s(78391);let i;function loadBlockHoistPlugin(){if(!i){i=new r.default(Object.assign({},n,{visitor:_traverse().default.explode(n.visitor)}),{})}return i}function priority(e){const t=e==null?void 0:e._blockHoist;if(t==null)return 1;if(t===true)return 2;return t}function stableSort(e){const t=Object.create(null);for(let s=0;s+e).sort((e,t)=>t-e);let r=0;for(const i of s){const s=t[i];for(const t of s){e[r++]=t}}return e}const n={name:"internal.blockHoist",visitor:{Block:{exit({node:e}){const{body:t}=e;let s=Math.pow(2,30)-1;let r=false;for(let e=0;es){r=true;break}s=n}if(!r)return;e.body=stableSort(t.slice())}}}}},34284:(e,s,r)=>{"use strict";Object.defineProperty(s,"__esModule",{value:true});s.default=void 0;function helpers(){const e=r(25419);helpers=function(){return e};return e}function _traverse(){const e=r(4267);_traverse=function(){return e};return e}function _codeFrame(){const e=r(54116);_codeFrame=function(){return e};return e}function t(){const e=r(19761);t=function(){return e};return e}function _helperModuleTransforms(){const e=r(37763);_helperModuleTransforms=function(){return e};return e}function _semver(){const e=r(62519);_semver=function(){return e};return e}const i={enter(e,t){const s=e.node.loc;if(s){t.loc=s;e.stop()}}};class File{constructor(e,{code:t,ast:s,inputMap:r}){this._map=new Map;this.opts=void 0;this.declarations={};this.path=null;this.ast={};this.scope=void 0;this.metadata={};this.code="";this.inputMap=null;this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)};this.opts=e;this.code=t;this.ast=s;this.inputMap=r;this.path=_traverse().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext();this.scope=this.path.scope}get shebang(){const{interpreter:e}=this.path.node;return e?e.value:""}set shebang(e){if(e){this.path.get("interpreter").replaceWith(t().interpreterDirective(e))}else{this.path.get("interpreter").remove()}}set(e,t){if(e==="helpersNamespace"){throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility."+"If you are using @babel/plugin-external-helpers you will need to use a newer "+"version than the one you currently have installed. "+"If you have your own implementation, you'll want to explore using 'helperGenerator' "+"alongside 'file.availableHelper()'.")}this._map.set(e,t)}get(e){return this._map.get(e)}has(e){return this._map.has(e)}getModuleName(){return(0,_helperModuleTransforms().getModuleName)(this.opts,this.opts)}addImport(){throw new Error("This API has been removed. If you're looking for this "+"functionality in Babel 7, you should import the "+"'@babel/helper-module-imports' module and use the functions exposed "+" from that module, such as 'addNamed' or 'addDefault'.")}availableHelper(e,t){let s;try{s=helpers().minVersion(e)}catch(e){if(e.code!=="BABEL_HELPER_UNKNOWN")throw e;return false}if(typeof t!=="string")return true;if(_semver().valid(t))t=`^${t}`;return!_semver().intersects(`<${s}`,t)&&!_semver().intersects(`>=8.0.0`,t)}addHelper(e){const s=this.declarations[e];if(s)return t().cloneNode(s);const r=this.get("helperGenerator");if(r){const t=r(e);if(t)return t}helpers().ensure(e,File);const i=this.declarations[e]=this.scope.generateUidIdentifier(e);const n={};for(const t of helpers().getDependencies(e)){n[t]=this.addHelper(t)}const{nodes:a,globals:o}=helpers().get(e,e=>n[e],i,Object.keys(this.scope.getAllBindings()));o.forEach(e=>{if(this.path.scope.hasBinding(e,true)){this.path.scope.rename(e)}});a.forEach(e=>{e._compact=true});this.path.unshiftContainer("body",a);this.path.get("body").forEach(e=>{if(a.indexOf(e.node)===-1)return;if(e.isVariableDeclaration())this.scope.registerDeclaration(e)});return i}addTemplateObject(){throw new Error("This function has been moved into the template literal transform itself.")}buildCodeFrameError(e,t,s=SyntaxError){let r=e&&(e.loc||e._loc);if(!r&&e){const s={loc:null};(0,_traverse().default)(e,i,this.scope,s);r=s.loc;let n="This is an error on an internal node. Probably an internal error.";if(r)n+=" Location has been estimated.";t+=` (${n})`}if(r){const{highlightCode:e=true}=this.opts;t+="\n"+(0,_codeFrame().codeFrameColumns)(this.code,{start:{line:r.start.line,column:r.start.column+1},end:r.end&&r.start.line===r.end.line?{line:r.end.line,column:r.end.column+1}:undefined},{highlightCode:e})}return new s(t)}}s.default=File},43939:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generateCode;function _convertSourceMap(){const e=s(36301);_convertSourceMap=function(){return e};return e}function _generator(){const e=s(23656);_generator=function(){return e};return e}var r=s(43717);function generateCode(e,t){const{opts:s,ast:i,code:n,inputMap:a}=t;const o=[];for(const t of e){for(const e of t){const{generatorOverride:t}=e;if(t){const e=t(i,s.generatorOpts,n,_generator().default);if(e!==undefined)o.push(e)}}}let l;if(o.length===0){l=(0,_generator().default)(i,s.generatorOpts,n)}else if(o.length===1){l=o[0];if(typeof l.then==="function"){throw new Error(`You appear to be using an async codegen plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version.`)}}else{throw new Error("More than one plugin attempted to override codegen.")}let{code:c,map:p}=l;if(p&&a){p=(0,r.default)(a.toObject(),p)}if(s.sourceMaps==="inline"||s.sourceMaps==="both"){c+="\n"+_convertSourceMap().fromObject(p).toComment()}if(s.sourceMaps==="inline"){p=null}return{outputCode:c,outputMap:p}}},43717:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=mergeSourceMap;function _sourceMap(){const e=s(96241);_sourceMap=function(){return e};return e}function mergeSourceMap(e,t){const s=buildMappingData(e);const r=buildMappingData(t);const i=new(_sourceMap().SourceMapGenerator);for(const{source:e}of s.sources){if(typeof e.content==="string"){i.setSourceContent(e.path,e.content)}}if(r.sources.length===1){const e=r.sources[0];const t=new Map;eachInputGeneratedRange(s,(s,r,n)=>{eachOverlappingGeneratedOutputRange(e,s,e=>{const s=makeMappingKey(e);if(t.has(s))return;t.set(s,e);i.addMapping({source:n.path,original:{line:r.line,column:r.columnStart},generated:{line:e.line,column:e.columnStart},name:r.name})})});for(const e of t.values()){if(e.columnEnd===Infinity){continue}const s={line:e.line,columnStart:e.columnEnd};const r=makeMappingKey(s);if(t.has(r)){continue}i.addMapping({generated:{line:s.line,column:s.columnStart}})}}const n=i.toJSON();if(typeof s.sourceRoot==="string"){n.sourceRoot=s.sourceRoot}return n}function makeMappingKey(e){return`${e.line}/${e.columnStart}`}function eachOverlappingGeneratedOutputRange(e,t,s){const r=filterApplicableOriginalRanges(e,t);for(const{generated:e}of r){for(const t of e){s(t)}}}function filterApplicableOriginalRanges({mappings:e},{line:t,columnStart:s,columnEnd:r}){return filterSortedArray(e,({original:e})=>{if(t>e.line)return-1;if(t=e.columnEnd)return-1;if(r<=e.columnStart)return 1;return 0})}function eachInputGeneratedRange(e,t){for(const{source:s,mappings:r}of e.sources){for(const{original:e,generated:i}of r){for(const r of i){t(r,e,s)}}}}function buildMappingData(e){const t=new(_sourceMap().SourceMapConsumer)(Object.assign({},e,{sourceRoot:null}));const s=new Map;const r=new Map;let i=null;t.computeColumnSpans();t.eachMapping(e=>{if(e.originalLine===null)return;let n=s.get(e.source);if(!n){n={path:e.source,content:t.sourceContentFor(e.source,true)};s.set(e.source,n)}let a=r.get(n);if(!a){a={source:n,mappings:[]};r.set(n,a)}const o={line:e.originalLine,columnStart:e.originalColumn,columnEnd:Infinity,name:e.name};if(i&&i.source===n&&i.mapping.line===e.originalLine){i.mapping.columnEnd=e.originalColumn}i={source:n,mapping:o};a.mappings.push({original:o,generated:t.allGeneratedPositionsFor({source:e.source,line:e.originalLine,column:e.originalColumn}).map(e=>({line:e.line,columnStart:e.column,columnEnd:e.lastColumn+1}))})},null,_sourceMap().SourceMapConsumer.ORIGINAL_ORDER);return{file:e.file,sourceRoot:e.sourceRoot,sources:Array.from(r.values())}}function findInsertionLocation(e,t){let s=0;let r=e.length;while(s=0){r=i}else{s=i+1}}let i=s;if(i=0&&t(e[i])>=0){i--}return i+1}return i}function filterSortedArray(e,t){const s=findInsertionLocation(e,t);const r=[];for(let i=s;i{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.run=run;function _traverse(){const e=s(4267);_traverse=function(){return e};return e}var r=s(66729);var i=s(81890);var n=s(25042);var a=s(56479);var o=s(43939);function*run(e,t,s){const r=yield*(0,a.default)(e.passes,(0,n.default)(e),t,s);const i=r.opts;try{yield*transformFile(r,e.passes)}catch(e){var l;e.message=`${(l=i.filename)!=null?l:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_TRANSFORM_ERROR"}throw e}let c,p;try{if(i.code!==false){({outputCode:c,outputMap:p}=(0,o.default)(e.passes,r))}}catch(e){var u;e.message=`${(u=i.filename)!=null?u:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_GENERATE_ERROR"}throw e}return{metadata:r.metadata,options:i,ast:i.ast===true?r.ast:null,code:c===undefined?null:c,map:p===undefined?null:p,sourceType:r.ast.program.sourceType}}function*transformFile(e,t){for(const s of t){const t=[];const n=[];const a=[];for(const o of s.concat([(0,i.default)()])){const s=new r.default(e,o.key,o.options);t.push([o,s]);n.push(s);a.push(o.visitor)}for(const[s,r]of t){const t=s.pre;if(t){const s=t.call(r,e);yield*[];if(isThenable(s)){throw new Error(`You appear to be using an plugin with an async .pre, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}const o=_traverse().default.visitors.merge(a,n,e.opts.wrapPluginVisitorMethod);(0,_traverse().default)(e.ast,o,e.scope);for(const[s,r]of t){const t=s.post;if(t){const s=t.call(r,e);yield*[];if(isThenable(s)){throw new Error(`You appear to be using an plugin with an async .post, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}}}function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},56479:(e,s,r)=>{"use strict";Object.defineProperty(s,"__esModule",{value:true});s.default=normalizeFile;function _fs(){const e=r(35747);_fs=function(){return e};return e}function _path(){const e=r(85622);_path=function(){return e};return e}function _debug(){const e=r(31185);_debug=function(){return e};return e}function t(){const e=r(19761);t=function(){return e};return e}function _convertSourceMap(){const e=r(36301);_convertSourceMap=function(){return e};return e}var i=r(34284);var n=r(20886);var a=r(76990);const o=_debug()("babel:transform:file");const l=1e6;function*normalizeFile(e,s,r,u){r=`${r||""}`;if(u){if(u.type==="Program"){u=t().file(u,[],[])}else if(u.type!=="File"){throw new Error("AST root must be a Program or File node")}if(s.cloneInputAst){u=(0,a.default)(u)}}else{u=yield*(0,n.default)(e,s,r)}let h=null;if(s.inputSourceMap!==false){if(typeof s.inputSourceMap==="object"){h=_convertSourceMap().fromObject(s.inputSourceMap)}if(!h){const e=extractComments(c,u);if(e){try{h=_convertSourceMap().fromComment(e)}catch(e){o("discarding unknown inline input sourcemap",e)}}}if(!h){const e=extractComments(p,u);if(typeof s.filename==="string"&&e){try{const t=p.exec(e);const r=_fs().readFileSync(_path().resolve(_path().dirname(s.filename),t[1]));if(r.length>l){o("skip merging input map > 1 MB")}else{h=_convertSourceMap().fromJSON(r)}}catch(e){o("discarding unknown file input sourcemap",e)}}else if(e){o("discarding un-loadable file input sourcemap")}}}return new i.default(s,{code:r,ast:u,inputMap:h})}const c=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/;const p=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function extractCommentsFromList(e,t,s){if(t){t=t.filter(({value:t})=>{if(e.test(t)){s=t;return false}return true})}return[t,s]}function extractComments(e,s){let r=null;t().traverseFast(s,t=>{[t.leadingComments,r]=extractCommentsFromList(e,t.leadingComments,r);[t.innerComments,r]=extractCommentsFromList(e,t.innerComments,r);[t.trailingComments,r]=extractCommentsFromList(e,t.trailingComments,r)});return r}},25042:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=normalizeOptions;function _path(){const e=s(85622);_path=function(){return e};return e}function normalizeOptions(e){const{filename:t,cwd:s,filenameRelative:r=(typeof t==="string"?_path().relative(s,t):"unknown"),sourceType:i="module",inputSourceMap:n,sourceMaps:a=!!n,sourceRoot:o=e.options.moduleRoot,sourceFileName:l=_path().basename(r),comments:c=true,compact:p="auto"}=e.options;const u=e.options;const h=Object.assign({},u,{parserOpts:Object.assign({sourceType:_path().extname(r)===".mjs"?"module":i,sourceFileName:t,plugins:[]},u.parserOpts),generatorOpts:Object.assign({filename:t,auxiliaryCommentBefore:u.auxiliaryCommentBefore,auxiliaryCommentAfter:u.auxiliaryCommentAfter,retainLines:u.retainLines,comments:c,shouldPrintComment:u.shouldPrintComment,compact:p,minified:u.minified,sourceMaps:a,sourceRoot:o,sourceFileName:l},u.generatorOpts)});for(const t of e.passes){for(const e of t){if(e.manipulateOptions){e.manipulateOptions(h,h.parserOpts)}}}return h}},66729:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class PluginPass{constructor(e,t,s){this._map=new Map;this.key=void 0;this.file=void 0;this.opts=void 0;this.cwd=void 0;this.filename=void 0;this.key=t;this.file=e;this.opts=s||{};this.cwd=e.opts.cwd;this.filename=e.opts.filename}set(e,t){this._map.set(e,t)}get(e){return this._map.get(e)}availableHelper(e,t){return this.file.availableHelper(e,t)}addHelper(e){return this.file.addHelper(e)}addImport(){return this.file.addImport()}buildCodeFrameError(e,t,s){return this.file.buildCodeFrameError(e,t,s)}}t.default=PluginPass;{PluginPass.prototype.getModuleName=function getModuleName(){return this.file.getModuleName()}}},45157:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;const s="$$ babel internal serialized type"+Math.random();function serialize(e,t){if(typeof t!=="bigint")return t;return{[s]:"BigInt",value:t.toString()}}function revive(e,t){if(!t||typeof t!=="object")return t;if(t[s]!=="BigInt")return t;return BigInt(t.value)}function _default(e){return JSON.parse(JSON.stringify(e,serialize),revive)}},76990:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;function _v(){const e=s(68987);_v=function(){return e};return e}var r=s(45157);function _default(e){if(_v().deserialize&&_v().serialize){return _v().deserialize(_v().serialize(e))}return(0,r.default)(e)}},78595:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getInclusionReasons=getInclusionReasons;var r=s(62519);var i=s(43310);var n=s(24275);function getInclusionReasons(e,t,s){const a=s[e]||{};return Object.keys(t).reduce((e,s)=>{const o=(0,n.getLowestImplementedVersion)(a,s);const l=t[s];if(!o){e[s]=(0,i.prettifyVersion)(l)}else{const t=(0,n.isUnreleasedVersion)(o,s);const a=(0,n.isUnreleasedVersion)(l,s);if(!a&&(t||r.lt(l.toString(),(0,n.semverify)(o)))){e[s]=(0,i.prettifyVersion)(l)}}return e},{})}},51111:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.targetsSupported=targetsSupported;t.isRequired=isRequired;t.default=filterItems;var r=s(62519);var i=s(68616);var n=s(24275);function targetsSupported(e,t){const s=Object.keys(e);if(s.length===0){return false}const i=s.filter(s=>{const i=(0,n.getLowestImplementedVersion)(t,s);if(!i){return true}const a=e[s];if((0,n.isUnreleasedVersion)(a,s)){return false}if((0,n.isUnreleasedVersion)(i,s)){return true}if(!r.valid(a.toString())){throw new Error(`Invalid version passed for target "${s}": "${a}". `+"Versions must be in semver format (major.minor.patch)")}return r.gt((0,n.semverify)(i),a.toString())});return i.length===0}function isRequired(e,t,{compatData:s=i,includes:r,excludes:n}={}){if(n!=null&&n.has(e))return false;if(r!=null&&r.has(e))return true;return!targetsSupported(t,s[e])}function filterItems(e,t,s,r,i,n,a){const o=new Set;const l={compatData:e,includes:t,excludes:s};for(const t in e){if(isRequired(t,r,l)){o.add(t)}else if(a){const e=a.get(t);if(e){o.add(e)}}}if(i){i.forEach(e=>!s.has(e)&&o.add(e))}if(n){n.forEach(e=>!t.has(e)&&o.delete(e))}return o}},40773:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isBrowsersQueryValid=isBrowsersQueryValid;t.default=getTargets;Object.defineProperty(t,"unreleasedLabels",{enumerable:true,get:function(){return o.unreleasedLabels}});Object.defineProperty(t,"TargetNames",{enumerable:true,get:function(){return l.TargetNames}});Object.defineProperty(t,"prettifyTargets",{enumerable:true,get:function(){return c.prettifyTargets}});Object.defineProperty(t,"getInclusionReasons",{enumerable:true,get:function(){return p.getInclusionReasons}});Object.defineProperty(t,"filterItems",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"isRequired",{enumerable:true,get:function(){return u.isRequired}});var r=s(3561);var i=s(69562);var n=s(47235);var a=s(24275);var o=s(44153);var l=s(29049);var c=s(43310);var p=s(78595);var u=s(51111);const h=n["es6.module"];const f=new i.OptionValidator("@babel/helper-compilation-targets");function validateTargetNames(e){const t=Object.keys(l.TargetNames);for(const s of Object.keys(e)){if(!(s in l.TargetNames)){throw new Error(f.formatMessage(`'${s}' is not a valid target\n- Did you mean '${(0,i.findSuggestion)(s,t)}'?`))}}return e}function isBrowsersQueryValid(e){return typeof e==="string"||Array.isArray(e)&&e.every(e=>typeof e==="string")}function validateBrowsers(e){f.invariant(e===undefined||isBrowsersQueryValid(e),`'${String(e)}' is not a valid browserslist query`);return e}function getLowestVersions(e){return e.reduce((e,t)=>{const[s,r]=t.split(" ");const i=o.browserNameMap[s];if(!i){return e}try{const t=r.split("-")[0].toLowerCase();const n=(0,a.isUnreleasedVersion)(t,s);if(!e[i]){e[i]=n?t:(0,a.semverify)(t);return e}const o=e[i];const l=(0,a.isUnreleasedVersion)(o,s);if(l&&n){e[i]=(0,a.getLowestUnreleased)(o,t,s)}else if(l){e[i]=(0,a.semverify)(t)}else if(!l&&!n){const s=(0,a.semverify)(t);e[i]=(0,a.semverMin)(o,s)}}catch(e){}return e},{})}function outputDecimalWarning(e){if(!e.length){return}console.warn("Warning, the following targets are using a decimal version:\n");e.forEach(({target:e,value:t})=>console.warn(` ${e}: ${t}`));console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`)}function semverifyTarget(e,t){try{return(0,a.semverify)(t)}catch(s){throw new Error(f.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}const d={__default(e,t){const s=(0,a.isUnreleasedVersion)(t,e)?t.toLowerCase():semverifyTarget(e,t);return[e,s]},node(e,t){const s=t===true||t==="current"?process.versions.node:semverifyTarget(e,t);return[e,s]}};function generateTargets(e){const t=Object.assign({},e);delete t.esmodules;delete t.browsers;return t}function resolveTargets(e){const t=r(e,{mobileToDesktop:true});return getLowestVersions(t)}function getTargets(e={},t={}){var s;let{browsers:i,esmodules:n}=e;const{configPath:o="."}=t;validateBrowsers(i);const l=generateTargets(e);let c=validateTargetNames(l);const p=!!i;const u=p||Object.keys(c).length>0;const f=!t.ignoreBrowserslistConfig&&!u;if(!i&&f){i=r.loadConfig({config:t.configFile,path:o,env:t.browserslistEnv});if(i==null){{i=[]}}}if(n&&(n!=="intersect"||!((s=i)!=null&&s.length))){i=Object.keys(h).map(e=>`${e} >= ${h[e]}`).join(", ");n=false}if(i){const e=resolveTargets(i);if(n==="intersect"){for(const t of Object.keys(e)){const s=e[t];if(h[t]){e[t]=(0,a.getHighestUnreleased)(s,(0,a.semverify)(h[t]),t)}else{delete e[t]}}}c=Object.assign(e,c)}const y={};const m=[];for(const e of Object.keys(c).sort()){var g;const t=c[e];if(typeof t==="number"&&t%1!==0){m.push({target:e,value:t})}const s=(g=d[e])!=null?g:d.__default;const[r,i]=s(e,t);if(i){y[r]=i}}outputDecimalWarning(m);return y}},29049:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TargetNames=void 0;const s={node:"node",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung"};t.TargetNames=s},43310:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.prettifyVersion=prettifyVersion;t.prettifyTargets=prettifyTargets;var r=s(62519);var i=s(44153);function prettifyVersion(e){if(typeof e!=="string"){return e}const t=[r.major(e)];const s=r.minor(e);const i=r.patch(e);if(s||i){t.push(s)}if(i){t.push(i)}return t.join(".")}function prettifyTargets(e){return Object.keys(e).reduce((t,s)=>{let r=e[s];const n=i.unreleasedLabels[s];if(typeof r==="string"&&n!==r){r=prettifyVersion(r)}t[s]=r;return t},{})}},44153:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.browserNameMap=t.unreleasedLabels=void 0;const s={safari:"tp"};t.unreleasedLabels=s;const r={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",op_mob:"opera",opera:"opera",safari:"safari",samsung:"samsung"};t.browserNameMap=r},24275:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.semverMin=semverMin;t.semverify=semverify;t.isUnreleasedVersion=isUnreleasedVersion;t.getLowestUnreleased=getLowestUnreleased;t.getHighestUnreleased=getHighestUnreleased;t.getLowestImplementedVersion=getLowestImplementedVersion;var r=s(62519);var i=s(69562);var n=s(44153);const a=/^(\d+|\d+.\d+)$/;const o=new i.OptionValidator("@babel/helper-compilation-targets");function semverMin(e,t){return e&&r.lt(e,t)?e:t}function semverify(e){if(typeof e==="string"&&r.valid(e)){return e}o.invariant(typeof e==="number"||typeof e==="string"&&a.test(e),`'${e}' is not a valid version`);const t=e.toString().split(".");while(t.length<3){t.push("0")}return t.join(".")}function isUnreleasedVersion(e,t){const s=n.unreleasedLabels[t];return!!s&&s===e.toString().toLowerCase()}function getLowestUnreleased(e,t,s){const r=n.unreleasedLabels[s];const i=[e,t].some(e=>e===r);if(i){return e===i?t:e||t}return semverMin(e,t)}function getHighestUnreleased(e,t,s){return getLowestUnreleased(e,t,s)===e?t:e}function getLowestImplementedVersion(e,t){const s=e[t];if(!s&&t==="android"){return e.chrome}return s}},40866:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getModuleName;{const e=getModuleName;t.default=getModuleName=function getModuleName(t,s){var r,i,n,a;return e(t,{moduleId:(r=s.moduleId)!=null?r:t.moduleId,moduleIds:(i=s.moduleIds)!=null?i:t.moduleIds,getModuleId:(n=s.getModuleId)!=null?n:t.getModuleId,moduleRoot:(a=s.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:s,filenameRelative:r=s,sourceRoot:i=t.moduleRoot}=e;const{moduleId:n,moduleIds:a=!!n,getModuleId:o,moduleRoot:l=i}=t;if(!a)return null;if(n!=null&&!o){return n}let c=l!=null?l+"/":"";if(r){const e=i!=null?new RegExp("^"+i+"/?"):"";c+=r.replace(e,"").replace(/\.(\w*?)$/,"")}c=c.replace(/\\/g,"/");if(o){return o(c)||c}else{return c}}},37763:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;t.ensureStatementsHoisted=ensureStatementsHoisted;t.wrapInterop=wrapInterop;t.buildNamespaceInitStatements=buildNamespaceInitStatements;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.isModule}});Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return c.hasExports}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return c.isSideEffectImport}});Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});var r=s(42357);var i=s(19761);var n=s(36900);var a=s(49834);var o=s(99369);var l=s(90714);var c=s(28254);var p=s(40866);function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:s,strict:n,allowTopLevelThis:p,strictMode:u,noInterop:h,importInterop:f=(h?"none":"babel"),lazy:d,esNamespaceOnly:y,constantReexports:m=t,enumerableModuleMeta:g=t}){(0,c.validateImportInteropOption)(f);r((0,a.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const b=(0,c.default)(e,s,{importInterop:f,initializeReexports:m,lazy:d,esNamespaceOnly:y});if(!p){(0,o.default)(e)}(0,l.default)(e,b);if(u!==false){const t=e.node.directives.some(e=>{return e.value.value==="use strict"});if(!t){e.unshiftContainer("directives",i.directive(i.directiveLiteral("use strict")))}}const x=[];if((0,c.hasExports)(b)&&!n){x.push(buildESModuleHeader(b,g))}const v=buildExportNameListDeclaration(e,b);if(v){b.exportNameListName=v.name;x.push(v.statement)}x.push(...buildExportInitializationStatements(e,b,m));return{meta:b,headers:x}}function ensureStatementsHoisted(e){e.forEach(e=>{e._blockHoist=3})}function wrapInterop(e,t,s){if(s==="none"){return null}if(s==="node-namespace"){return i.callExpression(e.hub.addHelper("interopRequireWildcard"),[t,i.booleanLiteral(true)])}else if(s==="node-default"){return null}let r;if(s==="default"){r="interopRequireDefault"}else if(s==="namespace"){r="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${s}`)}return i.callExpression(e.hub.addHelper(r),[t])}function buildNamespaceInitStatements(e,t,s=false){const r=[];let a=i.identifier(t.name);if(t.lazy)a=i.callExpression(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;r.push(n.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:i.cloneNode(a)}))}if(s){r.push(...h(e,t,true))}for(const s of t.reexportNamespace){r.push((t.lazy?n.default.statement` Object.defineProperty(EXPORTS, "NAME", { enumerable: true, get: function() { return NAMESPACE; } }); - `:i.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:r,NAMESPACE:s.cloneNode(a)}))}if(t.reexportAll){const i=buildNamespaceReexport(e,s.cloneNode(a),r);i.loc=t.reexportAll.loc;n.push(i)}return n}const f={constant:i.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:i.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:(0,i.default)` + `:n.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:s,NAMESPACE:i.cloneNode(a)}))}if(t.reexportAll){const n=buildNamespaceReexport(e,i.cloneNode(a),s);n.loc=t.reexportAll.loc;r.push(n)}return r}const u={constant:n.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:n.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:(0,n.default)` Object.defineProperty(EXPORTS, "EXPORT_NAME", { enumerable: true, get: function() { return NAMESPACE_IMPORT; }, }); - `};const c=(e,t,r)=>{const n=t.lazy?s.callExpression(s.identifier(t.name),[]):s.identifier(t.name);const{stringSpecifiers:i}=e;return Array.from(t.reexports,([a,o])=>{let l=s.cloneNode(n);if(o==="default"&&t.interop==="node-default"){}else if(i.has(o)){l=s.memberExpression(l,s.stringLiteral(o),true)}else{l=s.memberExpression(l,s.identifier(o))}const u={EXPORTS:e.exportName,EXPORT_NAME:a,NAMESPACE_IMPORT:l};if(r||s.isIdentifier(l)){if(i.has(a)){return f.constantComputed(u)}else{return f.constant(u)}}else{return f.spec(u)}})};function buildESModuleHeader(e,t=false){return(t?i.default.statement` + `};const h=(e,t,s)=>{const r=t.lazy?i.callExpression(i.identifier(t.name),[]):i.identifier(t.name);const{stringSpecifiers:n}=e;return Array.from(t.reexports,([a,o])=>{let l=i.cloneNode(r);if(o==="default"&&t.interop==="node-default"){}else if(n.has(o)){l=i.memberExpression(l,i.stringLiteral(o),true)}else{l=i.memberExpression(l,i.identifier(o))}const c={EXPORTS:e.exportName,EXPORT_NAME:a,NAMESPACE_IMPORT:l};if(s||i.isIdentifier(l)){if(n.has(a)){return u.constantComputed(c)}else{return u.constant(c)}}else{return u.spec(c)}})};function buildESModuleHeader(e,t=false){return(t?n.default.statement` EXPORTS.__esModule = true; - `:i.default.statement` + `:n.default.statement` Object.defineProperty(EXPORTS, "__esModule", { value: true, }); - `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,r){return(r?i.default.statement` + `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,s){return(s?n.default.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; @@ -9870,7 +9870,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m EXPORTS[key] = NAMESPACE[key]; }); - `:i.default.statement` + `:n.default.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; @@ -9883,13 +9883,13 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }, }); }); - `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,i.default)` + `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,n.default)` if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return; - `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const r=Object.create(null);for(const e of t.local.values()){for(const t of e.names){r[t]=true}}let n=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){r[t]=true}for(const t of e.reexportNamespace){r[t]=true}n=n||!!e.reexportAll}if(!n||Object.keys(r).length===0)return null;const i=e.scope.generateUidIdentifier("exportNames");delete r.default;return{name:i.name,statement:s.variableDeclaration("var",[s.variableDeclarator(i,s.valueToNode(r))])}}function buildExportInitializationStatements(e,t,r=false){const n=[];const i=[];for(const[e,r]of t.local){if(r.kind==="import"){}else if(r.kind==="hoisted"){n.push(buildInitStatement(t,r.names,s.identifier(e)))}else{i.push(...r.names)}}for(const e of t.source.values()){if(!r){n.push(...c(t,e,false))}for(const t of e.reexportNamespace){i.push(t)}}n.push(...chunk(i,100).map(r=>{return buildInitStatement(t,r,e.scope.buildUndefinedNode())}));return n}const d={computed:i.default.expression`EXPORTS["NAME"] = VALUE`,default:i.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,r){const{stringSpecifiers:n,exportName:i}=e;return s.expressionStatement(t.reduce((e,t)=>{const r={EXPORTS:i,NAME:t,VALUE:e};if(n.has(t)){return d.computed(r)}else{return d.default(r)}},r))}function chunk(e,t){const r=[];for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;t.default=normalizeModuleAndLoadMetadata;var n=r(85622);var s=r(49040);var i=r(76729);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t){if(typeof e==="function"){return validateImportInteropOption(e(t))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:r,initializeReexports:n=false,lazy:s=false,esNamespaceOnly:i=false}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const a=new Set;nameAnonymousExports(e);const{local:o,source:l,hasExports:u}=getModuleMetadata(e,{initializeReexports:n,lazy:s},a);removeModuleDeclarations(e);for(const[,e]of l){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(r,e.source);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(i&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:u,local:o,source:l,stringSpecifiers:a}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const r=e.node.value;if(!(0,s.isIdentifierName)(r)){t.add(r)}return r}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:r},s){const i=getLocalExportMetadata(e,r,s);const a=new Map;const o=t=>{const r=t.value;let s=a.get(r);if(!s){s={name:e.scope.generateUidIdentifier((0,n.basename)(r,(0,n.extname)(r))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:r};a.set(r,s)}return s};let l=false;e.get("body").forEach(e=>{if(e.isImportDeclaration()){const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{if(e.isImportDefaultSpecifier()){const r=e.get("local").node.name;t.imports.set(r,"default");const n=i.get(r);if(n){i.delete(r);n.names.forEach(e=>{t.reexports.set(e,"default")})}}else if(e.isImportNamespaceSpecifier()){const r=e.get("local").node.name;t.importsNamespace.add(r);const n=i.get(r);if(n){i.delete(r);n.names.forEach(e=>{t.reexportNamespace.add(e)})}}else if(e.isImportSpecifier()){const r=getExportSpecifierName(e.get("imported"),s);const n=e.get("local").node.name;t.imports.set(n,r);const a=i.get(n);if(a){i.delete(n);a.names.forEach(e=>{t.reexports.set(e,r)})}}})}else if(e.isExportAllDeclaration()){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{assertExportSpecifier(e);const r=getExportSpecifierName(e.get("local"),s);const n=getExportSpecifierName(e.get("exported"),s);t.reexports.set(n,r);if(n==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}})}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}});for(const e of a.values()){let t=false;let r=false;if(e.importsNamespace.size>0){t=true;r=true}if(e.reexportAll){r=true}for(const n of e.imports.values()){if(n==="default")t=true;else r=true}for(const n of e.reexports.values()){if(n==="default")t=true;else r=true}if(t&&r){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,r]of a){if(t!==false&&!(isSideEffectImport(r)||r.reexportAll)){if(t===true){r.lazy=!/\./.test(e)}else if(Array.isArray(t)){r.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){r.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:l,local:i,source:a}}function getLocalExportMetadata(e,t,r){const n=new Map;e.get("body").forEach(e=>{let r;if(e.isImportDeclaration()){r="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach(e=>{assertExportSpecifier(e);n.set(e.get("local").node.name,"block")});return}}if(e.isFunctionDeclaration()){r="hoisted"}else if(e.isClassDeclaration()){r="block"}else if(e.isVariableDeclaration({kind:"var"})){r="var"}else if(e.isVariableDeclaration()){r="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach(e=>{n.set(e,r)})});const s=new Map;const i=e=>{const t=e.node.name;let r=s.get(t);if(!r){const i=n.get(t);if(i===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}r={names:[],kind:i};s.set(t,r)}return r};e.get("body").forEach(e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const r=t.getOuterBindingIdentifierPaths();Object.keys(r).forEach(e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}i(r[e]).names.push(e)})}else{e.get("specifiers").forEach(e=>{const t=e.get("local");const n=e.get("exported");const s=i(t);const a=getExportSpecifierName(n,r);if(a==="__esModule"){throw n.buildCodeFrameError('Illegal export "__esModule".')}s.names.push(a)})}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){i(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}});return s}function nameAnonymousExports(e){e.get("body").forEach(e=>{if(!e.isExportDefaultDeclaration())return;(0,i.default)(e)})}function removeModuleDeclarations(e){e.get("body").forEach(e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}})}},90714:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteLiveReferences;var n=r(42357);var s=r(8892);var i=r(36900);var a=r(40523);function rewriteLiveReferences(e,t){const r=new Map;const n=new Map;const i=t=>{e.requeue(t)};for(const[e,n]of t.source){for(const[t,s]of n.imports){r.set(t,[e,s,null])}for(const t of n.importsNamespace){r.set(t,[e,null,t])}}for(const[e,r]of t.local){let t=n.get(e);if(!t){t=[];n.set(e,t)}t.push(...r.names)}const l={metadata:t,requeueInParent:i,scope:e.scope,exported:n};e.traverse(o,l);(0,a.default)(e,new Set([...Array.from(r.keys()),...Array.from(n.keys())]));const u={seen:new WeakSet,metadata:t,requeueInParent:i,scope:e.scope,imported:r,exported:n,buildImportReference:([e,r,n],i)=>{const a=t.source.get(e);if(n){if(a.lazy)i=s.callExpression(i,[]);return i}let o=s.identifier(a.name);if(a.lazy)o=s.callExpression(o,[]);if(r==="default"&&a.interop==="node-default"){return o}const l=t.stringSpecifiers.has(r);return s.memberExpression(o,l?s.stringLiteral(r):s.identifier(r),l)}};e.traverse(p,u)}const o={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;const{id:i}=e.node;if(!i)throw new Error("Expected class to have a name");const a=i.name;const o=r.get(a)||[];if(o.length>0){const r=s.expressionStatement(l(n,o,s.identifier(a)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(i=>{const a=r.get(i)||[];if(a.length>0){const r=s.expressionStatement(l(n,a,s.identifier(i)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}})}};const l=(e,t,r)=>{return(t||[]).reduce((t,r)=>{const{stringSpecifiers:n}=e;const i=n.has(r);return s.assignmentExpression("=",s.memberExpression(s.identifier(e.exportName),i?s.stringLiteral(r):s.identifier(r),i),t)},r)};const u=e=>{return i.default.expression.ast` + `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const s=Object.create(null);for(const e of t.local.values()){for(const t of e.names){s[t]=true}}let r=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){s[t]=true}for(const t of e.reexportNamespace){s[t]=true}r=r||!!e.reexportAll}if(!r||Object.keys(s).length===0)return null;const n=e.scope.generateUidIdentifier("exportNames");delete s.default;return{name:n.name,statement:i.variableDeclaration("var",[i.variableDeclarator(n,i.valueToNode(s))])}}function buildExportInitializationStatements(e,t,s=false){const r=[];const n=[];for(const[e,s]of t.local){if(s.kind==="import"){}else if(s.kind==="hoisted"){r.push(buildInitStatement(t,s.names,i.identifier(e)))}else{n.push(...s.names)}}for(const e of t.source.values()){if(!s){r.push(...h(t,e,false))}for(const t of e.reexportNamespace){n.push(t)}}r.push(...chunk(n,100).map(s=>{return buildInitStatement(t,s,e.scope.buildUndefinedNode())}));return r}const f={computed:n.default.expression`EXPORTS["NAME"] = VALUE`,default:n.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,s){const{stringSpecifiers:r,exportName:n}=e;return i.expressionStatement(t.reduce((e,t)=>{const s={EXPORTS:n,NAME:t,VALUE:e};if(r.has(t)){return f.computed(s)}else{return f.default(s)}},s))}function chunk(e,t){const s=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;t.default=normalizeModuleAndLoadMetadata;var r=s(85622);var i=s(49040);var n=s(76729);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t){if(typeof e==="function"){return validateImportInteropOption(e(t))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:s,initializeReexports:r=false,lazy:i=false,esNamespaceOnly:n=false}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const a=new Set;nameAnonymousExports(e);const{local:o,source:l,hasExports:c}=getModuleMetadata(e,{initializeReexports:r,lazy:i},a);removeModuleDeclarations(e);for(const[,e]of l){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(s,e.source);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(n&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:c,local:o,source:l,stringSpecifiers:a}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const s=e.node.value;if(!(0,i.isIdentifierName)(s)){t.add(s)}return s}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:s},i){const n=getLocalExportMetadata(e,s,i);const a=new Map;const o=t=>{const s=t.value;let i=a.get(s);if(!i){i={name:e.scope.generateUidIdentifier((0,r.basename)(s,(0,r.extname)(s))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:s};a.set(s,i)}return i};let l=false;e.get("body").forEach(e=>{if(e.isImportDeclaration()){const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{if(e.isImportDefaultSpecifier()){const s=e.get("local").node.name;t.imports.set(s,"default");const r=n.get(s);if(r){n.delete(s);r.names.forEach(e=>{t.reexports.set(e,"default")})}}else if(e.isImportNamespaceSpecifier()){const s=e.get("local").node.name;t.importsNamespace.add(s);const r=n.get(s);if(r){n.delete(s);r.names.forEach(e=>{t.reexportNamespace.add(e)})}}else if(e.isImportSpecifier()){const s=getExportSpecifierName(e.get("imported"),i);const r=e.get("local").node.name;t.imports.set(r,s);const a=n.get(r);if(a){n.delete(r);a.names.forEach(e=>{t.reexports.set(e,s)})}}})}else if(e.isExportAllDeclaration()){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=o(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach(e=>{assertExportSpecifier(e);const s=getExportSpecifierName(e.get("local"),i);const r=getExportSpecifierName(e.get("exported"),i);t.reexports.set(r,s);if(r==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}})}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}});for(const e of a.values()){let t=false;let s=false;if(e.importsNamespace.size>0){t=true;s=true}if(e.reexportAll){s=true}for(const r of e.imports.values()){if(r==="default")t=true;else s=true}for(const r of e.reexports.values()){if(r==="default")t=true;else s=true}if(t&&s){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,s]of a){if(t!==false&&!(isSideEffectImport(s)||s.reexportAll)){if(t===true){s.lazy=!/\./.test(e)}else if(Array.isArray(t)){s.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){s.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:l,local:n,source:a}}function getLocalExportMetadata(e,t,s){const r=new Map;e.get("body").forEach(e=>{let s;if(e.isImportDeclaration()){s="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach(e=>{assertExportSpecifier(e);r.set(e.get("local").node.name,"block")});return}}if(e.isFunctionDeclaration()){s="hoisted"}else if(e.isClassDeclaration()){s="block"}else if(e.isVariableDeclaration({kind:"var"})){s="var"}else if(e.isVariableDeclaration()){s="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach(e=>{r.set(e,s)})});const i=new Map;const n=e=>{const t=e.node.name;let s=i.get(t);if(!s){const n=r.get(t);if(n===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}s={names:[],kind:n};i.set(t,s)}return s};e.get("body").forEach(e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const s=t.getOuterBindingIdentifierPaths();Object.keys(s).forEach(e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}n(s[e]).names.push(e)})}else{e.get("specifiers").forEach(e=>{const t=e.get("local");const r=e.get("exported");const i=n(t);const a=getExportSpecifierName(r,s);if(a==="__esModule"){throw r.buildCodeFrameError('Illegal export "__esModule".')}i.names.push(a)})}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){n(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}});return i}function nameAnonymousExports(e){e.get("body").forEach(e=>{if(!e.isExportDefaultDeclaration())return;(0,n.default)(e)})}function removeModuleDeclarations(e){e.get("body").forEach(e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}})}},90714:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteLiveReferences;var r=s(42357);var i=s(19761);var n=s(36900);var a=s(40523);function rewriteLiveReferences(e,t){const s=new Map;const r=new Map;const n=t=>{e.requeue(t)};for(const[e,r]of t.source){for(const[t,i]of r.imports){s.set(t,[e,i,null])}for(const t of r.importsNamespace){s.set(t,[e,null,t])}}for(const[e,s]of t.local){let t=r.get(e);if(!t){t=[];r.set(e,t)}t.push(...s.names)}const l={metadata:t,requeueInParent:n,scope:e.scope,exported:r};e.traverse(o,l);(0,a.default)(e,new Set([...Array.from(s.keys()),...Array.from(r.keys())]));const c={seen:new WeakSet,metadata:t,requeueInParent:n,scope:e.scope,imported:s,exported:r,buildImportReference:([e,s,r],n)=>{const a=t.source.get(e);if(r){if(a.lazy)n=i.callExpression(n,[]);return n}let o=i.identifier(a.name);if(a.lazy)o=i.callExpression(o,[]);if(s==="default"&&a.interop==="node-default"){return o}const l=t.stringSpecifiers.has(s);return i.memberExpression(o,l?i.stringLiteral(s):i.identifier(s),l)}};e.traverse(p,c)}const o={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:s,metadata:r}=this;const{id:n}=e.node;if(!n)throw new Error("Expected class to have a name");const a=n.name;const o=s.get(a)||[];if(o.length>0){const s=i.expressionStatement(l(r,o,i.identifier(a)));s._blockHoist=e.node._blockHoist;t(e.insertAfter(s)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:s,metadata:r}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(n=>{const a=s.get(n)||[];if(a.length>0){const s=i.expressionStatement(l(r,a,i.identifier(n)));s._blockHoist=e.node._blockHoist;t(e.insertAfter(s)[0])}})}};const l=(e,t,s)=>{return(t||[]).reduce((t,s)=>{const{stringSpecifiers:r}=e;const n=r.has(s);return i.assignmentExpression("=",i.memberExpression(i.identifier(e.exportName),n?i.stringLiteral(s):i.identifier(s),n),t)},s)};const c=e=>{return n.default.expression.ast` (function() { throw new Error('"' + '${e}' + '" is read-only.'); })() - `};const p={ReferencedIdentifier(e){const{seen:t,buildImportReference:r,scope:n,imported:i,requeueInParent:a}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const l=i.get(o);if(l){const t=e.scope.getBinding(o);const i=n.getBinding(o);if(i!==t)return;const u=r(l,e.node);u.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&s.isMemberExpression(u)){e.replaceWith(s.sequenceExpression([s.numericLiteral(0),u]))}else if(e.isJSXIdentifier()&&s.isMemberExpression(u)){const{object:t,property:r}=u;e.replaceWith(s.jsxMemberExpression(s.jsxIdentifier(t.name),s.jsxIdentifier(r.name)))}else{e.replaceWith(u)}a(e);e.skip()}},AssignmentExpression:{exit(e){const{scope:t,seen:r,imported:i,exported:a,requeueInParent:o,buildImportReference:p}=this;if(r.has(e.node))return;r.add(e.node);const f=e.get("left");if(f.isMemberExpression())return;if(f.isIdentifier()){const r=f.node.name;if(t.getBinding(r)!==e.scope.getBinding(r)){return}const c=a.get(r);const d=i.get(r);if((c==null?void 0:c.length)>0||d){n(e.node.operator==="=","Path was not simplified");const t=e.node;if(d){t.left=p(d,t.left);t.right=s.sequenceExpression([t.right,u(r)])}e.replaceWith(l(this.metadata,c,t));o(e)}}else{const r=f.getOuterBindingIdentifiers();const n=Object.keys(r).filter(r=>t.getBinding(r)===e.scope.getBinding(r));const p=n.find(e=>i.has(e));if(p){e.node.right=s.sequenceExpression([e.node.right,u(p)])}const c=[];n.forEach(e=>{const t=a.get(e)||[];if(t.length>0){c.push(l(this.metadata,t,s.identifier(e)))}});if(c.length>0){let t=s.sequenceExpression(c);if(e.parentPath.isExpressionStatement()){t=s.expressionStatement(t);t._blockHoist=e.parentPath.node._blockHoist}const r=e.insertAfter(t)[0];o(r)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:r}=e;const{left:n}=r;const{exported:i,scope:a}=this;if(!s.isVariableDeclaration(n)){let r=false;const o=e.get("body");const l=o.scope;for(const e of Object.keys(s.getOuterBindingIdentifiers(n))){if(i.get(e)&&a.getBinding(e)===t.getBinding(e)){r=true;if(l.hasOwnBinding(e)){l.rename(e)}}}if(!r){return}const u=t.generateUidIdentifierBasedOnNode(n);o.unshiftContainer("body",s.expressionStatement(s.assignmentExpression("=",n,u)));e.get("left").replaceWith(s.variableDeclaration("let",[s.variableDeclarator(s.cloneNode(u))]));t.registerDeclaration(e.get("left"))}}}},99369:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteThis;var n=r(846);var s=r(4267);var i=r(8892);function rewriteThis(e){(0,s.default)(e.node,Object.assign({},a,{noScope:true}))}const a=s.default.visitors.merge([n.environmentVisitor,{ThisExpression(e){e.replaceWith(i.unaryExpression("void",i.numericLiteral(0),true))}}])},40523:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=simplifyAccess;var n=r(8892);function simplifyAccess(e,t){e.traverse(s,{scope:e.scope,bindingNames:t,seen:new WeakSet})}const s={UpdateExpression:{exit(e){const{scope:t,bindingNames:r}=this;const s=e.get("argument");if(!s.isIdentifier())return;const i=s.node.name;if(!r.has(i))return;if(t.getBinding(i)!==e.scope.getBinding(i)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(n.assignmentExpression(t,s.node,n.numericLiteral(1)))}else if(e.node.prefix){e.replaceWith(n.assignmentExpression("=",n.identifier(i),n.binaryExpression(e.node.operator[0],n.unaryExpression("+",s.node),n.numericLiteral(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(s.node,"old");const r=t.name;e.scope.push({id:t});const i=n.binaryExpression(e.node.operator[0],n.identifier(r),n.numericLiteral(1));e.replaceWith(n.sequenceExpression([n.assignmentExpression("=",n.identifier(r),n.unaryExpression("+",s.node)),n.assignmentExpression("=",n.cloneNode(s.node),i),n.identifier(r)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:r,bindingNames:s}=this;if(e.node.operator==="=")return;if(r.has(e.node))return;r.add(e.node);const i=e.get("left");if(!i.isIdentifier())return;const a=i.node.name;if(!s.has(a))return;if(t.getBinding(a)!==e.scope.getBinding(a)){return}e.node.right=n.binaryExpression(e.node.operator.slice(0,-1),n.cloneNode(e.node.left),e.node.right);e.node.operator="="}}}},97596:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(97596);var s=r(17314)},17314:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},96574:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.wrapRegExp=t.typeof=t.objectSpread2=t.jsx=void 0;var n=r(36900);const s={minVersion:"7.0.0-beta.0",ast:()=>n.default.program.ast('\nvar REACT_ELEMENT_TYPE;\nexport default function _createRawReactElement(type, props, key, children) {\n if (!REACT_ELEMENT_TYPE) {\n REACT_ELEMENT_TYPE =\n (typeof Symbol === "function" &&\n \n Symbol["for"] &&\n Symbol["for"]("react.element")) ||\n 0xeac7;\n }\n var defaultProps = type && type.defaultProps;\n var childrenLength = arguments.length - 3;\n if (!props && childrenLength !== 0) {\n \n \n props = { children: void 0 };\n }\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = new Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 3];\n }\n props.children = childArray;\n }\n if (props && defaultProps) {\n for (var propName in defaultProps) {\n if (props[propName] === void 0) {\n props[propName] = defaultProps[propName];\n }\n }\n } else if (!props) {\n props = defaultProps || {};\n }\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key === undefined ? null : "" + key,\n ref: null,\n props: props,\n _owner: null,\n };\n}\n')};t.jsx=s;const i={minVersion:"7.5.0",ast:()=>n.default.program.ast('\nimport defineProperty from "defineProperty";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(\n target,\n key,\n Object.getOwnPropertyDescriptor(source, key)\n );\n });\n }\n }\n return target;\n}\n')};t.objectSpread2=i;const a={minVersion:"7.0.0-beta.0",ast:()=>n.default.program.ast('\nexport default function _typeof(obj) {\n "@babel/helpers - typeof";\n if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj &&\n typeof Symbol === "function" &&\n obj.constructor === Symbol &&\n obj !== Symbol.prototype\n ? "symbol"\n : typeof obj;\n };\n }\n return _typeof(obj);\n}\n')};t.typeof=a;const o={minVersion:"7.2.6",ast:()=>n.default.program.ast('\nimport setPrototypeOf from "setPrototypeOf";\nimport inherits from "inherits";\nexport default function _wrapRegExp() {\n _wrapRegExp = function (re, groups) {\n return new BabelRegExp(re, undefined, groups);\n };\n var _super = RegExp.prototype;\n var _groups = new WeakMap();\n function BabelRegExp(re, flags, groups) {\n var _this = new RegExp(re, flags);\n \n _groups.set(_this, groups || _groups.get(re));\n return setPrototypeOf(_this, BabelRegExp.prototype);\n }\n inherits(BabelRegExp, RegExp);\n BabelRegExp.prototype.exec = function (str) {\n var result = _super.exec.call(this, str);\n if (result) result.groups = buildGroups(result, this);\n return result;\n };\n BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {\n if (typeof substitution === "string") {\n var groups = _groups.get(this);\n return _super[Symbol.replace].call(\n this,\n str,\n substitution.replace(/\\$<([^>]+)>/g, function (_, name) {\n return "$" + groups[name];\n })\n );\n } else if (typeof substitution === "function") {\n var _this = this;\n return _super[Symbol.replace].call(this, str, function () {\n var args = arguments;\n \n if (typeof args[args.length - 1] !== "object") {\n args = [].slice.call(args);\n args.push(buildGroups(args, _this));\n }\n return substitution.apply(this, args);\n });\n } else {\n return _super[Symbol.replace].call(this, str, substitution);\n }\n };\n function buildGroups(result, re) {\n \n \n var g = _groups.get(re);\n return Object.keys(g).reduce(function (groups, name) {\n groups[name] = result[g[name]];\n return groups;\n }, Object.create(null));\n }\n return _wrapRegExp.apply(this, arguments);\n}\n')};t.wrapRegExp=o},81407:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(36900);var s=r(96574);const i=Object.assign({__proto__:null},s);var a=i;t.default=a;const o=e=>t=>({minVersion:e,ast:()=>n.default.program.ast(t)});i.asyncIterator=o("7.0.0-beta.0")` + `};const p={ReferencedIdentifier(e){const{seen:t,buildImportReference:s,scope:r,imported:n,requeueInParent:a}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const l=n.get(o);if(l){const t=e.scope.getBinding(o);const n=r.getBinding(o);if(n!==t)return;const c=s(l,e.node);c.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&i.isMemberExpression(c)){e.replaceWith(i.sequenceExpression([i.numericLiteral(0),c]))}else if(e.isJSXIdentifier()&&i.isMemberExpression(c)){const{object:t,property:s}=c;e.replaceWith(i.jsxMemberExpression(i.jsxIdentifier(t.name),i.jsxIdentifier(s.name)))}else{e.replaceWith(c)}a(e);e.skip()}},AssignmentExpression:{exit(e){const{scope:t,seen:s,imported:n,exported:a,requeueInParent:o,buildImportReference:p}=this;if(s.has(e.node))return;s.add(e.node);const u=e.get("left");if(u.isMemberExpression())return;if(u.isIdentifier()){const s=u.node.name;if(t.getBinding(s)!==e.scope.getBinding(s)){return}const h=a.get(s);const f=n.get(s);if((h==null?void 0:h.length)>0||f){r(e.node.operator==="=","Path was not simplified");const t=e.node;if(f){t.left=p(f,t.left);t.right=i.sequenceExpression([t.right,c(s)])}e.replaceWith(l(this.metadata,h,t));o(e)}}else{const s=u.getOuterBindingIdentifiers();const r=Object.keys(s).filter(s=>t.getBinding(s)===e.scope.getBinding(s));const p=r.find(e=>n.has(e));if(p){e.node.right=i.sequenceExpression([e.node.right,c(p)])}const h=[];r.forEach(e=>{const t=a.get(e)||[];if(t.length>0){h.push(l(this.metadata,t,i.identifier(e)))}});if(h.length>0){let t=i.sequenceExpression(h);if(e.parentPath.isExpressionStatement()){t=i.expressionStatement(t);t._blockHoist=e.parentPath.node._blockHoist}const s=e.insertAfter(t)[0];o(s)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:s}=e;const{left:r}=s;const{exported:n,scope:a}=this;if(!i.isVariableDeclaration(r)){let s=false;const o=e.get("body");const l=o.scope;for(const e of Object.keys(i.getOuterBindingIdentifiers(r))){if(n.get(e)&&a.getBinding(e)===t.getBinding(e)){s=true;if(l.hasOwnBinding(e)){l.rename(e)}}}if(!s){return}const c=t.generateUidIdentifierBasedOnNode(r);o.unshiftContainer("body",i.expressionStatement(i.assignmentExpression("=",r,c)));e.get("left").replaceWith(i.variableDeclaration("let",[i.variableDeclarator(i.cloneNode(c))]));t.registerDeclaration(e.get("left"))}}}},99369:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=rewriteThis;var r=s(846);var i=s(4267);var n=s(19761);function rewriteThis(e){(0,i.default)(e.node,Object.assign({},a,{noScope:true}))}const a=i.default.visitors.merge([r.environmentVisitor,{ThisExpression(e){e.replaceWith(n.unaryExpression("void",n.numericLiteral(0),true))}}])},40523:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=simplifyAccess;var r=s(19761);function simplifyAccess(e,t){e.traverse(i,{scope:e.scope,bindingNames:t,seen:new WeakSet})}const i={UpdateExpression:{exit(e){const{scope:t,bindingNames:s}=this;const i=e.get("argument");if(!i.isIdentifier())return;const n=i.node.name;if(!s.has(n))return;if(t.getBinding(n)!==e.scope.getBinding(n)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(r.assignmentExpression(t,i.node,r.numericLiteral(1)))}else if(e.node.prefix){e.replaceWith(r.assignmentExpression("=",r.identifier(n),r.binaryExpression(e.node.operator[0],r.unaryExpression("+",i.node),r.numericLiteral(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(i.node,"old");const s=t.name;e.scope.push({id:t});const n=r.binaryExpression(e.node.operator[0],r.identifier(s),r.numericLiteral(1));e.replaceWith(r.sequenceExpression([r.assignmentExpression("=",r.identifier(s),r.unaryExpression("+",i.node)),r.assignmentExpression("=",r.cloneNode(i.node),n),r.identifier(s)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:s,bindingNames:i}=this;if(e.node.operator==="=")return;if(s.has(e.node))return;s.add(e.node);const n=e.get("left");if(!n.isIdentifier())return;const a=n.node.name;if(!i.has(a))return;if(t.getBinding(a)!==e.scope.getBinding(a)){return}e.node.right=r.binaryExpression(e.node.operator.slice(0,-1),r.cloneNode(e.node.left),e.node.right);e.node.operator="="}}}},97596:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let r="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+s+"]");const n=new RegExp("["+s+r+"]");s=r=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let s=65536;for(let r=0,i=t.length;re)return false;s+=t[r+1];if(s>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&n.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return r.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return r.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return r.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var r=s(97596);var i=s(17314)},17314:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const s={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const r=new Set(s.keyword);const i=new Set(s.strict);const n=new Set(s.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return n.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return r.has(e)}},96574:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.wrapRegExp=t.typeof=t.objectSpread2=t.jsx=void 0;var r=s(36900);const i={minVersion:"7.0.0-beta.0",ast:()=>r.default.program.ast('\nvar REACT_ELEMENT_TYPE;\nexport default function _createRawReactElement(type, props, key, children) {\n if (!REACT_ELEMENT_TYPE) {\n REACT_ELEMENT_TYPE =\n (typeof Symbol === "function" &&\n \n Symbol["for"] &&\n Symbol["for"]("react.element")) ||\n 0xeac7;\n }\n var defaultProps = type && type.defaultProps;\n var childrenLength = arguments.length - 3;\n if (!props && childrenLength !== 0) {\n \n \n props = { children: void 0 };\n }\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = new Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 3];\n }\n props.children = childArray;\n }\n if (props && defaultProps) {\n for (var propName in defaultProps) {\n if (props[propName] === void 0) {\n props[propName] = defaultProps[propName];\n }\n }\n } else if (!props) {\n props = defaultProps || {};\n }\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key === undefined ? null : "" + key,\n ref: null,\n props: props,\n _owner: null,\n };\n}\n')};t.jsx=i;const n={minVersion:"7.5.0",ast:()=>r.default.program.ast('\nimport defineProperty from "defineProperty";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(\n target,\n key,\n Object.getOwnPropertyDescriptor(source, key)\n );\n });\n }\n }\n return target;\n}\n')};t.objectSpread2=n;const a={minVersion:"7.0.0-beta.0",ast:()=>r.default.program.ast('\nexport default function _typeof(obj) {\n "@babel/helpers - typeof";\n if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj &&\n typeof Symbol === "function" &&\n obj.constructor === Symbol &&\n obj !== Symbol.prototype\n ? "symbol"\n : typeof obj;\n };\n }\n return _typeof(obj);\n}\n')};t.typeof=a;const o={minVersion:"7.2.6",ast:()=>r.default.program.ast('\nimport setPrototypeOf from "setPrototypeOf";\nimport inherits from "inherits";\nexport default function _wrapRegExp() {\n _wrapRegExp = function (re, groups) {\n return new BabelRegExp(re, undefined, groups);\n };\n var _super = RegExp.prototype;\n var _groups = new WeakMap();\n function BabelRegExp(re, flags, groups) {\n var _this = new RegExp(re, flags);\n \n _groups.set(_this, groups || _groups.get(re));\n return setPrototypeOf(_this, BabelRegExp.prototype);\n }\n inherits(BabelRegExp, RegExp);\n BabelRegExp.prototype.exec = function (str) {\n var result = _super.exec.call(this, str);\n if (result) result.groups = buildGroups(result, this);\n return result;\n };\n BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {\n if (typeof substitution === "string") {\n var groups = _groups.get(this);\n return _super[Symbol.replace].call(\n this,\n str,\n substitution.replace(/\\$<([^>]+)>/g, function (_, name) {\n return "$" + groups[name];\n })\n );\n } else if (typeof substitution === "function") {\n var _this = this;\n return _super[Symbol.replace].call(this, str, function () {\n var args = arguments;\n \n if (typeof args[args.length - 1] !== "object") {\n args = [].slice.call(args);\n args.push(buildGroups(args, _this));\n }\n return substitution.apply(this, args);\n });\n } else {\n return _super[Symbol.replace].call(this, str, substitution);\n }\n };\n function buildGroups(result, re) {\n \n \n var g = _groups.get(re);\n return Object.keys(g).reduce(function (groups, name) {\n groups[name] = result[g[name]];\n return groups;\n }, Object.create(null));\n }\n return _wrapRegExp.apply(this, arguments);\n}\n')};t.wrapRegExp=o},81407:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=s(36900);var i=s(96574);const n=Object.assign({__proto__:null},i);var a=n;t.default=a;const o=e=>t=>({minVersion:e,ast:()=>r.default.program.ast(t)});n.asyncIterator=o("7.0.0-beta.0")` export default function _asyncIterator(iterable) { var method; if (typeof Symbol !== "undefined") { @@ -9901,11 +9901,11 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m if (method == null) throw new TypeError("Object is not async iterable"); return method.call(iterable); } -`;i.AwaitValue=o("7.0.0-beta.0")` +`;n.AwaitValue=o("7.0.0-beta.0")` export default function _AwaitValue(value) { this.wrapped = value; } -`;i.AsyncGenerator=o("7.0.0-beta.0")` +`;n.AsyncGenerator=o("7.0.0-beta.0")` import AwaitValue from "AwaitValue"; export default function AsyncGenerator(gen) { @@ -9985,7 +9985,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m AsyncGenerator.prototype.next = function (arg) { return this._invoke("next", arg); }; AsyncGenerator.prototype.throw = function (arg) { return this._invoke("throw", arg); }; AsyncGenerator.prototype.return = function (arg) { return this._invoke("return", arg); }; -`;i.wrapAsyncGenerator=o("7.0.0-beta.0")` +`;n.wrapAsyncGenerator=o("7.0.0-beta.0")` import AsyncGenerator from "AsyncGenerator"; export default function _wrapAsyncGenerator(fn) { @@ -9993,13 +9993,13 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return new AsyncGenerator(fn.apply(this, arguments)); }; } -`;i.awaitAsyncGenerator=o("7.0.0-beta.0")` +`;n.awaitAsyncGenerator=o("7.0.0-beta.0")` import AwaitValue from "AwaitValue"; export default function _awaitAsyncGenerator(value) { return new AwaitValue(value); } -`;i.asyncGeneratorDelegate=o("7.0.0-beta.0")` +`;n.asyncGeneratorDelegate=o("7.0.0-beta.0")` export default function _asyncGeneratorDelegate(inner, awaitWrap) { var iter = {}, waiting = false; @@ -10041,7 +10041,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return iter; } -`;i.asyncToGenerator=o("7.0.0-beta.0")` +`;n.asyncToGenerator=o("7.0.0-beta.0")` function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); @@ -10074,13 +10074,13 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }); }; } -`;i.classCallCheck=o("7.0.0-beta.0")` +`;n.classCallCheck=o("7.0.0-beta.0")` export default function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -`;i.createClass=o("7.0.0-beta.0")` +`;n.createClass=o("7.0.0-beta.0")` function _defineProperties(target, props) { for (var i = 0; i < props.length; i ++) { var descriptor = props[i]; @@ -10096,7 +10096,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } -`;i.defineEnumerableProperties=o("7.0.0-beta.0")` +`;n.defineEnumerableProperties=o("7.0.0-beta.0")` export default function _defineEnumerableProperties(obj, descs) { for (var key in descs) { var desc = descs[key]; @@ -10120,7 +10120,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return obj; } -`;i.defaults=o("7.0.0-beta.0")` +`;n.defaults=o("7.0.0-beta.0")` export default function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { @@ -10132,7 +10132,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return obj; } -`;i.defineProperty=o("7.0.0-beta.0")` +`;n.defineProperty=o("7.0.0-beta.0")` export default function _defineProperty(obj, key, value) { // Shortcircuit the slow defineProperty path when possible. // We are trying to avoid issues where setters defined on the @@ -10151,7 +10151,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return obj; } -`;i.extends=o("7.0.0-beta.0")` +`;n.extends=o("7.0.0-beta.0")` export default function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { @@ -10167,7 +10167,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return _extends.apply(this, arguments); } -`;i.objectSpread=o("7.0.0-beta.0")` +`;n.objectSpread=o("7.0.0-beta.0")` import defineProperty from "defineProperty"; export default function _objectSpread(target) { @@ -10185,7 +10185,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return target; } -`;i.inherits=o("7.0.0-beta.0")` +`;n.inherits=o("7.0.0-beta.0")` import setPrototypeOf from "setPrototypeOf"; export default function _inherits(subClass, superClass) { @@ -10201,7 +10201,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }); if (superClass) setPrototypeOf(subClass, superClass); } -`;i.inheritsLoose=o("7.0.0-beta.0")` +`;n.inheritsLoose=o("7.0.0-beta.0")` import setPrototypeOf from "setPrototypeOf"; export default function _inheritsLoose(subClass, superClass) { @@ -10209,7 +10209,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m subClass.prototype.constructor = subClass; setPrototypeOf(subClass, superClass); } -`;i.getPrototypeOf=o("7.0.0-beta.0")` +`;n.getPrototypeOf=o("7.0.0-beta.0")` export default function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf @@ -10218,7 +10218,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }; return _getPrototypeOf(o); } -`;i.setPrototypeOf=o("7.0.0-beta.0")` +`;n.setPrototypeOf=o("7.0.0-beta.0")` export default function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; @@ -10226,7 +10226,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m }; return _setPrototypeOf(o, p); } -`;i.isNativeReflectConstruct=o("7.9.0")` +`;n.isNativeReflectConstruct=o("7.9.0")` export default function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; @@ -10252,7 +10252,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return false; } } -`;i.construct=o("7.0.0-beta.0")` +`;n.construct=o("7.0.0-beta.0")` import setPrototypeOf from "setPrototypeOf"; import isNativeReflectConstruct from "isNativeReflectConstruct"; @@ -10275,12 +10275,12 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m // present in the original call. return _construct.apply(null, arguments); } -`;i.isNativeFunction=o("7.0.0-beta.0")` +`;n.isNativeFunction=o("7.0.0-beta.0")` export default function _isNativeFunction(fn) { // Note: This function returns "true" for core-js functions. return Function.toString.call(fn).indexOf("[native code]") !== -1; } -`;i.wrapNativeSuper=o("7.0.0-beta.0")` +`;n.wrapNativeSuper=o("7.0.0-beta.0")` import getPrototypeOf from "getPrototypeOf"; import setPrototypeOf from "setPrototypeOf"; import isNativeFunction from "isNativeFunction"; @@ -10315,7 +10315,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return _wrapNativeSuper(Class) } -`;i.instanceof=o("7.0.0-beta.0")` +`;n.instanceof=o("7.0.0-beta.0")` export default function _instanceof(left, right) { if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) { return !!right[Symbol.hasInstance](left); @@ -10323,11 +10323,11 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return left instanceof right; } } -`;i.interopRequireDefault=o("7.0.0-beta.0")` +`;n.interopRequireDefault=o("7.0.0-beta.0")` export default function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -`;i.interopRequireWildcard=o("7.14.0")` +`;n.interopRequireWildcard=o("7.14.0")` function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; @@ -10372,17 +10372,17 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return newObj; } -`;i.newArrowCheck=o("7.0.0-beta.0")` +`;n.newArrowCheck=o("7.0.0-beta.0")` export default function _newArrowCheck(innerThis, boundThis) { if (innerThis !== boundThis) { throw new TypeError("Cannot instantiate an arrow function"); } } -`;i.objectDestructuringEmpty=o("7.0.0-beta.0")` +`;n.objectDestructuringEmpty=o("7.0.0-beta.0")` export default function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure undefined"); } -`;i.objectWithoutPropertiesLoose=o("7.0.0-beta.0")` +`;n.objectWithoutPropertiesLoose=o("7.0.0-beta.0")` export default function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; @@ -10398,7 +10398,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return target; } -`;i.objectWithoutProperties=o("7.0.0-beta.0")` +`;n.objectWithoutProperties=o("7.0.0-beta.0")` import objectWithoutPropertiesLoose from "objectWithoutPropertiesLoose"; export default function _objectWithoutProperties(source, excluded) { @@ -10419,14 +10419,14 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return target; } -`;i.assertThisInitialized=o("7.0.0-beta.0")` +`;n.assertThisInitialized=o("7.0.0-beta.0")` export default function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } -`;i.possibleConstructorReturn=o("7.0.0-beta.0")` +`;n.possibleConstructorReturn=o("7.0.0-beta.0")` import assertThisInitialized from "assertThisInitialized"; export default function _possibleConstructorReturn(self, call) { @@ -10435,7 +10435,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return assertThisInitialized(self); } -`;i.createSuper=o("7.9.0")` +`;n.createSuper=o("7.9.0")` import getPrototypeOf from "getPrototypeOf"; import isNativeReflectConstruct from "isNativeReflectConstruct"; import possibleConstructorReturn from "possibleConstructorReturn"; @@ -10455,7 +10455,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return possibleConstructorReturn(this, result); } } - `;i.superPropBase=o("7.0.0-beta.0")` + `;n.superPropBase=o("7.0.0-beta.0")` import getPrototypeOf from "getPrototypeOf"; export default function _superPropBase(object, property) { @@ -10466,7 +10466,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return object; } -`;i.get=o("7.0.0-beta.0")` +`;n.get=o("7.0.0-beta.0")` import superPropBase from "superPropBase"; export default function _get(target, property, receiver) { @@ -10488,7 +10488,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return _get(target, property, receiver || target); } -`;i.set=o("7.0.0-beta.0")` +`;n.set=o("7.0.0-beta.0")` import superPropBase from "superPropBase"; import defineProperty from "defineProperty"; @@ -10543,47 +10543,47 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return value; } -`;i.taggedTemplateLiteral=o("7.0.0-beta.0")` +`;n.taggedTemplateLiteral=o("7.0.0-beta.0")` export default function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } -`;i.taggedTemplateLiteralLoose=o("7.0.0-beta.0")` +`;n.taggedTemplateLiteralLoose=o("7.0.0-beta.0")` export default function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } strings.raw = raw; return strings; } -`;i.readOnlyError=o("7.0.0-beta.0")` +`;n.readOnlyError=o("7.0.0-beta.0")` export default function _readOnlyError(name) { throw new TypeError("\\"" + name + "\\" is read-only"); } -`;i.writeOnlyError=o("7.12.13")` +`;n.writeOnlyError=o("7.12.13")` export default function _writeOnlyError(name) { throw new TypeError("\\"" + name + "\\" is write-only"); } -`;i.classNameTDZError=o("7.0.0-beta.0")` +`;n.classNameTDZError=o("7.0.0-beta.0")` export default function _classNameTDZError(name) { throw new Error("Class \\"" + name + "\\" cannot be referenced in computed property keys."); } -`;i.temporalUndefined=o("7.0.0-beta.0")` +`;n.temporalUndefined=o("7.0.0-beta.0")` // This function isn't mean to be called, but to be used as a reference. // We can't use a normal object because it isn't hoisted. export default function _temporalUndefined() {} -`;i.tdz=o("7.5.5")` +`;n.tdz=o("7.5.5")` export default function _tdzError(name) { throw new ReferenceError(name + " is not defined - temporal dead zone"); } -`;i.temporalRef=o("7.0.0-beta.0")` +`;n.temporalRef=o("7.0.0-beta.0")` import undef from "temporalUndefined"; import err from "tdz"; export default function _temporalRef(val, name) { return val === undef ? err(name) : val; } -`;i.slicedToArray=o("7.0.0-beta.0")` +`;n.slicedToArray=o("7.0.0-beta.0")` import arrayWithHoles from "arrayWithHoles"; import iterableToArrayLimit from "iterableToArrayLimit"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -10597,7 +10597,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableRest() ); } -`;i.slicedToArrayLoose=o("7.0.0-beta.0")` +`;n.slicedToArrayLoose=o("7.0.0-beta.0")` import arrayWithHoles from "arrayWithHoles"; import iterableToArrayLimitLoose from "iterableToArrayLimitLoose"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -10611,7 +10611,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableRest() ); } -`;i.toArray=o("7.0.0-beta.0")` +`;n.toArray=o("7.0.0-beta.0")` import arrayWithHoles from "arrayWithHoles"; import iterableToArray from "iterableToArray"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -10625,7 +10625,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableRest() ); } -`;i.toConsumableArray=o("7.0.0-beta.0")` +`;n.toConsumableArray=o("7.0.0-beta.0")` import arrayWithoutHoles from "arrayWithoutHoles"; import iterableToArray from "iterableToArray"; import unsupportedIterableToArray from "unsupportedIterableToArray"; @@ -10639,17 +10639,17 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m nonIterableSpread() ); } -`;i.arrayWithoutHoles=o("7.0.0-beta.0")` +`;n.arrayWithoutHoles=o("7.0.0-beta.0")` import arrayLikeToArray from "arrayLikeToArray"; export default function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return arrayLikeToArray(arr); } -`;i.arrayWithHoles=o("7.0.0-beta.0")` +`;n.arrayWithHoles=o("7.0.0-beta.0")` export default function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } -`;i.maybeArrayLike=o("7.9.0")` +`;n.maybeArrayLike=o("7.9.0")` import arrayLikeToArray from "arrayLikeToArray"; export default function _maybeArrayLike(next, arr, i) { @@ -10659,11 +10659,11 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return next(arr, i); } -`;i.iterableToArray=o("7.0.0-beta.0")` +`;n.iterableToArray=o("7.0.0-beta.0")` export default function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } -`;i.iterableToArrayLimit=o("7.0.0-beta.0")` +`;n.iterableToArrayLimit=o("7.0.0-beta.0")` export default function _iterableToArrayLimit(arr, i) { // this is an expanded form of \`for...of\` that properly supports abrupt completions of // iterators etc. variable names have been minimised to reduce the size of this massive @@ -10699,7 +10699,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return _arr; } -`;i.iterableToArrayLimitLoose=o("7.0.0-beta.0")` +`;n.iterableToArrayLimitLoose=o("7.0.0-beta.0")` export default function _iterableToArrayLimitLoose(arr, i) { var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); if (_i == null) return; @@ -10711,7 +10711,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return _arr; } -`;i.unsupportedIterableToArray=o("7.9.0")` +`;n.unsupportedIterableToArray=o("7.9.0")` import arrayLikeToArray from "arrayLikeToArray"; export default function _unsupportedIterableToArray(o, minLen) { @@ -10723,25 +10723,25 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); } -`;i.arrayLikeToArray=o("7.9.0")` +`;n.arrayLikeToArray=o("7.9.0")` export default function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } -`;i.nonIterableSpread=o("7.0.0-beta.0")` +`;n.nonIterableSpread=o("7.0.0-beta.0")` export default function _nonIterableSpread() { throw new TypeError( "Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ); } -`;i.nonIterableRest=o("7.0.0-beta.0")` +`;n.nonIterableRest=o("7.0.0-beta.0")` export default function _nonIterableRest() { throw new TypeError( "Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ); } -`;i.createForOfIteratorHelper=o("7.9.0")` +`;n.createForOfIteratorHelper=o("7.9.0")` import unsupportedIterableToArray from "unsupportedIterableToArray"; // s: start (create the iterator) @@ -10800,7 +10800,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } }; } -`;i.createForOfIteratorHelperLoose=o("7.9.0")` +`;n.createForOfIteratorHelperLoose=o("7.9.0")` import unsupportedIterableToArray from "unsupportedIterableToArray"; export default function _createForOfIteratorHelperLoose(o, allowArrayLike) { @@ -10824,7 +10824,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } -`;i.skipFirstGeneratorNext=o("7.0.0-beta.0")` +`;n.skipFirstGeneratorNext=o("7.0.0-beta.0")` export default function _skipFirstGeneratorNext(fn) { return function () { var it = fn.apply(this, arguments); @@ -10832,7 +10832,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return it; } } -`;i.toPrimitive=o("7.1.5")` +`;n.toPrimitive=o("7.1.5")` export default function _toPrimitive( input, hint /*: "default" | "string" | "number" | void */ @@ -10846,21 +10846,21 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m } return (hint === "string" ? String : Number)(input); } -`;i.toPropertyKey=o("7.1.5")` +`;n.toPropertyKey=o("7.1.5")` import toPrimitive from "toPrimitive"; export default function _toPropertyKey(arg) { var key = toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); } -`;i.initializerWarningHelper=o("7.0.0-beta.0")` +`;n.initializerWarningHelper=o("7.0.0-beta.0")` export default function _initializerWarningHelper(descriptor, context){ throw new Error( 'Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.' ); } -`;i.initializerDefineProperty=o("7.0.0-beta.0")` +`;n.initializerDefineProperty=o("7.0.0-beta.0")` export default function _initializerDefineProperty(target, property, descriptor, context){ if (!descriptor) return; @@ -10871,7 +10871,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m value: descriptor.initializer ? descriptor.initializer.call(context) : void 0, }); } -`;i.applyDecoratedDescriptor=o("7.0.0-beta.0")` +`;n.applyDecoratedDescriptor=o("7.0.0-beta.0")` export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context){ var desc = {}; Object.keys(descriptor).forEach(function(key){ @@ -10899,26 +10899,26 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return desc; } -`;i.classPrivateFieldLooseKey=o("7.0.0-beta.0")` +`;n.classPrivateFieldLooseKey=o("7.0.0-beta.0")` var id = 0; export default function _classPrivateFieldKey(name) { return "__private_" + (id++) + "_" + name; } -`;i.classPrivateFieldLooseBase=o("7.0.0-beta.0")` +`;n.classPrivateFieldLooseBase=o("7.0.0-beta.0")` export default function _classPrivateFieldBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; } -`;i.classPrivateFieldGet=o("7.0.0-beta.0")` +`;n.classPrivateFieldGet=o("7.0.0-beta.0")` import classApplyDescriptorGet from "classApplyDescriptorGet"; import classExtractFieldDescriptor from "classExtractFieldDescriptor"; export default function _classPrivateFieldGet(receiver, privateMap) { var descriptor = classExtractFieldDescriptor(receiver, privateMap, "get"); return classApplyDescriptorGet(receiver, descriptor); } -`;i.classPrivateFieldSet=o("7.0.0-beta.0")` +`;n.classPrivateFieldSet=o("7.0.0-beta.0")` import classApplyDescriptorSet from "classApplyDescriptorSet"; import classExtractFieldDescriptor from "classExtractFieldDescriptor"; export default function _classPrivateFieldSet(receiver, privateMap, value) { @@ -10926,21 +10926,21 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classApplyDescriptorSet(receiver, descriptor, value); return value; } -`;i.classPrivateFieldDestructureSet=o("7.4.4")` +`;n.classPrivateFieldDestructureSet=o("7.4.4")` import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet"; import classExtractFieldDescriptor from "classExtractFieldDescriptor"; export default function _classPrivateFieldDestructureSet(receiver, privateMap) { var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set"); return classApplyDescriptorDestructureSet(receiver, descriptor); } -`;i.classExtractFieldDescriptor=o("7.13.10")` +`;n.classExtractFieldDescriptor=o("7.13.10")` export default function _classExtractFieldDescriptor(receiver, privateMap, action) { if (!privateMap.has(receiver)) { throw new TypeError("attempted to " + action + " private field on non-instance"); } return privateMap.get(receiver); } -`;i.classStaticPrivateFieldSpecGet=o("7.0.2")` +`;n.classStaticPrivateFieldSpecGet=o("7.0.2")` import classApplyDescriptorGet from "classApplyDescriptorGet"; import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; @@ -10949,7 +10949,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classCheckPrivateStaticFieldDescriptor(descriptor, "get"); return classApplyDescriptorGet(receiver, descriptor); } -`;i.classStaticPrivateFieldSpecSet=o("7.0.2")` +`;n.classStaticPrivateFieldSpecSet=o("7.0.2")` import classApplyDescriptorSet from "classApplyDescriptorSet"; import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; @@ -10959,24 +10959,24 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classApplyDescriptorSet(receiver, descriptor, value); return value; } -`;i.classStaticPrivateMethodGet=o("7.3.2")` +`;n.classStaticPrivateMethodGet=o("7.3.2")` import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; export default function _classStaticPrivateMethodGet(receiver, classConstructor, method) { classCheckPrivateStaticAccess(receiver, classConstructor); return method; } -`;i.classStaticPrivateMethodSet=o("7.3.2")` +`;n.classStaticPrivateMethodSet=o("7.3.2")` export default function _classStaticPrivateMethodSet() { throw new TypeError("attempted to set read only static private field"); } -`;i.classApplyDescriptorGet=o("7.13.10")` +`;n.classApplyDescriptorGet=o("7.13.10")` export default function _classApplyDescriptorGet(receiver, descriptor) { if (descriptor.get) { return descriptor.get.call(receiver); } return descriptor.value; } -`;i.classApplyDescriptorSet=o("7.13.10")` +`;n.classApplyDescriptorSet=o("7.13.10")` export default function _classApplyDescriptorSet(receiver, descriptor, value) { if (descriptor.set) { descriptor.set.call(receiver, value); @@ -10990,7 +10990,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m descriptor.value = value; } } -`;i.classApplyDescriptorDestructureSet=o("7.13.10")` +`;n.classApplyDescriptorDestructureSet=o("7.13.10")` export default function _classApplyDescriptorDestructureSet(receiver, descriptor) { if (descriptor.set) { if (!("__destrObj" in descriptor)) { @@ -11012,7 +11012,7 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return descriptor; } } -`;i.classStaticPrivateFieldDestructureSet=o("7.13.10")` +`;n.classStaticPrivateFieldDestructureSet=o("7.13.10")` import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet"; import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; @@ -11021,19 +11021,19 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m classCheckPrivateStaticFieldDescriptor(descriptor, "set"); return classApplyDescriptorDestructureSet(receiver, descriptor); } -`;i.classCheckPrivateStaticAccess=o("7.13.10")` +`;n.classCheckPrivateStaticAccess=o("7.13.10")` export default function _classCheckPrivateStaticAccess(receiver, classConstructor) { if (receiver !== classConstructor) { throw new TypeError("Private static access of wrong provenance"); } } -`;i.classCheckPrivateStaticFieldDescriptor=o("7.13.10")` +`;n.classCheckPrivateStaticFieldDescriptor=o("7.13.10")` export default function _classCheckPrivateStaticFieldDescriptor(descriptor, action) { if (descriptor === undefined) { throw new TypeError("attempted to " + action + " private static field before its declaration"); } } -`;i.decorate=o("7.1.5")` +`;n.decorate=o("7.1.5")` import toArray from "toArray"; import toPropertyKey from "toPropertyKey"; @@ -11705,15 +11705,15 @@ module.exports=(()=>{var e={99898:e=>{"use strict";e.exports=JSON.parse('{"es6.m return value; } -`;i.classPrivateMethodGet=o("7.1.6")` +`;n.classPrivateMethodGet=o("7.1.6")` export default function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; } -`;{i.classPrivateMethodSet=o("7.1.6")` +`;{n.classPrivateMethodSet=o("7.1.6")` export default function _classPrivateMethodSet() { throw new TypeError("attempted to reassign private method"); } - `}},25419:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.get=get;t.minVersion=minVersion;t.getDependencies=getDependencies;t.ensure=ensure;t.default=t.list=void 0;var n=r(4267);var s=r(8892);var i=r(81407);function makePath(e){const t=[];for(;e.parentPath;e=e.parentPath){t.push(e.key);if(e.inList)t.push(e.listKey)}return t.reverse().join(".")}let a=undefined;function getHelperMetadata(e){const t=new Set;const r=new Set;const s=new Map;let a;let o;const l=[];const u=[];const p=[];const f={ImportDeclaration(e){const t=e.node.source.value;if(!i.default[t]){throw e.buildCodeFrameError(`Unknown helper ${t}`)}if(e.get("specifiers").length!==1||!e.get("specifiers.0").isImportDefaultSpecifier()){throw e.buildCodeFrameError("Helpers can only import a default value")}const r=e.node.specifiers[0].local;s.set(r,t);u.push(makePath(e))},ExportDefaultDeclaration(e){const t=e.get("declaration");if(t.isFunctionDeclaration()){if(!t.node.id){throw t.buildCodeFrameError("Helpers should give names to their exported func declaration")}a=t.node.id.name}o=makePath(e)},ExportAllDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},ExportNamedDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},Statement(e){if(e.isModuleDeclaration())return;e.skip()}};const c={Program(e){const t=e.scope.getAllBindings();Object.keys(t).forEach(e=>{if(e===a)return;if(s.has(t[e].identifier))return;r.add(e)})},ReferencedIdentifier(e){const r=e.node.name;const n=e.scope.getBinding(r,true);if(!n){t.add(r)}else if(s.has(n.identifier)){p.push(makePath(e))}},AssignmentExpression(e){const t=e.get("left");if(!(a in t.getBindingIdentifiers()))return;if(!t.isIdentifier()){throw t.buildCodeFrameError("Only simple assignments to exports are allowed in helpers")}const r=e.scope.getBinding(a);if(r!=null&&r.scope.path.isProgram()){l.push(makePath(e))}}};(0,n.default)(e.ast,f,e.scope);(0,n.default)(e.ast,c,e.scope);if(!o)throw new Error("Helpers must default-export something.");l.reverse();return{globals:Array.from(t),localBindingNames:Array.from(r),dependencies:s,exportBindingAssignments:l,exportPath:o,exportName:a,importBindingsReferences:p,importPaths:u}}function permuteHelperAST(e,t,r,i,a){if(i&&!r){throw new Error("Unexpected local bindings for module-based helpers.")}if(!r)return;const{localBindingNames:o,dependencies:l,exportBindingAssignments:u,exportPath:p,exportName:f,importBindingsReferences:c,importPaths:d}=t;const y={};l.forEach((e,t)=>{y[t.name]=typeof a==="function"&&a(e)||t});const m={};const T=new Set(i||[]);o.forEach(e=>{let t=e;while(T.has(t))t="_"+t;if(t!==e)m[e]=t});if(r.type==="Identifier"&&f!==r.name){m[f]=r.name}const h={Program(e){const t=e.get(p);const n=d.map(t=>e.get(t));const i=c.map(t=>e.get(t));const a=t.get("declaration");if(r.type==="Identifier"){if(a.isFunctionDeclaration()){t.replaceWith(a)}else{t.replaceWith(s.variableDeclaration("var",[s.variableDeclarator(r,a.node)]))}}else if(r.type==="MemberExpression"){if(a.isFunctionDeclaration()){u.forEach(t=>{const n=e.get(t);n.replaceWith(s.assignmentExpression("=",r,n.node))});t.replaceWith(a);e.pushContainer("body",s.expressionStatement(s.assignmentExpression("=",r,s.identifier(f))))}else{t.replaceWith(s.expressionStatement(s.assignmentExpression("=",r,a.node)))}}else{throw new Error("Unexpected helper format.")}Object.keys(m).forEach(t=>{e.scope.rename(t,m[t])});for(const e of n)e.remove();for(const e of i){const t=s.cloneNode(y[e.node.name]);e.replaceWith(t)}e.stop()}};(0,n.default)(e.ast,h,e.scope)}const o=Object.create(null);function loadHelper(e){if(!o[e]){const t=i.default[e];if(!t){throw Object.assign(new ReferenceError(`Unknown helper ${e}`),{code:"BABEL_HELPER_UNKNOWN",helper:e})}const r=()=>{const r={ast:s.file(t.ast())};if(a){return new a({filename:`babel-helper://${e}`},r)}return r};const n=getHelperMetadata(r());o[e]={build(e,t,s){const i=r();permuteHelperAST(i,n,t,s,e);return{nodes:i.ast.program.body,globals:n.globals}},minVersion(){return t.minVersion},dependencies:n.dependencies}}return o[e]}function get(e,t,r,n){return loadHelper(e).build(t,r,n)}function minVersion(e){return loadHelper(e).minVersion()}function getDependencies(e){return Array.from(loadHelper(e).dependencies.values())}function ensure(e,t){if(!a){a=t}loadHelper(e)}const l=Object.keys(i.default).map(e=>e.replace(/^_/,"")).filter(e=>e!=="__esModule");t.list=l;var u=get;t.default=u},72218:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r=true;const n=true;const s=true;const i=true;const a=true;const o=true;class TokenType{constructor(e,t={}){this.label=void 0;this.keyword=void 0;this.beforeExpr=void 0;this.startsExpr=void 0;this.rightAssociative=void 0;this.isLoop=void 0;this.isAssign=void 0;this.prefix=void 0;this.postfix=void 0;this.binop=void 0;this.updateContext=void 0;this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.rightAssociative=!!t.rightAssociative;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop!=null?t.binop:null;this.updateContext=null}}const l=new Map;function createKeyword(e,t={}){t.keyword=e;const r=new TokenType(e,t);l.set(e,r);return r}function createBinop(e,t){return new TokenType(e,{beforeExpr:r,binop:t})}const u={num:new TokenType("num",{startsExpr:n}),bigint:new TokenType("bigint",{startsExpr:n}),decimal:new TokenType("decimal",{startsExpr:n}),regexp:new TokenType("regexp",{startsExpr:n}),string:new TokenType("string",{startsExpr:n}),name:new TokenType("name",{startsExpr:n}),privateName:new TokenType("#name",{startsExpr:n}),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:r,startsExpr:n}),bracketHashL:new TokenType("#[",{beforeExpr:r,startsExpr:n}),bracketBarL:new TokenType("[|",{beforeExpr:r,startsExpr:n}),bracketR:new TokenType("]"),bracketBarR:new TokenType("|]"),braceL:new TokenType("{",{beforeExpr:r,startsExpr:n}),braceBarL:new TokenType("{|",{beforeExpr:r,startsExpr:n}),braceHashL:new TokenType("#{",{beforeExpr:r,startsExpr:n}),braceR:new TokenType("}",{beforeExpr:r}),braceBarR:new TokenType("|}"),parenL:new TokenType("(",{beforeExpr:r,startsExpr:n}),parenR:new TokenType(")"),comma:new TokenType(",",{beforeExpr:r}),semi:new TokenType(";",{beforeExpr:r}),colon:new TokenType(":",{beforeExpr:r}),doubleColon:new TokenType("::",{beforeExpr:r}),dot:new TokenType("."),question:new TokenType("?",{beforeExpr:r}),questionDot:new TokenType("?."),arrow:new TokenType("=>",{beforeExpr:r}),template:new TokenType("template"),ellipsis:new TokenType("...",{beforeExpr:r}),backQuote:new TokenType("`",{startsExpr:n}),dollarBraceL:new TokenType("${",{beforeExpr:r,startsExpr:n}),at:new TokenType("@"),hash:new TokenType("#",{startsExpr:n}),interpreterDirective:new TokenType("#!..."),eq:new TokenType("=",{beforeExpr:r,isAssign:i}),assign:new TokenType("_=",{beforeExpr:r,isAssign:i}),slashAssign:new TokenType("_=",{beforeExpr:r,isAssign:i}),incDec:new TokenType("++/--",{prefix:a,postfix:o,startsExpr:n}),bang:new TokenType("!",{beforeExpr:r,prefix:a,startsExpr:n}),tilde:new TokenType("~",{beforeExpr:r,prefix:a,startsExpr:n}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:r,binop:9,prefix:a,startsExpr:n}),modulo:new TokenType("%",{beforeExpr:r,binop:10,startsExpr:n}),star:new TokenType("*",{binop:10}),slash:createBinop("/",10),exponent:new TokenType("**",{beforeExpr:r,binop:11,rightAssociative:true}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:r}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:r}),_do:createKeyword("do",{isLoop:s,beforeExpr:r}),_else:createKeyword("else",{beforeExpr:r}),_finally:createKeyword("finally"),_for:createKeyword("for",{isLoop:s}),_function:createKeyword("function",{startsExpr:n}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:r}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:r,prefix:a,startsExpr:n}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_while:createKeyword("while",{isLoop:s}),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:r,startsExpr:n}),_this:createKeyword("this",{startsExpr:n}),_super:createKeyword("super",{startsExpr:n}),_class:createKeyword("class",{startsExpr:n}),_extends:createKeyword("extends",{beforeExpr:r}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:n}),_null:createKeyword("null",{startsExpr:n}),_true:createKeyword("true",{startsExpr:n}),_false:createKeyword("false",{startsExpr:n}),_in:createKeyword("in",{beforeExpr:r,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:r,binop:7}),_typeof:createKeyword("typeof",{beforeExpr:r,prefix:a,startsExpr:n}),_void:createKeyword("void",{beforeExpr:r,prefix:a,startsExpr:n}),_delete:createKeyword("delete",{beforeExpr:r,prefix:a,startsExpr:n})};const p=/\r\n?|[\n\u2028\u2029]/;const f=new RegExp(p.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const c=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function isWhitespace(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return true;default:return false}}class Position{constructor(e,t){this.line=void 0;this.column=void 0;this.line=e;this.column=t}}class SourceLocation{constructor(e,t){this.start=void 0;this.end=void 0;this.filename=void 0;this.identifierName=void 0;this.start=e;this.end=t}}function getLineInfo(e,t){let r=1;let n=0;let s;f.lastIndex=0;while((s=f.exec(e))&&s.index0){n=t[--s]}if(n===null){return}for(let e=0;e0){n.trailingComments=i}else if(n.trailingComments!==undefined){n.trailingComments=[]}}processComment(e){if(e.type==="Program"&&e.body.length>0)return;const t=this.state.commentStack;let r,n,s,i,a;if(this.state.trailingComments.length>0){if(this.state.trailingComments[0].start>=e.end){s=this.state.trailingComments;this.state.trailingComments=[]}else{this.state.trailingComments.length=0}}else if(t.length>0){const r=last(t);if(r.trailingComments&&r.trailingComments[0].start>=e.end){s=r.trailingComments;delete r.trailingComments}}if(t.length>0&&last(t).start>=e.start){r=t.pop()}while(t.length>0&&last(t).start>=e.start){n=t.pop()}if(!n&&r)n=r;if(r){switch(e.type){case"ObjectExpression":this.adjustCommentsAfterTrailingComma(e,e.properties);break;case"ObjectPattern":this.adjustCommentsAfterTrailingComma(e,e.properties,true);break;case"CallExpression":this.adjustCommentsAfterTrailingComma(e,e.arguments);break;case"ArrayExpression":this.adjustCommentsAfterTrailingComma(e,e.elements);break;case"ArrayPattern":this.adjustCommentsAfterTrailingComma(e,e.elements,true);break}}else if(this.state.commentPreviousNode&&(this.state.commentPreviousNode.type==="ImportSpecifier"&&e.type!=="ImportSpecifier"||this.state.commentPreviousNode.type==="ExportSpecifier"&&e.type!=="ExportSpecifier")){this.adjustCommentsAfterTrailingComma(e,[this.state.commentPreviousNode])}if(n){if(n.leadingComments){if(n!==e&&n.leadingComments.length>0&&last(n.leadingComments).end<=e.start){e.leadingComments=n.leadingComments;delete n.leadingComments}else{for(i=n.leadingComments.length-2;i>=0;--i){if(n.leadingComments[i].end<=e.start){e.leadingComments=n.leadingComments.splice(0,i+1);break}}}}}else if(this.state.leadingComments.length>0){if(last(this.state.leadingComments).end<=e.start){if(this.state.commentPreviousNode){for(a=0;a0){e.leadingComments=this.state.leadingComments;this.state.leadingComments=[]}}else{for(i=0;ie.start){break}}const t=this.state.leadingComments.slice(0,i);if(t.length){e.leadingComments=t}s=this.state.leadingComments.slice(i);if(s.length===0){s=null}}}this.state.commentPreviousNode=e;if(s){if(s.length&&s[0].start>=e.start&&last(s).end<=e.end){e.innerComments=s}else{const t=s.findIndex(t=>t.end>=e.end);if(t>0){e.innerComments=s.slice(0,t);e.trailingComments=s.slice(t)}else{e.trailingComments=s}}}t.push(e)}}const d=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const y=makeErrorTemplates({AccessorIsGenerator:"A %0ter cannot be a generator.",ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accesor must not have any formal parameters.",BadSetterArity:"A 'set' accesor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accesor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:"'%0' require an initialization value.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:"`%0` has already been exported. Exported identifiers must be unique.",DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '%0' as '%1' } from 'some-module'`?",ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:"'%0' loop variable declaration may not have an initializer.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:"Unsyntactic %0.",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:'A string literal cannot be used as an imported binding.\n- Did you mean `import { "%0" as foo }`?',ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:"`import()` requires exactly %0.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidDecimal:"Invalid decimal.",InvalidDigit:"Expected number in radix %0.",InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:"Escape sequence in keyword %0.",InvalidIdentifier:"Invalid identifier %0.",InvalidLhs:"Invalid left-hand side in %0.",InvalidLhsBinding:"Binding invalid left-hand side in %0.",InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:"Unexpected character '%0'.",InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:"Private name #%0 is not defined.",InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:"Label '%0' is already declared.",LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:'Duplicate key "%0" is not allowed in module attributes.',ModuleExportNameHasLoneSurrogate:"An export name cannot include a lone surrogate, found '\\u%0'.",ModuleExportUndefined:"Export '%0' is not defined.",MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:"Primary Topic Reference found but pipelineOperator not passed 'smart' for 'proposal' option.",PrivateInExpectedIn:"Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`).",PrivateNameRedeclaration:"Duplicate private name #%0.",RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:"Assigning to '%0' in strict mode.",StrictEvalArgumentsBinding:"Binding '%0' in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:"Unexpected keyword '%0'.",UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Private names can only be used as the name of a class element (i.e. class C { #p = 42; #m() {} } )\n or a property of member expression (i.e. this.#p).",UnexpectedReservedWord:"Unexpected reserved word '%0'.",UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:"Unexpected token '%0'.",UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:"The only valid meta property for %0 is %0.%1.",UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",VarRedeclaration:"Identifier '%0' has already been declared.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},d.SyntaxError);const m=makeErrorTemplates({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},d.SourceTypeModuleError);function makeErrorTemplates(e,t){const r={};Object.keys(e).forEach(n=>{r[n]=Object.freeze({code:t,reasonCode:n,template:e[n]})});return Object.freeze(r)}class ParserError extends CommentsParser{getLocationForPosition(e){let t;if(e===this.state.start)t=this.state.startLoc;else if(e===this.state.lastTokStart)t=this.state.lastTokStartLoc;else if(e===this.state.end)t=this.state.endLoc;else if(e===this.state.lastTokEnd)t=this.state.lastTokEndLoc;else t=getLineInfo(this.input,e);return t}raise(e,{code:t,reasonCode:r,template:n},...s){return this.raiseWithData(e,{code:t,reasonCode:r},n,...s)}raiseOverwrite(e,{code:t,template:r},...n){const s=this.getLocationForPosition(e);const i=r.replace(/%(\d+)/g,(e,t)=>n[t])+` (${s.line}:${s.column})`;if(this.options.errorRecovery){const t=this.state.errors;for(let r=t.length-1;r>=0;r--){const n=t[r];if(n.pos===e){return Object.assign(n,{message:i})}else if(n.posn[t])+` (${s.line}:${s.column})`;return this._raise(Object.assign({loc:s,pos:e},t),i)}_raise(e,t){const r=new SyntaxError(t);Object.assign(r,e);if(this.options.errorRecovery){if(!this.isLookahead)this.state.errors.push(r);return r}else{throw r}}}var T=e=>(class extends e{parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const n=this.estreeParseLiteral(r);n.regex={pattern:e,flags:t};return n}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);r.bigint=String(r.value||e);return r}parseDecimalLiteral(e){const t=null;const r=this.estreeParseLiteral(t);r.decimal=String(r.value||e);return r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;const r=this.startNodeAt(e.start,e.loc.start);const n=this.startNodeAt(t.start,t.loc.start);n.value=t.extra.expressionValue;n.raw=t.extra.raw;r.expression=this.finishNodeAt(n,"Literal",t.end,t.loc.end);r.directive=t.extra.raw.slice(1,-1);return this.finishNodeAt(r,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}stmtToDirective(e){const t=super.stmtToDirective(e);const r=e.expression.value;this.addExtra(t.value,"expressionValue",r);return t}parseBlockBody(e,...t){super.parseBlockBody(e,...t);const r=e.directives.map(e=>this.directiveToStmt(e));e.body=r.concat(e.body);delete e.directives}pushClassMethod(e,t,r,n,s,i){this.parseMethod(t,r,n,s,i,"ClassMethod",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parseMaybePrivateName(...e){const t=super.parseMaybePrivateName(...e);if(t.type==="PrivateName"&&this.getPluginOption("estree","classFeatures")){return this.convertPrivateNameToPrivateIdentifier(t)}return t}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}return e.name}parseLiteral(e,t){const r=super.parseLiteral(e,t);r.raw=r.extra.raw;delete r.extra;return r}parseFunctionBody(e,t,r=false){super.parseFunctionBody(e,t,r);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,r,n,s,i,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,r,n,s,i,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(i==="ClassPrivateMethod"){e.computed=false}i="MethodDefinition";return this.finishNode(e,i)}parseClassProperty(...e){const t=super.parseClassProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition"}return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition";t.computed=false}return t}parseObjectMethod(e,t,r,n,s){const i=super.parseObjectMethod(e,t,r,n,s);if(i){i.type="Property";if(i.kind==="method")i.kind="init";i.shorthand=false}return i}parseObjectProperty(e,t,r,n,s){const i=super.parseObjectProperty(e,t,r,n,s);if(i){i.kind="init";i.type="Property"}return i}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){this.toAssignable(e.value,t);return e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){if(e.kind==="get"||e.kind==="set"){this.raise(e.key.start,y.PatternHasAccessor)}else if(e.method){this.raise(e.key.start,y.PatternHasMethod)}else{super.toAssignableObjectExpressionProp(e,...t)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];if(this.hasPlugin("importAssertions")){var r;e.attributes=(r=e.arguments[1])!=null?r:null}delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,r,n,s){const i=super.parseSubscript(e,t,r,n,s);if(s.optionalChainMember){if(i.type==="OptionalMemberExpression"||i.type==="OptionalCallExpression"){i.type=i.type.substring(8)}if(s.stop){const e=this.startNodeAtNode(i);e.expression=i;return this.finishNode(e,"ChainExpression")}}else if(i.type==="MemberExpression"||i.type==="CallExpression"){i.optional=false}return i}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}});class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const h={brace:new TokContext("{"),templateQuasi:new TokContext("${"),template:new TokContext("`",true)};u.braceR.updateContext=(e=>{if(e.length>1){e.pop()}});u.braceL.updateContext=u.braceHashL.updateContext=(e=>{e.push(h.brace)});u.dollarBraceL.updateContext=(e=>{e.push(h.templateQuasi)});u.backQuote.updateContext=(e=>{if(e[e.length-1]===h.template){e.pop()}else{e.push(h.template)}});let S="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let b="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const E=new RegExp("["+S+"]");const g=new RegExp("["+S+b+"]");S=b=null;const P=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const x=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&E.test(String.fromCharCode(e))}return isInAstralSet(e,P)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&g.test(String.fromCharCode(e))}return isInAstralSet(e,P)||isInAstralSet(e,x)}const v={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const A=new Set(v.keyword);const O=new Set(v.strict);const I=new Set(v.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||O.has(e)}function isStrictBindOnlyReservedWord(e){return I.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return A.has(e)}function isIteratorStart(e,t){return e===64&&t===64}const D=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function canBeReservedWord(e){return D.has(e)}const w=0,j=1,N=2,C=4,L=8,_=16,M=32,F=64,B=128,k=256,R=j|N|k;const K=1,V=2,X=4,Y=8,J=16,U=64,W=128,q=256,z=512,G=1024,$=2048;const H=K|V|Y|W,Q=K|0|Y|0,Z=K|0|X|0,ee=K|0|J|0,te=0|V|0|W,re=0|V|0|0,ne=K|V|Y|q,se=0|0|0|G,ie=0|0|0|U,ae=K|0|0|U,oe=ne|z,le=0|0|0|G,ue=$;const pe=4,fe=2,ce=1,de=fe|ce;const ye=fe|pe,me=ce|pe,Te=fe,he=ce,Se=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.scopeStack=[];this.undefinedExports=new Map;this.undefinedPrivateNames=new Map;this.raise=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&N)>0}get allowSuper(){return(this.currentThisScopeFlags()&_)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&M)>0}get inClass(){return(this.currentThisScopeFlags()&F)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&F)>0&&(e&N)===0}get inStaticBlock(){return(this.currentThisScopeFlags()&B)>0}get inNonArrowFunction(){return(this.currentThisScopeFlags()&N)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&N||!this.inModule&&e.flags&j)}declareName(e,t,r){let n=this.currentScope();if(t&Y||t&J){this.checkRedeclarationInScope(n,e,t,r);if(t&J){n.functions.add(e)}else{n.lexical.add(e)}if(t&Y){this.maybeExportDefined(n,e)}}else if(t&X){for(let s=this.scopeStack.length-1;s>=0;--s){n=this.scopeStack[s];this.checkRedeclarationInScope(n,e,t,r);n.var.add(e);this.maybeExportDefined(n,e);if(n.flags&R)break}}if(this.inModule&&n.flags&j){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.inModule&&e.flags&j){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,r,n){if(this.isRedeclaredInScope(e,t,r)){this.raise(n,y.VarRedeclaration,t)}}isRedeclaredInScope(e,t,r){if(!(r&K))return false;if(r&Y){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(r&J){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&L&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const r=this.scopeStack[0];if(!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)){this.undefinedExports.set(t,e.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&R){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(R|F)&&!(t&C)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,r){const n=this.currentScope();if(t&$){this.checkRedeclarationInScope(n,e,t,r);this.maybeExportDefined(n,e);n.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,r){if(super.isRedeclaredInScope(...arguments))return true;if(r&$){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}const be=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]);const Ee=makeErrorTemplates({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:"Cannot overwrite reserved type %0.",DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:"Boolean enum members need to be initialized. Use either `%0 = true,` or `%0 = false,` in enum `%1`.",EnumDuplicateMemberName:"Enum member names need to be unique, but the name `%0` has already been used before in enum `%1`.",EnumInconsistentMemberValues:"Enum `%0` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.",EnumInvalidExplicitType:"Enum type `%1` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidExplicitTypeUnknownSupplied:"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidMemberInitializerPrimaryType:"Enum `%0` has type `%2`, so the initializer of `%1` needs to be a %2 literal.",EnumInvalidMemberInitializerSymbolType:"Symbol enum members cannot be initialized. Use `%1,` in enum `%0`.",EnumInvalidMemberInitializerUnknownType:"The enum member initializer for `%1` needs to be a literal (either a boolean, number, or string) in enum `%0`.",EnumInvalidMemberName:"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%0`, consider using `%1`, in enum `%2`.",EnumNumberMemberNotInitialized:"Number enum members need to be initialized, e.g. `%1 = 1` in enum `%0`.",EnumStringMemberInconsistentlyInitailized:"String enum members need to consistently either all use initializers, or use no initializers, in enum `%0`.",GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",OptionalBindingPattern:"A binding pattern parameter cannot be optional in an implementation signature.",SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:"Unexpected reserved type %0.",UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:"`declare export %0` is not supported. Use `%1` instead.",UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."},d.SyntaxError);function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return(e.type===u.name||!!e.type.keyword)&&e.value!=="from"}const ge={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const r=[];const n=[];for(let s=0;s(class extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==u.string&&e!==u.semi&&e!==u.interpreterDirective){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=Pe.exec(e.value);if(!t) ;else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||u.colon);const r=this.flowParseType();this.state.inType=t;return r}flowParsePredicate(){const e=this.startNode();const t=this.state.start;this.next();this.expectContextual("checks");if(this.state.lastTokStart>t+1){this.raise(t,Ee.UnexpectedSpaceBetweenModuloChecks)}if(this.eat(u.parenL)){e.value=this.parseExpression();this.expect(u.parenR);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(u.colon);let t=null;let r=null;if(this.match(u.modulo)){this.state.inType=e;r=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(u.modulo)){r=this.flowParsePredicate()}}return[t,r]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const r=this.startNode();const n=this.startNode();if(this.isRelational("<")){r.typeParameters=this.flowParseTypeParameterDeclaration()}else{r.typeParameters=null}this.expect(u.parenL);const s=this.flowParseFunctionTypeParams();r.params=s.params;r.rest=s.rest;r.this=s._this;this.expect(u.parenR);[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser();n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation");t.typeAnnotation=this.finishNode(n,"TypeAnnotation");this.resetEndLocation(t);this.semicolon();this.scope.declareName(e.id.name,ue,e.id.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(u._class)){return this.flowParseDeclareClass(e)}else if(this.match(u._function)){return this.flowParseDeclareFunction(e)}else if(this.match(u._var)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual("module")){if(this.match(u.dot)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(this.state.lastTokStart,Ee.NestedDeclareModule)}return this.flowParseDeclareModule(e)}}else if(this.isContextual("type")){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual("opaque")){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual("interface")){return this.flowParseDeclareInterface(e)}else if(this.match(u._export)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,Z,e.id.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(w);if(this.match(u.string)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const r=t.body=[];this.expect(u.braceL);while(!this.match(u.braceR)){let e=this.startNode();if(this.match(u._import)){this.next();if(!this.isContextual("type")&&!this.match(u._typeof)){this.raise(this.state.lastTokStart,Ee.InvalidNonTypeImportInDeclareModule)}this.parseImport(e)}else{this.expectContextual("declare",Ee.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}r.push(e)}this.scope.exit();this.expect(u.braceR);this.finishNode(t,"BlockStatement");let n=null;let s=false;r.forEach(e=>{if(isEsModuleType(e)){if(n==="CommonJS"){this.raise(e.start,Ee.AmbiguousDeclareModuleKind)}n="ES"}else if(e.type==="DeclareModuleExports"){if(s){this.raise(e.start,Ee.DuplicateDeclareModuleExports)}if(n==="ES"){this.raise(e.start,Ee.AmbiguousDeclareModuleKind)}n="CommonJS";s=true}});e.kind=n||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(u._export);if(this.eat(u._default)){if(this.match(u._function)||this.match(u._class)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(u._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value;const t=ge[e];throw this.raise(this.state.start,Ee.UnsupportedDeclareExportKind,e,t)}if(this.match(u._var)||this.match(u._function)||this.match(u._class)||this.isContextual("opaque")){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(u.star)||this.match(u.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque")){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual("exports");e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?ee:Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(u.comma))}if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(this.state.start,Ee.UnexpectedReservedUnderscore)}}checkReservedType(e,t,r){if(!be.has(e))return;this.raise(t,r?Ee.AssignReservedType:Ee.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.start,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(u.eq);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual("type");e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(u.colon)){e.supertype=this.flowParseTypeInitialiser(u.colon)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(u.eq)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.start;const r=this.startNode();const n=this.flowParseVariance();const s=this.flowParseTypeAnnotatableIdentifier();r.name=s.name;r.variance=n;r.bound=s.typeAnnotation;if(this.match(u.eq)){this.eat(u.eq);r.default=this.flowParseType()}else{if(e){this.raise(t,Ee.MissingTypeParamDefault)}}return this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}let r=false;do{const e=this.flowParseTypeParameter(r);t.params.push(e);if(e.default){r=true}if(!this.isRelational(">")){this.expect(u.comma)}}while(!this.isRelational(">"));this.expectRelational(">");this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");const r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.isRelational(">")){e.params.push(this.flowParseType());if(!this.isRelational(">")){this.expect(u.comma)}}this.state.noAnonFunctionType=r;this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");while(!this.isRelational(">")){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.isRelational(">")){this.expect(u.comma)}}this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual("interface");e.extends=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(u.num)||this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,r){e.static=t;if(this.lookahead().type===u.colon){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(u.bracketR);e.value=this.flowParseTypeInitialiser();e.variance=r;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(u.bracketR);this.expect(u.bracketR);if(this.isRelational("<")||this.match(u.parenL)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(u.question)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(u.parenL);if(this.match(u._this)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(u.parenR)){this.expect(u.comma)}}while(!this.match(u.parenR)&&!this.match(u.ellipsis)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(u.parenR)){this.expect(u.comma)}}if(this.eat(u.ellipsis)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(u.parenR);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const r=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(r);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:n,allowInexact:s}){const i=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let p=false;if(t&&this.match(u.braceBarL)){this.expect(u.braceBarL);o=u.braceBarR;l=true}else{this.expect(u.braceL);o=u.braceR;l=false}a.exact=l;while(!this.match(o)){let t=false;let i=null;let o=null;const f=this.startNode();if(n&&this.isContextual("proto")){const t=this.lookahead();if(t.type!==u.colon&&t.type!==u.question){this.next();i=this.state.start;e=false}}if(e&&this.isContextual("static")){const e=this.lookahead();if(e.type!==u.colon&&e.type!==u.question){this.next();t=true}}const c=this.flowParseVariance();if(this.eat(u.bracketL)){if(i!=null){this.unexpected(i)}if(this.eat(u.bracketL)){if(c){this.unexpected(c.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(f,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(f,t,c))}}else if(this.match(u.parenL)||this.isRelational("<")){if(i!=null){this.unexpected(i)}if(c){this.unexpected(c.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(f,t))}else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();if(t.type===u.name||t.type===u.string||t.type===u.num){e=this.state.value;this.next()}}const n=this.flowParseObjectTypeProperty(f,t,i,c,e,r,s!=null?s:!l);if(n===null){p=true;o=this.state.lastTokStart}else{a.properties.push(n)}}this.flowObjectTypeSemicolon();if(o&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.raise(o,Ee.UnexpectedExplicitInexactInObject)}}this.expect(o);if(r){a.inexact=p}const f=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=i;return f}flowParseObjectTypeProperty(e,t,r,n,s,i,a){if(this.eat(u.ellipsis)){const t=this.match(u.comma)||this.match(u.semi)||this.match(u.braceR)||this.match(u.braceBarR);if(t){if(!i){this.raise(this.state.lastTokStart,Ee.InexactInsideNonObject)}else if(!a){this.raise(this.state.lastTokStart,Ee.InexactInsideExact)}if(n){this.raise(n.start,Ee.InexactVariance)}return null}if(!i){this.raise(this.state.lastTokStart,Ee.UnexpectedSpreadType)}if(r!=null){this.unexpected(r)}if(n){this.raise(n.start,Ee.SpreadVariance)}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=r!=null;e.kind=s;let a=false;if(this.isRelational("<")||this.match(u.parenL)){e.method=true;if(r!=null){this.unexpected(r)}if(n){this.unexpected(n.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(s==="get"||s==="set"){this.flowCheckGetterSetterParams(e)}if(!i&&e.key.name==="constructor"&&e.value.this){this.raise(e.value.this.start,Ee.ThisParamBannedInConstructor)}}else{if(s!=="init")this.unexpected();e.method=false;if(this.eat(u.question)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=n}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const r=e.start;const n=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.value.this.start,e.kind==="get"?Ee.GetterMayNotHaveThisParam:Ee.SetterMayNotHaveThisParam)}if(n!==t){if(e.kind==="get"){this.raise(r,y.BadGetterArity)}else{this.raise(r,y.BadSetterArity)}}if(e.kind==="set"&&e.value.rest){this.raise(r,y.BadSetterRestParameter)}}flowObjectTypeSemicolon(){if(!this.eat(u.semi)&&!this.eat(u.comma)&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start;t=t||this.state.startLoc;let n=r||this.flowParseRestrictedIdentifier(true);while(this.eat(u.dot)){const r=this.startNodeAt(e,t);r.qualification=n;r.id=this.flowParseRestrictedIdentifier(true);n=this.finishNode(r,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t,r){const n=this.startNodeAt(e,t);n.typeParameters=null;n.id=this.flowParseQualifiedTypeIdentifier(e,t,r);if(this.isRelational("<")){n.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(u._typeof);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(u.bracketL);while(this.state.possuper.parseFunctionBody(e,true,r))}return super.parseFunctionBody(e,false,r)}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(e,t,r)}parseStatement(e,t){if(this.state.strict&&this.match(u.name)&&this.state.value==="interface"){const e=this.lookahead();if(e.type===u.name||isKeyword(e.value)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const r=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(r)){this.flowPragma=null}return r}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(u._class)||this.match(u.name)||this.match(u._function)||this.match(u._var)||this.match(u._export)){return this.flowParseDeclare(e)}}else if(this.match(u.name)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){if(this.match(u.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"||this.shouldParseEnums()&&this.state.value==="enum")){return false}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,n){if(!this.match(u.question))return e;if(n){const s=this.tryParse(()=>super.parseConditional(e,t,r));if(!s.node){n.start=s.error.pos||this.state.start;return e}if(s.error)this.state=s.failState;return s.node}this.expect(u.question);const s=this.state.clone();const i=this.state.noArrowAt;const a=this.startNodeAt(t,r);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[p,f]=this.getArrowLikeExpressions(o);if(l||f.length>0){const e=[...i];if(f.length>0){this.state=s;this.state.noArrowAt=e;for(let t=0;t1){this.raise(s.start,Ee.AmbiguousConditionalArrow)}if(l&&p.length===1){this.state=s;this.state.noArrowAt=e.concat(p[0].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=i;this.expect(u.colon);a.test=e;a.consequent=o;a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(undefined,undefined,undefined));return this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(u.colon);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e];const n=[];while(r.length!==0){const e=r.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{n.push(e)}r.push(e.body)}else if(e.type==="ConditionalExpression"){r.push(e.consequent);r.push(e.alternate)}}if(t){n.forEach(e=>this.finishArrowValidation(e));return[n,[]]}return partition(n,e=>e.params.every(e=>this.isAssignable(e,true)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingComma,false);this.scope.enter(N|C);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);r=t();this.state.noArrowParamsConversionAt.pop()}else{r=t()}return r}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(n,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();this.next();if(this.match(u.braceL)){e.specifiers=this.parseExportSpecifiers();this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual("enum")){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual("type")&&this.lookahead().type===u.star){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const t=this.state.start;const r=super.maybeParseExportNamespaceSpecifier(e);if(r&&e.exportKind==="type"){this.unexpected(t)}return r}parseClassId(e,t,r){super.parseClassId(e,t,r);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}}parseClassMember(e,t,r){const n=this.state.start;if(this.isContextual("declare")){if(this.parseClassMemberFromModifier(e,t)){return}t.declare=true}super.parseClassMember(e,t,r);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(n,Ee.DeclareClassElement)}else if(t.value){this.raise(t.value.start,Ee.DeclareClassFieldInitializer)}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(this.state.pos,y.InvalidIdentifier,t)}this.finishToken(u.name,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(u.braceBarL,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(u.relational,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(u.questionDot,2)}return this.finishOp(u.question,1)}else if(isIteratorStart(e,t)){this.state.pos+=2;return this.readIterator()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":return true;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every((e,r)=>{return e.type!=="ObjectMethod"&&(r===t||e.type==="SpreadElement")&&this.isAssignable(e)})}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every(e=>this.isAssignable(e));case"AssignmentExpression":return e.operator==="=";case"ParenthesizedExpression":case"TypeCastExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return false}}toAssignable(e,t=false){if(e.type==="TypeCastExpression"){return super.toAssignable(this.typeCastToParameter(e),t)}else{return super.toAssignable(e,t)}}toAssignableList(e,t,r){for(let t=0;t1||!t)){this.raise(s.typeAnnotation.start,Ee.TypeCastInPattern)}}return e}parseArrayLike(e,t,r,n){const s=super.parseArrayLike(e,t,r,n);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(s.elements)}return s}checkLVal(e,...t){if(e.type!=="TypeCastExpression"){return super.checkLVal(e,...t)}}parseClassProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(u.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,s,i){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,r,n,s,i);if(t.params&&s){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Ee.ThisParamBannedInConstructor)}}else if(t.type==="MethodDefinition"&&s&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,Ee.ThisParamBannedInConstructor)}}}pushClassPrivateMethod(e,t,r,n){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(u.comma))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const r=t[0];if(this.isThisParam(r)&&e.kind==="get"){this.raise(r.start,Ee.GetterMayNotHaveThisParam)}else if(this.isThisParam(r)){this.raise(r.start,Ee.SetterMayNotHaveThisParam)}}}parsePropertyName(e,t){const r=this.flowParseVariance();const n=super.parsePropertyName(e,t);e.variance=r;return n}parseObjPropValue(e,t,r,n,s,i,a,o){if(e.variance){this.unexpected(e.variance.start)}delete e.variance;let l;if(this.isRelational("<")&&!a){l=this.flowParseTypeParameterDeclaration();if(!this.match(u.parenL))this.unexpected()}super.parseObjPropValue(e,t,r,n,s,i,a,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"){this.raise(e.start,Ee.OptionalBindingPattern)}if(this.isThisParam(e)){this.raise(e.start,Ee.ThisParamMayNotBeOptional)}e.optional=true}if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(e.start,Ee.ThisParamAnnotationRequired)}if(this.match(u.eq)&&this.isThisParam(e)){this.raise(e.start,Ee.ThisParamNoDefault)}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,r){const n=super.parseMaybeDefault(e,t,r);if(n.type==="AssignmentPattern"&&n.typeAnnotation&&n.right.startsuper.parseMaybeAssign(e,t,r),s);if(!i.error)return i.node;const{context:n}=this.state;if(n[n.length-1]===h.j_oTag){n.length-=2}else if(n[n.length-1]===h.j_expr){n.length-=1}}if((n=i)!=null&&n.error||this.isRelational("<")){var a,o;s=s||this.state.clone();let n;const l=this.tryParse(s=>{var i;n=this.flowParseTypeParameterDeclaration();const a=this.forwardNoArrowParamsConversionAt(n,()=>{const s=super.parseMaybeAssign(e,t,r);this.resetStartLocationFromNode(s,n);return s});if(a.type!=="ArrowFunctionExpression"&&(i=a.extra)!=null&&i.parenthesized){s()}const o=this.maybeUnwrapTypeCastExpression(a);o.typeParameters=n;this.resetStartLocationFromNode(o,n);return a},s);let u=null;if(l.node&&this.maybeUnwrapTypeCastExpression(l.node).type==="ArrowFunctionExpression"){if(!l.error&&!l.aborted){if(l.node.async){this.raise(n.start,Ee.UnexpectedTypeParameterBeforeAsyncArrowFunction)}return l.node}u=l.node}if((a=i)!=null&&a.node){this.state=i.failState;return i.node}if(u){this.state=l.failState;return u}if((o=i)!=null&&o.thrown)throw i.error;if(l.thrown)throw l.error;throw this.raise(n.start,Ee.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t,r)}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(u.arrow))this.unexpected();return r});if(t.thrown)return null;if(t.error)this.state=t.failState;e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(){return this.match(u.colon)||super.shouldParseArrow()}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,r){if(r&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t0){this.raise(e.params[t].start,Ee.ThisParamMustBeFirst)}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,r,n){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const n=this.startNodeAt(t,r);n.callee=e;n.arguments=this.parseCallExpressionArguments(u.parenR,false);e=this.finishNode(n,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.isRelational("<")){const s=this.state.clone();const i=this.tryParse(e=>this.parseAsyncArrowWithTypeParameters(t,r)||e(),s);if(!i.error&&!i.aborted)return i.node;const a=this.tryParse(()=>super.parseSubscripts(e,t,r,n),s);if(a.node&&!a.error)return a.node;if(i.node){this.state=i.failState;return i.node}if(a.node){this.state=a.failState;return a.node}throw i.error||a.error}return super.parseSubscripts(e,t,r,n)}parseSubscript(e,t,r,n,s){if(this.match(u.questionDot)&&this.isLookaheadToken_lt()){s.optionalChainMember=true;if(n){s.stop=true;return e}this.next();const i=this.startNodeAt(t,r);i.callee=e;i.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(u.parenL);i.arguments=this.parseCallExpressionArguments(u.parenR,false);i.optional=true;return this.finishCallExpression(i,true)}else if(!n&&this.shouldParseTypes()&&this.isRelational("<")){const n=this.startNodeAt(t,r);n.callee=e;const i=this.tryParse(()=>{n.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew();this.expect(u.parenL);n.arguments=this.parseCallExpressionArguments(u.parenR,false);if(s.optionalChainMember)n.optional=false;return this.finishCallExpression(n,s.optionalChainMember)});if(i.node){if(i.error)this.state=i.failState;return i.node}}return super.parseSubscript(e,t,r,n,s)}parseNewArguments(e){let t=null;if(this.shouldParseTypes()&&this.isRelational("<")){t=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node}e.typeArguments=t;super.parseNewArguments(e)}parseAsyncArrowWithTypeParameters(e,t){const r=this.startNodeAt(e,t);this.parseFunctionParams(r);if(!this.parseArrow(r))return;return this.parseArrowExpression(r,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(u.braceBarR,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(this.state.pos,Ee.UnterminatedFlowComment)}return r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){this.unexpected(null,Ee.NestedFlowComment)}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1){throw this.raise(this.state.pos-2,y.UnterminatedComment)}this.state.pos=e+3;return}super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const r=this.input.charCodeAt(t+e);const n=this.input.charCodeAt(t+e+1);if(r===58&&n===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(r===58&&n!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(this.state.pos,y.UnterminatedComment)}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumBooleanMemberNotInitialized,r,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:r}){const n=r[0].toUpperCase()+r.slice(1);this.raise(e,Ee.EnumInvalidMemberName,r,n,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumDuplicateMemberName,r,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,Ee.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:r}){return this.raise(e,r===null?Ee.EnumInvalidExplicitTypeUnknownSupplied:Ee.EnumInvalidExplicitType,t,r)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:r,memberName:n}){let s=null;switch(r){case"boolean":case"number":case"string":s=Ee.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":s=Ee.EnumInvalidMemberInitializerSymbolType;break;default:s=Ee.EnumInvalidMemberInitializerUnknownType}return this.raise(e,s,t,n,r)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Ee.EnumNumberMemberNotInitialized,t,r)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,Ee.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start;const t=()=>this.match(u.comma)||this.match(u.braceR);switch(this.state.type){case u.num:{const r=this.parseNumericLiteral(this.state.value);if(t()){return{type:"number",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u.string:{const r=this.parseStringLiteral(this.state.value);if(t()){return{type:"string",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u._true:case u._false:{const r=this.parseBooleanLiteral(this.match(u._true));if(t()){return{type:"boolean",pos:r.start,value:r}}return{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;const t=this.parseIdentifier(true);const r=this.eat(u.eq)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:r}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:n}=t;if(n===null){return}if(n!==r){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set;const n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let s=false;while(!this.match(u.braceR)){if(this.eat(u.ellipsis)){s=true;break}const i=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.flowEnumErrorInvalidMemberName(a.start,{enumName:e,memberName:l})}if(r.has(l)){this.flowEnumErrorDuplicateMemberName(a.start,{enumName:e,memberName:l})}r.add(l);const p={enumName:e,explicitType:t,memberName:l};i.id=a;switch(o.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"boolean");i.init=o.value;n.booleanMembers.push(this.finishNode(i,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"number");i.init=o.value;n.numberMembers.push(this.finishNode(i,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"string");i.init=o.value;n.stringMembers.push(this.finishNode(i,"EnumStringMember"));break}case"invalid":{throw this.flowEnumErrorInvalidMemberInitializer(o.pos,p)}case"none":{switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.pos,p);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.pos,p);break;default:n.defaultedMembers.push(this.finishNode(i,"EnumDefaultedMember"))}}}if(!this.match(u.braceR)){this.expect(u.comma)}}return{members:n,hasUnknownMembers:s}}flowEnumStringMembers(e,t,{enumName:r}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:r})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:r})}return e}}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual("of")){if(!this.match(u.name)){throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t})}return t}return null}flowEnumBody(e,{enumName:t,nameLoc:r}){const n=this.flowEnumParseExplicitType({enumName:t});this.expect(u.braceL);const{members:s,hasUnknownMembers:i}=this.flowEnumMembers({enumName:t,explicitType:n});e.hasUnknownMembers=i;switch(n){case"boolean":e.explicitType=true;e.members=s.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=s.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=s.defaultedMembers;this.expect(u.braceR);return this.finishNode(e,"EnumSymbolBody");default:{const n=()=>{e.members=[];this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const i=s.booleanMembers.length;const a=s.numberMembers.length;const o=s.stringMembers.length;const l=s.defaultedMembers.length;if(!i&&!a&&!o&&!l){return n()}else if(!i&&!a){e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")}else if(!a&&!o&&i>=l){for(const e of s.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=s.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody")}else if(!i&&!o&&a>=l){for(const e of s.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=s.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody")}else{this.flowEnumErrorInconsistentMemberValues(r,{enumName:t});return n()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start});return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}});const ve={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"};class State{constructor(){this.strict=void 0;this.curLine=void 0;this.startLoc=void 0;this.endLoc=void 0;this.errors=[];this.potentialArrowAt=-1;this.noArrowAt=[];this.noArrowParamsConversionAt=[];this.maybeInArrowParameters=false;this.inPipeline=false;this.inType=false;this.noAnonFunctionType=false;this.inPropertyName=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.decoratorStack=[[]];this.comments=[];this.trailingComments=[];this.leadingComments=[];this.commentStack=[];this.commentPreviousNode=null;this.pos=0;this.lineStart=0;this.type=u.eof;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.lastTokEnd=0;this.context=[h.brace];this.exprAllowed=true;this.containsEsc=false;this.strictErrors=new Map;this.tokensLength=0}init(e){this.strict=e.strictMode===false?false:e.sourceType==="module";this.curLine=e.startLine;this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new Position(this.curLine,this.pos-this.lineStart)}clone(e){const t=new State;const r=Object.keys(this);for(let n=0,s=r.length;n.",MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"},d.SyntaxError);h.j_oTag=new TokContext("...",true);u.jsxName=new TokenType("jsxName");u.jsxText=new TokenType("jsxText",{beforeExpr:true});u.jsxTagStart=new TokenType("jsxTagStart",{startsExpr:true});u.jsxTagEnd=new TokenType("jsxTagEnd");u.jsxTagStart.updateContext=(e=>{e.push(h.j_expr);e.push(h.j_oTag)});function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var De=e=>(class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,Ie.UnterminatedJsxContent)}const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){if(r===60&&this.state.exprAllowed){++this.state.pos;return this.finishToken(u.jsxTagStart)}return super.getTokenFromCode(r)}e+=this.input.slice(t,this.state.pos);return this.finishToken(u.jsxText,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;r=e?"\n":"\r\n"}else{r=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return r}jsxReadString(e){let t="";let r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===38){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadEntity();r=this.state.pos}else if(isNewLine(n)){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadNewLine(false);r=this.state.pos}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);return this.finishToken(u.string,t)}jsxReadEntity(){let e="";let t=0;let r;let n=this.input[this.state.pos];const s=++this.state.pos;while(this.state.pos0}get hasYield(){return(this.currentFlags()&je)>0}get hasReturn(){return(this.currentFlags()&Ce)>0}get hasIn(){return(this.currentFlags()&Le)>0}}function functionFlags(e,t){return(e?Ne:0)|(t?je:0)}function nonNull(e){if(e==null){throw new Error(`Unexpected ${e} value.`)}return e}function assert(e){if(!e){throw new Error("Assert fail")}}const _e=makeErrorTemplates({AbstractMethodHasImplementation:"Method '%0' cannot have an implementation because it is marked abstract.",AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:"'declare' is not allowed in %0ters.",DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:"Accessibility modifier already seen.",DuplicateModifier:"Duplicate modifier: '%0'.",EmptyHeritageClauseType:"'%0' list cannot be empty.",EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",IncompatibleModifiers:"'%0' modifier cannot be used with '%1' modifier.",IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:"Index signatures cannot have an accessibility modifier ('%0').",IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InvalidModifierOnTypeMember:"'%0' modifier cannot appear on a type member.",InvalidModifiersOrder:"'%0' modifier must precede '%1' modifier.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:"Private elements cannot have an accessibility modifier ('%0').",ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got %0."},d.SyntaxError);function keywordTypeFromName(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return undefined}}function tsIsAccessModifier(e){return e==="private"||e==="public"||e==="protected"}var Me=e=>(class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return this.match(u.name)}tsTokenCanFollowModifier(){return(this.match(u.bracketL)||this.match(u.braceL)||this.match(u.star)||this.match(u.ellipsis)||this.match(u.privateName)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e){if(!this.match(u.name)){return undefined}const t=this.state.value;if(e.indexOf(t)!==-1&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return t}return undefined}tsParseModifiers(e,t,r,n){const s=(t,r,n,s)=>{if(r===n&&e[s]){this.raise(t,_e.InvalidModifiersOrder,n,s)}};const i=(t,r,n,s)=>{if(e[n]&&r===s||e[s]&&r===n){this.raise(t,_e.IncompatibleModifiers,n,s)}};for(;;){const a=this.state.start;const o=this.tsParseModifier(t.concat(r!=null?r:[]));if(!o)break;if(tsIsAccessModifier(o)){if(e.accessibility){this.raise(a,_e.DuplicateAccessibilityModifier)}else{s(a,o,o,"override");s(a,o,o,"static");s(a,o,o,"readonly");e.accessibility=o}}else{if(Object.hasOwnProperty.call(e,o)){this.raise(a,_e.DuplicateModifier,o)}else{s(a,o,"static","readonly");s(a,o,"static","override");s(a,o,"override","readonly");s(a,o,"abstract","override");i(a,o,"declare","override");i(a,o,"static","abstract")}e[o]=true}if(r!=null&&r.includes(o)){this.raise(a,n,o)}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(u.braceR);case"HeritageClauseElement":return this.match(u.braceL);case"TupleElementTypes":return this.match(u.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const r=[];while(!this.tsIsListTerminator(e)){r.push(t())}return r}tsParseDelimitedList(e,t){return nonNull(this.tsParseDelimitedListWorker(e,t,true))}tsParseDelimitedListWorker(e,t,r){const n=[];for(;;){if(this.tsIsListTerminator(e)){break}const s=t();if(s==null){return undefined}n.push(s);if(this.eat(u.comma)){continue}if(this.tsIsListTerminator(e)){break}if(r){this.expect(u.comma)}return undefined}return n}tsParseBracketedList(e,t,r,n){if(!n){if(r){this.expect(u.bracketL)}else{this.expectRelational("<")}}const s=this.tsParseDelimitedList(e,t);if(r){this.expect(u.bracketR)}else{this.expectRelational(">")}return s}tsParseImportType(){const e=this.startNode();this.expect(u._import);this.expect(u.parenL);if(!this.match(u.string)){this.raise(this.state.start,_e.UnsupportedImportTypeArgument)}e.argument=this.parseExprAtom();this.expect(u.parenR);if(this.eat(u.dot)){e.qualifier=this.tsParseEntityName(true)}if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();while(this.eat(u.dot)){const r=this.startNodeAtNode(t);r.left=t;r.right=this.parseIdentifier(e);t=this.finishNode(r,"TSQualifiedName")}return t}tsParseTypeReference(){const e=this.startNode();e.typeName=this.tsParseEntityName(false);if(!this.hasPrecedingLineBreak()&&this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(u._typeof);if(this.match(u._import)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName(true)}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsEatThenParseType(u._extends);e.default=this.tsEatThenParseType(u.eq);return this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<")){return this.tsParseTypeParameters()}}tsParseTypeParameters(){const e=this.startNode();if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),false,true);if(e.params.length===0){this.raise(e.start,_e.EmptyTypeParameters)}return this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type===u._const){this.next();return this.tsParseTypeReference()}return null}tsFillSignature(e,t){const r=e===u.arrow;t.typeParameters=this.tsTryParseTypeParameters();this.expect(u.parenL);t.parameters=this.tsParseBindingListForSignature();if(r){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(u.parenR,41).map(e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(e.start,_e.UnsupportedSignatureParameterKind,e.type)}return e})}tsParseTypeMemberSemicolon(){if(!this.eat(u.comma)&&!this.isLineTerminator()){this.expect(u.semi)}}tsParseSignatureMember(e,t){this.tsFillSignature(u.colon,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();return this.eat(u.name)&&this.match(u.colon)}tsTryParseIndexSignature(e){if(!(this.match(u.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(u.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(u.bracketR);e.parameters=[t];const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(u.question))e.optional=true;const r=e;if(this.match(u.parenL)||this.isRelational("<")){if(t){this.raise(e.start,_e.ReadonlyForMethodSignature)}const n=r;if(n.kind&&this.isRelational("<")){this.raise(this.state.pos,_e.AccesorCannotHaveTypeParameters)}this.tsFillSignature(u.colon,n);this.tsParseTypeMemberSemicolon();if(n.kind==="get"){if(n.parameters.length>0){this.raise(this.state.pos,y.BadGetterArity);if(this.isThisParam(n.parameters[0])){this.raise(this.state.pos,_e.AccesorCannotDeclareThisParameter)}}}else if(n.kind==="set"){if(n.parameters.length!==1){this.raise(this.state.pos,y.BadSetterArity)}else{const e=n.parameters[0];if(this.isThisParam(e)){this.raise(this.state.pos,_e.AccesorCannotDeclareThisParameter)}if(e.type==="Identifier"&&e.optional){this.raise(this.state.pos,_e.SetAccesorCannotHaveOptionalParameter)}if(e.type==="RestElement"){this.raise(this.state.pos,_e.SetAccesorCannotHaveRestParameter)}}if(n.typeAnnotation){this.raise(n.typeAnnotation.start,_e.SetAccesorCannotHaveReturnType)}}else{n.kind="method"}return this.finishNode(n,"TSMethodSignature")}else{const e=r;if(t)e.readonly=true;const n=this.tsTryParseTypeAnnotation();if(n)e.typeAnnotation=n;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(u._new)){const t=this.startNode();this.next();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],_e.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e,false);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;this.parsePropertyName(e,false)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(u.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(u.braceR);return e}tsIsStartOfMappedType(){this.next();if(this.eat(u.plusMin)){return this.isContextual("readonly")}if(this.isContextual("readonly")){this.next()}if(!this.match(u.bracketL)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(u._in)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsExpectThenParseType(u._in);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(u.braceL);if(this.match(u.plusMin)){e.readonly=this.state.value;this.next();this.expectContextual("readonly")}else if(this.eatContextual("readonly")){e.readonly=true}this.expect(u.bracketL);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual("as")?this.tsParseType():null;this.expect(u.bracketR);if(this.match(u.plusMin)){e.optional=this.state.value;this.next();this.expect(u.question)}else if(this.eat(u.question)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(u.braceR);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let r=null;e.elementTypes.forEach(e=>{var n;let{type:s}=e;if(t&&s!=="TSRestType"&&s!=="TSOptionalType"&&!(s==="TSNamedTupleMember"&&e.optional)){this.raise(e.start,_e.OptionalTypeBeforeRequired)}t=t||s==="TSNamedTupleMember"&&e.optional||s==="TSOptionalType";if(s==="TSRestType"){e=e.typeAnnotation;s=e.type}const i=s==="TSNamedTupleMember";r=(n=r)!=null?n:i;if(r!==i){this.raise(e.start,_e.MixedLabeledAndUnlabeledElements)}});return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const r=this.eat(u.ellipsis);let n=this.tsParseType();const s=this.eat(u.question);const i=this.eat(u.colon);if(i){const e=this.startNodeAtNode(n);e.optional=s;if(n.type==="TSTypeReference"&&!n.typeParameters&&n.typeName.type==="Identifier"){e.label=n.typeName}else{this.raise(n.start,_e.InvalidTupleMemberLabel);e.label=n}e.elementType=this.tsParseType();n=this.finishNode(e,"TSNamedTupleMember")}else if(s){const e=this.startNodeAtNode(n);e.typeAnnotation=n;n=this.finishNode(e,"TSOptionalType")}if(r){const r=this.startNodeAt(e,t);r.typeAnnotation=n;n=this.finishNode(r,"TSRestType")}return n}tsParseParenthesizedType(){const e=this.startNode();this.expect(u.parenL);e.typeAnnotation=this.tsParseType();this.expect(u.parenR);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const r=this.startNode();if(e==="TSConstructorType"){r.abstract=!!t;if(t)this.next();this.next()}this.tsFillSignature(u.arrow,r);return this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case u.num:case u.bigint:case u.string:case u._true:case u._false:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case u.name:case u._void:case u._null:{const e=this.match(u._void)?"TSVoidKeyword":this.match(u._null)?"TSNullKeyword":keywordTypeFromName(this.state.value);if(e!==undefined&&this.lookaheadCharCode()!==46){const t=this.startNode();this.next();return this.finishNode(t,e)}return this.tsParseTypeReference()}case u.string:case u.num:case u.bigint:case u._true:case u._false:return this.tsParseLiteralTypeNode();case u.plusMin:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==u.num&&t.type!==u.bigint){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case u._this:return this.tsParseThisTypeOrThisTypePredicate();case u._typeof:return this.tsParseTypeQuery();case u._import:return this.tsParseImportType();case u.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case u.bracketL:return this.tsParseTupleType();case u.parenL:return this.tsParseParenthesizedType();case u.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(u.bracketL)){if(this.match(u.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(u.bracketR);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(u.bracketR);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(e){const t=this.startNode();this.expectContextual(e);t.operator=e;t.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(e==="readonly"){this.tsCheckTypeAnnotationForReadOnly(t)}return this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,_e.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();t.name=this.parseIdentifierName(t.start);e.typeParameter=this.finishNode(t,"TSTypeParameter");return this.finishNode(e,"TSInferType")}tsParseTypeOperatorOrHigher(){const e=["keyof","unique","readonly"].find(e=>this.isContextual(e));return e?this.tsParseTypeOperator(e):this.isContextual("infer")?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}tsParseUnionOrIntersectionType(e,t,r){const n=this.startNode();const s=this.eat(r);const i=[];do{i.push(t())}while(this.eat(r));if(i.length===1&&!s){return i[0]}n.types=i;return this.finishNode(n,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),u.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),u.bitwiseOR)}tsIsStartOfFunctionType(){if(this.isRelational("<")){return true}return this.match(u.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(u.name)||this.match(u._this)){this.next();return true}if(this.match(u.braceL)){let e=1;this.next();while(e>0){if(this.match(u.braceL)){++e}else if(this.match(u.braceR)){--e}this.next()}return true}if(this.match(u.bracketL)){let e=1;this.next();while(e>0){if(this.match(u.bracketL)){++e}else if(this.match(u.bracketR)){--e}this.next()}return true}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(u.parenR)||this.match(u.ellipsis)){return true}if(this.tsSkipParameterStart()){if(this.match(u.colon)||this.match(u.comma)||this.match(u.question)||this.match(u.eq)){return true}if(this.match(u.parenR)){this.next();if(this.match(u.arrow)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const r=this.startNode();const n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(u._this)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){r.parameterName=e;r.asserts=true;r.typeAnnotation=null;e=this.finishNode(r,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,r);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const s=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!s){if(!n){return this.tsParseTypeAnnotation(false,t)}r.parameterName=this.parseIdentifier();r.asserts=n;r.typeAnnotation=null;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsParseTypeAnnotation(false);r.parameterName=s;r.typeAnnotation=i;r.asserts=n;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(u.colon)?this.tsParseTypeOrTypePredicateAnnotation(u.colon):undefined}tsTryParseTypeAnnotation(){return this.match(u.colon)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(u.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(!this.match(u.name)||this.state.value!=="asserts"||this.hasPrecedingLineBreak()){return false}const e=this.state.containsEsc;this.next();if(!this.match(u.name)&&!this.match(u._this)){return false}if(e){this.raise(this.state.lastTokStart,y.InvalidEscapedReservedWord,"asserts")}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType(()=>{if(e)this.expect(u.colon);t.typeAnnotation=this.tsParseType()});return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(u._extends)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsParseNonConditionalType();this.expect(u.question);t.trueType=this.tsParseType();this.expect(u.colon);t.falseType=this.tsParseType();return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual("abstract")&&this.lookahead().type===u._new}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(u._new)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expectRelational(">");e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start;const r=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));if(!r.length){this.raise(t,_e.EmptyHeritageClauseType,e)}return r}tsParseExpressionWithTypeArguments(){const e=this.startNode();e.expression=this.tsParseEntityName(false);if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript interface declaration",te);e.typeParameters=this.tsTryParseTypeParameters();if(this.eat(u._extends)){e.extends=this.tsParseHeritageClause("extends")}const t=this.startNode();t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(t,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript type alias",re);e.typeParameters=this.tsTryParseTypeParameters();e.typeAnnotation=this.tsInType(()=>{this.expect(u.eq);if(this.isContextual("intrinsic")&&this.lookahead().type!==u.dot){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()});this.semicolon();return this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){const t=this.state.inType;this.state.inType=true;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>{e();return this.tsParseType()})}tsParseEnumMember(){const e=this.startNode();e.id=this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(u.eq)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){if(t)e.const=true;e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript enum declaration",t?oe:ne);this.expect(u.braceL);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(u.braceR);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(w);this.expect(u.braceL);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,u.braceR);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkLVal(e.id,"module or namespace declaration",le)}if(this.eat(u.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(k);this.prodParam.enter(we);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual("global")){e.global=true;e.id=this.parseIdentifier()}else if(this.match(u.string)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(u.braceL)){this.scope.enter(k);this.prodParam.enter(we);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkLVal(e.id,"import equals declaration",Q);this.expect(u.eq);const r=this.tsParseModuleReference();if(e.importKind==="type"&&r.type!=="TSExternalModuleReference"){this.raise(r.start,_e.ImportAliasHasImportType)}e.moduleReference=r;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual("require");this.expect(u.parenL);if(!this.match(u.string)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(u.parenR);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const r=e();this.state=t;return r}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const r=e();if(r!==undefined&&r!==false){return r}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let r;if(this.isContextual("let")){t=u._var;r="let"}return this.tsInAmbientContext(()=>{switch(t){case u._function:e.declare=true;return this.parseFunctionStatement(e,false,true);case u._class:e.declare=true;return this.parseClass(e,true,false);case u._const:if(this.match(u._const)&&this.isLookaheadContextual("enum")){this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}case u._var:r=r||this.state.value;return this.parseVarStatement(e,r);case u.name:{const t=this.state.value;if(t==="global"){return this.tsParseAmbientExternalModuleDeclaration(e)}else{return this.tsParseDeclaration(e,t,true)}}}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(u.braceL)){this.scope.enter(k);this.prodParam.enter(we);const r=e;r.global=true;r.id=t;r.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(u._class)||this.match(u.name))){return this.tsParseAbstractDeclaration(e)}break;case"enum":if(r||this.match(u.name)){if(r)this.next();return this.tsParseEnumDeclaration(e,false)}break;case"interface":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseInterfaceDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(u.string)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<")){return undefined}const r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const n=this.tsTryParseAndCatch(()=>{const r=this.startNodeAt(e,t);r.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(r);r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(u.arrow);return r});this.state.maybeInArrowParameters=r;if(!n){return undefined}return this.parseArrowExpression(n,null,true)}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType(()=>this.tsInNoContext(()=>{this.expectRelational("<");return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}));if(e.params.length===0){this.raise(e.start,_e.EmptyTypeArguments)}this.expectRelational(">");return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(u.name)){switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return true}}return false}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.start;const n=this.state.startLoc;let s;let i=false;let a=false;if(e!==undefined){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]);s=t.accessibility;a=t.override;i=t.readonly;if(e===false&&(s||i||a)){this.raise(r,_e.UnexpectedParameterModifier)}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(s||i||a){const e=this.startNodeAt(r,n);if(t.length){e.decorators=t}if(s)e.accessibility=s;if(i)e.readonly=i;if(a)e.override=a;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(e.start,_e.UnsupportedParameterPropertyKind)}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(u.colon)}const n=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"?"TSDeclareMethod":undefined;if(n&&!this.match(u.braceL)&&this.isLineTerminator()){this.finishNode(e,n);return}if(n==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(e.start,_e.DeclareFunctionHasImplementation);if(e.declare){super.parseFunctionBodyAndFinish(e,n,r);return}}super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkLVal(e.id,"function name",se)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(e.typeAnnotation.start,_e.UnexpectedTypeAnnotation)}})}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,r,n,s){if(!this.hasPrecedingLineBreak()&&this.match(u.bang)){this.state.exprAllowed=false;this.next();const n=this.startNodeAt(t,r);n.expression=e;return this.finishNode(n,"TSNonNullExpression")}if(this.isRelational("<")){const i=this.tsTryParseAndCatch(()=>{if(!n&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,r);if(e){return e}}const i=this.startNodeAt(t,r);i.callee=e;const a=this.tsParseTypeArguments();if(a){if(!n&&this.eat(u.parenL)){i.arguments=this.parseCallExpressionArguments(u.parenR,false);this.tsCheckForInvalidTypeCasts(i.arguments);i.typeParameters=a;if(s.optionalChainMember){i.optional=false}return this.finishCallExpression(i,s.optionalChainMember)}else if(this.match(u.backQuote)){const n=this.parseTaggedTemplateExpression(e,t,r,s);n.typeParameters=a;return n}}this.unexpected()});if(i)return i}return super.parseSubscript(e,t,r,n,s)}parseNewArguments(e){if(this.isRelational("<")){const t=this.tsTryParseAndCatch(()=>{const e=this.tsParseTypeArguments();if(!this.match(u.parenL))this.unexpected();return e});if(t){e.typeParameters=t}}super.parseNewArguments(e)}parseExprOp(e,t,r,n){if(nonNull(u._in.binop)>n&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const s=this.startNodeAt(t,r);s.expression=e;const i=this.tsTryNextParseConstantContext();if(i){s.typeAnnotation=i}else{s.typeAnnotation=this.tsNextThenParseType()}this.finishNode(s,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(s,t,r,n)}return super.parseExprOp(e,t,r,n)}checkReservedWord(e,t,r,n){}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(this.match(u.name)||this.match(u.star)||this.match(u.braceL)){let t=this.lookahead();if(this.isContextual("type")&&t.type!==u.comma&&!(t.type===u.name&&t.value==="from")&&t.type!==u.eq){e.importKind="type";this.next();t=this.lookahead()}if(this.match(u.name)&&t.type===u.eq){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(t.start,_e.TypeImportCannotSpecifyDefaultAndNamed)}return t}parseExport(e){if(this.match(u._import)){this.next();if(this.isContextual("type")&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(u.eq)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual("as")){const t=e;this.expectContextual("namespace");t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual("type")&&this.lookahead().type===u.braceL){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===u._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.state.value==="interface"){const e=this.tsParseDeclaration(this.startNode(),this.state.value,true);if(e)return e}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===u._const){const e=this.lookahead();if(e.type===u.name&&e.value==="enum"){const e=this.startNode();this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!e[t]})}parseClassMember(e,t,r){const n=["declare","private","public","protected","override","abstract","readonly"];this.tsParseModifiers(t,n.concat(["static"]));const s=()=>{const s=!!t.static;if(s&&this.eat(u.braceL)){if(this.tsHasSomeModifiers(t,n)){this.raise(this.state.pos,_e.StaticBlockCannotHaveModifier)}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,r,s)}};if(t.declare){this.tsInAmbientContext(s)}else{s()}}parseClassMemberWithIsStatic(e,t,r,n){const s=this.tsTryParseIndexSignature(t);if(s){e.body.push(s);if(t.abstract){this.raise(t.start,_e.IndexSignatureHasAbstract)}if(t.accessibility){this.raise(t.start,_e.IndexSignatureHasAccessibility,t.accessibility)}if(t.declare){this.raise(t.start,_e.IndexSignatureHasDeclare)}if(t.override){this.raise(t.start,_e.IndexSignatureHasOverride)}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(t.start,_e.NonAbstractClassHasAbstractMethod)}if(t.override){if(!r.hadSuperClass){this.raise(t.start,_e.OverrideNotInSubClass)}}super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){const t=this.eat(u.question);if(t)e.optional=true;if(e.readonly&&this.match(u.parenL)){this.raise(e.start,_e.ClassMethodHasReadonly)}if(e.declare&&this.match(u.parenL)){this.raise(e.start,_e.ClassMethodHasDeclare)}}parseExpressionStatement(e,t){const r=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return r||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,r,n){if(!n||!this.match(u.question)){return super.parseConditional(e,t,r,n)}const s=this.tryParse(()=>super.parseConditional(e,t,r));if(!s.node){n.start=s.error.pos||this.state.start;return e}if(s.error)this.state=s.failState;return s.node}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start;const r=this.state.startLoc;const n=this.eatContextual("declare");if(n&&(this.isContextual("declare")||!this.shouldParseExportDeclaration())){throw this.raise(this.state.start,_e.ExpectedAmbientAfterExportDeclare)}let s;if(this.match(u.name)){s=this.tsTryParseExportDeclaration()}if(!s){s=super.parseExportDeclaration(e)}if(s&&(s.type==="TSInterfaceDeclaration"||s.type==="TSTypeAliasDeclaration"||n)){e.exportKind="type"}if(s&&n){this.resetStartLocation(s,t,r);s.declare=true}return s}parseClassId(e,t,r){if((!t||r)&&this.isContextual("implements")){return}super.parseClassId(e,t,r,e.declare?se:H);const n=this.tsTryParseTypeParameters();if(n)e.typeParameters=n}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(u.bang)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(u.eq)){this.raise(this.state.start,_e.DeclareClassFieldHasInitializer)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(e.start,_e.PrivateElementHasAbstract)}if(e.accessibility){this.raise(e.start,_e.PrivateElementHasAccessibility,e.accessibility)}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,n,s,i){const a=this.tsTryParseTypeParameters();if(a&&s){this.raise(a.start,_e.ConstructorHasTypeParameters)}if(t.declare&&(t.kind==="get"||t.kind==="set")){this.raise(t.start,_e.DeclareAccessor,t.kind)}if(a)t.typeParameters=a;super.pushClassMethod(e,t,r,n,s,i)}pushClassPrivateMethod(e,t,r,n){const s=this.tsTryParseTypeParameters();if(s)t.typeParameters=s;super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.tsParseTypeArguments()}if(this.eatContextual("implements")){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&this.eat(u.bang)){e.definite=true}const r=this.tsTryParseTypeAnnotation();if(r){e.id.typeAnnotation=r;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(u.colon)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,r,n,s,i,a,o;let l;let p;let f;if(this.hasPlugin("jsx")&&(this.match(u.jsxTagStart)||this.isRelational("<"))){l=this.state.clone();p=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!p.error)return p.node;const{context:t}=this.state;if(t[t.length-1]===h.j_oTag){t.length-=2}else if(t[t.length-1]===h.j_expr){t.length-=1}}if(!((t=p)!=null&&t.error)&&!this.isRelational("<")){return super.parseMaybeAssign(...e)}let c;l=l||this.state.clone();const d=this.tryParse(t=>{var r,n;c=this.tsParseTypeParameters();const s=super.parseMaybeAssign(...e);if(s.type!=="ArrowFunctionExpression"||(r=s.extra)!=null&&r.parenthesized){t()}if(((n=c)==null?void 0:n.params.length)!==0){this.resetStartLocationFromNode(s,c)}s.typeParameters=c;return s},l);if(!d.error&&!d.aborted)return d.node;if(!p){assert(!this.hasPlugin("jsx"));f=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!f.error)return f.node}if((r=p)!=null&&r.node){this.state=p.failState;return p.node}if(d.node){this.state=d.failState;return d.node}if((n=f)!=null&&n.node){this.state=f.failState;return f.node}if((s=p)!=null&&s.thrown)throw p.error;if(d.thrown)throw d.error;if((i=f)!=null&&i.thrown)throw f.error;throw((a=p)==null?void 0:a.error)||d.error||((o=f)==null?void 0:o.error)}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.isRelational("<")){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(u.colon);if(this.canInsertSemicolon()||!this.match(u.arrow))e();return t});if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(e.start,_e.PatternIsOptional)}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}toAssignable(e,t=false){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...r){var n;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...r);return;case"TSAsExpression":case"TSTypeAssertion":if(!r[0]&&t!=="parenthesized expression"&&!((n=e.extra)!=null&&n.parenthesized)){this.raise(e.start,y.InvalidLhs,t);break}this.checkLVal(e.expression,"parenthesized expression",...r);return;case"TSNonNullExpression":this.checkLVal(e.expression,t,...r);return;default:super.checkLVal(e,t,...r);return}}parseBindingAtom(){switch(this.state.type){case u._this:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(u.parenL)){const r=super.parseMaybeDecoratorArguments(e);r.typeParameters=t;return r}this.unexpected(this.state.start,u.parenL)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(u.comma)&&this.lookaheadCharCode()===e){this.next()}else{super.checkCommaAfterRest(e)}}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.bang)||this.match(u.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.startthis.tsParseTypeArguments());if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const n=r[0];const s=n&&this.isThisParam(n);return s?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,...t){const r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,...t)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e){if(this.match(u._class)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual("interface")){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(e.start,_e.NonClassMethodPropertyHasAbstractModifer);this.next();return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,u._class)}}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(t.start,_e.AbstractMethodHasImplementation,e.type==="Identifier"?e.name:`[${this.input.slice(e.start,e.end)}]`)}}return t}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}});u.placeholder=new TokenType("%%",{startsExpr:true});const Fe=makeErrorTemplates({ClassNameIsRequired:"A class name is required."},d.SyntaxError);var Be=e=>(class extends e{parsePlaceholder(e){if(this.match(u.placeholder)){const t=this.startNode();this.next();this.assertNoSpace("Unexpected space in placeholder.");t.name=super.parseIdentifier(true);this.assertNoSpace("Unexpected space in placeholder.");this.expect(u.placeholder);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(u.placeholder,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){if(e.type!=="Placeholder")super.checkLVal(...arguments)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern";return e}return super.toAssignable(...arguments)}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual("let")){return false}if(e)return false;const t=this.lookahead();if(t.type===u.placeholder){return true}return false}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(u.colon)){const r=e;r.label=this.finishPlaceholder(t,"Identifier");this.next();r.body=this.parseStatement("label");return this.finishNode(r,"LabeledStatement")}this.semicolon();e.name=t.name;return this.finishPlaceholder(e,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(e,t,r){const n=t?"ClassDeclaration":"ClassExpression";this.next();this.takeDecorators(e);const s=this.state.strict;const i=this.parsePlaceholder("Identifier");if(i){if(this.match(u._extends)||this.match(u.placeholder)||this.match(u.braceL)){e.id=i}else if(r||!t){e.id=null;e.body=this.finishPlaceholder(i,"ClassBody");return this.finishNode(e,n)}else{this.unexpected(null,Fe.ClassNameIsRequired)}}else{this.parseClassId(e,t,r)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,s);return this.finishNode(e,n)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(u.comma)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const r=this.startNode();r.exported=t;e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(u._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(u.placeholder.label,this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter(e=>e.exported.type==="Placeholder")}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual("from")&&!this.match(u.comma)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const r=this.startNodeAtNode(t);r.local=t;this.finishNode(r,"ImportDefaultSpecifier");e.specifiers.push(r);if(this.eat(u.comma)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual("from");e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}});var ke=e=>(class extends e{parseV8Intrinsic(){if(this.match(u.modulo)){const e=this.state.start;const t=this.startNode();this.eat(u.modulo);if(this.match(u.name)){const e=this.parseIdentifierName(this.state.start);const r=this.createIdentifier(t,e);r.type="V8IntrinsicIdentifier";if(this.match(u.parenL)){return r}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}});function hasPlugin(e,t){return e.some(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}})}function getPluginOption(e,t,r){const n=e.find(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}});if(n&&Array.isArray(n)){return n[1][r]}return null}const Re=["minimal","smart","fsharp"];const Ke=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option,"+" whose value must be a boolean. If you are migrating from"+" Babylon/Babel 6 or want to use the old decorators proposal, you"+" should use the 'decorators-legacy' plugin instead of 'decorators'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")&&!Re.includes(getPluginOption(e,"pipelineOperator","proposal"))){throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: "+Re.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}}if(hasPlugin(e,"recordAndTuple")&&!Ke.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Ke.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const Ve={estree:T,jsx:De,flow:xe,typescript:Me,v8intrinsic:ke,placeholders:Be};const Xe=Object.keys(Ve);const Ye={sourceType:"script",sourceFilename:undefined,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false};function getOptions(e){const t={};for(const r of Object.keys(Ye)){t[r]=e&&e[r]!=null?e[r]:Ye[r]}return t}var Je=function isDigit(e){return e>=48&&e<=57};const Ue=new Set([103,109,115,105,121,117,100]);const We={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]};const qe={};qe.bin=[48,49];qe.oct=[...qe.bin,50,51,52,53,54,55];qe.dec=[...qe.oct,56,57];qe.hex=[...qe.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends ParserError{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(this.state))}this.state.lastTokEnd=this.state.end;this.state.lastTokStart=this.state.start;this.state.lastTokEndLoc=this.state.endLoc;this.state.lastTokStartLoc=this.state.startLoc;this.nextToken()}eat(e){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){c.lastIndex=e;const t=c.exec(this.input);return e+t[0].length}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(t,e));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(!e.preserveSpace)this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(u.eof);return}if(e===h.template){this.readTmplToken()}else{this.getTokenFromCode(this.codePointAtPos(this.state.pos))}}pushComment(e,t,r,n,s,i){const a={type:e?"CommentBlock":"CommentLine",value:t,start:r,end:n,loc:new SourceLocation(s,i)};if(this.options.tokens)this.pushToken(a);this.state.comments.push(a);this.addComment(a)}skipBlockComment(){let e;if(!this.isLookahead)e=this.state.curPosition();const t=this.state.pos;const r=this.input.indexOf("*/",this.state.pos+2);if(r===-1)throw this.raise(t,y.UnterminatedComment);this.state.pos=r+2;f.lastIndex=t;let n;while((n=f.exec(this.input))&&n.index=48&&t<=57){throw this.raise(this.state.pos,y.UnexpectedDigitAfterHash)}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(this.state.pos,t===123?y.RecordExpressionHashIncorrectStartSyntaxType:y.TupleExpressionHashIncorrectStartSyntaxType)}this.state.pos+=2;if(t===123){this.finishToken(u.braceHashL)}else{this.finishToken(u.bracketHashL)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(u.privateName,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(u.privateName,this.readWord1())}else{this.finishOp(u.hash,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(u.ellipsis)}else{++this.state.pos;this.finishToken(u.dot)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(u.slashAssign,2)}else{this.finishOp(u.slash,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos=48&&t<=57)){this.state.pos+=2;this.finishToken(u.questionDot)}else{++this.state.pos;this.finishToken(u.question)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(u.parenL);return;case 41:++this.state.pos;this.finishToken(u.parenR);return;case 59:++this.state.pos;this.finishToken(u.semi);return;case 44:++this.state.pos;this.finishToken(u.comma);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,y.TupleExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.bracketBarL)}else{++this.state.pos;this.finishToken(u.bracketL)}return;case 93:++this.state.pos;this.finishToken(u.bracketR);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,y.RecordExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.braceBarL)}else{++this.state.pos;this.finishToken(u.braceL)}return;case 125:++this.state.pos;this.finishToken(u.braceR);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(u.doubleColon,2)}else{++this.state.pos;this.finishToken(u.colon)}return;case 63:this.readToken_question();return;case 96:++this.state.pos;this.finishToken(u.backQuote);return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:case 62:this.readToken_lt_gt(e);return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(u.tilde,1);return;case 64:++this.state.pos;this.finishToken(u.at);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(this.state.pos,y.InvalidOrUnexpectedToken,String.fromCodePoint(e))}finishOp(e,t){const r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t;this.finishToken(e,r)}readRegexp(){const e=this.state.start+1;let t,r;let{pos:n}=this.state;for(;;++n){if(n>=this.length){throw this.raise(e,y.UnterminatedRegExp)}const s=this.input.charCodeAt(n);if(isNewLine(s)){throw this.raise(e,y.UnterminatedRegExp)}if(t){t=false}else{if(s===91){r=true}else if(s===93&&r){r=false}else if(s===47&&!r){break}t=s===92}}const s=this.input.slice(e,n);++n;let i="";while(n-1||i.indexOf(t)>-1||Number.isNaN(t)){this.raise(this.state.pos,y.UnexpectedNumericSeparator)}if(!n){this.raise(this.state.pos,y.NumericSeparatorInEscapeSequence)}++this.state.pos;continue}if(t>=97){u=t-97+10}else if(t>=65){u=t-65+10}else if(Je(t)){u=t-48}else{u=Infinity}if(u>=e){if(this.options.errorRecovery&&u<=9){u=0;this.raise(this.state.start+s+2,y.InvalidDigit,e)}else if(r){u=0;o=true}else{break}}++this.state.pos;l=l*e+u}if(this.state.pos===s||t!=null&&this.state.pos-s!==t||o){return null}return l}readRadixNumber(e){const t=this.state.pos;let r=false;this.state.pos+=2;const n=this.readInt(e);if(n==null){this.raise(this.state.start+2,y.InvalidDigit,e)}const s=this.input.charCodeAt(this.state.pos);if(s===110){++this.state.pos;r=true}else if(s===109){throw this.raise(t,y.InvalidDecimal)}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,y.NumberIdentifier)}if(r){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(u.bigint,e);return}this.finishToken(u.num,n)}readNumber(e){const t=this.state.pos;let r=false;let n=false;let s=false;let i=false;let a=false;if(!e&&this.readInt(10)===null){this.raise(t,y.InvalidNumber)}const o=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(o){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(t,y.StrictOctalLiteral);if(!this.state.strict){const r=e.indexOf("_");if(r>0){this.raise(r+t,y.ZeroDigitNumericSeparator)}}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!a){++this.state.pos;this.readInt(10);r=true;l=this.input.charCodeAt(this.state.pos)}if((l===69||l===101)&&!a){l=this.input.charCodeAt(++this.state.pos);if(l===43||l===45){++this.state.pos}if(this.readInt(10)===null){this.raise(t,y.InvalidOrMissingExponent)}r=true;i=true;l=this.input.charCodeAt(this.state.pos)}if(l===110){if(r||o){this.raise(t,y.InvalidBigIntLiteral)}++this.state.pos;n=true}if(l===109){this.expectPlugin("decimal",this.state.pos);if(i||o){this.raise(t,y.InvalidDecimal)}++this.state.pos;s=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,y.NumberIdentifier)}const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n){this.finishToken(u.bigint,p);return}if(s){this.finishToken(u.decimal,p);return}const f=a?parseInt(p,8):parseFloat(p);this.finishToken(u.num,f)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let r;if(t===123){const t=++this.state.pos;r=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(r!==null&&r>1114111){if(e){this.raise(t,y.InvalidCodePoint)}else{return null}}}else{r=this.readHexChar(4,false,e)}return r}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===92){t+=this.input.slice(r,this.state.pos);t+=this.readEscapedChar(false);r=this.state.pos}else if(n===8232||n===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(n)){throw this.raise(this.state.start,y.UnterminatedString)}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);this.finishToken(u.string,t)}readTmplToken(){let e="",t=this.state.pos,r=false;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedTemplate)}const n=this.input.charCodeAt(this.state.pos);if(n===96||n===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(u.template)){if(n===36){this.state.pos+=2;this.finishToken(u.dollarBraceL);return}else{++this.state.pos;this.finishToken(u.backQuote);return}}e+=this.input.slice(t,this.state.pos);this.finishToken(u.template,r?null:e);return}if(n===92){e+=this.input.slice(t,this.state.pos);const n=this.readEscapedChar(true);if(n===null){r=true}else{e+=n}t=this.state.pos}else if(isNewLine(n)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(n){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(n);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,t){if(this.state.strict&&!this.state.strictErrors.has(e)){this.raise(e,t)}else{this.state.strictErrors.set(e,t)}}readEscapedChar(e){const t=!e;const r=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(r){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:this.state.lineStart=this.state.pos;++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(e){return null}else{this.recordStrictModeErrors(this.state.pos-1,y.StrictNumericEscape)}default:if(r>=48&&r<=55){const t=this.state.pos-1;const r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let n=r[0];let s=parseInt(n,8);if(s>255){n=n.slice(0,-1);s=parseInt(n,8)}this.state.pos+=n.length-1;const i=this.input.charCodeAt(this.state.pos);if(n!=="0"||i===56||i===57){if(e){return null}else{this.recordStrictModeErrors(t,y.StrictNumericEscape)}}return String.fromCharCode(s)}return String.fromCharCode(r)}}readHexChar(e,t,r){const n=this.state.pos;const s=this.readInt(16,e,t,false);if(s===null){if(r){this.raise(n,y.InvalidEscapeSequence)}else{this.state.pos=n-1}}return s}readWord1(e){this.state.containsEsc=false;let t="";const r=this.state.pos;let n=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos{this.raise(r,t);let n=e.length-2;let s=e[n];while(s.canBeArrowParameterDeclaration()){s.clearDeclarationError(r);s=e[--n]}})}}function newParameterDeclarationScope(){return new ExpressionScope(He)}function newArrowHeadScope(){return new ArrowHeadParsingScope(Ge)}function newAsyncArrowScope(){return new ArrowHeadParsingScope($e)}function newExpressionScope(){return new ExpressionScope}class UtilParser extends Tokenizer{addExtra(e,t,r){if(!e)return;const n=e.extra=e.extra||{};n[t]=r}isRelational(e){return this.match(u.relational)&&this.state.value===e}expectRelational(e){if(this.isRelational(e)){this.next()}else{this.unexpected(null,u.relational)}}isContextual(e){return this.match(u.name)&&this.state.value===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;if(this.input.slice(e,r)===t){const e=this.input.charCodeAt(r);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)&&this.eat(u.name)}expectContextual(e,t){if(!this.eatContextual(e))this.unexpected(null,t)}canInsertSemicolon(){return this.match(u.eof)||this.match(u.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return p.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){return p.test(this.input.slice(this.state.end,this.nextTokenStart()))}isLineTerminator(){return this.eat(u.semi)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(u.semi))return;this.raise(this.state.lastTokEnd,y.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){if(this.state.start>this.state.lastTokEnd){this.raise(this.state.lastTokEnd,{code:d.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}}unexpected(e,t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){if(t instanceof TokenType){t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${t.label}"`}}throw this.raise(e!=null?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e)){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`)}return true}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e))){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:e},`This experimental syntax requires enabling one of the following parser plugin(s): '${e.join(", ")}'`)}}tryParse(e,t=this.state.clone()){const r={node:null};try{const n=e((e=null)=>{r.node=e;throw r});if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:n,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:n,error:null,thrown:false,aborted:false,failState:null}}catch(e){const n=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:n}}if(e===r){return{node:r.node,error:null,thrown:false,aborted:true,failState:n}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssign:r,doubleProto:n}=e;if(!t)return r>=0||n>=0;if(r>=0){this.unexpected(r)}if(n>=0){this.raise(n,y.DuplicateProto)}}isLiteralPropertyName(){return this.match(u.name)||!!this.state.type.keyword||this.match(u.string)||this.match(u.num)||this.match(u.bigint)||this.match(u.decimal)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const n=this.inModule;this.inModule=e;const s=this.scope;const i=this.getScopeHandler();this.scope=new i(this.raise.bind(this),this.inModule);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this.raise.bind(this));const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this.raise.bind(this));return()=>{this.state.labels=t;this.exportedIdentifiers=r;this.inModule=n;this.scope=s;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=we;if(this.hasPlugin("topLevelAwait")&&this.inModule){e|=Ne}this.scope.enter(j);this.prodParam.enter(e)}}class ExpressionErrors{constructor(){this.shorthandAssign=-1;this.doubleProto=-1}}class Node{constructor(e,t,r){this.type=void 0;this.start=void 0;this.end=void 0;this.loc=void 0;this.range=void 0;this.leadingComments=void 0;this.trailingComments=void 0;this.innerComments=void 0;this.extra=void 0;this.type="";this.start=t;this.end=0;this.loc=new SourceLocation(r);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}__clone(){const e=new Node;const t=Object.keys(this);for(let r=0,n=t.length;r{return e.type==="ParenthesizedExpression"?Qe(e.expression):e};class LValParser extends NodeUtils{toAssignable(e,t=false){var r,n;let s=undefined;if(e.type==="ParenthesizedExpression"||(r=e.extra)!=null&&r.parenthesized){s=Qe(e);if(t){if(s.type==="Identifier"){this.expressionScope.recordParenthesizedIdentifierError(e.start,y.InvalidParenthesizedAssignment)}else if(s.type!=="MemberExpression"){this.raise(e.start,y.InvalidParenthesizedAssignment)}}else{this.raise(e.start,y.InvalidParenthesizedAssignment)}}switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":break;case"ObjectExpression":e.type="ObjectPattern";for(let r=0,n=e.properties.length,s=n-1;rthis.parseExpressionBase(t))}return this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start;const r=this.state.startLoc;const n=this.parseMaybeAssign(e);if(this.match(u.comma)){const s=this.startNodeAt(t,r);s.expressions=[n];while(this.eat(u.comma)){s.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(s.expressions);return this.finishNode(s,"SequenceExpression")}return n}parseMaybeAssignDisallowIn(e,t,r){return this.disallowInAnd(()=>this.parseMaybeAssign(e,t,r))}parseMaybeAssignAllowIn(e,t,r){return this.allowInAnd(()=>this.parseMaybeAssign(e,t,r))}parseMaybeAssign(e,t,r){const n=this.state.start;const s=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,n,s)}return e}}let i;if(e){i=false}else{e=new ExpressionErrors;i=true}if(this.match(u.parenL)||this.match(u.name)){this.state.potentialArrowAt=this.state.start}let a=this.parseMaybeConditional(e,r);if(t){a=t.call(this,a,n,s)}if(this.state.type.isAssign){const t=this.startNodeAt(n,s);const r=this.state.value;t.operator=r;if(this.match(u.eq)){t.left=this.toAssignable(a,true);e.doubleProto=-1}else{t.left=a}if(e.shorthandAssign>=t.left.start){e.shorthandAssign=-1}this.checkLVal(a,"assignment expression");this.next();t.right=this.parseMaybeAssign();return this.finishNode(t,"AssignmentExpression")}else if(i){this.checkExpressionErrors(e,true)}return a}parseMaybeConditional(e,t){const r=this.state.start;const n=this.state.startLoc;const s=this.state.potentialArrowAt;const i=this.parseExprOps(e);if(this.shouldExitDescending(i,s)){return i}return this.parseConditional(i,r,n,t)}parseConditional(e,t,r,n){if(this.eat(u.question)){const n=this.startNodeAt(t,r);n.test=e;n.consequent=this.parseMaybeAssignAllowIn();this.expect(u.colon);n.alternate=this.parseMaybeAssign();return this.finishNode(n,"ConditionalExpression")}return e}parseExprOps(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const s=this.parseMaybeUnary(e);if(this.shouldExitDescending(s,n)){return s}return this.parseExprOp(s,t,r,-1)}parseExprOp(e,t,r,n){let s=this.state.type.binop;if(s!=null&&(this.prodParam.hasIn||!this.match(u._in))){if(s>n){const i=this.state.type;if(i===u.pipeline){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.state.inPipeline=true;this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,r);a.left=e;a.operator=this.state.value;const o=i===u.logicalOR||i===u.logicalAND;const l=i===u.nullishCoalescing;if(l){s=u.logicalAND.binop}this.next();if(i===u.pipeline&&this.getPluginOption("pipelineOperator","proposal")==="minimal"){if(this.match(u.name)&&this.state.value==="await"&&this.prodParam.hasAwait){throw this.raise(this.state.start,y.UnexpectedAwaitAfterPipelineBody)}}a.right=this.parseExprOpRightExpr(i,s);this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");const p=this.state.type;if(l&&(p===u.logicalOR||p===u.logicalAND)||o&&p===u.nullishCoalescing){throw this.raise(this.state.start,y.MixingCoalesceWithLogical)}return this.parseExprOp(a,t,r,n)}}return e}parseExprOpRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;switch(e){case u.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"smart":return this.withTopicPermittingContext(()=>{return this.parseSmartPipelineBody(this.parseExprOpBaseRightExpr(e,t),r,n)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(t)})}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),r,n,e.rightAssociative?t-1:t)}checkExponentialAfterUnary(e){if(this.match(u.exponent)){this.raise(e.argument.start,y.UnexpectedTokenUnaryExponentiation)}}parseMaybeUnary(e,t){const r=this.state.start;const n=this.state.startLoc;const s=this.isContextual("await");if(s&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r,n);if(!t)this.checkExponentialAfterUnary(e);return e}if(this.isContextual("module")&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak()){return this.parseModuleExpression()}const i=this.match(u.incDec);const a=this.startNode();if(this.state.type.prefix){a.operator=this.state.value;a.prefix=true;if(this.match(u._throw)){this.expectPlugin("throwExpressions")}const r=this.match(u._delete);this.next();a.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&r){const e=a.argument;if(e.type==="Identifier"){this.raise(a.start,y.StrictDelete)}else if(this.hasPropertyAsPrivateName(e)){this.raise(a.start,y.DeletePrivateField)}}if(!i){if(!t)this.checkExponentialAfterUnary(a);return this.finishNode(a,"UnaryExpression")}}const o=this.parseUpdate(a,i,e);if(s){const e=this.hasPlugin("v8intrinsic")?this.state.type.startsExpr:this.state.type.startsExpr&&!this.match(u.modulo);if(e&&!this.isAmbiguousAwait()){this.raiseOverwrite(r,this.hasPlugin("topLevelAwait")?y.AwaitNotInAsyncContext:y.AwaitNotInAsyncFunction);return this.parseAwait(r,n)}}return o}parseUpdate(e,t,r){if(t){this.checkLVal(e.argument,"prefix operation");return this.finishNode(e,"UpdateExpression")}const n=this.state.start;const s=this.state.startLoc;let i=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,false))return i;while(this.state.type.postfix&&!this.canInsertSemicolon()){const e=this.startNodeAt(n,s);e.operator=this.state.value;e.prefix=false;e.argument=i;this.checkLVal(i,"postfix operation");this.next();i=this.finishNode(e,"UpdateExpression")}return i}parseExprSubscripts(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const s=this.parseExprAtom(e);if(this.shouldExitDescending(s,n)){return s}return this.parseSubscripts(s,t,r)}parseSubscripts(e,t,r,n){const s={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,r,n,s);s.maybeAsyncArrow=false}while(!s.stop);return e}parseSubscript(e,t,r,n,s){if(!n&&this.eat(u.doubleColon)){return this.parseBind(e,t,r,n,s)}else if(this.match(u.backQuote)){return this.parseTaggedTemplateExpression(e,t,r,s)}let i=false;if(this.match(u.questionDot)){if(n&&this.lookaheadCharCode()===40){s.stop=true;return e}s.optionalChainMember=i=true;this.next()}if(!n&&this.match(u.parenL)){return this.parseCoverCallAndAsyncArrowHead(e,t,r,s,i)}else if(i||this.match(u.bracketL)||this.eat(u.dot)){return this.parseMember(e,t,r,s,i)}else{s.stop=true;return e}}parseMember(e,t,r,n,s){const i=this.startNodeAt(t,r);const a=this.eat(u.bracketL);i.object=e;i.computed=a;const o=!a&&this.match(u.privateName)&&this.state.value;const l=a?this.parseExpression():o?this.parsePrivateName():this.parseIdentifier(true);if(o!==false){if(i.object.type==="Super"){this.raise(t,y.SuperPrivateField)}this.classScope.usePrivateName(o,l.start)}i.property=l;if(a){this.expect(u.bracketR)}if(n.optionalChainMember){i.optional=s;return this.finishNode(i,"OptionalMemberExpression")}else{return this.finishNode(i,"MemberExpression")}}parseBind(e,t,r,n,s){const i=this.startNodeAt(t,r);i.object=e;i.callee=this.parseNoCallExpr();s.stop=true;return this.parseSubscripts(this.finishNode(i,"BindExpression"),t,r,n)}parseCoverCallAndAsyncArrowHead(e,t,r,n,s){const i=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,r);o.callee=e;if(n.maybeAsyncArrow){this.expressionScope.enter(newAsyncArrowScope());a=new ExpressionErrors}if(n.optionalChainMember){o.optional=s}if(s){o.arguments=this.parseCallExpressionArguments(u.parenR)}else{o.arguments=this.parseCallExpressionArguments(u.parenR,e.type==="Import",e.type!=="Super",o,a)}this.finishCallExpression(o,n.optionalChainMember);if(n.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!s){n.stop=true;this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),o)}else{if(n.maybeAsyncArrow){this.checkExpressionErrors(a,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=i;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,n){const s=this.startNodeAt(t,r);s.tag=e;s.quasi=this.parseTemplate(true);if(n.optionalChainMember){this.raise(t,y.OptionalChainingNoTemplate)}return this.finishNode(s,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(e.start,y.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument")}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(t.start,y.ImportCallSpreadArgument)}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,s){const i=[];let a=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(this.state.lastTokStart,y.ImportCallArgumentTrailingComma)}if(n){this.addExtra(n,"trailingComma",this.state.lastTokStart)}this.next();break}}i.push(this.parseExprListItem(false,s,{start:0},r))}this.state.inFSharpPipelineDirectBody=o;return i}shouldParseAsyncArrow(){return this.match(u.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;this.expect(u.arrow);this.parseArrowExpression(e,t.arguments,true,(r=t.extra)==null?void 0:r.trailingComma);return e}parseNoCallExpr(){const e=this.state.start;const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,true)}parseExprAtom(e){let t;switch(this.state.type){case u._super:return this.parseSuper();case u._import:t=this.startNode();this.next();if(this.match(u.dot)){return this.parseImportMetaProperty(t)}if(!this.match(u.parenL)){this.raise(this.state.lastTokStart,y.UnsupportedImport)}return this.finishNode(t,"Import");case u._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case u.name:{const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const r=this.parseIdentifier();if(!t&&r.name==="async"&&!this.canInsertSemicolon()){if(this.match(u._function)){this.next();return this.parseFunction(this.startNodeAtNode(r),undefined,true)}else if(this.match(u.name)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(r)}else{return r}}else if(this.match(u._do)){return this.parseDo(true)}}if(e&&this.match(u.arrow)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(r),[r],false)}return r}case u._do:{return this.parseDo(false)}case u.slash:case u.slashAssign:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case u.num:return this.parseNumericLiteral(this.state.value);case u.bigint:return this.parseBigIntLiteral(this.state.value);case u.decimal:return this.parseDecimalLiteral(this.state.value);case u.string:return this.parseStringLiteral(this.state.value);case u._null:return this.parseNullLiteral();case u._true:return this.parseBooleanLiteral(true);case u._false:return this.parseBooleanLiteral(false);case u.parenL:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case u.bracketBarL:case u.bracketHashL:{return this.parseArrayLike(this.state.type===u.bracketBarL?u.bracketBarR:u.bracketR,false,true,e)}case u.bracketL:{return this.parseArrayLike(u.bracketR,true,false,e)}case u.braceBarL:case u.braceHashL:{return this.parseObjectLike(this.state.type===u.braceBarL?u.braceBarR:u.braceR,false,true,e)}case u.braceL:{return this.parseObjectLike(u.braceR,false,false,e)}case u._function:return this.parseFunctionOrFunctionSent();case u.at:this.parseDecorators();case u._class:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case u._new:return this.parseNewOrNewTarget();case u.backQuote:return this.parseTemplate(false);case u.doubleColon:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(e.start,y.UnsupportedBind)}}case u.privateName:{const e=this.state.start;const r=this.state.value;t=this.parsePrivateName();if(this.match(u._in)){this.expectPlugin("privateIn");this.classScope.usePrivateName(r,t.start)}else if(this.hasPlugin("privateIn")){this.raise(this.state.start,y.PrivateInExpectedIn,r)}else{throw this.unexpected(e)}return t}case u.hash:{if(this.state.inPipeline){t=this.startNode();if(this.getPluginOption("pipelineOperator","proposal")!=="smart"){this.raise(t.start,y.PrimaryTopicRequiresSmartPipeline)}this.next();if(!this.primaryTopicReferenceIsAllowedInCurrentTopicContext()){this.raise(t.start,y.PrimaryTopicNotAllowed)}this.registerTopicReference();return this.finishNode(t,"PipelinePrimaryTopicReference")}}case u.relational:{if(this.state.value==="<"){const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}}}default:throw this.unexpected()}}parseAsyncArrowUnaryFunction(e){const t=this.startNodeAtNode(e);this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const r=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(this.state.pos,y.LineTerminatorBeforeArrow)}this.expect(u.arrow);this.parseArrowExpression(t,r,true);return t}parseDo(e){this.expectPlugin("doExpressions");if(e){this.expectPlugin("asyncDoExpressions")}const t=this.startNode();t.async=e;this.next();const r=this.state.labels;this.state.labels=[];if(e){this.prodParam.enter(Ne);t.body=this.parseBlock();this.prodParam.exit()}else{t.body=this.parseBlock()}this.state.labels=r;return this.finishNode(t,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(u.parenL)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,y.SuperNotAllowed)}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,y.UnexpectedSuper)}if(!this.match(u.parenL)&&!this.match(u.bracketL)&&!this.match(u.dot)){this.raise(e.start,y.UnsupportedSuper)}return this.finishNode(e,"Super")}parseMaybePrivateName(e){const t=this.match(u.privateName);if(t){if(!e){this.raise(this.state.start+1,y.UnexpectedPrivateField)}return this.parsePrivateName()}else{return this.parseIdentifier(true)}}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(this.state.start+1,new Position(this.state.curLine,this.state.start+1-this.state.lineStart));const r=this.state.value;this.next();e.id=this.createIdentifier(t,r);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;if(t.name==="function"&&r==="sent"){if(this.isContextual(r)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}}const n=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==r||n){this.raise(e.property.start,y.UnsupportedMetaProperty,t.name,r)}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual("meta")){if(!this.inModule){this.raise(t.start,m.ImportMetaOutsideModule)}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){this.addExtra(r,"rawValue",e);this.addExtra(r,"raw",this.input.slice(r.start,this.state.end));r.value=e;this.next();return this.finishNode(r,t)}parseLiteral(e,t){const r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start;const r=this.state.startLoc;let n;this.next();this.expressionScope.enter(newArrowHeadScope());const s=this.state.maybeInArrowParameters;const i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const a=this.state.start;const o=this.state.startLoc;const l=[];const p=new ExpressionErrors;const f={start:0};let c=true;let d;let y;while(!this.match(u.parenR)){if(c){c=false}else{this.expect(u.comma,f.start||null);if(this.match(u.parenR)){y=this.state.start;break}}if(this.match(u.ellipsis)){const e=this.state.start;const t=this.state.startLoc;d=this.state.start;l.push(this.parseParenItem(this.parseRestBinding(),e,t));this.checkCommaAfterRest(41);break}else{l.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem,f))}}const m=this.state.lastTokEnd;const T=this.state.lastTokEndLoc;this.expect(u.parenR);this.state.maybeInArrowParameters=s;this.state.inFSharpPipelineDirectBody=i;let h=this.startNodeAt(t,r);if(e&&this.shouldParseArrow()&&(h=this.parseArrow(h))){this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(h,l,false);return h}this.expressionScope.exit();if(!l.length){this.unexpected(this.state.lastTokStart)}if(y)this.unexpected(y);if(d)this.unexpected(d);this.checkExpressionErrors(p,true);if(f.start)this.unexpected(f.start);this.toReferencedListDeep(l,true);if(l.length>1){n=this.startNodeAt(a,o);n.expressions=l;this.finishNodeAt(n,"SequenceExpression",m,T)}else{n=l[0]}if(!this.options.createParenthesizedExpressions){this.addExtra(n,"parenthesized",true);this.addExtra(n,"parenStart",t);return n}const S=this.startNodeAt(t,r);S.expression=n;this.finishNode(S,"ParenthesizedExpression");return S}shouldParseArrow(){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(u.arrow)){return e}}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){this.raise(r.start,y.UnexpectedNewTarget)}return r}return this.parseNew(e)}parseNew(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(e.callee.start,y.ImportCallNotNewExpression)}else if(this.isOptionalChain(e.callee)){this.raise(this.state.lastTokEnd,y.OptionalChainingNoNew)}else if(this.eat(u.questionDot)){this.raise(this.state.start,y.OptionalChainingNoNew)}this.parseNewArguments(e);return this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(u.parenL)){const t=this.parseExprList(u.parenR);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}}parseTemplateElement(e){const t=this.startNode();if(this.state.value===null){if(!e){this.raise(this.state.start+1,y.InvalidEscapeSequenceTemplate)}}t.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,"\n"),cooked:this.state.value};this.next();t.tail=this.match(u.backQuote);return this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next();t.expressions=[];let r=this.parseTemplateElement(e);t.quasis=[r];while(!r.tail){this.expect(u.dollarBraceL);t.expressions.push(this.parseTemplateSubstitution());this.expect(u.braceR);t.quasis.push(r=this.parseTemplateElement(e))}this.next();return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const i=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(u.comma);if(this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}}const s=this.parsePropertyDefinition(t,n);if(!t){this.checkProto(s,r,i,n)}if(r&&!this.isObjectProperty(s)&&s.type!=="SpreadElement"){this.raise(s.start,y.InvalidRecordProperty)}if(s.shorthand){this.addExtra(s,"shorthand",true)}o.properties.push(s)}this.next();this.state.inFSharpPipelineDirectBody=s;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(r){l="RecordExpression"}return this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(u.bracketL)||this.match(u.star))}parsePropertyDefinition(e,t){let r=[];if(this.match(u.at)){if(this.hasPlugin("decorators")){this.raise(this.state.start,y.UnsupportedPropertyDecorator)}while(this.match(u.at)){r.push(this.parseDecorator())}}const n=this.startNode();let s=false;let i=false;let a=false;let o;let l;if(this.match(u.ellipsis)){if(r.length)this.unexpected();if(e){this.next();n.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(n,"RestElement")}return this.parseSpread()}if(r.length){n.decorators=r;r=[]}n.method=false;if(e||t){o=this.state.start;l=this.state.startLoc}if(!e){s=this.eat(u.star)}const p=this.state.containsEsc;const f=this.parsePropertyName(n,false);if(!e&&!s&&!p&&this.maybeAsyncOrAccessorProp(n)){const e=f.name;if(e==="async"&&!this.hasPrecedingLineBreak()){i=true;s=this.eat(u.star);this.parsePropertyName(n,false)}if(e==="get"||e==="set"){a=true;n.kind=e;if(this.match(u.star)){s=true;this.raise(this.state.pos,y.AccessorIsGenerator,e);this.next()}this.parsePropertyName(n,false)}}this.parseObjPropValue(n,o,l,s,i,e,a,t);return n}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e);const n=this.getObjectOrClassMethodParams(e);const s=e.start;if(n.length!==r){if(e.kind==="get"){this.raise(s,y.BadGetterArity)}else{this.raise(s,y.BadSetterArity)}}if(e.kind==="set"&&((t=n[n.length-1])==null?void 0:t.type)==="RestElement"){this.raise(s,y.BadSetterRestParameter)}}parseObjectMethod(e,t,r,n,s){if(s){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(r||t||this.match(u.parenL)){if(n)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,r,false,false,"ObjectMethod")}}parseObjectProperty(e,t,r,n,s){e.shorthand=false;if(this.eat(u.colon)){e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(s);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.start,true,false);if(n){e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else if(this.match(u.eq)&&s){if(s.shorthandAssign===-1){s.shorthandAssign=this.state.start}e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else{e.value=e.key.__clone()}e.shorthand=true;return this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,r,n,s,i,a,o){const l=this.parseObjectMethod(e,n,s,i,a)||this.parseObjectProperty(e,t,r,i,o);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(u.bracketL)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(u.bracketR)}else{const r=this.state.inPropertyName;this.state.inPropertyName=true;const n=this.state.type;e.key=n===u.num||n===u.string||n===u.bigint||n===u.decimal?this.parseExprAtom():this.parseMaybePrivateName(t);if(n!==u.privateName){e.computed=false}this.state.inPropertyName=r}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,r,n,s,i,a=false){this.initFunction(e,r);e.generator=!!t;const o=n;this.scope.enter(N|_|(a?F:0)|(s?M:0));this.prodParam.enter(functionFlags(r,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,i,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const i=this.startNode();this.next();i.elements=this.parseExprList(e,!r,n,i);this.state.inFSharpPipelineDirectBody=s;return this.finishNode(i,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(N|C);let s=functionFlags(r,false);if(!this.match(u.bracketL)&&this.prodParam.hasIn){s|=Le}this.prodParam.enter(s);this.initFunction(e,r);const i=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,n)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=i;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){e.params=this.toAssignableList(t,r,false)}parseFunctionBodyAndFinish(e,t,r=false){this.parseFunctionBody(e,false,r);this.finishNode(e,t)}parseFunctionBody(e,t,r=false){const n=t&&!this.match(u.braceL);this.expressionScope.enter(newExpressionScope());if(n){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const n=this.state.strict;const s=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|Ce);e.body=this.parseBlock(true,false,s=>{const i=!this.isSimpleParamList(e.params);if(s&&i){const t=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(t,y.IllegalLanguageModeDirective)}const a=!n&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!r&&!i,t,a);if(this.state.strict&&e.id){this.checkLVal(e.id,"function name",ae,undefined,undefined,a)}});this.prodParam.exit();this.expressionScope.exit();this.state.labels=s}}isSimpleParamList(e){for(let t=0,r=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(t,y.YieldBindingIdentifier);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(t,y.AwaitBindingIdentifier);return}else if(this.scope.inStaticBlock&&!this.scope.inNonArrowFunction){this.raise(t,y.AwaitBindingIdentifierInStaticBlock);return}else{this.expressionScope.recordAsyncArrowParametersError(t,y.AwaitBindingIdentifier)}}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(t,y.ArgumentsInClass);return}}if(r&&isKeyword(e)){this.raise(t,y.UnexpectedKeyword,e);return}const s=!this.state.strict?isReservedWord:n?isStrictBindReservedWord:isStrictReservedWord;if(s(e,this.inModule)){this.raise(t,y.UnexpectedReservedWord,e)}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e,t){const r=this.startNodeAt(e,t);this.expressionScope.recordParameterInitializerError(r.start,y.AwaitExpressionFormalParameter);if(this.eat(u.star)){this.raise(r.start,y.ObsoleteAwaitStar)}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){r.argument=this.parseMaybeUnary(null,true)}return this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(u.plusMin)||this.match(u.parenL)||this.match(u.bracketL)||this.match(u.backQuote)||this.match(u.regexp)||this.match(u.slash)||this.hasPlugin("v8intrinsic")&&this.match(u.modulo)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,y.YieldInParameter);this.next();let t=false;let r=null;if(!this.hasPrecedingLineBreak()){t=this.eat(u.star);switch(this.state.type){case u.semi:case u.eof:case u.braceR:case u.parenR:case u.bracketR:case u.braceBarR:case u.colon:case u.comma:if(!t)break;default:r=this.parseMaybeAssign()}}e.delegate=t;e.argument=r;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.getPluginOption("pipelineOperator","proposal")==="smart"){if(e.type==="SequenceExpression"){this.raise(t,y.PipelineHeadSequenceExpression)}}}parseSmartPipelineBody(e,t,r){this.checkSmartPipelineBodyEarlyErrors(e,t);return this.parseSmartPipelineBodyInStyle(e,t,r)}checkSmartPipelineBodyEarlyErrors(e,t){if(this.match(u.arrow)){throw this.raise(this.state.start,y.PipelineBodyNoArrow)}else if(e.type==="SequenceExpression"){this.raise(t,y.PipelineBodySequenceExpression)}}parseSmartPipelineBodyInStyle(e,t,r){const n=this.startNodeAt(t,r);const s=this.isSimpleReference(e);if(s){n.callee=e}else{if(!this.topicReferenceWasUsedInCurrentTopicContext()){this.raise(t,y.PipelineTopicUnused)}n.expression=e}return this.finishNode(n,s?"PipelineBareFunction":"PipelineTopicExpression")}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}withTopicPermittingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withTopicForbiddingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const r=Le&~t;if(r){this.prodParam.enter(t|Le);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const r=Le&t;if(r){this.prodParam.enter(t&~Le);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}primaryTopicReferenceIsAllowedInCurrentTopicContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentTopicContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const s=this.parseExprOp(this.parseMaybeUnary(),t,r,e);this.state.inFSharpPipelineDirectBody=n;return s}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(u.braceL);const t=this.initializeScopes(true);this.enterInitialScopes();const r=this.startNode();try{e.body=this.parseProgram(r,u.braceR,"module")}finally{t()}this.eat(u.braceR);return this.finishNode(e,"ModuleExpression")}}const Ze={kind:"loop"},et={kind:"switch"};const tt=0,rt=1,nt=2,st=4;const it=/[\uD800-\uDFFF]/u;const at=/in(?:stanceof)?/y;function babel7CompatTokens(e){{for(let t=0;t0){for(const[e]of Array.from(this.scope.undefinedExports)){const t=this.scope.undefinedExports.get(e);this.raise(t,y.ModuleExportUndefined,e)}}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e.expression;const r=this.startNodeAt(t.start,t.loc.start);const n=this.startNodeAt(e.start,e.loc.start);const s=this.input.slice(t.start,t.end);const i=r.value=s.slice(1,-1);this.addExtra(r,"raw",s);this.addExtra(r,"rawValue",i);n.value=this.finishNodeAt(r,"DirectiveLiteral",t.end,t.loc.end);return this.finishNodeAt(n,"Directive",e.end,e.loc.end)}parseInterpreterDirective(){if(!this.match(u.interpreterDirective)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual("let")){return false}return this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart();const r=this.codePointAtPos(t);if(r===92||r===91){return true}if(e)return false;if(r===123)return true;if(isIdentifierStart(r)){at.lastIndex=t;const e=at.exec(this.input);if(e!==null){const r=this.codePointAtPos(t+e[0].length);if(!isIdentifierChar(r)&&r!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(u.at)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type;const n=this.startNode();let s;if(this.isLet(e)){r=u._var;s="let"}switch(r){case u._break:case u._continue:return this.parseBreakContinueStatement(n,r.keyword);case u._debugger:return this.parseDebuggerStatement(n);case u._do:return this.parseDoStatement(n);case u._for:return this.parseForStatement(n);case u._function:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(this.state.start,y.StrictFunction)}else if(e!=="if"&&e!=="label"){this.raise(this.state.start,y.SloppyFunction)}}return this.parseFunctionStatement(n,false,!e);case u._class:if(e)this.unexpected();return this.parseClass(n,true);case u._if:return this.parseIfStatement(n);case u._return:return this.parseReturnStatement(n);case u._switch:return this.parseSwitchStatement(n);case u._throw:return this.parseThrowStatement(n);case u._try:return this.parseTryStatement(n);case u._const:case u._var:s=s||this.state.value;if(e&&s!=="var"){this.raise(this.state.start,y.UnexpectedLexicalDeclaration)}return this.parseVarStatement(n,s);case u._while:return this.parseWhileStatement(n);case u._with:return this.parseWithStatement(n);case u.braceL:return this.parseBlock();case u.semi:return this.parseEmptyStatement(n);case u._import:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case u._export:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(this.state.start,y.UnexpectedImportExport)}this.next();let e;if(r===u._import){e=this.parseImport(n);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(n);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(n);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(this.state.start,y.AsyncFunctionInSingleStatementContext)}this.next();return this.parseFunctionStatement(n,true,!e)}}}const i=this.state.value;const a=this.parseExpression();if(r===u.name&&a.type==="Identifier"&&this.eat(u.colon)){return this.parseLabeledStatement(n,i,a,e)}else{return this.parseExpressionStatement(n,a)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(e.start,m.ImportOutsideModule)}}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];if(t.length){e.decorators=t;this.resetStartLocationFromNode(e,t[0]);this.state.decoratorStack[this.state.decoratorStack.length-1]=[]}}canHaveLeadingDecorator(){return this.match(u._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(u.at)){const e=this.parseDecorator();t.push(e)}if(this.match(u._export)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,y.DecoratorExportClass)}}else if(!this.canHaveLeadingDecorator()){throw this.raise(this.state.start,y.UnexpectedLeadingDecorator)}}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start;const r=this.state.startLoc;let n;if(this.eat(u.parenL)){n=this.parseExpression();this.expect(u.parenR)}else{n=this.parseIdentifier(false);while(this.eat(u.dot)){const e=this.startNodeAt(t,r);e.object=n;e.property=this.parseIdentifier(true);e.computed=false;n=this.finishNode(e,"MemberExpression")}}e.expression=this.parseMaybeDecoratorArguments(n);this.state.decoratorStack.pop()}else{e.expression=this.parseExprSubscripts()}return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(u.parenL)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(u.parenR,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){const r=t==="break";this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,r?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){const r=t==="break";let n;for(n=0;nthis.parseStatement("do"));this.state.labels.pop();this.expect(u._while);e.test=this.parseHeaderExpression();this.eat(u.semi);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(Ze);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual("await")){t=this.state.lastTokStart}this.scope.enter(w);this.expect(u.parenL);if(this.match(u.semi)){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}const r=this.isContextual("let");const n=r&&this.isLetKeyword();if(this.match(u._var)||this.match(u._const)||n){const r=this.startNode();const s=n?"let":this.state.value;this.next();this.parseVar(r,true,s);this.finishNode(r,"VariableDeclaration");if((this.match(u._in)||this.isContextual("of"))&&r.declarations.length===1){return this.parseForIn(e,r,t)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)}const s=this.match(u.name)&&!this.state.containsEsc;const i=new ExpressionErrors;const a=this.parseExpression(true,i);const o=this.isContextual("of");if(o){if(r){this.raise(a.start,y.ForOfLet)}else if(t===-1&&s&&a.type==="Identifier"&&a.name==="async"){this.raise(a.start,y.ForOfAsync)}}if(o||this.match(u._in)){this.toAssignable(a,true);const r=o?"for-of statement":"for-in statement";this.checkLVal(a,r);return this.parseForIn(e,a,t)}else{this.checkExpressionErrors(i,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)}parseFunctionStatement(e,t,r){this.next();return this.parseFunction(e,rt|(r?0:nt),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(u._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(this.state.start,y.IllegalReturn)}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(u.braceL);this.state.labels.push(et);this.scope.enter(w);let r;for(let e;!this.match(u.braceR);){if(this.match(u._case)||this.match(u._default)){const n=this.match(u._case);if(r)this.finishNode(r,"SwitchCase");t.push(r=this.startNode());r.consequent=[];this.next();if(n){r.test=this.parseExpression()}else{if(e){this.raise(this.state.lastTokStart,y.MultipleDefaultsInSwitch)}e=true;r.test=null}this.expect(u.colon)}else{if(r){r.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(r)this.finishNode(r,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(this.state.lastTokEnd,y.NewlineAfterThrow)}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?L:0);this.checkLVal(e,"catch clause",Q);return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(u._catch)){const t=this.startNode();this.next();if(this.match(u.parenL)){this.expect(u.parenL);t.param=this.parseCatchClauseParam();this.expect(u.parenR)}else{t.param=null;this.scope.enter(w)}t.body=this.withTopicForbiddingContext(()=>this.parseBlock(false,false));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(u._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,y.NoCatchOrFinally)}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(Ze);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("while"));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(this.state.start,y.StrictWith)}this.next();e.object=this.parseHeaderExpression();e.body=this.withTopicForbiddingContext(()=>this.parseStatement("with"));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(const e of this.state.labels){if(e.name===t){this.raise(r.start,y.LabelRedeclaration,t)}}const s=this.state.type.isLoop?"loop":this.match(u._switch)?"switch":null;for(let t=this.state.labels.length-1;t>=0;t--){const r=this.state.labels[t];if(r.statementStart===e.start){r.statementStart=this.state.start;r.kind=s}else{break}}this.state.labels.push({name:t,kind:s,statementStart:this.state.start});e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label");this.state.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,r){const n=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(u.braceL);if(t){this.scope.enter(w)}this.parseBlockBody(n,e,false,u.braceR,r);if(t){this.scope.exit()}return this.finishNode(n,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,s){const i=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(i,t?a:undefined,r,n,s)}parseBlockOrModuleBlockBody(e,t,r,n,s){const i=this.state.strict;let a=false;let o=false;while(!this.match(n)){const n=this.parseStatement(null,r);if(t&&!o){if(this.isValidDirective(n)){const e=this.stmtToDirective(n);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(n)}if(s){s.call(this,a)}if(!i){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(u.semi)?null:this.parseExpression();this.semicolon(false);e.update=this.match(u.parenR)?null:this.parseExpression();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const n=this.match(u._in);this.next();if(n){if(r>-1)this.unexpected(r)}else{e.await=r>-1}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,y.ForInOfLoopInitializer,n?"for-in":"for-of")}else if(t.type==="AssignmentPattern"){this.raise(t.start,y.InvalidLhs,"for-loop")}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){const n=e.declarations=[];const s=this.hasPlugin("typescript");e.kind=r;for(;;){const e=this.startNode();this.parseVarId(e,r);if(this.eat(u.eq)){e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn()}else{if(r==="const"&&!(this.match(u._in)||this.isContextual("of"))){if(!s){this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Const declarations")}}else if(e.id.type!=="Identifier"&&!(t&&(this.match(u._in)||this.isContextual("of")))){this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Complex binding patterns")}e.init=null}n.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(u.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,"variable declaration",t==="var"?Z:Q,undefined,t!=="var")}parseFunction(e,t=tt,r=false){const n=t&rt;const s=t&nt;const i=!!n&&!(t&st);this.initFunction(e,r);if(this.match(u.star)&&s){this.raise(this.state.start,y.GeneratorInSingleStatementContext)}e.generator=this.eat(u.star);if(n){e.id=this.parseFunctionId(i)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(N);this.prodParam.enter(functionFlags(r,e.generator));if(!n){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")});this.prodParam.exit();this.scope.exit();if(n&&!s){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||this.match(u.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(u.parenL);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(u.parenR,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?Z:Q:ee,e.id.start)}parseClass(e,t,r){this.next();this.takeDecorators(e);const n=this.state.strict;this.state.strict=true;this.parseClassId(e,t,r);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,n);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(u.eq)||this.match(u.semi)||this.match(u.braceR)}isClassMethod(){return this.match(u.parenL)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const r={hadConstructor:false,hadSuperClass:e};let n=[];const s=this.startNode();s.body=[];this.expect(u.braceL);this.withTopicForbiddingContext(()=>{while(!this.match(u.braceR)){if(this.eat(u.semi)){if(n.length>0){throw this.raise(this.state.lastTokEnd,y.DecoratorSemicolon)}continue}if(this.match(u.at)){n.push(this.parseDecorator());continue}const e=this.startNode();if(n.length){e.decorators=n;this.resetStartLocationFromNode(e,n[0]);n=[]}this.parseClassMember(s,e,r);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(e.start,y.DecoratorConstructor)}}});this.state.strict=t;this.next();if(n.length){throw this.raise(this.state.start,y.TrailingDecorator)}this.classScope.exit();return this.finishNode(s,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(true);if(this.isClassMethod()){const n=t;n.kind="method";n.computed=false;n.key=r;n.static=false;this.pushClassMethod(e,n,false,false,false,false);return true}else if(this.isClassProperty()){const n=t;n.computed=false;n.key=r;n.static=false;e.body.push(this.parseClassProperty(n));return true}return false}parseClassMember(e,t,r){const n=this.isContextual("static");if(n){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(u.braceL)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){const s=t;const i=t;const a=t;const o=t;const l=s;const p=s;t.static=n;if(this.eat(u.star)){l.kind="method";const t=this.match(u.privateName);this.parseClassElementName(l);if(t){this.pushClassPrivateMethod(e,i,true,false);return}if(this.isNonstaticConstructor(s)){this.raise(s.key.start,y.ConstructorIsGenerator)}this.pushClassMethod(e,s,true,false,false,false);return}const f=this.state.containsEsc;const c=this.match(u.privateName);const d=this.parseClassElementName(t);const m=d.type==="Identifier";const T=this.state.start;this.parsePostMemberNameModifiers(p);if(this.isClassMethod()){l.kind="method";if(c){this.pushClassPrivateMethod(e,i,false,false);return}const n=this.isNonstaticConstructor(s);let a=false;if(n){s.kind="constructor";if(r.hadConstructor&&!this.hasPlugin("typescript")){this.raise(d.start,y.DuplicateConstructor)}if(n&&this.hasPlugin("typescript")&&t.override){this.raise(d.start,y.OverrideOnConstructor)}r.hadConstructor=true;a=r.hadSuperClass}this.pushClassMethod(e,s,false,false,n,a)}else if(this.isClassProperty()){if(c){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(m&&d.name==="async"&&!f&&!this.isLineTerminator()){const t=this.eat(u.star);if(p.optional){this.unexpected(T)}l.kind="method";const r=this.match(u.privateName);this.parseClassElementName(l);this.parsePostMemberNameModifiers(p);if(r){this.pushClassPrivateMethod(e,i,t,true)}else{if(this.isNonstaticConstructor(s)){this.raise(s.key.start,y.ConstructorIsAsync)}this.pushClassMethod(e,s,t,true,false,false)}}else if(m&&(d.name==="get"||d.name==="set")&&!f&&!(this.match(u.star)&&this.isLineTerminator())){l.kind=d.name;const t=this.match(u.privateName);this.parseClassElementName(s);if(t){this.pushClassPrivateMethod(e,i,false,false)}else{if(this.isNonstaticConstructor(s)){this.raise(s.key.start,y.ConstructorIsAccessor)}this.pushClassMethod(e,s,false,false,false,false)}this.checkGetterSetterParams(s)}else if(this.isLineTerminator()){if(c){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:r,start:n}=this.state;if((t===u.name||t===u.string)&&e.static&&r==="prototype"){this.raise(n,y.StaticPrototype)}if(t===u.privateName&&r==="constructor"){this.raise(n,y.ConstructorClassPrivateField)}return this.parsePropertyName(e,true)}parseClassStaticBlock(e,t){var r;this.expectPlugin("classStaticBlock",t.start);this.scope.enter(F|B|_);const n=this.state.labels;this.state.labels=[];this.prodParam.enter(we);const s=t.body=[];this.parseBlockOrModuleBlockBody(s,undefined,false,u.braceR);this.prodParam.exit();this.scope.exit();this.state.labels=n;e.body.push(this.finishNode(t,"StaticBlock"));if((r=t.decorators)!=null&&r.length){this.raise(t.start,y.DecoratorStaticBlock)}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(t.key.start,y.ConstructorClassField)}e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const r=this.parseClassPrivateProperty(t);e.body.push(r);this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),Se,r.key.start)}pushClassMethod(e,t,r,n,s,i){e.body.push(this.parseMethod(t,r,n,s,i,"ClassMethod",true))}pushClassPrivateMethod(e,t,r,n){const s=this.parseMethod(t,r,n,false,false,"ClassPrivateMethod",true);e.body.push(s);const i=s.kind==="get"?s.static?ye:Te:s.kind==="set"?s.static?me:he:Se;this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),i,s.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(F|_);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(we);e.value=this.eat(u.eq)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,r,n=H){if(this.match(u.name)){e.id=this.parseIdentifier();if(t){this.checkLVal(e.id,"class name",n)}}else{if(r||!t){e.id=null}else{this.unexpected(null,y.MissingClassName)}}}parseClassSuper(e){e.superClass=this.eat(u._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.eatExportStar(e);const s=n&&this.maybeParseExportNamespaceSpecifier(e);const i=r&&(!s||this.eat(u.comma));const a=t||n;if(n&&!s){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!n&&!o||s&&i&&!o){throw this.unexpected(null,u.braceL)}let l;if(a||o){l=false;this.parseExportFrom(e,a)}else{l=this.maybeParseExportDeclaration(e)}if(a||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(u._default)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,u.braceL)}eatExportStar(e){return this.eat(u.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(u.braceL)){if(!e.specifiers)e.specifiers=[];e.specifiers.push(...this.parseExportSpecifiers());e.source=null;e.declaration=null;return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual("async"))return false;const e=this.nextTokenStart();return!p.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(u._function)||t){this.next();if(t){this.next()}return this.parseFunction(e,rt|st,t)}else if(this.match(u._class)){return this.parseClass(e,true,true)}else if(this.match(u.at)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,y.DecoratorBeforeExport)}this.parseDecorators(false);return this.parseClass(e,true,true)}else if(this.match(u._const)||this.match(u._var)||this.isLet()){throw this.raise(this.state.start,y.UnsupportedDefaultExport)}else{const e=this.parseMaybeAssignAllowIn();this.semicolon();return e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(u.name)){const e=this.state.value;if(e==="async"&&!this.state.containsEsc||e==="let"){return false}if((e==="type"||e==="interface")&&!this.state.containsEsc){const e=this.lookahead();if(e.type===u.name&&e.value!=="from"||e.type===u.braceL){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(u._default)){return false}const e=this.nextTokenStart();const t=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||this.match(u.name)&&t){return true}if(this.match(u._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return t===34||t===39}return false}parseExportFrom(e,t){if(this.eatContextual("from")){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else{if(t){this.unexpected()}else{e.source=null}}this.semicolon()}shouldParseExportDeclaration(){if(this.match(u.at)){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){this.unexpected(this.state.start,y.DecoratorBeforeExport)}else{return true}}}return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t){if(r){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var s;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((s=t.extra)!=null&&s.parenthesized)){this.raise(t.start,y.ExportDefaultFromAsIdentifier)}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const r=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,r);if(!n&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(t.start,y.ExportBindingIsString,e.value,r)}else{this.checkReservedWord(e.name,e.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}const i=this.state.decoratorStack[this.state.decoratorStack.length-1];if(i.length){throw this.raise(e.start,y.UnsupportedDecoratorExport)}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){this.raise(e.start,t==="default"?y.DuplicateDefaultExport:y.DuplicateExport,t)}this.exportedIdentifiers.add(t)}parseExportSpecifiers(){const e=[];let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{this.expect(u.comma);if(this.eat(u.braceR))break}const r=this.startNode();r.local=this.parseModuleExportName();r.exported=this.eatContextual("as")?this.parseModuleExportName():r.local.__clone();e.push(this.finishNode(r,"ExportSpecifier"))}return e}parseModuleExportName(){if(this.match(u.string)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(it);if(t){this.raise(e.start,y.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16))}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(u.string)){const t=this.maybeParseDefaultImportSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.maybeParseStarImportSpecifier(e);if(r&&!n)this.parseNamedImportSpecifiers(e);this.expectContextual("from")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(u.string))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(u.name)}parseImportSpecifierLocal(e,t,r,n){t.local=this.parseIdentifier();this.checkLVal(t.local,n,Q);e.specifiers.push(this.finishNode(t,r))}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(u.braceR)){break}const r=this.startNode();const n=this.state.value;if(t.has(n)){this.raise(this.state.start,y.ModuleAttributesWithDuplicateKeys,n)}t.add(n);if(this.match(u.string)){r.key=this.parseStringLiteral(n)}else{r.key=this.parseIdentifier(true)}this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseModuleAttributes(){if(this.match(u._with)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const r=this.startNode();r.key=this.parseIdentifier(true);if(r.key.name!=="type"){this.raise(r.key.start,y.ModuleAttributeDifferentFromType,r.key.name)}if(t.has(r.key.name)){this.raise(r.key.start,y.ModuleAttributesWithDuplicateKeys,r.key.name)}t.add(r.key.name);this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseImportAssertions(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(u.braceL);const e=this.parseAssertEntries();this.eat(u.braceR);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(u.star)){const t=this.startNode();this.next();this.expectContextual("as");this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{if(this.eat(u.colon)){throw this.raise(this.state.start,y.DestructureNamedImport)}this.expect(u.comma);if(this.eat(u.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();const r=this.match(u.string);t.imported=this.parseModuleExportName();if(this.eatContextual("as")){t.local=this.parseIdentifier()}else{const{imported:e}=t;if(r){throw this.raise(t.start,y.ImportBindingIsString,e.value)}this.checkReservedWord(e.name,t.start,true,true);t.local=e.__clone()}this.checkLVal(t.local,"import specifier",Q);e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const r of e){const[e,n]=Array.isArray(r)?r:[r,{}];if(!t.has(e))t.set(e,n||{})}return t}function parse(e,t){var r;if(((r=t)==null?void 0:r.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const r=getParser(t,e);const n=r.parse();if(r.sawUnambiguousESM){return n}if(r.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{n.program.sourceType="script"}return n}catch(r){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw r}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const r=getParser(t,e);if(r.options.strictMode){r.state.strict=true}return r.getExpression()}function getParser(e,t){let r=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);r=getParserClass(e.plugins)}return new r(e,t)}const ot={};function getParserClass(e){const t=Xe.filter(t=>hasPlugin(e,t));const r=t.join("/");let n=ot[r];if(!n){n=Parser;for(const e of t){n=Ve[e](n)}ot[r]=n}return n}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=u},97518:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(90949);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},90082:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(5549);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},86349:()=>{},21483:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(36641);var s=r(72576);function builder(e,...t){const r=n.BUILDER_KEYS[e];const i=t.length;if(i>r.length){throw new Error(`${e}: Too many arguments passed. Received ${i} but can receive no more than ${r.length}`)}const a={type:e};let o=0;r.forEach(r=>{const s=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(57194);var s=r(7171);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},84843:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(57194);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},57194:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(21483);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,s){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,s,i){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,s,i){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,s){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,s){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,s,i,a,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,s,i){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,s){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,s){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,s){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,s,i,a,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,s){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,s){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,s){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,s){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,s){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,s,i){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,s){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,s){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,s){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,s,i,a){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,s){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,s,i){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,s){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,s,i){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,s){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,s){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,s){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},17518:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(57194)},87176:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(12620);var s=r(10271);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(57194);var s=r(8878);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},94111:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(99563);function clone(e){return(0,n.default)(e,false)}},66206:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(99563);function cloneDeep(e){return(0,n.default)(e)}},60756:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(99563);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},99563:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(36641);var s=r(12620);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:a}=e;const o={type:e.type};if((0,s.isIdentifier)(e)){o.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(i(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,a)){throw new Error(`Unknown node type: "${a}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[a])){if(i(e,l)){if(t){o[l]=(0,s.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(i(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(i(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(i(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(i(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(i(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},73058:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(99563);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},89418:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(28432);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},28432:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},66629:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(55465);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},33964:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(55465);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},47443:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(55465);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},8013:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(47443);var s=r(33964);var i=r(66629);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},60275:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(61871);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},54923:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(36641);const s=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const h=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=h;const S=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=b;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const g=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=g;const P=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=v;const A=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=A;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const w=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=j;const N=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=N;const C=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=C;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const M=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=M;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=B;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const R=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const z=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=z},61871:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...a.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const h=["typeof"];t.STRING_UNARY_OPERATORS=h;const S=["void","throw",...m,...T,...h];t.UNARY_OPERATORS=S;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const g=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=g},9555:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(70691);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},66081:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(69638);var s=r(12620);var i=r(57194);var a=r(99563);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,s.isEmptyStatement)(u)){l=false}if((0,s.isExpression)(u)){o.push(u)}else if((0,s.isExpressionStatement)(u)){o.push(u.expression)}else if((0,s.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(u.test,e,n))}else if((0,s.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},90182:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(55311);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},70691:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(12620);var s=r(57194);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},80526:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(12620);var s=r(57194);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},44268:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(12620);var s=toExpression;t.default=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},55311:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(17392);var s=r(49040);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},15416:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(12620);var s=r(99563);var i=r(43184);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},98910:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(66081);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},46002:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(12620);var s=r(57194);var i=toStatement;t.default=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},25303:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(17392);var s=r(57194);var i=valueToNode;t.default=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},66055:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(5549);var s=r(17392);var i=r(49040);var a=r(61871);var o=r(27781);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},7302:(e,t,r)=>{"use strict";var n=r(27781);var s=r(66055);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},s.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,s.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},9043:(e,t,r)=>{"use strict";var n=r(27781);const s=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});s("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},36641:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(66055);r(9043);r(82931);r(53089);r(7302);r(82652);var s=r(27781);var i=r(6817);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=Object.keys(s.VISITOR_KEYS).concat(Object.keys(s.FLIPPED_ALIAS_KEYS)).concat(Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},82931:(e,t,r)=>{"use strict";var n=r(27781);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},53089:(e,t,r)=>{"use strict";var n=r(27781);var s=r(6817);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},6817:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(27781);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach(e=>{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)})})},82652:(e,t,r)=>{"use strict";var n=r(27781);var s=r(66055);const i=(0,n.assertValueType)("boolean");const a={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,a)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,a)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(i),optional:(0,n.validateOptional)(i)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(i),static:(0,n.validateOptional)(i),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(i)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(i)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:i,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(i),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(i),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(i),const:(0,n.validateOptional)(i),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(i),global:(0,n.validateOptional)(i),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(i),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},27781:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(5549);var s=r(72576);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;u[e]=t.builder=T;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},8892:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var s=r(96696);var i=r(53635);var a=r(87176);var o=r(97518);var l=r(90082);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(84843);var p=r(7378);var f=r(12334);var c=r(57194);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(17518);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(99563);var m=r(94111);var T=r(66206);var h=r(60756);var S=r(73058);var b=r(89418);var E=r(28432);var g=r(66629);var P=r(33964);var x=r(8013);var v=r(47443);var A=r(60275);var O=r(54923);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(61871);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(9555);var w=r(90182);var j=r(70691);var N=r(80526);var C=r(44268);var L=r(55311);var _=r(15416);var M=r(98910);var F=r(46002);var B=r(25303);var k=r(36641);Object.keys(k).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===k[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return k[e]}})});var R=r(50434);var K=r(88983);var V=r(28731);var X=r(1846);var Y=r(43184);var J=r(7171);var U=r(69638);var W=r(2009);var q=r(2133);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var z=r(14340);var G=r(39958);var $=r(5549);var H=r(15353);var Q=r(24634);var Z=r(6951);var ee=r(21749);var te=r(90949);var re=r(67084);var ne=r(749);var se=r(80770);var ie=r(98234);var ae=r(27558);var oe=r(47564);var le=r(31622);var ue=r(17392);var pe=r(1306);var fe=r(61859);var ce=r(72576);var de=r(56497);var ye=r(12620);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(86349);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=Te},50434:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(57194);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},7171:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(12620);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let a=0;a=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(s.indexOf(o.types)<0){e=e.concat(o.types);s.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},88983:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(61871);var s=r(8013);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},28731:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(57194);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},1846:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(61871);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},43184:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(14340);var s=r(1846);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},8878:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(12620);function removeTypeDuplicates(e){const t={};const r={};const s=[];const i=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(s.indexOf(a.types)<0){e=e.concat(a.types);s.push(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},69638:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(12620);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(69638);var s=getOuterBindingIdentifiers;t.default=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},2133:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(36641);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(36641);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},55465:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},10271:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(57194);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},56497:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(61859);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},12620:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(39958);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},5549:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(39958);var s=r(47564);var i=r(749);var a=r(36641);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},15353:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(69638);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},24634:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(12620);var s=r(21749);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},6951:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(47564);var s=r(12620);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},21749:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(12620);var s=r(61871);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},90949:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(36641);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},67084:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(36641);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(36641);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},80770:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},98234:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(12620);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},27558:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(12620);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},47564:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(36641);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},31622:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(17392);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},17392:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(49040);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},1306:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(12620);var s=r(61871);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},61859:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(12620);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.lengths.length)return false;for(let e=0,t=i.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},96696:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(56497);const s=(0,n.default)("React.Component");var i=s;t.default=i},72576:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(36641);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},73878:(e,t,r)=>{"use strict";const{compare:n,intersection:s,semver:i}=r(9745);const a=r(42630);const o=r(45057);e.exports=function(e){const t=i(e);if(t.major!==3){throw RangeError("This version of `core-js-compat` works only with `core-js@3`.")}const r=[];for(const e of Object.keys(a)){if(n(e,"<=",t)){r.push(...a[e])}}return s(r,o)}},9745:(e,t,r)=>{"use strict";const n=r(93592);const s=r(19287);const i=Function.call.bind({}.hasOwnProperty);function compare(e,t,r){return n(s(e),t,s(r))}function intersection(e,t){const r=e instanceof Set?e:new Set(e);return t.filter(e=>r.has(e))}function sortObjectByKey(e,t){return Object.keys(e).sort(t).reduce((t,r)=>{t[r]=e[r];return t},{})}e.exports={compare:compare,has:i,intersection:intersection,semver:s,sortObjectByKey:sortObjectByKey}},42016:(e,t,r)=>{const n=r(56150);const{MAX_LENGTH:s,MAX_SAFE_INTEGER:i}=r(88385);const{re:a,t:o}=r(88636);const{compareIdentifiers:l}=r(34639);class SemVer{constructor(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError(`Invalid Version: ${e}`)}if(e.length>s){throw new TypeError(`version is longer than ${s} characters`)}n("SemVer",e,t);this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?a[o.LOOSE]:a[o.FULL]);if(!r){throw new TypeError(`Invalid Version: ${e}`)}this.raw=e;this.major=+r[1];this.minor=+r[2];this.patch=+r[3];if(this.major>i||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>i||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>i||this.patch<0){throw new TypeError("Invalid patch version")}if(!r[4]){this.prerelease=[]}else{this.prerelease=r[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0){if(typeof this.prerelease[e]==="number"){this.prerelease[e]++;e=-2}}if(e===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error(`invalid increment argument: ${e}`)}this.format();this.raw=this.version;return this}}e.exports=SemVer},93592:(e,t,r)=>{const n=r(27228);const s=r(5258);const i=r(15734);const a=r(23608);const o=r(14268);const l=r(55068);const u=(e,t,r,u)=>{switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e===r;case"!==":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e!==r;case"":case"=":case"==":return n(e,r,u);case"!=":return s(e,r,u);case">":return i(e,r,u);case">=":return a(e,r,u);case"<":return o(e,r,u);case"<=":return l(e,r,u);default:throw new TypeError(`Invalid operator: ${t}`)}};e.exports=u},19287:(e,t,r)=>{const n=r(42016);const s=r(33931);const{re:i,t:a}=r(88636);const o=(e,t)=>{if(e instanceof n){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}t=t||{};let r=null;if(!t.rtl){r=e.match(i[a.COERCE])}else{let t;while((t=i[a.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length)){if(!r||t.index+t[0].length!==r.index+r[0].length){r=t}i[a.COERCERTL].lastIndex=t.index+t[1].length+t[2].length}i[a.COERCERTL].lastIndex=-1}if(r===null)return null;return s(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)};e.exports=o},83689:(e,t,r)=>{const n=r(42016);const s=(e,t,r)=>new n(e,r).compare(new n(t,r));e.exports=s},27228:(e,t,r)=>{const n=r(83689);const s=(e,t,r)=>n(e,t,r)===0;e.exports=s},15734:(e,t,r)=>{const n=r(83689);const s=(e,t,r)=>n(e,t,r)>0;e.exports=s},23608:(e,t,r)=>{const n=r(83689);const s=(e,t,r)=>n(e,t,r)>=0;e.exports=s},14268:(e,t,r)=>{const n=r(83689);const s=(e,t,r)=>n(e,t,r)<0;e.exports=s},55068:(e,t,r)=>{const n=r(83689);const s=(e,t,r)=>n(e,t,r)<=0;e.exports=s},5258:(e,t,r)=>{const n=r(83689);const s=(e,t,r)=>n(e,t,r)!==0;e.exports=s},33931:(e,t,r)=>{const{MAX_LENGTH:n}=r(88385);const{re:s,t:i}=r(88636);const a=r(42016);const o=(e,t)=>{if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof a){return e}if(typeof e!=="string"){return null}if(e.length>n){return null}const r=t.loose?s[i.LOOSE]:s[i.FULL];if(!r.test(e)){return null}try{return new a(e,t)}catch(e){return null}};e.exports=o},88385:e=>{const t="2.0.0";const r=256;const n=Number.MAX_SAFE_INTEGER||9007199254740991;const s=16;e.exports={SEMVER_SPEC_VERSION:t,MAX_LENGTH:r,MAX_SAFE_INTEGER:n,MAX_SAFE_COMPONENT_LENGTH:s}},56150:e=>{const t=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},34639:e=>{const t=/^[0-9]+$/;const r=(e,r)=>{const n=t.test(e);const s=t.test(r);if(n&&s){e=+e;r=+r}return e===r?0:n&&!s?-1:s&&!n?1:er(t,e);e.exports={compareIdentifiers:r,rcompareIdentifiers:n}},88636:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:n}=r(88385);const s=r(56150);t=e.exports={};const i=t.re=[];const a=t.src=[];const o=t.t={};let l=0;const u=(e,t,r)=>{const n=l++;s(n,t);o[e]=n;a[n]=t;i[n]=new RegExp(t,r?"g":undefined)};u("NUMERICIDENTIFIER","0|[1-9]\\d*");u("NUMERICIDENTIFIERLOOSE","[0-9]+");u("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*");u("MAINVERSION",`(${a[o.NUMERICIDENTIFIER]})\\.`+`(${a[o.NUMERICIDENTIFIER]})\\.`+`(${a[o.NUMERICIDENTIFIER]})`);u("MAINVERSIONLOOSE",`(${a[o.NUMERICIDENTIFIERLOOSE]})\\.`+`(${a[o.NUMERICIDENTIFIERLOOSE]})\\.`+`(${a[o.NUMERICIDENTIFIERLOOSE]})`);u("PRERELEASEIDENTIFIER",`(?:${a[o.NUMERICIDENTIFIER]}|${a[o.NONNUMERICIDENTIFIER]})`);u("PRERELEASEIDENTIFIERLOOSE",`(?:${a[o.NUMERICIDENTIFIERLOOSE]}|${a[o.NONNUMERICIDENTIFIER]})`);u("PRERELEASE",`(?:-(${a[o.PRERELEASEIDENTIFIER]}(?:\\.${a[o.PRERELEASEIDENTIFIER]})*))`);u("PRERELEASELOOSE",`(?:-?(${a[o.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[o.PRERELEASEIDENTIFIERLOOSE]})*))`);u("BUILDIDENTIFIER","[0-9A-Za-z-]+");u("BUILD",`(?:\\+(${a[o.BUILDIDENTIFIER]}(?:\\.${a[o.BUILDIDENTIFIER]})*))`);u("FULLPLAIN",`v?${a[o.MAINVERSION]}${a[o.PRERELEASE]}?${a[o.BUILD]}?`);u("FULL",`^${a[o.FULLPLAIN]}$`);u("LOOSEPLAIN",`[v=\\s]*${a[o.MAINVERSIONLOOSE]}${a[o.PRERELEASELOOSE]}?${a[o.BUILD]}?`);u("LOOSE",`^${a[o.LOOSEPLAIN]}$`);u("GTLT","((?:<|>)?=?)");u("XRANGEIDENTIFIERLOOSE",`${a[o.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);u("XRANGEIDENTIFIER",`${a[o.NUMERICIDENTIFIER]}|x|X|\\*`);u("XRANGEPLAIN",`[v=\\s]*(${a[o.XRANGEIDENTIFIER]})`+`(?:\\.(${a[o.XRANGEIDENTIFIER]})`+`(?:\\.(${a[o.XRANGEIDENTIFIER]})`+`(?:${a[o.PRERELEASE]})?${a[o.BUILD]}?`+`)?)?`);u("XRANGEPLAINLOOSE",`[v=\\s]*(${a[o.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${a[o.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${a[o.XRANGEIDENTIFIERLOOSE]})`+`(?:${a[o.PRERELEASELOOSE]})?${a[o.BUILD]}?`+`)?)?`);u("XRANGE",`^${a[o.GTLT]}\\s*${a[o.XRANGEPLAIN]}$`);u("XRANGELOOSE",`^${a[o.GTLT]}\\s*${a[o.XRANGEPLAINLOOSE]}$`);u("COERCE",`${"(^|[^\\d])"+"(\\d{1,"}${n}})`+`(?:\\.(\\d{1,${n}}))?`+`(?:\\.(\\d{1,${n}}))?`+`(?:$|[^\\d])`);u("COERCERTL",a[o.COERCE],true);u("LONETILDE","(?:~>?)");u("TILDETRIM",`(\\s*)${a[o.LONETILDE]}\\s+`,true);t.tildeTrimReplace="$1~";u("TILDE",`^${a[o.LONETILDE]}${a[o.XRANGEPLAIN]}$`);u("TILDELOOSE",`^${a[o.LONETILDE]}${a[o.XRANGEPLAINLOOSE]}$`);u("LONECARET","(?:\\^)");u("CARETTRIM",`(\\s*)${a[o.LONECARET]}\\s+`,true);t.caretTrimReplace="$1^";u("CARET",`^${a[o.LONECARET]}${a[o.XRANGEPLAIN]}$`);u("CARETLOOSE",`^${a[o.LONECARET]}${a[o.XRANGEPLAINLOOSE]}$`);u("COMPARATORLOOSE",`^${a[o.GTLT]}\\s*(${a[o.LOOSEPLAIN]})$|^$`);u("COMPARATOR",`^${a[o.GTLT]}\\s*(${a[o.FULLPLAIN]})$|^$`);u("COMPARATORTRIM",`(\\s*)${a[o.GTLT]}\\s*(${a[o.LOOSEPLAIN]}|${a[o.XRANGEPLAIN]})`,true);t.comparatorTrimReplace="$1$2$3";u("HYPHENRANGE",`^\\s*(${a[o.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${a[o.XRANGEPLAIN]})`+`\\s*$`);u("HYPHENRANGELOOSE",`^\\s*(${a[o.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${a[o.XRANGEPLAINLOOSE]})`+`\\s*$`);u("STAR","(<|>)?=?\\s*\\*")},55832:(e,t,r)=>{"use strict";t.__esModule=true;t.default=void 0;var n=_interopRequireDefault(r(71192));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s="#__secret_key__@babel/runtime__compatibility";var i=(0,n.default)(({debug:e},t)=>{const{[s]:{useBabelRuntime:r}={}}=t;const n=r?`${r}/regenerator`:"regenerator-runtime";return{name:"regenerator",polyfills:["regenerator-runtime"],usageGlobal(t,r){if(a(t)){e("regenerator-runtime");r.injectGlobalImport("regenerator-runtime/runtime.js")}},usagePure(e,t,r){if(a(e)){r.replaceWith(t.injectDefaultImport(n,"regenerator-runtime"))}}}});t.default=i;const a=e=>e.kind==="global"&&e.name==="regeneratorRuntime"},37185:(e,t,r)=>{"use strict";const n=r(33953);const s=Object.freeze(Object.keys(n));for(const e of s){Object.freeze(n[e])}Object.freeze(n);const i=new Set(["parent","leadingComments","trailingComments"]);function filterKey(e){return!i.has(e)&&e[0]!=="_"}e.exports=Object.freeze({KEYS:n,getKeys(e){return Object.keys(e).filter(filterKey)},unionWith(e){const t=Object.assign({},n);for(const r of Object.keys(e)){if(t.hasOwnProperty(r)){const n=new Set(e[r]);for(const e of t[r]){n.add(e)}t[r]=Object.freeze(Array.from(n))}else{t[r]=Object.freeze(Array.from(e[r]))}}return Object.freeze(t)}})},39283:(e,t,r)=>{var n=r(2125);n.core=r(26226);n.isCore=r(38115);n.sync=r(55284);e.exports=n},2125:(e,t,r)=>{var n=r(35747);var s=r(85622);var i=r(36155);var a=r(1433);var o=r(17990);var l=r(21176);var u=n.realpath&&typeof n.realpath.native==="function"?n.realpath.native:n.realpath;var p=function isFile(e,t){n.stat(e,function(e,r){if(!e){return t(null,r.isFile()||r.isFIFO())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return t(null,false);return t(e)})};var f=function isDirectory(e,t){n.stat(e,function(e,r){if(!e){return t(null,r.isDirectory())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return t(null,false);return t(e)})};var c=function realpath(e,t){u(e,function(r,n){if(r&&r.code!=="ENOENT")t(r);else t(null,r?e:n)})};var d=function maybeRealpath(e,t,r,n){if(r&&r.preserveSymlinks===false){e(t,n)}else{n(null,t)}};var y=function defaultReadPackage(e,t,r){e(t,function(e,t){if(e)r(e);else{try{var n=JSON.parse(t);r(null,n)}catch(e){r(null)}}})};var m=function getPackageCandidates(e,t,r){var n=a(t,r,e);for(var i=0;i{e.exports=function(){var e=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var t=(new Error).stack;Error.prepareStackTrace=e;return t[2].getFileName()}},26226:(e,t,r)=>{var n=process.versions&&process.versions.node&&process.versions.node.split(".")||[];function specifierIncluded(e){var t=e.split(" ");var r=t.length>1?t[0]:"=";var s=(t.length>1?t[1]:t[0]).split(".");for(var i=0;i<3;++i){var a=parseInt(n[i]||0,10);var o=parseInt(s[i]||0,10);if(a===o){continue}if(r==="<"){return a="){return a>=o}else{return false}}return r===">="}function matchesRange(e){var t=e.split(/ ?&& ?/);if(t.length===0){return false}for(var r=0;r{var n=r(21176);e.exports=function isCore(e){return n(e)}},1433:(e,t,r)=>{var n=r(85622);var s=n.parse||r(50731);var i=function getNodeModulesDirs(e,t){var r="/";if(/^([A-Za-z]:)/.test(e)){r=""}else if(/^\\\\/.test(e)){r="\\\\"}var i=[e];var a=s(e);while(a.dir!==i[i.length-1]){i.push(a.dir);a=s(a.dir)}return i.reduce(function(e,s){return e.concat(t.map(function(e){return n.resolve(r,s,e)}))},[])};e.exports=function nodeModulesPaths(e,t,r){var n=t&&t.moduleDirectory?[].concat(t.moduleDirectory):["node_modules"];if(t&&typeof t.paths==="function"){return t.paths(r,e,function(){return i(e,n)},t)}var s=i(e,n);return t&&t.paths?s.concat(t.paths):s}},17990:e=>{e.exports=function(e,t){return t||{}}},55284:(e,t,r)=>{var n=r(21176);var s=r(35747);var i=r(85622);var a=r(36155);var o=r(1433);var l=r(17990);var u=s.realpathSync&&typeof s.realpathSync.native==="function"?s.realpathSync.native:s.realpathSync;var p=function isFile(e){try{var t=s.statSync(e)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return t.isFile()||t.isFIFO()};var f=function isDirectory(e){try{var t=s.statSync(e)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return t.isDirectory()};var c=function realpathSync(e){try{return u(e)}catch(e){if(e.code!=="ENOENT"){throw e}}return e};var d=function maybeRealpathSync(e,t,r){if(r&&r.preserveSymlinks===false){return e(t)}return t};var y=function defaultReadPackageSync(e,t){var r=e(t);try{var n=JSON.parse(r);return n}catch(e){}};var m=function getPackageCandidates(e,t,r){var n=o(t,r,e);for(var s=0;s{"use strict";e.exports=JSON.parse('{"es6.array.copy-within":{"chrome":"45","opera":"32","edge":"12","firefox":"32","safari":"9","node":"4","ios":"9","samsung":"5","electron":"0.31"},"es6.array.every":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.array.fill":{"chrome":"45","opera":"32","edge":"12","firefox":"31","safari":"7.1","node":"4","ios":"8","samsung":"5","electron":"0.31"},"es6.array.filter":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.find":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"7.1","node":"4","ios":"8","samsung":"5","electron":"0.31"},"es6.array.find-index":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"7.1","node":"4","ios":"8","samsung":"5","electron":"0.31"},"es7.array.flat-map":{"chrome":"69","opera":"56","edge":"79","firefox":"62","safari":"12","node":"11","ios":"12","samsung":"10","electron":"4.0"},"es6.array.for-each":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.array.from":{"chrome":"51","opera":"38","edge":"15","firefox":"36","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.array.includes":{"chrome":"47","opera":"34","edge":"14","firefox":"43","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"es6.array.index-of":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.array.is-array":{"chrome":"5","opera":"10.50","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.array.iterator":{"chrome":"66","opera":"53","edge":"12","firefox":"60","safari":"9","node":"10","ios":"9","samsung":"9","electron":"3.0"},"es6.array.last-index-of":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.array.map":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.of":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"9","node":"4","ios":"9","samsung":"5","electron":"0.31"},"es6.array.reduce":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.array.reduce-right":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.array.slice":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.some":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.array.sort":{"chrome":"63","opera":"50","edge":"12","firefox":"5","safari":"12","node":"10","ie":"9","ios":"12","samsung":"8","electron":"3.0"},"es6.array.species":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.date.now":{"chrome":"5","opera":"10.50","edge":"12","firefox":"2","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.date.to-iso-string":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3.5","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.date.to-json":{"chrome":"5","opera":"12.10","edge":"12","firefox":"4","safari":"10","node":"0.10","ie":"9","android":"4","ios":"10","samsung":"1","electron":"0.20"},"es6.date.to-primitive":{"chrome":"47","opera":"34","edge":"15","firefox":"44","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"es6.date.to-string":{"chrome":"5","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"10","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.function.bind":{"chrome":"7","opera":"12","edge":"12","firefox":"4","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.function.has-instance":{"chrome":"51","opera":"38","edge":"15","firefox":"50","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.function.name":{"chrome":"5","opera":"10.50","edge":"14","firefox":"2","safari":"4","node":"0.10","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.map":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.math.acosh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.asinh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.atanh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.cbrt":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.clz32":{"chrome":"38","opera":"25","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"3","electron":"0.20"},"es6.math.cosh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.expm1":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.fround":{"chrome":"38","opera":"25","edge":"12","firefox":"26","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.hypot":{"chrome":"38","opera":"25","edge":"12","firefox":"27","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.imul":{"chrome":"30","opera":"17","edge":"12","firefox":"23","safari":"7","node":"0.12","android":"4.4","ios":"7","samsung":"2","electron":"0.20"},"es6.math.log1p":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.log10":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.log2":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.sign":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"3","electron":"0.20"},"es6.math.sinh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.tanh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.trunc":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.number.constructor":{"chrome":"41","opera":"28","edge":"12","firefox":"36","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.number.epsilon":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.is-finite":{"chrome":"19","opera":"15","edge":"12","firefox":"16","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","electron":"0.20"},"es6.number.is-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"16","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.is-nan":{"chrome":"19","opera":"15","edge":"12","firefox":"15","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","electron":"0.20"},"es6.number.is-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"32","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.max-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.min-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.parse-float":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.parse-int":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.object.assign":{"chrome":"49","opera":"36","edge":"13","firefox":"36","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.object.create":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es7.object.define-getter":{"chrome":"62","opera":"49","edge":"16","firefox":"48","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es7.object.define-setter":{"chrome":"62","opera":"49","edge":"16","firefox":"48","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es6.object.define-property":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.object.define-properties":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es7.object.entries":{"chrome":"54","opera":"41","edge":"14","firefox":"47","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.object.freeze":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"es6.object.get-own-property-descriptor":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"es7.object.get-own-property-descriptors":{"chrome":"54","opera":"41","edge":"15","firefox":"50","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.object.get-own-property-names":{"chrome":"40","opera":"27","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.object.get-prototype-of":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"es7.object.lookup-getter":{"chrome":"62","opera":"49","edge":"79","firefox":"36","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es7.object.lookup-setter":{"chrome":"62","opera":"49","edge":"79","firefox":"36","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es6.object.prevent-extensions":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"es6.object.to-string":{"chrome":"57","opera":"44","edge":"15","firefox":"51","safari":"10","node":"8","ios":"10","samsung":"7","electron":"1.7"},"es6.object.is":{"chrome":"19","opera":"15","edge":"12","firefox":"22","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","electron":"0.20"},"es6.object.is-frozen":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"es6.object.is-sealed":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"es6.object.is-extensible":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"es6.object.keys":{"chrome":"40","opera":"27","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.object.seal":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"es6.object.set-prototype-of":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ie":"11","ios":"9","samsung":"2","electron":"0.20"},"es7.object.values":{"chrome":"54","opera":"41","edge":"14","firefox":"47","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.promise":{"chrome":"51","opera":"38","edge":"14","firefox":"45","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.promise.finally":{"chrome":"63","opera":"50","edge":"18","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"8","electron":"3.0"},"es6.reflect.apply":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.construct":{"chrome":"49","opera":"36","edge":"13","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.define-property":{"chrome":"49","opera":"36","edge":"13","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.delete-property":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get-own-property-descriptor":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get-prototype-of":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.has":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.is-extensible":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.own-keys":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.prevent-extensions":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.set":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.set-prototype-of":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.regexp.constructor":{"chrome":"50","opera":"37","edge":"79","firefox":"40","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.flags":{"chrome":"49","opera":"36","edge":"79","firefox":"37","safari":"9","node":"6","ios":"9","samsung":"5","electron":"0.37"},"es6.regexp.match":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.replace":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.split":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.search":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.to-string":{"chrome":"50","opera":"37","edge":"79","firefox":"39","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.set":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.symbol":{"chrome":"51","opera":"38","edge":"79","firefox":"51","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.symbol.async-iterator":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"es6.string.anchor":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.big":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.blink":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.bold":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.code-point-at":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.ends-with":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.fixed":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.fontcolor":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.fontsize":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.from-code-point":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.includes":{"chrome":"41","opera":"28","edge":"12","firefox":"40","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.italics":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.iterator":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","electron":"0.20"},"es6.string.link":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es7.string.pad-start":{"chrome":"57","opera":"44","edge":"15","firefox":"48","safari":"10","node":"8","ios":"10","samsung":"7","electron":"1.7"},"es7.string.pad-end":{"chrome":"57","opera":"44","edge":"15","firefox":"48","safari":"10","node":"8","ios":"10","samsung":"7","electron":"1.7"},"es6.string.raw":{"chrome":"41","opera":"28","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.repeat":{"chrome":"41","opera":"28","edge":"12","firefox":"24","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.small":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.starts-with":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.strike":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.sub":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.sup":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.trim":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3.5","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es7.string.trim-left":{"chrome":"66","opera":"53","edge":"79","firefox":"61","safari":"12","node":"10","ios":"12","samsung":"9","electron":"3.0"},"es7.string.trim-right":{"chrome":"66","opera":"53","edge":"79","firefox":"61","safari":"12","node":"10","ios":"12","samsung":"9","electron":"3.0"},"es6.typed.array-buffer":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.data-view":{"chrome":"5","opera":"12","edge":"12","firefox":"15","safari":"5.1","node":"0.10","ie":"10","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.typed.int8-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint8-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint8-clamped-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.int16-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint16-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.int32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.float32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.float64-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.weak-map":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"9","node":"6.5","ios":"9","samsung":"5","electron":"1.2"},"es6.weak-set":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"9","node":"6.5","ios":"9","samsung":"5","electron":"1.2"}}')},66059:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"48","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},38209:e=>{"use strict";e.exports=JSON.parse('{"proposal-class-static-block":{"chrome":"91","electron":"13.0"},"proposal-private-property-in-object":{"chrome":"91","firefox":"90","electron":"13.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","samsung":"11","electron":"6.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","electron":"10.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","ios":"13","samsung":"11","electron":"6.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","ios":"14","electron":"10.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.0"},"proposal-optional-chaining":{"firefox":"74","safari":"13.1","ios":"13.4"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","ios":"12","samsung":"9","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","ios":"11.3","samsung":"8","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","ios":"11.3","samsung":"8","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","ios":"13","samsung":"3.4","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"45","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","ie":"11","ios":"10","samsung":"3.4","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","ios":"8","samsung":"4","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","ios":"12","samsung":"5","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-block-scoping":{"chrome":"49","opera":"36","edge":"14","firefox":"51","safari":"11","node":"6","ios":"11","samsung":"5","electron":"0.37"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"41","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4.4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"proposal-export-namespace-from":{"chrome":"72","and_chr":"72","edge":"79","firefox":"80","and_ff":"80","node":"13.2","opera":"60","op_mob":"51","samsung":"11.0","android":"72","electron":"5.0"}}')},78046:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t})}webpackEmptyAsyncContext.keys=(()=>[]);webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=78046;e.exports=webpackEmptyAsyncContext},75954:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"48","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},85331:e=>{"use strict";e.exports=JSON.parse('{"proposal-class-static-block":{"chrome":"91","electron":"13.0"},"proposal-private-property-in-object":{"chrome":"91","firefox":"90","electron":"13.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","samsung":"11","electron":"6.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","electron":"10.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","ios":"13","samsung":"11","electron":"6.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","ios":"14","electron":"10.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.0"},"proposal-optional-chaining":{"firefox":"74","safari":"13.1","ios":"13.4"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","ios":"12","samsung":"9","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","ios":"11.3","samsung":"8","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","ios":"11.3","samsung":"8","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","ios":"13","samsung":"3.4","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"45","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","ie":"11","ios":"10","samsung":"3.4","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","ios":"8","samsung":"4","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","ios":"12","samsung":"5","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-block-scoping":{"chrome":"49","opera":"36","edge":"14","firefox":"51","safari":"11","node":"6","ios":"11","samsung":"5","electron":"0.37"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"41","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4.4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"proposal-export-namespace-from":{"chrome":"72","and_chr":"72","edge":"79","firefox":"80","and_ff":"80","node":"13.2","opera":"60","op_mob":"51","samsung":"11.0","android":"72","electron":"5.0"}}')},21518:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t})}webpackEmptyAsyncContext.keys=(()=>[]);webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=21518;e.exports=webpackEmptyAsyncContext},61610:e=>{"use strict";e.exports=JSON.parse('{"es.symbol":{"android":"49","chrome":"49","edge":"15","electron":"0.37","firefox":"51","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.symbol.description":{"android":"70","chrome":"70","edge":"74","electron":"5.0","firefox":"63","ios":"12.2","node":"11.0","opera":"57","opera_mobile":"49","safari":"12.1","samsung":"10.0"},"es.symbol.async-iterator":{"android":"63","chrome":"63","edge":"74","electron":"3.0","firefox":"55","ios":"12.0","node":"10.0","opera":"50","opera_mobile":"46","safari":"12.0","samsung":"8.0"},"es.symbol.has-instance":{"android":"50","chrome":"50","edge":"15","electron":"1.1","firefox":"49","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.symbol.is-concat-spreadable":{"android":"48","chrome":"48","edge":"15","electron":"0.37","firefox":"48","ios":"10.0","node":"6.0","opera":"35","opera_mobile":"35","safari":"10.0","samsung":"5.0"},"es.symbol.iterator":{"android":"41","chrome":"41","edge":"13","electron":"0.21","firefox":"36","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","safari":"9.0","samsung":"3.4"},"es.symbol.match":{"android":"50","chrome":"50","edge":"74","electron":"1.1","firefox":"40","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.symbol.match-all":{"android":"73","chrome":"73","edge":"74","electron":"5.0","firefox":"67","ios":"13.0","node":"12.0","opera":"60","opera_mobile":"52","safari":"13","samsung":"11.0"},"es.symbol.replace":{"android":"50","chrome":"50","edge":"74","electron":"1.1","firefox":"49","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.symbol.search":{"android":"50","chrome":"50","edge":"74","electron":"1.1","firefox":"49","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.symbol.species":{"android":"51","chrome":"51","edge":"13","electron":"1.2","firefox":"41","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.symbol.split":{"android":"50","chrome":"50","edge":"74","electron":"1.1","firefox":"49","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.symbol.to-primitive":{"android":"47","chrome":"47","edge":"15","electron":"0.36","firefox":"44","ios":"10.0","node":"6.0","opera":"34","opera_mobile":"34","safari":"10.0","samsung":"5.0"},"es.symbol.to-string-tag":{"android":"49","chrome":"49","edge":"15","electron":"0.37","firefox":"51","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.symbol.unscopables":{"android":"41","chrome":"41","edge":"13","electron":"0.21","firefox":"48","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","safari":"9.0","samsung":"3.4"},"es.aggregate-error":{"android":"85","chrome":"85","edge":"85","electron":"10.0","firefox":"79","ios":"14.0","node":"15.0","opera":"71","opera_mobile":"60","safari":"14.0","samsung":"14.0"},"es.array.concat":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"48","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.copy-within":{"android":"45","chrome":"45","edge":"12","electron":"0.31","firefox":"48","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.every":{"android":"4.4","chrome":"26","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"9.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"8.0","samsung":"1.5"},"es.array.fill":{"android":"45","chrome":"45","edge":"12","electron":"0.31","firefox":"48","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.filter":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"48","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.find":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"48","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.find-index":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"48","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.flat":{"android":"69","chrome":"69","edge":"74","electron":"4.0","firefox":"62","ios":"12.0","node":"11.0","opera":"56","opera_mobile":"48","safari":"12.0","samsung":"10.0"},"es.array.flat-map":{"android":"69","chrome":"69","edge":"74","electron":"4.0","firefox":"62","ios":"12.0","node":"11.0","opera":"56","opera_mobile":"48","safari":"12.0","samsung":"10.0"},"es.array.for-each":{"android":"4.4","chrome":"26","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"9.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"8.0","samsung":"1.5"},"es.array.from":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"53","ios":"9.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"9.0","samsung":"5.0"},"es.array.includes":{"android":"53","chrome":"53","edge":"14","electron":"1.4","firefox":"48","ios":"10.0","node":"7.0","opera":"40","opera_mobile":"40","safari":"10.0","samsung":"6.0"},"es.array.index-of":{"android":"51","chrome":"51","edge":"12","electron":"1.2","firefox":"4","ie":"9","ios":"9.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"8.0","samsung":"5.0"},"es.array.is-array":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"3.2","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"4.0","samsung":"1.0"},"es.array.iterator":{"android":"66","chrome":"66","edge":"15","electron":"3.0","firefox":"60","ios":"10.0","node":"10.0","opera":"53","opera_mobile":"47","safari":"10.0","samsung":"9.0"},"es.array.join":{"android":"4.4","chrome":"26","edge":"13","electron":"0.20","firefox":"4","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"7.1","samsung":"1.5"},"es.array.last-index-of":{"android":"51","chrome":"51","edge":"12","electron":"1.2","firefox":"4","ie":"9","ios":"9.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"8.0","samsung":"5.0"},"es.array.map":{"android":"51","chrome":"51","edge":"13","electron":"1.2","firefox":"50","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.of":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"25","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.reduce":{"android":"83","chrome":"83","edge":"12","electron":"9.0","firefox":"4","ie":"9","ios":"9.0","node":"6.0","opera":"69","opera_mobile":"59","safari":"8.0","samsung":"13.0"},"es.array.reduce-right":{"android":"83","chrome":"83","edge":"12","electron":"9.0","firefox":"4","ie":"9","ios":"9.0","node":"6.0","opera":"69","opera_mobile":"59","safari":"8.0","samsung":"13.0"},"es.array.reverse":{"android":"3.0","chrome":"1","edge":"12","electron":"0.20","firefox":"1","ie":"5.5","ios":"12.2","node":"0.0.3","opera":"10.50","opera_mobile":"10.50","safari":"12.0.2","samsung":"1.0"},"es.array.slice":{"android":"51","chrome":"51","edge":"13","electron":"1.2","firefox":"48","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.some":{"android":"4.4","chrome":"26","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"9.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"8.0","samsung":"1.5"},"es.array.sort":{"android":"70","chrome":"70","edge":"74","electron":"5.0","firefox":"4","ios":"12.0","node":"11.0","opera":"57","opera_mobile":"49","safari":"12.0","samsung":"10.0"},"es.array.species":{"android":"51","chrome":"51","edge":"13","electron":"1.2","firefox":"48","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.splice":{"android":"51","chrome":"51","edge":"13","electron":"1.2","firefox":"49","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.unscopables.flat":{"android":"73","chrome":"73","edge":"74","electron":"5.0","firefox":"67","ios":"13.0","node":"12.0","opera":"60","opera_mobile":"52","safari":"13","samsung":"11.0"},"es.array.unscopables.flat-map":{"android":"73","chrome":"73","edge":"74","electron":"5.0","firefox":"67","ios":"13.0","node":"12.0","opera":"60","opera_mobile":"52","safari":"13","samsung":"11.0"},"es.array-buffer.constructor":{"android":"4.4","chrome":"26","edge":"14","electron":"0.20","firefox":"44","ios":"12.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"12.0","samsung":"1.5"},"es.array-buffer.is-view":{"android":"4.4.3","chrome":"32","edge":"12","electron":"0.20","firefox":"29","ie":"11","ios":"8.0","node":"0.11.9","opera":"19","opera_mobile":"19","safari":"7.1","samsung":"2.0"},"es.array-buffer.slice":{"android":"4.4.3","chrome":"31","edge":"12","electron":"0.20","firefox":"46","ie":"11","ios":"12.2","node":"0.11.8","opera":"18","opera_mobile":"18","safari":"12.1","samsung":"2.0"},"es.data-view":{"android":"4.4","chrome":"26","edge":"12","electron":"0.20","firefox":"15","ie":"10","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"7.1","samsung":"1.5"},"es.date.now":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ie":"9","ios":"3.2","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"4.0","samsung":"1.0"},"es.date.to-iso-string":{"android":"4.4","chrome":"26","edge":"12","electron":"0.20","firefox":"7","ie":"9","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"7.1","samsung":"1.5"},"es.date.to-json":{"android":"4.4","chrome":"26","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"10.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"10.0","samsung":"1.5"},"es.date.to-primitive":{"android":"47","chrome":"47","edge":"15","electron":"0.36","firefox":"44","ios":"10.0","node":"6.0","opera":"34","opera_mobile":"34","safari":"10.0","samsung":"5.0"},"es.date.to-string":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ie":"9","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.function.bind":{"android":"3.0","chrome":"7","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"5.1","node":"0.1.101","opera":"12","opera_mobile":"12","phantom":"2.0","safari":"5.1","samsung":"1.0"},"es.function.has-instance":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"50","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.function.name":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"3.2","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"4.0","samsung":"1.0"},"es.global-this":{"android":"71","chrome":"71","edge":"74","electron":"5.0","firefox":"65","ios":"12.2","node":"12.0","opera":"58","opera_mobile":"50","safari":"12.1","samsung":"10.0"},"es.json.stringify":{"android":"72","chrome":"72","edge":"74","electron":"5.0","firefox":"64","ios":"12.2","node":"12.0","opera":"59","opera_mobile":"51","safari":"12.1","samsung":"11.0"},"es.json.to-string-tag":{"android":"50","chrome":"50","edge":"15","electron":"1.1","firefox":"51","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.map":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"53","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.math.acosh":{"android":"54","chrome":"54","edge":"13","electron":"1.4","firefox":"25","ios":"8.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"7.1","samsung":"6.0"},"es.math.asinh":{"android":"38","chrome":"38","edge":"13","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.math.atanh":{"android":"38","chrome":"38","edge":"13","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.math.cbrt":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.math.clz32":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"31","ios":"9.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"9.0","samsung":"3.0"},"es.math.cosh":{"android":"39","chrome":"39","edge":"13","electron":"0.20","firefox":"25","ios":"8.0","node":"1.0","opera":"26","opera_mobile":"26","safari":"7.1","samsung":"3.4"},"es.math.expm1":{"android":"39","chrome":"39","edge":"13","electron":"0.20","firefox":"46","ios":"8.0","node":"1.0","opera":"26","opera_mobile":"26","safari":"7.1","samsung":"3.4"},"es.math.fround":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"26","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.math.hypot":{"android":"78","chrome":"78","edge":"12","electron":"7.0","firefox":"27","ios":"8.0","node":"13.0","opera":"65","opera_mobile":"56","safari":"7.1","samsung":"12.0"},"es.math.imul":{"android":"4.4","chrome":"28","edge":"13","electron":"0.20","firefox":"20","ios":"9.0","node":"0.11.1","opera":"16","opera_mobile":"16","safari":"9.0","samsung":"1.5"},"es.math.log10":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.math.log1p":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.math.log2":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.math.sign":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"25","ios":"9.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"9.0","samsung":"3.0"},"es.math.sinh":{"android":"39","chrome":"39","edge":"13","electron":"0.20","firefox":"25","ios":"8.0","node":"1.0","opera":"26","opera_mobile":"26","safari":"7.1","samsung":"3.4"},"es.math.tanh":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.math.to-string-tag":{"android":"50","chrome":"50","edge":"15","electron":"1.1","firefox":"51","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.math.trunc":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.number.constructor":{"android":"41","chrome":"41","edge":"13","electron":"0.21","firefox":"46","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","safari":"9.0","samsung":"3.4"},"es.number.epsilon":{"android":"37","chrome":"34","edge":"12","electron":"0.20","firefox":"25","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","safari":"9.0","samsung":"2.0"},"es.number.is-finite":{"android":"4.1","chrome":"19","edge":"12","electron":"0.20","firefox":"16","ios":"9.0","node":"0.7.3","opera":"15","opera_mobile":"15","safari":"9.0","samsung":"1.5"},"es.number.is-integer":{"android":"37","chrome":"34","edge":"12","electron":"0.20","firefox":"16","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","safari":"9.0","samsung":"2.0"},"es.number.is-nan":{"android":"4.1","chrome":"19","edge":"12","electron":"0.20","firefox":"15","ios":"9.0","node":"0.7.3","opera":"15","opera_mobile":"15","safari":"9.0","samsung":"1.5"},"es.number.is-safe-integer":{"android":"37","chrome":"34","edge":"12","electron":"0.20","firefox":"32","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","safari":"9.0","samsung":"2.0"},"es.number.max-safe-integer":{"android":"37","chrome":"34","edge":"12","electron":"0.20","firefox":"31","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","safari":"9.0","samsung":"2.0"},"es.number.min-safe-integer":{"android":"37","chrome":"34","edge":"12","electron":"0.20","firefox":"31","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","safari":"9.0","samsung":"2.0"},"es.number.parse-float":{"android":"37","chrome":"35","edge":"13","electron":"0.20","firefox":"39","ios":"11.0","node":"0.11.13","opera":"22","opera_mobile":"22","safari":"11.0","samsung":"3.0"},"es.number.parse-int":{"android":"37","chrome":"35","edge":"13","electron":"0.20","firefox":"39","ios":"9.0","node":"0.11.13","opera":"22","opera_mobile":"22","safari":"9.0","samsung":"3.0"},"es.number.to-fixed":{"android":"4.4","chrome":"26","edge":"74","electron":"0.20","firefox":"4","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"7.1","samsung":"1.5"},"es.number.to-precision":{"android":"4.4","chrome":"26","edge":"12","electron":"0.20","firefox":"4","ie":"8","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"7.1","samsung":"1.5"},"es.object.assign":{"android":"49","chrome":"49","edge":"74","electron":"0.37","firefox":"36","ios":"9.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"9.0","samsung":"5.0"},"es.object.create":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"3.2","node":"0.1.27","opera":"12","opera_mobile":"12","phantom":"1.9","safari":"4.0","samsung":"1.0"},"es.object.define-getter":{"android":"62","chrome":"62","edge":"16","electron":"3.0","firefox":"48","ios":"8.0","node":"8.10","opera":"49","opera_mobile":"46","safari":"7.1","samsung":"8.0"},"es.object.define-properties":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"5.1","node":"0.1.27","opera":"12","opera_mobile":"12","phantom":"2.0","safari":"5.1","samsung":"1.0"},"es.object.define-property":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"5.1","node":"0.1.27","opera":"12","opera_mobile":"12","phantom":"2.0","safari":"5.1","samsung":"1.0"},"es.object.define-setter":{"android":"62","chrome":"62","edge":"16","electron":"3.0","firefox":"48","ios":"8.0","node":"8.10","opera":"49","opera_mobile":"46","safari":"7.1","samsung":"8.0"},"es.object.entries":{"android":"54","chrome":"54","edge":"14","electron":"1.4","firefox":"47","ios":"10.3","node":"7.0","opera":"41","opera_mobile":"41","safari":"10.1","samsung":"6.0"},"es.object.freeze":{"android":"44","chrome":"44","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","safari":"9.0","samsung":"4.0"},"es.object.from-entries":{"android":"73","chrome":"73","edge":"74","electron":"5.0","firefox":"63","ios":"12.2","node":"12.0","opera":"60","opera_mobile":"52","safari":"12.1","samsung":"11.0"},"es.object.get-own-property-descriptor":{"android":"44","chrome":"44","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","safari":"9.0","samsung":"4.0"},"es.object.get-own-property-descriptors":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"50","ios":"10.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"10.0","samsung":"6.0"},"es.object.get-own-property-names":{"android":"40","chrome":"40","edge":"13","electron":"0.21","firefox":"34","ios":"9.0","node":"1.0","opera":"27","opera_mobile":"27","safari":"9.0","samsung":"3.4"},"es.object.get-prototype-of":{"android":"44","chrome":"44","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","safari":"9.0","samsung":"4.0"},"es.object.is":{"android":"4.1","chrome":"19","edge":"12","electron":"0.20","firefox":"22","ios":"9.0","node":"0.7.3","opera":"15","opera_mobile":"15","safari":"9.0","samsung":"1.5"},"es.object.is-extensible":{"android":"44","chrome":"44","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","safari":"9.0","samsung":"4.0"},"es.object.is-frozen":{"android":"44","chrome":"44","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","safari":"9.0","samsung":"4.0"},"es.object.is-sealed":{"android":"44","chrome":"44","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","safari":"9.0","samsung":"4.0"},"es.object.keys":{"android":"40","chrome":"40","edge":"13","electron":"0.21","firefox":"35","ios":"9.0","node":"1.0","opera":"27","opera_mobile":"27","safari":"9.0","samsung":"3.4"},"es.object.lookup-getter":{"android":"62","chrome":"62","edge":"16","electron":"3.0","firefox":"48","ios":"8.0","node":"8.10","opera":"49","opera_mobile":"46","safari":"7.1","samsung":"8.0"},"es.object.lookup-setter":{"android":"62","chrome":"62","edge":"16","electron":"3.0","firefox":"48","ios":"8.0","node":"8.10","opera":"49","opera_mobile":"46","safari":"7.1","samsung":"8.0"},"es.object.prevent-extensions":{"android":"44","chrome":"44","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","safari":"9.0","samsung":"4.0"},"es.object.seal":{"android":"44","chrome":"44","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","safari":"9.0","samsung":"4.0"},"es.object.set-prototype-of":{"android":"37","chrome":"34","edge":"12","electron":"0.20","firefox":"31","ie":"11","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","safari":"9.0","samsung":"2.0"},"es.object.to-string":{"android":"49","chrome":"49","edge":"15","electron":"0.37","firefox":"51","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.object.values":{"android":"54","chrome":"54","edge":"14","electron":"1.4","firefox":"47","ios":"10.3","node":"7.0","opera":"41","opera_mobile":"41","safari":"10.1","samsung":"6.0"},"es.parse-float":{"android":"37","chrome":"35","edge":"12","electron":"0.20","firefox":"8","ie":"8","ios":"8.0","node":"0.11.13","opera":"22","opera_mobile":"22","safari":"7.1","samsung":"3.0"},"es.parse-int":{"android":"37","chrome":"35","edge":"12","electron":"0.20","firefox":"21","ie":"9","ios":"8.0","node":"0.11.13","opera":"22","opera_mobile":"22","safari":"7.1","samsung":"3.0"},"es.promise":{"android":"67","chrome":"67","edge":"74","electron":"4.0","firefox":"69","ios":"11.0","node":"10.4","opera":"54","opera_mobile":"48","safari":"11.0","samsung":"9.0"},"es.promise.all-settled":{"android":"76","chrome":"76","edge":"76","electron":"6.0","firefox":"71","ios":"13.0","node":"12.9","opera":"63","opera_mobile":"54","safari":"13","samsung":"12.0"},"es.promise.any":{"android":"85","chrome":"85","edge":"85","electron":"10.0","firefox":"79","ios":"14.0","node":"15.0","opera":"71","opera_mobile":"60","safari":"14.0","samsung":"14.0"},"es.promise.finally":{"android":"67","chrome":"67","edge":"74","electron":"4.0","firefox":"69","ios":"13.2.3","node":"10.4","opera":"54","opera_mobile":"48","safari":"13.0.3","samsung":"9.0"},"es.reflect.apply":{"android":"49","chrome":"49","edge":"15","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.construct":{"android":"49","chrome":"49","edge":"15","electron":"0.37","firefox":"44","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.define-property":{"android":"49","chrome":"49","edge":"13","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.delete-property":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.get":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.get-own-property-descriptor":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.get-prototype-of":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.has":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.is-extensible":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.own-keys":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.prevent-extensions":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.set":{"android":"49","chrome":"49","edge":"74","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.set-prototype-of":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.to-string-tag":{"android":"86","chrome":"86","edge":"86","electron":"11.0","firefox":"82","ios":"14.0","node":"15.0","opera":"72","opera_mobile":"61","safari":"14.0","samsung":"14.0"},"es.regexp.constructor":{"android":"51","chrome":"51","edge":"74","electron":"1.2","firefox":"49","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.regexp.exec":{"android":"4.4","chrome":"26","edge":"13","electron":"0.20","firefox":"44","ios":"10.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"10.0","samsung":"1.5"},"es.regexp.flags":{"android":"49","chrome":"49","edge":"74","electron":"0.37","firefox":"37","ios":"9.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"9.0","samsung":"5.0"},"es.regexp.sticky":{"android":"49","chrome":"49","edge":"13","electron":"0.37","firefox":"3","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.regexp.test":{"android":"51","chrome":"51","edge":"74","electron":"1.2","firefox":"46","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.regexp.to-string":{"android":"50","chrome":"50","edge":"74","electron":"1.1","firefox":"46","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.set":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"53","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.code-point-at":{"android":"41","chrome":"41","edge":"13","electron":"0.21","firefox":"29","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","safari":"9.0","samsung":"3.4"},"es.string.ends-with":{"android":"51","chrome":"51","edge":"74","electron":"1.2","firefox":"40","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.from-code-point":{"android":"41","chrome":"41","edge":"13","electron":"0.21","firefox":"29","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","safari":"9.0","samsung":"3.4"},"es.string.includes":{"android":"51","chrome":"51","edge":"74","electron":"1.2","firefox":"40","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.iterator":{"android":"41","chrome":"41","edge":"13","electron":"0.21","firefox":"36","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","safari":"9.0","samsung":"3.4"},"es.string.match":{"android":"51","chrome":"51","edge":"74","electron":"1.2","firefox":"49","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.match-all":{"android":"80","chrome":"80","edge":"80","electron":"8.0","firefox":"73","ios":"13.4","node":"14.0","opera":"67","opera_mobile":"57","safari":"13.1","samsung":"13.0"},"es.string.pad-end":{"android":"57","chrome":"57","edge":"15","electron":"1.7","firefox":"48","ios":"11.0","node":"8.0","opera":"44","opera_mobile":"43","safari":"11.0","samsung":"7.0"},"es.string.pad-start":{"android":"57","chrome":"57","edge":"15","electron":"1.7","firefox":"48","ios":"11.0","node":"8.0","opera":"44","opera_mobile":"43","safari":"11.0","samsung":"7.0"},"es.string.raw":{"android":"41","chrome":"41","edge":"13","electron":"0.21","firefox":"34","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","safari":"9.0","samsung":"3.4"},"es.string.repeat":{"android":"41","chrome":"41","edge":"13","electron":"0.21","firefox":"24","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","safari":"9.0","samsung":"3.4"},"es.string.replace":{"android":"64","chrome":"64","edge":"74","electron":"3.0","firefox":"78","ios":"14.0","node":"10.0","opera":"51","opera_mobile":"47","safari":"14.0","samsung":"9.0"},"es.string.replace-all":{"android":"85","chrome":"85","edge":"85","electron":"10.0","firefox":"77","ios":"13.4","node":"15.0","opera":"71","opera_mobile":"60","safari":"13.1","samsung":"14.0"},"es.string.search":{"android":"51","chrome":"51","edge":"74","electron":"1.2","firefox":"49","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.split":{"android":"54","chrome":"54","edge":"74","electron":"1.4","firefox":"49","ios":"10.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"10.0","samsung":"6.0"},"es.string.starts-with":{"android":"51","chrome":"51","edge":"74","electron":"1.2","firefox":"40","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.trim":{"android":"59","chrome":"59","edge":"15","electron":"1.8","firefox":"52","ios":"12.2","node":"8.3","opera":"46","opera_mobile":"43","safari":"12.1","samsung":"7.0"},"es.string.trim-end":{"android":"66","chrome":"66","edge":"74","electron":"3.0","firefox":"61","ios":"12.2","node":"10.0","opera":"53","opera_mobile":"47","safari":"12.1","samsung":"9.0"},"es.string.trim-start":{"android":"66","chrome":"66","edge":"74","electron":"3.0","firefox":"61","ios":"12.0","node":"10.0","opera":"53","opera_mobile":"47","safari":"12.0","samsung":"9.0"},"es.string.anchor":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"17","ios":"6.0","node":"0.1.27","opera":"15","opera_mobile":"15","phantom":"2.0","safari":"6.0","samsung":"1.0"},"es.string.big":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.string.blink":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.string.bold":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.string.fixed":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.string.fontcolor":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"17","ios":"6.0","node":"0.1.27","opera":"15","opera_mobile":"15","phantom":"2.0","safari":"6.0","samsung":"1.0"},"es.string.fontsize":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"17","ios":"6.0","node":"0.1.27","opera":"15","opera_mobile":"15","phantom":"2.0","safari":"6.0","samsung":"1.0"},"es.string.italics":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.string.link":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"17","ios":"6.0","node":"0.1.27","opera":"15","opera_mobile":"15","phantom":"2.0","safari":"6.0","samsung":"1.0"},"es.string.small":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.string.strike":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.string.sub":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.string.sup":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.typed-array.float32-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.float64-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.int8-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.int16-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.int32-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.uint8-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.uint8-clamped-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.uint16-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.uint32-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.copy-within":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"34","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.every":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.fill":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.filter":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"38","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.find":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.find-index":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.for-each":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"38","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.from":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.includes":{"android":"49","chrome":"49","edge":"14","electron":"0.37","firefox":"43","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.typed-array.index-of":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.iterator":{"android":"47","chrome":"47","edge":"13","electron":"0.36","firefox":"37","ios":"10.0","node":"6.0","opera":"34","opera_mobile":"34","safari":"10.0","samsung":"5.0"},"es.typed-array.join":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.last-index-of":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.map":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"38","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.of":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.reduce":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.reduce-right":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.reverse":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.set":{"android":"4.4","chrome":"26","edge":"13","electron":"0.20","firefox":"15","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"7.1","samsung":"1.5"},"es.typed-array.slice":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"38","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.some":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.sort":{"android":"74","chrome":"74","edge":"74","electron":"6.0","firefox":"67","ios":"14.5","node":"12.0","opera":"61","opera_mobile":"53","safari":"14.1","samsung":"11.0"},"es.typed-array.subarray":{"android":"4.4","chrome":"26","edge":"13","electron":"0.20","firefox":"15","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"7.1","samsung":"1.5"},"es.typed-array.to-locale-string":{"android":"45","chrome":"45","edge":"74","electron":"0.31","firefox":"51","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.to-string":{"android":"51","chrome":"51","edge":"13","electron":"1.2","firefox":"51","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.weak-map":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"53","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.weak-set":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"53","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"esnext.aggregate-error":{"android":"85","chrome":"85","edge":"85","electron":"10.0","firefox":"79","ios":"14.0","node":"15.0","opera":"71","opera_mobile":"60","safari":"14.0","samsung":"14.0"},"esnext.array.at":{"android":"92","chrome":"92","edge":"92","electron":"14.0","opera":"78"},"esnext.array.filter-out":{},"esnext.array.find-last":{},"esnext.array.find-last-index":{},"esnext.array.is-template-object":{},"esnext.array.last-index":{},"esnext.array.last-item":{},"esnext.array.unique-by":{},"esnext.async-iterator.constructor":{},"esnext.async-iterator.as-indexed-pairs":{},"esnext.async-iterator.drop":{},"esnext.async-iterator.every":{},"esnext.async-iterator.filter":{},"esnext.async-iterator.find":{},"esnext.async-iterator.flat-map":{},"esnext.async-iterator.for-each":{},"esnext.async-iterator.from":{},"esnext.async-iterator.map":{},"esnext.async-iterator.reduce":{},"esnext.async-iterator.some":{},"esnext.async-iterator.take":{},"esnext.async-iterator.to-array":{},"esnext.bigint.range":{},"esnext.composite-key":{},"esnext.composite-symbol":{},"esnext.global-this":{"android":"71","chrome":"71","edge":"74","electron":"5.0","firefox":"65","ios":"12.2","node":"12.0","opera":"58","opera_mobile":"50","safari":"12.1","samsung":"10.0"},"esnext.iterator.constructor":{},"esnext.iterator.as-indexed-pairs":{},"esnext.iterator.drop":{},"esnext.iterator.every":{},"esnext.iterator.filter":{},"esnext.iterator.find":{},"esnext.iterator.flat-map":{},"esnext.iterator.for-each":{},"esnext.iterator.from":{},"esnext.iterator.map":{},"esnext.iterator.reduce":{},"esnext.iterator.some":{},"esnext.iterator.take":{},"esnext.iterator.to-array":{},"esnext.map.delete-all":{},"esnext.map.emplace":{},"esnext.map.every":{},"esnext.map.filter":{},"esnext.map.find":{},"esnext.map.find-key":{},"esnext.map.from":{},"esnext.map.group-by":{},"esnext.map.includes":{},"esnext.map.key-by":{},"esnext.map.key-of":{},"esnext.map.map-keys":{},"esnext.map.map-values":{},"esnext.map.merge":{},"esnext.map.of":{},"esnext.map.reduce":{},"esnext.map.some":{},"esnext.map.update":{},"esnext.map.update-or-insert":{},"esnext.map.upsert":{},"esnext.math.clamp":{},"esnext.math.deg-per-rad":{},"esnext.math.degrees":{},"esnext.math.fscale":{},"esnext.math.iaddh":{},"esnext.math.imulh":{},"esnext.math.isubh":{},"esnext.math.rad-per-deg":{},"esnext.math.radians":{},"esnext.math.scale":{},"esnext.math.seeded-prng":{},"esnext.math.signbit":{},"esnext.math.umulh":{},"esnext.number.from-string":{},"esnext.number.range":{},"esnext.object.has-own":{},"esnext.object.iterate-entries":{},"esnext.object.iterate-keys":{},"esnext.object.iterate-values":{},"esnext.observable":{},"esnext.promise.all-settled":{"android":"76","chrome":"76","edge":"76","electron":"6.0","firefox":"71","ios":"13.0","node":"12.9","opera":"63","opera_mobile":"54","safari":"13","samsung":"12.0"},"esnext.promise.any":{"android":"85","chrome":"85","edge":"85","electron":"10.0","firefox":"79","ios":"14.0","node":"15.0","opera":"71","opera_mobile":"60","safari":"14.0","samsung":"14.0"},"esnext.promise.try":{},"esnext.reflect.define-metadata":{},"esnext.reflect.delete-metadata":{},"esnext.reflect.get-metadata":{},"esnext.reflect.get-metadata-keys":{},"esnext.reflect.get-own-metadata":{},"esnext.reflect.get-own-metadata-keys":{},"esnext.reflect.has-metadata":{},"esnext.reflect.has-own-metadata":{},"esnext.reflect.metadata":{},"esnext.set.add-all":{},"esnext.set.delete-all":{},"esnext.set.difference":{},"esnext.set.every":{},"esnext.set.filter":{},"esnext.set.find":{},"esnext.set.from":{},"esnext.set.intersection":{},"esnext.set.is-disjoint-from":{},"esnext.set.is-subset-of":{},"esnext.set.is-superset-of":{},"esnext.set.join":{},"esnext.set.map":{},"esnext.set.of":{},"esnext.set.reduce":{},"esnext.set.some":{},"esnext.set.symmetric-difference":{},"esnext.set.union":{},"esnext.string.at":{},"esnext.string.code-points":{},"esnext.string.match-all":{"android":"80","chrome":"80","edge":"80","electron":"8.0","firefox":"73","ios":"13.4","node":"14.0","opera":"67","opera_mobile":"57","safari":"13.1","samsung":"13.0"},"esnext.string.replace-all":{"android":"85","chrome":"85","edge":"85","electron":"10.0","firefox":"77","ios":"13.4","node":"15.0","opera":"71","opera_mobile":"60","safari":"13.1","samsung":"14.0"},"esnext.symbol.async-dispose":{},"esnext.symbol.dispose":{},"esnext.symbol.matcher":{},"esnext.symbol.metadata":{},"esnext.symbol.observable":{},"esnext.symbol.pattern-match":{},"esnext.symbol.replace-all":{},"esnext.typed-array.at":{"android":"92","chrome":"92","edge":"92","electron":"14.0","opera":"78"},"esnext.typed-array.filter-out":{},"esnext.typed-array.find-last":{},"esnext.typed-array.find-last-index":{},"esnext.typed-array.unique-by":{},"esnext.weak-map.delete-all":{},"esnext.weak-map.from":{},"esnext.weak-map.of":{},"esnext.weak-map.emplace":{},"esnext.weak-map.upsert":{},"esnext.weak-set.add-all":{},"esnext.weak-set.delete-all":{},"esnext.weak-set.from":{},"esnext.weak-set.of":{},"web.dom-collections.for-each":{"android":"58","chrome":"58","edge":"16","electron":"1.7","firefox":"50","ios":"10.0","node":"0.0.1","opera":"45","opera_mobile":"43","safari":"10.0","samsung":"7.0"},"web.dom-collections.iterator":{"android":"66","chrome":"66","edge":"74","electron":"3.0","firefox":"60","ios":"13.4","node":"0.0.1","opera":"53","opera_mobile":"47","safari":"13.1","samsung":"9.0"},"web.immediate":{"ie":"10","node":"0.9.1"},"web.queue-microtask":{"android":"71","chrome":"71","edge":"74","electron":"5.0","firefox":"69","ios":"12.2","node":"12.0","opera":"58","opera_mobile":"50","safari":"12.1","samsung":"10.0"},"web.timers":{"android":"1.5","chrome":"1","edge":"12","electron":"0.20","firefox":"1","ie":"10","ios":"1.0","node":"0.0.1","opera":"7","opera_mobile":"7","phantom":"1.9","safari":"1.0","samsung":"1.0"},"web.url":{"android":"67","chrome":"67","edge":"74","electron":"4.0","firefox":"57","ios":"14.0","node":"10.0","opera":"54","opera_mobile":"48","safari":"14.0","samsung":"9.0"},"web.url.to-json":{"android":"71","chrome":"71","edge":"74","electron":"5.0","firefox":"57","ios":"14.0","node":"10.0","opera":"58","opera_mobile":"50","safari":"14.0","samsung":"10.0"},"web.url-search-params":{"android":"67","chrome":"67","edge":"74","electron":"4.0","firefox":"57","ios":"14.0","node":"10.0","opera":"54","opera_mobile":"48","safari":"14.0","samsung":"9.0"}}')},98742:e=>{"use strict";e.exports=JSON.parse('{"core-js":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.aggregate-error","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.weak-map","es.weak-set","esnext.aggregate-error","esnext.array.at","esnext.array.filter-out","esnext.array.find-last","esnext.array.find-last-index","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.unique-by","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.dom-collections.for-each","web.dom-collections.iterator","web.immediate","web.queue-microtask","web.timers","web.url","web.url.to-json","web.url-search-params"],"core-js/es":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.aggregate-error","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.weak-map","es.weak-set"],"core-js/es/aggregate-error":["es.aggregate-error","es.string.iterator","web.dom-collections.iterator"],"core-js/es/array":["es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.string.iterator"],"core-js/es/array-buffer":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string"],"core-js/es/array-buffer/constructor":["es.array-buffer.constructor","es.object.to-string"],"core-js/es/array-buffer/is-view":["es.array-buffer.is-view"],"core-js/es/array-buffer/slice":["es.array-buffer.slice"],"core-js/es/array/concat":["es.array.concat"],"core-js/es/array/copy-within":["es.array.copy-within"],"core-js/es/array/entries":["es.array.iterator"],"core-js/es/array/every":["es.array.every"],"core-js/es/array/fill":["es.array.fill"],"core-js/es/array/filter":["es.array.filter"],"core-js/es/array/find":["es.array.find"],"core-js/es/array/find-index":["es.array.find-index"],"core-js/es/array/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/es/array/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/es/array/for-each":["es.array.for-each"],"core-js/es/array/from":["es.array.from","es.string.iterator"],"core-js/es/array/includes":["es.array.includes"],"core-js/es/array/index-of":["es.array.index-of"],"core-js/es/array/is-array":["es.array.is-array"],"core-js/es/array/iterator":["es.array.iterator"],"core-js/es/array/join":["es.array.join"],"core-js/es/array/keys":["es.array.iterator"],"core-js/es/array/last-index-of":["es.array.last-index-of"],"core-js/es/array/map":["es.array.map"],"core-js/es/array/of":["es.array.of"],"core-js/es/array/reduce":["es.array.reduce"],"core-js/es/array/reduce-right":["es.array.reduce-right"],"core-js/es/array/reverse":["es.array.reverse"],"core-js/es/array/slice":["es.array.slice"],"core-js/es/array/some":["es.array.some"],"core-js/es/array/sort":["es.array.sort"],"core-js/es/array/splice":["es.array.splice"],"core-js/es/array/values":["es.array.iterator"],"core-js/es/array/virtual":["es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.includes","es.array.index-of","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map"],"core-js/es/array/virtual/concat":["es.array.concat"],"core-js/es/array/virtual/copy-within":["es.array.copy-within"],"core-js/es/array/virtual/entries":["es.array.iterator"],"core-js/es/array/virtual/every":["es.array.every"],"core-js/es/array/virtual/fill":["es.array.fill"],"core-js/es/array/virtual/filter":["es.array.filter"],"core-js/es/array/virtual/filter-out":["esnext.array.filter-out"],"core-js/es/array/virtual/find":["es.array.find"],"core-js/es/array/virtual/find-index":["es.array.find-index"],"core-js/es/array/virtual/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/es/array/virtual/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/es/array/virtual/for-each":["es.array.for-each"],"core-js/es/array/virtual/includes":["es.array.includes"],"core-js/es/array/virtual/index-of":["es.array.index-of"],"core-js/es/array/virtual/iterator":["es.array.iterator"],"core-js/es/array/virtual/join":["es.array.join"],"core-js/es/array/virtual/keys":["es.array.iterator"],"core-js/es/array/virtual/last-index-of":["es.array.last-index-of"],"core-js/es/array/virtual/map":["es.array.map"],"core-js/es/array/virtual/reduce":["es.array.reduce"],"core-js/es/array/virtual/reduce-right":["es.array.reduce-right"],"core-js/es/array/virtual/reverse":["es.array.reverse"],"core-js/es/array/virtual/slice":["es.array.slice"],"core-js/es/array/virtual/some":["es.array.some"],"core-js/es/array/virtual/sort":["es.array.sort"],"core-js/es/array/virtual/splice":["es.array.splice"],"core-js/es/array/virtual/values":["es.array.iterator"],"core-js/es/data-view":["es.data-view","es.object.to-string"],"core-js/es/date":["es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string"],"core-js/es/date/now":["es.date.now"],"core-js/es/date/to-iso-string":["es.date.to-iso-string","es.date.to-json"],"core-js/es/date/to-json":["es.date.to-json"],"core-js/es/date/to-primitive":["es.date.to-primitive"],"core-js/es/date/to-string":["es.date.to-string"],"core-js/es/function":["es.function.bind","es.function.has-instance","es.function.name"],"core-js/es/function/bind":["es.function.bind"],"core-js/es/function/has-instance":["es.function.has-instance"],"core-js/es/function/name":["es.function.name"],"core-js/es/function/virtual":["es.function.bind"],"core-js/es/function/virtual/bind":["es.function.bind"],"core-js/es/global-this":["es.global-this"],"core-js/es/instance/bind":["es.function.bind"],"core-js/es/instance/code-point-at":["es.string.code-point-at"],"core-js/es/instance/concat":["es.array.concat"],"core-js/es/instance/copy-within":["es.array.copy-within"],"core-js/es/instance/ends-with":["es.string.ends-with"],"core-js/es/instance/entries":["es.array.iterator"],"core-js/es/instance/every":["es.array.every"],"core-js/es/instance/fill":["es.array.fill"],"core-js/es/instance/filter":["es.array.filter"],"core-js/es/instance/find":["es.array.find"],"core-js/es/instance/find-index":["es.array.find-index"],"core-js/es/instance/flags":["es.regexp.flags"],"core-js/es/instance/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/es/instance/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/es/instance/for-each":["es.array.for-each"],"core-js/es/instance/includes":["es.array.includes","es.string.includes"],"core-js/es/instance/index-of":["es.array.index-of"],"core-js/es/instance/keys":["es.array.iterator"],"core-js/es/instance/last-index-of":["es.array.last-index-of"],"core-js/es/instance/map":["es.array.map"],"core-js/es/instance/match-all":["es.string.match-all"],"core-js/es/instance/pad-end":["es.string.pad-end"],"core-js/es/instance/pad-start":["es.string.pad-start"],"core-js/es/instance/reduce":["es.array.reduce"],"core-js/es/instance/reduce-right":["es.array.reduce-right"],"core-js/es/instance/repeat":["es.string.repeat"],"core-js/es/instance/replace-all":["es.string.replace-all"],"core-js/es/instance/reverse":["es.array.reverse"],"core-js/es/instance/slice":["es.array.slice"],"core-js/es/instance/some":["es.array.some"],"core-js/es/instance/sort":["es.array.sort"],"core-js/es/instance/splice":["es.array.splice"],"core-js/es/instance/starts-with":["es.string.starts-with"],"core-js/es/instance/trim":["es.string.trim"],"core-js/es/instance/trim-end":["es.string.trim-end"],"core-js/es/instance/trim-left":["es.string.trim-start"],"core-js/es/instance/trim-right":["es.string.trim-end"],"core-js/es/instance/trim-start":["es.string.trim-start"],"core-js/es/instance/values":["es.array.iterator"],"core-js/es/json":["es.json.stringify","es.json.to-string-tag"],"core-js/es/json/stringify":["es.json.stringify"],"core-js/es/json/to-string-tag":["es.json.to-string-tag"],"core-js/es/map":["es.map","es.object.to-string","es.string.iterator","web.dom-collections.iterator"],"core-js/es/math":["es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc"],"core-js/es/math/acosh":["es.math.acosh"],"core-js/es/math/asinh":["es.math.asinh"],"core-js/es/math/atanh":["es.math.atanh"],"core-js/es/math/cbrt":["es.math.cbrt"],"core-js/es/math/clz32":["es.math.clz32"],"core-js/es/math/cosh":["es.math.cosh"],"core-js/es/math/expm1":["es.math.expm1"],"core-js/es/math/fround":["es.math.fround"],"core-js/es/math/hypot":["es.math.hypot"],"core-js/es/math/imul":["es.math.imul"],"core-js/es/math/log10":["es.math.log10"],"core-js/es/math/log1p":["es.math.log1p"],"core-js/es/math/log2":["es.math.log2"],"core-js/es/math/sign":["es.math.sign"],"core-js/es/math/sinh":["es.math.sinh"],"core-js/es/math/tanh":["es.math.tanh"],"core-js/es/math/to-string-tag":["es.math.to-string-tag"],"core-js/es/math/trunc":["es.math.trunc"],"core-js/es/number":["es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision"],"core-js/es/number/constructor":["es.number.constructor"],"core-js/es/number/epsilon":["es.number.epsilon"],"core-js/es/number/is-finite":["es.number.is-finite"],"core-js/es/number/is-integer":["es.number.is-integer"],"core-js/es/number/is-nan":["es.number.is-nan"],"core-js/es/number/is-safe-integer":["es.number.is-safe-integer"],"core-js/es/number/max-safe-integer":["es.number.max-safe-integer"],"core-js/es/number/min-safe-integer":["es.number.min-safe-integer"],"core-js/es/number/parse-float":["es.number.parse-float"],"core-js/es/number/parse-int":["es.number.parse-int"],"core-js/es/number/to-fixed":["es.number.to-fixed"],"core-js/es/number/to-precision":["es.number.to-precision"],"core-js/es/number/virtual":["es.number.to-fixed","es.number.to-precision"],"core-js/es/number/virtual/to-fixed":["es.number.to-fixed"],"core-js/es/number/virtual/to-precision":["es.number.to-precision"],"core-js/es/object":["es.symbol","es.json.to-string-tag","es.math.to-string-tag","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.reflect.to-string-tag"],"core-js/es/object/assign":["es.object.assign"],"core-js/es/object/create":["es.object.create"],"core-js/es/object/define-getter":["es.object.define-getter"],"core-js/es/object/define-properties":["es.object.define-properties"],"core-js/es/object/define-property":["es.object.define-property"],"core-js/es/object/define-setter":["es.object.define-setter"],"core-js/es/object/entries":["es.object.entries"],"core-js/es/object/freeze":["es.object.freeze"],"core-js/es/object/from-entries":["es.array.iterator","es.object.from-entries"],"core-js/es/object/get-own-property-descriptor":["es.object.get-own-property-descriptor"],"core-js/es/object/get-own-property-descriptors":["es.object.get-own-property-descriptors"],"core-js/es/object/get-own-property-names":["es.object.get-own-property-names"],"core-js/es/object/get-own-property-symbols":["es.symbol"],"core-js/es/object/get-prototype-of":["es.object.get-prototype-of"],"core-js/es/object/is":["es.object.is"],"core-js/es/object/is-extensible":["es.object.is-extensible"],"core-js/es/object/is-frozen":["es.object.is-frozen"],"core-js/es/object/is-sealed":["es.object.is-sealed"],"core-js/es/object/keys":["es.object.keys"],"core-js/es/object/lookup-getter":["es.object.lookup-setter"],"core-js/es/object/lookup-setter":["es.object.lookup-setter"],"core-js/es/object/prevent-extensions":["es.object.prevent-extensions"],"core-js/es/object/seal":["es.object.seal"],"core-js/es/object/set-prototype-of":["es.object.set-prototype-of"],"core-js/es/object/to-string":["es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/es/object/values":["es.object.values"],"core-js/es/parse-float":["es.parse-float"],"core-js/es/parse-int":["es.parse-int"],"core-js/es/promise":["es.aggregate-error","es.object.to-string","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.string.iterator","web.dom-collections.iterator"],"core-js/es/promise/all-settled":["es.promise","es.promise.all-settled","es.string.iterator","web.dom-collections.iterator"],"core-js/es/promise/any":["es.aggregate-error","es.promise","es.promise.any","es.string.iterator","web.dom-collections.iterator"],"core-js/es/promise/finally":["es.promise","es.promise.finally"],"core-js/es/reflect":["es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag"],"core-js/es/reflect/apply":["es.reflect.apply"],"core-js/es/reflect/construct":["es.reflect.construct"],"core-js/es/reflect/define-property":["es.reflect.define-property"],"core-js/es/reflect/delete-property":["es.reflect.delete-property"],"core-js/es/reflect/get":["es.reflect.get"],"core-js/es/reflect/get-own-property-descriptor":["es.reflect.get-own-property-descriptor"],"core-js/es/reflect/get-prototype-of":["es.reflect.get-prototype-of"],"core-js/es/reflect/has":["es.reflect.has"],"core-js/es/reflect/is-extensible":["es.reflect.is-extensible"],"core-js/es/reflect/own-keys":["es.reflect.own-keys"],"core-js/es/reflect/prevent-extensions":["es.reflect.prevent-extensions"],"core-js/es/reflect/set":["es.reflect.set"],"core-js/es/reflect/set-prototype-of":["es.reflect.set-prototype-of"],"core-js/es/reflect/to-string-tag":["es.reflect.to-string-tag"],"core-js/es/regexp":["es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.string.match","es.string.replace","es.string.search","es.string.split"],"core-js/es/regexp/constructor":["es.regexp.constructor"],"core-js/es/regexp/flags":["es.regexp.flags"],"core-js/es/regexp/match":["es.string.match"],"core-js/es/regexp/replace":["es.string.replace"],"core-js/es/regexp/search":["es.string.search"],"core-js/es/regexp/split":["es.string.split"],"core-js/es/regexp/sticky":["es.regexp.sticky"],"core-js/es/regexp/test":["es.regexp.exec","es.regexp.test"],"core-js/es/regexp/to-string":["es.regexp.to-string"],"core-js/es/set":["es.object.to-string","es.set","es.string.iterator","web.dom-collections.iterator"],"core-js/es/string":["es.regexp.exec","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup"],"core-js/es/string/anchor":["es.string.anchor"],"core-js/es/string/big":["es.string.big"],"core-js/es/string/blink":["es.string.blink"],"core-js/es/string/bold":["es.string.bold"],"core-js/es/string/code-point-at":["es.string.code-point-at"],"core-js/es/string/ends-with":["es.string.ends-with"],"core-js/es/string/fixed":["es.string.fixed"],"core-js/es/string/fontcolor":["es.string.fontcolor"],"core-js/es/string/fontsize":["es.string.fontsize"],"core-js/es/string/from-code-point":["es.string.from-code-point"],"core-js/es/string/includes":["es.string.includes"],"core-js/es/string/italics":["es.string.italics"],"core-js/es/string/iterator":["es.string.iterator"],"core-js/es/string/link":["es.string.link"],"core-js/es/string/match":["es.regexp.exec","es.string.match"],"core-js/es/string/match-all":["es.string.match-all"],"core-js/es/string/pad-end":["es.string.pad-end"],"core-js/es/string/pad-start":["es.string.pad-start"],"core-js/es/string/raw":["es.string.raw"],"core-js/es/string/repeat":["es.string.repeat"],"core-js/es/string/replace":["es.regexp.exec","es.string.replace"],"core-js/es/string/replace-all":["es.string.replace-all"],"core-js/es/string/search":["es.regexp.exec","es.string.search"],"core-js/es/string/small":["es.string.small"],"core-js/es/string/split":["es.regexp.exec","es.string.split"],"core-js/es/string/starts-with":["es.string.starts-with"],"core-js/es/string/strike":["es.string.strike"],"core-js/es/string/sub":["es.string.sub"],"core-js/es/string/sup":["es.string.sup"],"core-js/es/string/trim":["es.string.trim"],"core-js/es/string/trim-end":["es.string.trim-end"],"core-js/es/string/trim-left":["es.string.trim-start"],"core-js/es/string/trim-right":["es.string.trim-end"],"core-js/es/string/trim-start":["es.string.trim-start"],"core-js/es/string/virtual":["es.string.code-point-at","es.string.ends-with","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup"],"core-js/es/string/virtual/anchor":["es.string.anchor"],"core-js/es/string/virtual/big":["es.string.big"],"core-js/es/string/virtual/blink":["es.string.blink"],"core-js/es/string/virtual/bold":["es.string.bold"],"core-js/es/string/virtual/code-point-at":["es.string.code-point-at"],"core-js/es/string/virtual/ends-with":["es.string.ends-with"],"core-js/es/string/virtual/fixed":["es.string.fixed"],"core-js/es/string/virtual/fontcolor":["es.string.fontcolor"],"core-js/es/string/virtual/fontsize":["es.string.fontsize"],"core-js/es/string/virtual/includes":["es.string.includes"],"core-js/es/string/virtual/italics":["es.string.italics"],"core-js/es/string/virtual/iterator":["es.string.iterator"],"core-js/es/string/virtual/link":["es.string.link"],"core-js/es/string/virtual/match-all":["es.string.match-all"],"core-js/es/string/virtual/pad-end":["es.string.pad-end"],"core-js/es/string/virtual/pad-start":["es.string.pad-start"],"core-js/es/string/virtual/repeat":["es.string.repeat"],"core-js/es/string/virtual/replace-all":["es.string.replace-all"],"core-js/es/string/virtual/small":["es.string.small"],"core-js/es/string/virtual/starts-with":["es.string.starts-with"],"core-js/es/string/virtual/strike":["es.string.strike"],"core-js/es/string/virtual/sub":["es.string.sub"],"core-js/es/string/virtual/sup":["es.string.sup"],"core-js/es/string/virtual/trim":["es.string.trim"],"core-js/es/string/virtual/trim-end":["es.string.trim-end"],"core-js/es/string/virtual/trim-left":["es.string.trim-start"],"core-js/es/string/virtual/trim-right":["es.string.trim-end"],"core-js/es/string/virtual/trim-start":["es.string.trim-start"],"core-js/es/symbol":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.array.concat","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/es/symbol/async-iterator":["es.symbol.async-iterator"],"core-js/es/symbol/description":["es.symbol.description"],"core-js/es/symbol/for":["es.symbol"],"core-js/es/symbol/has-instance":["es.symbol.has-instance","es.function.has-instance"],"core-js/es/symbol/is-concat-spreadable":["es.symbol.is-concat-spreadable","es.array.concat"],"core-js/es/symbol/iterator":["es.symbol.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/es/symbol/key-for":["es.symbol"],"core-js/es/symbol/match":["es.symbol.match","es.string.match"],"core-js/es/symbol/match-all":["es.symbol.match-all","es.string.match-all"],"core-js/es/symbol/replace":["es.symbol.replace","es.string.replace"],"core-js/es/symbol/search":["es.symbol.search","es.string.search"],"core-js/es/symbol/species":["es.symbol.species"],"core-js/es/symbol/split":["es.symbol.split","es.string.split"],"core-js/es/symbol/to-primitive":["es.symbol.to-primitive"],"core-js/es/symbol/to-string-tag":["es.symbol.to-string-tag","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/es/symbol/unscopables":["es.symbol.unscopables"],"core-js/es/typed-array":["es.object.to-string","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/copy-within":["es.typed-array.copy-within"],"core-js/es/typed-array/entries":["es.typed-array.iterator"],"core-js/es/typed-array/every":["es.typed-array.every"],"core-js/es/typed-array/fill":["es.typed-array.fill"],"core-js/es/typed-array/filter":["es.typed-array.filter"],"core-js/es/typed-array/find":["es.typed-array.find"],"core-js/es/typed-array/find-index":["es.typed-array.find-index"],"core-js/es/typed-array/float32-array":["es.object.to-string","es.typed-array.float32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/float64-array":["es.object.to-string","es.typed-array.float64-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/for-each":["es.typed-array.for-each"],"core-js/es/typed-array/from":["es.typed-array.from"],"core-js/es/typed-array/includes":["es.typed-array.includes"],"core-js/es/typed-array/index-of":["es.typed-array.index-of"],"core-js/es/typed-array/int16-array":["es.object.to-string","es.typed-array.int16-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/int32-array":["es.object.to-string","es.typed-array.int32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/int8-array":["es.object.to-string","es.typed-array.int8-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/iterator":["es.typed-array.iterator"],"core-js/es/typed-array/join":["es.typed-array.join"],"core-js/es/typed-array/keys":["es.typed-array.iterator"],"core-js/es/typed-array/last-index-of":["es.typed-array.last-index-of"],"core-js/es/typed-array/map":["es.typed-array.map"],"core-js/es/typed-array/methods":["es.object.to-string","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/of":["es.typed-array.of"],"core-js/es/typed-array/reduce":["es.typed-array.reduce"],"core-js/es/typed-array/reduce-right":["es.typed-array.reduce-right"],"core-js/es/typed-array/reverse":["es.typed-array.reverse"],"core-js/es/typed-array/set":["es.typed-array.set"],"core-js/es/typed-array/slice":["es.typed-array.slice"],"core-js/es/typed-array/some":["es.typed-array.some"],"core-js/es/typed-array/sort":["es.typed-array.sort"],"core-js/es/typed-array/subarray":["es.typed-array.subarray"],"core-js/es/typed-array/to-locale-string":["es.typed-array.to-locale-string"],"core-js/es/typed-array/to-string":["es.typed-array.to-string"],"core-js/es/typed-array/uint16-array":["es.object.to-string","es.typed-array.uint16-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/uint32-array":["es.object.to-string","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/uint8-array":["es.object.to-string","es.typed-array.uint8-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/uint8-clamped-array":["es.object.to-string","es.typed-array.uint8-clamped-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/values":["es.typed-array.iterator"],"core-js/es/weak-map":["es.object.to-string","es.weak-map","web.dom-collections.iterator"],"core-js/es/weak-set":["es.object.to-string","es.weak-set","web.dom-collections.iterator"],"core-js/features":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.aggregate-error","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.weak-map","es.weak-set","esnext.aggregate-error","esnext.array.at","esnext.array.filter-out","esnext.array.find-last","esnext.array.find-last-index","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.unique-by","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.dom-collections.for-each","web.dom-collections.iterator","web.immediate","web.queue-microtask","web.timers","web.url","web.url.to-json","web.url-search-params"],"core-js/features/aggregate-error":["es.aggregate-error","es.string.iterator","esnext.aggregate-error","web.dom-collections.iterator"],"core-js/features/array":["es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.map","es.string.iterator","esnext.array.at","esnext.array.filter-out","esnext.array.find-last","esnext.array.find-last-index","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by"],"core-js/features/array-buffer":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string"],"core-js/features/array-buffer/constructor":["es.array-buffer.constructor","es.object.to-string"],"core-js/features/array-buffer/is-view":["es.array-buffer.is-view"],"core-js/features/array-buffer/slice":["es.array-buffer.slice"],"core-js/features/array/at":["esnext.array.at"],"core-js/features/array/concat":["es.array.concat"],"core-js/features/array/copy-within":["es.array.copy-within"],"core-js/features/array/entries":["es.array.iterator"],"core-js/features/array/every":["es.array.every"],"core-js/features/array/fill":["es.array.fill"],"core-js/features/array/filter":["es.array.filter"],"core-js/features/array/filter-out":["esnext.array.filter-out"],"core-js/features/array/find":["es.array.find"],"core-js/features/array/find-index":["es.array.find-index"],"core-js/features/array/find-last":["esnext.array.find-last"],"core-js/features/array/find-last-index":["esnext.array.find-last-index"],"core-js/features/array/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/features/array/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/features/array/for-each":["es.array.for-each"],"core-js/features/array/from":["es.array.from","es.string.iterator"],"core-js/features/array/includes":["es.array.includes"],"core-js/features/array/index-of":["es.array.index-of"],"core-js/features/array/is-array":["es.array.is-array"],"core-js/features/array/is-template-object":["esnext.array.is-template-object"],"core-js/features/array/iterator":["es.array.iterator"],"core-js/features/array/join":["es.array.join"],"core-js/features/array/keys":["es.array.iterator"],"core-js/features/array/last-index":["esnext.array.last-index"],"core-js/features/array/last-index-of":["es.array.last-index-of"],"core-js/features/array/last-item":["esnext.array.last-item"],"core-js/features/array/map":["es.array.map"],"core-js/features/array/of":["es.array.of"],"core-js/features/array/reduce":["es.array.reduce"],"core-js/features/array/reduce-right":["es.array.reduce-right"],"core-js/features/array/reverse":["es.array.reverse"],"core-js/features/array/slice":["es.array.slice"],"core-js/features/array/some":["es.array.some"],"core-js/features/array/sort":["es.array.sort"],"core-js/features/array/splice":["es.array.splice"],"core-js/features/array/unique-by":["es.map","esnext.array.unique-by"],"core-js/features/array/values":["es.array.iterator"],"core-js/features/array/virtual":["es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.includes","es.array.index-of","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.map","esnext.array.at","esnext.array.filter-out","esnext.array.find-last","esnext.array.find-last-index","esnext.array.unique-by"],"core-js/features/array/virtual/at":["esnext.array.at"],"core-js/features/array/virtual/concat":["es.array.concat"],"core-js/features/array/virtual/copy-within":["es.array.copy-within"],"core-js/features/array/virtual/entries":["es.array.iterator"],"core-js/features/array/virtual/every":["es.array.every"],"core-js/features/array/virtual/fill":["es.array.fill"],"core-js/features/array/virtual/filter":["es.array.filter"],"core-js/features/array/virtual/filter-out":["esnext.array.filter-out"],"core-js/features/array/virtual/find":["es.array.find"],"core-js/features/array/virtual/find-index":["es.array.find-index"],"core-js/features/array/virtual/find-last":["esnext.array.find-last"],"core-js/features/array/virtual/find-last-index":["esnext.array.find-last-index"],"core-js/features/array/virtual/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/features/array/virtual/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/features/array/virtual/for-each":["es.array.for-each"],"core-js/features/array/virtual/includes":["es.array.includes"],"core-js/features/array/virtual/index-of":["es.array.index-of"],"core-js/features/array/virtual/iterator":["es.array.iterator"],"core-js/features/array/virtual/join":["es.array.join"],"core-js/features/array/virtual/keys":["es.array.iterator"],"core-js/features/array/virtual/last-index-of":["es.array.last-index-of"],"core-js/features/array/virtual/map":["es.array.map"],"core-js/features/array/virtual/reduce":["es.array.reduce"],"core-js/features/array/virtual/reduce-right":["es.array.reduce-right"],"core-js/features/array/virtual/reverse":["es.array.reverse"],"core-js/features/array/virtual/slice":["es.array.slice"],"core-js/features/array/virtual/some":["es.array.some"],"core-js/features/array/virtual/sort":["es.array.sort"],"core-js/features/array/virtual/splice":["es.array.splice"],"core-js/features/array/virtual/unique-by":["es.map","esnext.array.unique-by"],"core-js/features/array/virtual/values":["es.array.iterator"],"core-js/features/async-iterator":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","web.dom-collections.iterator"],"core-js/features/async-iterator/as-indexed-pairs":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","web.dom-collections.iterator"],"core-js/features/async-iterator/drop":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.drop","web.dom-collections.iterator"],"core-js/features/async-iterator/every":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.every","web.dom-collections.iterator"],"core-js/features/async-iterator/filter":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.filter","web.dom-collections.iterator"],"core-js/features/async-iterator/find":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.find","web.dom-collections.iterator"],"core-js/features/async-iterator/flat-map":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.flat-map","web.dom-collections.iterator"],"core-js/features/async-iterator/for-each":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.for-each","web.dom-collections.iterator"],"core-js/features/async-iterator/from":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.from","web.dom-collections.iterator"],"core-js/features/async-iterator/map":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.map","web.dom-collections.iterator"],"core-js/features/async-iterator/reduce":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.reduce","web.dom-collections.iterator"],"core-js/features/async-iterator/some":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.some","web.dom-collections.iterator"],"core-js/features/async-iterator/take":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.take","web.dom-collections.iterator"],"core-js/features/async-iterator/to-array":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.to-array","web.dom-collections.iterator"],"core-js/features/bigint":["esnext.bigint.range"],"core-js/features/bigint/range":["esnext.bigint.range"],"core-js/features/clear-immediate":["web.immediate"],"core-js/features/composite-key":["esnext.composite-key"],"core-js/features/composite-symbol":["es.symbol","esnext.composite-symbol"],"core-js/features/data-view":["es.data-view","es.object.to-string"],"core-js/features/date":["es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string"],"core-js/features/date/now":["es.date.now"],"core-js/features/date/to-iso-string":["es.date.to-iso-string","es.date.to-json"],"core-js/features/date/to-json":["es.date.to-json"],"core-js/features/date/to-primitive":["es.date.to-primitive"],"core-js/features/date/to-string":["es.date.to-string"],"core-js/features/dom-collections":["es.array.iterator","web.dom-collections.for-each","web.dom-collections.iterator"],"core-js/features/dom-collections/for-each":["web.dom-collections.for-each"],"core-js/features/dom-collections/iterator":["web.dom-collections.iterator"],"core-js/features/function":["es.function.bind","es.function.has-instance","es.function.name"],"core-js/features/function/bind":["es.function.bind"],"core-js/features/function/has-instance":["es.function.has-instance"],"core-js/features/function/name":["es.function.name"],"core-js/features/function/virtual":["es.function.bind"],"core-js/features/function/virtual/bind":["es.function.bind"],"core-js/features/get-iterator":["es.string.iterator","web.dom-collections.iterator"],"core-js/features/get-iterator-method":["es.string.iterator","web.dom-collections.iterator"],"core-js/features/global-this":["es.global-this","esnext.global-this"],"core-js/features/instance/at":["esnext.array.at","esnext.string.at"],"core-js/features/instance/bind":["es.function.bind"],"core-js/features/instance/code-point-at":["es.string.code-point-at"],"core-js/features/instance/code-points":["esnext.string.code-points"],"core-js/features/instance/concat":["es.array.concat"],"core-js/features/instance/copy-within":["es.array.copy-within"],"core-js/features/instance/ends-with":["es.string.ends-with"],"core-js/features/instance/entries":["es.array.iterator","web.dom-collections.iterator"],"core-js/features/instance/every":["es.array.every"],"core-js/features/instance/fill":["es.array.fill"],"core-js/features/instance/filter":["es.array.filter"],"core-js/features/instance/filter-out":["esnext.array.filter-out"],"core-js/features/instance/find":["es.array.find"],"core-js/features/instance/find-index":["es.array.find-index"],"core-js/features/instance/find-last":["esnext.array.find-last"],"core-js/features/instance/find-last-index":["esnext.array.find-last-index"],"core-js/features/instance/flags":["es.regexp.flags"],"core-js/features/instance/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/features/instance/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/features/instance/for-each":["es.array.for-each","web.dom-collections.iterator"],"core-js/features/instance/includes":["es.array.includes","es.string.includes"],"core-js/features/instance/index-of":["es.array.index-of"],"core-js/features/instance/keys":["es.array.iterator","web.dom-collections.iterator"],"core-js/features/instance/last-index-of":["es.array.last-index-of"],"core-js/features/instance/map":["es.array.map"],"core-js/features/instance/match-all":["es.string.match-all","esnext.string.match-all"],"core-js/features/instance/pad-end":["es.string.pad-end"],"core-js/features/instance/pad-start":["es.string.pad-start"],"core-js/features/instance/reduce":["es.array.reduce"],"core-js/features/instance/reduce-right":["es.array.reduce-right"],"core-js/features/instance/repeat":["es.string.repeat"],"core-js/features/instance/replace-all":["es.string.replace-all"],"core-js/features/instance/reverse":["es.array.reverse"],"core-js/features/instance/slice":["es.array.slice"],"core-js/features/instance/some":["es.array.some"],"core-js/features/instance/sort":["es.array.sort"],"core-js/features/instance/splice":["es.array.splice"],"core-js/features/instance/starts-with":["es.string.starts-with"],"core-js/features/instance/trim":["es.string.trim"],"core-js/features/instance/trim-end":["es.string.trim-end"],"core-js/features/instance/trim-left":["es.string.trim-start"],"core-js/features/instance/trim-right":["es.string.trim-end"],"core-js/features/instance/trim-start":["es.string.trim-start"],"core-js/features/instance/unique-by":["es.map","esnext.array.unique-by"],"core-js/features/instance/values":["es.array.iterator","web.dom-collections.iterator"],"core-js/features/is-iterable":["es.string.iterator","web.dom-collections.iterator"],"core-js/features/iterator":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","web.dom-collections.iterator"],"core-js/features/iterator/as-indexed-pairs":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","web.dom-collections.iterator"],"core-js/features/iterator/drop":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.drop","web.dom-collections.iterator"],"core-js/features/iterator/every":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.every","web.dom-collections.iterator"],"core-js/features/iterator/filter":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.filter","web.dom-collections.iterator"],"core-js/features/iterator/find":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.find","web.dom-collections.iterator"],"core-js/features/iterator/flat-map":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.flat-map","web.dom-collections.iterator"],"core-js/features/iterator/for-each":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.for-each","web.dom-collections.iterator"],"core-js/features/iterator/from":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.from","web.dom-collections.iterator"],"core-js/features/iterator/map":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.map","web.dom-collections.iterator"],"core-js/features/iterator/reduce":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.reduce","web.dom-collections.iterator"],"core-js/features/iterator/some":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.some","web.dom-collections.iterator"],"core-js/features/iterator/take":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.take","web.dom-collections.iterator"],"core-js/features/iterator/to-array":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.to-array","web.dom-collections.iterator"],"core-js/features/json":["es.json.stringify","es.json.to-string-tag"],"core-js/features/json/stringify":["es.json.stringify"],"core-js/features/json/to-string-tag":["es.json.to-string-tag"],"core-js/features/map":["es.map","es.object.to-string","es.string.iterator","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","web.dom-collections.iterator"],"core-js/features/map/delete-all":["es.map","esnext.map.delete-all"],"core-js/features/map/emplace":["es.map","esnext.map.emplace"],"core-js/features/map/every":["es.map","esnext.map.every"],"core-js/features/map/filter":["es.map","esnext.map.filter"],"core-js/features/map/find":["es.map","esnext.map.find"],"core-js/features/map/find-key":["es.map","esnext.map.find-key"],"core-js/features/map/from":["es.map","es.string.iterator","esnext.map.from","web.dom-collections.iterator"],"core-js/features/map/group-by":["es.map","esnext.map.group-by"],"core-js/features/map/includes":["es.map","esnext.map.includes"],"core-js/features/map/key-by":["es.map","esnext.map.key-by"],"core-js/features/map/key-of":["es.map","esnext.map.key-of"],"core-js/features/map/map-keys":["es.map","esnext.map.map-keys"],"core-js/features/map/map-values":["es.map","esnext.map.map-values"],"core-js/features/map/merge":["es.map","esnext.map.merge"],"core-js/features/map/of":["es.map","es.string.iterator","esnext.map.of","web.dom-collections.iterator"],"core-js/features/map/reduce":["es.map","esnext.map.reduce"],"core-js/features/map/some":["es.map","esnext.map.some"],"core-js/features/map/update":["es.map","esnext.map.update"],"core-js/features/map/update-or-insert":["es.map","esnext.map.update-or-insert"],"core-js/features/map/upsert":["es.map","esnext.map.upsert"],"core-js/features/math":["es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh"],"core-js/features/math/acosh":["es.math.acosh"],"core-js/features/math/asinh":["es.math.asinh"],"core-js/features/math/atanh":["es.math.atanh"],"core-js/features/math/cbrt":["es.math.cbrt"],"core-js/features/math/clamp":["esnext.math.clamp"],"core-js/features/math/clz32":["es.math.clz32"],"core-js/features/math/cosh":["es.math.cosh"],"core-js/features/math/deg-per-rad":["esnext.math.deg-per-rad"],"core-js/features/math/degrees":["esnext.math.degrees"],"core-js/features/math/expm1":["es.math.expm1"],"core-js/features/math/fround":["es.math.fround"],"core-js/features/math/fscale":["esnext.math.fscale"],"core-js/features/math/hypot":["es.math.hypot"],"core-js/features/math/iaddh":["esnext.math.iaddh"],"core-js/features/math/imul":["es.math.imul"],"core-js/features/math/imulh":["esnext.math.imulh"],"core-js/features/math/isubh":["esnext.math.isubh"],"core-js/features/math/log10":["es.math.log10"],"core-js/features/math/log1p":["es.math.log1p"],"core-js/features/math/log2":["es.math.log2"],"core-js/features/math/rad-per-deg":["esnext.math.rad-per-deg"],"core-js/features/math/radians":["esnext.math.radians"],"core-js/features/math/scale":["esnext.math.scale"],"core-js/features/math/seeded-prng":["esnext.math.seeded-prng"],"core-js/features/math/sign":["es.math.sign"],"core-js/features/math/signbit":["esnext.math.signbit"],"core-js/features/math/sinh":["es.math.sinh"],"core-js/features/math/tanh":["es.math.tanh"],"core-js/features/math/to-string-tag":["es.math.to-string-tag"],"core-js/features/math/trunc":["es.math.trunc"],"core-js/features/math/umulh":["esnext.math.umulh"],"core-js/features/number":["es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision","esnext.number.from-string","esnext.number.range"],"core-js/features/number/constructor":["es.number.constructor"],"core-js/features/number/epsilon":["es.number.epsilon"],"core-js/features/number/from-string":["esnext.number.from-string"],"core-js/features/number/is-finite":["es.number.is-finite"],"core-js/features/number/is-integer":["es.number.is-integer"],"core-js/features/number/is-nan":["es.number.is-nan"],"core-js/features/number/is-safe-integer":["es.number.is-safe-integer"],"core-js/features/number/max-safe-integer":["es.number.max-safe-integer"],"core-js/features/number/min-safe-integer":["es.number.min-safe-integer"],"core-js/features/number/parse-float":["es.number.parse-float"],"core-js/features/number/parse-int":["es.number.parse-int"],"core-js/features/number/range":["esnext.number.range"],"core-js/features/number/to-fixed":["es.number.to-fixed"],"core-js/features/number/to-precision":["es.number.to-precision"],"core-js/features/number/virtual":["es.number.to-fixed","es.number.to-precision"],"core-js/features/number/virtual/to-fixed":["es.number.to-fixed"],"core-js/features/number/virtual/to-precision":["es.number.to-precision"],"core-js/features/object":["es.symbol","es.json.to-string-tag","es.math.to-string-tag","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.reflect.to-string-tag","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values"],"core-js/features/object/assign":["es.object.assign"],"core-js/features/object/create":["es.object.create"],"core-js/features/object/define-getter":["es.object.define-getter"],"core-js/features/object/define-properties":["es.object.define-properties"],"core-js/features/object/define-property":["es.object.define-property"],"core-js/features/object/define-setter":["es.object.define-setter"],"core-js/features/object/entries":["es.object.entries"],"core-js/features/object/freeze":["es.object.freeze"],"core-js/features/object/from-entries":["es.array.iterator","es.object.from-entries"],"core-js/features/object/get-own-property-descriptor":["es.object.get-own-property-descriptor"],"core-js/features/object/get-own-property-descriptors":["es.object.get-own-property-descriptors"],"core-js/features/object/get-own-property-names":["es.object.get-own-property-names"],"core-js/features/object/get-own-property-symbols":["es.symbol"],"core-js/features/object/get-prototype-of":["es.object.get-prototype-of"],"core-js/features/object/has-own":["esnext.object.has-own"],"core-js/features/object/is":["es.object.is"],"core-js/features/object/is-extensible":["es.object.is-extensible"],"core-js/features/object/is-frozen":["es.object.is-frozen"],"core-js/features/object/is-sealed":["es.object.is-sealed"],"core-js/features/object/iterate-entries":["esnext.object.iterate-entries"],"core-js/features/object/iterate-keys":["esnext.object.iterate-keys"],"core-js/features/object/iterate-values":["esnext.object.iterate-values"],"core-js/features/object/keys":["es.object.keys"],"core-js/features/object/lookup-getter":["es.object.lookup-setter"],"core-js/features/object/lookup-setter":["es.object.lookup-setter"],"core-js/features/object/prevent-extensions":["es.object.prevent-extensions"],"core-js/features/object/seal":["es.object.seal"],"core-js/features/object/set-prototype-of":["es.object.set-prototype-of"],"core-js/features/object/to-string":["es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/features/object/values":["es.object.values"],"core-js/features/observable":["es.object.to-string","es.string.iterator","esnext.observable","esnext.symbol.observable","web.dom-collections.iterator"],"core-js/features/parse-float":["es.parse-float"],"core-js/features/parse-int":["es.parse-int"],"core-js/features/promise":["es.aggregate-error","es.object.to-string","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.string.iterator","esnext.aggregate-error","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","web.dom-collections.iterator"],"core-js/features/promise/all-settled":["es.promise","es.promise.all-settled","es.string.iterator","esnext.promise.all-settled","web.dom-collections.iterator"],"core-js/features/promise/any":["es.aggregate-error","es.promise","es.promise.any","es.string.iterator","esnext.aggregate-error","esnext.promise.any","web.dom-collections.iterator"],"core-js/features/promise/finally":["es.promise","es.promise.finally"],"core-js/features/promise/try":["es.promise","esnext.promise.try"],"core-js/features/queue-microtask":["web.queue-microtask"],"core-js/features/reflect":["es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata"],"core-js/features/reflect/apply":["es.reflect.apply"],"core-js/features/reflect/construct":["es.reflect.construct"],"core-js/features/reflect/define-metadata":["esnext.reflect.define-metadata"],"core-js/features/reflect/define-property":["es.reflect.define-property"],"core-js/features/reflect/delete-metadata":["esnext.reflect.delete-metadata"],"core-js/features/reflect/delete-property":["es.reflect.delete-property"],"core-js/features/reflect/get":["es.reflect.get"],"core-js/features/reflect/get-metadata":["esnext.reflect.get-metadata"],"core-js/features/reflect/get-metadata-keys":["esnext.reflect.get-metadata-keys"],"core-js/features/reflect/get-own-metadata":["esnext.reflect.get-own-metadata"],"core-js/features/reflect/get-own-metadata-keys":["esnext.reflect.get-own-metadata-keys"],"core-js/features/reflect/get-own-property-descriptor":["es.reflect.get-own-property-descriptor"],"core-js/features/reflect/get-prototype-of":["es.reflect.get-prototype-of"],"core-js/features/reflect/has":["es.reflect.has"],"core-js/features/reflect/has-metadata":["esnext.reflect.has-metadata"],"core-js/features/reflect/has-own-metadata":["esnext.reflect.has-own-metadata"],"core-js/features/reflect/is-extensible":["es.reflect.is-extensible"],"core-js/features/reflect/metadata":["esnext.reflect.metadata"],"core-js/features/reflect/own-keys":["es.reflect.own-keys"],"core-js/features/reflect/prevent-extensions":["es.reflect.prevent-extensions"],"core-js/features/reflect/set":["es.reflect.set"],"core-js/features/reflect/set-prototype-of":["es.reflect.set-prototype-of"],"core-js/features/reflect/to-string-tag":["es.reflect.to-string-tag"],"core-js/features/regexp":["es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.string.match","es.string.replace","es.string.search","es.string.split"],"core-js/features/regexp/constructor":["es.regexp.constructor"],"core-js/features/regexp/flags":["es.regexp.flags"],"core-js/features/regexp/match":["es.string.match"],"core-js/features/regexp/replace":["es.string.replace"],"core-js/features/regexp/search":["es.string.search"],"core-js/features/regexp/split":["es.string.split"],"core-js/features/regexp/sticky":["es.regexp.sticky"],"core-js/features/regexp/test":["es.regexp.exec","es.regexp.test"],"core-js/features/regexp/to-string":["es.regexp.to-string"],"core-js/features/set":["es.object.to-string","es.set","es.string.iterator","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","web.dom-collections.iterator"],"core-js/features/set-immediate":["web.immediate"],"core-js/features/set-interval":["web.timers"],"core-js/features/set-timeout":["web.timers"],"core-js/features/set/add-all":["es.set","esnext.set.add-all"],"core-js/features/set/delete-all":["es.set","esnext.set.delete-all"],"core-js/features/set/difference":["es.set","es.string.iterator","esnext.set.difference","web.dom-collections.iterator"],"core-js/features/set/every":["es.set","esnext.set.every"],"core-js/features/set/filter":["es.set","esnext.set.filter"],"core-js/features/set/find":["es.set","esnext.set.find"],"core-js/features/set/from":["es.set","es.string.iterator","esnext.set.from","web.dom-collections.iterator"],"core-js/features/set/intersection":["es.set","esnext.set.intersection"],"core-js/features/set/is-disjoint-from":["es.set","esnext.set.is-disjoint-from"],"core-js/features/set/is-subset-of":["es.set","es.string.iterator","esnext.set.is-subset-of","web.dom-collections.iterator"],"core-js/features/set/is-superset-of":["es.set","esnext.set.is-superset-of"],"core-js/features/set/join":["es.set","esnext.set.join"],"core-js/features/set/map":["es.set","esnext.set.map"],"core-js/features/set/of":["es.set","es.string.iterator","esnext.set.of","web.dom-collections.iterator"],"core-js/features/set/reduce":["es.set","esnext.set.reduce"],"core-js/features/set/some":["es.set","esnext.set.some"],"core-js/features/set/symmetric-difference":["es.set","es.string.iterator","esnext.set.symmetric-difference","web.dom-collections.iterator"],"core-js/features/set/union":["es.set","es.string.iterator","esnext.set.union","web.dom-collections.iterator"],"core-js/features/string":["es.regexp.exec","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all"],"core-js/features/string/anchor":["es.string.anchor"],"core-js/features/string/at":["esnext.string.at"],"core-js/features/string/big":["es.string.big"],"core-js/features/string/blink":["es.string.blink"],"core-js/features/string/bold":["es.string.bold"],"core-js/features/string/code-point-at":["es.string.code-point-at"],"core-js/features/string/code-points":["esnext.string.code-points"],"core-js/features/string/ends-with":["es.string.ends-with"],"core-js/features/string/fixed":["es.string.fixed"],"core-js/features/string/fontcolor":["es.string.fontcolor"],"core-js/features/string/fontsize":["es.string.fontsize"],"core-js/features/string/from-code-point":["es.string.from-code-point"],"core-js/features/string/includes":["es.string.includes"],"core-js/features/string/italics":["es.string.italics"],"core-js/features/string/iterator":["es.string.iterator"],"core-js/features/string/link":["es.string.link"],"core-js/features/string/match":["es.regexp.exec","es.string.match"],"core-js/features/string/match-all":["es.string.match-all","esnext.string.match-all"],"core-js/features/string/pad-end":["es.string.pad-end"],"core-js/features/string/pad-start":["es.string.pad-start"],"core-js/features/string/raw":["es.string.raw"],"core-js/features/string/repeat":["es.string.repeat"],"core-js/features/string/replace":["es.regexp.exec","es.string.replace"],"core-js/features/string/replace-all":["es.string.replace-all","esnext.string.replace-all"],"core-js/features/string/search":["es.regexp.exec","es.string.search"],"core-js/features/string/small":["es.string.small"],"core-js/features/string/split":["es.regexp.exec","es.string.split"],"core-js/features/string/starts-with":["es.string.starts-with"],"core-js/features/string/strike":["es.string.strike"],"core-js/features/string/sub":["es.string.sub"],"core-js/features/string/sup":["es.string.sup"],"core-js/features/string/trim":["es.string.trim"],"core-js/features/string/trim-end":["es.string.trim-end"],"core-js/features/string/trim-left":["es.string.trim-start"],"core-js/features/string/trim-right":["es.string.trim-end"],"core-js/features/string/trim-start":["es.string.trim-start"],"core-js/features/string/virtual":["es.string.code-point-at","es.string.ends-with","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all"],"core-js/features/string/virtual/anchor":["es.string.anchor"],"core-js/features/string/virtual/at":["esnext.string.at"],"core-js/features/string/virtual/big":["es.string.big"],"core-js/features/string/virtual/blink":["es.string.blink"],"core-js/features/string/virtual/bold":["es.string.bold"],"core-js/features/string/virtual/code-point-at":["es.string.code-point-at"],"core-js/features/string/virtual/code-points":["esnext.string.code-points"],"core-js/features/string/virtual/ends-with":["es.string.ends-with"],"core-js/features/string/virtual/fixed":["es.string.fixed"],"core-js/features/string/virtual/fontcolor":["es.string.fontcolor"],"core-js/features/string/virtual/fontsize":["es.string.fontsize"],"core-js/features/string/virtual/includes":["es.string.includes"],"core-js/features/string/virtual/italics":["es.string.italics"],"core-js/features/string/virtual/iterator":["es.string.iterator"],"core-js/features/string/virtual/link":["es.string.link"],"core-js/features/string/virtual/match-all":["es.string.match-all","esnext.string.match-all"],"core-js/features/string/virtual/pad-end":["es.string.pad-end"],"core-js/features/string/virtual/pad-start":["es.string.pad-start"],"core-js/features/string/virtual/repeat":["es.string.repeat"],"core-js/features/string/virtual/replace-all":["es.string.replace-all","esnext.string.replace-all"],"core-js/features/string/virtual/small":["es.string.small"],"core-js/features/string/virtual/starts-with":["es.string.starts-with"],"core-js/features/string/virtual/strike":["es.string.strike"],"core-js/features/string/virtual/sub":["es.string.sub"],"core-js/features/string/virtual/sup":["es.string.sup"],"core-js/features/string/virtual/trim":["es.string.trim"],"core-js/features/string/virtual/trim-end":["es.string.trim-end"],"core-js/features/string/virtual/trim-left":["es.string.trim-start"],"core-js/features/string/virtual/trim-right":["es.string.trim-end"],"core-js/features/string/virtual/trim-start":["es.string.trim-start"],"core-js/features/symbol":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.array.concat","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all"],"core-js/features/symbol/async-dispose":["esnext.symbol.async-dispose"],"core-js/features/symbol/async-iterator":["es.symbol.async-iterator"],"core-js/features/symbol/description":["es.symbol.description"],"core-js/features/symbol/dispose":["esnext.symbol.dispose"],"core-js/features/symbol/for":["es.symbol"],"core-js/features/symbol/has-instance":["es.symbol.has-instance","es.function.has-instance"],"core-js/features/symbol/is-concat-spreadable":["es.symbol.is-concat-spreadable","es.array.concat"],"core-js/features/symbol/iterator":["es.symbol.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/features/symbol/key-for":["es.symbol"],"core-js/features/symbol/match":["es.symbol.match","es.string.match"],"core-js/features/symbol/match-all":["es.symbol.match-all","es.string.match-all"],"core-js/features/symbol/matcher":["esnext.symbol.matcher"],"core-js/features/symbol/metadata":["esnext.symbol.metadata"],"core-js/features/symbol/observable":["esnext.symbol.observable"],"core-js/features/symbol/pattern-match":["esnext.symbol.pattern-match"],"core-js/features/symbol/replace":["es.symbol.replace","es.string.replace"],"core-js/features/symbol/replace-all":["esnext.symbol.replace-all"],"core-js/features/symbol/search":["es.symbol.search","es.string.search"],"core-js/features/symbol/species":["es.symbol.species"],"core-js/features/symbol/split":["es.symbol.split","es.string.split"],"core-js/features/symbol/to-primitive":["es.symbol.to-primitive"],"core-js/features/symbol/to-string-tag":["es.symbol.to-string-tag","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/features/symbol/unscopables":["es.symbol.unscopables"],"core-js/features/typed-array":["es.map","es.object.to-string","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.unique-by"],"core-js/features/typed-array/at":["esnext.typed-array.at"],"core-js/features/typed-array/copy-within":["es.typed-array.copy-within"],"core-js/features/typed-array/entries":["es.typed-array.iterator"],"core-js/features/typed-array/every":["es.typed-array.every"],"core-js/features/typed-array/fill":["es.typed-array.fill"],"core-js/features/typed-array/filter":["es.typed-array.filter"],"core-js/features/typed-array/filter-out":["esnext.typed-array.filter-out"],"core-js/features/typed-array/find":["es.typed-array.find"],"core-js/features/typed-array/find-index":["es.typed-array.find-index"],"core-js/features/typed-array/find-last":["esnext.typed-array.find-last"],"core-js/features/typed-array/find-last-index":["esnext.typed-array.find-last-index"],"core-js/features/typed-array/float32-array":["es.object.to-string","es.typed-array.float32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/float64-array":["es.object.to-string","es.typed-array.float64-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/for-each":["es.typed-array.for-each"],"core-js/features/typed-array/from":["es.typed-array.from"],"core-js/features/typed-array/includes":["es.typed-array.includes"],"core-js/features/typed-array/index-of":["es.typed-array.index-of"],"core-js/features/typed-array/int16-array":["es.object.to-string","es.typed-array.int16-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/int32-array":["es.object.to-string","es.typed-array.int32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/int8-array":["es.object.to-string","es.typed-array.int8-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/iterator":["es.typed-array.iterator"],"core-js/features/typed-array/join":["es.typed-array.join"],"core-js/features/typed-array/keys":["es.typed-array.iterator"],"core-js/features/typed-array/last-index-of":["es.typed-array.last-index-of"],"core-js/features/typed-array/map":["es.typed-array.map"],"core-js/features/typed-array/of":["es.typed-array.of"],"core-js/features/typed-array/reduce":["es.typed-array.reduce"],"core-js/features/typed-array/reduce-right":["es.typed-array.reduce-right"],"core-js/features/typed-array/reverse":["es.typed-array.reverse"],"core-js/features/typed-array/set":["es.typed-array.set"],"core-js/features/typed-array/slice":["es.typed-array.slice"],"core-js/features/typed-array/some":["es.typed-array.some"],"core-js/features/typed-array/sort":["es.typed-array.sort"],"core-js/features/typed-array/subarray":["es.typed-array.subarray"],"core-js/features/typed-array/to-locale-string":["es.typed-array.to-locale-string"],"core-js/features/typed-array/to-string":["es.typed-array.to-string"],"core-js/features/typed-array/uint16-array":["es.object.to-string","es.typed-array.uint16-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/uint32-array":["es.object.to-string","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/uint8-array":["es.object.to-string","es.typed-array.uint8-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/uint8-clamped-array":["es.object.to-string","es.typed-array.uint8-clamped-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/unique-by":["es.map","esnext.typed-array.unique-by"],"core-js/features/typed-array/values":["es.typed-array.iterator"],"core-js/features/url":["web.url","web.url.to-json","web.url-search-params"],"core-js/features/url-search-params":["web.url-search-params"],"core-js/features/url/to-json":["web.url.to-json"],"core-js/features/weak-map":["es.object.to-string","es.weak-map","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","web.dom-collections.iterator"],"core-js/features/weak-map/delete-all":["es.weak-map","esnext.weak-map.delete-all"],"core-js/features/weak-map/emplace":["es.weak-map","esnext.weak-map.emplace"],"core-js/features/weak-map/from":["es.string.iterator","es.weak-map","esnext.weak-map.from","web.dom-collections.iterator"],"core-js/features/weak-map/of":["es.string.iterator","es.weak-map","esnext.weak-map.of","web.dom-collections.iterator"],"core-js/features/weak-map/upsert":["es.weak-map","esnext.weak-map.upsert"],"core-js/features/weak-set":["es.object.to-string","es.weak-set","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.dom-collections.iterator"],"core-js/features/weak-set/add-all":["es.weak-set","esnext.weak-set.add-all"],"core-js/features/weak-set/delete-all":["es.weak-set","esnext.weak-set.delete-all"],"core-js/features/weak-set/from":["es.string.iterator","es.weak-set","esnext.weak-set.from","web.dom-collections.iterator"],"core-js/features/weak-set/of":["es.string.iterator","es.weak-set","esnext.weak-set.of","web.dom-collections.iterator"],"core-js/modules/es.aggregate-error":["es.aggregate-error"],"core-js/modules/es.array-buffer.constructor":["es.array-buffer.constructor"],"core-js/modules/es.array-buffer.is-view":["es.array-buffer.is-view"],"core-js/modules/es.array-buffer.slice":["es.array-buffer.slice"],"core-js/modules/es.array.concat":["es.array.concat"],"core-js/modules/es.array.copy-within":["es.array.copy-within"],"core-js/modules/es.array.every":["es.array.every"],"core-js/modules/es.array.fill":["es.array.fill"],"core-js/modules/es.array.filter":["es.array.filter"],"core-js/modules/es.array.find":["es.array.find"],"core-js/modules/es.array.find-index":["es.array.find-index"],"core-js/modules/es.array.flat":["es.array.flat"],"core-js/modules/es.array.flat-map":["es.array.flat-map"],"core-js/modules/es.array.for-each":["es.array.for-each"],"core-js/modules/es.array.from":["es.array.from"],"core-js/modules/es.array.includes":["es.array.includes"],"core-js/modules/es.array.index-of":["es.array.index-of"],"core-js/modules/es.array.is-array":["es.array.is-array"],"core-js/modules/es.array.iterator":["es.array.iterator"],"core-js/modules/es.array.join":["es.array.join"],"core-js/modules/es.array.last-index-of":["es.array.last-index-of"],"core-js/modules/es.array.map":["es.array.map"],"core-js/modules/es.array.of":["es.array.of"],"core-js/modules/es.array.reduce":["es.array.reduce"],"core-js/modules/es.array.reduce-right":["es.array.reduce-right"],"core-js/modules/es.array.reverse":["es.array.reverse"],"core-js/modules/es.array.slice":["es.array.slice"],"core-js/modules/es.array.some":["es.array.some"],"core-js/modules/es.array.sort":["es.array.sort"],"core-js/modules/es.array.species":["es.array.species"],"core-js/modules/es.array.splice":["es.array.splice"],"core-js/modules/es.array.unscopables.flat":["es.array.unscopables.flat"],"core-js/modules/es.array.unscopables.flat-map":["es.array.unscopables.flat-map"],"core-js/modules/es.data-view":["es.data-view"],"core-js/modules/es.date.now":["es.date.now"],"core-js/modules/es.date.to-iso-string":["es.date.to-iso-string"],"core-js/modules/es.date.to-json":["es.date.to-json"],"core-js/modules/es.date.to-primitive":["es.date.to-primitive"],"core-js/modules/es.date.to-string":["es.date.to-string"],"core-js/modules/es.function.bind":["es.function.bind"],"core-js/modules/es.function.has-instance":["es.function.has-instance"],"core-js/modules/es.function.name":["es.function.name"],"core-js/modules/es.global-this":["es.global-this"],"core-js/modules/es.json.stringify":["es.json.stringify"],"core-js/modules/es.json.to-string-tag":["es.json.to-string-tag"],"core-js/modules/es.map":["es.map"],"core-js/modules/es.math.acosh":["es.math.acosh"],"core-js/modules/es.math.asinh":["es.math.asinh"],"core-js/modules/es.math.atanh":["es.math.atanh"],"core-js/modules/es.math.cbrt":["es.math.cbrt"],"core-js/modules/es.math.clz32":["es.math.clz32"],"core-js/modules/es.math.cosh":["es.math.cosh"],"core-js/modules/es.math.expm1":["es.math.expm1"],"core-js/modules/es.math.fround":["es.math.fround"],"core-js/modules/es.math.hypot":["es.math.hypot"],"core-js/modules/es.math.imul":["es.math.imul"],"core-js/modules/es.math.log10":["es.math.log10"],"core-js/modules/es.math.log1p":["es.math.log1p"],"core-js/modules/es.math.log2":["es.math.log2"],"core-js/modules/es.math.sign":["es.math.sign"],"core-js/modules/es.math.sinh":["es.math.sinh"],"core-js/modules/es.math.tanh":["es.math.tanh"],"core-js/modules/es.math.to-string-tag":["es.math.to-string-tag"],"core-js/modules/es.math.trunc":["es.math.trunc"],"core-js/modules/es.number.constructor":["es.number.constructor"],"core-js/modules/es.number.epsilon":["es.number.epsilon"],"core-js/modules/es.number.is-finite":["es.number.is-finite"],"core-js/modules/es.number.is-integer":["es.number.is-integer"],"core-js/modules/es.number.is-nan":["es.number.is-nan"],"core-js/modules/es.number.is-safe-integer":["es.number.is-safe-integer"],"core-js/modules/es.number.max-safe-integer":["es.number.max-safe-integer"],"core-js/modules/es.number.min-safe-integer":["es.number.min-safe-integer"],"core-js/modules/es.number.parse-float":["es.number.parse-float"],"core-js/modules/es.number.parse-int":["es.number.parse-int"],"core-js/modules/es.number.to-fixed":["es.number.to-fixed"],"core-js/modules/es.number.to-precision":["es.number.to-precision"],"core-js/modules/es.object.assign":["es.object.assign"],"core-js/modules/es.object.create":["es.object.create"],"core-js/modules/es.object.define-getter":["es.object.define-getter"],"core-js/modules/es.object.define-properties":["es.object.define-properties"],"core-js/modules/es.object.define-property":["es.object.define-property"],"core-js/modules/es.object.define-setter":["es.object.define-setter"],"core-js/modules/es.object.entries":["es.object.entries"],"core-js/modules/es.object.freeze":["es.object.freeze"],"core-js/modules/es.object.from-entries":["es.object.from-entries"],"core-js/modules/es.object.get-own-property-descriptor":["es.object.get-own-property-descriptor"],"core-js/modules/es.object.get-own-property-descriptors":["es.object.get-own-property-descriptors"],"core-js/modules/es.object.get-own-property-names":["es.object.get-own-property-names"],"core-js/modules/es.object.get-prototype-of":["es.object.get-prototype-of"],"core-js/modules/es.object.is":["es.object.is"],"core-js/modules/es.object.is-extensible":["es.object.is-extensible"],"core-js/modules/es.object.is-frozen":["es.object.is-frozen"],"core-js/modules/es.object.is-sealed":["es.object.is-sealed"],"core-js/modules/es.object.keys":["es.object.keys"],"core-js/modules/es.object.lookup-getter":["es.object.lookup-getter"],"core-js/modules/es.object.lookup-setter":["es.object.lookup-setter"],"core-js/modules/es.object.prevent-extensions":["es.object.prevent-extensions"],"core-js/modules/es.object.seal":["es.object.seal"],"core-js/modules/es.object.set-prototype-of":["es.object.set-prototype-of"],"core-js/modules/es.object.to-string":["es.object.to-string"],"core-js/modules/es.object.values":["es.object.values"],"core-js/modules/es.parse-float":["es.parse-float"],"core-js/modules/es.parse-int":["es.parse-int"],"core-js/modules/es.promise":["es.promise"],"core-js/modules/es.promise.all-settled":["es.promise.all-settled"],"core-js/modules/es.promise.any":["es.promise.any"],"core-js/modules/es.promise.finally":["es.promise.finally"],"core-js/modules/es.reflect.apply":["es.reflect.apply"],"core-js/modules/es.reflect.construct":["es.reflect.construct"],"core-js/modules/es.reflect.define-property":["es.reflect.define-property"],"core-js/modules/es.reflect.delete-property":["es.reflect.delete-property"],"core-js/modules/es.reflect.get":["es.reflect.get"],"core-js/modules/es.reflect.get-own-property-descriptor":["es.reflect.get-own-property-descriptor"],"core-js/modules/es.reflect.get-prototype-of":["es.reflect.get-prototype-of"],"core-js/modules/es.reflect.has":["es.reflect.has"],"core-js/modules/es.reflect.is-extensible":["es.reflect.is-extensible"],"core-js/modules/es.reflect.own-keys":["es.reflect.own-keys"],"core-js/modules/es.reflect.prevent-extensions":["es.reflect.prevent-extensions"],"core-js/modules/es.reflect.set":["es.reflect.set"],"core-js/modules/es.reflect.set-prototype-of":["es.reflect.set-prototype-of"],"core-js/modules/es.reflect.to-string-tag":["es.reflect.to-string-tag"],"core-js/modules/es.regexp.constructor":["es.regexp.constructor"],"core-js/modules/es.regexp.exec":["es.regexp.exec"],"core-js/modules/es.regexp.flags":["es.regexp.flags"],"core-js/modules/es.regexp.sticky":["es.regexp.sticky"],"core-js/modules/es.regexp.test":["es.regexp.test"],"core-js/modules/es.regexp.to-string":["es.regexp.to-string"],"core-js/modules/es.set":["es.set"],"core-js/modules/es.string.anchor":["es.string.anchor"],"core-js/modules/es.string.big":["es.string.big"],"core-js/modules/es.string.blink":["es.string.blink"],"core-js/modules/es.string.bold":["es.string.bold"],"core-js/modules/es.string.code-point-at":["es.string.code-point-at"],"core-js/modules/es.string.ends-with":["es.string.ends-with"],"core-js/modules/es.string.fixed":["es.string.fixed"],"core-js/modules/es.string.fontcolor":["es.string.fontcolor"],"core-js/modules/es.string.fontsize":["es.string.fontsize"],"core-js/modules/es.string.from-code-point":["es.string.from-code-point"],"core-js/modules/es.string.includes":["es.string.includes"],"core-js/modules/es.string.italics":["es.string.italics"],"core-js/modules/es.string.iterator":["es.string.iterator"],"core-js/modules/es.string.link":["es.string.link"],"core-js/modules/es.string.match":["es.string.match"],"core-js/modules/es.string.match-all":["es.string.match-all"],"core-js/modules/es.string.pad-end":["es.string.pad-end"],"core-js/modules/es.string.pad-start":["es.string.pad-start"],"core-js/modules/es.string.raw":["es.string.raw"],"core-js/modules/es.string.repeat":["es.string.repeat"],"core-js/modules/es.string.replace":["es.string.replace"],"core-js/modules/es.string.replace-all":["es.string.replace-all"],"core-js/modules/es.string.search":["es.string.search"],"core-js/modules/es.string.small":["es.string.small"],"core-js/modules/es.string.split":["es.string.split"],"core-js/modules/es.string.starts-with":["es.string.starts-with"],"core-js/modules/es.string.strike":["es.string.strike"],"core-js/modules/es.string.sub":["es.string.sub"],"core-js/modules/es.string.sup":["es.string.sup"],"core-js/modules/es.string.trim":["es.string.trim"],"core-js/modules/es.string.trim-end":["es.string.trim-end"],"core-js/modules/es.string.trim-start":["es.string.trim-start"],"core-js/modules/es.symbol":["es.symbol"],"core-js/modules/es.symbol.async-iterator":["es.symbol.async-iterator"],"core-js/modules/es.symbol.description":["es.symbol.description"],"core-js/modules/es.symbol.has-instance":["es.symbol.has-instance"],"core-js/modules/es.symbol.is-concat-spreadable":["es.symbol.is-concat-spreadable"],"core-js/modules/es.symbol.iterator":["es.symbol.iterator"],"core-js/modules/es.symbol.match":["es.symbol.match"],"core-js/modules/es.symbol.match-all":["es.symbol.match-all"],"core-js/modules/es.symbol.replace":["es.symbol.replace"],"core-js/modules/es.symbol.search":["es.symbol.search"],"core-js/modules/es.symbol.species":["es.symbol.species"],"core-js/modules/es.symbol.split":["es.symbol.split"],"core-js/modules/es.symbol.to-primitive":["es.symbol.to-primitive"],"core-js/modules/es.symbol.to-string-tag":["es.symbol.to-string-tag"],"core-js/modules/es.symbol.unscopables":["es.symbol.unscopables"],"core-js/modules/es.typed-array.copy-within":["es.typed-array.copy-within"],"core-js/modules/es.typed-array.every":["es.typed-array.every"],"core-js/modules/es.typed-array.fill":["es.typed-array.fill"],"core-js/modules/es.typed-array.filter":["es.typed-array.filter"],"core-js/modules/es.typed-array.find":["es.typed-array.find"],"core-js/modules/es.typed-array.find-index":["es.typed-array.find-index"],"core-js/modules/es.typed-array.float32-array":["es.typed-array.float32-array"],"core-js/modules/es.typed-array.float64-array":["es.typed-array.float64-array"],"core-js/modules/es.typed-array.for-each":["es.typed-array.for-each"],"core-js/modules/es.typed-array.from":["es.typed-array.from"],"core-js/modules/es.typed-array.includes":["es.typed-array.includes"],"core-js/modules/es.typed-array.index-of":["es.typed-array.index-of"],"core-js/modules/es.typed-array.int16-array":["es.typed-array.int16-array"],"core-js/modules/es.typed-array.int32-array":["es.typed-array.int32-array"],"core-js/modules/es.typed-array.int8-array":["es.typed-array.int8-array"],"core-js/modules/es.typed-array.iterator":["es.typed-array.iterator"],"core-js/modules/es.typed-array.join":["es.typed-array.join"],"core-js/modules/es.typed-array.last-index-of":["es.typed-array.last-index-of"],"core-js/modules/es.typed-array.map":["es.typed-array.map"],"core-js/modules/es.typed-array.of":["es.typed-array.of"],"core-js/modules/es.typed-array.reduce":["es.typed-array.reduce"],"core-js/modules/es.typed-array.reduce-right":["es.typed-array.reduce-right"],"core-js/modules/es.typed-array.reverse":["es.typed-array.reverse"],"core-js/modules/es.typed-array.set":["es.typed-array.set"],"core-js/modules/es.typed-array.slice":["es.typed-array.slice"],"core-js/modules/es.typed-array.some":["es.typed-array.some"],"core-js/modules/es.typed-array.sort":["es.typed-array.sort"],"core-js/modules/es.typed-array.subarray":["es.typed-array.subarray"],"core-js/modules/es.typed-array.to-locale-string":["es.typed-array.to-locale-string"],"core-js/modules/es.typed-array.to-string":["es.typed-array.to-string"],"core-js/modules/es.typed-array.uint16-array":["es.typed-array.uint16-array"],"core-js/modules/es.typed-array.uint32-array":["es.typed-array.uint32-array"],"core-js/modules/es.typed-array.uint8-array":["es.typed-array.uint8-array"],"core-js/modules/es.typed-array.uint8-clamped-array":["es.typed-array.uint8-clamped-array"],"core-js/modules/es.weak-map":["es.weak-map"],"core-js/modules/es.weak-set":["es.weak-set"],"core-js/modules/esnext.aggregate-error":["esnext.aggregate-error"],"core-js/modules/esnext.array.at":["esnext.array.at"],"core-js/modules/esnext.array.filter-out":["esnext.array.filter-out"],"core-js/modules/esnext.array.find-last":["esnext.array.find-last"],"core-js/modules/esnext.array.find-last-index":["esnext.array.find-last-index"],"core-js/modules/esnext.array.is-template-object":["esnext.array.is-template-object"],"core-js/modules/esnext.array.last-index":["esnext.array.last-index"],"core-js/modules/esnext.array.last-item":["esnext.array.last-item"],"core-js/modules/esnext.array.unique-by":["esnext.array.unique-by"],"core-js/modules/esnext.async-iterator.as-indexed-pairs":["esnext.async-iterator.as-indexed-pairs"],"core-js/modules/esnext.async-iterator.constructor":["esnext.async-iterator.constructor"],"core-js/modules/esnext.async-iterator.drop":["esnext.async-iterator.drop"],"core-js/modules/esnext.async-iterator.every":["esnext.async-iterator.every"],"core-js/modules/esnext.async-iterator.filter":["esnext.async-iterator.filter"],"core-js/modules/esnext.async-iterator.find":["esnext.async-iterator.find"],"core-js/modules/esnext.async-iterator.flat-map":["esnext.async-iterator.flat-map"],"core-js/modules/esnext.async-iterator.for-each":["esnext.async-iterator.for-each"],"core-js/modules/esnext.async-iterator.from":["esnext.async-iterator.from"],"core-js/modules/esnext.async-iterator.map":["esnext.async-iterator.map"],"core-js/modules/esnext.async-iterator.reduce":["esnext.async-iterator.reduce"],"core-js/modules/esnext.async-iterator.some":["esnext.async-iterator.some"],"core-js/modules/esnext.async-iterator.take":["esnext.async-iterator.take"],"core-js/modules/esnext.async-iterator.to-array":["esnext.async-iterator.to-array"],"core-js/modules/esnext.bigint.range":["esnext.bigint.range"],"core-js/modules/esnext.composite-key":["esnext.composite-key"],"core-js/modules/esnext.composite-symbol":["esnext.composite-symbol"],"core-js/modules/esnext.global-this":["esnext.global-this"],"core-js/modules/esnext.iterator.as-indexed-pairs":["esnext.iterator.as-indexed-pairs"],"core-js/modules/esnext.iterator.constructor":["esnext.iterator.constructor"],"core-js/modules/esnext.iterator.drop":["esnext.iterator.drop"],"core-js/modules/esnext.iterator.every":["esnext.iterator.every"],"core-js/modules/esnext.iterator.filter":["esnext.iterator.filter"],"core-js/modules/esnext.iterator.find":["esnext.iterator.find"],"core-js/modules/esnext.iterator.flat-map":["esnext.iterator.flat-map"],"core-js/modules/esnext.iterator.for-each":["esnext.iterator.for-each"],"core-js/modules/esnext.iterator.from":["esnext.iterator.from"],"core-js/modules/esnext.iterator.map":["esnext.iterator.map"],"core-js/modules/esnext.iterator.reduce":["esnext.iterator.reduce"],"core-js/modules/esnext.iterator.some":["esnext.iterator.some"],"core-js/modules/esnext.iterator.take":["esnext.iterator.take"],"core-js/modules/esnext.iterator.to-array":["esnext.iterator.to-array"],"core-js/modules/esnext.map.delete-all":["esnext.map.delete-all"],"core-js/modules/esnext.map.emplace":["esnext.map.emplace"],"core-js/modules/esnext.map.every":["esnext.map.every"],"core-js/modules/esnext.map.filter":["esnext.map.filter"],"core-js/modules/esnext.map.find":["esnext.map.find"],"core-js/modules/esnext.map.find-key":["esnext.map.find-key"],"core-js/modules/esnext.map.from":["esnext.map.from"],"core-js/modules/esnext.map.group-by":["esnext.map.group-by"],"core-js/modules/esnext.map.includes":["esnext.map.includes"],"core-js/modules/esnext.map.key-by":["esnext.map.key-by"],"core-js/modules/esnext.map.key-of":["esnext.map.key-of"],"core-js/modules/esnext.map.map-keys":["esnext.map.map-keys"],"core-js/modules/esnext.map.map-values":["esnext.map.map-values"],"core-js/modules/esnext.map.merge":["esnext.map.merge"],"core-js/modules/esnext.map.of":["esnext.map.of"],"core-js/modules/esnext.map.reduce":["esnext.map.reduce"],"core-js/modules/esnext.map.some":["esnext.map.some"],"core-js/modules/esnext.map.update":["esnext.map.update"],"core-js/modules/esnext.map.update-or-insert":["esnext.map.update-or-insert"],"core-js/modules/esnext.map.upsert":["esnext.map.upsert"],"core-js/modules/esnext.math.clamp":["esnext.math.clamp"],"core-js/modules/esnext.math.deg-per-rad":["esnext.math.deg-per-rad"],"core-js/modules/esnext.math.degrees":["esnext.math.degrees"],"core-js/modules/esnext.math.fscale":["esnext.math.fscale"],"core-js/modules/esnext.math.iaddh":["esnext.math.iaddh"],"core-js/modules/esnext.math.imulh":["esnext.math.imulh"],"core-js/modules/esnext.math.isubh":["esnext.math.isubh"],"core-js/modules/esnext.math.rad-per-deg":["esnext.math.rad-per-deg"],"core-js/modules/esnext.math.radians":["esnext.math.radians"],"core-js/modules/esnext.math.scale":["esnext.math.scale"],"core-js/modules/esnext.math.seeded-prng":["esnext.math.seeded-prng"],"core-js/modules/esnext.math.signbit":["esnext.math.signbit"],"core-js/modules/esnext.math.umulh":["esnext.math.umulh"],"core-js/modules/esnext.number.from-string":["esnext.number.from-string"],"core-js/modules/esnext.number.range":["esnext.number.range"],"core-js/modules/esnext.object.has-own":["esnext.object.has-own"],"core-js/modules/esnext.object.iterate-entries":["esnext.object.iterate-entries"],"core-js/modules/esnext.object.iterate-keys":["esnext.object.iterate-keys"],"core-js/modules/esnext.object.iterate-values":["esnext.object.iterate-values"],"core-js/modules/esnext.observable":["esnext.observable"],"core-js/modules/esnext.promise.all-settled":["esnext.promise.all-settled"],"core-js/modules/esnext.promise.any":["esnext.promise.any"],"core-js/modules/esnext.promise.try":["esnext.promise.try"],"core-js/modules/esnext.reflect.define-metadata":["esnext.reflect.define-metadata"],"core-js/modules/esnext.reflect.delete-metadata":["esnext.reflect.delete-metadata"],"core-js/modules/esnext.reflect.get-metadata":["esnext.reflect.get-metadata"],"core-js/modules/esnext.reflect.get-metadata-keys":["esnext.reflect.get-metadata-keys"],"core-js/modules/esnext.reflect.get-own-metadata":["esnext.reflect.get-own-metadata"],"core-js/modules/esnext.reflect.get-own-metadata-keys":["esnext.reflect.get-own-metadata-keys"],"core-js/modules/esnext.reflect.has-metadata":["esnext.reflect.has-metadata"],"core-js/modules/esnext.reflect.has-own-metadata":["esnext.reflect.has-own-metadata"],"core-js/modules/esnext.reflect.metadata":["esnext.reflect.metadata"],"core-js/modules/esnext.set.add-all":["esnext.set.add-all"],"core-js/modules/esnext.set.delete-all":["esnext.set.delete-all"],"core-js/modules/esnext.set.difference":["esnext.set.difference"],"core-js/modules/esnext.set.every":["esnext.set.every"],"core-js/modules/esnext.set.filter":["esnext.set.filter"],"core-js/modules/esnext.set.find":["esnext.set.find"],"core-js/modules/esnext.set.from":["esnext.set.from"],"core-js/modules/esnext.set.intersection":["esnext.set.intersection"],"core-js/modules/esnext.set.is-disjoint-from":["esnext.set.is-disjoint-from"],"core-js/modules/esnext.set.is-subset-of":["esnext.set.is-subset-of"],"core-js/modules/esnext.set.is-superset-of":["esnext.set.is-superset-of"],"core-js/modules/esnext.set.join":["esnext.set.join"],"core-js/modules/esnext.set.map":["esnext.set.map"],"core-js/modules/esnext.set.of":["esnext.set.of"],"core-js/modules/esnext.set.reduce":["esnext.set.reduce"],"core-js/modules/esnext.set.some":["esnext.set.some"],"core-js/modules/esnext.set.symmetric-difference":["esnext.set.symmetric-difference"],"core-js/modules/esnext.set.union":["esnext.set.union"],"core-js/modules/esnext.string.at":["esnext.string.at"],"core-js/modules/esnext.string.at-alternative":["esnext.string.at-alternative"],"core-js/modules/esnext.string.code-points":["esnext.string.code-points"],"core-js/modules/esnext.string.match-all":["esnext.string.match-all"],"core-js/modules/esnext.string.replace-all":["esnext.string.replace-all"],"core-js/modules/esnext.symbol.async-dispose":["esnext.symbol.async-dispose"],"core-js/modules/esnext.symbol.dispose":["esnext.symbol.dispose"],"core-js/modules/esnext.symbol.matcher":["esnext.symbol.matcher"],"core-js/modules/esnext.symbol.metadata":["esnext.symbol.metadata"],"core-js/modules/esnext.symbol.observable":["esnext.symbol.observable"],"core-js/modules/esnext.symbol.pattern-match":["esnext.symbol.pattern-match"],"core-js/modules/esnext.symbol.replace-all":["esnext.symbol.replace-all"],"core-js/modules/esnext.typed-array.at":["esnext.typed-array.at"],"core-js/modules/esnext.typed-array.filter-out":["esnext.typed-array.filter-out"],"core-js/modules/esnext.typed-array.find-last":["esnext.typed-array.find-last"],"core-js/modules/esnext.typed-array.find-last-index":["esnext.typed-array.find-last-index"],"core-js/modules/esnext.typed-array.unique-by":["esnext.typed-array.unique-by"],"core-js/modules/esnext.weak-map.delete-all":["esnext.weak-map.delete-all"],"core-js/modules/esnext.weak-map.emplace":["esnext.weak-map.emplace"],"core-js/modules/esnext.weak-map.from":["esnext.weak-map.from"],"core-js/modules/esnext.weak-map.of":["esnext.weak-map.of"],"core-js/modules/esnext.weak-map.upsert":["esnext.weak-map.upsert"],"core-js/modules/esnext.weak-set.add-all":["esnext.weak-set.add-all"],"core-js/modules/esnext.weak-set.delete-all":["esnext.weak-set.delete-all"],"core-js/modules/esnext.weak-set.from":["esnext.weak-set.from"],"core-js/modules/esnext.weak-set.of":["esnext.weak-set.of"],"core-js/modules/web.dom-collections.for-each":["web.dom-collections.for-each"],"core-js/modules/web.dom-collections.iterator":["web.dom-collections.iterator"],"core-js/modules/web.immediate":["web.immediate"],"core-js/modules/web.queue-microtask":["web.queue-microtask"],"core-js/modules/web.timers":["web.timers"],"core-js/modules/web.url":["web.url"],"core-js/modules/web.url-search-params":["web.url-search-params"],"core-js/modules/web.url.to-json":["web.url.to-json"],"core-js/proposals":["es.map","esnext.aggregate-error","esnext.array.at","esnext.array.filter-out","esnext.array.find-last","esnext.array.find-last-index","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.unique-by","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.url","web.url.to-json","web.url-search-params"],"core-js/proposals/accessible-object-hasownproperty":["esnext.object.has-own"],"core-js/proposals/array-filtering":["esnext.array.filter-out","esnext.typed-array.filter-out"],"core-js/proposals/array-find-from-last":["esnext.array.find-last","esnext.array.find-last-index","esnext.typed-array.find-last","esnext.typed-array.find-last-index"],"core-js/proposals/array-is-template-object":["esnext.array.is-template-object"],"core-js/proposals/array-last":["esnext.array.last-index","esnext.array.last-item"],"core-js/proposals/array-unique":["es.map","esnext.array.unique-by","esnext.typed-array.unique-by"],"core-js/proposals/collection-methods":["esnext.map.delete-all","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.set.add-all","esnext.set.delete-all","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.join","esnext.set.map","esnext.set.reduce","esnext.set.some","esnext.weak-map.delete-all","esnext.weak-set.add-all","esnext.weak-set.delete-all"],"core-js/proposals/collection-of-from":["esnext.map.from","esnext.map.of","esnext.set.from","esnext.set.of","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-set.from","esnext.weak-set.of"],"core-js/proposals/decorators":["esnext.symbol.metadata"],"core-js/proposals/efficient-64-bit-arithmetic":["esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.umulh"],"core-js/proposals/global-this":["esnext.global-this"],"core-js/proposals/iterator-helpers":["esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array"],"core-js/proposals/keys-composition":["esnext.composite-key","esnext.composite-symbol"],"core-js/proposals/map-update-or-insert":["esnext.map.emplace","esnext.map.update-or-insert","esnext.map.upsert","esnext.weak-map.emplace","esnext.weak-map.upsert"],"core-js/proposals/map-upsert":["esnext.map.emplace","esnext.map.update-or-insert","esnext.map.upsert","esnext.weak-map.emplace","esnext.weak-map.upsert"],"core-js/proposals/math-extensions":["esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale"],"core-js/proposals/math-signbit":["esnext.math.signbit"],"core-js/proposals/number-from-string":["esnext.number.from-string"],"core-js/proposals/number-range":["esnext.bigint.range","esnext.number.range"],"core-js/proposals/object-iteration":["esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values"],"core-js/proposals/observable":["esnext.observable","esnext.symbol.observable"],"core-js/proposals/pattern-matching":["esnext.symbol.matcher","esnext.symbol.pattern-match"],"core-js/proposals/promise-all-settled":["esnext.promise.all-settled"],"core-js/proposals/promise-any":["esnext.aggregate-error","esnext.promise.any"],"core-js/proposals/promise-try":["esnext.promise.try"],"core-js/proposals/reflect-metadata":["esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata"],"core-js/proposals/relative-indexing-method":["esnext.array.at","esnext.typed-array.at"],"core-js/proposals/seeded-random":["esnext.math.seeded-prng"],"core-js/proposals/set-methods":["esnext.set.difference","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.symmetric-difference","esnext.set.union"],"core-js/proposals/string-at":["esnext.string.at"],"core-js/proposals/string-code-points":["esnext.string.code-points"],"core-js/proposals/string-match-all":["esnext.string.match-all"],"core-js/proposals/string-replace-all":["esnext.string.replace-all","esnext.symbol.replace-all"],"core-js/proposals/url":["web.url","web.url.to-json","web.url-search-params"],"core-js/proposals/using-statement":["esnext.symbol.async-dispose","esnext.symbol.dispose"],"core-js/stable":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.aggregate-error","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.weak-map","es.weak-set","web.dom-collections.for-each","web.dom-collections.iterator","web.immediate","web.queue-microtask","web.timers","web.url","web.url.to-json","web.url-search-params"],"core-js/stable/aggregate-error":["es.aggregate-error","es.string.iterator","esnext.aggregate-error","web.dom-collections.iterator"],"core-js/stable/array":["es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.string.iterator"],"core-js/stable/array-buffer":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string"],"core-js/stable/array-buffer/constructor":["es.array-buffer.constructor","es.object.to-string"],"core-js/stable/array-buffer/is-view":["es.array-buffer.is-view"],"core-js/stable/array-buffer/slice":["es.array-buffer.slice"],"core-js/stable/array/concat":["es.array.concat"],"core-js/stable/array/copy-within":["es.array.copy-within"],"core-js/stable/array/entries":["es.array.iterator"],"core-js/stable/array/every":["es.array.every"],"core-js/stable/array/fill":["es.array.fill"],"core-js/stable/array/filter":["es.array.filter"],"core-js/stable/array/find":["es.array.find"],"core-js/stable/array/find-index":["es.array.find-index"],"core-js/stable/array/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/stable/array/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/stable/array/for-each":["es.array.for-each"],"core-js/stable/array/from":["es.array.from","es.string.iterator"],"core-js/stable/array/includes":["es.array.includes"],"core-js/stable/array/index-of":["es.array.index-of"],"core-js/stable/array/is-array":["es.array.is-array"],"core-js/stable/array/iterator":["es.array.iterator"],"core-js/stable/array/join":["es.array.join"],"core-js/stable/array/keys":["es.array.iterator"],"core-js/stable/array/last-index-of":["es.array.last-index-of"],"core-js/stable/array/map":["es.array.map"],"core-js/stable/array/of":["es.array.of"],"core-js/stable/array/reduce":["es.array.reduce"],"core-js/stable/array/reduce-right":["es.array.reduce-right"],"core-js/stable/array/reverse":["es.array.reverse"],"core-js/stable/array/slice":["es.array.slice"],"core-js/stable/array/some":["es.array.some"],"core-js/stable/array/sort":["es.array.sort"],"core-js/stable/array/splice":["es.array.splice"],"core-js/stable/array/values":["es.array.iterator"],"core-js/stable/array/virtual":["es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.includes","es.array.index-of","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map"],"core-js/stable/array/virtual/concat":["es.array.concat"],"core-js/stable/array/virtual/copy-within":["es.array.copy-within"],"core-js/stable/array/virtual/entries":["es.array.iterator"],"core-js/stable/array/virtual/every":["es.array.every"],"core-js/stable/array/virtual/fill":["es.array.fill"],"core-js/stable/array/virtual/filter":["es.array.filter"],"core-js/stable/array/virtual/find":["es.array.find"],"core-js/stable/array/virtual/find-index":["es.array.find-index"],"core-js/stable/array/virtual/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/stable/array/virtual/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/stable/array/virtual/for-each":["es.array.for-each"],"core-js/stable/array/virtual/includes":["es.array.includes"],"core-js/stable/array/virtual/index-of":["es.array.index-of"],"core-js/stable/array/virtual/iterator":["es.array.iterator"],"core-js/stable/array/virtual/join":["es.array.join"],"core-js/stable/array/virtual/keys":["es.array.iterator"],"core-js/stable/array/virtual/last-index-of":["es.array.last-index-of"],"core-js/stable/array/virtual/map":["es.array.map"],"core-js/stable/array/virtual/reduce":["es.array.reduce"],"core-js/stable/array/virtual/reduce-right":["es.array.reduce-right"],"core-js/stable/array/virtual/reverse":["es.array.reverse"],"core-js/stable/array/virtual/slice":["es.array.slice"],"core-js/stable/array/virtual/some":["es.array.some"],"core-js/stable/array/virtual/sort":["es.array.sort"],"core-js/stable/array/virtual/splice":["es.array.splice"],"core-js/stable/array/virtual/values":["es.array.iterator"],"core-js/stable/clear-immediate":["web.immediate"],"core-js/stable/data-view":["es.data-view","es.object.to-string"],"core-js/stable/date":["es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string"],"core-js/stable/date/now":["es.date.now"],"core-js/stable/date/to-iso-string":["es.date.to-iso-string","es.date.to-json"],"core-js/stable/date/to-json":["es.date.to-json"],"core-js/stable/date/to-primitive":["es.date.to-primitive"],"core-js/stable/date/to-string":["es.date.to-string"],"core-js/stable/dom-collections":["es.array.iterator","web.dom-collections.for-each","web.dom-collections.iterator"],"core-js/stable/dom-collections/for-each":["web.dom-collections.for-each"],"core-js/stable/dom-collections/iterator":["web.dom-collections.iterator"],"core-js/stable/function":["es.function.bind","es.function.has-instance","es.function.name"],"core-js/stable/function/bind":["es.function.bind"],"core-js/stable/function/has-instance":["es.function.has-instance"],"core-js/stable/function/name":["es.function.name"],"core-js/stable/function/virtual":["es.function.bind"],"core-js/stable/function/virtual/bind":["es.function.bind"],"core-js/stable/global-this":["es.global-this"],"core-js/stable/instance/bind":["es.function.bind"],"core-js/stable/instance/code-point-at":["es.string.code-point-at"],"core-js/stable/instance/concat":["es.array.concat"],"core-js/stable/instance/copy-within":["es.array.copy-within"],"core-js/stable/instance/ends-with":["es.string.ends-with"],"core-js/stable/instance/entries":["es.array.iterator","web.dom-collections.iterator"],"core-js/stable/instance/every":["es.array.every"],"core-js/stable/instance/fill":["es.array.fill"],"core-js/stable/instance/filter":["es.array.filter"],"core-js/stable/instance/find":["es.array.find"],"core-js/stable/instance/find-index":["es.array.find-index"],"core-js/stable/instance/flags":["es.regexp.flags"],"core-js/stable/instance/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/stable/instance/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/stable/instance/for-each":["es.array.for-each","web.dom-collections.iterator"],"core-js/stable/instance/includes":["es.array.includes","es.string.includes"],"core-js/stable/instance/index-of":["es.array.index-of"],"core-js/stable/instance/keys":["es.array.iterator","web.dom-collections.iterator"],"core-js/stable/instance/last-index-of":["es.array.last-index-of"],"core-js/stable/instance/map":["es.array.map"],"core-js/stable/instance/match-all":["es.string.match-all"],"core-js/stable/instance/pad-end":["es.string.pad-end"],"core-js/stable/instance/pad-start":["es.string.pad-start"],"core-js/stable/instance/reduce":["es.array.reduce"],"core-js/stable/instance/reduce-right":["es.array.reduce-right"],"core-js/stable/instance/repeat":["es.string.repeat"],"core-js/stable/instance/replace-all":["es.string.replace-all"],"core-js/stable/instance/reverse":["es.array.reverse"],"core-js/stable/instance/slice":["es.array.slice"],"core-js/stable/instance/some":["es.array.some"],"core-js/stable/instance/sort":["es.array.sort"],"core-js/stable/instance/splice":["es.array.splice"],"core-js/stable/instance/starts-with":["es.string.starts-with"],"core-js/stable/instance/trim":["es.string.trim"],"core-js/stable/instance/trim-end":["es.string.trim-end"],"core-js/stable/instance/trim-left":["es.string.trim-start"],"core-js/stable/instance/trim-right":["es.string.trim-end"],"core-js/stable/instance/trim-start":["es.string.trim-start"],"core-js/stable/instance/values":["es.array.iterator","web.dom-collections.iterator"],"core-js/stable/json":["es.json.stringify","es.json.to-string-tag"],"core-js/stable/json/stringify":["es.json.stringify"],"core-js/stable/json/to-string-tag":["es.json.to-string-tag"],"core-js/stable/map":["es.map","es.object.to-string","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/math":["es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc"],"core-js/stable/math/acosh":["es.math.acosh"],"core-js/stable/math/asinh":["es.math.asinh"],"core-js/stable/math/atanh":["es.math.atanh"],"core-js/stable/math/cbrt":["es.math.cbrt"],"core-js/stable/math/clz32":["es.math.clz32"],"core-js/stable/math/cosh":["es.math.cosh"],"core-js/stable/math/expm1":["es.math.expm1"],"core-js/stable/math/fround":["es.math.fround"],"core-js/stable/math/hypot":["es.math.hypot"],"core-js/stable/math/imul":["es.math.imul"],"core-js/stable/math/log10":["es.math.log10"],"core-js/stable/math/log1p":["es.math.log1p"],"core-js/stable/math/log2":["es.math.log2"],"core-js/stable/math/sign":["es.math.sign"],"core-js/stable/math/sinh":["es.math.sinh"],"core-js/stable/math/tanh":["es.math.tanh"],"core-js/stable/math/to-string-tag":["es.math.to-string-tag"],"core-js/stable/math/trunc":["es.math.trunc"],"core-js/stable/number":["es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision"],"core-js/stable/number/constructor":["es.number.constructor"],"core-js/stable/number/epsilon":["es.number.epsilon"],"core-js/stable/number/is-finite":["es.number.is-finite"],"core-js/stable/number/is-integer":["es.number.is-integer"],"core-js/stable/number/is-nan":["es.number.is-nan"],"core-js/stable/number/is-safe-integer":["es.number.is-safe-integer"],"core-js/stable/number/max-safe-integer":["es.number.max-safe-integer"],"core-js/stable/number/min-safe-integer":["es.number.min-safe-integer"],"core-js/stable/number/parse-float":["es.number.parse-float"],"core-js/stable/number/parse-int":["es.number.parse-int"],"core-js/stable/number/to-fixed":["es.number.to-fixed"],"core-js/stable/number/to-precision":["es.number.to-precision"],"core-js/stable/number/virtual":["es.number.to-fixed","es.number.to-precision"],"core-js/stable/number/virtual/to-fixed":["es.number.to-fixed"],"core-js/stable/number/virtual/to-precision":["es.number.to-precision"],"core-js/stable/object":["es.symbol","es.json.to-string-tag","es.math.to-string-tag","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.reflect.to-string-tag"],"core-js/stable/object/assign":["es.object.assign"],"core-js/stable/object/create":["es.object.create"],"core-js/stable/object/define-getter":["es.object.define-getter"],"core-js/stable/object/define-properties":["es.object.define-properties"],"core-js/stable/object/define-property":["es.object.define-property"],"core-js/stable/object/define-setter":["es.object.define-setter"],"core-js/stable/object/entries":["es.object.entries"],"core-js/stable/object/freeze":["es.object.freeze"],"core-js/stable/object/from-entries":["es.array.iterator","es.object.from-entries"],"core-js/stable/object/get-own-property-descriptor":["es.object.get-own-property-descriptor"],"core-js/stable/object/get-own-property-descriptors":["es.object.get-own-property-descriptors"],"core-js/stable/object/get-own-property-names":["es.object.get-own-property-names"],"core-js/stable/object/get-own-property-symbols":["es.symbol"],"core-js/stable/object/get-prototype-of":["es.object.get-prototype-of"],"core-js/stable/object/is":["es.object.is"],"core-js/stable/object/is-extensible":["es.object.is-extensible"],"core-js/stable/object/is-frozen":["es.object.is-frozen"],"core-js/stable/object/is-sealed":["es.object.is-sealed"],"core-js/stable/object/keys":["es.object.keys"],"core-js/stable/object/lookup-getter":["es.object.lookup-setter"],"core-js/stable/object/lookup-setter":["es.object.lookup-setter"],"core-js/stable/object/prevent-extensions":["es.object.prevent-extensions"],"core-js/stable/object/seal":["es.object.seal"],"core-js/stable/object/set-prototype-of":["es.object.set-prototype-of"],"core-js/stable/object/to-string":["es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/stable/object/values":["es.object.values"],"core-js/stable/parse-float":["es.parse-float"],"core-js/stable/parse-int":["es.parse-int"],"core-js/stable/promise":["es.aggregate-error","es.object.to-string","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/promise/all-settled":["es.promise","es.promise.all-settled","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/promise/any":["es.aggregate-error","es.promise","es.promise.any","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/promise/finally":["es.promise","es.promise.finally"],"core-js/stable/queue-microtask":["web.queue-microtask"],"core-js/stable/reflect":["es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag"],"core-js/stable/reflect/apply":["es.reflect.apply"],"core-js/stable/reflect/construct":["es.reflect.construct"],"core-js/stable/reflect/define-property":["es.reflect.define-property"],"core-js/stable/reflect/delete-property":["es.reflect.delete-property"],"core-js/stable/reflect/get":["es.reflect.get"],"core-js/stable/reflect/get-own-property-descriptor":["es.reflect.get-own-property-descriptor"],"core-js/stable/reflect/get-prototype-of":["es.reflect.get-prototype-of"],"core-js/stable/reflect/has":["es.reflect.has"],"core-js/stable/reflect/is-extensible":["es.reflect.is-extensible"],"core-js/stable/reflect/own-keys":["es.reflect.own-keys"],"core-js/stable/reflect/prevent-extensions":["es.reflect.prevent-extensions"],"core-js/stable/reflect/set":["es.reflect.set"],"core-js/stable/reflect/set-prototype-of":["es.reflect.set-prototype-of"],"core-js/stable/reflect/to-string-tag":["es.reflect.to-string-tag"],"core-js/stable/regexp":["es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.string.match","es.string.replace","es.string.search","es.string.split"],"core-js/stable/regexp/constructor":["es.regexp.constructor"],"core-js/stable/regexp/flags":["es.regexp.flags"],"core-js/stable/regexp/match":["es.string.match"],"core-js/stable/regexp/replace":["es.string.replace"],"core-js/stable/regexp/search":["es.string.search"],"core-js/stable/regexp/split":["es.string.split"],"core-js/stable/regexp/sticky":["es.regexp.sticky"],"core-js/stable/regexp/test":["es.regexp.exec","es.regexp.test"],"core-js/stable/regexp/to-string":["es.regexp.to-string"],"core-js/stable/set":["es.object.to-string","es.set","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/set-immediate":["web.immediate"],"core-js/stable/set-interval":["web.timers"],"core-js/stable/set-timeout":["web.timers"],"core-js/stable/string":["es.regexp.exec","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup"],"core-js/stable/string/anchor":["es.string.anchor"],"core-js/stable/string/big":["es.string.big"],"core-js/stable/string/blink":["es.string.blink"],"core-js/stable/string/bold":["es.string.bold"],"core-js/stable/string/code-point-at":["es.string.code-point-at"],"core-js/stable/string/ends-with":["es.string.ends-with"],"core-js/stable/string/fixed":["es.string.fixed"],"core-js/stable/string/fontcolor":["es.string.fontcolor"],"core-js/stable/string/fontsize":["es.string.fontsize"],"core-js/stable/string/from-code-point":["es.string.from-code-point"],"core-js/stable/string/includes":["es.string.includes"],"core-js/stable/string/italics":["es.string.italics"],"core-js/stable/string/iterator":["es.string.iterator"],"core-js/stable/string/link":["es.string.link"],"core-js/stable/string/match":["es.regexp.exec","es.string.match"],"core-js/stable/string/match-all":["es.string.match-all"],"core-js/stable/string/pad-end":["es.string.pad-end"],"core-js/stable/string/pad-start":["es.string.pad-start"],"core-js/stable/string/raw":["es.string.raw"],"core-js/stable/string/repeat":["es.string.repeat"],"core-js/stable/string/replace":["es.regexp.exec","es.string.replace"],"core-js/stable/string/replace-all":["es.string.replace-all"],"core-js/stable/string/search":["es.regexp.exec","es.string.search"],"core-js/stable/string/small":["es.string.small"],"core-js/stable/string/split":["es.regexp.exec","es.string.split"],"core-js/stable/string/starts-with":["es.string.starts-with"],"core-js/stable/string/strike":["es.string.strike"],"core-js/stable/string/sub":["es.string.sub"],"core-js/stable/string/sup":["es.string.sup"],"core-js/stable/string/trim":["es.string.trim"],"core-js/stable/string/trim-end":["es.string.trim-end"],"core-js/stable/string/trim-left":["es.string.trim-start"],"core-js/stable/string/trim-right":["es.string.trim-end"],"core-js/stable/string/trim-start":["es.string.trim-start"],"core-js/stable/string/virtual":["es.string.code-point-at","es.string.ends-with","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup"],"core-js/stable/string/virtual/anchor":["es.string.anchor"],"core-js/stable/string/virtual/big":["es.string.big"],"core-js/stable/string/virtual/blink":["es.string.blink"],"core-js/stable/string/virtual/bold":["es.string.bold"],"core-js/stable/string/virtual/code-point-at":["es.string.code-point-at"],"core-js/stable/string/virtual/ends-with":["es.string.ends-with"],"core-js/stable/string/virtual/fixed":["es.string.fixed"],"core-js/stable/string/virtual/fontcolor":["es.string.fontcolor"],"core-js/stable/string/virtual/fontsize":["es.string.fontsize"],"core-js/stable/string/virtual/includes":["es.string.includes"],"core-js/stable/string/virtual/italics":["es.string.italics"],"core-js/stable/string/virtual/iterator":["es.string.iterator"],"core-js/stable/string/virtual/link":["es.string.link"],"core-js/stable/string/virtual/match-all":["es.string.match-all"],"core-js/stable/string/virtual/pad-end":["es.string.pad-end"],"core-js/stable/string/virtual/pad-start":["es.string.pad-start"],"core-js/stable/string/virtual/repeat":["es.string.repeat"],"core-js/stable/string/virtual/replace-all":["es.string.replace-all"],"core-js/stable/string/virtual/small":["es.string.small"],"core-js/stable/string/virtual/starts-with":["es.string.starts-with"],"core-js/stable/string/virtual/strike":["es.string.strike"],"core-js/stable/string/virtual/sub":["es.string.sub"],"core-js/stable/string/virtual/sup":["es.string.sup"],"core-js/stable/string/virtual/trim":["es.string.trim"],"core-js/stable/string/virtual/trim-end":["es.string.trim-end"],"core-js/stable/string/virtual/trim-left":["es.string.trim-start"],"core-js/stable/string/virtual/trim-right":["es.string.trim-end"],"core-js/stable/string/virtual/trim-start":["es.string.trim-start"],"core-js/stable/symbol":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.array.concat","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/stable/symbol/async-iterator":["es.symbol.async-iterator"],"core-js/stable/symbol/description":["es.symbol.description"],"core-js/stable/symbol/for":["es.symbol"],"core-js/stable/symbol/has-instance":["es.symbol.has-instance","es.function.has-instance"],"core-js/stable/symbol/is-concat-spreadable":["es.symbol.is-concat-spreadable","es.array.concat"],"core-js/stable/symbol/iterator":["es.symbol.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/symbol/key-for":["es.symbol"],"core-js/stable/symbol/match":["es.symbol.match","es.string.match"],"core-js/stable/symbol/match-all":["es.symbol.match-all","es.string.match-all"],"core-js/stable/symbol/replace":["es.symbol.replace","es.string.replace"],"core-js/stable/symbol/search":["es.symbol.search","es.string.search"],"core-js/stable/symbol/species":["es.symbol.species"],"core-js/stable/symbol/split":["es.symbol.split","es.string.split"],"core-js/stable/symbol/to-primitive":["es.symbol.to-primitive"],"core-js/stable/symbol/to-string-tag":["es.symbol.to-string-tag","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/stable/symbol/unscopables":["es.symbol.unscopables"],"core-js/stable/typed-array":["es.object.to-string","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/copy-within":["es.typed-array.copy-within"],"core-js/stable/typed-array/entries":["es.typed-array.iterator"],"core-js/stable/typed-array/every":["es.typed-array.every"],"core-js/stable/typed-array/fill":["es.typed-array.fill"],"core-js/stable/typed-array/filter":["es.typed-array.filter"],"core-js/stable/typed-array/find":["es.typed-array.find"],"core-js/stable/typed-array/find-index":["es.typed-array.find-index"],"core-js/stable/typed-array/float32-array":["es.object.to-string","es.typed-array.float32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/float64-array":["es.object.to-string","es.typed-array.float64-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/for-each":["es.typed-array.for-each"],"core-js/stable/typed-array/from":["es.typed-array.from"],"core-js/stable/typed-array/includes":["es.typed-array.includes"],"core-js/stable/typed-array/index-of":["es.typed-array.index-of"],"core-js/stable/typed-array/int16-array":["es.object.to-string","es.typed-array.int16-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/int32-array":["es.object.to-string","es.typed-array.int32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/int8-array":["es.object.to-string","es.typed-array.int8-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/iterator":["es.typed-array.iterator"],"core-js/stable/typed-array/join":["es.typed-array.join"],"core-js/stable/typed-array/keys":["es.typed-array.iterator"],"core-js/stable/typed-array/last-index-of":["es.typed-array.last-index-of"],"core-js/stable/typed-array/map":["es.typed-array.map"],"core-js/stable/typed-array/of":["es.typed-array.of"],"core-js/stable/typed-array/reduce":["es.typed-array.reduce"],"core-js/stable/typed-array/reduce-right":["es.typed-array.reduce-right"],"core-js/stable/typed-array/reverse":["es.typed-array.reverse"],"core-js/stable/typed-array/set":["es.typed-array.set"],"core-js/stable/typed-array/slice":["es.typed-array.slice"],"core-js/stable/typed-array/some":["es.typed-array.some"],"core-js/stable/typed-array/sort":["es.typed-array.sort"],"core-js/stable/typed-array/subarray":["es.typed-array.subarray"],"core-js/stable/typed-array/to-locale-string":["es.typed-array.to-locale-string"],"core-js/stable/typed-array/to-string":["es.typed-array.to-string"],"core-js/stable/typed-array/uint16-array":["es.object.to-string","es.typed-array.uint16-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/uint32-array":["es.object.to-string","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/uint8-array":["es.object.to-string","es.typed-array.uint8-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/uint8-clamped-array":["es.object.to-string","es.typed-array.uint8-clamped-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/values":["es.typed-array.iterator"],"core-js/stable/url":["web.url","web.url.to-json","web.url-search-params"],"core-js/stable/url-search-params":["web.url-search-params"],"core-js/stable/url/to-json":["web.url.to-json"],"core-js/stable/weak-map":["es.object.to-string","es.weak-map","web.dom-collections.iterator"],"core-js/stable/weak-set":["es.object.to-string","es.weak-set","web.dom-collections.iterator"],"core-js/stage":["es.map","esnext.aggregate-error","esnext.array.at","esnext.array.filter-out","esnext.array.find-last","esnext.array.find-last-index","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.unique-by","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.url","web.url.to-json","web.url-search-params"],"core-js/stage/0":["es.map","esnext.aggregate-error","esnext.array.at","esnext.array.filter-out","esnext.array.find-last","esnext.array.find-last-index","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.unique-by","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.url","web.url.to-json","web.url-search-params"],"core-js/stage/1":["es.map","esnext.aggregate-error","esnext.array.at","esnext.array.filter-out","esnext.array.find-last","esnext.array.find-last-index","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.unique-by","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of"],"core-js/stage/2":["esnext.aggregate-error","esnext.array.at","esnext.array.find-last","esnext.array.find-last-index","esnext.array.is-template-object","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.emplace","esnext.map.update-or-insert","esnext.map.upsert","esnext.object.has-own","esnext.promise.all-settled","esnext.promise.any","esnext.set.difference","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.symmetric-difference","esnext.set.union","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.metadata","esnext.symbol.replace-all","esnext.typed-array.at","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.weak-map.emplace","esnext.weak-map.upsert"],"core-js/stage/3":["esnext.aggregate-error","esnext.array.at","esnext.global-this","esnext.object.has-own","esnext.promise.all-settled","esnext.promise.any","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.replace-all","esnext.typed-array.at"],"core-js/stage/4":["esnext.aggregate-error","esnext.global-this","esnext.promise.all-settled","esnext.promise.any","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.replace-all"],"core-js/stage/pre":["es.map","esnext.aggregate-error","esnext.array.at","esnext.array.filter-out","esnext.array.find-last","esnext.array.find-last-index","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.unique-by","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.url","web.url.to-json","web.url-search-params"],"core-js/web":["web.dom-collections.for-each","web.dom-collections.iterator","web.immediate","web.queue-microtask","web.timers","web.url","web.url.to-json","web.url-search-params"],"core-js/web/dom-collections":["web.dom-collections.for-each","web.dom-collections.iterator"],"core-js/web/immediate":["web.immediate"],"core-js/web/queue-microtask":["web.queue-microtask"],"core-js/web/timers":["web.timers"],"core-js/web/url":["web.url","web.url.to-json","web.url-search-params"],"core-js/web/url-search-params":["web.url-search-params"]}')},42630:e=>{"use strict";e.exports=JSON.parse('{"3.0":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.function.bind","es.function.has-instance","es.function.name","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.to-string","es.set","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.weak-map","es.weak-set","esnext.aggregate-error","esnext.array.last-index","esnext.array.last-item","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.map.delete-all","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.dispose","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.dom-collections.for-each","web.dom-collections.iterator","web.immediate","web.queue-microtask","web.timers","web.url","web.url.to-json","web.url-search-params"],"3.1":["es.string.match-all","es.symbol.match-all","esnext.symbol.replace-all"],"3.2":["es.promise.all-settled","esnext.array.is-template-object","esnext.map.update-or-insert","esnext.symbol.async-dispose"],"3.3":["es.global-this","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.upsert","esnext.weak-map.upsert"],"3.4":["es.json.stringify"],"3.5":["esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values"],"3.6":["es.regexp.sticky","es.regexp.test"],"3.7":["es.aggregate-error","es.promise.any","es.reflect.to-string-tag","es.string.replace-all","esnext.map.emplace","esnext.weak-map.emplace"],"3.8":["esnext.array.at","esnext.array.filter-out","esnext.array.unique-by","esnext.bigint.range","esnext.number.range","esnext.typed-array.at","esnext.typed-array.filter-out"],"3.9":["esnext.array.find-last","esnext.array.find-last-index","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.unique-by"],"3.11":["esnext.object.has-own"],"3.12":["esnext.symbol.matcher","esnext.symbol.metadata"]}')},45057:e=>{"use strict";e.exports=JSON.parse('["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.aggregate-error","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.weak-map","es.weak-set","esnext.aggregate-error","esnext.array.at","esnext.array.filter-out","esnext.array.find-last","esnext.array.find-last-index","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.unique-by","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.dom-collections.for-each","web.dom-collections.iterator","web.immediate","web.queue-microtask","web.timers","web.url","web.url.to-json","web.url-search-params"]')},42190:e=>{"use strict";e.exports=JSON.parse('{"es.symbol":{"android":"49","chrome":"49","deno":"1.0","edge":"15","electron":"0.37","firefox":"51","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.symbol.description":{"android":"70","chrome":"70","deno":"1.0","edge":"74","electron":"5.0","firefox":"63","ios":"12.2","node":"11.0","opera":"57","opera_mobile":"49","safari":"12.1","samsung":"10.0"},"es.symbol.async-iterator":{"android":"63","chrome":"63","deno":"1.0","edge":"74","electron":"3.0","firefox":"55","ios":"12.0","node":"10.0","opera":"50","opera_mobile":"46","safari":"12.0","samsung":"8.0"},"es.symbol.has-instance":{"android":"50","chrome":"50","deno":"1.0","edge":"15","electron":"1.1","firefox":"49","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.is-concat-spreadable":{"android":"48","chrome":"48","deno":"1.0","edge":"15","electron":"0.37","firefox":"48","ios":"10.0","node":"6.0","opera":"35","opera_mobile":"35","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.iterator":{"android":"41","chrome":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"36","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.symbol.match":{"android":"50","chrome":"50","deno":"1.0","edge":"74","electron":"1.1","firefox":"40","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.match-all":{"android":"73","chrome":"73","deno":"1.0","edge":"74","electron":"5.0","firefox":"67","ios":"13.0","node":"12.0","opera":"60","opera_mobile":"52","safari":"13","samsung":"11.0"},"es.symbol.replace":{"android":"50","chrome":"50","deno":"1.0","edge":"74","electron":"1.1","firefox":"49","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.search":{"android":"50","chrome":"50","deno":"1.0","edge":"74","electron":"1.1","firefox":"49","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.species":{"android":"51","chrome":"51","deno":"1.0","edge":"13","electron":"1.2","firefox":"41","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.split":{"android":"50","chrome":"50","deno":"1.0","edge":"74","electron":"1.1","firefox":"49","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.to-primitive":{"android":"47","chrome":"47","deno":"1.0","edge":"15","electron":"0.36","firefox":"44","ios":"10.0","node":"6.0","opera":"34","opera_mobile":"34","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.to-string-tag":{"android":"49","chrome":"49","deno":"1.0","edge":"15","electron":"0.37","firefox":"51","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.unscopables":{"android":"41","chrome":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"48","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.aggregate-error":{"android":"85","chrome":"85","deno":"1.2","edge":"85","electron":"10.0","firefox":"79","ios":"14.0","node":"15.0","opera":"71","opera_mobile":"60","safari":"14.0","samsung":"14.0"},"es.array.concat":{"android":"51","chrome":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"48","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.copy-within":{"android":"45","chrome":"45","deno":"1.0","edge":"12","electron":"0.31","firefox":"48","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.every":{"android":"4.4","chrome":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.array.fill":{"android":"45","chrome":"45","deno":"1.0","edge":"12","electron":"0.31","firefox":"48","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.filter":{"android":"51","chrome":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"48","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.find":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"48","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.find-index":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"48","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.flat":{"android":"69","chrome":"69","deno":"1.0","edge":"74","electron":"4.0","firefox":"62","ios":"12.0","node":"11.0","opera":"56","opera_mobile":"48","safari":"12.0","samsung":"10.0"},"es.array.flat-map":{"android":"69","chrome":"69","deno":"1.0","edge":"74","electron":"4.0","firefox":"62","ios":"12.0","node":"11.0","opera":"56","opera_mobile":"48","safari":"12.0","samsung":"10.0"},"es.array.for-each":{"android":"4.4","chrome":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.array.from":{"android":"51","chrome":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"53","ios":"9.0","node":"6.5","opera":"38","opera_mobile":"38","rhino":"1.7.13","safari":"9.0","samsung":"5.0"},"es.array.includes":{"android":"53","chrome":"53","deno":"1.0","edge":"14","electron":"1.4","firefox":"48","ios":"10.0","node":"7.0","opera":"40","opera_mobile":"40","safari":"10.0","samsung":"6.0"},"es.array.index-of":{"android":"51","chrome":"51","deno":"1.0","edge":"12","electron":"1.2","firefox":"4","ie":"9","ios":"8.0","node":"6.5","opera":"38","opera_mobile":"38","rhino":"1.7.13","safari":"7.1","samsung":"5.0"},"es.array.is-array":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"3.2","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"4.0","samsung":"1.0"},"es.array.iterator":{"android":"66","chrome":"66","deno":"1.0","edge":"15","electron":"3.0","firefox":"60","ios":"10.0","node":"10.0","opera":"53","opera_mobile":"47","safari":"10.0","samsung":"9.0"},"es.array.join":{"android":"4.4","chrome":"26","deno":"1.0","edge":"13","electron":"0.20","firefox":"4","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.array.last-index-of":{"android":"51","chrome":"51","deno":"1.0","edge":"12","electron":"1.2","firefox":"4","ie":"9","ios":"8.0","node":"6.5","opera":"38","opera_mobile":"38","rhino":"1.7.13","safari":"7.1","samsung":"5.0"},"es.array.map":{"android":"51","chrome":"51","deno":"1.0","edge":"13","electron":"1.2","firefox":"50","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.of":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"25","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","rhino":"1.7.13","safari":"9.0","samsung":"5.0"},"es.array.reduce":{"android":"83","chrome":"83","deno":"1.0","edge":"12","electron":"9.0","firefox":"4","ie":"9","ios":"8.0","node":"6.0","opera":"69","opera_mobile":"59","rhino":"1.7.13","safari":"7.1","samsung":"13.0"},"es.array.reduce-right":{"android":"83","chrome":"83","deno":"1.0","edge":"12","electron":"9.0","firefox":"4","ie":"9","ios":"8.0","node":"6.0","opera":"69","opera_mobile":"59","rhino":"1.7.13","safari":"7.1","samsung":"13.0"},"es.array.reverse":{"android":"3.0","chrome":"1","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","ie":"5.5","ios":"12.2","node":"0.0.3","opera":"10.50","opera_mobile":"10.50","rhino":"1.7.13","safari":"12.0.2","samsung":"1.0"},"es.array.slice":{"android":"51","chrome":"51","deno":"1.0","edge":"13","electron":"1.2","firefox":"48","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.some":{"android":"4.4","chrome":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.array.sort":{"android":"70","chrome":"70","deno":"1.0","edge":"74","electron":"5.0","firefox":"4","ios":"12.0","node":"11.0","opera":"57","opera_mobile":"49","safari":"12.0","samsung":"10.0"},"es.array.species":{"android":"51","chrome":"51","deno":"1.0","edge":"13","electron":"1.2","firefox":"48","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.splice":{"android":"51","chrome":"51","deno":"1.0","edge":"13","electron":"1.2","firefox":"49","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.unscopables.flat":{"android":"73","chrome":"73","deno":"1.0","edge":"74","electron":"5.0","firefox":"67","ios":"13.0","node":"12.0","opera":"60","opera_mobile":"52","safari":"13","samsung":"11.0"},"es.array.unscopables.flat-map":{"android":"73","chrome":"73","deno":"1.0","edge":"74","electron":"5.0","firefox":"67","ios":"13.0","node":"12.0","opera":"60","opera_mobile":"52","safari":"13","samsung":"11.0"},"es.array-buffer.constructor":{"android":"4.4","chrome":"26","deno":"1.0","edge":"14","electron":"0.20","firefox":"44","ios":"12.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"12.0","samsung":"1.5"},"es.array-buffer.is-view":{"android":"4.4.3","chrome":"32","deno":"1.0","edge":"12","electron":"0.20","firefox":"29","ie":"11","ios":"8.0","node":"0.11.9","opera":"19","opera_mobile":"19","safari":"7.1","samsung":"2.0"},"es.array-buffer.slice":{"android":"4.4.3","chrome":"31","deno":"1.0","edge":"12","electron":"0.20","firefox":"46","ie":"11","ios":"12.2","node":"0.11.8","opera":"18","opera_mobile":"18","rhino":"1.7.13","safari":"12.1","samsung":"2.0"},"es.data-view":{"android":"4.4","chrome":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"15","ie":"10","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.date.get-year":{"android":"3.0","chrome":"1","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","ie":"9","ios":"1.0","node":"0.0.3","opera":"3","opera_mobile":"3","phantom":"1.9","rhino":"1.7.13","safari":"1","samsung":"1.0"},"es.date.now":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ie":"9","ios":"3.2","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"4.0","samsung":"1.0"},"es.date.set-year":{"android":"3.0","chrome":"1","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","ie":"3","ios":"1.0","node":"0.0.3","opera":"3","opera_mobile":"3","phantom":"1.9","rhino":"1.7.13","safari":"1","samsung":"1.0"},"es.date.to-gmt-string":{"android":"3.0","chrome":"1","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","ie":"3","ios":"1.0","node":"0.0.3","opera":"3","opera_mobile":"3","phantom":"1.9","rhino":"1.7.13","safari":"1","samsung":"1.0"},"es.date.to-iso-string":{"android":"4.4","chrome":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"7","ie":"9","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.date.to-json":{"android":"4.4","chrome":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"10.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"10.0","samsung":"1.5"},"es.date.to-primitive":{"android":"47","chrome":"47","deno":"1.0","edge":"15","electron":"0.36","firefox":"44","ios":"10.0","node":"6.0","opera":"34","opera_mobile":"34","safari":"10.0","samsung":"5.0"},"es.date.to-string":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ie":"9","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.escape":{"android":"3.0","chrome":"1","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","ie":"3","ios":"1.0","node":"0.0.3","opera":"3","opera_mobile":"3","phantom":"1.9","rhino":"1.7.13","safari":"1","samsung":"1.0"},"es.function.bind":{"android":"3.0","chrome":"7","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"5.1","node":"0.1.101","opera":"12","opera_mobile":"12","phantom":"2.0","rhino":"1.7.13","safari":"5.1","samsung":"1.0"},"es.function.has-instance":{"android":"51","chrome":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"50","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.function.name":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"3.2","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"4.0","samsung":"1.0"},"es.global-this":{"android":"71","chrome":"71","deno":"1.0","edge":"74","electron":"5.0","firefox":"65","ios":"12.2","node":"12.0","opera":"58","opera_mobile":"50","safari":"12.1","samsung":"10.0"},"es.json.stringify":{"android":"72","chrome":"72","deno":"1.0","edge":"74","electron":"5.0","firefox":"64","ios":"12.2","node":"12.0","opera":"59","opera_mobile":"51","safari":"12.1","samsung":"11.0"},"es.json.to-string-tag":{"android":"50","chrome":"50","deno":"1.0","edge":"15","electron":"1.1","firefox":"51","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.map":{"android":"51","chrome":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"53","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.math.acosh":{"android":"54","chrome":"54","deno":"1.0","edge":"13","electron":"1.4","firefox":"25","ios":"8.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"7.1","samsung":"6.0"},"es.math.asinh":{"android":"38","chrome":"38","deno":"1.0","edge":"13","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.atanh":{"android":"38","chrome":"38","deno":"1.0","edge":"13","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.cbrt":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.clz32":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"31","ios":"9.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"9.0","samsung":"3.0"},"es.math.cosh":{"android":"39","chrome":"39","deno":"1.0","edge":"13","electron":"0.20","firefox":"25","ios":"8.0","node":"1.0","opera":"26","opera_mobile":"26","rhino":"1.7.13","safari":"7.1","samsung":"3.4"},"es.math.expm1":{"android":"39","chrome":"39","deno":"1.0","edge":"13","electron":"0.20","firefox":"46","ios":"8.0","node":"1.0","opera":"26","opera_mobile":"26","rhino":"1.7.13","safari":"7.1","samsung":"3.4"},"es.math.fround":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"26","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.hypot":{"android":"78","chrome":"78","deno":"1.0","edge":"12","electron":"7.0","firefox":"27","ios":"8.0","node":"13.0","opera":"65","opera_mobile":"56","rhino":"1.7.13","safari":"7.1","samsung":"12.0"},"es.math.imul":{"android":"4.4","chrome":"28","deno":"1.0","edge":"13","electron":"0.20","firefox":"20","ios":"9.0","node":"0.11.1","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"9.0","samsung":"1.5"},"es.math.log10":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.log1p":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.log2":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.sign":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","ios":"9.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"9.0","samsung":"3.0"},"es.math.sinh":{"android":"39","chrome":"39","deno":"1.0","edge":"13","electron":"0.20","firefox":"25","ios":"8.0","node":"1.0","opera":"26","opera_mobile":"26","rhino":"1.7.13","safari":"7.1","samsung":"3.4"},"es.math.tanh":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.to-string-tag":{"android":"50","chrome":"50","deno":"1.0","edge":"15","electron":"1.1","firefox":"51","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.math.trunc":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.number.constructor":{"android":"41","chrome":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"46","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.number.epsilon":{"android":"37","chrome":"34","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","safari":"9.0","samsung":"2.0"},"es.number.is-finite":{"android":"4.1","chrome":"19","deno":"1.0","edge":"12","electron":"0.20","firefox":"16","ios":"9.0","node":"0.7.3","opera":"15","opera_mobile":"15","rhino":"1.7.13","safari":"9.0","samsung":"1.5"},"es.number.is-integer":{"android":"37","chrome":"34","deno":"1.0","edge":"12","electron":"0.20","firefox":"16","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","rhino":"1.7.13","safari":"9.0","samsung":"2.0"},"es.number.is-nan":{"android":"4.1","chrome":"19","deno":"1.0","edge":"12","electron":"0.20","firefox":"15","ios":"9.0","node":"0.7.3","opera":"15","opera_mobile":"15","rhino":"1.7.13","safari":"9.0","samsung":"1.5"},"es.number.is-safe-integer":{"android":"37","chrome":"34","deno":"1.0","edge":"12","electron":"0.20","firefox":"32","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","rhino":"1.7.13","safari":"9.0","samsung":"2.0"},"es.number.max-safe-integer":{"android":"37","chrome":"34","deno":"1.0","edge":"12","electron":"0.20","firefox":"31","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","rhino":"1.7.13","safari":"9.0","samsung":"2.0"},"es.number.min-safe-integer":{"android":"37","chrome":"34","deno":"1.0","edge":"12","electron":"0.20","firefox":"31","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","rhino":"1.7.13","safari":"9.0","samsung":"2.0"},"es.number.parse-float":{"android":"37","chrome":"35","deno":"1.0","edge":"13","electron":"0.20","firefox":"39","ios":"11.0","node":"0.11.13","opera":"22","opera_mobile":"22","safari":"11.0","samsung":"3.0"},"es.number.parse-int":{"android":"37","chrome":"35","deno":"1.0","edge":"13","electron":"0.20","firefox":"39","ios":"9.0","node":"0.11.13","opera":"22","opera_mobile":"22","safari":"9.0","samsung":"3.0"},"es.number.to-fixed":{"android":"4.4","chrome":"26","deno":"1.0","edge":"74","electron":"0.20","firefox":"4","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.number.to-precision":{"android":"4.4","chrome":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"8","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.object.assign":{"android":"49","chrome":"49","deno":"1.0","edge":"74","electron":"0.37","firefox":"36","ios":"9.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"9.0","samsung":"5.0"},"es.object.create":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"3.2","node":"0.1.27","opera":"12","opera_mobile":"12","phantom":"1.9","rhino":"1.7.13","safari":"4.0","samsung":"1.0"},"es.object.define-getter":{"android":"62","chrome":"62","deno":"1.0","edge":"16","electron":"3.0","firefox":"48","ios":"8.0","node":"8.10","opera":"49","opera_mobile":"46","rhino":"1.7.13","safari":"7.1","samsung":"8.0"},"es.object.define-properties":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"5.1","node":"0.1.27","opera":"12","opera_mobile":"12","phantom":"2.0","rhino":"1.7.13","safari":"5.1","samsung":"1.0"},"es.object.define-property":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"5.1","node":"0.1.27","opera":"12","opera_mobile":"12","phantom":"2.0","rhino":"1.7.13","safari":"5.1","samsung":"1.0"},"es.object.define-setter":{"android":"62","chrome":"62","deno":"1.0","edge":"16","electron":"3.0","firefox":"48","ios":"8.0","node":"8.10","opera":"49","opera_mobile":"46","rhino":"1.7.13","safari":"7.1","samsung":"8.0"},"es.object.entries":{"android":"54","chrome":"54","deno":"1.0","edge":"14","electron":"1.4","firefox":"47","ios":"10.3","node":"7.0","opera":"41","opera_mobile":"41","safari":"10.1","samsung":"6.0"},"es.object.freeze":{"android":"44","chrome":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.from-entries":{"android":"73","chrome":"73","deno":"1.0","edge":"74","electron":"5.0","firefox":"63","ios":"12.2","node":"12.0","opera":"60","opera_mobile":"52","safari":"12.1","samsung":"11.0"},"es.object.get-own-property-descriptor":{"android":"44","chrome":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.get-own-property-descriptors":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"50","ios":"10.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"10.0","samsung":"6.0"},"es.object.get-own-property-names":{"android":"40","chrome":"40","deno":"1.0","edge":"13","electron":"0.21","firefox":"34","ios":"9.0","node":"1.0","opera":"27","opera_mobile":"27","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.object.get-prototype-of":{"android":"44","chrome":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.is":{"android":"4.1","chrome":"19","deno":"1.0","edge":"12","electron":"0.20","firefox":"22","ios":"9.0","node":"0.7.3","opera":"15","opera_mobile":"15","rhino":"1.7.13","safari":"9.0","samsung":"1.5"},"es.object.is-extensible":{"android":"44","chrome":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.is-frozen":{"android":"44","chrome":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.is-sealed":{"android":"44","chrome":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.keys":{"android":"40","chrome":"40","deno":"1.0","edge":"13","electron":"0.21","firefox":"35","ios":"9.0","node":"1.0","opera":"27","opera_mobile":"27","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.object.lookup-getter":{"android":"62","chrome":"62","deno":"1.0","edge":"16","electron":"3.0","firefox":"48","ios":"8.0","node":"8.10","opera":"49","opera_mobile":"46","rhino":"1.7.13","safari":"7.1","samsung":"8.0"},"es.object.lookup-setter":{"android":"62","chrome":"62","deno":"1.0","edge":"16","electron":"3.0","firefox":"48","ios":"8.0","node":"8.10","opera":"49","opera_mobile":"46","rhino":"1.7.13","safari":"7.1","samsung":"8.0"},"es.object.prevent-extensions":{"android":"44","chrome":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.seal":{"android":"44","chrome":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.set-prototype-of":{"android":"37","chrome":"34","deno":"1.0","edge":"12","electron":"0.20","firefox":"31","ie":"11","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","rhino":"1.7.13","safari":"9.0","samsung":"2.0"},"es.object.to-string":{"android":"49","chrome":"49","deno":"1.0","edge":"15","electron":"0.37","firefox":"51","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.object.values":{"android":"54","chrome":"54","deno":"1.0","edge":"14","electron":"1.4","firefox":"47","ios":"10.3","node":"7.0","opera":"41","opera_mobile":"41","safari":"10.1","samsung":"6.0"},"es.parse-float":{"android":"37","chrome":"35","deno":"1.0","edge":"12","electron":"0.20","firefox":"8","ie":"8","ios":"8.0","node":"0.11.13","opera":"22","opera_mobile":"22","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.parse-int":{"android":"37","chrome":"35","deno":"1.0","edge":"12","electron":"0.20","firefox":"21","ie":"9","ios":"8.0","node":"0.11.13","opera":"22","opera_mobile":"22","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.promise":{"android":"67","chrome":"67","deno":"1.0","edge":"74","electron":"4.0","firefox":"69","ios":"11.0","node":"10.4","opera":"54","opera_mobile":"48","safari":"11.0","samsung":"9.0"},"es.promise.all-settled":{"android":"76","chrome":"76","deno":"1.0","edge":"76","electron":"6.0","firefox":"71","ios":"13.0","node":"12.9","opera":"63","opera_mobile":"54","safari":"13","samsung":"12.0"},"es.promise.any":{"android":"85","chrome":"85","deno":"1.2","edge":"85","electron":"10.0","firefox":"79","ios":"14.0","node":"15.0","opera":"71","opera_mobile":"60","safari":"14.0","samsung":"14.0"},"es.promise.finally":{"android":"67","chrome":"67","deno":"1.0","edge":"74","electron":"4.0","firefox":"69","ios":"13.2.3","node":"10.4","opera":"54","opera_mobile":"48","safari":"13.0.3","samsung":"9.0"},"es.reflect.apply":{"android":"49","chrome":"49","deno":"1.0","edge":"15","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.construct":{"android":"49","chrome":"49","deno":"1.0","edge":"15","electron":"0.37","firefox":"44","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.define-property":{"android":"49","chrome":"49","deno":"1.0","edge":"13","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.delete-property":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.get":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.get-own-property-descriptor":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.get-prototype-of":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.has":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.is-extensible":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.own-keys":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.prevent-extensions":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.set":{"android":"49","chrome":"49","deno":"1.0","edge":"74","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.set-prototype-of":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.to-string-tag":{"android":"86","chrome":"86","deno":"1.3","edge":"86","electron":"11.0","firefox":"82","ios":"14.0","node":"15.0","opera":"72","opera_mobile":"61","safari":"14.0","samsung":"14.0"},"es.regexp.constructor":{"android":"64","chrome":"64","deno":"1.0","edge":"74","electron":"3.0","firefox":"78","ios":"11.3","node":"10.0","opera":"51","opera_mobile":"47","safari":"11.1","samsung":"9.0"},"es.regexp.dot-all":{"android":"62","chrome":"62","deno":"1.0","edge":"74","electron":"3.0","firefox":"78","ios":"11.3","node":"8.10","opera":"49","opera_mobile":"46","safari":"11.1","samsung":"8.0"},"es.regexp.exec":{"android":"64","chrome":"64","deno":"1.0","edge":"74","electron":"3.0","firefox":"78","ios":"11.3","node":"10.0","opera":"51","opera_mobile":"47","safari":"11.1","samsung":"9.0"},"es.regexp.flags":{"android":"62","chrome":"62","deno":"1.0","edge":"74","electron":"3.0","firefox":"78","ios":"11.3","node":"8.10","opera":"49","opera_mobile":"46","safari":"11.1","samsung":"8.0"},"es.regexp.sticky":{"android":"49","chrome":"49","deno":"1.0","edge":"13","electron":"0.37","firefox":"3","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.regexp.test":{"android":"51","chrome":"51","deno":"1.0","edge":"74","electron":"1.2","firefox":"46","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.regexp.to-string":{"android":"50","chrome":"50","deno":"1.0","edge":"74","electron":"1.1","firefox":"46","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.set":{"android":"51","chrome":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"53","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.string.code-point-at":{"android":"41","chrome":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"29","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.string.ends-with":{"android":"51","chrome":"51","deno":"1.0","edge":"74","electron":"1.2","firefox":"40","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.from-code-point":{"android":"41","chrome":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"29","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.string.includes":{"android":"51","chrome":"51","deno":"1.0","edge":"74","electron":"1.2","firefox":"40","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.iterator":{"android":"41","chrome":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"36","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.string.match":{"android":"51","chrome":"51","deno":"1.0","edge":"74","electron":"1.2","firefox":"49","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.match-all":{"android":"80","chrome":"80","deno":"1.0","edge":"80","electron":"8.0","firefox":"73","ios":"13.4","node":"14.0","opera":"67","opera_mobile":"57","safari":"13.1","samsung":"13.0"},"es.string.pad-end":{"android":"57","chrome":"57","deno":"1.0","edge":"15","electron":"1.7","firefox":"48","ios":"11.0","node":"8.0","opera":"44","opera_mobile":"43","rhino":"1.7.13","safari":"11.0","samsung":"7.0"},"es.string.pad-start":{"android":"57","chrome":"57","deno":"1.0","edge":"15","electron":"1.7","firefox":"48","ios":"11.0","node":"8.0","opera":"44","opera_mobile":"43","rhino":"1.7.13","safari":"11.0","samsung":"7.0"},"es.string.raw":{"android":"41","chrome":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"34","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","safari":"9.0","samsung":"3.4"},"es.string.repeat":{"android":"41","chrome":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"24","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.string.replace":{"android":"64","chrome":"64","deno":"1.0","edge":"74","electron":"3.0","firefox":"78","ios":"14.0","node":"10.0","opera":"51","opera_mobile":"47","safari":"14.0","samsung":"9.0"},"es.string.replace-all":{"android":"85","chrome":"85","deno":"1.2","edge":"85","electron":"10.0","firefox":"77","ios":"13.4","node":"15.0","opera":"71","opera_mobile":"60","safari":"13.1","samsung":"14.0"},"es.string.search":{"android":"51","chrome":"51","deno":"1.0","edge":"74","electron":"1.2","firefox":"49","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.split":{"android":"54","chrome":"54","deno":"1.0","edge":"74","electron":"1.4","firefox":"49","ios":"10.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"10.0","samsung":"6.0"},"es.string.starts-with":{"android":"51","chrome":"51","deno":"1.0","edge":"74","electron":"1.2","firefox":"40","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.substr":{"android":"3.0","chrome":"1","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","ie":"4","ios":"1.0","node":"0.0.3","opera":"4","opera_mobile":"4","phantom":"1.9","rhino":"1.7.13","safari":"1","samsung":"1.0"},"es.string.trim":{"android":"59","chrome":"59","deno":"1.0","edge":"15","electron":"1.8","firefox":"52","ios":"12.2","node":"8.3","opera":"46","opera_mobile":"43","rhino":"1.7.13","safari":"12.1","samsung":"7.0"},"es.string.trim-end":{"android":"66","chrome":"66","deno":"1.0","edge":"74","electron":"3.0","firefox":"61","ios":"12.2","node":"10.0","opera":"53","opera_mobile":"47","safari":"12.1","samsung":"9.0"},"es.string.trim-start":{"android":"66","chrome":"66","deno":"1.0","edge":"74","electron":"3.0","firefox":"61","ios":"12.0","node":"10.0","opera":"53","opera_mobile":"47","safari":"12.0","samsung":"9.0"},"es.string.anchor":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"17","ios":"6.0","node":"0.1.27","opera":"15","opera_mobile":"15","phantom":"2.0","safari":"6.0","samsung":"1.0"},"es.string.big":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.blink":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.bold":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.fixed":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.fontcolor":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"17","ios":"6.0","node":"0.1.27","opera":"15","opera_mobile":"15","phantom":"2.0","safari":"6.0","samsung":"1.0"},"es.string.fontsize":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"17","ios":"6.0","node":"0.1.27","opera":"15","opera_mobile":"15","phantom":"2.0","safari":"6.0","samsung":"1.0"},"es.string.italics":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.link":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"17","ios":"6.0","node":"0.1.27","opera":"15","opera_mobile":"15","phantom":"2.0","safari":"6.0","samsung":"1.0"},"es.string.small":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.strike":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.sub":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.sup":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.typed-array.float32-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.float64-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.int8-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.int16-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.int32-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.uint8-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.uint8-clamped-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.uint16-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.uint32-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.copy-within":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"34","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.every":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.fill":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.filter":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"38","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.find":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.find-index":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.for-each":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"38","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.from":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.includes":{"android":"49","chrome":"49","deno":"1.0","edge":"14","electron":"0.37","firefox":"43","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.typed-array.index-of":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.iterator":{"android":"47","chrome":"47","deno":"1.0","edge":"13","electron":"0.36","firefox":"37","ios":"10.0","node":"6.0","opera":"34","opera_mobile":"34","safari":"10.0","samsung":"5.0"},"es.typed-array.join":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.last-index-of":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.map":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"38","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.of":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.reduce":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.reduce-right":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.reverse":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.set":{"android":"4.4","chrome":"26","deno":"1.0","edge":"13","electron":"0.20","firefox":"15","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"7.1","samsung":"1.5"},"es.typed-array.slice":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"38","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.some":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.sort":{"android":"74","chrome":"74","deno":"1.0","edge":"74","electron":"6.0","firefox":"67","ios":"14.5","node":"12.0","opera":"61","opera_mobile":"53","safari":"14.1","samsung":"11.0"},"es.typed-array.subarray":{"android":"4.4","chrome":"26","deno":"1.0","edge":"13","electron":"0.20","firefox":"15","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"7.1","samsung":"1.5"},"es.typed-array.to-locale-string":{"android":"45","chrome":"45","deno":"1.0","edge":"74","electron":"0.31","firefox":"51","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.to-string":{"android":"51","chrome":"51","deno":"1.0","edge":"13","electron":"1.2","firefox":"51","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.unescape":{"android":"3.0","chrome":"1","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","ie":"3","ios":"1.0","node":"0.0.3","opera":"3","opera_mobile":"3","phantom":"1.9","rhino":"1.7.13","safari":"1","samsung":"1.0"},"es.weak-map":{"android":"51","chrome":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"53","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.weak-set":{"android":"51","chrome":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"53","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"esnext.aggregate-error":{"android":"85","chrome":"85","deno":"1.2","edge":"85","electron":"10.0","firefox":"79","ios":"14.0","node":"15.0","opera":"71","opera_mobile":"60","safari":"14.0","samsung":"14.0"},"esnext.array.at":{"android":"92","chrome":"92","deno":"1.12","edge":"92","electron":"14.0","firefox":"90","node":"16.6","opera":"78"},"esnext.array.filter-out":{},"esnext.array.filter-reject":{},"esnext.array.find-last":{},"esnext.array.find-last-index":{},"esnext.array.group-by":{},"esnext.array.is-template-object":{},"esnext.array.last-index":{},"esnext.array.last-item":{},"esnext.array.unique-by":{},"esnext.async-iterator.constructor":{},"esnext.async-iterator.as-indexed-pairs":{},"esnext.async-iterator.drop":{},"esnext.async-iterator.every":{},"esnext.async-iterator.filter":{},"esnext.async-iterator.find":{},"esnext.async-iterator.flat-map":{},"esnext.async-iterator.for-each":{},"esnext.async-iterator.from":{},"esnext.async-iterator.map":{},"esnext.async-iterator.reduce":{},"esnext.async-iterator.some":{},"esnext.async-iterator.take":{},"esnext.async-iterator.to-array":{},"esnext.bigint.range":{},"esnext.composite-key":{},"esnext.composite-symbol":{},"esnext.global-this":{"android":"71","chrome":"71","deno":"1.0","edge":"74","electron":"5.0","firefox":"65","ios":"12.2","node":"12.0","opera":"58","opera_mobile":"50","safari":"12.1","samsung":"10.0"},"esnext.iterator.constructor":{},"esnext.iterator.as-indexed-pairs":{},"esnext.iterator.drop":{},"esnext.iterator.every":{},"esnext.iterator.filter":{},"esnext.iterator.find":{},"esnext.iterator.flat-map":{},"esnext.iterator.for-each":{},"esnext.iterator.from":{},"esnext.iterator.map":{},"esnext.iterator.reduce":{},"esnext.iterator.some":{},"esnext.iterator.take":{},"esnext.iterator.to-array":{},"esnext.map.delete-all":{},"esnext.map.emplace":{},"esnext.map.every":{},"esnext.map.filter":{},"esnext.map.find":{},"esnext.map.find-key":{},"esnext.map.from":{},"esnext.map.group-by":{},"esnext.map.includes":{},"esnext.map.key-by":{},"esnext.map.key-of":{},"esnext.map.map-keys":{},"esnext.map.map-values":{},"esnext.map.merge":{},"esnext.map.of":{},"esnext.map.reduce":{},"esnext.map.some":{},"esnext.map.update":{},"esnext.map.update-or-insert":{},"esnext.map.upsert":{},"esnext.math.clamp":{},"esnext.math.deg-per-rad":{},"esnext.math.degrees":{},"esnext.math.fscale":{},"esnext.math.iaddh":{},"esnext.math.imulh":{},"esnext.math.isubh":{},"esnext.math.rad-per-deg":{},"esnext.math.radians":{},"esnext.math.scale":{},"esnext.math.seeded-prng":{},"esnext.math.signbit":{},"esnext.math.umulh":{},"esnext.number.from-string":{},"esnext.number.range":{},"esnext.object.has-own":{"android":"93","chrome":"93","deno":"1.13","edge":"93","electron":"14.0","firefox":"92","opera":"79"},"esnext.object.iterate-entries":{},"esnext.object.iterate-keys":{},"esnext.object.iterate-values":{},"esnext.observable":{},"esnext.promise.all-settled":{"android":"76","chrome":"76","deno":"1.0","edge":"76","electron":"6.0","firefox":"71","ios":"13.0","node":"12.9","opera":"63","opera_mobile":"54","safari":"13","samsung":"12.0"},"esnext.promise.any":{"android":"85","chrome":"85","deno":"1.2","edge":"85","electron":"10.0","firefox":"79","ios":"14.0","node":"15.0","opera":"71","opera_mobile":"60","safari":"14.0","samsung":"14.0"},"esnext.promise.try":{},"esnext.reflect.define-metadata":{},"esnext.reflect.delete-metadata":{},"esnext.reflect.get-metadata":{},"esnext.reflect.get-metadata-keys":{},"esnext.reflect.get-own-metadata":{},"esnext.reflect.get-own-metadata-keys":{},"esnext.reflect.has-metadata":{},"esnext.reflect.has-own-metadata":{},"esnext.reflect.metadata":{},"esnext.set.add-all":{},"esnext.set.delete-all":{},"esnext.set.difference":{},"esnext.set.every":{},"esnext.set.filter":{},"esnext.set.find":{},"esnext.set.from":{},"esnext.set.intersection":{},"esnext.set.is-disjoint-from":{},"esnext.set.is-subset-of":{},"esnext.set.is-superset-of":{},"esnext.set.join":{},"esnext.set.map":{},"esnext.set.of":{},"esnext.set.reduce":{},"esnext.set.some":{},"esnext.set.symmetric-difference":{},"esnext.set.union":{},"esnext.string.at":{},"esnext.string.code-points":{},"esnext.string.match-all":{"android":"80","chrome":"80","deno":"1.0","edge":"80","electron":"8.0","firefox":"73","ios":"13.4","node":"14.0","opera":"67","opera_mobile":"57","safari":"13.1","samsung":"13.0"},"esnext.string.replace-all":{"android":"85","chrome":"85","deno":"1.2","edge":"85","electron":"10.0","firefox":"77","ios":"13.4","node":"15.0","opera":"71","opera_mobile":"60","safari":"13.1","samsung":"14.0"},"esnext.symbol.async-dispose":{},"esnext.symbol.dispose":{},"esnext.symbol.matcher":{},"esnext.symbol.metadata":{},"esnext.symbol.observable":{},"esnext.symbol.pattern-match":{},"esnext.symbol.replace-all":{},"esnext.typed-array.at":{"android":"92","chrome":"92","deno":"1.12","edge":"92","electron":"14.0","firefox":"90","node":"16.6","opera":"78"},"esnext.typed-array.filter-out":{},"esnext.typed-array.filter-reject":{},"esnext.typed-array.find-last":{},"esnext.typed-array.find-last-index":{},"esnext.typed-array.group-by":{},"esnext.typed-array.unique-by":{},"esnext.weak-map.delete-all":{},"esnext.weak-map.from":{},"esnext.weak-map.of":{},"esnext.weak-map.emplace":{},"esnext.weak-map.upsert":{},"esnext.weak-set.add-all":{},"esnext.weak-set.delete-all":{},"esnext.weak-set.from":{},"esnext.weak-set.of":{},"web.dom-collections.for-each":{"android":"58","chrome":"58","deno":"1.0","edge":"16","electron":"1.7","firefox":"50","ios":"10.0","node":"0.0.1","opera":"45","opera_mobile":"43","rhino":"1.7.13","safari":"10.0","samsung":"7.0"},"web.dom-collections.iterator":{"android":"66","chrome":"66","deno":"1.0","edge":"74","electron":"3.0","firefox":"60","ios":"13.4","node":"0.0.1","opera":"53","opera_mobile":"47","rhino":"1.7.13","safari":"13.1","samsung":"9.0"},"web.immediate":{"ie":"10","node":"0.9.1"},"web.queue-microtask":{"android":"71","chrome":"71","deno":"1.0","edge":"74","electron":"5.0","firefox":"69","ios":"12.2","node":"12.0","opera":"58","opera_mobile":"50","safari":"12.1","samsung":"10.0"},"web.timers":{"android":"1.5","chrome":"1","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","ie":"10","ios":"1.0","node":"0.0.1","opera":"7","opera_mobile":"7","phantom":"1.9","rhino":"1.7.13","safari":"1.0","samsung":"1.0"},"web.url":{"android":"67","chrome":"67","deno":"1.0","edge":"74","electron":"4.0","firefox":"57","ios":"14.0","node":"10.0","opera":"54","opera_mobile":"48","safari":"14.0","samsung":"9.0"},"web.url.to-json":{"android":"71","chrome":"71","deno":"1.0","edge":"74","electron":"5.0","firefox":"57","ios":"14.0","node":"10.0","opera":"58","opera_mobile":"50","safari":"14.0","samsung":"10.0"},"web.url-search-params":{"android":"67","chrome":"67","deno":"1.0","edge":"74","electron":"4.0","firefox":"57","ios":"14.0","node":"10.0","opera":"54","opera_mobile":"48","safari":"14.0","samsung":"9.0"}}')},33953:e=>{"use strict";e.exports=JSON.parse('{"AssignmentExpression":["left","right"],"AssignmentPattern":["left","right"],"ArrayExpression":["elements"],"ArrayPattern":["elements"],"ArrowFunctionExpression":["params","body"],"AwaitExpression":["argument"],"BlockStatement":["body"],"BinaryExpression":["left","right"],"BreakStatement":["label"],"CallExpression":["callee","arguments"],"CatchClause":["param","body"],"ChainExpression":["expression"],"ClassBody":["body"],"ClassDeclaration":["id","superClass","body"],"ClassExpression":["id","superClass","body"],"ConditionalExpression":["test","consequent","alternate"],"ContinueStatement":["label"],"DebuggerStatement":[],"DoWhileStatement":["body","test"],"EmptyStatement":[],"ExportAllDeclaration":["exported","source"],"ExportDefaultDeclaration":["declaration"],"ExportNamedDeclaration":["declaration","specifiers","source"],"ExportSpecifier":["exported","local"],"ExpressionStatement":["expression"],"ExperimentalRestProperty":["argument"],"ExperimentalSpreadProperty":["argument"],"ForStatement":["init","test","update","body"],"ForInStatement":["left","right","body"],"ForOfStatement":["left","right","body"],"FunctionDeclaration":["id","params","body"],"FunctionExpression":["id","params","body"],"Identifier":[],"IfStatement":["test","consequent","alternate"],"ImportDeclaration":["specifiers","source"],"ImportDefaultSpecifier":["local"],"ImportExpression":["source"],"ImportNamespaceSpecifier":["local"],"ImportSpecifier":["imported","local"],"JSXAttribute":["name","value"],"JSXClosingElement":["name"],"JSXElement":["openingElement","children","closingElement"],"JSXEmptyExpression":[],"JSXExpressionContainer":["expression"],"JSXIdentifier":[],"JSXMemberExpression":["object","property"],"JSXNamespacedName":["namespace","name"],"JSXOpeningElement":["name","attributes"],"JSXSpreadAttribute":["argument"],"JSXText":[],"JSXFragment":["openingFragment","children","closingFragment"],"Literal":[],"LabeledStatement":["label","body"],"LogicalExpression":["left","right"],"MemberExpression":["object","property"],"MetaProperty":["meta","property"],"MethodDefinition":["key","value"],"NewExpression":["callee","arguments"],"ObjectExpression":["properties"],"ObjectPattern":["properties"],"Program":["body"],"Property":["key","value"],"RestElement":["argument"],"ReturnStatement":["argument"],"SequenceExpression":["expressions"],"SpreadElement":["argument"],"Super":[],"SwitchStatement":["discriminant","cases"],"SwitchCase":["test","consequent"],"TaggedTemplateExpression":["tag","quasi"],"TemplateElement":[],"TemplateLiteral":["quasis","expressions"],"ThisExpression":[],"ThrowStatement":["argument"],"TryStatement":["block","handler","finalizer"],"UnaryExpression":["argument"],"UpdateExpression":["argument"],"VariableDeclaration":["declarations"],"VariableDeclarator":["id","init"],"WhileStatement":["test","body"],"WithStatement":["object","body"],"YieldExpression":["argument"]}')},5537:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"assert/strict":">= 15","async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"diagnostics_channel":">= 15.1","dns":true,"dns/promises":">= 15","domain":">= 0.7.12","events":true,"freelist":"< 6","fs":true,"fs/promises":[">= 10 && < 10.1",">= 14"],"_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12","os":true,"path":true,"path/posix":">= 15.3","path/win32":">= 15.3","perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"stream/promises":">= 15","string_decoder":true,"sys":[">= 0.6 && < 0.7",">= 0.8"],"timers":true,"timers/promises":">= 15","_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"util/types":">= 15.3","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8":">= 1","vm":true,"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","zlib":true}')},42357:e=>{"use strict";e.exports=require("assert")},3561:e=>{"use strict";e.exports=require("browserslist")},64293:e=>{"use strict";e.exports=require("buffer")},72242:e=>{"use strict";e.exports=require("chalk")},35747:e=>{"use strict";e.exports=require("fs")},32282:e=>{"use strict";e.exports=require("module")},23656:e=>{"use strict";e.exports=require("next/dist/compiled/babel/generator")},4267:e=>{"use strict";e.exports=require("next/dist/compiled/babel/traverse")},31185:e=>{"use strict";e.exports=require("next/dist/compiled/debug")},33170:e=>{"use strict";e.exports=require("next/dist/compiled/json5")},62519:e=>{"use strict";e.exports=require("next/dist/compiled/semver")},96241:e=>{"use strict";e.exports=require("next/dist/compiled/source-map")},85622:e=>{"use strict";e.exports=require("path")},78835:e=>{"use strict";e.exports=require("url")},31669:e=>{"use strict";e.exports=require("util")},68987:e=>{"use strict";e.exports=require("v8")}};var t={};function __nccwpck_require__(r){if(t[r]){return t[r].exports}var n=t[r]={id:r,loaded:false,exports:{}};var s=true;try{e[r].call(n.exports,n,n.exports,__nccwpck_require__);s=false}finally{if(s)delete t[r]}n.loaded=true;return n.exports}(()=>{__nccwpck_require__.o=((e,t)=>Object.prototype.hasOwnProperty.call(e,t))})();(()=>{__nccwpck_require__.nmd=(e=>{e.paths=[];if(!e.children)e.children=[];return e})})();__nccwpck_require__.ab=__dirname+"/";return __nccwpck_require__(76812)})(); \ No newline at end of file + `}},25419:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.get=get;t.minVersion=minVersion;t.getDependencies=getDependencies;t.ensure=ensure;t.default=t.list=void 0;var r=s(4267);var i=s(19761);var n=s(81407);function makePath(e){const t=[];for(;e.parentPath;e=e.parentPath){t.push(e.key);if(e.inList)t.push(e.listKey)}return t.reverse().join(".")}let a=undefined;function getHelperMetadata(e){const t=new Set;const s=new Set;const i=new Map;let a;let o;const l=[];const c=[];const p=[];const u={ImportDeclaration(e){const t=e.node.source.value;if(!n.default[t]){throw e.buildCodeFrameError(`Unknown helper ${t}`)}if(e.get("specifiers").length!==1||!e.get("specifiers.0").isImportDefaultSpecifier()){throw e.buildCodeFrameError("Helpers can only import a default value")}const s=e.node.specifiers[0].local;i.set(s,t);c.push(makePath(e))},ExportDefaultDeclaration(e){const t=e.get("declaration");if(t.isFunctionDeclaration()){if(!t.node.id){throw t.buildCodeFrameError("Helpers should give names to their exported func declaration")}a=t.node.id.name}o=makePath(e)},ExportAllDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},ExportNamedDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},Statement(e){if(e.isModuleDeclaration())return;e.skip()}};const h={Program(e){const t=e.scope.getAllBindings();Object.keys(t).forEach(e=>{if(e===a)return;if(i.has(t[e].identifier))return;s.add(e)})},ReferencedIdentifier(e){const s=e.node.name;const r=e.scope.getBinding(s,true);if(!r){t.add(s)}else if(i.has(r.identifier)){p.push(makePath(e))}},AssignmentExpression(e){const t=e.get("left");if(!(a in t.getBindingIdentifiers()))return;if(!t.isIdentifier()){throw t.buildCodeFrameError("Only simple assignments to exports are allowed in helpers")}const s=e.scope.getBinding(a);if(s!=null&&s.scope.path.isProgram()){l.push(makePath(e))}}};(0,r.default)(e.ast,u,e.scope);(0,r.default)(e.ast,h,e.scope);if(!o)throw new Error("Helpers must default-export something.");l.reverse();return{globals:Array.from(t),localBindingNames:Array.from(s),dependencies:i,exportBindingAssignments:l,exportPath:o,exportName:a,importBindingsReferences:p,importPaths:c}}function permuteHelperAST(e,t,s,n,a){if(n&&!s){throw new Error("Unexpected local bindings for module-based helpers.")}if(!s)return;const{localBindingNames:o,dependencies:l,exportBindingAssignments:c,exportPath:p,exportName:u,importBindingsReferences:h,importPaths:f}=t;const d={};l.forEach((e,t)=>{d[t.name]=typeof a==="function"&&a(e)||t});const y={};const m=new Set(n||[]);o.forEach(e=>{let t=e;while(m.has(t))t="_"+t;if(t!==e)y[e]=t});if(s.type==="Identifier"&&u!==s.name){y[u]=s.name}const g={Program(e){const t=e.get(p);const r=f.map(t=>e.get(t));const n=h.map(t=>e.get(t));const a=t.get("declaration");if(s.type==="Identifier"){if(a.isFunctionDeclaration()){t.replaceWith(a)}else{t.replaceWith(i.variableDeclaration("var",[i.variableDeclarator(s,a.node)]))}}else if(s.type==="MemberExpression"){if(a.isFunctionDeclaration()){c.forEach(t=>{const r=e.get(t);r.replaceWith(i.assignmentExpression("=",s,r.node))});t.replaceWith(a);e.pushContainer("body",i.expressionStatement(i.assignmentExpression("=",s,i.identifier(u))))}else{t.replaceWith(i.expressionStatement(i.assignmentExpression("=",s,a.node)))}}else{throw new Error("Unexpected helper format.")}Object.keys(y).forEach(t=>{e.scope.rename(t,y[t])});for(const e of r)e.remove();for(const e of n){const t=i.cloneNode(d[e.node.name]);e.replaceWith(t)}e.stop()}};(0,r.default)(e.ast,g,e.scope)}const o=Object.create(null);function loadHelper(e){if(!o[e]){const t=n.default[e];if(!t){throw Object.assign(new ReferenceError(`Unknown helper ${e}`),{code:"BABEL_HELPER_UNKNOWN",helper:e})}const s=()=>{const s={ast:i.file(t.ast())};if(a){return new a({filename:`babel-helper://${e}`},s)}return s};const r=getHelperMetadata(s());o[e]={build(e,t,i){const n=s();permuteHelperAST(n,r,t,i,e);return{nodes:n.ast.program.body,globals:r.globals}},minVersion(){return t.minVersion},dependencies:r.dependencies}}return o[e]}function get(e,t,s,r){return loadHelper(e).build(t,s,r)}function minVersion(e){return loadHelper(e).minVersion()}function getDependencies(e){return Array.from(loadHelper(e).dependencies.values())}function ensure(e,t){if(!a){a=t}loadHelper(e)}const l=Object.keys(n.default).map(e=>e.replace(/^_/,"")).filter(e=>e!=="__esModule");t.list=l;var c=get;t.default=c},72218:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const s=true;const r=true;const i=true;const n=true;const a=true;const o=true;class TokenType{constructor(e,t={}){this.label=void 0;this.keyword=void 0;this.beforeExpr=void 0;this.startsExpr=void 0;this.rightAssociative=void 0;this.isLoop=void 0;this.isAssign=void 0;this.prefix=void 0;this.postfix=void 0;this.binop=void 0;this.updateContext=void 0;this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.rightAssociative=!!t.rightAssociative;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop!=null?t.binop:null;this.updateContext=null}}const l=new Map;function createKeyword(e,t={}){t.keyword=e;const s=new TokenType(e,t);l.set(e,s);return s}function createBinop(e,t){return new TokenType(e,{beforeExpr:s,binop:t})}const c={num:new TokenType("num",{startsExpr:r}),bigint:new TokenType("bigint",{startsExpr:r}),decimal:new TokenType("decimal",{startsExpr:r}),regexp:new TokenType("regexp",{startsExpr:r}),string:new TokenType("string",{startsExpr:r}),name:new TokenType("name",{startsExpr:r}),privateName:new TokenType("#name",{startsExpr:r}),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:s,startsExpr:r}),bracketHashL:new TokenType("#[",{beforeExpr:s,startsExpr:r}),bracketBarL:new TokenType("[|",{beforeExpr:s,startsExpr:r}),bracketR:new TokenType("]"),bracketBarR:new TokenType("|]"),braceL:new TokenType("{",{beforeExpr:s,startsExpr:r}),braceBarL:new TokenType("{|",{beforeExpr:s,startsExpr:r}),braceHashL:new TokenType("#{",{beforeExpr:s,startsExpr:r}),braceR:new TokenType("}",{beforeExpr:s}),braceBarR:new TokenType("|}"),parenL:new TokenType("(",{beforeExpr:s,startsExpr:r}),parenR:new TokenType(")"),comma:new TokenType(",",{beforeExpr:s}),semi:new TokenType(";",{beforeExpr:s}),colon:new TokenType(":",{beforeExpr:s}),doubleColon:new TokenType("::",{beforeExpr:s}),dot:new TokenType("."),question:new TokenType("?",{beforeExpr:s}),questionDot:new TokenType("?."),arrow:new TokenType("=>",{beforeExpr:s}),template:new TokenType("template"),ellipsis:new TokenType("...",{beforeExpr:s}),backQuote:new TokenType("`",{startsExpr:r}),dollarBraceL:new TokenType("${",{beforeExpr:s,startsExpr:r}),at:new TokenType("@"),hash:new TokenType("#",{startsExpr:r}),interpreterDirective:new TokenType("#!..."),eq:new TokenType("=",{beforeExpr:s,isAssign:n}),assign:new TokenType("_=",{beforeExpr:s,isAssign:n}),slashAssign:new TokenType("_=",{beforeExpr:s,isAssign:n}),incDec:new TokenType("++/--",{prefix:a,postfix:o,startsExpr:r}),bang:new TokenType("!",{beforeExpr:s,prefix:a,startsExpr:r}),tilde:new TokenType("~",{beforeExpr:s,prefix:a,startsExpr:r}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:s,binop:9,prefix:a,startsExpr:r}),modulo:new TokenType("%",{beforeExpr:s,binop:10,startsExpr:r}),star:new TokenType("*",{binop:10}),slash:createBinop("/",10),exponent:new TokenType("**",{beforeExpr:s,binop:11,rightAssociative:true}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:s}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:s}),_do:createKeyword("do",{isLoop:i,beforeExpr:s}),_else:createKeyword("else",{beforeExpr:s}),_finally:createKeyword("finally"),_for:createKeyword("for",{isLoop:i}),_function:createKeyword("function",{startsExpr:r}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:s}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:s,prefix:a,startsExpr:r}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_while:createKeyword("while",{isLoop:i}),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:s,startsExpr:r}),_this:createKeyword("this",{startsExpr:r}),_super:createKeyword("super",{startsExpr:r}),_class:createKeyword("class",{startsExpr:r}),_extends:createKeyword("extends",{beforeExpr:s}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:r}),_null:createKeyword("null",{startsExpr:r}),_true:createKeyword("true",{startsExpr:r}),_false:createKeyword("false",{startsExpr:r}),_in:createKeyword("in",{beforeExpr:s,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:s,binop:7}),_typeof:createKeyword("typeof",{beforeExpr:s,prefix:a,startsExpr:r}),_void:createKeyword("void",{beforeExpr:s,prefix:a,startsExpr:r}),_delete:createKeyword("delete",{beforeExpr:s,prefix:a,startsExpr:r})};const p=/\r\n?|[\n\u2028\u2029]/;const u=new RegExp(p.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const h=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function isWhitespace(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return true;default:return false}}class Position{constructor(e,t){this.line=void 0;this.column=void 0;this.line=e;this.column=t}}class SourceLocation{constructor(e,t){this.start=void 0;this.end=void 0;this.filename=void 0;this.identifierName=void 0;this.start=e;this.end=t}}function getLineInfo(e,t){let s=1;let r=0;let i;u.lastIndex=0;while((i=u.exec(e))&&i.index0){r=t[--i]}if(r===null){return}for(let e=0;e0){r.trailingComments=n}else if(r.trailingComments!==undefined){r.trailingComments=[]}}processComment(e){if(e.type==="Program"&&e.body.length>0)return;const t=this.state.commentStack;let s,r,i,n,a;if(this.state.trailingComments.length>0){if(this.state.trailingComments[0].start>=e.end){i=this.state.trailingComments;this.state.trailingComments=[]}else{this.state.trailingComments.length=0}}else if(t.length>0){const s=last(t);if(s.trailingComments&&s.trailingComments[0].start>=e.end){i=s.trailingComments;delete s.trailingComments}}if(t.length>0&&last(t).start>=e.start){s=t.pop()}while(t.length>0&&last(t).start>=e.start){r=t.pop()}if(!r&&s)r=s;if(s){switch(e.type){case"ObjectExpression":this.adjustCommentsAfterTrailingComma(e,e.properties);break;case"ObjectPattern":this.adjustCommentsAfterTrailingComma(e,e.properties,true);break;case"CallExpression":this.adjustCommentsAfterTrailingComma(e,e.arguments);break;case"ArrayExpression":this.adjustCommentsAfterTrailingComma(e,e.elements);break;case"ArrayPattern":this.adjustCommentsAfterTrailingComma(e,e.elements,true);break}}else if(this.state.commentPreviousNode&&(this.state.commentPreviousNode.type==="ImportSpecifier"&&e.type!=="ImportSpecifier"||this.state.commentPreviousNode.type==="ExportSpecifier"&&e.type!=="ExportSpecifier")){this.adjustCommentsAfterTrailingComma(e,[this.state.commentPreviousNode])}if(r){if(r.leadingComments){if(r!==e&&r.leadingComments.length>0&&last(r.leadingComments).end<=e.start){e.leadingComments=r.leadingComments;delete r.leadingComments}else{for(n=r.leadingComments.length-2;n>=0;--n){if(r.leadingComments[n].end<=e.start){e.leadingComments=r.leadingComments.splice(0,n+1);break}}}}}else if(this.state.leadingComments.length>0){if(last(this.state.leadingComments).end<=e.start){if(this.state.commentPreviousNode){for(a=0;a0){e.leadingComments=this.state.leadingComments;this.state.leadingComments=[]}}else{for(n=0;ne.start){break}}const t=this.state.leadingComments.slice(0,n);if(t.length){e.leadingComments=t}i=this.state.leadingComments.slice(n);if(i.length===0){i=null}}}this.state.commentPreviousNode=e;if(i){if(i.length&&i[0].start>=e.start&&last(i).end<=e.end){e.innerComments=i}else{const t=i.findIndex(t=>t.end>=e.end);if(t>0){e.innerComments=i.slice(0,t);e.trailingComments=i.slice(t)}else{e.trailingComments=i}}}t.push(e)}}const f=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const d=makeErrorTemplates({AccessorIsGenerator:"A %0ter cannot be a generator.",ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accesor must not have any formal parameters.",BadSetterArity:"A 'set' accesor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accesor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:"'%0' require an initialization value.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:"`%0` has already been exported. Exported identifiers must be unique.",DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '%0' as '%1' } from 'some-module'`?",ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:"'%0' loop variable declaration may not have an initializer.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:"Unsyntactic %0.",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:'A string literal cannot be used as an imported binding.\n- Did you mean `import { "%0" as foo }`?',ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:"`import()` requires exactly %0.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidDecimal:"Invalid decimal.",InvalidDigit:"Expected number in radix %0.",InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:"Escape sequence in keyword %0.",InvalidIdentifier:"Invalid identifier %0.",InvalidLhs:"Invalid left-hand side in %0.",InvalidLhsBinding:"Binding invalid left-hand side in %0.",InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:"Unexpected character '%0'.",InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:"Private name #%0 is not defined.",InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:"Label '%0' is already declared.",LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:'Duplicate key "%0" is not allowed in module attributes.',ModuleExportNameHasLoneSurrogate:"An export name cannot include a lone surrogate, found '\\u%0'.",ModuleExportUndefined:"Export '%0' is not defined.",MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:"Primary Topic Reference found but pipelineOperator not passed 'smart' for 'proposal' option.",PrivateInExpectedIn:"Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`).",PrivateNameRedeclaration:"Duplicate private name #%0.",RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:"Assigning to '%0' in strict mode.",StrictEvalArgumentsBinding:"Binding '%0' in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:"Unexpected keyword '%0'.",UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Private names can only be used as the name of a class element (i.e. class C { #p = 42; #m() {} } )\n or a property of member expression (i.e. this.#p).",UnexpectedReservedWord:"Unexpected reserved word '%0'.",UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:"Unexpected token '%0'.",UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:"The only valid meta property for %0 is %0.%1.",UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",VarRedeclaration:"Identifier '%0' has already been declared.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},f.SyntaxError);const y=makeErrorTemplates({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},f.SourceTypeModuleError);function makeErrorTemplates(e,t){const s={};Object.keys(e).forEach(r=>{s[r]=Object.freeze({code:t,reasonCode:r,template:e[r]})});return Object.freeze(s)}class ParserError extends CommentsParser{getLocationForPosition(e){let t;if(e===this.state.start)t=this.state.startLoc;else if(e===this.state.lastTokStart)t=this.state.lastTokStartLoc;else if(e===this.state.end)t=this.state.endLoc;else if(e===this.state.lastTokEnd)t=this.state.lastTokEndLoc;else t=getLineInfo(this.input,e);return t}raise(e,{code:t,reasonCode:s,template:r},...i){return this.raiseWithData(e,{code:t,reasonCode:s},r,...i)}raiseOverwrite(e,{code:t,template:s},...r){const i=this.getLocationForPosition(e);const n=s.replace(/%(\d+)/g,(e,t)=>r[t])+` (${i.line}:${i.column})`;if(this.options.errorRecovery){const t=this.state.errors;for(let s=t.length-1;s>=0;s--){const r=t[s];if(r.pos===e){return Object.assign(r,{message:n})}else if(r.posr[t])+` (${i.line}:${i.column})`;return this._raise(Object.assign({loc:i,pos:e},t),n)}_raise(e,t){const s=new SyntaxError(t);Object.assign(s,e);if(this.options.errorRecovery){if(!this.isLookahead)this.state.errors.push(s);return s}else{throw s}}}var m=e=>(class extends e{parseRegExpLiteral({pattern:e,flags:t}){let s=null;try{s=new RegExp(e,t)}catch(e){}const r=this.estreeParseLiteral(s);r.regex={pattern:e,flags:t};return r}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const s=this.estreeParseLiteral(t);s.bigint=String(s.value||e);return s}parseDecimalLiteral(e){const t=null;const s=this.estreeParseLiteral(t);s.decimal=String(s.value||e);return s}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;const s=this.startNodeAt(e.start,e.loc.start);const r=this.startNodeAt(t.start,t.loc.start);r.value=t.extra.expressionValue;r.raw=t.extra.raw;s.expression=this.finishNodeAt(r,"Literal",t.end,t.loc.end);s.directive=t.extra.raw.slice(1,-1);return this.finishNodeAt(s,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}stmtToDirective(e){const t=super.stmtToDirective(e);const s=e.expression.value;this.addExtra(t.value,"expressionValue",s);return t}parseBlockBody(e,...t){super.parseBlockBody(e,...t);const s=e.directives.map(e=>this.directiveToStmt(e));e.body=s.concat(e.body);delete e.directives}pushClassMethod(e,t,s,r,i,n){this.parseMethod(t,s,r,i,n,"ClassMethod",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parseMaybePrivateName(...e){const t=super.parseMaybePrivateName(...e);if(t.type==="PrivateName"&&this.getPluginOption("estree","classFeatures")){return this.convertPrivateNameToPrivateIdentifier(t)}return t}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}return e.name}parseLiteral(e,t){const s=super.parseLiteral(e,t);s.raw=s.extra.raw;delete s.extra;return s}parseFunctionBody(e,t,s=false){super.parseFunctionBody(e,t,s);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,s,r,i,n,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,s,r,i,n,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(n==="ClassPrivateMethod"){e.computed=false}n="MethodDefinition";return this.finishNode(e,n)}parseClassProperty(...e){const t=super.parseClassProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition"}return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition";t.computed=false}return t}parseObjectMethod(e,t,s,r,i){const n=super.parseObjectMethod(e,t,s,r,i);if(n){n.type="Property";if(n.kind==="method")n.kind="init";n.shorthand=false}return n}parseObjectProperty(e,t,s,r,i){const n=super.parseObjectProperty(e,t,s,r,i);if(n){n.kind="init";n.type="Property"}return n}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){this.toAssignable(e.value,t);return e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){if(e.kind==="get"||e.kind==="set"){this.raise(e.key.start,d.PatternHasAccessor)}else if(e.method){this.raise(e.key.start,d.PatternHasMethod)}else{super.toAssignableObjectExpressionProp(e,...t)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];if(this.hasPlugin("importAssertions")){var s;e.attributes=(s=e.arguments[1])!=null?s:null}delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,s,r,i){const n=super.parseSubscript(e,t,s,r,i);if(i.optionalChainMember){if(n.type==="OptionalMemberExpression"||n.type==="OptionalCallExpression"){n.type=n.type.substring(8)}if(i.stop){const e=this.startNodeAtNode(n);e.expression=n;return this.finishNode(e,"ChainExpression")}}else if(n.type==="MemberExpression"||n.type==="CallExpression"){n.optional=false}return n}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}});class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const g={brace:new TokContext("{"),templateQuasi:new TokContext("${"),template:new TokContext("`",true)};c.braceR.updateContext=(e=>{if(e.length>1){e.pop()}});c.braceL.updateContext=c.braceHashL.updateContext=(e=>{e.push(g.brace)});c.dollarBraceL.updateContext=(e=>{e.push(g.templateQuasi)});c.backQuote.updateContext=(e=>{if(e[e.length-1]===g.template){e.pop()}else{e.push(g.template)}});let b="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let x="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const v=new RegExp("["+b+"]");const w=new RegExp("["+b+x+"]");b=x=null;const P=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const E=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let s=65536;for(let r=0,i=t.length;re)return false;s+=t[r+1];if(s>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&v.test(String.fromCharCode(e))}return isInAstralSet(e,P)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&w.test(String.fromCharCode(e))}return isInAstralSet(e,P)||isInAstralSet(e,E)}const A={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const T=new Set(A.keyword);const C=new Set(A.strict);const k=new Set(A.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||C.has(e)}function isStrictBindOnlyReservedWord(e){return k.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return T.has(e)}function isIteratorStart(e,t){return e===64&&t===64}const I=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function canBeReservedWord(e){return I.has(e)}const j=0,O=1,S=2,_=4,R=8,D=16,N=32,F=64,M=128,L=256,B=O|S|L;const U=1,W=2,q=4,H=8,z=16,V=64,K=128,$=256,G=512,J=1024,X=2048;const Y=U|W|H|K,Q=U|0|H|0,Z=U|0|q|0,ee=U|0|z|0,te=0|W|0|K,se=0|W|0|0,re=U|W|H|$,ie=0|0|0|J,ne=0|0|0|V,ae=U|0|0|V,oe=re|G,le=0|0|0|J,ce=X;const pe=4,ue=2,he=1,fe=ue|he;const de=ue|pe,ye=he|pe,me=ue,ge=he,be=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.scopeStack=[];this.undefinedExports=new Map;this.undefinedPrivateNames=new Map;this.raise=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&S)>0}get allowSuper(){return(this.currentThisScopeFlags()&D)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&N)>0}get inClass(){return(this.currentThisScopeFlags()&F)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&F)>0&&(e&S)===0}get inStaticBlock(){return(this.currentThisScopeFlags()&M)>0}get inNonArrowFunction(){return(this.currentThisScopeFlags()&S)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&S||!this.inModule&&e.flags&O)}declareName(e,t,s){let r=this.currentScope();if(t&H||t&z){this.checkRedeclarationInScope(r,e,t,s);if(t&z){r.functions.add(e)}else{r.lexical.add(e)}if(t&H){this.maybeExportDefined(r,e)}}else if(t&q){for(let i=this.scopeStack.length-1;i>=0;--i){r=this.scopeStack[i];this.checkRedeclarationInScope(r,e,t,s);r.var.add(e);this.maybeExportDefined(r,e);if(r.flags&B)break}}if(this.inModule&&r.flags&O){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.inModule&&e.flags&O){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,s,r){if(this.isRedeclaredInScope(e,t,s)){this.raise(r,d.VarRedeclaration,t)}}isRedeclaredInScope(e,t,s){if(!(s&U))return false;if(s&H){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(s&z){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&R&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const s=this.scopeStack[0];if(!s.lexical.has(t)&&!s.var.has(t)&&!s.functions.has(t)){this.undefinedExports.set(t,e.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&B){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(B|F)&&!(t&_)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,s){const r=this.currentScope();if(t&X){this.checkRedeclarationInScope(r,e,t,s);this.maybeExportDefined(r,e);r.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,s){if(super.isRedeclaredInScope(...arguments))return true;if(s&X){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}const xe=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]);const ve=makeErrorTemplates({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:"Cannot overwrite reserved type %0.",DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:"Boolean enum members need to be initialized. Use either `%0 = true,` or `%0 = false,` in enum `%1`.",EnumDuplicateMemberName:"Enum member names need to be unique, but the name `%0` has already been used before in enum `%1`.",EnumInconsistentMemberValues:"Enum `%0` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.",EnumInvalidExplicitType:"Enum type `%1` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidExplicitTypeUnknownSupplied:"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidMemberInitializerPrimaryType:"Enum `%0` has type `%2`, so the initializer of `%1` needs to be a %2 literal.",EnumInvalidMemberInitializerSymbolType:"Symbol enum members cannot be initialized. Use `%1,` in enum `%0`.",EnumInvalidMemberInitializerUnknownType:"The enum member initializer for `%1` needs to be a literal (either a boolean, number, or string) in enum `%0`.",EnumInvalidMemberName:"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%0`, consider using `%1`, in enum `%2`.",EnumNumberMemberNotInitialized:"Number enum members need to be initialized, e.g. `%1 = 1` in enum `%0`.",EnumStringMemberInconsistentlyInitailized:"String enum members need to consistently either all use initializers, or use no initializers, in enum `%0`.",GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",OptionalBindingPattern:"A binding pattern parameter cannot be optional in an implementation signature.",SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:"Unexpected reserved type %0.",UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:"`declare export %0` is not supported. Use `%1` instead.",UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."},f.SyntaxError);function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return(e.type===c.name||!!e.type.keyword)&&e.value!=="from"}const we={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const s=[];const r=[];for(let i=0;i(class extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==c.string&&e!==c.semi&&e!==c.interpreterDirective){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=Pe.exec(e.value);if(!t) ;else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||c.colon);const s=this.flowParseType();this.state.inType=t;return s}flowParsePredicate(){const e=this.startNode();const t=this.state.start;this.next();this.expectContextual("checks");if(this.state.lastTokStart>t+1){this.raise(t,ve.UnexpectedSpaceBetweenModuloChecks)}if(this.eat(c.parenL)){e.value=this.parseExpression();this.expect(c.parenR);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(c.colon);let t=null;let s=null;if(this.match(c.modulo)){this.state.inType=e;s=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(c.modulo)){s=this.flowParsePredicate()}}return[t,s]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const s=this.startNode();const r=this.startNode();if(this.isRelational("<")){s.typeParameters=this.flowParseTypeParameterDeclaration()}else{s.typeParameters=null}this.expect(c.parenL);const i=this.flowParseFunctionTypeParams();s.params=i.params;s.rest=i.rest;s.this=i._this;this.expect(c.parenR);[s.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser();r.typeAnnotation=this.finishNode(s,"FunctionTypeAnnotation");t.typeAnnotation=this.finishNode(r,"TypeAnnotation");this.resetEndLocation(t);this.semicolon();this.scope.declareName(e.id.name,ce,e.id.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(c._class)){return this.flowParseDeclareClass(e)}else if(this.match(c._function)){return this.flowParseDeclareFunction(e)}else if(this.match(c._var)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual("module")){if(this.match(c.dot)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(this.state.lastTokStart,ve.NestedDeclareModule)}return this.flowParseDeclareModule(e)}}else if(this.isContextual("type")){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual("opaque")){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual("interface")){return this.flowParseDeclareInterface(e)}else if(this.match(c._export)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,Z,e.id.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(j);if(this.match(c.string)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const s=t.body=[];this.expect(c.braceL);while(!this.match(c.braceR)){let e=this.startNode();if(this.match(c._import)){this.next();if(!this.isContextual("type")&&!this.match(c._typeof)){this.raise(this.state.lastTokStart,ve.InvalidNonTypeImportInDeclareModule)}this.parseImport(e)}else{this.expectContextual("declare",ve.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}s.push(e)}this.scope.exit();this.expect(c.braceR);this.finishNode(t,"BlockStatement");let r=null;let i=false;s.forEach(e=>{if(isEsModuleType(e)){if(r==="CommonJS"){this.raise(e.start,ve.AmbiguousDeclareModuleKind)}r="ES"}else if(e.type==="DeclareModuleExports"){if(i){this.raise(e.start,ve.DuplicateDeclareModuleExports)}if(r==="ES"){this.raise(e.start,ve.AmbiguousDeclareModuleKind)}r="CommonJS";i=true}});e.kind=r||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(c._export);if(this.eat(c._default)){if(this.match(c._function)||this.match(c._class)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(c._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value;const t=we[e];throw this.raise(this.state.start,ve.UnsupportedDeclareExportKind,e,t)}if(this.match(c._var)||this.match(c._function)||this.match(c._class)||this.isContextual("opaque")){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(c.star)||this.match(c.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque")){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual("exports");e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?ee:Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(c._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(c.comma))}if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(c.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(c.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(this.state.start,ve.UnexpectedReservedUnderscore)}}checkReservedType(e,t,s){if(!xe.has(e))return;this.raise(t,s?ve.AssignReservedType:ve.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.start,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(c.eq);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual("type");e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,Q,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(c.colon)){e.supertype=this.flowParseTypeInitialiser(c.colon)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(c.eq)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.start;const s=this.startNode();const r=this.flowParseVariance();const i=this.flowParseTypeAnnotatableIdentifier();s.name=i.name;s.variance=r;s.bound=i.typeAnnotation;if(this.match(c.eq)){this.eat(c.eq);s.default=this.flowParseType()}else{if(e){this.raise(t,ve.MissingTypeParamDefault)}}return this.finishNode(s,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.isRelational("<")||this.match(c.jsxTagStart)){this.next()}else{this.unexpected()}let s=false;do{const e=this.flowParseTypeParameter(s);t.params.push(e);if(e.default){s=true}if(!this.isRelational(">")){this.expect(c.comma)}}while(!this.isRelational(">"));this.expectRelational(">");this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");const s=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.isRelational(">")){e.params.push(this.flowParseType());if(!this.isRelational(">")){this.expect(c.comma)}}this.state.noAnonFunctionType=s;this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");while(!this.isRelational(">")){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.isRelational(">")){this.expect(c.comma)}}this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual("interface");e.extends=[];if(this.eat(c._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(c.comma))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(c.num)||this.match(c.string)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,s){e.static=t;if(this.lookahead().type===c.colon){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(c.bracketR);e.value=this.flowParseTypeInitialiser();e.variance=s;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(c.bracketR);this.expect(c.bracketR);if(this.isRelational("<")||this.match(c.parenL)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(c.question)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(c.parenL);if(this.match(c._this)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(c.parenR)){this.expect(c.comma)}}while(!this.match(c.parenR)&&!this.match(c.ellipsis)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(c.parenR)){this.expect(c.comma)}}if(this.eat(c.ellipsis)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(c.parenR);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const s=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(s);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:s,allowProto:r,allowInexact:i}){const n=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let p=false;if(t&&this.match(c.braceBarL)){this.expect(c.braceBarL);o=c.braceBarR;l=true}else{this.expect(c.braceL);o=c.braceR;l=false}a.exact=l;while(!this.match(o)){let t=false;let n=null;let o=null;const u=this.startNode();if(r&&this.isContextual("proto")){const t=this.lookahead();if(t.type!==c.colon&&t.type!==c.question){this.next();n=this.state.start;e=false}}if(e&&this.isContextual("static")){const e=this.lookahead();if(e.type!==c.colon&&e.type!==c.question){this.next();t=true}}const h=this.flowParseVariance();if(this.eat(c.bracketL)){if(n!=null){this.unexpected(n)}if(this.eat(c.bracketL)){if(h){this.unexpected(h.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(u,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(u,t,h))}}else if(this.match(c.parenL)||this.isRelational("<")){if(n!=null){this.unexpected(n)}if(h){this.unexpected(h.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(u,t))}else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();if(t.type===c.name||t.type===c.string||t.type===c.num){e=this.state.value;this.next()}}const r=this.flowParseObjectTypeProperty(u,t,n,h,e,s,i!=null?i:!l);if(r===null){p=true;o=this.state.lastTokStart}else{a.properties.push(r)}}this.flowObjectTypeSemicolon();if(o&&!this.match(c.braceR)&&!this.match(c.braceBarR)){this.raise(o,ve.UnexpectedExplicitInexactInObject)}}this.expect(o);if(s){a.inexact=p}const u=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=n;return u}flowParseObjectTypeProperty(e,t,s,r,i,n,a){if(this.eat(c.ellipsis)){const t=this.match(c.comma)||this.match(c.semi)||this.match(c.braceR)||this.match(c.braceBarR);if(t){if(!n){this.raise(this.state.lastTokStart,ve.InexactInsideNonObject)}else if(!a){this.raise(this.state.lastTokStart,ve.InexactInsideExact)}if(r){this.raise(r.start,ve.InexactVariance)}return null}if(!n){this.raise(this.state.lastTokStart,ve.UnexpectedSpreadType)}if(s!=null){this.unexpected(s)}if(r){this.raise(r.start,ve.SpreadVariance)}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=s!=null;e.kind=i;let a=false;if(this.isRelational("<")||this.match(c.parenL)){e.method=true;if(s!=null){this.unexpected(s)}if(r){this.unexpected(r.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(i==="get"||i==="set"){this.flowCheckGetterSetterParams(e)}if(!n&&e.key.name==="constructor"&&e.value.this){this.raise(e.value.this.start,ve.ThisParamBannedInConstructor)}}else{if(i!=="init")this.unexpected();e.method=false;if(this.eat(c.question)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=r}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const s=e.start;const r=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.value.this.start,e.kind==="get"?ve.GetterMayNotHaveThisParam:ve.SetterMayNotHaveThisParam)}if(r!==t){if(e.kind==="get"){this.raise(s,d.BadGetterArity)}else{this.raise(s,d.BadSetterArity)}}if(e.kind==="set"&&e.value.rest){this.raise(s,d.BadSetterRestParameter)}}flowObjectTypeSemicolon(){if(!this.eat(c.semi)&&!this.eat(c.comma)&&!this.match(c.braceR)&&!this.match(c.braceBarR)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,s){e=e||this.state.start;t=t||this.state.startLoc;let r=s||this.flowParseRestrictedIdentifier(true);while(this.eat(c.dot)){const s=this.startNodeAt(e,t);s.qualification=r;s.id=this.flowParseRestrictedIdentifier(true);r=this.finishNode(s,"QualifiedTypeIdentifier")}return r}flowParseGenericType(e,t,s){const r=this.startNodeAt(e,t);r.typeParameters=null;r.id=this.flowParseQualifiedTypeIdentifier(e,t,s);if(this.isRelational("<")){r.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(r,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(c._typeof);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(c.bracketL);while(this.state.possuper.parseFunctionBody(e,true,s))}return super.parseFunctionBody(e,false,s)}parseFunctionBodyAndFinish(e,t,s=false){if(this.match(c.colon)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(e,t,s)}parseStatement(e,t){if(this.state.strict&&this.match(c.name)&&this.state.value==="interface"){const e=this.lookahead();if(e.type===c.name||isKeyword(e.value)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const s=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(s)){this.flowPragma=null}return s}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(c._class)||this.match(c.name)||this.match(c._function)||this.match(c._var)||this.match(c._export)){return this.flowParseDeclare(e)}}else if(this.match(c.name)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){if(this.match(c.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"||this.shouldParseEnums()&&this.state.value==="enum")){return false}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,s,r){if(!this.match(c.question))return e;if(r){const i=this.tryParse(()=>super.parseConditional(e,t,s));if(!i.node){r.start=i.error.pos||this.state.start;return e}if(i.error)this.state=i.failState;return i.node}this.expect(c.question);const i=this.state.clone();const n=this.state.noArrowAt;const a=this.startNodeAt(t,s);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[p,u]=this.getArrowLikeExpressions(o);if(l||u.length>0){const e=[...n];if(u.length>0){this.state=i;this.state.noArrowAt=e;for(let t=0;t1){this.raise(i.start,ve.AmbiguousConditionalArrow)}if(l&&p.length===1){this.state=i;this.state.noArrowAt=e.concat(p[0].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=n;this.expect(c.colon);a.test=e;a.consequent=o;a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(undefined,undefined,undefined));return this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(c.colon);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const s=[e];const r=[];while(s.length!==0){const e=s.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{r.push(e)}s.push(e.body)}else if(e.type==="ConditionalExpression"){s.push(e.consequent);s.push(e.alternate)}}if(t){r.forEach(e=>this.finishArrowValidation(e));return[r,[]]}return partition(r,e=>e.params.every(e=>this.isAssignable(e,true)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingComma,false);this.scope.enter(S|_);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let s;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);s=t();this.state.noArrowParamsConversionAt.pop()}else{s=t()}return s}parseParenItem(e,t,s){e=super.parseParenItem(e,t,s);if(this.eat(c.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(c.colon)){const r=this.startNodeAt(t,s);r.expression=e;r.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(r,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();this.next();if(this.match(c.braceL)){e.specifiers=this.parseExportSpecifiers();this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual("enum")){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual("type")&&this.lookahead().type===c.star){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const t=this.state.start;const s=super.maybeParseExportNamespaceSpecifier(e);if(s&&e.exportKind==="type"){this.unexpected(t)}return s}parseClassId(e,t,s){super.parseClassId(e,t,s);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}}parseClassMember(e,t,s){const r=this.state.start;if(this.isContextual("declare")){if(this.parseClassMemberFromModifier(e,t)){return}t.declare=true}super.parseClassMember(e,t,s);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(r,ve.DeclareClassElement)}else if(t.value){this.raise(t.value.start,ve.DeclareClassFieldInitializer)}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(this.state.pos,d.InvalidIdentifier,t)}this.finishToken(c.name,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(c.braceBarL,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(c.relational,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(c.questionDot,2)}return this.finishOp(c.question,1)}else if(isIteratorStart(e,t)){this.state.pos+=2;return this.readIterator()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":return true;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every((e,s)=>{return e.type!=="ObjectMethod"&&(s===t||e.type==="SpreadElement")&&this.isAssignable(e)})}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every(e=>this.isAssignable(e));case"AssignmentExpression":return e.operator==="=";case"ParenthesizedExpression":case"TypeCastExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return false}}toAssignable(e,t=false){if(e.type==="TypeCastExpression"){return super.toAssignable(this.typeCastToParameter(e),t)}else{return super.toAssignable(e,t)}}toAssignableList(e,t,s){for(let t=0;t1||!t)){this.raise(i.typeAnnotation.start,ve.TypeCastInPattern)}}return e}parseArrayLike(e,t,s,r){const i=super.parseArrayLike(e,t,s,r);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(i.elements)}return i}checkLVal(e,...t){if(e.type!=="TypeCastExpression"){return super.checkLVal(e,...t)}}parseClassProperty(e){if(this.match(c.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(c.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(c.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(c.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,s,r,i,n){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,s,r,i,n);if(t.params&&i){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,ve.ThisParamBannedInConstructor)}}else if(t.type==="MethodDefinition"&&i&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,ve.ThisParamBannedInConstructor)}}}pushClassPrivateMethod(e,t,s,r){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,s,r)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(c.comma))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const s=t[0];if(this.isThisParam(s)&&e.kind==="get"){this.raise(s.start,ve.GetterMayNotHaveThisParam)}else if(this.isThisParam(s)){this.raise(s.start,ve.SetterMayNotHaveThisParam)}}}parsePropertyName(e,t){const s=this.flowParseVariance();const r=super.parsePropertyName(e,t);e.variance=s;return r}parseObjPropValue(e,t,s,r,i,n,a,o){if(e.variance){this.unexpected(e.variance.start)}delete e.variance;let l;if(this.isRelational("<")&&!a){l=this.flowParseTypeParameterDeclaration();if(!this.match(c.parenL))this.unexpected()}super.parseObjPropValue(e,t,s,r,i,n,a,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(c.question)){if(e.type!=="Identifier"){this.raise(e.start,ve.OptionalBindingPattern)}if(this.isThisParam(e)){this.raise(e.start,ve.ThisParamMayNotBeOptional)}e.optional=true}if(this.match(c.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(e.start,ve.ThisParamAnnotationRequired)}if(this.match(c.eq)&&this.isThisParam(e)){this.raise(e.start,ve.ThisParamNoDefault)}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,s){const r=super.parseMaybeDefault(e,t,s);if(r.type==="AssignmentPattern"&&r.typeAnnotation&&r.right.startsuper.parseMaybeAssign(e,t,s),i);if(!n.error)return n.node;const{context:r}=this.state;if(r[r.length-1]===g.j_oTag){r.length-=2}else if(r[r.length-1]===g.j_expr){r.length-=1}}if((r=n)!=null&&r.error||this.isRelational("<")){var a,o;i=i||this.state.clone();let r;const l=this.tryParse(i=>{var n;r=this.flowParseTypeParameterDeclaration();const a=this.forwardNoArrowParamsConversionAt(r,()=>{const i=super.parseMaybeAssign(e,t,s);this.resetStartLocationFromNode(i,r);return i});if(a.type!=="ArrowFunctionExpression"&&(n=a.extra)!=null&&n.parenthesized){i()}const o=this.maybeUnwrapTypeCastExpression(a);o.typeParameters=r;this.resetStartLocationFromNode(o,r);return a},i);let c=null;if(l.node&&this.maybeUnwrapTypeCastExpression(l.node).type==="ArrowFunctionExpression"){if(!l.error&&!l.aborted){if(l.node.async){this.raise(r.start,ve.UnexpectedTypeParameterBeforeAsyncArrowFunction)}return l.node}c=l.node}if((a=n)!=null&&a.node){this.state=n.failState;return n.node}if(c){this.state=l.failState;return c}if((o=n)!=null&&o.thrown)throw n.error;if(l.thrown)throw l.error;throw this.raise(r.start,ve.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t,s)}parseArrow(e){if(this.match(c.colon)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const s=this.startNode();[s.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(c.arrow))this.unexpected();return s});if(t.thrown)return null;if(t.error)this.state=t.failState;e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(){return this.match(c.colon)||super.shouldParseArrow()}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,s){if(s&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t0){this.raise(e.params[t].start,ve.ThisParamMustBeFirst)}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,s,r){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const r=this.startNodeAt(t,s);r.callee=e;r.arguments=this.parseCallExpressionArguments(c.parenR,false);e=this.finishNode(r,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.isRelational("<")){const i=this.state.clone();const n=this.tryParse(e=>this.parseAsyncArrowWithTypeParameters(t,s)||e(),i);if(!n.error&&!n.aborted)return n.node;const a=this.tryParse(()=>super.parseSubscripts(e,t,s,r),i);if(a.node&&!a.error)return a.node;if(n.node){this.state=n.failState;return n.node}if(a.node){this.state=a.failState;return a.node}throw n.error||a.error}return super.parseSubscripts(e,t,s,r)}parseSubscript(e,t,s,r,i){if(this.match(c.questionDot)&&this.isLookaheadToken_lt()){i.optionalChainMember=true;if(r){i.stop=true;return e}this.next();const n=this.startNodeAt(t,s);n.callee=e;n.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(c.parenL);n.arguments=this.parseCallExpressionArguments(c.parenR,false);n.optional=true;return this.finishCallExpression(n,true)}else if(!r&&this.shouldParseTypes()&&this.isRelational("<")){const r=this.startNodeAt(t,s);r.callee=e;const n=this.tryParse(()=>{r.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew();this.expect(c.parenL);r.arguments=this.parseCallExpressionArguments(c.parenR,false);if(i.optionalChainMember)r.optional=false;return this.finishCallExpression(r,i.optionalChainMember)});if(n.node){if(n.error)this.state=n.failState;return n.node}}return super.parseSubscript(e,t,s,r,i)}parseNewArguments(e){let t=null;if(this.shouldParseTypes()&&this.isRelational("<")){t=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node}e.typeArguments=t;super.parseNewArguments(e)}parseAsyncArrowWithTypeParameters(e,t){const s=this.startNodeAt(e,t);this.parseFunctionParams(s);if(!this.parseArrow(s))return;return this.parseArrowExpression(s,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(c.braceBarR,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const s=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(this.state.pos,ve.UnterminatedFlowComment)}return s}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){this.unexpected(null,ve.NestedFlowComment)}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1){throw this.raise(this.state.pos-2,d.UnterminatedComment)}this.state.pos=e+3;return}super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const s=this.input.charCodeAt(t+e);const r=this.input.charCodeAt(t+e+1);if(s===58&&r===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(s===58&&r!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(this.state.pos,d.UnterminatedComment)}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:s}){this.raise(e,ve.EnumBooleanMemberNotInitialized,s,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:s}){const r=s[0].toUpperCase()+s.slice(1);this.raise(e,ve.EnumInvalidMemberName,s,r,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:s}){this.raise(e,ve.EnumDuplicateMemberName,s,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,ve.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:s}){return this.raise(e,s===null?ve.EnumInvalidExplicitTypeUnknownSupplied:ve.EnumInvalidExplicitType,t,s)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:s,memberName:r}){let i=null;switch(s){case"boolean":case"number":case"string":i=ve.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":i=ve.EnumInvalidMemberInitializerSymbolType;break;default:i=ve.EnumInvalidMemberInitializerUnknownType}return this.raise(e,i,t,r,s)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:s}){this.raise(e,ve.EnumNumberMemberNotInitialized,t,s)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,ve.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start;const t=()=>this.match(c.comma)||this.match(c.braceR);switch(this.state.type){case c.num:{const s=this.parseNumericLiteral(this.state.value);if(t()){return{type:"number",pos:s.start,value:s}}return{type:"invalid",pos:e}}case c.string:{const s=this.parseStringLiteral(this.state.value);if(t()){return{type:"string",pos:s.start,value:s}}return{type:"invalid",pos:e}}case c._true:case c._false:{const s=this.parseBooleanLiteral(this.match(c._true));if(t()){return{type:"boolean",pos:s.start,value:s}}return{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;const t=this.parseIdentifier(true);const s=this.eat(c.eq)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:s}}flowEnumCheckExplicitTypeMismatch(e,t,s){const{explicitType:r}=t;if(r===null){return}if(r!==s){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const s=new Set;const r={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let i=false;while(!this.match(c.braceR)){if(this.eat(c.ellipsis)){i=true;break}const n=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.flowEnumErrorInvalidMemberName(a.start,{enumName:e,memberName:l})}if(s.has(l)){this.flowEnumErrorDuplicateMemberName(a.start,{enumName:e,memberName:l})}s.add(l);const p={enumName:e,explicitType:t,memberName:l};n.id=a;switch(o.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"boolean");n.init=o.value;r.booleanMembers.push(this.finishNode(n,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"number");n.init=o.value;r.numberMembers.push(this.finishNode(n,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"string");n.init=o.value;r.stringMembers.push(this.finishNode(n,"EnumStringMember"));break}case"invalid":{throw this.flowEnumErrorInvalidMemberInitializer(o.pos,p)}case"none":{switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.pos,p);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.pos,p);break;default:r.defaultedMembers.push(this.finishNode(n,"EnumDefaultedMember"))}}}if(!this.match(c.braceR)){this.expect(c.comma)}}return{members:r,hasUnknownMembers:i}}flowEnumStringMembers(e,t,{enumName:s}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:s})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:s})}return e}}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual("of")){if(!this.match(c.name)){throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t})}return t}return null}flowEnumBody(e,{enumName:t,nameLoc:s}){const r=this.flowEnumParseExplicitType({enumName:t});this.expect(c.braceL);const{members:i,hasUnknownMembers:n}=this.flowEnumMembers({enumName:t,explicitType:r});e.hasUnknownMembers=n;switch(r){case"boolean":e.explicitType=true;e.members=i.booleanMembers;this.expect(c.braceR);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=i.numberMembers;this.expect(c.braceR);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(c.braceR);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=i.defaultedMembers;this.expect(c.braceR);return this.finishNode(e,"EnumSymbolBody");default:{const r=()=>{e.members=[];this.expect(c.braceR);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const n=i.booleanMembers.length;const a=i.numberMembers.length;const o=i.stringMembers.length;const l=i.defaultedMembers.length;if(!n&&!a&&!o&&!l){return r()}else if(!n&&!a){e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(c.braceR);return this.finishNode(e,"EnumStringBody")}else if(!a&&!o&&n>=l){for(const e of i.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.booleanMembers;this.expect(c.braceR);return this.finishNode(e,"EnumBooleanBody")}else if(!n&&!o&&a>=l){for(const e of i.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.numberMembers;this.expect(c.braceR);return this.finishNode(e,"EnumNumberBody")}else{this.flowEnumErrorInconsistentMemberValues(s,{enumName:t});return r()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start});return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}});const Ae={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"};class State{constructor(){this.strict=void 0;this.curLine=void 0;this.startLoc=void 0;this.endLoc=void 0;this.errors=[];this.potentialArrowAt=-1;this.noArrowAt=[];this.noArrowParamsConversionAt=[];this.maybeInArrowParameters=false;this.inPipeline=false;this.inType=false;this.noAnonFunctionType=false;this.inPropertyName=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.decoratorStack=[[]];this.comments=[];this.trailingComments=[];this.leadingComments=[];this.commentStack=[];this.commentPreviousNode=null;this.pos=0;this.lineStart=0;this.type=c.eof;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.lastTokEnd=0;this.context=[g.brace];this.exprAllowed=true;this.containsEsc=false;this.strictErrors=new Map;this.tokensLength=0}init(e){this.strict=e.strictMode===false?false:e.sourceType==="module";this.curLine=e.startLine;this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new Position(this.curLine,this.pos-this.lineStart)}clone(e){const t=new State;const s=Object.keys(this);for(let r=0,i=s.length;r.",MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"},f.SyntaxError);g.j_oTag=new TokContext("...",true);c.jsxName=new TokenType("jsxName");c.jsxText=new TokenType("jsxText",{beforeExpr:true});c.jsxTagStart=new TokenType("jsxTagStart",{startsExpr:true});c.jsxTagEnd=new TokenType("jsxTagEnd");c.jsxTagStart.updateContext=(e=>{e.push(g.j_expr);e.push(g.j_oTag)});function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var Ie=e=>(class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,ke.UnterminatedJsxContent)}const s=this.input.charCodeAt(this.state.pos);switch(s){case 60:case 123:if(this.state.pos===this.state.start){if(s===60&&this.state.exprAllowed){++this.state.pos;return this.finishToken(c.jsxTagStart)}return super.getTokenFromCode(s)}e+=this.input.slice(t,this.state.pos);return this.finishToken(c.jsxText,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(s)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let s;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;s=e?"\n":"\r\n"}else{s=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return s}jsxReadString(e){let t="";let s=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,d.UnterminatedString)}const r=this.input.charCodeAt(this.state.pos);if(r===e)break;if(r===38){t+=this.input.slice(s,this.state.pos);t+=this.jsxReadEntity();s=this.state.pos}else if(isNewLine(r)){t+=this.input.slice(s,this.state.pos);t+=this.jsxReadNewLine(false);s=this.state.pos}else{++this.state.pos}}t+=this.input.slice(s,this.state.pos++);return this.finishToken(c.string,t)}jsxReadEntity(){let e="";let t=0;let s;let r=this.input[this.state.pos];const i=++this.state.pos;while(this.state.pos0}get hasYield(){return(this.currentFlags()&Oe)>0}get hasReturn(){return(this.currentFlags()&_e)>0}get hasIn(){return(this.currentFlags()&Re)>0}}function functionFlags(e,t){return(e?Se:0)|(t?Oe:0)}function nonNull(e){if(e==null){throw new Error(`Unexpected ${e} value.`)}return e}function assert(e){if(!e){throw new Error("Assert fail")}}const De=makeErrorTemplates({AbstractMethodHasImplementation:"Method '%0' cannot have an implementation because it is marked abstract.",AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:"'declare' is not allowed in %0ters.",DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:"Accessibility modifier already seen.",DuplicateModifier:"Duplicate modifier: '%0'.",EmptyHeritageClauseType:"'%0' list cannot be empty.",EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",IncompatibleModifiers:"'%0' modifier cannot be used with '%1' modifier.",IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:"Index signatures cannot have an accessibility modifier ('%0').",IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InvalidModifierOnTypeMember:"'%0' modifier cannot appear on a type member.",InvalidModifiersOrder:"'%0' modifier must precede '%1' modifier.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:"Private elements cannot have an accessibility modifier ('%0').",ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got %0."},f.SyntaxError);function keywordTypeFromName(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return undefined}}function tsIsAccessModifier(e){return e==="private"||e==="public"||e==="protected"}var Ne=e=>(class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return this.match(c.name)}tsTokenCanFollowModifier(){return(this.match(c.bracketL)||this.match(c.braceL)||this.match(c.star)||this.match(c.ellipsis)||this.match(c.privateName)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e){if(!this.match(c.name)){return undefined}const t=this.state.value;if(e.indexOf(t)!==-1&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return t}return undefined}tsParseModifiers(e,t,s,r){const i=(t,s,r,i)=>{if(s===r&&e[i]){this.raise(t,De.InvalidModifiersOrder,r,i)}};const n=(t,s,r,i)=>{if(e[r]&&s===i||e[i]&&s===r){this.raise(t,De.IncompatibleModifiers,r,i)}};for(;;){const a=this.state.start;const o=this.tsParseModifier(t.concat(s!=null?s:[]));if(!o)break;if(tsIsAccessModifier(o)){if(e.accessibility){this.raise(a,De.DuplicateAccessibilityModifier)}else{i(a,o,o,"override");i(a,o,o,"static");i(a,o,o,"readonly");e.accessibility=o}}else{if(Object.hasOwnProperty.call(e,o)){this.raise(a,De.DuplicateModifier,o)}else{i(a,o,"static","readonly");i(a,o,"static","override");i(a,o,"override","readonly");i(a,o,"abstract","override");n(a,o,"declare","override");n(a,o,"static","abstract")}e[o]=true}if(s!=null&&s.includes(o)){this.raise(a,r,o)}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(c.braceR);case"HeritageClauseElement":return this.match(c.braceL);case"TupleElementTypes":return this.match(c.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const s=[];while(!this.tsIsListTerminator(e)){s.push(t())}return s}tsParseDelimitedList(e,t){return nonNull(this.tsParseDelimitedListWorker(e,t,true))}tsParseDelimitedListWorker(e,t,s){const r=[];for(;;){if(this.tsIsListTerminator(e)){break}const i=t();if(i==null){return undefined}r.push(i);if(this.eat(c.comma)){continue}if(this.tsIsListTerminator(e)){break}if(s){this.expect(c.comma)}return undefined}return r}tsParseBracketedList(e,t,s,r){if(!r){if(s){this.expect(c.bracketL)}else{this.expectRelational("<")}}const i=this.tsParseDelimitedList(e,t);if(s){this.expect(c.bracketR)}else{this.expectRelational(">")}return i}tsParseImportType(){const e=this.startNode();this.expect(c._import);this.expect(c.parenL);if(!this.match(c.string)){this.raise(this.state.start,De.UnsupportedImportTypeArgument)}e.argument=this.parseExprAtom();this.expect(c.parenR);if(this.eat(c.dot)){e.qualifier=this.tsParseEntityName(true)}if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();while(this.eat(c.dot)){const s=this.startNodeAtNode(t);s.left=t;s.right=this.parseIdentifier(e);t=this.finishNode(s,"TSQualifiedName")}return t}tsParseTypeReference(){const e=this.startNode();e.typeName=this.tsParseEntityName(false);if(!this.hasPrecedingLineBreak()&&this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(c._typeof);if(this.match(c._import)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName(true)}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsEatThenParseType(c._extends);e.default=this.tsEatThenParseType(c.eq);return this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<")){return this.tsParseTypeParameters()}}tsParseTypeParameters(){const e=this.startNode();if(this.isRelational("<")||this.match(c.jsxTagStart)){this.next()}else{this.unexpected()}e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),false,true);if(e.params.length===0){this.raise(e.start,De.EmptyTypeParameters)}return this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type===c._const){this.next();return this.tsParseTypeReference()}return null}tsFillSignature(e,t){const s=e===c.arrow;t.typeParameters=this.tsTryParseTypeParameters();this.expect(c.parenL);t.parameters=this.tsParseBindingListForSignature();if(s){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(c.parenR,41).map(e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(e.start,De.UnsupportedSignatureParameterKind,e.type)}return e})}tsParseTypeMemberSemicolon(){if(!this.eat(c.comma)&&!this.isLineTerminator()){this.expect(c.semi)}}tsParseSignatureMember(e,t){this.tsFillSignature(c.colon,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();return this.eat(c.name)&&this.match(c.colon)}tsTryParseIndexSignature(e){if(!(this.match(c.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(c.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(c.bracketR);e.parameters=[t];const s=this.tsTryParseTypeAnnotation();if(s)e.typeAnnotation=s;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(c.question))e.optional=true;const s=e;if(this.match(c.parenL)||this.isRelational("<")){if(t){this.raise(e.start,De.ReadonlyForMethodSignature)}const r=s;if(r.kind&&this.isRelational("<")){this.raise(this.state.pos,De.AccesorCannotHaveTypeParameters)}this.tsFillSignature(c.colon,r);this.tsParseTypeMemberSemicolon();if(r.kind==="get"){if(r.parameters.length>0){this.raise(this.state.pos,d.BadGetterArity);if(this.isThisParam(r.parameters[0])){this.raise(this.state.pos,De.AccesorCannotDeclareThisParameter)}}}else if(r.kind==="set"){if(r.parameters.length!==1){this.raise(this.state.pos,d.BadSetterArity)}else{const e=r.parameters[0];if(this.isThisParam(e)){this.raise(this.state.pos,De.AccesorCannotDeclareThisParameter)}if(e.type==="Identifier"&&e.optional){this.raise(this.state.pos,De.SetAccesorCannotHaveOptionalParameter)}if(e.type==="RestElement"){this.raise(this.state.pos,De.SetAccesorCannotHaveRestParameter)}}if(r.typeAnnotation){this.raise(r.typeAnnotation.start,De.SetAccesorCannotHaveReturnType)}}else{r.kind="method"}return this.finishNode(r,"TSMethodSignature")}else{const e=s;if(t)e.readonly=true;const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(c.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(c._new)){const t=this.startNode();this.next();if(this.match(c.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],De.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e,false);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;this.parsePropertyName(e,false)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(c.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(c.braceR);return e}tsIsStartOfMappedType(){this.next();if(this.eat(c.plusMin)){return this.isContextual("readonly")}if(this.isContextual("readonly")){this.next()}if(!this.match(c.bracketL)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(c._in)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsExpectThenParseType(c._in);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(c.braceL);if(this.match(c.plusMin)){e.readonly=this.state.value;this.next();this.expectContextual("readonly")}else if(this.eatContextual("readonly")){e.readonly=true}this.expect(c.bracketL);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual("as")?this.tsParseType():null;this.expect(c.bracketR);if(this.match(c.plusMin)){e.optional=this.state.value;this.next();this.expect(c.question)}else if(this.eat(c.question)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(c.braceR);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let s=null;e.elementTypes.forEach(e=>{var r;let{type:i}=e;if(t&&i!=="TSRestType"&&i!=="TSOptionalType"&&!(i==="TSNamedTupleMember"&&e.optional)){this.raise(e.start,De.OptionalTypeBeforeRequired)}t=t||i==="TSNamedTupleMember"&&e.optional||i==="TSOptionalType";if(i==="TSRestType"){e=e.typeAnnotation;i=e.type}const n=i==="TSNamedTupleMember";s=(r=s)!=null?r:n;if(s!==n){this.raise(e.start,De.MixedLabeledAndUnlabeledElements)}});return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const s=this.eat(c.ellipsis);let r=this.tsParseType();const i=this.eat(c.question);const n=this.eat(c.colon);if(n){const e=this.startNodeAtNode(r);e.optional=i;if(r.type==="TSTypeReference"&&!r.typeParameters&&r.typeName.type==="Identifier"){e.label=r.typeName}else{this.raise(r.start,De.InvalidTupleMemberLabel);e.label=r}e.elementType=this.tsParseType();r=this.finishNode(e,"TSNamedTupleMember")}else if(i){const e=this.startNodeAtNode(r);e.typeAnnotation=r;r=this.finishNode(e,"TSOptionalType")}if(s){const s=this.startNodeAt(e,t);s.typeAnnotation=r;r=this.finishNode(s,"TSRestType")}return r}tsParseParenthesizedType(){const e=this.startNode();this.expect(c.parenL);e.typeAnnotation=this.tsParseType();this.expect(c.parenR);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const s=this.startNode();if(e==="TSConstructorType"){s.abstract=!!t;if(t)this.next();this.next()}this.tsFillSignature(c.arrow,s);return this.finishNode(s,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case c.num:case c.bigint:case c.string:case c._true:case c._false:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case c.name:case c._void:case c._null:{const e=this.match(c._void)?"TSVoidKeyword":this.match(c._null)?"TSNullKeyword":keywordTypeFromName(this.state.value);if(e!==undefined&&this.lookaheadCharCode()!==46){const t=this.startNode();this.next();return this.finishNode(t,e)}return this.tsParseTypeReference()}case c.string:case c.num:case c.bigint:case c._true:case c._false:return this.tsParseLiteralTypeNode();case c.plusMin:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==c.num&&t.type!==c.bigint){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case c._this:return this.tsParseThisTypeOrThisTypePredicate();case c._typeof:return this.tsParseTypeQuery();case c._import:return this.tsParseImportType();case c.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case c.bracketL:return this.tsParseTupleType();case c.parenL:return this.tsParseParenthesizedType();case c.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(c.bracketL)){if(this.match(c.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(c.bracketR);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(c.bracketR);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(e){const t=this.startNode();this.expectContextual(e);t.operator=e;t.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(e==="readonly"){this.tsCheckTypeAnnotationForReadOnly(t)}return this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,De.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();t.name=this.parseIdentifierName(t.start);e.typeParameter=this.finishNode(t,"TSTypeParameter");return this.finishNode(e,"TSInferType")}tsParseTypeOperatorOrHigher(){const e=["keyof","unique","readonly"].find(e=>this.isContextual(e));return e?this.tsParseTypeOperator(e):this.isContextual("infer")?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}tsParseUnionOrIntersectionType(e,t,s){const r=this.startNode();const i=this.eat(s);const n=[];do{n.push(t())}while(this.eat(s));if(n.length===1&&!i){return n[0]}r.types=n;return this.finishNode(r,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),c.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),c.bitwiseOR)}tsIsStartOfFunctionType(){if(this.isRelational("<")){return true}return this.match(c.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(c.name)||this.match(c._this)){this.next();return true}if(this.match(c.braceL)){let e=1;this.next();while(e>0){if(this.match(c.braceL)){++e}else if(this.match(c.braceR)){--e}this.next()}return true}if(this.match(c.bracketL)){let e=1;this.next();while(e>0){if(this.match(c.bracketL)){++e}else if(this.match(c.bracketR)){--e}this.next()}return true}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(c.parenR)||this.match(c.ellipsis)){return true}if(this.tsSkipParameterStart()){if(this.match(c.colon)||this.match(c.comma)||this.match(c.question)||this.match(c.eq)){return true}if(this.match(c.parenR)){this.next();if(this.match(c.arrow)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const s=this.startNode();const r=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(r&&this.match(c._this)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){s.parameterName=e;s.asserts=true;s.typeAnnotation=null;e=this.finishNode(s,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,s);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i){if(!r){return this.tsParseTypeAnnotation(false,t)}s.parameterName=this.parseIdentifier();s.asserts=r;s.typeAnnotation=null;t.typeAnnotation=this.finishNode(s,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const n=this.tsParseTypeAnnotation(false);s.parameterName=i;s.typeAnnotation=n;s.asserts=r;t.typeAnnotation=this.finishNode(s,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(c.colon)?this.tsParseTypeOrTypePredicateAnnotation(c.colon):undefined}tsTryParseTypeAnnotation(){return this.match(c.colon)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(c.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(!this.match(c.name)||this.state.value!=="asserts"||this.hasPrecedingLineBreak()){return false}const e=this.state.containsEsc;this.next();if(!this.match(c.name)&&!this.match(c._this)){return false}if(e){this.raise(this.state.lastTokStart,d.InvalidEscapedReservedWord,"asserts")}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType(()=>{if(e)this.expect(c.colon);t.typeAnnotation=this.tsParseType()});return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(c._extends)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsParseNonConditionalType();this.expect(c.question);t.trueType=this.tsParseType();this.expect(c.colon);t.falseType=this.tsParseType();return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual("abstract")&&this.lookahead().type===c._new}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(c._new)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expectRelational(">");e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start;const s=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));if(!s.length){this.raise(t,De.EmptyHeritageClauseType,e)}return s}tsParseExpressionWithTypeArguments(){const e=this.startNode();e.expression=this.tsParseEntityName(false);if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript interface declaration",te);e.typeParameters=this.tsTryParseTypeParameters();if(this.eat(c._extends)){e.extends=this.tsParseHeritageClause("extends")}const t=this.startNode();t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(t,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript type alias",se);e.typeParameters=this.tsTryParseTypeParameters();e.typeAnnotation=this.tsInType(()=>{this.expect(c.eq);if(this.isContextual("intrinsic")&&this.lookahead().type!==c.dot){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()});this.semicolon();return this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){const t=this.state.inType;this.state.inType=true;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>{e();return this.tsParseType()})}tsParseEnumMember(){const e=this.startNode();e.id=this.match(c.string)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(c.eq)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){if(t)e.const=true;e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript enum declaration",t?oe:re);this.expect(c.braceL);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(c.braceR);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(j);this.expect(c.braceL);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,c.braceR);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkLVal(e.id,"module or namespace declaration",le)}if(this.eat(c.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(L);this.prodParam.enter(je);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual("global")){e.global=true;e.id=this.parseIdentifier()}else if(this.match(c.string)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(c.braceL)){this.scope.enter(L);this.prodParam.enter(je);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkLVal(e.id,"import equals declaration",Q);this.expect(c.eq);const s=this.tsParseModuleReference();if(e.importKind==="type"&&s.type!=="TSExternalModuleReference"){this.raise(s.start,De.ImportAliasHasImportType)}e.moduleReference=s;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual("require");this.expect(c.parenL);if(!this.match(c.string)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(c.parenR);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const s=e();this.state=t;return s}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const s=e();if(s!==undefined&&s!==false){return s}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let s;if(this.isContextual("let")){t=c._var;s="let"}return this.tsInAmbientContext(()=>{switch(t){case c._function:e.declare=true;return this.parseFunctionStatement(e,false,true);case c._class:e.declare=true;return this.parseClass(e,true,false);case c._const:if(this.match(c._const)&&this.isLookaheadContextual("enum")){this.expect(c._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}case c._var:s=s||this.state.value;return this.parseVarStatement(e,s);case c.name:{const t=this.state.value;if(t==="global"){return this.tsParseAmbientExternalModuleDeclaration(e)}else{return this.tsParseDeclaration(e,t,true)}}}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(c.braceL)){this.scope.enter(L);this.prodParam.enter(je);const s=e;s.global=true;s.id=t;s.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(s,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,s){switch(t){case"abstract":if(this.tsCheckLineTerminator(s)&&(this.match(c._class)||this.match(c.name))){return this.tsParseAbstractDeclaration(e)}break;case"enum":if(s||this.match(c.name)){if(s)this.next();return this.tsParseEnumDeclaration(e,false)}break;case"interface":if(this.tsCheckLineTerminator(s)&&this.match(c.name)){return this.tsParseInterfaceDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(s)){if(this.match(c.string)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(this.match(c.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(s)&&this.match(c.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(s)&&this.match(c.name)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<")){return undefined}const s=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const r=this.tsTryParseAndCatch(()=>{const s=this.startNodeAt(e,t);s.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(s);s.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(c.arrow);return s});this.state.maybeInArrowParameters=s;if(!r){return undefined}return this.parseArrowExpression(r,null,true)}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType(()=>this.tsInNoContext(()=>{this.expectRelational("<");return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}));if(e.params.length===0){this.raise(e.start,De.EmptyTypeArguments)}this.expectRelational(">");return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(c.name)){switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return true}}return false}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const s=this.state.start;const r=this.state.startLoc;let i;let n=false;let a=false;if(e!==undefined){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]);i=t.accessibility;a=t.override;n=t.readonly;if(e===false&&(i||n||a)){this.raise(s,De.UnexpectedParameterModifier)}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(i||n||a){const e=this.startNodeAt(s,r);if(t.length){e.decorators=t}if(i)e.accessibility=i;if(n)e.readonly=n;if(a)e.override=a;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(e.start,De.UnsupportedParameterPropertyKind)}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}parseFunctionBodyAndFinish(e,t,s=false){if(this.match(c.colon)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(c.colon)}const r=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"?"TSDeclareMethod":undefined;if(r&&!this.match(c.braceL)&&this.isLineTerminator()){this.finishNode(e,r);return}if(r==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(e.start,De.DeclareFunctionHasImplementation);if(e.declare){super.parseFunctionBodyAndFinish(e,r,s);return}}super.parseFunctionBodyAndFinish(e,t,s)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkLVal(e.id,"function name",ie)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(e.typeAnnotation.start,De.UnexpectedTypeAnnotation)}})}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,s,r,i){if(!this.hasPrecedingLineBreak()&&this.match(c.bang)){this.state.exprAllowed=false;this.next();const r=this.startNodeAt(t,s);r.expression=e;return this.finishNode(r,"TSNonNullExpression")}if(this.isRelational("<")){const n=this.tsTryParseAndCatch(()=>{if(!r&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,s);if(e){return e}}const n=this.startNodeAt(t,s);n.callee=e;const a=this.tsParseTypeArguments();if(a){if(!r&&this.eat(c.parenL)){n.arguments=this.parseCallExpressionArguments(c.parenR,false);this.tsCheckForInvalidTypeCasts(n.arguments);n.typeParameters=a;if(i.optionalChainMember){n.optional=false}return this.finishCallExpression(n,i.optionalChainMember)}else if(this.match(c.backQuote)){const r=this.parseTaggedTemplateExpression(e,t,s,i);r.typeParameters=a;return r}}this.unexpected()});if(n)return n}return super.parseSubscript(e,t,s,r,i)}parseNewArguments(e){if(this.isRelational("<")){const t=this.tsTryParseAndCatch(()=>{const e=this.tsParseTypeArguments();if(!this.match(c.parenL))this.unexpected();return e});if(t){e.typeParameters=t}}super.parseNewArguments(e)}parseExprOp(e,t,s,r){if(nonNull(c._in.binop)>r&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const i=this.startNodeAt(t,s);i.expression=e;const n=this.tsTryNextParseConstantContext();if(n){i.typeAnnotation=n}else{i.typeAnnotation=this.tsNextThenParseType()}this.finishNode(i,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(i,t,s,r)}return super.parseExprOp(e,t,s,r)}checkReservedWord(e,t,s,r){}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(this.match(c.name)||this.match(c.star)||this.match(c.braceL)){let t=this.lookahead();if(this.isContextual("type")&&t.type!==c.comma&&!(t.type===c.name&&t.value==="from")&&t.type!==c.eq){e.importKind="type";this.next();t=this.lookahead()}if(this.match(c.name)&&t.type===c.eq){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(t.start,De.TypeImportCannotSpecifyDefaultAndNamed)}return t}parseExport(e){if(this.match(c._import)){this.next();if(this.isContextual("type")&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(c.eq)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual("as")){const t=e;this.expectContextual("namespace");t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual("type")&&this.lookahead().type===c.braceL){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===c._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.state.value==="interface"){const e=this.tsParseDeclaration(this.startNode(),this.state.value,true);if(e)return e}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===c._const){const e=this.lookahead();if(e.type===c.name&&e.value==="enum"){const e=this.startNode();this.expect(c._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!e[t]})}parseClassMember(e,t,s){const r=["declare","private","public","protected","override","abstract","readonly"];this.tsParseModifiers(t,r.concat(["static"]));const i=()=>{const i=!!t.static;if(i&&this.eat(c.braceL)){if(this.tsHasSomeModifiers(t,r)){this.raise(this.state.pos,De.StaticBlockCannotHaveModifier)}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,s,i)}};if(t.declare){this.tsInAmbientContext(i)}else{i()}}parseClassMemberWithIsStatic(e,t,s,r){const i=this.tsTryParseIndexSignature(t);if(i){e.body.push(i);if(t.abstract){this.raise(t.start,De.IndexSignatureHasAbstract)}if(t.accessibility){this.raise(t.start,De.IndexSignatureHasAccessibility,t.accessibility)}if(t.declare){this.raise(t.start,De.IndexSignatureHasDeclare)}if(t.override){this.raise(t.start,De.IndexSignatureHasOverride)}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(t.start,De.NonAbstractClassHasAbstractMethod)}if(t.override){if(!s.hadSuperClass){this.raise(t.start,De.OverrideNotInSubClass)}}super.parseClassMemberWithIsStatic(e,t,s,r)}parsePostMemberNameModifiers(e){const t=this.eat(c.question);if(t)e.optional=true;if(e.readonly&&this.match(c.parenL)){this.raise(e.start,De.ClassMethodHasReadonly)}if(e.declare&&this.match(c.parenL)){this.raise(e.start,De.ClassMethodHasDeclare)}}parseExpressionStatement(e,t){const s=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return s||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,s,r){if(!r||!this.match(c.question)){return super.parseConditional(e,t,s,r)}const i=this.tryParse(()=>super.parseConditional(e,t,s));if(!i.node){r.start=i.error.pos||this.state.start;return e}if(i.error)this.state=i.failState;return i.node}parseParenItem(e,t,s){e=super.parseParenItem(e,t,s);if(this.eat(c.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(c.colon)){const r=this.startNodeAt(t,s);r.expression=e;r.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(r,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start;const s=this.state.startLoc;const r=this.eatContextual("declare");if(r&&(this.isContextual("declare")||!this.shouldParseExportDeclaration())){throw this.raise(this.state.start,De.ExpectedAmbientAfterExportDeclare)}let i;if(this.match(c.name)){i=this.tsTryParseExportDeclaration()}if(!i){i=super.parseExportDeclaration(e)}if(i&&(i.type==="TSInterfaceDeclaration"||i.type==="TSTypeAliasDeclaration"||r)){e.exportKind="type"}if(i&&r){this.resetStartLocation(i,t,s);i.declare=true}return i}parseClassId(e,t,s){if((!t||s)&&this.isContextual("implements")){return}super.parseClassId(e,t,s,e.declare?ie:Y);const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(c.bang)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(c.eq)){this.raise(this.state.start,De.DeclareClassFieldHasInitializer)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(e.start,De.PrivateElementHasAbstract)}if(e.accessibility){this.raise(e.start,De.PrivateElementHasAccessibility,e.accessibility)}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,s,r,i,n){const a=this.tsTryParseTypeParameters();if(a&&i){this.raise(a.start,De.ConstructorHasTypeParameters)}if(t.declare&&(t.kind==="get"||t.kind==="set")){this.raise(t.start,De.DeclareAccessor,t.kind)}if(a)t.typeParameters=a;super.pushClassMethod(e,t,s,r,i,n)}pushClassPrivateMethod(e,t,s,r){const i=this.tsTryParseTypeParameters();if(i)t.typeParameters=i;super.pushClassPrivateMethod(e,t,s,r)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.tsParseTypeArguments()}if(this.eatContextual("implements")){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const s=this.tsTryParseTypeParameters();if(s)e.typeParameters=s;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const s=this.tsTryParseTypeParameters();if(s)e.typeParameters=s;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&this.eat(c.bang)){e.definite=true}const s=this.tsTryParseTypeAnnotation();if(s){e.id.typeAnnotation=s;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(c.colon)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,s,r,i,n,a,o;let l;let p;let u;if(this.hasPlugin("jsx")&&(this.match(c.jsxTagStart)||this.isRelational("<"))){l=this.state.clone();p=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!p.error)return p.node;const{context:t}=this.state;if(t[t.length-1]===g.j_oTag){t.length-=2}else if(t[t.length-1]===g.j_expr){t.length-=1}}if(!((t=p)!=null&&t.error)&&!this.isRelational("<")){return super.parseMaybeAssign(...e)}let h;l=l||this.state.clone();const f=this.tryParse(t=>{var s,r;h=this.tsParseTypeParameters();const i=super.parseMaybeAssign(...e);if(i.type!=="ArrowFunctionExpression"||(s=i.extra)!=null&&s.parenthesized){t()}if(((r=h)==null?void 0:r.params.length)!==0){this.resetStartLocationFromNode(i,h)}i.typeParameters=h;return i},l);if(!f.error&&!f.aborted)return f.node;if(!p){assert(!this.hasPlugin("jsx"));u=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!u.error)return u.node}if((s=p)!=null&&s.node){this.state=p.failState;return p.node}if(f.node){this.state=f.failState;return f.node}if((r=u)!=null&&r.node){this.state=u.failState;return u.node}if((i=p)!=null&&i.thrown)throw p.error;if(f.thrown)throw f.error;if((n=u)!=null&&n.thrown)throw u.error;throw((a=p)==null?void 0:a.error)||f.error||((o=u)==null?void 0:o.error)}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.isRelational("<")){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(c.colon)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(c.colon);if(this.canInsertSemicolon()||!this.match(c.arrow))e();return t});if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(c.question)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(e.start,De.PatternIsOptional)}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}toAssignable(e,t=false){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...s){var r;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...s);return;case"TSAsExpression":case"TSTypeAssertion":if(!s[0]&&t!=="parenthesized expression"&&!((r=e.extra)!=null&&r.parenthesized)){this.raise(e.start,d.InvalidLhs,t);break}this.checkLVal(e.expression,"parenthesized expression",...s);return;case"TSNonNullExpression":this.checkLVal(e.expression,t,...s);return;default:super.checkLVal(e,t,...s);return}}parseBindingAtom(){switch(this.state.type){case c._this:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(c.parenL)){const s=super.parseMaybeDecoratorArguments(e);s.typeParameters=t;return s}this.unexpected(this.state.start,c.parenL)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(c.comma)&&this.lookaheadCharCode()===e){this.next()}else{super.checkCommaAfterRest(e)}}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(c.bang)||this.match(c.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.startthis.tsParseTypeArguments());if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const s=this.getObjectOrClassMethodParams(e);const r=s[0];const i=r&&this.isThisParam(r);return i?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,...t){const s=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,...t)}finally{this.state.inAbstractClass=s}}tsParseAbstractDeclaration(e){if(this.match(c._class)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual("interface")){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(e.start,De.NonClassMethodPropertyHasAbstractModifer);this.next();return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,c._class)}}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(t.start,De.AbstractMethodHasImplementation,e.type==="Identifier"?e.name:`[${this.input.slice(e.start,e.end)}]`)}}return t}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}});c.placeholder=new TokenType("%%",{startsExpr:true});const Fe=makeErrorTemplates({ClassNameIsRequired:"A class name is required."},f.SyntaxError);var Me=e=>(class extends e{parsePlaceholder(e){if(this.match(c.placeholder)){const t=this.startNode();this.next();this.assertNoSpace("Unexpected space in placeholder.");t.name=super.parseIdentifier(true);this.assertNoSpace("Unexpected space in placeholder.");this.expect(c.placeholder);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const s=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return s?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(c.placeholder,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){if(e.type!=="Placeholder")super.checkLVal(...arguments)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern";return e}return super.toAssignable(...arguments)}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual("let")){return false}if(e)return false;const t=this.lookahead();if(t.type===c.placeholder){return true}return false}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(c.colon)){const s=e;s.label=this.finishPlaceholder(t,"Identifier");this.next();s.body=this.parseStatement("label");return this.finishNode(s,"LabeledStatement")}this.semicolon();e.name=t.name;return this.finishPlaceholder(e,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(e,t,s){const r=t?"ClassDeclaration":"ClassExpression";this.next();this.takeDecorators(e);const i=this.state.strict;const n=this.parsePlaceholder("Identifier");if(n){if(this.match(c._extends)||this.match(c.placeholder)||this.match(c.braceL)){e.id=n}else if(s||!t){e.id=null;e.body=this.finishPlaceholder(n,"ClassBody");return this.finishNode(e,r)}else{this.unexpected(null,Fe.ClassNameIsRequired)}}else{this.parseClassId(e,t,s)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,i);return this.finishNode(e,r)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(c.comma)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const s=this.startNode();s.exported=t;e.specifiers=[this.finishNode(s,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(c._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(c.placeholder.label,this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter(e=>e.exported.type==="Placeholder")}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual("from")&&!this.match(c.comma)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const s=this.startNodeAtNode(t);s.local=t;this.finishNode(s,"ImportDefaultSpecifier");e.specifiers.push(s);if(this.eat(c.comma)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual("from");e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}});var Le=e=>(class extends e{parseV8Intrinsic(){if(this.match(c.modulo)){const e=this.state.start;const t=this.startNode();this.eat(c.modulo);if(this.match(c.name)){const e=this.parseIdentifierName(this.state.start);const s=this.createIdentifier(t,e);s.type="V8IntrinsicIdentifier";if(this.match(c.parenL)){return s}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}});function hasPlugin(e,t){return e.some(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}})}function getPluginOption(e,t,s){const r=e.find(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}});if(r&&Array.isArray(r)){return r[1][s]}return null}const Be=["minimal","smart","fsharp"];const Ue=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option,"+" whose value must be a boolean. If you are migrating from"+" Babylon/Babel 6 or want to use the old decorators proposal, you"+" should use the 'decorators-legacy' plugin instead of 'decorators'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")&&!Be.includes(getPluginOption(e,"pipelineOperator","proposal"))){throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: "+Be.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}}if(hasPlugin(e,"recordAndTuple")&&!Ue.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Ue.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const We={estree:m,jsx:Ie,flow:Ee,typescript:Ne,v8intrinsic:Le,placeholders:Me};const qe=Object.keys(We);const He={sourceType:"script",sourceFilename:undefined,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false};function getOptions(e){const t={};for(const s of Object.keys(He)){t[s]=e&&e[s]!=null?e[s]:He[s]}return t}var ze=function isDigit(e){return e>=48&&e<=57};const Ve=new Set([103,109,115,105,121,117,100]);const Ke={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]};const $e={};$e.bin=[48,49];$e.oct=[...$e.bin,50,51,52,53,54,55];$e.dec=[...$e.oct,56,57];$e.hex=[...$e.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends ParserError{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(this.state))}this.state.lastTokEnd=this.state.end;this.state.lastTokStart=this.state.start;this.state.lastTokEndLoc=this.state.endLoc;this.state.lastTokStartLoc=this.state.startLoc;this.nextToken()}eat(e){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){h.lastIndex=e;const t=h.exec(this.input);return e+t[0].length}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(t,e));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(!e.preserveSpace)this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(c.eof);return}if(e===g.template){this.readTmplToken()}else{this.getTokenFromCode(this.codePointAtPos(this.state.pos))}}pushComment(e,t,s,r,i,n){const a={type:e?"CommentBlock":"CommentLine",value:t,start:s,end:r,loc:new SourceLocation(i,n)};if(this.options.tokens)this.pushToken(a);this.state.comments.push(a);this.addComment(a)}skipBlockComment(){let e;if(!this.isLookahead)e=this.state.curPosition();const t=this.state.pos;const s=this.input.indexOf("*/",this.state.pos+2);if(s===-1)throw this.raise(t,d.UnterminatedComment);this.state.pos=s+2;u.lastIndex=t;let r;while((r=u.exec(this.input))&&r.index=48&&t<=57){throw this.raise(this.state.pos,d.UnexpectedDigitAfterHash)}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(this.state.pos,t===123?d.RecordExpressionHashIncorrectStartSyntaxType:d.TupleExpressionHashIncorrectStartSyntaxType)}this.state.pos+=2;if(t===123){this.finishToken(c.braceHashL)}else{this.finishToken(c.bracketHashL)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(c.privateName,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(c.privateName,this.readWord1())}else{this.finishOp(c.hash,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(c.ellipsis)}else{++this.state.pos;this.finishToken(c.dot)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(c.slashAssign,2)}else{this.finishOp(c.slash,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos=48&&t<=57)){this.state.pos+=2;this.finishToken(c.questionDot)}else{++this.state.pos;this.finishToken(c.question)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(c.parenL);return;case 41:++this.state.pos;this.finishToken(c.parenR);return;case 59:++this.state.pos;this.finishToken(c.semi);return;case 44:++this.state.pos;this.finishToken(c.comma);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,d.TupleExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(c.bracketBarL)}else{++this.state.pos;this.finishToken(c.bracketL)}return;case 93:++this.state.pos;this.finishToken(c.bracketR);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,d.RecordExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(c.braceBarL)}else{++this.state.pos;this.finishToken(c.braceL)}return;case 125:++this.state.pos;this.finishToken(c.braceR);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(c.doubleColon,2)}else{++this.state.pos;this.finishToken(c.colon)}return;case 63:this.readToken_question();return;case 96:++this.state.pos;this.finishToken(c.backQuote);return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:case 62:this.readToken_lt_gt(e);return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(c.tilde,1);return;case 64:++this.state.pos;this.finishToken(c.at);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(this.state.pos,d.InvalidOrUnexpectedToken,String.fromCodePoint(e))}finishOp(e,t){const s=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t;this.finishToken(e,s)}readRegexp(){const e=this.state.start+1;let t,s;let{pos:r}=this.state;for(;;++r){if(r>=this.length){throw this.raise(e,d.UnterminatedRegExp)}const i=this.input.charCodeAt(r);if(isNewLine(i)){throw this.raise(e,d.UnterminatedRegExp)}if(t){t=false}else{if(i===91){s=true}else if(i===93&&s){s=false}else if(i===47&&!s){break}t=i===92}}const i=this.input.slice(e,r);++r;let n="";while(r-1||n.indexOf(t)>-1||Number.isNaN(t)){this.raise(this.state.pos,d.UnexpectedNumericSeparator)}if(!r){this.raise(this.state.pos,d.NumericSeparatorInEscapeSequence)}++this.state.pos;continue}if(t>=97){c=t-97+10}else if(t>=65){c=t-65+10}else if(ze(t)){c=t-48}else{c=Infinity}if(c>=e){if(this.options.errorRecovery&&c<=9){c=0;this.raise(this.state.start+i+2,d.InvalidDigit,e)}else if(s){c=0;o=true}else{break}}++this.state.pos;l=l*e+c}if(this.state.pos===i||t!=null&&this.state.pos-i!==t||o){return null}return l}readRadixNumber(e){const t=this.state.pos;let s=false;this.state.pos+=2;const r=this.readInt(e);if(r==null){this.raise(this.state.start+2,d.InvalidDigit,e)}const i=this.input.charCodeAt(this.state.pos);if(i===110){++this.state.pos;s=true}else if(i===109){throw this.raise(t,d.InvalidDecimal)}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,d.NumberIdentifier)}if(s){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(c.bigint,e);return}this.finishToken(c.num,r)}readNumber(e){const t=this.state.pos;let s=false;let r=false;let i=false;let n=false;let a=false;if(!e&&this.readInt(10)===null){this.raise(t,d.InvalidNumber)}const o=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(o){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(t,d.StrictOctalLiteral);if(!this.state.strict){const s=e.indexOf("_");if(s>0){this.raise(s+t,d.ZeroDigitNumericSeparator)}}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!a){++this.state.pos;this.readInt(10);s=true;l=this.input.charCodeAt(this.state.pos)}if((l===69||l===101)&&!a){l=this.input.charCodeAt(++this.state.pos);if(l===43||l===45){++this.state.pos}if(this.readInt(10)===null){this.raise(t,d.InvalidOrMissingExponent)}s=true;n=true;l=this.input.charCodeAt(this.state.pos)}if(l===110){if(s||o){this.raise(t,d.InvalidBigIntLiteral)}++this.state.pos;r=true}if(l===109){this.expectPlugin("decimal",this.state.pos);if(n||o){this.raise(t,d.InvalidDecimal)}++this.state.pos;i=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,d.NumberIdentifier)}const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(r){this.finishToken(c.bigint,p);return}if(i){this.finishToken(c.decimal,p);return}const u=a?parseInt(p,8):parseFloat(p);this.finishToken(c.num,u)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let s;if(t===123){const t=++this.state.pos;s=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(s!==null&&s>1114111){if(e){this.raise(t,d.InvalidCodePoint)}else{return null}}}else{s=this.readHexChar(4,false,e)}return s}readString(e){let t="",s=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,d.UnterminatedString)}const r=this.input.charCodeAt(this.state.pos);if(r===e)break;if(r===92){t+=this.input.slice(s,this.state.pos);t+=this.readEscapedChar(false);s=this.state.pos}else if(r===8232||r===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(r)){throw this.raise(this.state.start,d.UnterminatedString)}else{++this.state.pos}}t+=this.input.slice(s,this.state.pos++);this.finishToken(c.string,t)}readTmplToken(){let e="",t=this.state.pos,s=false;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,d.UnterminatedTemplate)}const r=this.input.charCodeAt(this.state.pos);if(r===96||r===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(c.template)){if(r===36){this.state.pos+=2;this.finishToken(c.dollarBraceL);return}else{++this.state.pos;this.finishToken(c.backQuote);return}}e+=this.input.slice(t,this.state.pos);this.finishToken(c.template,s?null:e);return}if(r===92){e+=this.input.slice(t,this.state.pos);const r=this.readEscapedChar(true);if(r===null){s=true}else{e+=r}t=this.state.pos}else if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(r){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(r);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,t){if(this.state.strict&&!this.state.strictErrors.has(e)){this.raise(e,t)}else{this.state.strictErrors.set(e,t)}}readEscapedChar(e){const t=!e;const s=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(s){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:this.state.lineStart=this.state.pos;++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(e){return null}else{this.recordStrictModeErrors(this.state.pos-1,d.StrictNumericEscape)}default:if(s>=48&&s<=55){const t=this.state.pos-1;const s=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let r=s[0];let i=parseInt(r,8);if(i>255){r=r.slice(0,-1);i=parseInt(r,8)}this.state.pos+=r.length-1;const n=this.input.charCodeAt(this.state.pos);if(r!=="0"||n===56||n===57){if(e){return null}else{this.recordStrictModeErrors(t,d.StrictNumericEscape)}}return String.fromCharCode(i)}return String.fromCharCode(s)}}readHexChar(e,t,s){const r=this.state.pos;const i=this.readInt(16,e,t,false);if(i===null){if(s){this.raise(r,d.InvalidEscapeSequence)}else{this.state.pos=r-1}}return i}readWord1(e){this.state.containsEsc=false;let t="";const s=this.state.pos;let r=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos{this.raise(s,t);let r=e.length-2;let i=e[r];while(i.canBeArrowParameterDeclaration()){i.clearDeclarationError(s);i=e[--r]}})}}function newParameterDeclarationScope(){return new ExpressionScope(Ye)}function newArrowHeadScope(){return new ArrowHeadParsingScope(Je)}function newAsyncArrowScope(){return new ArrowHeadParsingScope(Xe)}function newExpressionScope(){return new ExpressionScope}class UtilParser extends Tokenizer{addExtra(e,t,s){if(!e)return;const r=e.extra=e.extra||{};r[t]=s}isRelational(e){return this.match(c.relational)&&this.state.value===e}expectRelational(e){if(this.isRelational(e)){this.next()}else{this.unexpected(null,c.relational)}}isContextual(e){return this.match(c.name)&&this.state.value===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const s=e+t.length;if(this.input.slice(e,s)===t){const e=this.input.charCodeAt(s);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)&&this.eat(c.name)}expectContextual(e,t){if(!this.eatContextual(e))this.unexpected(null,t)}canInsertSemicolon(){return this.match(c.eof)||this.match(c.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return p.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){return p.test(this.input.slice(this.state.end,this.nextTokenStart()))}isLineTerminator(){return this.eat(c.semi)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(c.semi))return;this.raise(this.state.lastTokEnd,d.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){if(this.state.start>this.state.lastTokEnd){this.raise(this.state.lastTokEnd,{code:f.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}}unexpected(e,t={code:f.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){if(t instanceof TokenType){t={code:f.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${t.label}"`}}throw this.raise(e!=null?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e)){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`)}return true}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e))){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:e},`This experimental syntax requires enabling one of the following parser plugin(s): '${e.join(", ")}'`)}}tryParse(e,t=this.state.clone()){const s={node:null};try{const r=e((e=null)=>{s.node=e;throw s});if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:r,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:r,error:null,thrown:false,aborted:false,failState:null}}catch(e){const r=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:r}}if(e===s){return{node:s.node,error:null,thrown:false,aborted:true,failState:r}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssign:s,doubleProto:r}=e;if(!t)return s>=0||r>=0;if(s>=0){this.unexpected(s)}if(r>=0){this.raise(r,d.DuplicateProto)}}isLiteralPropertyName(){return this.match(c.name)||!!this.state.type.keyword||this.match(c.string)||this.match(c.num)||this.match(c.bigint)||this.match(c.decimal)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const s=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const r=this.inModule;this.inModule=e;const i=this.scope;const n=this.getScopeHandler();this.scope=new n(this.raise.bind(this),this.inModule);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this.raise.bind(this));const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this.raise.bind(this));return()=>{this.state.labels=t;this.exportedIdentifiers=s;this.inModule=r;this.scope=i;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=je;if(this.hasPlugin("topLevelAwait")&&this.inModule){e|=Se}this.scope.enter(O);this.prodParam.enter(e)}}class ExpressionErrors{constructor(){this.shorthandAssign=-1;this.doubleProto=-1}}class Node{constructor(e,t,s){this.type=void 0;this.start=void 0;this.end=void 0;this.loc=void 0;this.range=void 0;this.leadingComments=void 0;this.trailingComments=void 0;this.innerComments=void 0;this.extra=void 0;this.type="";this.start=t;this.end=0;this.loc=new SourceLocation(s);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}__clone(){const e=new Node;const t=Object.keys(this);for(let s=0,r=t.length;s{return e.type==="ParenthesizedExpression"?Qe(e.expression):e};class LValParser extends NodeUtils{toAssignable(e,t=false){var s,r;let i=undefined;if(e.type==="ParenthesizedExpression"||(s=e.extra)!=null&&s.parenthesized){i=Qe(e);if(t){if(i.type==="Identifier"){this.expressionScope.recordParenthesizedIdentifierError(e.start,d.InvalidParenthesizedAssignment)}else if(i.type!=="MemberExpression"){this.raise(e.start,d.InvalidParenthesizedAssignment)}}else{this.raise(e.start,d.InvalidParenthesizedAssignment)}}switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":break;case"ObjectExpression":e.type="ObjectPattern";for(let s=0,r=e.properties.length,i=r-1;sthis.parseExpressionBase(t))}return this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start;const s=this.state.startLoc;const r=this.parseMaybeAssign(e);if(this.match(c.comma)){const i=this.startNodeAt(t,s);i.expressions=[r];while(this.eat(c.comma)){i.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(i.expressions);return this.finishNode(i,"SequenceExpression")}return r}parseMaybeAssignDisallowIn(e,t,s){return this.disallowInAnd(()=>this.parseMaybeAssign(e,t,s))}parseMaybeAssignAllowIn(e,t,s){return this.allowInAnd(()=>this.parseMaybeAssign(e,t,s))}parseMaybeAssign(e,t,s){const r=this.state.start;const i=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,r,i)}return e}}let n;if(e){n=false}else{e=new ExpressionErrors;n=true}if(this.match(c.parenL)||this.match(c.name)){this.state.potentialArrowAt=this.state.start}let a=this.parseMaybeConditional(e,s);if(t){a=t.call(this,a,r,i)}if(this.state.type.isAssign){const t=this.startNodeAt(r,i);const s=this.state.value;t.operator=s;if(this.match(c.eq)){t.left=this.toAssignable(a,true);e.doubleProto=-1}else{t.left=a}if(e.shorthandAssign>=t.left.start){e.shorthandAssign=-1}this.checkLVal(a,"assignment expression");this.next();t.right=this.parseMaybeAssign();return this.finishNode(t,"AssignmentExpression")}else if(n){this.checkExpressionErrors(e,true)}return a}parseMaybeConditional(e,t){const s=this.state.start;const r=this.state.startLoc;const i=this.state.potentialArrowAt;const n=this.parseExprOps(e);if(this.shouldExitDescending(n,i)){return n}return this.parseConditional(n,s,r,t)}parseConditional(e,t,s,r){if(this.eat(c.question)){const r=this.startNodeAt(t,s);r.test=e;r.consequent=this.parseMaybeAssignAllowIn();this.expect(c.colon);r.alternate=this.parseMaybeAssign();return this.finishNode(r,"ConditionalExpression")}return e}parseExprOps(e){const t=this.state.start;const s=this.state.startLoc;const r=this.state.potentialArrowAt;const i=this.parseMaybeUnary(e);if(this.shouldExitDescending(i,r)){return i}return this.parseExprOp(i,t,s,-1)}parseExprOp(e,t,s,r){let i=this.state.type.binop;if(i!=null&&(this.prodParam.hasIn||!this.match(c._in))){if(i>r){const n=this.state.type;if(n===c.pipeline){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.state.inPipeline=true;this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,s);a.left=e;a.operator=this.state.value;const o=n===c.logicalOR||n===c.logicalAND;const l=n===c.nullishCoalescing;if(l){i=c.logicalAND.binop}this.next();if(n===c.pipeline&&this.getPluginOption("pipelineOperator","proposal")==="minimal"){if(this.match(c.name)&&this.state.value==="await"&&this.prodParam.hasAwait){throw this.raise(this.state.start,d.UnexpectedAwaitAfterPipelineBody)}}a.right=this.parseExprOpRightExpr(n,i);this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");const p=this.state.type;if(l&&(p===c.logicalOR||p===c.logicalAND)||o&&p===c.nullishCoalescing){throw this.raise(this.state.start,d.MixingCoalesceWithLogical)}return this.parseExprOp(a,t,s,r)}}return e}parseExprOpRightExpr(e,t){const s=this.state.start;const r=this.state.startLoc;switch(e){case c.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"smart":return this.withTopicPermittingContext(()=>{return this.parseSmartPipelineBody(this.parseExprOpBaseRightExpr(e,t),s,r)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(t)})}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const s=this.state.start;const r=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),s,r,e.rightAssociative?t-1:t)}checkExponentialAfterUnary(e){if(this.match(c.exponent)){this.raise(e.argument.start,d.UnexpectedTokenUnaryExponentiation)}}parseMaybeUnary(e,t){const s=this.state.start;const r=this.state.startLoc;const i=this.isContextual("await");if(i&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(s,r);if(!t)this.checkExponentialAfterUnary(e);return e}if(this.isContextual("module")&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak()){return this.parseModuleExpression()}const n=this.match(c.incDec);const a=this.startNode();if(this.state.type.prefix){a.operator=this.state.value;a.prefix=true;if(this.match(c._throw)){this.expectPlugin("throwExpressions")}const s=this.match(c._delete);this.next();a.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&s){const e=a.argument;if(e.type==="Identifier"){this.raise(a.start,d.StrictDelete)}else if(this.hasPropertyAsPrivateName(e)){this.raise(a.start,d.DeletePrivateField)}}if(!n){if(!t)this.checkExponentialAfterUnary(a);return this.finishNode(a,"UnaryExpression")}}const o=this.parseUpdate(a,n,e);if(i){const e=this.hasPlugin("v8intrinsic")?this.state.type.startsExpr:this.state.type.startsExpr&&!this.match(c.modulo);if(e&&!this.isAmbiguousAwait()){this.raiseOverwrite(s,this.hasPlugin("topLevelAwait")?d.AwaitNotInAsyncContext:d.AwaitNotInAsyncFunction);return this.parseAwait(s,r)}}return o}parseUpdate(e,t,s){if(t){this.checkLVal(e.argument,"prefix operation");return this.finishNode(e,"UpdateExpression")}const r=this.state.start;const i=this.state.startLoc;let n=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,false))return n;while(this.state.type.postfix&&!this.canInsertSemicolon()){const e=this.startNodeAt(r,i);e.operator=this.state.value;e.prefix=false;e.argument=n;this.checkLVal(n,"postfix operation");this.next();n=this.finishNode(e,"UpdateExpression")}return n}parseExprSubscripts(e){const t=this.state.start;const s=this.state.startLoc;const r=this.state.potentialArrowAt;const i=this.parseExprAtom(e);if(this.shouldExitDescending(i,r)){return i}return this.parseSubscripts(i,t,s)}parseSubscripts(e,t,s,r){const i={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,s,r,i);i.maybeAsyncArrow=false}while(!i.stop);return e}parseSubscript(e,t,s,r,i){if(!r&&this.eat(c.doubleColon)){return this.parseBind(e,t,s,r,i)}else if(this.match(c.backQuote)){return this.parseTaggedTemplateExpression(e,t,s,i)}let n=false;if(this.match(c.questionDot)){if(r&&this.lookaheadCharCode()===40){i.stop=true;return e}i.optionalChainMember=n=true;this.next()}if(!r&&this.match(c.parenL)){return this.parseCoverCallAndAsyncArrowHead(e,t,s,i,n)}else if(n||this.match(c.bracketL)||this.eat(c.dot)){return this.parseMember(e,t,s,i,n)}else{i.stop=true;return e}}parseMember(e,t,s,r,i){const n=this.startNodeAt(t,s);const a=this.eat(c.bracketL);n.object=e;n.computed=a;const o=!a&&this.match(c.privateName)&&this.state.value;const l=a?this.parseExpression():o?this.parsePrivateName():this.parseIdentifier(true);if(o!==false){if(n.object.type==="Super"){this.raise(t,d.SuperPrivateField)}this.classScope.usePrivateName(o,l.start)}n.property=l;if(a){this.expect(c.bracketR)}if(r.optionalChainMember){n.optional=i;return this.finishNode(n,"OptionalMemberExpression")}else{return this.finishNode(n,"MemberExpression")}}parseBind(e,t,s,r,i){const n=this.startNodeAt(t,s);n.object=e;n.callee=this.parseNoCallExpr();i.stop=true;return this.parseSubscripts(this.finishNode(n,"BindExpression"),t,s,r)}parseCoverCallAndAsyncArrowHead(e,t,s,r,i){const n=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,s);o.callee=e;if(r.maybeAsyncArrow){this.expressionScope.enter(newAsyncArrowScope());a=new ExpressionErrors}if(r.optionalChainMember){o.optional=i}if(i){o.arguments=this.parseCallExpressionArguments(c.parenR)}else{o.arguments=this.parseCallExpressionArguments(c.parenR,e.type==="Import",e.type!=="Super",o,a)}this.finishCallExpression(o,r.optionalChainMember);if(r.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!i){r.stop=true;this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,s),o)}else{if(r.maybeAsyncArrow){this.checkExpressionErrors(a,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=n;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,s,r){const i=this.startNodeAt(t,s);i.tag=e;i.quasi=this.parseTemplate(true);if(r.optionalChainMember){this.raise(t,d.OptionalChainingNoTemplate)}return this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(e.start,d.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument")}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(t.start,d.ImportCallSpreadArgument)}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,s,r,i){const n=[];let a=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(a){a=false}else{this.expect(c.comma);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(this.state.lastTokStart,d.ImportCallArgumentTrailingComma)}if(r){this.addExtra(r,"trailingComma",this.state.lastTokStart)}this.next();break}}n.push(this.parseExprListItem(false,i,{start:0},s))}this.state.inFSharpPipelineDirectBody=o;return n}shouldParseAsyncArrow(){return this.match(c.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var s;this.expect(c.arrow);this.parseArrowExpression(e,t.arguments,true,(s=t.extra)==null?void 0:s.trailingComma);return e}parseNoCallExpr(){const e=this.state.start;const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,true)}parseExprAtom(e){let t;switch(this.state.type){case c._super:return this.parseSuper();case c._import:t=this.startNode();this.next();if(this.match(c.dot)){return this.parseImportMetaProperty(t)}if(!this.match(c.parenL)){this.raise(this.state.lastTokStart,d.UnsupportedImport)}return this.finishNode(t,"Import");case c._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case c.name:{const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const s=this.parseIdentifier();if(!t&&s.name==="async"&&!this.canInsertSemicolon()){if(this.match(c._function)){this.next();return this.parseFunction(this.startNodeAtNode(s),undefined,true)}else if(this.match(c.name)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(s)}else{return s}}else if(this.match(c._do)){return this.parseDo(true)}}if(e&&this.match(c.arrow)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(s),[s],false)}return s}case c._do:{return this.parseDo(false)}case c.slash:case c.slashAssign:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case c.num:return this.parseNumericLiteral(this.state.value);case c.bigint:return this.parseBigIntLiteral(this.state.value);case c.decimal:return this.parseDecimalLiteral(this.state.value);case c.string:return this.parseStringLiteral(this.state.value);case c._null:return this.parseNullLiteral();case c._true:return this.parseBooleanLiteral(true);case c._false:return this.parseBooleanLiteral(false);case c.parenL:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case c.bracketBarL:case c.bracketHashL:{return this.parseArrayLike(this.state.type===c.bracketBarL?c.bracketBarR:c.bracketR,false,true,e)}case c.bracketL:{return this.parseArrayLike(c.bracketR,true,false,e)}case c.braceBarL:case c.braceHashL:{return this.parseObjectLike(this.state.type===c.braceBarL?c.braceBarR:c.braceR,false,true,e)}case c.braceL:{return this.parseObjectLike(c.braceR,false,false,e)}case c._function:return this.parseFunctionOrFunctionSent();case c.at:this.parseDecorators();case c._class:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case c._new:return this.parseNewOrNewTarget();case c.backQuote:return this.parseTemplate(false);case c.doubleColon:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(e.start,d.UnsupportedBind)}}case c.privateName:{const e=this.state.start;const s=this.state.value;t=this.parsePrivateName();if(this.match(c._in)){this.expectPlugin("privateIn");this.classScope.usePrivateName(s,t.start)}else if(this.hasPlugin("privateIn")){this.raise(this.state.start,d.PrivateInExpectedIn,s)}else{throw this.unexpected(e)}return t}case c.hash:{if(this.state.inPipeline){t=this.startNode();if(this.getPluginOption("pipelineOperator","proposal")!=="smart"){this.raise(t.start,d.PrimaryTopicRequiresSmartPipeline)}this.next();if(!this.primaryTopicReferenceIsAllowedInCurrentTopicContext()){this.raise(t.start,d.PrimaryTopicNotAllowed)}this.registerTopicReference();return this.finishNode(t,"PipelinePrimaryTopicReference")}}case c.relational:{if(this.state.value==="<"){const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}}}default:throw this.unexpected()}}parseAsyncArrowUnaryFunction(e){const t=this.startNodeAtNode(e);this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const s=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(this.state.pos,d.LineTerminatorBeforeArrow)}this.expect(c.arrow);this.parseArrowExpression(t,s,true);return t}parseDo(e){this.expectPlugin("doExpressions");if(e){this.expectPlugin("asyncDoExpressions")}const t=this.startNode();t.async=e;this.next();const s=this.state.labels;this.state.labels=[];if(e){this.prodParam.enter(Se);t.body=this.parseBlock();this.prodParam.exit()}else{t.body=this.parseBlock()}this.state.labels=s;return this.finishNode(t,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(c.parenL)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,d.SuperNotAllowed)}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,d.UnexpectedSuper)}if(!this.match(c.parenL)&&!this.match(c.bracketL)&&!this.match(c.dot)){this.raise(e.start,d.UnsupportedSuper)}return this.finishNode(e,"Super")}parseMaybePrivateName(e){const t=this.match(c.privateName);if(t){if(!e){this.raise(this.state.start+1,d.UnexpectedPrivateField)}return this.parsePrivateName()}else{return this.parseIdentifier(true)}}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(this.state.start+1,new Position(this.state.curLine,this.state.start+1-this.state.lineStart));const s=this.state.value;this.next();e.id=this.createIdentifier(t,s);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(c.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,s){e.meta=t;if(t.name==="function"&&s==="sent"){if(this.isContextual(s)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}}const r=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==s||r){this.raise(e.property.start,d.UnsupportedMetaProperty,t.name,s)}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual("meta")){if(!this.inModule){this.raise(t.start,y.ImportMetaOutsideModule)}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,s){this.addExtra(s,"rawValue",e);this.addExtra(s,"raw",this.input.slice(s.start,this.state.end));s.value=e;this.next();return this.finishNode(s,t)}parseLiteral(e,t){const s=this.startNode();return this.parseLiteralAtNode(e,t,s)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start;const s=this.state.startLoc;let r;this.next();this.expressionScope.enter(newArrowHeadScope());const i=this.state.maybeInArrowParameters;const n=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const a=this.state.start;const o=this.state.startLoc;const l=[];const p=new ExpressionErrors;const u={start:0};let h=true;let f;let d;while(!this.match(c.parenR)){if(h){h=false}else{this.expect(c.comma,u.start||null);if(this.match(c.parenR)){d=this.state.start;break}}if(this.match(c.ellipsis)){const e=this.state.start;const t=this.state.startLoc;f=this.state.start;l.push(this.parseParenItem(this.parseRestBinding(),e,t));this.checkCommaAfterRest(41);break}else{l.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem,u))}}const y=this.state.lastTokEnd;const m=this.state.lastTokEndLoc;this.expect(c.parenR);this.state.maybeInArrowParameters=i;this.state.inFSharpPipelineDirectBody=n;let g=this.startNodeAt(t,s);if(e&&this.shouldParseArrow()&&(g=this.parseArrow(g))){this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(g,l,false);return g}this.expressionScope.exit();if(!l.length){this.unexpected(this.state.lastTokStart)}if(d)this.unexpected(d);if(f)this.unexpected(f);this.checkExpressionErrors(p,true);if(u.start)this.unexpected(u.start);this.toReferencedListDeep(l,true);if(l.length>1){r=this.startNodeAt(a,o);r.expressions=l;this.finishNodeAt(r,"SequenceExpression",y,m)}else{r=l[0]}if(!this.options.createParenthesizedExpressions){this.addExtra(r,"parenthesized",true);this.addExtra(r,"parenStart",t);return r}const b=this.startNodeAt(t,s);b.expression=r;this.finishNode(b,"ParenthesizedExpression");return b}shouldParseArrow(){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(c.arrow)){return e}}parseParenItem(e,t,s){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(c.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const s=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){this.raise(s.start,d.UnexpectedNewTarget)}return s}return this.parseNew(e)}parseNew(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(e.callee.start,d.ImportCallNotNewExpression)}else if(this.isOptionalChain(e.callee)){this.raise(this.state.lastTokEnd,d.OptionalChainingNoNew)}else if(this.eat(c.questionDot)){this.raise(this.state.start,d.OptionalChainingNoNew)}this.parseNewArguments(e);return this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(c.parenL)){const t=this.parseExprList(c.parenR);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}}parseTemplateElement(e){const t=this.startNode();if(this.state.value===null){if(!e){this.raise(this.state.start+1,d.InvalidEscapeSequenceTemplate)}}t.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,"\n"),cooked:this.state.value};this.next();t.tail=this.match(c.backQuote);return this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next();t.expressions=[];let s=this.parseTemplateElement(e);t.quasis=[s];while(!s.tail){this.expect(c.dollarBraceL);t.expressions.push(this.parseTemplateSubstitution());this.expect(c.braceR);t.quasis.push(s=this.parseTemplateElement(e))}this.next();return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,s,r){if(s){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const n=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(c.comma);if(this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}}const i=this.parsePropertyDefinition(t,r);if(!t){this.checkProto(i,s,n,r)}if(s&&!this.isObjectProperty(i)&&i.type!=="SpreadElement"){this.raise(i.start,d.InvalidRecordProperty)}if(i.shorthand){this.addExtra(i,"shorthand",true)}o.properties.push(i)}this.next();this.state.inFSharpPipelineDirectBody=i;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(s){l="RecordExpression"}return this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(c.bracketL)||this.match(c.star))}parsePropertyDefinition(e,t){let s=[];if(this.match(c.at)){if(this.hasPlugin("decorators")){this.raise(this.state.start,d.UnsupportedPropertyDecorator)}while(this.match(c.at)){s.push(this.parseDecorator())}}const r=this.startNode();let i=false;let n=false;let a=false;let o;let l;if(this.match(c.ellipsis)){if(s.length)this.unexpected();if(e){this.next();r.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(r,"RestElement")}return this.parseSpread()}if(s.length){r.decorators=s;s=[]}r.method=false;if(e||t){o=this.state.start;l=this.state.startLoc}if(!e){i=this.eat(c.star)}const p=this.state.containsEsc;const u=this.parsePropertyName(r,false);if(!e&&!i&&!p&&this.maybeAsyncOrAccessorProp(r)){const e=u.name;if(e==="async"&&!this.hasPrecedingLineBreak()){n=true;i=this.eat(c.star);this.parsePropertyName(r,false)}if(e==="get"||e==="set"){a=true;r.kind=e;if(this.match(c.star)){i=true;this.raise(this.state.pos,d.AccessorIsGenerator,e);this.next()}this.parsePropertyName(r,false)}}this.parseObjPropValue(r,o,l,i,n,e,a,t);return r}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const s=this.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const i=e.start;if(r.length!==s){if(e.kind==="get"){this.raise(i,d.BadGetterArity)}else{this.raise(i,d.BadSetterArity)}}if(e.kind==="set"&&((t=r[r.length-1])==null?void 0:t.type)==="RestElement"){this.raise(i,d.BadSetterRestParameter)}}parseObjectMethod(e,t,s,r,i){if(i){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(s||t||this.match(c.parenL)){if(r)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,s,false,false,"ObjectMethod")}}parseObjectProperty(e,t,s,r,i){e.shorthand=false;if(this.eat(c.colon)){e.value=r?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(i);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.start,true,false);if(r){e.value=this.parseMaybeDefault(t,s,e.key.__clone())}else if(this.match(c.eq)&&i){if(i.shorthandAssign===-1){i.shorthandAssign=this.state.start}e.value=this.parseMaybeDefault(t,s,e.key.__clone())}else{e.value=e.key.__clone()}e.shorthand=true;return this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,s,r,i,n,a,o){const l=this.parseObjectMethod(e,r,i,n,a)||this.parseObjectProperty(e,t,s,n,o);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(c.bracketL)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(c.bracketR)}else{const s=this.state.inPropertyName;this.state.inPropertyName=true;const r=this.state.type;e.key=r===c.num||r===c.string||r===c.bigint||r===c.decimal?this.parseExprAtom():this.parseMaybePrivateName(t);if(r!==c.privateName){e.computed=false}this.state.inPropertyName=s}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,s,r,i,n,a=false){this.initFunction(e,s);e.generator=!!t;const o=r;this.scope.enter(S|D|(a?F:0)|(i?N:0));this.prodParam.enter(functionFlags(s,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,n,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,s,r){if(s){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const n=this.startNode();this.next();n.elements=this.parseExprList(e,!s,r,n);this.state.inFSharpPipelineDirectBody=i;return this.finishNode(n,s?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,s,r){this.scope.enter(S|_);let i=functionFlags(s,false);if(!this.match(c.bracketL)&&this.prodParam.hasIn){i|=Re}this.prodParam.enter(i);this.initFunction(e,s);const n=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,r)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=n;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,s){e.params=this.toAssignableList(t,s,false)}parseFunctionBodyAndFinish(e,t,s=false){this.parseFunctionBody(e,false,s);this.finishNode(e,t)}parseFunctionBody(e,t,s=false){const r=t&&!this.match(c.braceL);this.expressionScope.enter(newExpressionScope());if(r){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const r=this.state.strict;const i=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|_e);e.body=this.parseBlock(true,false,i=>{const n=!this.isSimpleParamList(e.params);if(i&&n){const t=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(t,d.IllegalLanguageModeDirective)}const a=!r&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!s&&!n,t,a);if(this.state.strict&&e.id){this.checkLVal(e.id,"function name",ae,undefined,undefined,a)}});this.prodParam.exit();this.expressionScope.exit();this.state.labels=i}}isSimpleParamList(e){for(let t=0,s=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(t,d.YieldBindingIdentifier);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(t,d.AwaitBindingIdentifier);return}else if(this.scope.inStaticBlock&&!this.scope.inNonArrowFunction){this.raise(t,d.AwaitBindingIdentifierInStaticBlock);return}else{this.expressionScope.recordAsyncArrowParametersError(t,d.AwaitBindingIdentifier)}}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(t,d.ArgumentsInClass);return}}if(s&&isKeyword(e)){this.raise(t,d.UnexpectedKeyword,e);return}const i=!this.state.strict?isReservedWord:r?isStrictBindReservedWord:isStrictReservedWord;if(i(e,this.inModule)){this.raise(t,d.UnexpectedReservedWord,e)}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e,t){const s=this.startNodeAt(e,t);this.expressionScope.recordParameterInitializerError(s.start,d.AwaitExpressionFormalParameter);if(this.eat(c.star)){this.raise(s.start,d.ObsoleteAwaitStar)}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){s.argument=this.parseMaybeUnary(null,true)}return this.finishNode(s,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(c.plusMin)||this.match(c.parenL)||this.match(c.bracketL)||this.match(c.backQuote)||this.match(c.regexp)||this.match(c.slash)||this.hasPlugin("v8intrinsic")&&this.match(c.modulo)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,d.YieldInParameter);this.next();let t=false;let s=null;if(!this.hasPrecedingLineBreak()){t=this.eat(c.star);switch(this.state.type){case c.semi:case c.eof:case c.braceR:case c.parenR:case c.bracketR:case c.braceBarR:case c.colon:case c.comma:if(!t)break;default:s=this.parseMaybeAssign()}}e.delegate=t;e.argument=s;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.getPluginOption("pipelineOperator","proposal")==="smart"){if(e.type==="SequenceExpression"){this.raise(t,d.PipelineHeadSequenceExpression)}}}parseSmartPipelineBody(e,t,s){this.checkSmartPipelineBodyEarlyErrors(e,t);return this.parseSmartPipelineBodyInStyle(e,t,s)}checkSmartPipelineBodyEarlyErrors(e,t){if(this.match(c.arrow)){throw this.raise(this.state.start,d.PipelineBodyNoArrow)}else if(e.type==="SequenceExpression"){this.raise(t,d.PipelineBodySequenceExpression)}}parseSmartPipelineBodyInStyle(e,t,s){const r=this.startNodeAt(t,s);const i=this.isSimpleReference(e);if(i){r.callee=e}else{if(!this.topicReferenceWasUsedInCurrentTopicContext()){this.raise(t,d.PipelineTopicUnused)}r.expression=e}return this.finishNode(r,i?"PipelineBareFunction":"PipelineTopicExpression")}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}withTopicPermittingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withTopicForbiddingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const s=Re&~t;if(s){this.prodParam.enter(t|Re);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const s=Re&t;if(s){this.prodParam.enter(t&~Re);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}primaryTopicReferenceIsAllowedInCurrentTopicContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentTopicContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const s=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const i=this.parseExprOp(this.parseMaybeUnary(),t,s,e);this.state.inFSharpPipelineDirectBody=r;return i}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(c.braceL);const t=this.initializeScopes(true);this.enterInitialScopes();const s=this.startNode();try{e.body=this.parseProgram(s,c.braceR,"module")}finally{t()}this.eat(c.braceR);return this.finishNode(e,"ModuleExpression")}}const Ze={kind:"loop"},et={kind:"switch"};const tt=0,st=1,rt=2,it=4;const nt=/[\uD800-\uDFFF]/u;const at=/in(?:stanceof)?/y;function babel7CompatTokens(e){{for(let t=0;t0){for(const[e]of Array.from(this.scope.undefinedExports)){const t=this.scope.undefinedExports.get(e);this.raise(t,d.ModuleExportUndefined,e)}}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e.expression;const s=this.startNodeAt(t.start,t.loc.start);const r=this.startNodeAt(e.start,e.loc.start);const i=this.input.slice(t.start,t.end);const n=s.value=i.slice(1,-1);this.addExtra(s,"raw",i);this.addExtra(s,"rawValue",n);r.value=this.finishNodeAt(s,"DirectiveLiteral",t.end,t.loc.end);return this.finishNodeAt(r,"Directive",e.end,e.loc.end)}parseInterpreterDirective(){if(!this.match(c.interpreterDirective)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual("let")){return false}return this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart();const s=this.codePointAtPos(t);if(s===92||s===91){return true}if(e)return false;if(s===123)return true;if(isIdentifierStart(s)){at.lastIndex=t;const e=at.exec(this.input);if(e!==null){const s=this.codePointAtPos(t+e[0].length);if(!isIdentifierChar(s)&&s!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(c.at)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let s=this.state.type;const r=this.startNode();let i;if(this.isLet(e)){s=c._var;i="let"}switch(s){case c._break:case c._continue:return this.parseBreakContinueStatement(r,s.keyword);case c._debugger:return this.parseDebuggerStatement(r);case c._do:return this.parseDoStatement(r);case c._for:return this.parseForStatement(r);case c._function:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(this.state.start,d.StrictFunction)}else if(e!=="if"&&e!=="label"){this.raise(this.state.start,d.SloppyFunction)}}return this.parseFunctionStatement(r,false,!e);case c._class:if(e)this.unexpected();return this.parseClass(r,true);case c._if:return this.parseIfStatement(r);case c._return:return this.parseReturnStatement(r);case c._switch:return this.parseSwitchStatement(r);case c._throw:return this.parseThrowStatement(r);case c._try:return this.parseTryStatement(r);case c._const:case c._var:i=i||this.state.value;if(e&&i!=="var"){this.raise(this.state.start,d.UnexpectedLexicalDeclaration)}return this.parseVarStatement(r,i);case c._while:return this.parseWhileStatement(r);case c._with:return this.parseWithStatement(r);case c.braceL:return this.parseBlock();case c.semi:return this.parseEmptyStatement(r);case c._import:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case c._export:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(this.state.start,d.UnexpectedImportExport)}this.next();let e;if(s===c._import){e=this.parseImport(r);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(r);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(r);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(this.state.start,d.AsyncFunctionInSingleStatementContext)}this.next();return this.parseFunctionStatement(r,true,!e)}}}const n=this.state.value;const a=this.parseExpression();if(s===c.name&&a.type==="Identifier"&&this.eat(c.colon)){return this.parseLabeledStatement(r,n,a,e)}else{return this.parseExpressionStatement(r,a)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(e.start,y.ImportOutsideModule)}}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];if(t.length){e.decorators=t;this.resetStartLocationFromNode(e,t[0]);this.state.decoratorStack[this.state.decoratorStack.length-1]=[]}}canHaveLeadingDecorator(){return this.match(c._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(c.at)){const e=this.parseDecorator();t.push(e)}if(this.match(c._export)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,d.DecoratorExportClass)}}else if(!this.canHaveLeadingDecorator()){throw this.raise(this.state.start,d.UnexpectedLeadingDecorator)}}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start;const s=this.state.startLoc;let r;if(this.eat(c.parenL)){r=this.parseExpression();this.expect(c.parenR)}else{r=this.parseIdentifier(false);while(this.eat(c.dot)){const e=this.startNodeAt(t,s);e.object=r;e.property=this.parseIdentifier(true);e.computed=false;r=this.finishNode(e,"MemberExpression")}}e.expression=this.parseMaybeDecoratorArguments(r);this.state.decoratorStack.pop()}else{e.expression=this.parseExprSubscripts()}return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(c.parenL)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(c.parenR,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){const s=t==="break";this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,s?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){const s=t==="break";let r;for(r=0;rthis.parseStatement("do"));this.state.labels.pop();this.expect(c._while);e.test=this.parseHeaderExpression();this.eat(c.semi);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(Ze);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual("await")){t=this.state.lastTokStart}this.scope.enter(j);this.expect(c.parenL);if(this.match(c.semi)){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}const s=this.isContextual("let");const r=s&&this.isLetKeyword();if(this.match(c._var)||this.match(c._const)||r){const s=this.startNode();const i=r?"let":this.state.value;this.next();this.parseVar(s,true,i);this.finishNode(s,"VariableDeclaration");if((this.match(c._in)||this.isContextual("of"))&&s.declarations.length===1){return this.parseForIn(e,s,t)}if(t>-1){this.unexpected(t)}return this.parseFor(e,s)}const i=this.match(c.name)&&!this.state.containsEsc;const n=new ExpressionErrors;const a=this.parseExpression(true,n);const o=this.isContextual("of");if(o){if(s){this.raise(a.start,d.ForOfLet)}else if(t===-1&&i&&a.type==="Identifier"&&a.name==="async"){this.raise(a.start,d.ForOfAsync)}}if(o||this.match(c._in)){this.toAssignable(a,true);const s=o?"for-of statement":"for-in statement";this.checkLVal(a,s);return this.parseForIn(e,a,t)}else{this.checkExpressionErrors(n,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)}parseFunctionStatement(e,t,s){this.next();return this.parseFunction(e,st|(s?0:rt),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(c._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(this.state.start,d.IllegalReturn)}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(c.braceL);this.state.labels.push(et);this.scope.enter(j);let s;for(let e;!this.match(c.braceR);){if(this.match(c._case)||this.match(c._default)){const r=this.match(c._case);if(s)this.finishNode(s,"SwitchCase");t.push(s=this.startNode());s.consequent=[];this.next();if(r){s.test=this.parseExpression()}else{if(e){this.raise(this.state.lastTokStart,d.MultipleDefaultsInSwitch)}e=true;s.test=null}this.expect(c.colon)}else{if(s){s.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(s)this.finishNode(s,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(this.state.lastTokEnd,d.NewlineAfterThrow)}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?R:0);this.checkLVal(e,"catch clause",Q);return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(c._catch)){const t=this.startNode();this.next();if(this.match(c.parenL)){this.expect(c.parenL);t.param=this.parseCatchClauseParam();this.expect(c.parenR)}else{t.param=null;this.scope.enter(j)}t.body=this.withTopicForbiddingContext(()=>this.parseBlock(false,false));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(c._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,d.NoCatchOrFinally)}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(Ze);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("while"));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(this.state.start,d.StrictWith)}this.next();e.object=this.parseHeaderExpression();e.body=this.withTopicForbiddingContext(()=>this.parseStatement("with"));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,s,r){for(const e of this.state.labels){if(e.name===t){this.raise(s.start,d.LabelRedeclaration,t)}}const i=this.state.type.isLoop?"loop":this.match(c._switch)?"switch":null;for(let t=this.state.labels.length-1;t>=0;t--){const s=this.state.labels[t];if(s.statementStart===e.start){s.statementStart=this.state.start;s.kind=i}else{break}}this.state.labels.push({name:t,kind:i,statementStart:this.state.start});e.body=this.parseStatement(r?r.indexOf("label")===-1?r+"label":r:"label");this.state.labels.pop();e.label=s;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,s){const r=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(c.braceL);if(t){this.scope.enter(j)}this.parseBlockBody(r,e,false,c.braceR,s);if(t){this.scope.exit()}return this.finishNode(r,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,s,r,i){const n=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(n,t?a:undefined,s,r,i)}parseBlockOrModuleBlockBody(e,t,s,r,i){const n=this.state.strict;let a=false;let o=false;while(!this.match(r)){const r=this.parseStatement(null,s);if(t&&!o){if(this.isValidDirective(r)){const e=this.stmtToDirective(r);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(r)}if(i){i.call(this,a)}if(!n){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(c.semi)?null:this.parseExpression();this.semicolon(false);e.update=this.match(c.parenR)?null:this.parseExpression();this.expect(c.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,s){const r=this.match(c._in);this.next();if(r){if(s>-1)this.unexpected(s)}else{e.await=s>-1}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,d.ForInOfLoopInitializer,r?"for-in":"for-of")}else if(t.type==="AssignmentPattern"){this.raise(t.start,d.InvalidLhs,"for-loop")}e.left=t;e.right=r?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(c.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,r?"ForInStatement":"ForOfStatement")}parseVar(e,t,s){const r=e.declarations=[];const i=this.hasPlugin("typescript");e.kind=s;for(;;){const e=this.startNode();this.parseVarId(e,s);if(this.eat(c.eq)){e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn()}else{if(s==="const"&&!(this.match(c._in)||this.isContextual("of"))){if(!i){this.raise(this.state.lastTokEnd,d.DeclarationMissingInitializer,"Const declarations")}}else if(e.id.type!=="Identifier"&&!(t&&(this.match(c._in)||this.isContextual("of")))){this.raise(this.state.lastTokEnd,d.DeclarationMissingInitializer,"Complex binding patterns")}e.init=null}r.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(c.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,"variable declaration",t==="var"?Z:Q,undefined,t!=="var")}parseFunction(e,t=tt,s=false){const r=t&st;const i=t&rt;const n=!!r&&!(t&it);this.initFunction(e,s);if(this.match(c.star)&&i){this.raise(this.state.start,d.GeneratorInSingleStatementContext)}e.generator=this.eat(c.star);if(r){e.id=this.parseFunctionId(n)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(S);this.prodParam.enter(functionFlags(s,e.generator));if(!r){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,r?"FunctionDeclaration":"FunctionExpression")});this.prodParam.exit();this.scope.exit();if(r&&!i){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||this.match(c.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(c.parenL);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(c.parenR,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?Z:Q:ee,e.id.start)}parseClass(e,t,s){this.next();this.takeDecorators(e);const r=this.state.strict;this.state.strict=true;this.parseClassId(e,t,s);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,r);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(c.eq)||this.match(c.semi)||this.match(c.braceR)}isClassMethod(){return this.match(c.parenL)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const s={hadConstructor:false,hadSuperClass:e};let r=[];const i=this.startNode();i.body=[];this.expect(c.braceL);this.withTopicForbiddingContext(()=>{while(!this.match(c.braceR)){if(this.eat(c.semi)){if(r.length>0){throw this.raise(this.state.lastTokEnd,d.DecoratorSemicolon)}continue}if(this.match(c.at)){r.push(this.parseDecorator());continue}const e=this.startNode();if(r.length){e.decorators=r;this.resetStartLocationFromNode(e,r[0]);r=[]}this.parseClassMember(i,e,s);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(e.start,d.DecoratorConstructor)}}});this.state.strict=t;this.next();if(r.length){throw this.raise(this.state.start,d.TrailingDecorator)}this.classScope.exit();return this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){const s=this.parseIdentifier(true);if(this.isClassMethod()){const r=t;r.kind="method";r.computed=false;r.key=s;r.static=false;this.pushClassMethod(e,r,false,false,false,false);return true}else if(this.isClassProperty()){const r=t;r.computed=false;r.key=s;r.static=false;e.body.push(this.parseClassProperty(r));return true}return false}parseClassMember(e,t,s){const r=this.isContextual("static");if(r){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(c.braceL)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,s,r)}parseClassMemberWithIsStatic(e,t,s,r){const i=t;const n=t;const a=t;const o=t;const l=i;const p=i;t.static=r;if(this.eat(c.star)){l.kind="method";const t=this.match(c.privateName);this.parseClassElementName(l);if(t){this.pushClassPrivateMethod(e,n,true,false);return}if(this.isNonstaticConstructor(i)){this.raise(i.key.start,d.ConstructorIsGenerator)}this.pushClassMethod(e,i,true,false,false,false);return}const u=this.state.containsEsc;const h=this.match(c.privateName);const f=this.parseClassElementName(t);const y=f.type==="Identifier";const m=this.state.start;this.parsePostMemberNameModifiers(p);if(this.isClassMethod()){l.kind="method";if(h){this.pushClassPrivateMethod(e,n,false,false);return}const r=this.isNonstaticConstructor(i);let a=false;if(r){i.kind="constructor";if(s.hadConstructor&&!this.hasPlugin("typescript")){this.raise(f.start,d.DuplicateConstructor)}if(r&&this.hasPlugin("typescript")&&t.override){this.raise(f.start,d.OverrideOnConstructor)}s.hadConstructor=true;a=s.hadSuperClass}this.pushClassMethod(e,i,false,false,r,a)}else if(this.isClassProperty()){if(h){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(y&&f.name==="async"&&!u&&!this.isLineTerminator()){const t=this.eat(c.star);if(p.optional){this.unexpected(m)}l.kind="method";const s=this.match(c.privateName);this.parseClassElementName(l);this.parsePostMemberNameModifiers(p);if(s){this.pushClassPrivateMethod(e,n,t,true)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,d.ConstructorIsAsync)}this.pushClassMethod(e,i,t,true,false,false)}}else if(y&&(f.name==="get"||f.name==="set")&&!u&&!(this.match(c.star)&&this.isLineTerminator())){l.kind=f.name;const t=this.match(c.privateName);this.parseClassElementName(i);if(t){this.pushClassPrivateMethod(e,n,false,false)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,d.ConstructorIsAccessor)}this.pushClassMethod(e,i,false,false,false,false)}this.checkGetterSetterParams(i)}else if(this.isLineTerminator()){if(h){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:s,start:r}=this.state;if((t===c.name||t===c.string)&&e.static&&s==="prototype"){this.raise(r,d.StaticPrototype)}if(t===c.privateName&&s==="constructor"){this.raise(r,d.ConstructorClassPrivateField)}return this.parsePropertyName(e,true)}parseClassStaticBlock(e,t){var s;this.expectPlugin("classStaticBlock",t.start);this.scope.enter(F|M|D);const r=this.state.labels;this.state.labels=[];this.prodParam.enter(je);const i=t.body=[];this.parseBlockOrModuleBlockBody(i,undefined,false,c.braceR);this.prodParam.exit();this.scope.exit();this.state.labels=r;e.body.push(this.finishNode(t,"StaticBlock"));if((s=t.decorators)!=null&&s.length){this.raise(t.start,d.DecoratorStaticBlock)}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(t.key.start,d.ConstructorClassField)}e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const s=this.parseClassPrivateProperty(t);e.body.push(s);this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),be,s.key.start)}pushClassMethod(e,t,s,r,i,n){e.body.push(this.parseMethod(t,s,r,i,n,"ClassMethod",true))}pushClassPrivateMethod(e,t,s,r){const i=this.parseMethod(t,s,r,false,false,"ClassPrivateMethod",true);e.body.push(i);const n=i.kind==="get"?i.static?de:me:i.kind==="set"?i.static?ye:ge:be;this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),n,i.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(F|D);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(je);e.value=this.eat(c.eq)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,s,r=Y){if(this.match(c.name)){e.id=this.parseIdentifier();if(t){this.checkLVal(e.id,"class name",r)}}else{if(s||!t){e.id=null}else{this.unexpected(null,d.MissingClassName)}}}parseClassSuper(e){e.superClass=this.eat(c._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const s=!t||this.eat(c.comma);const r=s&&this.eatExportStar(e);const i=r&&this.maybeParseExportNamespaceSpecifier(e);const n=s&&(!i||this.eat(c.comma));const a=t||r;if(r&&!i){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&s&&!r&&!o||i&&n&&!o){throw this.unexpected(null,c.braceL)}let l;if(a||o){l=false;this.parseExportFrom(e,a)}else{l=this.maybeParseExportDeclaration(e)}if(a||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(c._default)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,c.braceL)}eatExportStar(e){return this.eat(c.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(c.braceL)){if(!e.specifiers)e.specifiers=[];e.specifiers.push(...this.parseExportSpecifiers());e.source=null;e.declaration=null;return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual("async"))return false;const e=this.nextTokenStart();return!p.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(c._function)||t){this.next();if(t){this.next()}return this.parseFunction(e,st|it,t)}else if(this.match(c._class)){return this.parseClass(e,true,true)}else if(this.match(c.at)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,d.DecoratorBeforeExport)}this.parseDecorators(false);return this.parseClass(e,true,true)}else if(this.match(c._const)||this.match(c._var)||this.isLet()){throw this.raise(this.state.start,d.UnsupportedDefaultExport)}else{const e=this.parseMaybeAssignAllowIn();this.semicolon();return e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(c.name)){const e=this.state.value;if(e==="async"&&!this.state.containsEsc||e==="let"){return false}if((e==="type"||e==="interface")&&!this.state.containsEsc){const e=this.lookahead();if(e.type===c.name&&e.value!=="from"||e.type===c.braceL){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(c._default)){return false}const e=this.nextTokenStart();const t=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||this.match(c.name)&&t){return true}if(this.match(c._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return t===34||t===39}return false}parseExportFrom(e,t){if(this.eatContextual("from")){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else{if(t){this.unexpected()}else{e.source=null}}this.semicolon()}shouldParseExportDeclaration(){if(this.match(c.at)){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){this.unexpected(this.state.start,d.DecoratorBeforeExport)}else{return true}}}return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isLet()||this.isAsyncFunction()}checkExport(e,t,s,r){if(t){if(s){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var i;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((i=t.extra)!=null&&i.parenthesized)){this.raise(t.start,d.ExportDefaultFromAsIdentifier)}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const s=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,s);if(!r&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(t.start,d.ExportBindingIsString,e.value,s)}else{this.checkReservedWord(e.name,e.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}const n=this.state.decoratorStack[this.state.decoratorStack.length-1];if(n.length){throw this.raise(e.start,d.UnsupportedDecoratorExport)}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){this.raise(e.start,t==="default"?d.DuplicateDefaultExport:d.DuplicateExport,t)}this.exportedIdentifiers.add(t)}parseExportSpecifiers(){const e=[];let t=true;this.expect(c.braceL);while(!this.eat(c.braceR)){if(t){t=false}else{this.expect(c.comma);if(this.eat(c.braceR))break}const s=this.startNode();s.local=this.parseModuleExportName();s.exported=this.eatContextual("as")?this.parseModuleExportName():s.local.__clone();e.push(this.finishNode(s,"ExportSpecifier"))}return e}parseModuleExportName(){if(this.match(c.string)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(nt);if(t){this.raise(e.start,d.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16))}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(c.string)){const t=this.maybeParseDefaultImportSpecifier(e);const s=!t||this.eat(c.comma);const r=s&&this.maybeParseStarImportSpecifier(e);if(s&&!r)this.parseNamedImportSpecifiers(e);this.expectContextual("from")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(c.string))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(c.name)}parseImportSpecifierLocal(e,t,s,r){t.local=this.parseIdentifier();this.checkLVal(t.local,r,Q);e.specifiers.push(this.finishNode(t,s))}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(c.braceR)){break}const s=this.startNode();const r=this.state.value;if(t.has(r)){this.raise(this.state.start,d.ModuleAttributesWithDuplicateKeys,r)}t.add(r);if(this.match(c.string)){s.key=this.parseStringLiteral(r)}else{s.key=this.parseIdentifier(true)}this.expect(c.colon);if(!this.match(c.string)){throw this.unexpected(this.state.start,d.ModuleAttributeInvalidValue)}s.value=this.parseStringLiteral(this.state.value);this.finishNode(s,"ImportAttribute");e.push(s)}while(this.eat(c.comma));return e}maybeParseModuleAttributes(){if(this.match(c._with)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const s=this.startNode();s.key=this.parseIdentifier(true);if(s.key.name!=="type"){this.raise(s.key.start,d.ModuleAttributeDifferentFromType,s.key.name)}if(t.has(s.key.name)){this.raise(s.key.start,d.ModuleAttributesWithDuplicateKeys,s.key.name)}t.add(s.key.name);this.expect(c.colon);if(!this.match(c.string)){throw this.unexpected(this.state.start,d.ModuleAttributeInvalidValue)}s.value=this.parseStringLiteral(this.state.value);this.finishNode(s,"ImportAttribute");e.push(s)}while(this.eat(c.comma));return e}maybeParseImportAssertions(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(c.braceL);const e=this.parseAssertEntries();this.eat(c.braceR);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(c.star)){const t=this.startNode();this.next();this.expectContextual("as");this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(c.braceL);while(!this.eat(c.braceR)){if(t){t=false}else{if(this.eat(c.colon)){throw this.raise(this.state.start,d.DestructureNamedImport)}this.expect(c.comma);if(this.eat(c.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();const s=this.match(c.string);t.imported=this.parseModuleExportName();if(this.eatContextual("as")){t.local=this.parseIdentifier()}else{const{imported:e}=t;if(s){throw this.raise(t.start,d.ImportBindingIsString,e.value)}this.checkReservedWord(e.name,t.start,true,true);t.local=e.__clone()}this.checkLVal(t.local,"import specifier",Q);e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const s of e){const[e,r]=Array.isArray(s)?s:[s,{}];if(!t.has(e))t.set(e,r||{})}return t}function parse(e,t){var s;if(((s=t)==null?void 0:s.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const s=getParser(t,e);const r=s.parse();if(s.sawUnambiguousESM){return r}if(s.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{r.program.sourceType="script"}return r}catch(s){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw s}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const s=getParser(t,e);if(s.options.strictMode){s.state.strict=true}return s.getExpression()}function getParser(e,t){let s=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);s=getParserClass(e.plugins)}return new s(e,t)}const ot={};function getParserClass(e){const t=qe.filter(t=>hasPlugin(e,t));const s=t.join("/");let r=ot[s];if(!r){r=Parser;for(const e of t){r=We[e](r)}ot[s]=r}return r}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=c},73878:(e,t,s)=>{"use strict";const{compare:r,intersection:i,semver:n}=s(9745);const a=s(42630);const o=s(45057);e.exports=function(e){const t=n(e);if(t.major!==3){throw RangeError("This version of `core-js-compat` works only with `core-js@3`.")}const s=[];for(const e of Object.keys(a)){if(r(e,"<=",t)){s.push(...a[e])}}return i(s,o)}},9745:(e,t,s)=>{"use strict";const r=s(93592);const i=s(19287);const n=Function.call.bind({}.hasOwnProperty);function compare(e,t,s){return r(i(e),t,i(s))}function intersection(e,t){const s=e instanceof Set?e:new Set(e);return t.filter(e=>s.has(e))}function sortObjectByKey(e,t){return Object.keys(e).sort(t).reduce((t,s)=>{t[s]=e[s];return t},{})}e.exports={compare:compare,has:n,intersection:intersection,semver:i,sortObjectByKey:sortObjectByKey}},42016:(e,t,s)=>{const r=s(56150);const{MAX_LENGTH:i,MAX_SAFE_INTEGER:n}=s(88385);const{re:a,t:o}=s(88636);const{compareIdentifiers:l}=s(34639);class SemVer{constructor(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError(`Invalid Version: ${e}`)}if(e.length>i){throw new TypeError(`version is longer than ${i} characters`)}r("SemVer",e,t);this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;const s=e.trim().match(t.loose?a[o.LOOSE]:a[o.FULL]);if(!s){throw new TypeError(`Invalid Version: ${e}`)}this.raw=e;this.major=+s[1];this.minor=+s[2];this.patch=+s[3];if(this.major>n||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>n||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>n||this.patch<0){throw new TypeError("Invalid patch version")}if(!s[4]){this.prerelease=[]}else{this.prerelease=s[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0){if(typeof this.prerelease[e]==="number"){this.prerelease[e]++;e=-2}}if(e===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error(`invalid increment argument: ${e}`)}this.format();this.raw=this.version;return this}}e.exports=SemVer},93592:(e,t,s)=>{const r=s(27228);const i=s(5258);const n=s(15734);const a=s(23608);const o=s(14268);const l=s(55068);const c=(e,t,s,c)=>{switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof s==="object")s=s.version;return e===s;case"!==":if(typeof e==="object")e=e.version;if(typeof s==="object")s=s.version;return e!==s;case"":case"=":case"==":return r(e,s,c);case"!=":return i(e,s,c);case">":return n(e,s,c);case">=":return a(e,s,c);case"<":return o(e,s,c);case"<=":return l(e,s,c);default:throw new TypeError(`Invalid operator: ${t}`)}};e.exports=c},19287:(e,t,s)=>{const r=s(42016);const i=s(33931);const{re:n,t:a}=s(88636);const o=(e,t)=>{if(e instanceof r){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}t=t||{};let s=null;if(!t.rtl){s=e.match(n[a.COERCE])}else{let t;while((t=n[a.COERCERTL].exec(e))&&(!s||s.index+s[0].length!==e.length)){if(!s||t.index+t[0].length!==s.index+s[0].length){s=t}n[a.COERCERTL].lastIndex=t.index+t[1].length+t[2].length}n[a.COERCERTL].lastIndex=-1}if(s===null)return null;return i(`${s[2]}.${s[3]||"0"}.${s[4]||"0"}`,t)};e.exports=o},83689:(e,t,s)=>{const r=s(42016);const i=(e,t,s)=>new r(e,s).compare(new r(t,s));e.exports=i},27228:(e,t,s)=>{const r=s(83689);const i=(e,t,s)=>r(e,t,s)===0;e.exports=i},15734:(e,t,s)=>{const r=s(83689);const i=(e,t,s)=>r(e,t,s)>0;e.exports=i},23608:(e,t,s)=>{const r=s(83689);const i=(e,t,s)=>r(e,t,s)>=0;e.exports=i},14268:(e,t,s)=>{const r=s(83689);const i=(e,t,s)=>r(e,t,s)<0;e.exports=i},55068:(e,t,s)=>{const r=s(83689);const i=(e,t,s)=>r(e,t,s)<=0;e.exports=i},5258:(e,t,s)=>{const r=s(83689);const i=(e,t,s)=>r(e,t,s)!==0;e.exports=i},33931:(e,t,s)=>{const{MAX_LENGTH:r}=s(88385);const{re:i,t:n}=s(88636);const a=s(42016);const o=(e,t)=>{if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof a){return e}if(typeof e!=="string"){return null}if(e.length>r){return null}const s=t.loose?i[n.LOOSE]:i[n.FULL];if(!s.test(e)){return null}try{return new a(e,t)}catch(e){return null}};e.exports=o},88385:e=>{const t="2.0.0";const s=256;const r=Number.MAX_SAFE_INTEGER||9007199254740991;const i=16;e.exports={SEMVER_SPEC_VERSION:t,MAX_LENGTH:s,MAX_SAFE_INTEGER:r,MAX_SAFE_COMPONENT_LENGTH:i}},56150:e=>{const t=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},34639:e=>{const t=/^[0-9]+$/;const s=(e,s)=>{const r=t.test(e);const i=t.test(s);if(r&&i){e=+e;s=+s}return e===s?0:r&&!i?-1:i&&!r?1:es(t,e);e.exports={compareIdentifiers:s,rcompareIdentifiers:r}},88636:(e,t,s)=>{const{MAX_SAFE_COMPONENT_LENGTH:r}=s(88385);const i=s(56150);t=e.exports={};const n=t.re=[];const a=t.src=[];const o=t.t={};let l=0;const c=(e,t,s)=>{const r=l++;i(r,t);o[e]=r;a[r]=t;n[r]=new RegExp(t,s?"g":undefined)};c("NUMERICIDENTIFIER","0|[1-9]\\d*");c("NUMERICIDENTIFIERLOOSE","[0-9]+");c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*");c("MAINVERSION",`(${a[o.NUMERICIDENTIFIER]})\\.`+`(${a[o.NUMERICIDENTIFIER]})\\.`+`(${a[o.NUMERICIDENTIFIER]})`);c("MAINVERSIONLOOSE",`(${a[o.NUMERICIDENTIFIERLOOSE]})\\.`+`(${a[o.NUMERICIDENTIFIERLOOSE]})\\.`+`(${a[o.NUMERICIDENTIFIERLOOSE]})`);c("PRERELEASEIDENTIFIER",`(?:${a[o.NUMERICIDENTIFIER]}|${a[o.NONNUMERICIDENTIFIER]})`);c("PRERELEASEIDENTIFIERLOOSE",`(?:${a[o.NUMERICIDENTIFIERLOOSE]}|${a[o.NONNUMERICIDENTIFIER]})`);c("PRERELEASE",`(?:-(${a[o.PRERELEASEIDENTIFIER]}(?:\\.${a[o.PRERELEASEIDENTIFIER]})*))`);c("PRERELEASELOOSE",`(?:-?(${a[o.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[o.PRERELEASEIDENTIFIERLOOSE]})*))`);c("BUILDIDENTIFIER","[0-9A-Za-z-]+");c("BUILD",`(?:\\+(${a[o.BUILDIDENTIFIER]}(?:\\.${a[o.BUILDIDENTIFIER]})*))`);c("FULLPLAIN",`v?${a[o.MAINVERSION]}${a[o.PRERELEASE]}?${a[o.BUILD]}?`);c("FULL",`^${a[o.FULLPLAIN]}$`);c("LOOSEPLAIN",`[v=\\s]*${a[o.MAINVERSIONLOOSE]}${a[o.PRERELEASELOOSE]}?${a[o.BUILD]}?`);c("LOOSE",`^${a[o.LOOSEPLAIN]}$`);c("GTLT","((?:<|>)?=?)");c("XRANGEIDENTIFIERLOOSE",`${a[o.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);c("XRANGEIDENTIFIER",`${a[o.NUMERICIDENTIFIER]}|x|X|\\*`);c("XRANGEPLAIN",`[v=\\s]*(${a[o.XRANGEIDENTIFIER]})`+`(?:\\.(${a[o.XRANGEIDENTIFIER]})`+`(?:\\.(${a[o.XRANGEIDENTIFIER]})`+`(?:${a[o.PRERELEASE]})?${a[o.BUILD]}?`+`)?)?`);c("XRANGEPLAINLOOSE",`[v=\\s]*(${a[o.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${a[o.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${a[o.XRANGEIDENTIFIERLOOSE]})`+`(?:${a[o.PRERELEASELOOSE]})?${a[o.BUILD]}?`+`)?)?`);c("XRANGE",`^${a[o.GTLT]}\\s*${a[o.XRANGEPLAIN]}$`);c("XRANGELOOSE",`^${a[o.GTLT]}\\s*${a[o.XRANGEPLAINLOOSE]}$`);c("COERCE",`${"(^|[^\\d])"+"(\\d{1,"}${r}})`+`(?:\\.(\\d{1,${r}}))?`+`(?:\\.(\\d{1,${r}}))?`+`(?:$|[^\\d])`);c("COERCERTL",a[o.COERCE],true);c("LONETILDE","(?:~>?)");c("TILDETRIM",`(\\s*)${a[o.LONETILDE]}\\s+`,true);t.tildeTrimReplace="$1~";c("TILDE",`^${a[o.LONETILDE]}${a[o.XRANGEPLAIN]}$`);c("TILDELOOSE",`^${a[o.LONETILDE]}${a[o.XRANGEPLAINLOOSE]}$`);c("LONECARET","(?:\\^)");c("CARETTRIM",`(\\s*)${a[o.LONECARET]}\\s+`,true);t.caretTrimReplace="$1^";c("CARET",`^${a[o.LONECARET]}${a[o.XRANGEPLAIN]}$`);c("CARETLOOSE",`^${a[o.LONECARET]}${a[o.XRANGEPLAINLOOSE]}$`);c("COMPARATORLOOSE",`^${a[o.GTLT]}\\s*(${a[o.LOOSEPLAIN]})$|^$`);c("COMPARATOR",`^${a[o.GTLT]}\\s*(${a[o.FULLPLAIN]})$|^$`);c("COMPARATORTRIM",`(\\s*)${a[o.GTLT]}\\s*(${a[o.LOOSEPLAIN]}|${a[o.XRANGEPLAIN]})`,true);t.comparatorTrimReplace="$1$2$3";c("HYPHENRANGE",`^\\s*(${a[o.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${a[o.XRANGEPLAIN]})`+`\\s*$`);c("HYPHENRANGELOOSE",`^\\s*(${a[o.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${a[o.XRANGEPLAINLOOSE]})`+`\\s*$`);c("STAR","(<|>)?=?\\s*\\*")},55832:(e,t,s)=>{"use strict";t.__esModule=true;t.default=void 0;var r=_interopRequireDefault(s(71192));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const i="#__secret_key__@babel/runtime__compatibility";var n=(0,r.default)(({debug:e},t)=>{const{[i]:{useBabelRuntime:s}={}}=t;const r=s?`${s}/regenerator`:"regenerator-runtime";return{name:"regenerator",polyfills:["regenerator-runtime"],usageGlobal(t,s){if(a(t)){e("regenerator-runtime");s.injectGlobalImport("regenerator-runtime/runtime.js")}},usagePure(e,t,s){if(a(e)){s.replaceWith(t.injectDefaultImport(r,"regenerator-runtime"))}}}});t.default=n;const a=e=>e.kind==="global"&&e.name==="regeneratorRuntime"},37185:(e,t,s)=>{"use strict";const r=s(33953);const i=Object.freeze(Object.keys(r));for(const e of i){Object.freeze(r[e])}Object.freeze(r);const n=new Set(["parent","leadingComments","trailingComments"]);function filterKey(e){return!n.has(e)&&e[0]!=="_"}e.exports=Object.freeze({KEYS:r,getKeys(e){return Object.keys(e).filter(filterKey)},unionWith(e){const t=Object.assign({},r);for(const s of Object.keys(e)){if(t.hasOwnProperty(s)){const r=new Set(e[s]);for(const e of t[s]){r.add(e)}t[s]=Object.freeze(Array.from(r))}else{t[s]=Object.freeze(Array.from(e[s]))}}return Object.freeze(t)}})},39283:(e,t,s)=>{var r=s(2125);r.core=s(26226);r.isCore=s(38115);r.sync=s(55284);e.exports=r},2125:(e,t,s)=>{var r=s(35747);var i=s(85622);var n=s(36155);var a=s(1433);var o=s(17990);var l=s(21176);var c=r.realpath&&typeof r.realpath.native==="function"?r.realpath.native:r.realpath;var p=function isFile(e,t){r.stat(e,function(e,s){if(!e){return t(null,s.isFile()||s.isFIFO())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return t(null,false);return t(e)})};var u=function isDirectory(e,t){r.stat(e,function(e,s){if(!e){return t(null,s.isDirectory())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return t(null,false);return t(e)})};var h=function realpath(e,t){c(e,function(s,r){if(s&&s.code!=="ENOENT")t(s);else t(null,s?e:r)})};var f=function maybeRealpath(e,t,s,r){if(s&&s.preserveSymlinks===false){e(t,r)}else{r(null,t)}};var d=function defaultReadPackage(e,t,s){e(t,function(e,t){if(e)s(e);else{try{var r=JSON.parse(t);s(null,r)}catch(e){s(null)}}})};var y=function getPackageCandidates(e,t,s){var r=a(t,s,e);for(var n=0;n{e.exports=function(){var e=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var t=(new Error).stack;Error.prepareStackTrace=e;return t[2].getFileName()}},26226:(e,t,s)=>{var r=process.versions&&process.versions.node&&process.versions.node.split(".")||[];function specifierIncluded(e){var t=e.split(" ");var s=t.length>1?t[0]:"=";var i=(t.length>1?t[1]:t[0]).split(".");for(var n=0;n<3;++n){var a=parseInt(r[n]||0,10);var o=parseInt(i[n]||0,10);if(a===o){continue}if(s==="<"){return a="){return a>=o}else{return false}}return s===">="}function matchesRange(e){var t=e.split(/ ?&& ?/);if(t.length===0){return false}for(var s=0;s{var r=s(21176);e.exports=function isCore(e){return r(e)}},1433:(e,t,s)=>{var r=s(85622);var i=r.parse||s(50731);var n=function getNodeModulesDirs(e,t){var s="/";if(/^([A-Za-z]:)/.test(e)){s=""}else if(/^\\\\/.test(e)){s="\\\\"}var n=[e];var a=i(e);while(a.dir!==n[n.length-1]){n.push(a.dir);a=i(a.dir)}return n.reduce(function(e,i){return e.concat(t.map(function(e){return r.resolve(s,i,e)}))},[])};e.exports=function nodeModulesPaths(e,t,s){var r=t&&t.moduleDirectory?[].concat(t.moduleDirectory):["node_modules"];if(t&&typeof t.paths==="function"){return t.paths(s,e,function(){return n(e,r)},t)}var i=n(e,r);return t&&t.paths?i.concat(t.paths):i}},17990:e=>{e.exports=function(e,t){return t||{}}},55284:(e,t,s)=>{var r=s(21176);var i=s(35747);var n=s(85622);var a=s(36155);var o=s(1433);var l=s(17990);var c=i.realpathSync&&typeof i.realpathSync.native==="function"?i.realpathSync.native:i.realpathSync;var p=function isFile(e){try{var t=i.statSync(e)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return t.isFile()||t.isFIFO()};var u=function isDirectory(e){try{var t=i.statSync(e)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return t.isDirectory()};var h=function realpathSync(e){try{return c(e)}catch(e){if(e.code!=="ENOENT"){throw e}}return e};var f=function maybeRealpathSync(e,t,s){if(s&&s.preserveSymlinks===false){return e(t)}return t};var d=function defaultReadPackageSync(e,t){var s=e(t);try{var r=JSON.parse(s);return r}catch(e){}};var y=function getPackageCandidates(e,t,s){var r=o(t,s,e);for(var i=0;i{"use strict";e.exports=JSON.parse('{"es6.array.copy-within":{"chrome":"45","opera":"32","edge":"12","firefox":"32","safari":"9","node":"4","ios":"9","samsung":"5","electron":"0.31"},"es6.array.every":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.array.fill":{"chrome":"45","opera":"32","edge":"12","firefox":"31","safari":"7.1","node":"4","ios":"8","samsung":"5","electron":"0.31"},"es6.array.filter":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.find":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"7.1","node":"4","ios":"8","samsung":"5","electron":"0.31"},"es6.array.find-index":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"7.1","node":"4","ios":"8","samsung":"5","electron":"0.31"},"es7.array.flat-map":{"chrome":"69","opera":"56","edge":"79","firefox":"62","safari":"12","node":"11","ios":"12","samsung":"10","electron":"4.0"},"es6.array.for-each":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.array.from":{"chrome":"51","opera":"38","edge":"15","firefox":"36","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.array.includes":{"chrome":"47","opera":"34","edge":"14","firefox":"43","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"es6.array.index-of":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.array.is-array":{"chrome":"5","opera":"10.50","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.array.iterator":{"chrome":"66","opera":"53","edge":"12","firefox":"60","safari":"9","node":"10","ios":"9","samsung":"9","electron":"3.0"},"es6.array.last-index-of":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.array.map":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.of":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"9","node":"4","ios":"9","samsung":"5","electron":"0.31"},"es6.array.reduce":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.array.reduce-right":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.array.slice":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.some":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.array.sort":{"chrome":"63","opera":"50","edge":"12","firefox":"5","safari":"12","node":"10","ie":"9","ios":"12","samsung":"8","electron":"3.0"},"es6.array.species":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.date.now":{"chrome":"5","opera":"10.50","edge":"12","firefox":"2","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.date.to-iso-string":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3.5","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.date.to-json":{"chrome":"5","opera":"12.10","edge":"12","firefox":"4","safari":"10","node":"0.10","ie":"9","android":"4","ios":"10","samsung":"1","electron":"0.20"},"es6.date.to-primitive":{"chrome":"47","opera":"34","edge":"15","firefox":"44","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"es6.date.to-string":{"chrome":"5","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"10","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.function.bind":{"chrome":"7","opera":"12","edge":"12","firefox":"4","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.function.has-instance":{"chrome":"51","opera":"38","edge":"15","firefox":"50","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.function.name":{"chrome":"5","opera":"10.50","edge":"14","firefox":"2","safari":"4","node":"0.10","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.map":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.math.acosh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.asinh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.atanh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.cbrt":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.clz32":{"chrome":"38","opera":"25","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"3","electron":"0.20"},"es6.math.cosh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.expm1":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.fround":{"chrome":"38","opera":"25","edge":"12","firefox":"26","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.hypot":{"chrome":"38","opera":"25","edge":"12","firefox":"27","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.imul":{"chrome":"30","opera":"17","edge":"12","firefox":"23","safari":"7","node":"0.12","android":"4.4","ios":"7","samsung":"2","electron":"0.20"},"es6.math.log1p":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.log10":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.log2":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.sign":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"3","electron":"0.20"},"es6.math.sinh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.tanh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.math.trunc":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","electron":"0.20"},"es6.number.constructor":{"chrome":"41","opera":"28","edge":"12","firefox":"36","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.number.epsilon":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.is-finite":{"chrome":"19","opera":"15","edge":"12","firefox":"16","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","electron":"0.20"},"es6.number.is-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"16","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.is-nan":{"chrome":"19","opera":"15","edge":"12","firefox":"15","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","electron":"0.20"},"es6.number.is-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"32","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.max-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.min-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.parse-float":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.number.parse-int":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","electron":"0.20"},"es6.object.assign":{"chrome":"49","opera":"36","edge":"13","firefox":"36","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.object.create":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es7.object.define-getter":{"chrome":"62","opera":"49","edge":"16","firefox":"48","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es7.object.define-setter":{"chrome":"62","opera":"49","edge":"16","firefox":"48","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es6.object.define-property":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.object.define-properties":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es7.object.entries":{"chrome":"54","opera":"41","edge":"14","firefox":"47","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.object.freeze":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"es6.object.get-own-property-descriptor":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"es7.object.get-own-property-descriptors":{"chrome":"54","opera":"41","edge":"15","firefox":"50","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.object.get-own-property-names":{"chrome":"40","opera":"27","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.object.get-prototype-of":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"es7.object.lookup-getter":{"chrome":"62","opera":"49","edge":"79","firefox":"36","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es7.object.lookup-setter":{"chrome":"62","opera":"49","edge":"79","firefox":"36","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es6.object.prevent-extensions":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"es6.object.to-string":{"chrome":"57","opera":"44","edge":"15","firefox":"51","safari":"10","node":"8","ios":"10","samsung":"7","electron":"1.7"},"es6.object.is":{"chrome":"19","opera":"15","edge":"12","firefox":"22","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","electron":"0.20"},"es6.object.is-frozen":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"es6.object.is-sealed":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"es6.object.is-extensible":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"es6.object.keys":{"chrome":"40","opera":"27","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.object.seal":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"es6.object.set-prototype-of":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ie":"11","ios":"9","samsung":"2","electron":"0.20"},"es7.object.values":{"chrome":"54","opera":"41","edge":"14","firefox":"47","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.promise":{"chrome":"51","opera":"38","edge":"14","firefox":"45","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.promise.finally":{"chrome":"63","opera":"50","edge":"18","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"8","electron":"3.0"},"es6.reflect.apply":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.construct":{"chrome":"49","opera":"36","edge":"13","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.define-property":{"chrome":"49","opera":"36","edge":"13","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.delete-property":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get-own-property-descriptor":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get-prototype-of":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.has":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.is-extensible":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.own-keys":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.prevent-extensions":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.set":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.set-prototype-of":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.regexp.constructor":{"chrome":"50","opera":"37","edge":"79","firefox":"40","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.flags":{"chrome":"49","opera":"36","edge":"79","firefox":"37","safari":"9","node":"6","ios":"9","samsung":"5","electron":"0.37"},"es6.regexp.match":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.replace":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.split":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.search":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.to-string":{"chrome":"50","opera":"37","edge":"79","firefox":"39","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.set":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.symbol":{"chrome":"51","opera":"38","edge":"79","firefox":"51","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.symbol.async-iterator":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"es6.string.anchor":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.big":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.blink":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.bold":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.code-point-at":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.ends-with":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.fixed":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.fontcolor":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.fontsize":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.from-code-point":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.includes":{"chrome":"41","opera":"28","edge":"12","firefox":"40","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.italics":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.iterator":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","electron":"0.20"},"es6.string.link":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es7.string.pad-start":{"chrome":"57","opera":"44","edge":"15","firefox":"48","safari":"10","node":"8","ios":"10","samsung":"7","electron":"1.7"},"es7.string.pad-end":{"chrome":"57","opera":"44","edge":"15","firefox":"48","safari":"10","node":"8","ios":"10","samsung":"7","electron":"1.7"},"es6.string.raw":{"chrome":"41","opera":"28","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.repeat":{"chrome":"41","opera":"28","edge":"12","firefox":"24","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.small":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.starts-with":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.21"},"es6.string.strike":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.sub":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.sup":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","electron":"0.20"},"es6.string.trim":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3.5","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es7.string.trim-left":{"chrome":"66","opera":"53","edge":"79","firefox":"61","safari":"12","node":"10","ios":"12","samsung":"9","electron":"3.0"},"es7.string.trim-right":{"chrome":"66","opera":"53","edge":"79","firefox":"61","safari":"12","node":"10","ios":"12","samsung":"9","electron":"3.0"},"es6.typed.array-buffer":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.data-view":{"chrome":"5","opera":"12","edge":"12","firefox":"15","safari":"5.1","node":"0.10","ie":"10","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"es6.typed.int8-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint8-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint8-clamped-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.int16-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint16-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.int32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.float32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.float64-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.weak-map":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"9","node":"6.5","ios":"9","samsung":"5","electron":"1.2"},"es6.weak-set":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"9","node":"6.5","ios":"9","samsung":"5","electron":"1.2"}}')},66059:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"48","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},38209:e=>{"use strict";e.exports=JSON.parse('{"proposal-class-static-block":{"chrome":"91","electron":"13.0"},"proposal-private-property-in-object":{"chrome":"91","firefox":"90","electron":"13.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","samsung":"11","electron":"6.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","electron":"10.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","ios":"13","samsung":"11","electron":"6.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","ios":"14","electron":"10.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.0"},"proposal-optional-chaining":{"firefox":"74","safari":"13.1","ios":"13.4"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","ios":"12","samsung":"9","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","ios":"11.3","samsung":"8","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","ios":"11.3","samsung":"8","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","ios":"13","samsung":"3.4","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"45","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","ie":"11","ios":"10","samsung":"3.4","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","ios":"8","samsung":"4","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","ios":"12","samsung":"5","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-block-scoping":{"chrome":"49","opera":"36","edge":"14","firefox":"51","safari":"11","node":"6","ios":"11","samsung":"5","electron":"0.37"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"41","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4.4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"proposal-export-namespace-from":{"chrome":"72","and_chr":"72","edge":"79","firefox":"80","and_ff":"80","node":"13.2","opera":"60","op_mob":"51","samsung":"11.0","android":"72","electron":"5.0"}}')},78046:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t})}webpackEmptyAsyncContext.keys=(()=>[]);webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=78046;e.exports=webpackEmptyAsyncContext},75954:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"48","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},85331:e=>{"use strict";e.exports=JSON.parse('{"proposal-class-static-block":{"chrome":"91","electron":"13.0"},"proposal-private-property-in-object":{"chrome":"91","firefox":"90","electron":"13.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","samsung":"11","electron":"6.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","electron":"10.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","ios":"13","samsung":"11","electron":"6.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","ios":"14","electron":"10.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.0"},"proposal-optional-chaining":{"firefox":"74","safari":"13.1","ios":"13.4"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","ios":"12","samsung":"9","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","ios":"11.3","samsung":"8","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","ios":"11.3","samsung":"8","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","ios":"13","samsung":"3.4","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"45","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","ie":"11","ios":"10","samsung":"3.4","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","ios":"8","samsung":"4","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","ios":"12","samsung":"5","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-block-scoping":{"chrome":"49","opera":"36","edge":"14","firefox":"51","safari":"11","node":"6","ios":"11","samsung":"5","electron":"0.37"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"41","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4.4","ios":"6","phantom":"2","samsung":"1","electron":"0.20"},"proposal-export-namespace-from":{"chrome":"72","and_chr":"72","edge":"79","firefox":"80","and_ff":"80","node":"13.2","opera":"60","op_mob":"51","samsung":"11.0","android":"72","electron":"5.0"}}')},21518:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t})}webpackEmptyAsyncContext.keys=(()=>[]);webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=21518;e.exports=webpackEmptyAsyncContext},61610:e=>{"use strict";e.exports=JSON.parse('{"es.symbol":{"android":"49","chrome":"49","edge":"15","electron":"0.37","firefox":"51","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.symbol.description":{"android":"70","chrome":"70","edge":"74","electron":"5.0","firefox":"63","ios":"12.2","node":"11.0","opera":"57","opera_mobile":"49","safari":"12.1","samsung":"10.0"},"es.symbol.async-iterator":{"android":"63","chrome":"63","edge":"74","electron":"3.0","firefox":"55","ios":"12.0","node":"10.0","opera":"50","opera_mobile":"46","safari":"12.0","samsung":"8.0"},"es.symbol.has-instance":{"android":"50","chrome":"50","edge":"15","electron":"1.1","firefox":"49","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.symbol.is-concat-spreadable":{"android":"48","chrome":"48","edge":"15","electron":"0.37","firefox":"48","ios":"10.0","node":"6.0","opera":"35","opera_mobile":"35","safari":"10.0","samsung":"5.0"},"es.symbol.iterator":{"android":"41","chrome":"41","edge":"13","electron":"0.21","firefox":"36","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","safari":"9.0","samsung":"3.4"},"es.symbol.match":{"android":"50","chrome":"50","edge":"74","electron":"1.1","firefox":"40","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.symbol.match-all":{"android":"73","chrome":"73","edge":"74","electron":"5.0","firefox":"67","ios":"13.0","node":"12.0","opera":"60","opera_mobile":"52","safari":"13","samsung":"11.0"},"es.symbol.replace":{"android":"50","chrome":"50","edge":"74","electron":"1.1","firefox":"49","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.symbol.search":{"android":"50","chrome":"50","edge":"74","electron":"1.1","firefox":"49","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.symbol.species":{"android":"51","chrome":"51","edge":"13","electron":"1.2","firefox":"41","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.symbol.split":{"android":"50","chrome":"50","edge":"74","electron":"1.1","firefox":"49","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.symbol.to-primitive":{"android":"47","chrome":"47","edge":"15","electron":"0.36","firefox":"44","ios":"10.0","node":"6.0","opera":"34","opera_mobile":"34","safari":"10.0","samsung":"5.0"},"es.symbol.to-string-tag":{"android":"49","chrome":"49","edge":"15","electron":"0.37","firefox":"51","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.symbol.unscopables":{"android":"41","chrome":"41","edge":"13","electron":"0.21","firefox":"48","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","safari":"9.0","samsung":"3.4"},"es.aggregate-error":{"android":"85","chrome":"85","edge":"85","electron":"10.0","firefox":"79","ios":"14.0","node":"15.0","opera":"71","opera_mobile":"60","safari":"14.0","samsung":"14.0"},"es.array.concat":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"48","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.copy-within":{"android":"45","chrome":"45","edge":"12","electron":"0.31","firefox":"48","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.every":{"android":"4.4","chrome":"26","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"9.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"8.0","samsung":"1.5"},"es.array.fill":{"android":"45","chrome":"45","edge":"12","electron":"0.31","firefox":"48","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.filter":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"48","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.find":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"48","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.find-index":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"48","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.flat":{"android":"69","chrome":"69","edge":"74","electron":"4.0","firefox":"62","ios":"12.0","node":"11.0","opera":"56","opera_mobile":"48","safari":"12.0","samsung":"10.0"},"es.array.flat-map":{"android":"69","chrome":"69","edge":"74","electron":"4.0","firefox":"62","ios":"12.0","node":"11.0","opera":"56","opera_mobile":"48","safari":"12.0","samsung":"10.0"},"es.array.for-each":{"android":"4.4","chrome":"26","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"9.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"8.0","samsung":"1.5"},"es.array.from":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"53","ios":"9.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"9.0","samsung":"5.0"},"es.array.includes":{"android":"53","chrome":"53","edge":"14","electron":"1.4","firefox":"48","ios":"10.0","node":"7.0","opera":"40","opera_mobile":"40","safari":"10.0","samsung":"6.0"},"es.array.index-of":{"android":"51","chrome":"51","edge":"12","electron":"1.2","firefox":"4","ie":"9","ios":"9.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"8.0","samsung":"5.0"},"es.array.is-array":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"3.2","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"4.0","samsung":"1.0"},"es.array.iterator":{"android":"66","chrome":"66","edge":"15","electron":"3.0","firefox":"60","ios":"10.0","node":"10.0","opera":"53","opera_mobile":"47","safari":"10.0","samsung":"9.0"},"es.array.join":{"android":"4.4","chrome":"26","edge":"13","electron":"0.20","firefox":"4","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"7.1","samsung":"1.5"},"es.array.last-index-of":{"android":"51","chrome":"51","edge":"12","electron":"1.2","firefox":"4","ie":"9","ios":"9.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"8.0","samsung":"5.0"},"es.array.map":{"android":"51","chrome":"51","edge":"13","electron":"1.2","firefox":"50","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.of":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"25","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.reduce":{"android":"83","chrome":"83","edge":"12","electron":"9.0","firefox":"4","ie":"9","ios":"9.0","node":"6.0","opera":"69","opera_mobile":"59","safari":"8.0","samsung":"13.0"},"es.array.reduce-right":{"android":"83","chrome":"83","edge":"12","electron":"9.0","firefox":"4","ie":"9","ios":"9.0","node":"6.0","opera":"69","opera_mobile":"59","safari":"8.0","samsung":"13.0"},"es.array.reverse":{"android":"3.0","chrome":"1","edge":"12","electron":"0.20","firefox":"1","ie":"5.5","ios":"12.2","node":"0.0.3","opera":"10.50","opera_mobile":"10.50","safari":"12.0.2","samsung":"1.0"},"es.array.slice":{"android":"51","chrome":"51","edge":"13","electron":"1.2","firefox":"48","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.some":{"android":"4.4","chrome":"26","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"9.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"8.0","samsung":"1.5"},"es.array.sort":{"android":"70","chrome":"70","edge":"74","electron":"5.0","firefox":"4","ios":"12.0","node":"11.0","opera":"57","opera_mobile":"49","safari":"12.0","samsung":"10.0"},"es.array.species":{"android":"51","chrome":"51","edge":"13","electron":"1.2","firefox":"48","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.splice":{"android":"51","chrome":"51","edge":"13","electron":"1.2","firefox":"49","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.unscopables.flat":{"android":"73","chrome":"73","edge":"74","electron":"5.0","firefox":"67","ios":"13.0","node":"12.0","opera":"60","opera_mobile":"52","safari":"13","samsung":"11.0"},"es.array.unscopables.flat-map":{"android":"73","chrome":"73","edge":"74","electron":"5.0","firefox":"67","ios":"13.0","node":"12.0","opera":"60","opera_mobile":"52","safari":"13","samsung":"11.0"},"es.array-buffer.constructor":{"android":"4.4","chrome":"26","edge":"14","electron":"0.20","firefox":"44","ios":"12.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"12.0","samsung":"1.5"},"es.array-buffer.is-view":{"android":"4.4.3","chrome":"32","edge":"12","electron":"0.20","firefox":"29","ie":"11","ios":"8.0","node":"0.11.9","opera":"19","opera_mobile":"19","safari":"7.1","samsung":"2.0"},"es.array-buffer.slice":{"android":"4.4.3","chrome":"31","edge":"12","electron":"0.20","firefox":"46","ie":"11","ios":"12.2","node":"0.11.8","opera":"18","opera_mobile":"18","safari":"12.1","samsung":"2.0"},"es.data-view":{"android":"4.4","chrome":"26","edge":"12","electron":"0.20","firefox":"15","ie":"10","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"7.1","samsung":"1.5"},"es.date.now":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ie":"9","ios":"3.2","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"4.0","samsung":"1.0"},"es.date.to-iso-string":{"android":"4.4","chrome":"26","edge":"12","electron":"0.20","firefox":"7","ie":"9","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"7.1","samsung":"1.5"},"es.date.to-json":{"android":"4.4","chrome":"26","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"10.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"10.0","samsung":"1.5"},"es.date.to-primitive":{"android":"47","chrome":"47","edge":"15","electron":"0.36","firefox":"44","ios":"10.0","node":"6.0","opera":"34","opera_mobile":"34","safari":"10.0","samsung":"5.0"},"es.date.to-string":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ie":"9","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.function.bind":{"android":"3.0","chrome":"7","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"5.1","node":"0.1.101","opera":"12","opera_mobile":"12","phantom":"2.0","safari":"5.1","samsung":"1.0"},"es.function.has-instance":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"50","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.function.name":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"3.2","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"4.0","samsung":"1.0"},"es.global-this":{"android":"71","chrome":"71","edge":"74","electron":"5.0","firefox":"65","ios":"12.2","node":"12.0","opera":"58","opera_mobile":"50","safari":"12.1","samsung":"10.0"},"es.json.stringify":{"android":"72","chrome":"72","edge":"74","electron":"5.0","firefox":"64","ios":"12.2","node":"12.0","opera":"59","opera_mobile":"51","safari":"12.1","samsung":"11.0"},"es.json.to-string-tag":{"android":"50","chrome":"50","edge":"15","electron":"1.1","firefox":"51","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.map":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"53","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.math.acosh":{"android":"54","chrome":"54","edge":"13","electron":"1.4","firefox":"25","ios":"8.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"7.1","samsung":"6.0"},"es.math.asinh":{"android":"38","chrome":"38","edge":"13","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.math.atanh":{"android":"38","chrome":"38","edge":"13","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.math.cbrt":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.math.clz32":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"31","ios":"9.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"9.0","samsung":"3.0"},"es.math.cosh":{"android":"39","chrome":"39","edge":"13","electron":"0.20","firefox":"25","ios":"8.0","node":"1.0","opera":"26","opera_mobile":"26","safari":"7.1","samsung":"3.4"},"es.math.expm1":{"android":"39","chrome":"39","edge":"13","electron":"0.20","firefox":"46","ios":"8.0","node":"1.0","opera":"26","opera_mobile":"26","safari":"7.1","samsung":"3.4"},"es.math.fround":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"26","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.math.hypot":{"android":"78","chrome":"78","edge":"12","electron":"7.0","firefox":"27","ios":"8.0","node":"13.0","opera":"65","opera_mobile":"56","safari":"7.1","samsung":"12.0"},"es.math.imul":{"android":"4.4","chrome":"28","edge":"13","electron":"0.20","firefox":"20","ios":"9.0","node":"0.11.1","opera":"16","opera_mobile":"16","safari":"9.0","samsung":"1.5"},"es.math.log10":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.math.log1p":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.math.log2":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.math.sign":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"25","ios":"9.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"9.0","samsung":"3.0"},"es.math.sinh":{"android":"39","chrome":"39","edge":"13","electron":"0.20","firefox":"25","ios":"8.0","node":"1.0","opera":"26","opera_mobile":"26","safari":"7.1","samsung":"3.4"},"es.math.tanh":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.math.to-string-tag":{"android":"50","chrome":"50","edge":"15","electron":"1.1","firefox":"51","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.math.trunc":{"android":"38","chrome":"38","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","safari":"7.1","samsung":"3.0"},"es.number.constructor":{"android":"41","chrome":"41","edge":"13","electron":"0.21","firefox":"46","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","safari":"9.0","samsung":"3.4"},"es.number.epsilon":{"android":"37","chrome":"34","edge":"12","electron":"0.20","firefox":"25","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","safari":"9.0","samsung":"2.0"},"es.number.is-finite":{"android":"4.1","chrome":"19","edge":"12","electron":"0.20","firefox":"16","ios":"9.0","node":"0.7.3","opera":"15","opera_mobile":"15","safari":"9.0","samsung":"1.5"},"es.number.is-integer":{"android":"37","chrome":"34","edge":"12","electron":"0.20","firefox":"16","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","safari":"9.0","samsung":"2.0"},"es.number.is-nan":{"android":"4.1","chrome":"19","edge":"12","electron":"0.20","firefox":"15","ios":"9.0","node":"0.7.3","opera":"15","opera_mobile":"15","safari":"9.0","samsung":"1.5"},"es.number.is-safe-integer":{"android":"37","chrome":"34","edge":"12","electron":"0.20","firefox":"32","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","safari":"9.0","samsung":"2.0"},"es.number.max-safe-integer":{"android":"37","chrome":"34","edge":"12","electron":"0.20","firefox":"31","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","safari":"9.0","samsung":"2.0"},"es.number.min-safe-integer":{"android":"37","chrome":"34","edge":"12","electron":"0.20","firefox":"31","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","safari":"9.0","samsung":"2.0"},"es.number.parse-float":{"android":"37","chrome":"35","edge":"13","electron":"0.20","firefox":"39","ios":"11.0","node":"0.11.13","opera":"22","opera_mobile":"22","safari":"11.0","samsung":"3.0"},"es.number.parse-int":{"android":"37","chrome":"35","edge":"13","electron":"0.20","firefox":"39","ios":"9.0","node":"0.11.13","opera":"22","opera_mobile":"22","safari":"9.0","samsung":"3.0"},"es.number.to-fixed":{"android":"4.4","chrome":"26","edge":"74","electron":"0.20","firefox":"4","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"7.1","samsung":"1.5"},"es.number.to-precision":{"android":"4.4","chrome":"26","edge":"12","electron":"0.20","firefox":"4","ie":"8","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"7.1","samsung":"1.5"},"es.object.assign":{"android":"49","chrome":"49","edge":"74","electron":"0.37","firefox":"36","ios":"9.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"9.0","samsung":"5.0"},"es.object.create":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"3.2","node":"0.1.27","opera":"12","opera_mobile":"12","phantom":"1.9","safari":"4.0","samsung":"1.0"},"es.object.define-getter":{"android":"62","chrome":"62","edge":"16","electron":"3.0","firefox":"48","ios":"8.0","node":"8.10","opera":"49","opera_mobile":"46","safari":"7.1","samsung":"8.0"},"es.object.define-properties":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"5.1","node":"0.1.27","opera":"12","opera_mobile":"12","phantom":"2.0","safari":"5.1","samsung":"1.0"},"es.object.define-property":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"5.1","node":"0.1.27","opera":"12","opera_mobile":"12","phantom":"2.0","safari":"5.1","samsung":"1.0"},"es.object.define-setter":{"android":"62","chrome":"62","edge":"16","electron":"3.0","firefox":"48","ios":"8.0","node":"8.10","opera":"49","opera_mobile":"46","safari":"7.1","samsung":"8.0"},"es.object.entries":{"android":"54","chrome":"54","edge":"14","electron":"1.4","firefox":"47","ios":"10.3","node":"7.0","opera":"41","opera_mobile":"41","safari":"10.1","samsung":"6.0"},"es.object.freeze":{"android":"44","chrome":"44","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","safari":"9.0","samsung":"4.0"},"es.object.from-entries":{"android":"73","chrome":"73","edge":"74","electron":"5.0","firefox":"63","ios":"12.2","node":"12.0","opera":"60","opera_mobile":"52","safari":"12.1","samsung":"11.0"},"es.object.get-own-property-descriptor":{"android":"44","chrome":"44","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","safari":"9.0","samsung":"4.0"},"es.object.get-own-property-descriptors":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"50","ios":"10.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"10.0","samsung":"6.0"},"es.object.get-own-property-names":{"android":"40","chrome":"40","edge":"13","electron":"0.21","firefox":"34","ios":"9.0","node":"1.0","opera":"27","opera_mobile":"27","safari":"9.0","samsung":"3.4"},"es.object.get-prototype-of":{"android":"44","chrome":"44","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","safari":"9.0","samsung":"4.0"},"es.object.is":{"android":"4.1","chrome":"19","edge":"12","electron":"0.20","firefox":"22","ios":"9.0","node":"0.7.3","opera":"15","opera_mobile":"15","safari":"9.0","samsung":"1.5"},"es.object.is-extensible":{"android":"44","chrome":"44","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","safari":"9.0","samsung":"4.0"},"es.object.is-frozen":{"android":"44","chrome":"44","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","safari":"9.0","samsung":"4.0"},"es.object.is-sealed":{"android":"44","chrome":"44","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","safari":"9.0","samsung":"4.0"},"es.object.keys":{"android":"40","chrome":"40","edge":"13","electron":"0.21","firefox":"35","ios":"9.0","node":"1.0","opera":"27","opera_mobile":"27","safari":"9.0","samsung":"3.4"},"es.object.lookup-getter":{"android":"62","chrome":"62","edge":"16","electron":"3.0","firefox":"48","ios":"8.0","node":"8.10","opera":"49","opera_mobile":"46","safari":"7.1","samsung":"8.0"},"es.object.lookup-setter":{"android":"62","chrome":"62","edge":"16","electron":"3.0","firefox":"48","ios":"8.0","node":"8.10","opera":"49","opera_mobile":"46","safari":"7.1","samsung":"8.0"},"es.object.prevent-extensions":{"android":"44","chrome":"44","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","safari":"9.0","samsung":"4.0"},"es.object.seal":{"android":"44","chrome":"44","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","safari":"9.0","samsung":"4.0"},"es.object.set-prototype-of":{"android":"37","chrome":"34","edge":"12","electron":"0.20","firefox":"31","ie":"11","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","safari":"9.0","samsung":"2.0"},"es.object.to-string":{"android":"49","chrome":"49","edge":"15","electron":"0.37","firefox":"51","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.object.values":{"android":"54","chrome":"54","edge":"14","electron":"1.4","firefox":"47","ios":"10.3","node":"7.0","opera":"41","opera_mobile":"41","safari":"10.1","samsung":"6.0"},"es.parse-float":{"android":"37","chrome":"35","edge":"12","electron":"0.20","firefox":"8","ie":"8","ios":"8.0","node":"0.11.13","opera":"22","opera_mobile":"22","safari":"7.1","samsung":"3.0"},"es.parse-int":{"android":"37","chrome":"35","edge":"12","electron":"0.20","firefox":"21","ie":"9","ios":"8.0","node":"0.11.13","opera":"22","opera_mobile":"22","safari":"7.1","samsung":"3.0"},"es.promise":{"android":"67","chrome":"67","edge":"74","electron":"4.0","firefox":"69","ios":"11.0","node":"10.4","opera":"54","opera_mobile":"48","safari":"11.0","samsung":"9.0"},"es.promise.all-settled":{"android":"76","chrome":"76","edge":"76","electron":"6.0","firefox":"71","ios":"13.0","node":"12.9","opera":"63","opera_mobile":"54","safari":"13","samsung":"12.0"},"es.promise.any":{"android":"85","chrome":"85","edge":"85","electron":"10.0","firefox":"79","ios":"14.0","node":"15.0","opera":"71","opera_mobile":"60","safari":"14.0","samsung":"14.0"},"es.promise.finally":{"android":"67","chrome":"67","edge":"74","electron":"4.0","firefox":"69","ios":"13.2.3","node":"10.4","opera":"54","opera_mobile":"48","safari":"13.0.3","samsung":"9.0"},"es.reflect.apply":{"android":"49","chrome":"49","edge":"15","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.construct":{"android":"49","chrome":"49","edge":"15","electron":"0.37","firefox":"44","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.define-property":{"android":"49","chrome":"49","edge":"13","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.delete-property":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.get":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.get-own-property-descriptor":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.get-prototype-of":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.has":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.is-extensible":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.own-keys":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.prevent-extensions":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.set":{"android":"49","chrome":"49","edge":"74","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.set-prototype-of":{"android":"49","chrome":"49","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.to-string-tag":{"android":"86","chrome":"86","edge":"86","electron":"11.0","firefox":"82","ios":"14.0","node":"15.0","opera":"72","opera_mobile":"61","safari":"14.0","samsung":"14.0"},"es.regexp.constructor":{"android":"51","chrome":"51","edge":"74","electron":"1.2","firefox":"49","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.regexp.exec":{"android":"4.4","chrome":"26","edge":"13","electron":"0.20","firefox":"44","ios":"10.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"10.0","samsung":"1.5"},"es.regexp.flags":{"android":"49","chrome":"49","edge":"74","electron":"0.37","firefox":"37","ios":"9.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"9.0","samsung":"5.0"},"es.regexp.sticky":{"android":"49","chrome":"49","edge":"13","electron":"0.37","firefox":"3","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.regexp.test":{"android":"51","chrome":"51","edge":"74","electron":"1.2","firefox":"46","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.regexp.to-string":{"android":"50","chrome":"50","edge":"74","electron":"1.1","firefox":"46","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.set":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"53","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.code-point-at":{"android":"41","chrome":"41","edge":"13","electron":"0.21","firefox":"29","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","safari":"9.0","samsung":"3.4"},"es.string.ends-with":{"android":"51","chrome":"51","edge":"74","electron":"1.2","firefox":"40","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.from-code-point":{"android":"41","chrome":"41","edge":"13","electron":"0.21","firefox":"29","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","safari":"9.0","samsung":"3.4"},"es.string.includes":{"android":"51","chrome":"51","edge":"74","electron":"1.2","firefox":"40","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.iterator":{"android":"41","chrome":"41","edge":"13","electron":"0.21","firefox":"36","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","safari":"9.0","samsung":"3.4"},"es.string.match":{"android":"51","chrome":"51","edge":"74","electron":"1.2","firefox":"49","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.match-all":{"android":"80","chrome":"80","edge":"80","electron":"8.0","firefox":"73","ios":"13.4","node":"14.0","opera":"67","opera_mobile":"57","safari":"13.1","samsung":"13.0"},"es.string.pad-end":{"android":"57","chrome":"57","edge":"15","electron":"1.7","firefox":"48","ios":"11.0","node":"8.0","opera":"44","opera_mobile":"43","safari":"11.0","samsung":"7.0"},"es.string.pad-start":{"android":"57","chrome":"57","edge":"15","electron":"1.7","firefox":"48","ios":"11.0","node":"8.0","opera":"44","opera_mobile":"43","safari":"11.0","samsung":"7.0"},"es.string.raw":{"android":"41","chrome":"41","edge":"13","electron":"0.21","firefox":"34","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","safari":"9.0","samsung":"3.4"},"es.string.repeat":{"android":"41","chrome":"41","edge":"13","electron":"0.21","firefox":"24","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","safari":"9.0","samsung":"3.4"},"es.string.replace":{"android":"64","chrome":"64","edge":"74","electron":"3.0","firefox":"78","ios":"14.0","node":"10.0","opera":"51","opera_mobile":"47","safari":"14.0","samsung":"9.0"},"es.string.replace-all":{"android":"85","chrome":"85","edge":"85","electron":"10.0","firefox":"77","ios":"13.4","node":"15.0","opera":"71","opera_mobile":"60","safari":"13.1","samsung":"14.0"},"es.string.search":{"android":"51","chrome":"51","edge":"74","electron":"1.2","firefox":"49","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.split":{"android":"54","chrome":"54","edge":"74","electron":"1.4","firefox":"49","ios":"10.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"10.0","samsung":"6.0"},"es.string.starts-with":{"android":"51","chrome":"51","edge":"74","electron":"1.2","firefox":"40","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.trim":{"android":"59","chrome":"59","edge":"15","electron":"1.8","firefox":"52","ios":"12.2","node":"8.3","opera":"46","opera_mobile":"43","safari":"12.1","samsung":"7.0"},"es.string.trim-end":{"android":"66","chrome":"66","edge":"74","electron":"3.0","firefox":"61","ios":"12.2","node":"10.0","opera":"53","opera_mobile":"47","safari":"12.1","samsung":"9.0"},"es.string.trim-start":{"android":"66","chrome":"66","edge":"74","electron":"3.0","firefox":"61","ios":"12.0","node":"10.0","opera":"53","opera_mobile":"47","safari":"12.0","samsung":"9.0"},"es.string.anchor":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"17","ios":"6.0","node":"0.1.27","opera":"15","opera_mobile":"15","phantom":"2.0","safari":"6.0","samsung":"1.0"},"es.string.big":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.string.blink":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.string.bold":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.string.fixed":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.string.fontcolor":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"17","ios":"6.0","node":"0.1.27","opera":"15","opera_mobile":"15","phantom":"2.0","safari":"6.0","samsung":"1.0"},"es.string.fontsize":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"17","ios":"6.0","node":"0.1.27","opera":"15","opera_mobile":"15","phantom":"2.0","safari":"6.0","samsung":"1.0"},"es.string.italics":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.string.link":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"17","ios":"6.0","node":"0.1.27","opera":"15","opera_mobile":"15","phantom":"2.0","safari":"6.0","samsung":"1.0"},"es.string.small":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.string.strike":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.string.sub":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.string.sup":{"android":"3.0","chrome":"5","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","safari":"3.1","samsung":"1.0"},"es.typed-array.float32-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.float64-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.int8-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.int16-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.int32-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.uint8-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.uint8-clamped-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.uint16-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.uint32-array":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.copy-within":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"34","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.every":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.fill":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.filter":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"38","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.find":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.find-index":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.for-each":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"38","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.from":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.includes":{"android":"49","chrome":"49","edge":"14","electron":"0.37","firefox":"43","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.typed-array.index-of":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.iterator":{"android":"47","chrome":"47","edge":"13","electron":"0.36","firefox":"37","ios":"10.0","node":"6.0","opera":"34","opera_mobile":"34","safari":"10.0","samsung":"5.0"},"es.typed-array.join":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.last-index-of":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.map":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"38","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.of":{"android":"54","chrome":"54","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.reduce":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.reduce-right":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.reverse":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.set":{"android":"4.4","chrome":"26","edge":"13","electron":"0.20","firefox":"15","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"7.1","samsung":"1.5"},"es.typed-array.slice":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"38","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.some":{"android":"45","chrome":"45","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.sort":{"android":"74","chrome":"74","edge":"74","electron":"6.0","firefox":"67","ios":"14.5","node":"12.0","opera":"61","opera_mobile":"53","safari":"14.1","samsung":"11.0"},"es.typed-array.subarray":{"android":"4.4","chrome":"26","edge":"13","electron":"0.20","firefox":"15","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"7.1","samsung":"1.5"},"es.typed-array.to-locale-string":{"android":"45","chrome":"45","edge":"74","electron":"0.31","firefox":"51","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.to-string":{"android":"51","chrome":"51","edge":"13","electron":"1.2","firefox":"51","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.weak-map":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"53","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.weak-set":{"android":"51","chrome":"51","edge":"15","electron":"1.2","firefox":"53","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"esnext.aggregate-error":{"android":"85","chrome":"85","edge":"85","electron":"10.0","firefox":"79","ios":"14.0","node":"15.0","opera":"71","opera_mobile":"60","safari":"14.0","samsung":"14.0"},"esnext.array.at":{"android":"92","chrome":"92","edge":"92","electron":"14.0","opera":"78"},"esnext.array.filter-out":{},"esnext.array.find-last":{},"esnext.array.find-last-index":{},"esnext.array.is-template-object":{},"esnext.array.last-index":{},"esnext.array.last-item":{},"esnext.array.unique-by":{},"esnext.async-iterator.constructor":{},"esnext.async-iterator.as-indexed-pairs":{},"esnext.async-iterator.drop":{},"esnext.async-iterator.every":{},"esnext.async-iterator.filter":{},"esnext.async-iterator.find":{},"esnext.async-iterator.flat-map":{},"esnext.async-iterator.for-each":{},"esnext.async-iterator.from":{},"esnext.async-iterator.map":{},"esnext.async-iterator.reduce":{},"esnext.async-iterator.some":{},"esnext.async-iterator.take":{},"esnext.async-iterator.to-array":{},"esnext.bigint.range":{},"esnext.composite-key":{},"esnext.composite-symbol":{},"esnext.global-this":{"android":"71","chrome":"71","edge":"74","electron":"5.0","firefox":"65","ios":"12.2","node":"12.0","opera":"58","opera_mobile":"50","safari":"12.1","samsung":"10.0"},"esnext.iterator.constructor":{},"esnext.iterator.as-indexed-pairs":{},"esnext.iterator.drop":{},"esnext.iterator.every":{},"esnext.iterator.filter":{},"esnext.iterator.find":{},"esnext.iterator.flat-map":{},"esnext.iterator.for-each":{},"esnext.iterator.from":{},"esnext.iterator.map":{},"esnext.iterator.reduce":{},"esnext.iterator.some":{},"esnext.iterator.take":{},"esnext.iterator.to-array":{},"esnext.map.delete-all":{},"esnext.map.emplace":{},"esnext.map.every":{},"esnext.map.filter":{},"esnext.map.find":{},"esnext.map.find-key":{},"esnext.map.from":{},"esnext.map.group-by":{},"esnext.map.includes":{},"esnext.map.key-by":{},"esnext.map.key-of":{},"esnext.map.map-keys":{},"esnext.map.map-values":{},"esnext.map.merge":{},"esnext.map.of":{},"esnext.map.reduce":{},"esnext.map.some":{},"esnext.map.update":{},"esnext.map.update-or-insert":{},"esnext.map.upsert":{},"esnext.math.clamp":{},"esnext.math.deg-per-rad":{},"esnext.math.degrees":{},"esnext.math.fscale":{},"esnext.math.iaddh":{},"esnext.math.imulh":{},"esnext.math.isubh":{},"esnext.math.rad-per-deg":{},"esnext.math.radians":{},"esnext.math.scale":{},"esnext.math.seeded-prng":{},"esnext.math.signbit":{},"esnext.math.umulh":{},"esnext.number.from-string":{},"esnext.number.range":{},"esnext.object.has-own":{},"esnext.object.iterate-entries":{},"esnext.object.iterate-keys":{},"esnext.object.iterate-values":{},"esnext.observable":{},"esnext.promise.all-settled":{"android":"76","chrome":"76","edge":"76","electron":"6.0","firefox":"71","ios":"13.0","node":"12.9","opera":"63","opera_mobile":"54","safari":"13","samsung":"12.0"},"esnext.promise.any":{"android":"85","chrome":"85","edge":"85","electron":"10.0","firefox":"79","ios":"14.0","node":"15.0","opera":"71","opera_mobile":"60","safari":"14.0","samsung":"14.0"},"esnext.promise.try":{},"esnext.reflect.define-metadata":{},"esnext.reflect.delete-metadata":{},"esnext.reflect.get-metadata":{},"esnext.reflect.get-metadata-keys":{},"esnext.reflect.get-own-metadata":{},"esnext.reflect.get-own-metadata-keys":{},"esnext.reflect.has-metadata":{},"esnext.reflect.has-own-metadata":{},"esnext.reflect.metadata":{},"esnext.set.add-all":{},"esnext.set.delete-all":{},"esnext.set.difference":{},"esnext.set.every":{},"esnext.set.filter":{},"esnext.set.find":{},"esnext.set.from":{},"esnext.set.intersection":{},"esnext.set.is-disjoint-from":{},"esnext.set.is-subset-of":{},"esnext.set.is-superset-of":{},"esnext.set.join":{},"esnext.set.map":{},"esnext.set.of":{},"esnext.set.reduce":{},"esnext.set.some":{},"esnext.set.symmetric-difference":{},"esnext.set.union":{},"esnext.string.at":{},"esnext.string.code-points":{},"esnext.string.match-all":{"android":"80","chrome":"80","edge":"80","electron":"8.0","firefox":"73","ios":"13.4","node":"14.0","opera":"67","opera_mobile":"57","safari":"13.1","samsung":"13.0"},"esnext.string.replace-all":{"android":"85","chrome":"85","edge":"85","electron":"10.0","firefox":"77","ios":"13.4","node":"15.0","opera":"71","opera_mobile":"60","safari":"13.1","samsung":"14.0"},"esnext.symbol.async-dispose":{},"esnext.symbol.dispose":{},"esnext.symbol.matcher":{},"esnext.symbol.metadata":{},"esnext.symbol.observable":{},"esnext.symbol.pattern-match":{},"esnext.symbol.replace-all":{},"esnext.typed-array.at":{"android":"92","chrome":"92","edge":"92","electron":"14.0","opera":"78"},"esnext.typed-array.filter-out":{},"esnext.typed-array.find-last":{},"esnext.typed-array.find-last-index":{},"esnext.typed-array.unique-by":{},"esnext.weak-map.delete-all":{},"esnext.weak-map.from":{},"esnext.weak-map.of":{},"esnext.weak-map.emplace":{},"esnext.weak-map.upsert":{},"esnext.weak-set.add-all":{},"esnext.weak-set.delete-all":{},"esnext.weak-set.from":{},"esnext.weak-set.of":{},"web.dom-collections.for-each":{"android":"58","chrome":"58","edge":"16","electron":"1.7","firefox":"50","ios":"10.0","node":"0.0.1","opera":"45","opera_mobile":"43","safari":"10.0","samsung":"7.0"},"web.dom-collections.iterator":{"android":"66","chrome":"66","edge":"74","electron":"3.0","firefox":"60","ios":"13.4","node":"0.0.1","opera":"53","opera_mobile":"47","safari":"13.1","samsung":"9.0"},"web.immediate":{"ie":"10","node":"0.9.1"},"web.queue-microtask":{"android":"71","chrome":"71","edge":"74","electron":"5.0","firefox":"69","ios":"12.2","node":"12.0","opera":"58","opera_mobile":"50","safari":"12.1","samsung":"10.0"},"web.timers":{"android":"1.5","chrome":"1","edge":"12","electron":"0.20","firefox":"1","ie":"10","ios":"1.0","node":"0.0.1","opera":"7","opera_mobile":"7","phantom":"1.9","safari":"1.0","samsung":"1.0"},"web.url":{"android":"67","chrome":"67","edge":"74","electron":"4.0","firefox":"57","ios":"14.0","node":"10.0","opera":"54","opera_mobile":"48","safari":"14.0","samsung":"9.0"},"web.url.to-json":{"android":"71","chrome":"71","edge":"74","electron":"5.0","firefox":"57","ios":"14.0","node":"10.0","opera":"58","opera_mobile":"50","safari":"14.0","samsung":"10.0"},"web.url-search-params":{"android":"67","chrome":"67","edge":"74","electron":"4.0","firefox":"57","ios":"14.0","node":"10.0","opera":"54","opera_mobile":"48","safari":"14.0","samsung":"9.0"}}')},98742:e=>{"use strict";e.exports=JSON.parse('{"core-js":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.aggregate-error","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.weak-map","es.weak-set","esnext.aggregate-error","esnext.array.at","esnext.array.filter-out","esnext.array.find-last","esnext.array.find-last-index","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.unique-by","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.dom-collections.for-each","web.dom-collections.iterator","web.immediate","web.queue-microtask","web.timers","web.url","web.url.to-json","web.url-search-params"],"core-js/es":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.aggregate-error","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.weak-map","es.weak-set"],"core-js/es/aggregate-error":["es.aggregate-error","es.string.iterator","web.dom-collections.iterator"],"core-js/es/array":["es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.string.iterator"],"core-js/es/array-buffer":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string"],"core-js/es/array-buffer/constructor":["es.array-buffer.constructor","es.object.to-string"],"core-js/es/array-buffer/is-view":["es.array-buffer.is-view"],"core-js/es/array-buffer/slice":["es.array-buffer.slice"],"core-js/es/array/concat":["es.array.concat"],"core-js/es/array/copy-within":["es.array.copy-within"],"core-js/es/array/entries":["es.array.iterator"],"core-js/es/array/every":["es.array.every"],"core-js/es/array/fill":["es.array.fill"],"core-js/es/array/filter":["es.array.filter"],"core-js/es/array/find":["es.array.find"],"core-js/es/array/find-index":["es.array.find-index"],"core-js/es/array/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/es/array/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/es/array/for-each":["es.array.for-each"],"core-js/es/array/from":["es.array.from","es.string.iterator"],"core-js/es/array/includes":["es.array.includes"],"core-js/es/array/index-of":["es.array.index-of"],"core-js/es/array/is-array":["es.array.is-array"],"core-js/es/array/iterator":["es.array.iterator"],"core-js/es/array/join":["es.array.join"],"core-js/es/array/keys":["es.array.iterator"],"core-js/es/array/last-index-of":["es.array.last-index-of"],"core-js/es/array/map":["es.array.map"],"core-js/es/array/of":["es.array.of"],"core-js/es/array/reduce":["es.array.reduce"],"core-js/es/array/reduce-right":["es.array.reduce-right"],"core-js/es/array/reverse":["es.array.reverse"],"core-js/es/array/slice":["es.array.slice"],"core-js/es/array/some":["es.array.some"],"core-js/es/array/sort":["es.array.sort"],"core-js/es/array/splice":["es.array.splice"],"core-js/es/array/values":["es.array.iterator"],"core-js/es/array/virtual":["es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.includes","es.array.index-of","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map"],"core-js/es/array/virtual/concat":["es.array.concat"],"core-js/es/array/virtual/copy-within":["es.array.copy-within"],"core-js/es/array/virtual/entries":["es.array.iterator"],"core-js/es/array/virtual/every":["es.array.every"],"core-js/es/array/virtual/fill":["es.array.fill"],"core-js/es/array/virtual/filter":["es.array.filter"],"core-js/es/array/virtual/filter-out":["esnext.array.filter-out"],"core-js/es/array/virtual/find":["es.array.find"],"core-js/es/array/virtual/find-index":["es.array.find-index"],"core-js/es/array/virtual/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/es/array/virtual/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/es/array/virtual/for-each":["es.array.for-each"],"core-js/es/array/virtual/includes":["es.array.includes"],"core-js/es/array/virtual/index-of":["es.array.index-of"],"core-js/es/array/virtual/iterator":["es.array.iterator"],"core-js/es/array/virtual/join":["es.array.join"],"core-js/es/array/virtual/keys":["es.array.iterator"],"core-js/es/array/virtual/last-index-of":["es.array.last-index-of"],"core-js/es/array/virtual/map":["es.array.map"],"core-js/es/array/virtual/reduce":["es.array.reduce"],"core-js/es/array/virtual/reduce-right":["es.array.reduce-right"],"core-js/es/array/virtual/reverse":["es.array.reverse"],"core-js/es/array/virtual/slice":["es.array.slice"],"core-js/es/array/virtual/some":["es.array.some"],"core-js/es/array/virtual/sort":["es.array.sort"],"core-js/es/array/virtual/splice":["es.array.splice"],"core-js/es/array/virtual/values":["es.array.iterator"],"core-js/es/data-view":["es.data-view","es.object.to-string"],"core-js/es/date":["es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string"],"core-js/es/date/now":["es.date.now"],"core-js/es/date/to-iso-string":["es.date.to-iso-string","es.date.to-json"],"core-js/es/date/to-json":["es.date.to-json"],"core-js/es/date/to-primitive":["es.date.to-primitive"],"core-js/es/date/to-string":["es.date.to-string"],"core-js/es/function":["es.function.bind","es.function.has-instance","es.function.name"],"core-js/es/function/bind":["es.function.bind"],"core-js/es/function/has-instance":["es.function.has-instance"],"core-js/es/function/name":["es.function.name"],"core-js/es/function/virtual":["es.function.bind"],"core-js/es/function/virtual/bind":["es.function.bind"],"core-js/es/global-this":["es.global-this"],"core-js/es/instance/bind":["es.function.bind"],"core-js/es/instance/code-point-at":["es.string.code-point-at"],"core-js/es/instance/concat":["es.array.concat"],"core-js/es/instance/copy-within":["es.array.copy-within"],"core-js/es/instance/ends-with":["es.string.ends-with"],"core-js/es/instance/entries":["es.array.iterator"],"core-js/es/instance/every":["es.array.every"],"core-js/es/instance/fill":["es.array.fill"],"core-js/es/instance/filter":["es.array.filter"],"core-js/es/instance/find":["es.array.find"],"core-js/es/instance/find-index":["es.array.find-index"],"core-js/es/instance/flags":["es.regexp.flags"],"core-js/es/instance/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/es/instance/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/es/instance/for-each":["es.array.for-each"],"core-js/es/instance/includes":["es.array.includes","es.string.includes"],"core-js/es/instance/index-of":["es.array.index-of"],"core-js/es/instance/keys":["es.array.iterator"],"core-js/es/instance/last-index-of":["es.array.last-index-of"],"core-js/es/instance/map":["es.array.map"],"core-js/es/instance/match-all":["es.string.match-all"],"core-js/es/instance/pad-end":["es.string.pad-end"],"core-js/es/instance/pad-start":["es.string.pad-start"],"core-js/es/instance/reduce":["es.array.reduce"],"core-js/es/instance/reduce-right":["es.array.reduce-right"],"core-js/es/instance/repeat":["es.string.repeat"],"core-js/es/instance/replace-all":["es.string.replace-all"],"core-js/es/instance/reverse":["es.array.reverse"],"core-js/es/instance/slice":["es.array.slice"],"core-js/es/instance/some":["es.array.some"],"core-js/es/instance/sort":["es.array.sort"],"core-js/es/instance/splice":["es.array.splice"],"core-js/es/instance/starts-with":["es.string.starts-with"],"core-js/es/instance/trim":["es.string.trim"],"core-js/es/instance/trim-end":["es.string.trim-end"],"core-js/es/instance/trim-left":["es.string.trim-start"],"core-js/es/instance/trim-right":["es.string.trim-end"],"core-js/es/instance/trim-start":["es.string.trim-start"],"core-js/es/instance/values":["es.array.iterator"],"core-js/es/json":["es.json.stringify","es.json.to-string-tag"],"core-js/es/json/stringify":["es.json.stringify"],"core-js/es/json/to-string-tag":["es.json.to-string-tag"],"core-js/es/map":["es.map","es.object.to-string","es.string.iterator","web.dom-collections.iterator"],"core-js/es/math":["es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc"],"core-js/es/math/acosh":["es.math.acosh"],"core-js/es/math/asinh":["es.math.asinh"],"core-js/es/math/atanh":["es.math.atanh"],"core-js/es/math/cbrt":["es.math.cbrt"],"core-js/es/math/clz32":["es.math.clz32"],"core-js/es/math/cosh":["es.math.cosh"],"core-js/es/math/expm1":["es.math.expm1"],"core-js/es/math/fround":["es.math.fround"],"core-js/es/math/hypot":["es.math.hypot"],"core-js/es/math/imul":["es.math.imul"],"core-js/es/math/log10":["es.math.log10"],"core-js/es/math/log1p":["es.math.log1p"],"core-js/es/math/log2":["es.math.log2"],"core-js/es/math/sign":["es.math.sign"],"core-js/es/math/sinh":["es.math.sinh"],"core-js/es/math/tanh":["es.math.tanh"],"core-js/es/math/to-string-tag":["es.math.to-string-tag"],"core-js/es/math/trunc":["es.math.trunc"],"core-js/es/number":["es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision"],"core-js/es/number/constructor":["es.number.constructor"],"core-js/es/number/epsilon":["es.number.epsilon"],"core-js/es/number/is-finite":["es.number.is-finite"],"core-js/es/number/is-integer":["es.number.is-integer"],"core-js/es/number/is-nan":["es.number.is-nan"],"core-js/es/number/is-safe-integer":["es.number.is-safe-integer"],"core-js/es/number/max-safe-integer":["es.number.max-safe-integer"],"core-js/es/number/min-safe-integer":["es.number.min-safe-integer"],"core-js/es/number/parse-float":["es.number.parse-float"],"core-js/es/number/parse-int":["es.number.parse-int"],"core-js/es/number/to-fixed":["es.number.to-fixed"],"core-js/es/number/to-precision":["es.number.to-precision"],"core-js/es/number/virtual":["es.number.to-fixed","es.number.to-precision"],"core-js/es/number/virtual/to-fixed":["es.number.to-fixed"],"core-js/es/number/virtual/to-precision":["es.number.to-precision"],"core-js/es/object":["es.symbol","es.json.to-string-tag","es.math.to-string-tag","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.reflect.to-string-tag"],"core-js/es/object/assign":["es.object.assign"],"core-js/es/object/create":["es.object.create"],"core-js/es/object/define-getter":["es.object.define-getter"],"core-js/es/object/define-properties":["es.object.define-properties"],"core-js/es/object/define-property":["es.object.define-property"],"core-js/es/object/define-setter":["es.object.define-setter"],"core-js/es/object/entries":["es.object.entries"],"core-js/es/object/freeze":["es.object.freeze"],"core-js/es/object/from-entries":["es.array.iterator","es.object.from-entries"],"core-js/es/object/get-own-property-descriptor":["es.object.get-own-property-descriptor"],"core-js/es/object/get-own-property-descriptors":["es.object.get-own-property-descriptors"],"core-js/es/object/get-own-property-names":["es.object.get-own-property-names"],"core-js/es/object/get-own-property-symbols":["es.symbol"],"core-js/es/object/get-prototype-of":["es.object.get-prototype-of"],"core-js/es/object/is":["es.object.is"],"core-js/es/object/is-extensible":["es.object.is-extensible"],"core-js/es/object/is-frozen":["es.object.is-frozen"],"core-js/es/object/is-sealed":["es.object.is-sealed"],"core-js/es/object/keys":["es.object.keys"],"core-js/es/object/lookup-getter":["es.object.lookup-setter"],"core-js/es/object/lookup-setter":["es.object.lookup-setter"],"core-js/es/object/prevent-extensions":["es.object.prevent-extensions"],"core-js/es/object/seal":["es.object.seal"],"core-js/es/object/set-prototype-of":["es.object.set-prototype-of"],"core-js/es/object/to-string":["es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/es/object/values":["es.object.values"],"core-js/es/parse-float":["es.parse-float"],"core-js/es/parse-int":["es.parse-int"],"core-js/es/promise":["es.aggregate-error","es.object.to-string","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.string.iterator","web.dom-collections.iterator"],"core-js/es/promise/all-settled":["es.promise","es.promise.all-settled","es.string.iterator","web.dom-collections.iterator"],"core-js/es/promise/any":["es.aggregate-error","es.promise","es.promise.any","es.string.iterator","web.dom-collections.iterator"],"core-js/es/promise/finally":["es.promise","es.promise.finally"],"core-js/es/reflect":["es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag"],"core-js/es/reflect/apply":["es.reflect.apply"],"core-js/es/reflect/construct":["es.reflect.construct"],"core-js/es/reflect/define-property":["es.reflect.define-property"],"core-js/es/reflect/delete-property":["es.reflect.delete-property"],"core-js/es/reflect/get":["es.reflect.get"],"core-js/es/reflect/get-own-property-descriptor":["es.reflect.get-own-property-descriptor"],"core-js/es/reflect/get-prototype-of":["es.reflect.get-prototype-of"],"core-js/es/reflect/has":["es.reflect.has"],"core-js/es/reflect/is-extensible":["es.reflect.is-extensible"],"core-js/es/reflect/own-keys":["es.reflect.own-keys"],"core-js/es/reflect/prevent-extensions":["es.reflect.prevent-extensions"],"core-js/es/reflect/set":["es.reflect.set"],"core-js/es/reflect/set-prototype-of":["es.reflect.set-prototype-of"],"core-js/es/reflect/to-string-tag":["es.reflect.to-string-tag"],"core-js/es/regexp":["es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.string.match","es.string.replace","es.string.search","es.string.split"],"core-js/es/regexp/constructor":["es.regexp.constructor"],"core-js/es/regexp/flags":["es.regexp.flags"],"core-js/es/regexp/match":["es.string.match"],"core-js/es/regexp/replace":["es.string.replace"],"core-js/es/regexp/search":["es.string.search"],"core-js/es/regexp/split":["es.string.split"],"core-js/es/regexp/sticky":["es.regexp.sticky"],"core-js/es/regexp/test":["es.regexp.exec","es.regexp.test"],"core-js/es/regexp/to-string":["es.regexp.to-string"],"core-js/es/set":["es.object.to-string","es.set","es.string.iterator","web.dom-collections.iterator"],"core-js/es/string":["es.regexp.exec","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup"],"core-js/es/string/anchor":["es.string.anchor"],"core-js/es/string/big":["es.string.big"],"core-js/es/string/blink":["es.string.blink"],"core-js/es/string/bold":["es.string.bold"],"core-js/es/string/code-point-at":["es.string.code-point-at"],"core-js/es/string/ends-with":["es.string.ends-with"],"core-js/es/string/fixed":["es.string.fixed"],"core-js/es/string/fontcolor":["es.string.fontcolor"],"core-js/es/string/fontsize":["es.string.fontsize"],"core-js/es/string/from-code-point":["es.string.from-code-point"],"core-js/es/string/includes":["es.string.includes"],"core-js/es/string/italics":["es.string.italics"],"core-js/es/string/iterator":["es.string.iterator"],"core-js/es/string/link":["es.string.link"],"core-js/es/string/match":["es.regexp.exec","es.string.match"],"core-js/es/string/match-all":["es.string.match-all"],"core-js/es/string/pad-end":["es.string.pad-end"],"core-js/es/string/pad-start":["es.string.pad-start"],"core-js/es/string/raw":["es.string.raw"],"core-js/es/string/repeat":["es.string.repeat"],"core-js/es/string/replace":["es.regexp.exec","es.string.replace"],"core-js/es/string/replace-all":["es.string.replace-all"],"core-js/es/string/search":["es.regexp.exec","es.string.search"],"core-js/es/string/small":["es.string.small"],"core-js/es/string/split":["es.regexp.exec","es.string.split"],"core-js/es/string/starts-with":["es.string.starts-with"],"core-js/es/string/strike":["es.string.strike"],"core-js/es/string/sub":["es.string.sub"],"core-js/es/string/sup":["es.string.sup"],"core-js/es/string/trim":["es.string.trim"],"core-js/es/string/trim-end":["es.string.trim-end"],"core-js/es/string/trim-left":["es.string.trim-start"],"core-js/es/string/trim-right":["es.string.trim-end"],"core-js/es/string/trim-start":["es.string.trim-start"],"core-js/es/string/virtual":["es.string.code-point-at","es.string.ends-with","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup"],"core-js/es/string/virtual/anchor":["es.string.anchor"],"core-js/es/string/virtual/big":["es.string.big"],"core-js/es/string/virtual/blink":["es.string.blink"],"core-js/es/string/virtual/bold":["es.string.bold"],"core-js/es/string/virtual/code-point-at":["es.string.code-point-at"],"core-js/es/string/virtual/ends-with":["es.string.ends-with"],"core-js/es/string/virtual/fixed":["es.string.fixed"],"core-js/es/string/virtual/fontcolor":["es.string.fontcolor"],"core-js/es/string/virtual/fontsize":["es.string.fontsize"],"core-js/es/string/virtual/includes":["es.string.includes"],"core-js/es/string/virtual/italics":["es.string.italics"],"core-js/es/string/virtual/iterator":["es.string.iterator"],"core-js/es/string/virtual/link":["es.string.link"],"core-js/es/string/virtual/match-all":["es.string.match-all"],"core-js/es/string/virtual/pad-end":["es.string.pad-end"],"core-js/es/string/virtual/pad-start":["es.string.pad-start"],"core-js/es/string/virtual/repeat":["es.string.repeat"],"core-js/es/string/virtual/replace-all":["es.string.replace-all"],"core-js/es/string/virtual/small":["es.string.small"],"core-js/es/string/virtual/starts-with":["es.string.starts-with"],"core-js/es/string/virtual/strike":["es.string.strike"],"core-js/es/string/virtual/sub":["es.string.sub"],"core-js/es/string/virtual/sup":["es.string.sup"],"core-js/es/string/virtual/trim":["es.string.trim"],"core-js/es/string/virtual/trim-end":["es.string.trim-end"],"core-js/es/string/virtual/trim-left":["es.string.trim-start"],"core-js/es/string/virtual/trim-right":["es.string.trim-end"],"core-js/es/string/virtual/trim-start":["es.string.trim-start"],"core-js/es/symbol":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.array.concat","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/es/symbol/async-iterator":["es.symbol.async-iterator"],"core-js/es/symbol/description":["es.symbol.description"],"core-js/es/symbol/for":["es.symbol"],"core-js/es/symbol/has-instance":["es.symbol.has-instance","es.function.has-instance"],"core-js/es/symbol/is-concat-spreadable":["es.symbol.is-concat-spreadable","es.array.concat"],"core-js/es/symbol/iterator":["es.symbol.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/es/symbol/key-for":["es.symbol"],"core-js/es/symbol/match":["es.symbol.match","es.string.match"],"core-js/es/symbol/match-all":["es.symbol.match-all","es.string.match-all"],"core-js/es/symbol/replace":["es.symbol.replace","es.string.replace"],"core-js/es/symbol/search":["es.symbol.search","es.string.search"],"core-js/es/symbol/species":["es.symbol.species"],"core-js/es/symbol/split":["es.symbol.split","es.string.split"],"core-js/es/symbol/to-primitive":["es.symbol.to-primitive"],"core-js/es/symbol/to-string-tag":["es.symbol.to-string-tag","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/es/symbol/unscopables":["es.symbol.unscopables"],"core-js/es/typed-array":["es.object.to-string","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/copy-within":["es.typed-array.copy-within"],"core-js/es/typed-array/entries":["es.typed-array.iterator"],"core-js/es/typed-array/every":["es.typed-array.every"],"core-js/es/typed-array/fill":["es.typed-array.fill"],"core-js/es/typed-array/filter":["es.typed-array.filter"],"core-js/es/typed-array/find":["es.typed-array.find"],"core-js/es/typed-array/find-index":["es.typed-array.find-index"],"core-js/es/typed-array/float32-array":["es.object.to-string","es.typed-array.float32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/float64-array":["es.object.to-string","es.typed-array.float64-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/for-each":["es.typed-array.for-each"],"core-js/es/typed-array/from":["es.typed-array.from"],"core-js/es/typed-array/includes":["es.typed-array.includes"],"core-js/es/typed-array/index-of":["es.typed-array.index-of"],"core-js/es/typed-array/int16-array":["es.object.to-string","es.typed-array.int16-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/int32-array":["es.object.to-string","es.typed-array.int32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/int8-array":["es.object.to-string","es.typed-array.int8-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/iterator":["es.typed-array.iterator"],"core-js/es/typed-array/join":["es.typed-array.join"],"core-js/es/typed-array/keys":["es.typed-array.iterator"],"core-js/es/typed-array/last-index-of":["es.typed-array.last-index-of"],"core-js/es/typed-array/map":["es.typed-array.map"],"core-js/es/typed-array/methods":["es.object.to-string","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/of":["es.typed-array.of"],"core-js/es/typed-array/reduce":["es.typed-array.reduce"],"core-js/es/typed-array/reduce-right":["es.typed-array.reduce-right"],"core-js/es/typed-array/reverse":["es.typed-array.reverse"],"core-js/es/typed-array/set":["es.typed-array.set"],"core-js/es/typed-array/slice":["es.typed-array.slice"],"core-js/es/typed-array/some":["es.typed-array.some"],"core-js/es/typed-array/sort":["es.typed-array.sort"],"core-js/es/typed-array/subarray":["es.typed-array.subarray"],"core-js/es/typed-array/to-locale-string":["es.typed-array.to-locale-string"],"core-js/es/typed-array/to-string":["es.typed-array.to-string"],"core-js/es/typed-array/uint16-array":["es.object.to-string","es.typed-array.uint16-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/uint32-array":["es.object.to-string","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/uint8-array":["es.object.to-string","es.typed-array.uint8-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/uint8-clamped-array":["es.object.to-string","es.typed-array.uint8-clamped-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/values":["es.typed-array.iterator"],"core-js/es/weak-map":["es.object.to-string","es.weak-map","web.dom-collections.iterator"],"core-js/es/weak-set":["es.object.to-string","es.weak-set","web.dom-collections.iterator"],"core-js/features":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.aggregate-error","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.weak-map","es.weak-set","esnext.aggregate-error","esnext.array.at","esnext.array.filter-out","esnext.array.find-last","esnext.array.find-last-index","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.unique-by","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.dom-collections.for-each","web.dom-collections.iterator","web.immediate","web.queue-microtask","web.timers","web.url","web.url.to-json","web.url-search-params"],"core-js/features/aggregate-error":["es.aggregate-error","es.string.iterator","esnext.aggregate-error","web.dom-collections.iterator"],"core-js/features/array":["es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.map","es.string.iterator","esnext.array.at","esnext.array.filter-out","esnext.array.find-last","esnext.array.find-last-index","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by"],"core-js/features/array-buffer":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string"],"core-js/features/array-buffer/constructor":["es.array-buffer.constructor","es.object.to-string"],"core-js/features/array-buffer/is-view":["es.array-buffer.is-view"],"core-js/features/array-buffer/slice":["es.array-buffer.slice"],"core-js/features/array/at":["esnext.array.at"],"core-js/features/array/concat":["es.array.concat"],"core-js/features/array/copy-within":["es.array.copy-within"],"core-js/features/array/entries":["es.array.iterator"],"core-js/features/array/every":["es.array.every"],"core-js/features/array/fill":["es.array.fill"],"core-js/features/array/filter":["es.array.filter"],"core-js/features/array/filter-out":["esnext.array.filter-out"],"core-js/features/array/find":["es.array.find"],"core-js/features/array/find-index":["es.array.find-index"],"core-js/features/array/find-last":["esnext.array.find-last"],"core-js/features/array/find-last-index":["esnext.array.find-last-index"],"core-js/features/array/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/features/array/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/features/array/for-each":["es.array.for-each"],"core-js/features/array/from":["es.array.from","es.string.iterator"],"core-js/features/array/includes":["es.array.includes"],"core-js/features/array/index-of":["es.array.index-of"],"core-js/features/array/is-array":["es.array.is-array"],"core-js/features/array/is-template-object":["esnext.array.is-template-object"],"core-js/features/array/iterator":["es.array.iterator"],"core-js/features/array/join":["es.array.join"],"core-js/features/array/keys":["es.array.iterator"],"core-js/features/array/last-index":["esnext.array.last-index"],"core-js/features/array/last-index-of":["es.array.last-index-of"],"core-js/features/array/last-item":["esnext.array.last-item"],"core-js/features/array/map":["es.array.map"],"core-js/features/array/of":["es.array.of"],"core-js/features/array/reduce":["es.array.reduce"],"core-js/features/array/reduce-right":["es.array.reduce-right"],"core-js/features/array/reverse":["es.array.reverse"],"core-js/features/array/slice":["es.array.slice"],"core-js/features/array/some":["es.array.some"],"core-js/features/array/sort":["es.array.sort"],"core-js/features/array/splice":["es.array.splice"],"core-js/features/array/unique-by":["es.map","esnext.array.unique-by"],"core-js/features/array/values":["es.array.iterator"],"core-js/features/array/virtual":["es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.includes","es.array.index-of","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.map","esnext.array.at","esnext.array.filter-out","esnext.array.find-last","esnext.array.find-last-index","esnext.array.unique-by"],"core-js/features/array/virtual/at":["esnext.array.at"],"core-js/features/array/virtual/concat":["es.array.concat"],"core-js/features/array/virtual/copy-within":["es.array.copy-within"],"core-js/features/array/virtual/entries":["es.array.iterator"],"core-js/features/array/virtual/every":["es.array.every"],"core-js/features/array/virtual/fill":["es.array.fill"],"core-js/features/array/virtual/filter":["es.array.filter"],"core-js/features/array/virtual/filter-out":["esnext.array.filter-out"],"core-js/features/array/virtual/find":["es.array.find"],"core-js/features/array/virtual/find-index":["es.array.find-index"],"core-js/features/array/virtual/find-last":["esnext.array.find-last"],"core-js/features/array/virtual/find-last-index":["esnext.array.find-last-index"],"core-js/features/array/virtual/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/features/array/virtual/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/features/array/virtual/for-each":["es.array.for-each"],"core-js/features/array/virtual/includes":["es.array.includes"],"core-js/features/array/virtual/index-of":["es.array.index-of"],"core-js/features/array/virtual/iterator":["es.array.iterator"],"core-js/features/array/virtual/join":["es.array.join"],"core-js/features/array/virtual/keys":["es.array.iterator"],"core-js/features/array/virtual/last-index-of":["es.array.last-index-of"],"core-js/features/array/virtual/map":["es.array.map"],"core-js/features/array/virtual/reduce":["es.array.reduce"],"core-js/features/array/virtual/reduce-right":["es.array.reduce-right"],"core-js/features/array/virtual/reverse":["es.array.reverse"],"core-js/features/array/virtual/slice":["es.array.slice"],"core-js/features/array/virtual/some":["es.array.some"],"core-js/features/array/virtual/sort":["es.array.sort"],"core-js/features/array/virtual/splice":["es.array.splice"],"core-js/features/array/virtual/unique-by":["es.map","esnext.array.unique-by"],"core-js/features/array/virtual/values":["es.array.iterator"],"core-js/features/async-iterator":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","web.dom-collections.iterator"],"core-js/features/async-iterator/as-indexed-pairs":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","web.dom-collections.iterator"],"core-js/features/async-iterator/drop":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.drop","web.dom-collections.iterator"],"core-js/features/async-iterator/every":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.every","web.dom-collections.iterator"],"core-js/features/async-iterator/filter":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.filter","web.dom-collections.iterator"],"core-js/features/async-iterator/find":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.find","web.dom-collections.iterator"],"core-js/features/async-iterator/flat-map":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.flat-map","web.dom-collections.iterator"],"core-js/features/async-iterator/for-each":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.for-each","web.dom-collections.iterator"],"core-js/features/async-iterator/from":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.from","web.dom-collections.iterator"],"core-js/features/async-iterator/map":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.map","web.dom-collections.iterator"],"core-js/features/async-iterator/reduce":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.reduce","web.dom-collections.iterator"],"core-js/features/async-iterator/some":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.some","web.dom-collections.iterator"],"core-js/features/async-iterator/take":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.take","web.dom-collections.iterator"],"core-js/features/async-iterator/to-array":["es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.to-array","web.dom-collections.iterator"],"core-js/features/bigint":["esnext.bigint.range"],"core-js/features/bigint/range":["esnext.bigint.range"],"core-js/features/clear-immediate":["web.immediate"],"core-js/features/composite-key":["esnext.composite-key"],"core-js/features/composite-symbol":["es.symbol","esnext.composite-symbol"],"core-js/features/data-view":["es.data-view","es.object.to-string"],"core-js/features/date":["es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string"],"core-js/features/date/now":["es.date.now"],"core-js/features/date/to-iso-string":["es.date.to-iso-string","es.date.to-json"],"core-js/features/date/to-json":["es.date.to-json"],"core-js/features/date/to-primitive":["es.date.to-primitive"],"core-js/features/date/to-string":["es.date.to-string"],"core-js/features/dom-collections":["es.array.iterator","web.dom-collections.for-each","web.dom-collections.iterator"],"core-js/features/dom-collections/for-each":["web.dom-collections.for-each"],"core-js/features/dom-collections/iterator":["web.dom-collections.iterator"],"core-js/features/function":["es.function.bind","es.function.has-instance","es.function.name"],"core-js/features/function/bind":["es.function.bind"],"core-js/features/function/has-instance":["es.function.has-instance"],"core-js/features/function/name":["es.function.name"],"core-js/features/function/virtual":["es.function.bind"],"core-js/features/function/virtual/bind":["es.function.bind"],"core-js/features/get-iterator":["es.string.iterator","web.dom-collections.iterator"],"core-js/features/get-iterator-method":["es.string.iterator","web.dom-collections.iterator"],"core-js/features/global-this":["es.global-this","esnext.global-this"],"core-js/features/instance/at":["esnext.array.at","esnext.string.at"],"core-js/features/instance/bind":["es.function.bind"],"core-js/features/instance/code-point-at":["es.string.code-point-at"],"core-js/features/instance/code-points":["esnext.string.code-points"],"core-js/features/instance/concat":["es.array.concat"],"core-js/features/instance/copy-within":["es.array.copy-within"],"core-js/features/instance/ends-with":["es.string.ends-with"],"core-js/features/instance/entries":["es.array.iterator","web.dom-collections.iterator"],"core-js/features/instance/every":["es.array.every"],"core-js/features/instance/fill":["es.array.fill"],"core-js/features/instance/filter":["es.array.filter"],"core-js/features/instance/filter-out":["esnext.array.filter-out"],"core-js/features/instance/find":["es.array.find"],"core-js/features/instance/find-index":["es.array.find-index"],"core-js/features/instance/find-last":["esnext.array.find-last"],"core-js/features/instance/find-last-index":["esnext.array.find-last-index"],"core-js/features/instance/flags":["es.regexp.flags"],"core-js/features/instance/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/features/instance/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/features/instance/for-each":["es.array.for-each","web.dom-collections.iterator"],"core-js/features/instance/includes":["es.array.includes","es.string.includes"],"core-js/features/instance/index-of":["es.array.index-of"],"core-js/features/instance/keys":["es.array.iterator","web.dom-collections.iterator"],"core-js/features/instance/last-index-of":["es.array.last-index-of"],"core-js/features/instance/map":["es.array.map"],"core-js/features/instance/match-all":["es.string.match-all","esnext.string.match-all"],"core-js/features/instance/pad-end":["es.string.pad-end"],"core-js/features/instance/pad-start":["es.string.pad-start"],"core-js/features/instance/reduce":["es.array.reduce"],"core-js/features/instance/reduce-right":["es.array.reduce-right"],"core-js/features/instance/repeat":["es.string.repeat"],"core-js/features/instance/replace-all":["es.string.replace-all"],"core-js/features/instance/reverse":["es.array.reverse"],"core-js/features/instance/slice":["es.array.slice"],"core-js/features/instance/some":["es.array.some"],"core-js/features/instance/sort":["es.array.sort"],"core-js/features/instance/splice":["es.array.splice"],"core-js/features/instance/starts-with":["es.string.starts-with"],"core-js/features/instance/trim":["es.string.trim"],"core-js/features/instance/trim-end":["es.string.trim-end"],"core-js/features/instance/trim-left":["es.string.trim-start"],"core-js/features/instance/trim-right":["es.string.trim-end"],"core-js/features/instance/trim-start":["es.string.trim-start"],"core-js/features/instance/unique-by":["es.map","esnext.array.unique-by"],"core-js/features/instance/values":["es.array.iterator","web.dom-collections.iterator"],"core-js/features/is-iterable":["es.string.iterator","web.dom-collections.iterator"],"core-js/features/iterator":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","web.dom-collections.iterator"],"core-js/features/iterator/as-indexed-pairs":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","web.dom-collections.iterator"],"core-js/features/iterator/drop":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.drop","web.dom-collections.iterator"],"core-js/features/iterator/every":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.every","web.dom-collections.iterator"],"core-js/features/iterator/filter":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.filter","web.dom-collections.iterator"],"core-js/features/iterator/find":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.find","web.dom-collections.iterator"],"core-js/features/iterator/flat-map":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.flat-map","web.dom-collections.iterator"],"core-js/features/iterator/for-each":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.for-each","web.dom-collections.iterator"],"core-js/features/iterator/from":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.from","web.dom-collections.iterator"],"core-js/features/iterator/map":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.map","web.dom-collections.iterator"],"core-js/features/iterator/reduce":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.reduce","web.dom-collections.iterator"],"core-js/features/iterator/some":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.some","web.dom-collections.iterator"],"core-js/features/iterator/take":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.take","web.dom-collections.iterator"],"core-js/features/iterator/to-array":["es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.to-array","web.dom-collections.iterator"],"core-js/features/json":["es.json.stringify","es.json.to-string-tag"],"core-js/features/json/stringify":["es.json.stringify"],"core-js/features/json/to-string-tag":["es.json.to-string-tag"],"core-js/features/map":["es.map","es.object.to-string","es.string.iterator","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","web.dom-collections.iterator"],"core-js/features/map/delete-all":["es.map","esnext.map.delete-all"],"core-js/features/map/emplace":["es.map","esnext.map.emplace"],"core-js/features/map/every":["es.map","esnext.map.every"],"core-js/features/map/filter":["es.map","esnext.map.filter"],"core-js/features/map/find":["es.map","esnext.map.find"],"core-js/features/map/find-key":["es.map","esnext.map.find-key"],"core-js/features/map/from":["es.map","es.string.iterator","esnext.map.from","web.dom-collections.iterator"],"core-js/features/map/group-by":["es.map","esnext.map.group-by"],"core-js/features/map/includes":["es.map","esnext.map.includes"],"core-js/features/map/key-by":["es.map","esnext.map.key-by"],"core-js/features/map/key-of":["es.map","esnext.map.key-of"],"core-js/features/map/map-keys":["es.map","esnext.map.map-keys"],"core-js/features/map/map-values":["es.map","esnext.map.map-values"],"core-js/features/map/merge":["es.map","esnext.map.merge"],"core-js/features/map/of":["es.map","es.string.iterator","esnext.map.of","web.dom-collections.iterator"],"core-js/features/map/reduce":["es.map","esnext.map.reduce"],"core-js/features/map/some":["es.map","esnext.map.some"],"core-js/features/map/update":["es.map","esnext.map.update"],"core-js/features/map/update-or-insert":["es.map","esnext.map.update-or-insert"],"core-js/features/map/upsert":["es.map","esnext.map.upsert"],"core-js/features/math":["es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh"],"core-js/features/math/acosh":["es.math.acosh"],"core-js/features/math/asinh":["es.math.asinh"],"core-js/features/math/atanh":["es.math.atanh"],"core-js/features/math/cbrt":["es.math.cbrt"],"core-js/features/math/clamp":["esnext.math.clamp"],"core-js/features/math/clz32":["es.math.clz32"],"core-js/features/math/cosh":["es.math.cosh"],"core-js/features/math/deg-per-rad":["esnext.math.deg-per-rad"],"core-js/features/math/degrees":["esnext.math.degrees"],"core-js/features/math/expm1":["es.math.expm1"],"core-js/features/math/fround":["es.math.fround"],"core-js/features/math/fscale":["esnext.math.fscale"],"core-js/features/math/hypot":["es.math.hypot"],"core-js/features/math/iaddh":["esnext.math.iaddh"],"core-js/features/math/imul":["es.math.imul"],"core-js/features/math/imulh":["esnext.math.imulh"],"core-js/features/math/isubh":["esnext.math.isubh"],"core-js/features/math/log10":["es.math.log10"],"core-js/features/math/log1p":["es.math.log1p"],"core-js/features/math/log2":["es.math.log2"],"core-js/features/math/rad-per-deg":["esnext.math.rad-per-deg"],"core-js/features/math/radians":["esnext.math.radians"],"core-js/features/math/scale":["esnext.math.scale"],"core-js/features/math/seeded-prng":["esnext.math.seeded-prng"],"core-js/features/math/sign":["es.math.sign"],"core-js/features/math/signbit":["esnext.math.signbit"],"core-js/features/math/sinh":["es.math.sinh"],"core-js/features/math/tanh":["es.math.tanh"],"core-js/features/math/to-string-tag":["es.math.to-string-tag"],"core-js/features/math/trunc":["es.math.trunc"],"core-js/features/math/umulh":["esnext.math.umulh"],"core-js/features/number":["es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision","esnext.number.from-string","esnext.number.range"],"core-js/features/number/constructor":["es.number.constructor"],"core-js/features/number/epsilon":["es.number.epsilon"],"core-js/features/number/from-string":["esnext.number.from-string"],"core-js/features/number/is-finite":["es.number.is-finite"],"core-js/features/number/is-integer":["es.number.is-integer"],"core-js/features/number/is-nan":["es.number.is-nan"],"core-js/features/number/is-safe-integer":["es.number.is-safe-integer"],"core-js/features/number/max-safe-integer":["es.number.max-safe-integer"],"core-js/features/number/min-safe-integer":["es.number.min-safe-integer"],"core-js/features/number/parse-float":["es.number.parse-float"],"core-js/features/number/parse-int":["es.number.parse-int"],"core-js/features/number/range":["esnext.number.range"],"core-js/features/number/to-fixed":["es.number.to-fixed"],"core-js/features/number/to-precision":["es.number.to-precision"],"core-js/features/number/virtual":["es.number.to-fixed","es.number.to-precision"],"core-js/features/number/virtual/to-fixed":["es.number.to-fixed"],"core-js/features/number/virtual/to-precision":["es.number.to-precision"],"core-js/features/object":["es.symbol","es.json.to-string-tag","es.math.to-string-tag","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.reflect.to-string-tag","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values"],"core-js/features/object/assign":["es.object.assign"],"core-js/features/object/create":["es.object.create"],"core-js/features/object/define-getter":["es.object.define-getter"],"core-js/features/object/define-properties":["es.object.define-properties"],"core-js/features/object/define-property":["es.object.define-property"],"core-js/features/object/define-setter":["es.object.define-setter"],"core-js/features/object/entries":["es.object.entries"],"core-js/features/object/freeze":["es.object.freeze"],"core-js/features/object/from-entries":["es.array.iterator","es.object.from-entries"],"core-js/features/object/get-own-property-descriptor":["es.object.get-own-property-descriptor"],"core-js/features/object/get-own-property-descriptors":["es.object.get-own-property-descriptors"],"core-js/features/object/get-own-property-names":["es.object.get-own-property-names"],"core-js/features/object/get-own-property-symbols":["es.symbol"],"core-js/features/object/get-prototype-of":["es.object.get-prototype-of"],"core-js/features/object/has-own":["esnext.object.has-own"],"core-js/features/object/is":["es.object.is"],"core-js/features/object/is-extensible":["es.object.is-extensible"],"core-js/features/object/is-frozen":["es.object.is-frozen"],"core-js/features/object/is-sealed":["es.object.is-sealed"],"core-js/features/object/iterate-entries":["esnext.object.iterate-entries"],"core-js/features/object/iterate-keys":["esnext.object.iterate-keys"],"core-js/features/object/iterate-values":["esnext.object.iterate-values"],"core-js/features/object/keys":["es.object.keys"],"core-js/features/object/lookup-getter":["es.object.lookup-setter"],"core-js/features/object/lookup-setter":["es.object.lookup-setter"],"core-js/features/object/prevent-extensions":["es.object.prevent-extensions"],"core-js/features/object/seal":["es.object.seal"],"core-js/features/object/set-prototype-of":["es.object.set-prototype-of"],"core-js/features/object/to-string":["es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/features/object/values":["es.object.values"],"core-js/features/observable":["es.object.to-string","es.string.iterator","esnext.observable","esnext.symbol.observable","web.dom-collections.iterator"],"core-js/features/parse-float":["es.parse-float"],"core-js/features/parse-int":["es.parse-int"],"core-js/features/promise":["es.aggregate-error","es.object.to-string","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.string.iterator","esnext.aggregate-error","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","web.dom-collections.iterator"],"core-js/features/promise/all-settled":["es.promise","es.promise.all-settled","es.string.iterator","esnext.promise.all-settled","web.dom-collections.iterator"],"core-js/features/promise/any":["es.aggregate-error","es.promise","es.promise.any","es.string.iterator","esnext.aggregate-error","esnext.promise.any","web.dom-collections.iterator"],"core-js/features/promise/finally":["es.promise","es.promise.finally"],"core-js/features/promise/try":["es.promise","esnext.promise.try"],"core-js/features/queue-microtask":["web.queue-microtask"],"core-js/features/reflect":["es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata"],"core-js/features/reflect/apply":["es.reflect.apply"],"core-js/features/reflect/construct":["es.reflect.construct"],"core-js/features/reflect/define-metadata":["esnext.reflect.define-metadata"],"core-js/features/reflect/define-property":["es.reflect.define-property"],"core-js/features/reflect/delete-metadata":["esnext.reflect.delete-metadata"],"core-js/features/reflect/delete-property":["es.reflect.delete-property"],"core-js/features/reflect/get":["es.reflect.get"],"core-js/features/reflect/get-metadata":["esnext.reflect.get-metadata"],"core-js/features/reflect/get-metadata-keys":["esnext.reflect.get-metadata-keys"],"core-js/features/reflect/get-own-metadata":["esnext.reflect.get-own-metadata"],"core-js/features/reflect/get-own-metadata-keys":["esnext.reflect.get-own-metadata-keys"],"core-js/features/reflect/get-own-property-descriptor":["es.reflect.get-own-property-descriptor"],"core-js/features/reflect/get-prototype-of":["es.reflect.get-prototype-of"],"core-js/features/reflect/has":["es.reflect.has"],"core-js/features/reflect/has-metadata":["esnext.reflect.has-metadata"],"core-js/features/reflect/has-own-metadata":["esnext.reflect.has-own-metadata"],"core-js/features/reflect/is-extensible":["es.reflect.is-extensible"],"core-js/features/reflect/metadata":["esnext.reflect.metadata"],"core-js/features/reflect/own-keys":["es.reflect.own-keys"],"core-js/features/reflect/prevent-extensions":["es.reflect.prevent-extensions"],"core-js/features/reflect/set":["es.reflect.set"],"core-js/features/reflect/set-prototype-of":["es.reflect.set-prototype-of"],"core-js/features/reflect/to-string-tag":["es.reflect.to-string-tag"],"core-js/features/regexp":["es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.string.match","es.string.replace","es.string.search","es.string.split"],"core-js/features/regexp/constructor":["es.regexp.constructor"],"core-js/features/regexp/flags":["es.regexp.flags"],"core-js/features/regexp/match":["es.string.match"],"core-js/features/regexp/replace":["es.string.replace"],"core-js/features/regexp/search":["es.string.search"],"core-js/features/regexp/split":["es.string.split"],"core-js/features/regexp/sticky":["es.regexp.sticky"],"core-js/features/regexp/test":["es.regexp.exec","es.regexp.test"],"core-js/features/regexp/to-string":["es.regexp.to-string"],"core-js/features/set":["es.object.to-string","es.set","es.string.iterator","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","web.dom-collections.iterator"],"core-js/features/set-immediate":["web.immediate"],"core-js/features/set-interval":["web.timers"],"core-js/features/set-timeout":["web.timers"],"core-js/features/set/add-all":["es.set","esnext.set.add-all"],"core-js/features/set/delete-all":["es.set","esnext.set.delete-all"],"core-js/features/set/difference":["es.set","es.string.iterator","esnext.set.difference","web.dom-collections.iterator"],"core-js/features/set/every":["es.set","esnext.set.every"],"core-js/features/set/filter":["es.set","esnext.set.filter"],"core-js/features/set/find":["es.set","esnext.set.find"],"core-js/features/set/from":["es.set","es.string.iterator","esnext.set.from","web.dom-collections.iterator"],"core-js/features/set/intersection":["es.set","esnext.set.intersection"],"core-js/features/set/is-disjoint-from":["es.set","esnext.set.is-disjoint-from"],"core-js/features/set/is-subset-of":["es.set","es.string.iterator","esnext.set.is-subset-of","web.dom-collections.iterator"],"core-js/features/set/is-superset-of":["es.set","esnext.set.is-superset-of"],"core-js/features/set/join":["es.set","esnext.set.join"],"core-js/features/set/map":["es.set","esnext.set.map"],"core-js/features/set/of":["es.set","es.string.iterator","esnext.set.of","web.dom-collections.iterator"],"core-js/features/set/reduce":["es.set","esnext.set.reduce"],"core-js/features/set/some":["es.set","esnext.set.some"],"core-js/features/set/symmetric-difference":["es.set","es.string.iterator","esnext.set.symmetric-difference","web.dom-collections.iterator"],"core-js/features/set/union":["es.set","es.string.iterator","esnext.set.union","web.dom-collections.iterator"],"core-js/features/string":["es.regexp.exec","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all"],"core-js/features/string/anchor":["es.string.anchor"],"core-js/features/string/at":["esnext.string.at"],"core-js/features/string/big":["es.string.big"],"core-js/features/string/blink":["es.string.blink"],"core-js/features/string/bold":["es.string.bold"],"core-js/features/string/code-point-at":["es.string.code-point-at"],"core-js/features/string/code-points":["esnext.string.code-points"],"core-js/features/string/ends-with":["es.string.ends-with"],"core-js/features/string/fixed":["es.string.fixed"],"core-js/features/string/fontcolor":["es.string.fontcolor"],"core-js/features/string/fontsize":["es.string.fontsize"],"core-js/features/string/from-code-point":["es.string.from-code-point"],"core-js/features/string/includes":["es.string.includes"],"core-js/features/string/italics":["es.string.italics"],"core-js/features/string/iterator":["es.string.iterator"],"core-js/features/string/link":["es.string.link"],"core-js/features/string/match":["es.regexp.exec","es.string.match"],"core-js/features/string/match-all":["es.string.match-all","esnext.string.match-all"],"core-js/features/string/pad-end":["es.string.pad-end"],"core-js/features/string/pad-start":["es.string.pad-start"],"core-js/features/string/raw":["es.string.raw"],"core-js/features/string/repeat":["es.string.repeat"],"core-js/features/string/replace":["es.regexp.exec","es.string.replace"],"core-js/features/string/replace-all":["es.string.replace-all","esnext.string.replace-all"],"core-js/features/string/search":["es.regexp.exec","es.string.search"],"core-js/features/string/small":["es.string.small"],"core-js/features/string/split":["es.regexp.exec","es.string.split"],"core-js/features/string/starts-with":["es.string.starts-with"],"core-js/features/string/strike":["es.string.strike"],"core-js/features/string/sub":["es.string.sub"],"core-js/features/string/sup":["es.string.sup"],"core-js/features/string/trim":["es.string.trim"],"core-js/features/string/trim-end":["es.string.trim-end"],"core-js/features/string/trim-left":["es.string.trim-start"],"core-js/features/string/trim-right":["es.string.trim-end"],"core-js/features/string/trim-start":["es.string.trim-start"],"core-js/features/string/virtual":["es.string.code-point-at","es.string.ends-with","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all"],"core-js/features/string/virtual/anchor":["es.string.anchor"],"core-js/features/string/virtual/at":["esnext.string.at"],"core-js/features/string/virtual/big":["es.string.big"],"core-js/features/string/virtual/blink":["es.string.blink"],"core-js/features/string/virtual/bold":["es.string.bold"],"core-js/features/string/virtual/code-point-at":["es.string.code-point-at"],"core-js/features/string/virtual/code-points":["esnext.string.code-points"],"core-js/features/string/virtual/ends-with":["es.string.ends-with"],"core-js/features/string/virtual/fixed":["es.string.fixed"],"core-js/features/string/virtual/fontcolor":["es.string.fontcolor"],"core-js/features/string/virtual/fontsize":["es.string.fontsize"],"core-js/features/string/virtual/includes":["es.string.includes"],"core-js/features/string/virtual/italics":["es.string.italics"],"core-js/features/string/virtual/iterator":["es.string.iterator"],"core-js/features/string/virtual/link":["es.string.link"],"core-js/features/string/virtual/match-all":["es.string.match-all","esnext.string.match-all"],"core-js/features/string/virtual/pad-end":["es.string.pad-end"],"core-js/features/string/virtual/pad-start":["es.string.pad-start"],"core-js/features/string/virtual/repeat":["es.string.repeat"],"core-js/features/string/virtual/replace-all":["es.string.replace-all","esnext.string.replace-all"],"core-js/features/string/virtual/small":["es.string.small"],"core-js/features/string/virtual/starts-with":["es.string.starts-with"],"core-js/features/string/virtual/strike":["es.string.strike"],"core-js/features/string/virtual/sub":["es.string.sub"],"core-js/features/string/virtual/sup":["es.string.sup"],"core-js/features/string/virtual/trim":["es.string.trim"],"core-js/features/string/virtual/trim-end":["es.string.trim-end"],"core-js/features/string/virtual/trim-left":["es.string.trim-start"],"core-js/features/string/virtual/trim-right":["es.string.trim-end"],"core-js/features/string/virtual/trim-start":["es.string.trim-start"],"core-js/features/symbol":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.array.concat","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all"],"core-js/features/symbol/async-dispose":["esnext.symbol.async-dispose"],"core-js/features/symbol/async-iterator":["es.symbol.async-iterator"],"core-js/features/symbol/description":["es.symbol.description"],"core-js/features/symbol/dispose":["esnext.symbol.dispose"],"core-js/features/symbol/for":["es.symbol"],"core-js/features/symbol/has-instance":["es.symbol.has-instance","es.function.has-instance"],"core-js/features/symbol/is-concat-spreadable":["es.symbol.is-concat-spreadable","es.array.concat"],"core-js/features/symbol/iterator":["es.symbol.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/features/symbol/key-for":["es.symbol"],"core-js/features/symbol/match":["es.symbol.match","es.string.match"],"core-js/features/symbol/match-all":["es.symbol.match-all","es.string.match-all"],"core-js/features/symbol/matcher":["esnext.symbol.matcher"],"core-js/features/symbol/metadata":["esnext.symbol.metadata"],"core-js/features/symbol/observable":["esnext.symbol.observable"],"core-js/features/symbol/pattern-match":["esnext.symbol.pattern-match"],"core-js/features/symbol/replace":["es.symbol.replace","es.string.replace"],"core-js/features/symbol/replace-all":["esnext.symbol.replace-all"],"core-js/features/symbol/search":["es.symbol.search","es.string.search"],"core-js/features/symbol/species":["es.symbol.species"],"core-js/features/symbol/split":["es.symbol.split","es.string.split"],"core-js/features/symbol/to-primitive":["es.symbol.to-primitive"],"core-js/features/symbol/to-string-tag":["es.symbol.to-string-tag","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/features/symbol/unscopables":["es.symbol.unscopables"],"core-js/features/typed-array":["es.map","es.object.to-string","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.unique-by"],"core-js/features/typed-array/at":["esnext.typed-array.at"],"core-js/features/typed-array/copy-within":["es.typed-array.copy-within"],"core-js/features/typed-array/entries":["es.typed-array.iterator"],"core-js/features/typed-array/every":["es.typed-array.every"],"core-js/features/typed-array/fill":["es.typed-array.fill"],"core-js/features/typed-array/filter":["es.typed-array.filter"],"core-js/features/typed-array/filter-out":["esnext.typed-array.filter-out"],"core-js/features/typed-array/find":["es.typed-array.find"],"core-js/features/typed-array/find-index":["es.typed-array.find-index"],"core-js/features/typed-array/find-last":["esnext.typed-array.find-last"],"core-js/features/typed-array/find-last-index":["esnext.typed-array.find-last-index"],"core-js/features/typed-array/float32-array":["es.object.to-string","es.typed-array.float32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/float64-array":["es.object.to-string","es.typed-array.float64-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/for-each":["es.typed-array.for-each"],"core-js/features/typed-array/from":["es.typed-array.from"],"core-js/features/typed-array/includes":["es.typed-array.includes"],"core-js/features/typed-array/index-of":["es.typed-array.index-of"],"core-js/features/typed-array/int16-array":["es.object.to-string","es.typed-array.int16-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/int32-array":["es.object.to-string","es.typed-array.int32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/int8-array":["es.object.to-string","es.typed-array.int8-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/iterator":["es.typed-array.iterator"],"core-js/features/typed-array/join":["es.typed-array.join"],"core-js/features/typed-array/keys":["es.typed-array.iterator"],"core-js/features/typed-array/last-index-of":["es.typed-array.last-index-of"],"core-js/features/typed-array/map":["es.typed-array.map"],"core-js/features/typed-array/of":["es.typed-array.of"],"core-js/features/typed-array/reduce":["es.typed-array.reduce"],"core-js/features/typed-array/reduce-right":["es.typed-array.reduce-right"],"core-js/features/typed-array/reverse":["es.typed-array.reverse"],"core-js/features/typed-array/set":["es.typed-array.set"],"core-js/features/typed-array/slice":["es.typed-array.slice"],"core-js/features/typed-array/some":["es.typed-array.some"],"core-js/features/typed-array/sort":["es.typed-array.sort"],"core-js/features/typed-array/subarray":["es.typed-array.subarray"],"core-js/features/typed-array/to-locale-string":["es.typed-array.to-locale-string"],"core-js/features/typed-array/to-string":["es.typed-array.to-string"],"core-js/features/typed-array/uint16-array":["es.object.to-string","es.typed-array.uint16-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/uint32-array":["es.object.to-string","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/uint8-array":["es.object.to-string","es.typed-array.uint8-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/uint8-clamped-array":["es.object.to-string","es.typed-array.uint8-clamped-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/features/typed-array/unique-by":["es.map","esnext.typed-array.unique-by"],"core-js/features/typed-array/values":["es.typed-array.iterator"],"core-js/features/url":["web.url","web.url.to-json","web.url-search-params"],"core-js/features/url-search-params":["web.url-search-params"],"core-js/features/url/to-json":["web.url.to-json"],"core-js/features/weak-map":["es.object.to-string","es.weak-map","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","web.dom-collections.iterator"],"core-js/features/weak-map/delete-all":["es.weak-map","esnext.weak-map.delete-all"],"core-js/features/weak-map/emplace":["es.weak-map","esnext.weak-map.emplace"],"core-js/features/weak-map/from":["es.string.iterator","es.weak-map","esnext.weak-map.from","web.dom-collections.iterator"],"core-js/features/weak-map/of":["es.string.iterator","es.weak-map","esnext.weak-map.of","web.dom-collections.iterator"],"core-js/features/weak-map/upsert":["es.weak-map","esnext.weak-map.upsert"],"core-js/features/weak-set":["es.object.to-string","es.weak-set","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.dom-collections.iterator"],"core-js/features/weak-set/add-all":["es.weak-set","esnext.weak-set.add-all"],"core-js/features/weak-set/delete-all":["es.weak-set","esnext.weak-set.delete-all"],"core-js/features/weak-set/from":["es.string.iterator","es.weak-set","esnext.weak-set.from","web.dom-collections.iterator"],"core-js/features/weak-set/of":["es.string.iterator","es.weak-set","esnext.weak-set.of","web.dom-collections.iterator"],"core-js/modules/es.aggregate-error":["es.aggregate-error"],"core-js/modules/es.array-buffer.constructor":["es.array-buffer.constructor"],"core-js/modules/es.array-buffer.is-view":["es.array-buffer.is-view"],"core-js/modules/es.array-buffer.slice":["es.array-buffer.slice"],"core-js/modules/es.array.concat":["es.array.concat"],"core-js/modules/es.array.copy-within":["es.array.copy-within"],"core-js/modules/es.array.every":["es.array.every"],"core-js/modules/es.array.fill":["es.array.fill"],"core-js/modules/es.array.filter":["es.array.filter"],"core-js/modules/es.array.find":["es.array.find"],"core-js/modules/es.array.find-index":["es.array.find-index"],"core-js/modules/es.array.flat":["es.array.flat"],"core-js/modules/es.array.flat-map":["es.array.flat-map"],"core-js/modules/es.array.for-each":["es.array.for-each"],"core-js/modules/es.array.from":["es.array.from"],"core-js/modules/es.array.includes":["es.array.includes"],"core-js/modules/es.array.index-of":["es.array.index-of"],"core-js/modules/es.array.is-array":["es.array.is-array"],"core-js/modules/es.array.iterator":["es.array.iterator"],"core-js/modules/es.array.join":["es.array.join"],"core-js/modules/es.array.last-index-of":["es.array.last-index-of"],"core-js/modules/es.array.map":["es.array.map"],"core-js/modules/es.array.of":["es.array.of"],"core-js/modules/es.array.reduce":["es.array.reduce"],"core-js/modules/es.array.reduce-right":["es.array.reduce-right"],"core-js/modules/es.array.reverse":["es.array.reverse"],"core-js/modules/es.array.slice":["es.array.slice"],"core-js/modules/es.array.some":["es.array.some"],"core-js/modules/es.array.sort":["es.array.sort"],"core-js/modules/es.array.species":["es.array.species"],"core-js/modules/es.array.splice":["es.array.splice"],"core-js/modules/es.array.unscopables.flat":["es.array.unscopables.flat"],"core-js/modules/es.array.unscopables.flat-map":["es.array.unscopables.flat-map"],"core-js/modules/es.data-view":["es.data-view"],"core-js/modules/es.date.now":["es.date.now"],"core-js/modules/es.date.to-iso-string":["es.date.to-iso-string"],"core-js/modules/es.date.to-json":["es.date.to-json"],"core-js/modules/es.date.to-primitive":["es.date.to-primitive"],"core-js/modules/es.date.to-string":["es.date.to-string"],"core-js/modules/es.function.bind":["es.function.bind"],"core-js/modules/es.function.has-instance":["es.function.has-instance"],"core-js/modules/es.function.name":["es.function.name"],"core-js/modules/es.global-this":["es.global-this"],"core-js/modules/es.json.stringify":["es.json.stringify"],"core-js/modules/es.json.to-string-tag":["es.json.to-string-tag"],"core-js/modules/es.map":["es.map"],"core-js/modules/es.math.acosh":["es.math.acosh"],"core-js/modules/es.math.asinh":["es.math.asinh"],"core-js/modules/es.math.atanh":["es.math.atanh"],"core-js/modules/es.math.cbrt":["es.math.cbrt"],"core-js/modules/es.math.clz32":["es.math.clz32"],"core-js/modules/es.math.cosh":["es.math.cosh"],"core-js/modules/es.math.expm1":["es.math.expm1"],"core-js/modules/es.math.fround":["es.math.fround"],"core-js/modules/es.math.hypot":["es.math.hypot"],"core-js/modules/es.math.imul":["es.math.imul"],"core-js/modules/es.math.log10":["es.math.log10"],"core-js/modules/es.math.log1p":["es.math.log1p"],"core-js/modules/es.math.log2":["es.math.log2"],"core-js/modules/es.math.sign":["es.math.sign"],"core-js/modules/es.math.sinh":["es.math.sinh"],"core-js/modules/es.math.tanh":["es.math.tanh"],"core-js/modules/es.math.to-string-tag":["es.math.to-string-tag"],"core-js/modules/es.math.trunc":["es.math.trunc"],"core-js/modules/es.number.constructor":["es.number.constructor"],"core-js/modules/es.number.epsilon":["es.number.epsilon"],"core-js/modules/es.number.is-finite":["es.number.is-finite"],"core-js/modules/es.number.is-integer":["es.number.is-integer"],"core-js/modules/es.number.is-nan":["es.number.is-nan"],"core-js/modules/es.number.is-safe-integer":["es.number.is-safe-integer"],"core-js/modules/es.number.max-safe-integer":["es.number.max-safe-integer"],"core-js/modules/es.number.min-safe-integer":["es.number.min-safe-integer"],"core-js/modules/es.number.parse-float":["es.number.parse-float"],"core-js/modules/es.number.parse-int":["es.number.parse-int"],"core-js/modules/es.number.to-fixed":["es.number.to-fixed"],"core-js/modules/es.number.to-precision":["es.number.to-precision"],"core-js/modules/es.object.assign":["es.object.assign"],"core-js/modules/es.object.create":["es.object.create"],"core-js/modules/es.object.define-getter":["es.object.define-getter"],"core-js/modules/es.object.define-properties":["es.object.define-properties"],"core-js/modules/es.object.define-property":["es.object.define-property"],"core-js/modules/es.object.define-setter":["es.object.define-setter"],"core-js/modules/es.object.entries":["es.object.entries"],"core-js/modules/es.object.freeze":["es.object.freeze"],"core-js/modules/es.object.from-entries":["es.object.from-entries"],"core-js/modules/es.object.get-own-property-descriptor":["es.object.get-own-property-descriptor"],"core-js/modules/es.object.get-own-property-descriptors":["es.object.get-own-property-descriptors"],"core-js/modules/es.object.get-own-property-names":["es.object.get-own-property-names"],"core-js/modules/es.object.get-prototype-of":["es.object.get-prototype-of"],"core-js/modules/es.object.is":["es.object.is"],"core-js/modules/es.object.is-extensible":["es.object.is-extensible"],"core-js/modules/es.object.is-frozen":["es.object.is-frozen"],"core-js/modules/es.object.is-sealed":["es.object.is-sealed"],"core-js/modules/es.object.keys":["es.object.keys"],"core-js/modules/es.object.lookup-getter":["es.object.lookup-getter"],"core-js/modules/es.object.lookup-setter":["es.object.lookup-setter"],"core-js/modules/es.object.prevent-extensions":["es.object.prevent-extensions"],"core-js/modules/es.object.seal":["es.object.seal"],"core-js/modules/es.object.set-prototype-of":["es.object.set-prototype-of"],"core-js/modules/es.object.to-string":["es.object.to-string"],"core-js/modules/es.object.values":["es.object.values"],"core-js/modules/es.parse-float":["es.parse-float"],"core-js/modules/es.parse-int":["es.parse-int"],"core-js/modules/es.promise":["es.promise"],"core-js/modules/es.promise.all-settled":["es.promise.all-settled"],"core-js/modules/es.promise.any":["es.promise.any"],"core-js/modules/es.promise.finally":["es.promise.finally"],"core-js/modules/es.reflect.apply":["es.reflect.apply"],"core-js/modules/es.reflect.construct":["es.reflect.construct"],"core-js/modules/es.reflect.define-property":["es.reflect.define-property"],"core-js/modules/es.reflect.delete-property":["es.reflect.delete-property"],"core-js/modules/es.reflect.get":["es.reflect.get"],"core-js/modules/es.reflect.get-own-property-descriptor":["es.reflect.get-own-property-descriptor"],"core-js/modules/es.reflect.get-prototype-of":["es.reflect.get-prototype-of"],"core-js/modules/es.reflect.has":["es.reflect.has"],"core-js/modules/es.reflect.is-extensible":["es.reflect.is-extensible"],"core-js/modules/es.reflect.own-keys":["es.reflect.own-keys"],"core-js/modules/es.reflect.prevent-extensions":["es.reflect.prevent-extensions"],"core-js/modules/es.reflect.set":["es.reflect.set"],"core-js/modules/es.reflect.set-prototype-of":["es.reflect.set-prototype-of"],"core-js/modules/es.reflect.to-string-tag":["es.reflect.to-string-tag"],"core-js/modules/es.regexp.constructor":["es.regexp.constructor"],"core-js/modules/es.regexp.exec":["es.regexp.exec"],"core-js/modules/es.regexp.flags":["es.regexp.flags"],"core-js/modules/es.regexp.sticky":["es.regexp.sticky"],"core-js/modules/es.regexp.test":["es.regexp.test"],"core-js/modules/es.regexp.to-string":["es.regexp.to-string"],"core-js/modules/es.set":["es.set"],"core-js/modules/es.string.anchor":["es.string.anchor"],"core-js/modules/es.string.big":["es.string.big"],"core-js/modules/es.string.blink":["es.string.blink"],"core-js/modules/es.string.bold":["es.string.bold"],"core-js/modules/es.string.code-point-at":["es.string.code-point-at"],"core-js/modules/es.string.ends-with":["es.string.ends-with"],"core-js/modules/es.string.fixed":["es.string.fixed"],"core-js/modules/es.string.fontcolor":["es.string.fontcolor"],"core-js/modules/es.string.fontsize":["es.string.fontsize"],"core-js/modules/es.string.from-code-point":["es.string.from-code-point"],"core-js/modules/es.string.includes":["es.string.includes"],"core-js/modules/es.string.italics":["es.string.italics"],"core-js/modules/es.string.iterator":["es.string.iterator"],"core-js/modules/es.string.link":["es.string.link"],"core-js/modules/es.string.match":["es.string.match"],"core-js/modules/es.string.match-all":["es.string.match-all"],"core-js/modules/es.string.pad-end":["es.string.pad-end"],"core-js/modules/es.string.pad-start":["es.string.pad-start"],"core-js/modules/es.string.raw":["es.string.raw"],"core-js/modules/es.string.repeat":["es.string.repeat"],"core-js/modules/es.string.replace":["es.string.replace"],"core-js/modules/es.string.replace-all":["es.string.replace-all"],"core-js/modules/es.string.search":["es.string.search"],"core-js/modules/es.string.small":["es.string.small"],"core-js/modules/es.string.split":["es.string.split"],"core-js/modules/es.string.starts-with":["es.string.starts-with"],"core-js/modules/es.string.strike":["es.string.strike"],"core-js/modules/es.string.sub":["es.string.sub"],"core-js/modules/es.string.sup":["es.string.sup"],"core-js/modules/es.string.trim":["es.string.trim"],"core-js/modules/es.string.trim-end":["es.string.trim-end"],"core-js/modules/es.string.trim-start":["es.string.trim-start"],"core-js/modules/es.symbol":["es.symbol"],"core-js/modules/es.symbol.async-iterator":["es.symbol.async-iterator"],"core-js/modules/es.symbol.description":["es.symbol.description"],"core-js/modules/es.symbol.has-instance":["es.symbol.has-instance"],"core-js/modules/es.symbol.is-concat-spreadable":["es.symbol.is-concat-spreadable"],"core-js/modules/es.symbol.iterator":["es.symbol.iterator"],"core-js/modules/es.symbol.match":["es.symbol.match"],"core-js/modules/es.symbol.match-all":["es.symbol.match-all"],"core-js/modules/es.symbol.replace":["es.symbol.replace"],"core-js/modules/es.symbol.search":["es.symbol.search"],"core-js/modules/es.symbol.species":["es.symbol.species"],"core-js/modules/es.symbol.split":["es.symbol.split"],"core-js/modules/es.symbol.to-primitive":["es.symbol.to-primitive"],"core-js/modules/es.symbol.to-string-tag":["es.symbol.to-string-tag"],"core-js/modules/es.symbol.unscopables":["es.symbol.unscopables"],"core-js/modules/es.typed-array.copy-within":["es.typed-array.copy-within"],"core-js/modules/es.typed-array.every":["es.typed-array.every"],"core-js/modules/es.typed-array.fill":["es.typed-array.fill"],"core-js/modules/es.typed-array.filter":["es.typed-array.filter"],"core-js/modules/es.typed-array.find":["es.typed-array.find"],"core-js/modules/es.typed-array.find-index":["es.typed-array.find-index"],"core-js/modules/es.typed-array.float32-array":["es.typed-array.float32-array"],"core-js/modules/es.typed-array.float64-array":["es.typed-array.float64-array"],"core-js/modules/es.typed-array.for-each":["es.typed-array.for-each"],"core-js/modules/es.typed-array.from":["es.typed-array.from"],"core-js/modules/es.typed-array.includes":["es.typed-array.includes"],"core-js/modules/es.typed-array.index-of":["es.typed-array.index-of"],"core-js/modules/es.typed-array.int16-array":["es.typed-array.int16-array"],"core-js/modules/es.typed-array.int32-array":["es.typed-array.int32-array"],"core-js/modules/es.typed-array.int8-array":["es.typed-array.int8-array"],"core-js/modules/es.typed-array.iterator":["es.typed-array.iterator"],"core-js/modules/es.typed-array.join":["es.typed-array.join"],"core-js/modules/es.typed-array.last-index-of":["es.typed-array.last-index-of"],"core-js/modules/es.typed-array.map":["es.typed-array.map"],"core-js/modules/es.typed-array.of":["es.typed-array.of"],"core-js/modules/es.typed-array.reduce":["es.typed-array.reduce"],"core-js/modules/es.typed-array.reduce-right":["es.typed-array.reduce-right"],"core-js/modules/es.typed-array.reverse":["es.typed-array.reverse"],"core-js/modules/es.typed-array.set":["es.typed-array.set"],"core-js/modules/es.typed-array.slice":["es.typed-array.slice"],"core-js/modules/es.typed-array.some":["es.typed-array.some"],"core-js/modules/es.typed-array.sort":["es.typed-array.sort"],"core-js/modules/es.typed-array.subarray":["es.typed-array.subarray"],"core-js/modules/es.typed-array.to-locale-string":["es.typed-array.to-locale-string"],"core-js/modules/es.typed-array.to-string":["es.typed-array.to-string"],"core-js/modules/es.typed-array.uint16-array":["es.typed-array.uint16-array"],"core-js/modules/es.typed-array.uint32-array":["es.typed-array.uint32-array"],"core-js/modules/es.typed-array.uint8-array":["es.typed-array.uint8-array"],"core-js/modules/es.typed-array.uint8-clamped-array":["es.typed-array.uint8-clamped-array"],"core-js/modules/es.weak-map":["es.weak-map"],"core-js/modules/es.weak-set":["es.weak-set"],"core-js/modules/esnext.aggregate-error":["esnext.aggregate-error"],"core-js/modules/esnext.array.at":["esnext.array.at"],"core-js/modules/esnext.array.filter-out":["esnext.array.filter-out"],"core-js/modules/esnext.array.find-last":["esnext.array.find-last"],"core-js/modules/esnext.array.find-last-index":["esnext.array.find-last-index"],"core-js/modules/esnext.array.is-template-object":["esnext.array.is-template-object"],"core-js/modules/esnext.array.last-index":["esnext.array.last-index"],"core-js/modules/esnext.array.last-item":["esnext.array.last-item"],"core-js/modules/esnext.array.unique-by":["esnext.array.unique-by"],"core-js/modules/esnext.async-iterator.as-indexed-pairs":["esnext.async-iterator.as-indexed-pairs"],"core-js/modules/esnext.async-iterator.constructor":["esnext.async-iterator.constructor"],"core-js/modules/esnext.async-iterator.drop":["esnext.async-iterator.drop"],"core-js/modules/esnext.async-iterator.every":["esnext.async-iterator.every"],"core-js/modules/esnext.async-iterator.filter":["esnext.async-iterator.filter"],"core-js/modules/esnext.async-iterator.find":["esnext.async-iterator.find"],"core-js/modules/esnext.async-iterator.flat-map":["esnext.async-iterator.flat-map"],"core-js/modules/esnext.async-iterator.for-each":["esnext.async-iterator.for-each"],"core-js/modules/esnext.async-iterator.from":["esnext.async-iterator.from"],"core-js/modules/esnext.async-iterator.map":["esnext.async-iterator.map"],"core-js/modules/esnext.async-iterator.reduce":["esnext.async-iterator.reduce"],"core-js/modules/esnext.async-iterator.some":["esnext.async-iterator.some"],"core-js/modules/esnext.async-iterator.take":["esnext.async-iterator.take"],"core-js/modules/esnext.async-iterator.to-array":["esnext.async-iterator.to-array"],"core-js/modules/esnext.bigint.range":["esnext.bigint.range"],"core-js/modules/esnext.composite-key":["esnext.composite-key"],"core-js/modules/esnext.composite-symbol":["esnext.composite-symbol"],"core-js/modules/esnext.global-this":["esnext.global-this"],"core-js/modules/esnext.iterator.as-indexed-pairs":["esnext.iterator.as-indexed-pairs"],"core-js/modules/esnext.iterator.constructor":["esnext.iterator.constructor"],"core-js/modules/esnext.iterator.drop":["esnext.iterator.drop"],"core-js/modules/esnext.iterator.every":["esnext.iterator.every"],"core-js/modules/esnext.iterator.filter":["esnext.iterator.filter"],"core-js/modules/esnext.iterator.find":["esnext.iterator.find"],"core-js/modules/esnext.iterator.flat-map":["esnext.iterator.flat-map"],"core-js/modules/esnext.iterator.for-each":["esnext.iterator.for-each"],"core-js/modules/esnext.iterator.from":["esnext.iterator.from"],"core-js/modules/esnext.iterator.map":["esnext.iterator.map"],"core-js/modules/esnext.iterator.reduce":["esnext.iterator.reduce"],"core-js/modules/esnext.iterator.some":["esnext.iterator.some"],"core-js/modules/esnext.iterator.take":["esnext.iterator.take"],"core-js/modules/esnext.iterator.to-array":["esnext.iterator.to-array"],"core-js/modules/esnext.map.delete-all":["esnext.map.delete-all"],"core-js/modules/esnext.map.emplace":["esnext.map.emplace"],"core-js/modules/esnext.map.every":["esnext.map.every"],"core-js/modules/esnext.map.filter":["esnext.map.filter"],"core-js/modules/esnext.map.find":["esnext.map.find"],"core-js/modules/esnext.map.find-key":["esnext.map.find-key"],"core-js/modules/esnext.map.from":["esnext.map.from"],"core-js/modules/esnext.map.group-by":["esnext.map.group-by"],"core-js/modules/esnext.map.includes":["esnext.map.includes"],"core-js/modules/esnext.map.key-by":["esnext.map.key-by"],"core-js/modules/esnext.map.key-of":["esnext.map.key-of"],"core-js/modules/esnext.map.map-keys":["esnext.map.map-keys"],"core-js/modules/esnext.map.map-values":["esnext.map.map-values"],"core-js/modules/esnext.map.merge":["esnext.map.merge"],"core-js/modules/esnext.map.of":["esnext.map.of"],"core-js/modules/esnext.map.reduce":["esnext.map.reduce"],"core-js/modules/esnext.map.some":["esnext.map.some"],"core-js/modules/esnext.map.update":["esnext.map.update"],"core-js/modules/esnext.map.update-or-insert":["esnext.map.update-or-insert"],"core-js/modules/esnext.map.upsert":["esnext.map.upsert"],"core-js/modules/esnext.math.clamp":["esnext.math.clamp"],"core-js/modules/esnext.math.deg-per-rad":["esnext.math.deg-per-rad"],"core-js/modules/esnext.math.degrees":["esnext.math.degrees"],"core-js/modules/esnext.math.fscale":["esnext.math.fscale"],"core-js/modules/esnext.math.iaddh":["esnext.math.iaddh"],"core-js/modules/esnext.math.imulh":["esnext.math.imulh"],"core-js/modules/esnext.math.isubh":["esnext.math.isubh"],"core-js/modules/esnext.math.rad-per-deg":["esnext.math.rad-per-deg"],"core-js/modules/esnext.math.radians":["esnext.math.radians"],"core-js/modules/esnext.math.scale":["esnext.math.scale"],"core-js/modules/esnext.math.seeded-prng":["esnext.math.seeded-prng"],"core-js/modules/esnext.math.signbit":["esnext.math.signbit"],"core-js/modules/esnext.math.umulh":["esnext.math.umulh"],"core-js/modules/esnext.number.from-string":["esnext.number.from-string"],"core-js/modules/esnext.number.range":["esnext.number.range"],"core-js/modules/esnext.object.has-own":["esnext.object.has-own"],"core-js/modules/esnext.object.iterate-entries":["esnext.object.iterate-entries"],"core-js/modules/esnext.object.iterate-keys":["esnext.object.iterate-keys"],"core-js/modules/esnext.object.iterate-values":["esnext.object.iterate-values"],"core-js/modules/esnext.observable":["esnext.observable"],"core-js/modules/esnext.promise.all-settled":["esnext.promise.all-settled"],"core-js/modules/esnext.promise.any":["esnext.promise.any"],"core-js/modules/esnext.promise.try":["esnext.promise.try"],"core-js/modules/esnext.reflect.define-metadata":["esnext.reflect.define-metadata"],"core-js/modules/esnext.reflect.delete-metadata":["esnext.reflect.delete-metadata"],"core-js/modules/esnext.reflect.get-metadata":["esnext.reflect.get-metadata"],"core-js/modules/esnext.reflect.get-metadata-keys":["esnext.reflect.get-metadata-keys"],"core-js/modules/esnext.reflect.get-own-metadata":["esnext.reflect.get-own-metadata"],"core-js/modules/esnext.reflect.get-own-metadata-keys":["esnext.reflect.get-own-metadata-keys"],"core-js/modules/esnext.reflect.has-metadata":["esnext.reflect.has-metadata"],"core-js/modules/esnext.reflect.has-own-metadata":["esnext.reflect.has-own-metadata"],"core-js/modules/esnext.reflect.metadata":["esnext.reflect.metadata"],"core-js/modules/esnext.set.add-all":["esnext.set.add-all"],"core-js/modules/esnext.set.delete-all":["esnext.set.delete-all"],"core-js/modules/esnext.set.difference":["esnext.set.difference"],"core-js/modules/esnext.set.every":["esnext.set.every"],"core-js/modules/esnext.set.filter":["esnext.set.filter"],"core-js/modules/esnext.set.find":["esnext.set.find"],"core-js/modules/esnext.set.from":["esnext.set.from"],"core-js/modules/esnext.set.intersection":["esnext.set.intersection"],"core-js/modules/esnext.set.is-disjoint-from":["esnext.set.is-disjoint-from"],"core-js/modules/esnext.set.is-subset-of":["esnext.set.is-subset-of"],"core-js/modules/esnext.set.is-superset-of":["esnext.set.is-superset-of"],"core-js/modules/esnext.set.join":["esnext.set.join"],"core-js/modules/esnext.set.map":["esnext.set.map"],"core-js/modules/esnext.set.of":["esnext.set.of"],"core-js/modules/esnext.set.reduce":["esnext.set.reduce"],"core-js/modules/esnext.set.some":["esnext.set.some"],"core-js/modules/esnext.set.symmetric-difference":["esnext.set.symmetric-difference"],"core-js/modules/esnext.set.union":["esnext.set.union"],"core-js/modules/esnext.string.at":["esnext.string.at"],"core-js/modules/esnext.string.at-alternative":["esnext.string.at-alternative"],"core-js/modules/esnext.string.code-points":["esnext.string.code-points"],"core-js/modules/esnext.string.match-all":["esnext.string.match-all"],"core-js/modules/esnext.string.replace-all":["esnext.string.replace-all"],"core-js/modules/esnext.symbol.async-dispose":["esnext.symbol.async-dispose"],"core-js/modules/esnext.symbol.dispose":["esnext.symbol.dispose"],"core-js/modules/esnext.symbol.matcher":["esnext.symbol.matcher"],"core-js/modules/esnext.symbol.metadata":["esnext.symbol.metadata"],"core-js/modules/esnext.symbol.observable":["esnext.symbol.observable"],"core-js/modules/esnext.symbol.pattern-match":["esnext.symbol.pattern-match"],"core-js/modules/esnext.symbol.replace-all":["esnext.symbol.replace-all"],"core-js/modules/esnext.typed-array.at":["esnext.typed-array.at"],"core-js/modules/esnext.typed-array.filter-out":["esnext.typed-array.filter-out"],"core-js/modules/esnext.typed-array.find-last":["esnext.typed-array.find-last"],"core-js/modules/esnext.typed-array.find-last-index":["esnext.typed-array.find-last-index"],"core-js/modules/esnext.typed-array.unique-by":["esnext.typed-array.unique-by"],"core-js/modules/esnext.weak-map.delete-all":["esnext.weak-map.delete-all"],"core-js/modules/esnext.weak-map.emplace":["esnext.weak-map.emplace"],"core-js/modules/esnext.weak-map.from":["esnext.weak-map.from"],"core-js/modules/esnext.weak-map.of":["esnext.weak-map.of"],"core-js/modules/esnext.weak-map.upsert":["esnext.weak-map.upsert"],"core-js/modules/esnext.weak-set.add-all":["esnext.weak-set.add-all"],"core-js/modules/esnext.weak-set.delete-all":["esnext.weak-set.delete-all"],"core-js/modules/esnext.weak-set.from":["esnext.weak-set.from"],"core-js/modules/esnext.weak-set.of":["esnext.weak-set.of"],"core-js/modules/web.dom-collections.for-each":["web.dom-collections.for-each"],"core-js/modules/web.dom-collections.iterator":["web.dom-collections.iterator"],"core-js/modules/web.immediate":["web.immediate"],"core-js/modules/web.queue-microtask":["web.queue-microtask"],"core-js/modules/web.timers":["web.timers"],"core-js/modules/web.url":["web.url"],"core-js/modules/web.url-search-params":["web.url-search-params"],"core-js/modules/web.url.to-json":["web.url.to-json"],"core-js/proposals":["es.map","esnext.aggregate-error","esnext.array.at","esnext.array.filter-out","esnext.array.find-last","esnext.array.find-last-index","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.unique-by","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.url","web.url.to-json","web.url-search-params"],"core-js/proposals/accessible-object-hasownproperty":["esnext.object.has-own"],"core-js/proposals/array-filtering":["esnext.array.filter-out","esnext.typed-array.filter-out"],"core-js/proposals/array-find-from-last":["esnext.array.find-last","esnext.array.find-last-index","esnext.typed-array.find-last","esnext.typed-array.find-last-index"],"core-js/proposals/array-is-template-object":["esnext.array.is-template-object"],"core-js/proposals/array-last":["esnext.array.last-index","esnext.array.last-item"],"core-js/proposals/array-unique":["es.map","esnext.array.unique-by","esnext.typed-array.unique-by"],"core-js/proposals/collection-methods":["esnext.map.delete-all","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.set.add-all","esnext.set.delete-all","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.join","esnext.set.map","esnext.set.reduce","esnext.set.some","esnext.weak-map.delete-all","esnext.weak-set.add-all","esnext.weak-set.delete-all"],"core-js/proposals/collection-of-from":["esnext.map.from","esnext.map.of","esnext.set.from","esnext.set.of","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-set.from","esnext.weak-set.of"],"core-js/proposals/decorators":["esnext.symbol.metadata"],"core-js/proposals/efficient-64-bit-arithmetic":["esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.umulh"],"core-js/proposals/global-this":["esnext.global-this"],"core-js/proposals/iterator-helpers":["esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array"],"core-js/proposals/keys-composition":["esnext.composite-key","esnext.composite-symbol"],"core-js/proposals/map-update-or-insert":["esnext.map.emplace","esnext.map.update-or-insert","esnext.map.upsert","esnext.weak-map.emplace","esnext.weak-map.upsert"],"core-js/proposals/map-upsert":["esnext.map.emplace","esnext.map.update-or-insert","esnext.map.upsert","esnext.weak-map.emplace","esnext.weak-map.upsert"],"core-js/proposals/math-extensions":["esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale"],"core-js/proposals/math-signbit":["esnext.math.signbit"],"core-js/proposals/number-from-string":["esnext.number.from-string"],"core-js/proposals/number-range":["esnext.bigint.range","esnext.number.range"],"core-js/proposals/object-iteration":["esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values"],"core-js/proposals/observable":["esnext.observable","esnext.symbol.observable"],"core-js/proposals/pattern-matching":["esnext.symbol.matcher","esnext.symbol.pattern-match"],"core-js/proposals/promise-all-settled":["esnext.promise.all-settled"],"core-js/proposals/promise-any":["esnext.aggregate-error","esnext.promise.any"],"core-js/proposals/promise-try":["esnext.promise.try"],"core-js/proposals/reflect-metadata":["esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata"],"core-js/proposals/relative-indexing-method":["esnext.array.at","esnext.typed-array.at"],"core-js/proposals/seeded-random":["esnext.math.seeded-prng"],"core-js/proposals/set-methods":["esnext.set.difference","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.symmetric-difference","esnext.set.union"],"core-js/proposals/string-at":["esnext.string.at"],"core-js/proposals/string-code-points":["esnext.string.code-points"],"core-js/proposals/string-match-all":["esnext.string.match-all"],"core-js/proposals/string-replace-all":["esnext.string.replace-all","esnext.symbol.replace-all"],"core-js/proposals/url":["web.url","web.url.to-json","web.url-search-params"],"core-js/proposals/using-statement":["esnext.symbol.async-dispose","esnext.symbol.dispose"],"core-js/stable":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.aggregate-error","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.weak-map","es.weak-set","web.dom-collections.for-each","web.dom-collections.iterator","web.immediate","web.queue-microtask","web.timers","web.url","web.url.to-json","web.url-search-params"],"core-js/stable/aggregate-error":["es.aggregate-error","es.string.iterator","esnext.aggregate-error","web.dom-collections.iterator"],"core-js/stable/array":["es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.string.iterator"],"core-js/stable/array-buffer":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string"],"core-js/stable/array-buffer/constructor":["es.array-buffer.constructor","es.object.to-string"],"core-js/stable/array-buffer/is-view":["es.array-buffer.is-view"],"core-js/stable/array-buffer/slice":["es.array-buffer.slice"],"core-js/stable/array/concat":["es.array.concat"],"core-js/stable/array/copy-within":["es.array.copy-within"],"core-js/stable/array/entries":["es.array.iterator"],"core-js/stable/array/every":["es.array.every"],"core-js/stable/array/fill":["es.array.fill"],"core-js/stable/array/filter":["es.array.filter"],"core-js/stable/array/find":["es.array.find"],"core-js/stable/array/find-index":["es.array.find-index"],"core-js/stable/array/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/stable/array/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/stable/array/for-each":["es.array.for-each"],"core-js/stable/array/from":["es.array.from","es.string.iterator"],"core-js/stable/array/includes":["es.array.includes"],"core-js/stable/array/index-of":["es.array.index-of"],"core-js/stable/array/is-array":["es.array.is-array"],"core-js/stable/array/iterator":["es.array.iterator"],"core-js/stable/array/join":["es.array.join"],"core-js/stable/array/keys":["es.array.iterator"],"core-js/stable/array/last-index-of":["es.array.last-index-of"],"core-js/stable/array/map":["es.array.map"],"core-js/stable/array/of":["es.array.of"],"core-js/stable/array/reduce":["es.array.reduce"],"core-js/stable/array/reduce-right":["es.array.reduce-right"],"core-js/stable/array/reverse":["es.array.reverse"],"core-js/stable/array/slice":["es.array.slice"],"core-js/stable/array/some":["es.array.some"],"core-js/stable/array/sort":["es.array.sort"],"core-js/stable/array/splice":["es.array.splice"],"core-js/stable/array/values":["es.array.iterator"],"core-js/stable/array/virtual":["es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.includes","es.array.index-of","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map"],"core-js/stable/array/virtual/concat":["es.array.concat"],"core-js/stable/array/virtual/copy-within":["es.array.copy-within"],"core-js/stable/array/virtual/entries":["es.array.iterator"],"core-js/stable/array/virtual/every":["es.array.every"],"core-js/stable/array/virtual/fill":["es.array.fill"],"core-js/stable/array/virtual/filter":["es.array.filter"],"core-js/stable/array/virtual/find":["es.array.find"],"core-js/stable/array/virtual/find-index":["es.array.find-index"],"core-js/stable/array/virtual/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/stable/array/virtual/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/stable/array/virtual/for-each":["es.array.for-each"],"core-js/stable/array/virtual/includes":["es.array.includes"],"core-js/stable/array/virtual/index-of":["es.array.index-of"],"core-js/stable/array/virtual/iterator":["es.array.iterator"],"core-js/stable/array/virtual/join":["es.array.join"],"core-js/stable/array/virtual/keys":["es.array.iterator"],"core-js/stable/array/virtual/last-index-of":["es.array.last-index-of"],"core-js/stable/array/virtual/map":["es.array.map"],"core-js/stable/array/virtual/reduce":["es.array.reduce"],"core-js/stable/array/virtual/reduce-right":["es.array.reduce-right"],"core-js/stable/array/virtual/reverse":["es.array.reverse"],"core-js/stable/array/virtual/slice":["es.array.slice"],"core-js/stable/array/virtual/some":["es.array.some"],"core-js/stable/array/virtual/sort":["es.array.sort"],"core-js/stable/array/virtual/splice":["es.array.splice"],"core-js/stable/array/virtual/values":["es.array.iterator"],"core-js/stable/clear-immediate":["web.immediate"],"core-js/stable/data-view":["es.data-view","es.object.to-string"],"core-js/stable/date":["es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string"],"core-js/stable/date/now":["es.date.now"],"core-js/stable/date/to-iso-string":["es.date.to-iso-string","es.date.to-json"],"core-js/stable/date/to-json":["es.date.to-json"],"core-js/stable/date/to-primitive":["es.date.to-primitive"],"core-js/stable/date/to-string":["es.date.to-string"],"core-js/stable/dom-collections":["es.array.iterator","web.dom-collections.for-each","web.dom-collections.iterator"],"core-js/stable/dom-collections/for-each":["web.dom-collections.for-each"],"core-js/stable/dom-collections/iterator":["web.dom-collections.iterator"],"core-js/stable/function":["es.function.bind","es.function.has-instance","es.function.name"],"core-js/stable/function/bind":["es.function.bind"],"core-js/stable/function/has-instance":["es.function.has-instance"],"core-js/stable/function/name":["es.function.name"],"core-js/stable/function/virtual":["es.function.bind"],"core-js/stable/function/virtual/bind":["es.function.bind"],"core-js/stable/global-this":["es.global-this"],"core-js/stable/instance/bind":["es.function.bind"],"core-js/stable/instance/code-point-at":["es.string.code-point-at"],"core-js/stable/instance/concat":["es.array.concat"],"core-js/stable/instance/copy-within":["es.array.copy-within"],"core-js/stable/instance/ends-with":["es.string.ends-with"],"core-js/stable/instance/entries":["es.array.iterator","web.dom-collections.iterator"],"core-js/stable/instance/every":["es.array.every"],"core-js/stable/instance/fill":["es.array.fill"],"core-js/stable/instance/filter":["es.array.filter"],"core-js/stable/instance/find":["es.array.find"],"core-js/stable/instance/find-index":["es.array.find-index"],"core-js/stable/instance/flags":["es.regexp.flags"],"core-js/stable/instance/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/stable/instance/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/stable/instance/for-each":["es.array.for-each","web.dom-collections.iterator"],"core-js/stable/instance/includes":["es.array.includes","es.string.includes"],"core-js/stable/instance/index-of":["es.array.index-of"],"core-js/stable/instance/keys":["es.array.iterator","web.dom-collections.iterator"],"core-js/stable/instance/last-index-of":["es.array.last-index-of"],"core-js/stable/instance/map":["es.array.map"],"core-js/stable/instance/match-all":["es.string.match-all"],"core-js/stable/instance/pad-end":["es.string.pad-end"],"core-js/stable/instance/pad-start":["es.string.pad-start"],"core-js/stable/instance/reduce":["es.array.reduce"],"core-js/stable/instance/reduce-right":["es.array.reduce-right"],"core-js/stable/instance/repeat":["es.string.repeat"],"core-js/stable/instance/replace-all":["es.string.replace-all"],"core-js/stable/instance/reverse":["es.array.reverse"],"core-js/stable/instance/slice":["es.array.slice"],"core-js/stable/instance/some":["es.array.some"],"core-js/stable/instance/sort":["es.array.sort"],"core-js/stable/instance/splice":["es.array.splice"],"core-js/stable/instance/starts-with":["es.string.starts-with"],"core-js/stable/instance/trim":["es.string.trim"],"core-js/stable/instance/trim-end":["es.string.trim-end"],"core-js/stable/instance/trim-left":["es.string.trim-start"],"core-js/stable/instance/trim-right":["es.string.trim-end"],"core-js/stable/instance/trim-start":["es.string.trim-start"],"core-js/stable/instance/values":["es.array.iterator","web.dom-collections.iterator"],"core-js/stable/json":["es.json.stringify","es.json.to-string-tag"],"core-js/stable/json/stringify":["es.json.stringify"],"core-js/stable/json/to-string-tag":["es.json.to-string-tag"],"core-js/stable/map":["es.map","es.object.to-string","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/math":["es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc"],"core-js/stable/math/acosh":["es.math.acosh"],"core-js/stable/math/asinh":["es.math.asinh"],"core-js/stable/math/atanh":["es.math.atanh"],"core-js/stable/math/cbrt":["es.math.cbrt"],"core-js/stable/math/clz32":["es.math.clz32"],"core-js/stable/math/cosh":["es.math.cosh"],"core-js/stable/math/expm1":["es.math.expm1"],"core-js/stable/math/fround":["es.math.fround"],"core-js/stable/math/hypot":["es.math.hypot"],"core-js/stable/math/imul":["es.math.imul"],"core-js/stable/math/log10":["es.math.log10"],"core-js/stable/math/log1p":["es.math.log1p"],"core-js/stable/math/log2":["es.math.log2"],"core-js/stable/math/sign":["es.math.sign"],"core-js/stable/math/sinh":["es.math.sinh"],"core-js/stable/math/tanh":["es.math.tanh"],"core-js/stable/math/to-string-tag":["es.math.to-string-tag"],"core-js/stable/math/trunc":["es.math.trunc"],"core-js/stable/number":["es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision"],"core-js/stable/number/constructor":["es.number.constructor"],"core-js/stable/number/epsilon":["es.number.epsilon"],"core-js/stable/number/is-finite":["es.number.is-finite"],"core-js/stable/number/is-integer":["es.number.is-integer"],"core-js/stable/number/is-nan":["es.number.is-nan"],"core-js/stable/number/is-safe-integer":["es.number.is-safe-integer"],"core-js/stable/number/max-safe-integer":["es.number.max-safe-integer"],"core-js/stable/number/min-safe-integer":["es.number.min-safe-integer"],"core-js/stable/number/parse-float":["es.number.parse-float"],"core-js/stable/number/parse-int":["es.number.parse-int"],"core-js/stable/number/to-fixed":["es.number.to-fixed"],"core-js/stable/number/to-precision":["es.number.to-precision"],"core-js/stable/number/virtual":["es.number.to-fixed","es.number.to-precision"],"core-js/stable/number/virtual/to-fixed":["es.number.to-fixed"],"core-js/stable/number/virtual/to-precision":["es.number.to-precision"],"core-js/stable/object":["es.symbol","es.json.to-string-tag","es.math.to-string-tag","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.reflect.to-string-tag"],"core-js/stable/object/assign":["es.object.assign"],"core-js/stable/object/create":["es.object.create"],"core-js/stable/object/define-getter":["es.object.define-getter"],"core-js/stable/object/define-properties":["es.object.define-properties"],"core-js/stable/object/define-property":["es.object.define-property"],"core-js/stable/object/define-setter":["es.object.define-setter"],"core-js/stable/object/entries":["es.object.entries"],"core-js/stable/object/freeze":["es.object.freeze"],"core-js/stable/object/from-entries":["es.array.iterator","es.object.from-entries"],"core-js/stable/object/get-own-property-descriptor":["es.object.get-own-property-descriptor"],"core-js/stable/object/get-own-property-descriptors":["es.object.get-own-property-descriptors"],"core-js/stable/object/get-own-property-names":["es.object.get-own-property-names"],"core-js/stable/object/get-own-property-symbols":["es.symbol"],"core-js/stable/object/get-prototype-of":["es.object.get-prototype-of"],"core-js/stable/object/is":["es.object.is"],"core-js/stable/object/is-extensible":["es.object.is-extensible"],"core-js/stable/object/is-frozen":["es.object.is-frozen"],"core-js/stable/object/is-sealed":["es.object.is-sealed"],"core-js/stable/object/keys":["es.object.keys"],"core-js/stable/object/lookup-getter":["es.object.lookup-setter"],"core-js/stable/object/lookup-setter":["es.object.lookup-setter"],"core-js/stable/object/prevent-extensions":["es.object.prevent-extensions"],"core-js/stable/object/seal":["es.object.seal"],"core-js/stable/object/set-prototype-of":["es.object.set-prototype-of"],"core-js/stable/object/to-string":["es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/stable/object/values":["es.object.values"],"core-js/stable/parse-float":["es.parse-float"],"core-js/stable/parse-int":["es.parse-int"],"core-js/stable/promise":["es.aggregate-error","es.object.to-string","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/promise/all-settled":["es.promise","es.promise.all-settled","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/promise/any":["es.aggregate-error","es.promise","es.promise.any","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/promise/finally":["es.promise","es.promise.finally"],"core-js/stable/queue-microtask":["web.queue-microtask"],"core-js/stable/reflect":["es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag"],"core-js/stable/reflect/apply":["es.reflect.apply"],"core-js/stable/reflect/construct":["es.reflect.construct"],"core-js/stable/reflect/define-property":["es.reflect.define-property"],"core-js/stable/reflect/delete-property":["es.reflect.delete-property"],"core-js/stable/reflect/get":["es.reflect.get"],"core-js/stable/reflect/get-own-property-descriptor":["es.reflect.get-own-property-descriptor"],"core-js/stable/reflect/get-prototype-of":["es.reflect.get-prototype-of"],"core-js/stable/reflect/has":["es.reflect.has"],"core-js/stable/reflect/is-extensible":["es.reflect.is-extensible"],"core-js/stable/reflect/own-keys":["es.reflect.own-keys"],"core-js/stable/reflect/prevent-extensions":["es.reflect.prevent-extensions"],"core-js/stable/reflect/set":["es.reflect.set"],"core-js/stable/reflect/set-prototype-of":["es.reflect.set-prototype-of"],"core-js/stable/reflect/to-string-tag":["es.reflect.to-string-tag"],"core-js/stable/regexp":["es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.string.match","es.string.replace","es.string.search","es.string.split"],"core-js/stable/regexp/constructor":["es.regexp.constructor"],"core-js/stable/regexp/flags":["es.regexp.flags"],"core-js/stable/regexp/match":["es.string.match"],"core-js/stable/regexp/replace":["es.string.replace"],"core-js/stable/regexp/search":["es.string.search"],"core-js/stable/regexp/split":["es.string.split"],"core-js/stable/regexp/sticky":["es.regexp.sticky"],"core-js/stable/regexp/test":["es.regexp.exec","es.regexp.test"],"core-js/stable/regexp/to-string":["es.regexp.to-string"],"core-js/stable/set":["es.object.to-string","es.set","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/set-immediate":["web.immediate"],"core-js/stable/set-interval":["web.timers"],"core-js/stable/set-timeout":["web.timers"],"core-js/stable/string":["es.regexp.exec","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup"],"core-js/stable/string/anchor":["es.string.anchor"],"core-js/stable/string/big":["es.string.big"],"core-js/stable/string/blink":["es.string.blink"],"core-js/stable/string/bold":["es.string.bold"],"core-js/stable/string/code-point-at":["es.string.code-point-at"],"core-js/stable/string/ends-with":["es.string.ends-with"],"core-js/stable/string/fixed":["es.string.fixed"],"core-js/stable/string/fontcolor":["es.string.fontcolor"],"core-js/stable/string/fontsize":["es.string.fontsize"],"core-js/stable/string/from-code-point":["es.string.from-code-point"],"core-js/stable/string/includes":["es.string.includes"],"core-js/stable/string/italics":["es.string.italics"],"core-js/stable/string/iterator":["es.string.iterator"],"core-js/stable/string/link":["es.string.link"],"core-js/stable/string/match":["es.regexp.exec","es.string.match"],"core-js/stable/string/match-all":["es.string.match-all"],"core-js/stable/string/pad-end":["es.string.pad-end"],"core-js/stable/string/pad-start":["es.string.pad-start"],"core-js/stable/string/raw":["es.string.raw"],"core-js/stable/string/repeat":["es.string.repeat"],"core-js/stable/string/replace":["es.regexp.exec","es.string.replace"],"core-js/stable/string/replace-all":["es.string.replace-all"],"core-js/stable/string/search":["es.regexp.exec","es.string.search"],"core-js/stable/string/small":["es.string.small"],"core-js/stable/string/split":["es.regexp.exec","es.string.split"],"core-js/stable/string/starts-with":["es.string.starts-with"],"core-js/stable/string/strike":["es.string.strike"],"core-js/stable/string/sub":["es.string.sub"],"core-js/stable/string/sup":["es.string.sup"],"core-js/stable/string/trim":["es.string.trim"],"core-js/stable/string/trim-end":["es.string.trim-end"],"core-js/stable/string/trim-left":["es.string.trim-start"],"core-js/stable/string/trim-right":["es.string.trim-end"],"core-js/stable/string/trim-start":["es.string.trim-start"],"core-js/stable/string/virtual":["es.string.code-point-at","es.string.ends-with","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup"],"core-js/stable/string/virtual/anchor":["es.string.anchor"],"core-js/stable/string/virtual/big":["es.string.big"],"core-js/stable/string/virtual/blink":["es.string.blink"],"core-js/stable/string/virtual/bold":["es.string.bold"],"core-js/stable/string/virtual/code-point-at":["es.string.code-point-at"],"core-js/stable/string/virtual/ends-with":["es.string.ends-with"],"core-js/stable/string/virtual/fixed":["es.string.fixed"],"core-js/stable/string/virtual/fontcolor":["es.string.fontcolor"],"core-js/stable/string/virtual/fontsize":["es.string.fontsize"],"core-js/stable/string/virtual/includes":["es.string.includes"],"core-js/stable/string/virtual/italics":["es.string.italics"],"core-js/stable/string/virtual/iterator":["es.string.iterator"],"core-js/stable/string/virtual/link":["es.string.link"],"core-js/stable/string/virtual/match-all":["es.string.match-all"],"core-js/stable/string/virtual/pad-end":["es.string.pad-end"],"core-js/stable/string/virtual/pad-start":["es.string.pad-start"],"core-js/stable/string/virtual/repeat":["es.string.repeat"],"core-js/stable/string/virtual/replace-all":["es.string.replace-all"],"core-js/stable/string/virtual/small":["es.string.small"],"core-js/stable/string/virtual/starts-with":["es.string.starts-with"],"core-js/stable/string/virtual/strike":["es.string.strike"],"core-js/stable/string/virtual/sub":["es.string.sub"],"core-js/stable/string/virtual/sup":["es.string.sup"],"core-js/stable/string/virtual/trim":["es.string.trim"],"core-js/stable/string/virtual/trim-end":["es.string.trim-end"],"core-js/stable/string/virtual/trim-left":["es.string.trim-start"],"core-js/stable/string/virtual/trim-right":["es.string.trim-end"],"core-js/stable/string/virtual/trim-start":["es.string.trim-start"],"core-js/stable/symbol":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.array.concat","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/stable/symbol/async-iterator":["es.symbol.async-iterator"],"core-js/stable/symbol/description":["es.symbol.description"],"core-js/stable/symbol/for":["es.symbol"],"core-js/stable/symbol/has-instance":["es.symbol.has-instance","es.function.has-instance"],"core-js/stable/symbol/is-concat-spreadable":["es.symbol.is-concat-spreadable","es.array.concat"],"core-js/stable/symbol/iterator":["es.symbol.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/symbol/key-for":["es.symbol"],"core-js/stable/symbol/match":["es.symbol.match","es.string.match"],"core-js/stable/symbol/match-all":["es.symbol.match-all","es.string.match-all"],"core-js/stable/symbol/replace":["es.symbol.replace","es.string.replace"],"core-js/stable/symbol/search":["es.symbol.search","es.string.search"],"core-js/stable/symbol/species":["es.symbol.species"],"core-js/stable/symbol/split":["es.symbol.split","es.string.split"],"core-js/stable/symbol/to-primitive":["es.symbol.to-primitive"],"core-js/stable/symbol/to-string-tag":["es.symbol.to-string-tag","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/stable/symbol/unscopables":["es.symbol.unscopables"],"core-js/stable/typed-array":["es.object.to-string","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/copy-within":["es.typed-array.copy-within"],"core-js/stable/typed-array/entries":["es.typed-array.iterator"],"core-js/stable/typed-array/every":["es.typed-array.every"],"core-js/stable/typed-array/fill":["es.typed-array.fill"],"core-js/stable/typed-array/filter":["es.typed-array.filter"],"core-js/stable/typed-array/find":["es.typed-array.find"],"core-js/stable/typed-array/find-index":["es.typed-array.find-index"],"core-js/stable/typed-array/float32-array":["es.object.to-string","es.typed-array.float32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/float64-array":["es.object.to-string","es.typed-array.float64-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/for-each":["es.typed-array.for-each"],"core-js/stable/typed-array/from":["es.typed-array.from"],"core-js/stable/typed-array/includes":["es.typed-array.includes"],"core-js/stable/typed-array/index-of":["es.typed-array.index-of"],"core-js/stable/typed-array/int16-array":["es.object.to-string","es.typed-array.int16-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/int32-array":["es.object.to-string","es.typed-array.int32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/int8-array":["es.object.to-string","es.typed-array.int8-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/iterator":["es.typed-array.iterator"],"core-js/stable/typed-array/join":["es.typed-array.join"],"core-js/stable/typed-array/keys":["es.typed-array.iterator"],"core-js/stable/typed-array/last-index-of":["es.typed-array.last-index-of"],"core-js/stable/typed-array/map":["es.typed-array.map"],"core-js/stable/typed-array/of":["es.typed-array.of"],"core-js/stable/typed-array/reduce":["es.typed-array.reduce"],"core-js/stable/typed-array/reduce-right":["es.typed-array.reduce-right"],"core-js/stable/typed-array/reverse":["es.typed-array.reverse"],"core-js/stable/typed-array/set":["es.typed-array.set"],"core-js/stable/typed-array/slice":["es.typed-array.slice"],"core-js/stable/typed-array/some":["es.typed-array.some"],"core-js/stable/typed-array/sort":["es.typed-array.sort"],"core-js/stable/typed-array/subarray":["es.typed-array.subarray"],"core-js/stable/typed-array/to-locale-string":["es.typed-array.to-locale-string"],"core-js/stable/typed-array/to-string":["es.typed-array.to-string"],"core-js/stable/typed-array/uint16-array":["es.object.to-string","es.typed-array.uint16-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/uint32-array":["es.object.to-string","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/uint8-array":["es.object.to-string","es.typed-array.uint8-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/uint8-clamped-array":["es.object.to-string","es.typed-array.uint8-clamped-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/values":["es.typed-array.iterator"],"core-js/stable/url":["web.url","web.url.to-json","web.url-search-params"],"core-js/stable/url-search-params":["web.url-search-params"],"core-js/stable/url/to-json":["web.url.to-json"],"core-js/stable/weak-map":["es.object.to-string","es.weak-map","web.dom-collections.iterator"],"core-js/stable/weak-set":["es.object.to-string","es.weak-set","web.dom-collections.iterator"],"core-js/stage":["es.map","esnext.aggregate-error","esnext.array.at","esnext.array.filter-out","esnext.array.find-last","esnext.array.find-last-index","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.unique-by","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.url","web.url.to-json","web.url-search-params"],"core-js/stage/0":["es.map","esnext.aggregate-error","esnext.array.at","esnext.array.filter-out","esnext.array.find-last","esnext.array.find-last-index","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.unique-by","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.url","web.url.to-json","web.url-search-params"],"core-js/stage/1":["es.map","esnext.aggregate-error","esnext.array.at","esnext.array.filter-out","esnext.array.find-last","esnext.array.find-last-index","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.unique-by","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of"],"core-js/stage/2":["esnext.aggregate-error","esnext.array.at","esnext.array.find-last","esnext.array.find-last-index","esnext.array.is-template-object","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.emplace","esnext.map.update-or-insert","esnext.map.upsert","esnext.object.has-own","esnext.promise.all-settled","esnext.promise.any","esnext.set.difference","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.symmetric-difference","esnext.set.union","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.metadata","esnext.symbol.replace-all","esnext.typed-array.at","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.weak-map.emplace","esnext.weak-map.upsert"],"core-js/stage/3":["esnext.aggregate-error","esnext.array.at","esnext.global-this","esnext.object.has-own","esnext.promise.all-settled","esnext.promise.any","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.replace-all","esnext.typed-array.at"],"core-js/stage/4":["esnext.aggregate-error","esnext.global-this","esnext.promise.all-settled","esnext.promise.any","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.replace-all"],"core-js/stage/pre":["es.map","esnext.aggregate-error","esnext.array.at","esnext.array.filter-out","esnext.array.find-last","esnext.array.find-last-index","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.unique-by","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.url","web.url.to-json","web.url-search-params"],"core-js/web":["web.dom-collections.for-each","web.dom-collections.iterator","web.immediate","web.queue-microtask","web.timers","web.url","web.url.to-json","web.url-search-params"],"core-js/web/dom-collections":["web.dom-collections.for-each","web.dom-collections.iterator"],"core-js/web/immediate":["web.immediate"],"core-js/web/queue-microtask":["web.queue-microtask"],"core-js/web/timers":["web.timers"],"core-js/web/url":["web.url","web.url.to-json","web.url-search-params"],"core-js/web/url-search-params":["web.url-search-params"]}')},42630:e=>{"use strict";e.exports=JSON.parse('{"3.0":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.function.bind","es.function.has-instance","es.function.name","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.to-string","es.set","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.weak-map","es.weak-set","esnext.aggregate-error","esnext.array.last-index","esnext.array.last-item","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.map.delete-all","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.dispose","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.dom-collections.for-each","web.dom-collections.iterator","web.immediate","web.queue-microtask","web.timers","web.url","web.url.to-json","web.url-search-params"],"3.1":["es.string.match-all","es.symbol.match-all","esnext.symbol.replace-all"],"3.2":["es.promise.all-settled","esnext.array.is-template-object","esnext.map.update-or-insert","esnext.symbol.async-dispose"],"3.3":["es.global-this","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.upsert","esnext.weak-map.upsert"],"3.4":["es.json.stringify"],"3.5":["esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values"],"3.6":["es.regexp.sticky","es.regexp.test"],"3.7":["es.aggregate-error","es.promise.any","es.reflect.to-string-tag","es.string.replace-all","esnext.map.emplace","esnext.weak-map.emplace"],"3.8":["esnext.array.at","esnext.array.filter-out","esnext.array.unique-by","esnext.bigint.range","esnext.number.range","esnext.typed-array.at","esnext.typed-array.filter-out"],"3.9":["esnext.array.find-last","esnext.array.find-last-index","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.unique-by"],"3.11":["esnext.object.has-own"],"3.12":["esnext.symbol.matcher","esnext.symbol.metadata"]}')},45057:e=>{"use strict";e.exports=JSON.parse('["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.aggregate-error","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.weak-map","es.weak-set","esnext.aggregate-error","esnext.array.at","esnext.array.filter-out","esnext.array.find-last","esnext.array.find-last-index","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.unique-by","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.unique-by","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.dom-collections.for-each","web.dom-collections.iterator","web.immediate","web.queue-microtask","web.timers","web.url","web.url.to-json","web.url-search-params"]')},42190:e=>{"use strict";e.exports=JSON.parse('{"es.symbol":{"android":"49","chrome":"49","deno":"1.0","edge":"15","electron":"0.37","firefox":"51","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.symbol.description":{"android":"70","chrome":"70","deno":"1.0","edge":"74","electron":"5.0","firefox":"63","ios":"12.2","node":"11.0","opera":"57","opera_mobile":"49","safari":"12.1","samsung":"10.0"},"es.symbol.async-iterator":{"android":"63","chrome":"63","deno":"1.0","edge":"74","electron":"3.0","firefox":"55","ios":"12.0","node":"10.0","opera":"50","opera_mobile":"46","safari":"12.0","samsung":"8.0"},"es.symbol.has-instance":{"android":"50","chrome":"50","deno":"1.0","edge":"15","electron":"1.1","firefox":"49","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.is-concat-spreadable":{"android":"48","chrome":"48","deno":"1.0","edge":"15","electron":"0.37","firefox":"48","ios":"10.0","node":"6.0","opera":"35","opera_mobile":"35","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.iterator":{"android":"41","chrome":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"36","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.symbol.match":{"android":"50","chrome":"50","deno":"1.0","edge":"74","electron":"1.1","firefox":"40","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.match-all":{"android":"73","chrome":"73","deno":"1.0","edge":"74","electron":"5.0","firefox":"67","ios":"13.0","node":"12.0","opera":"60","opera_mobile":"52","safari":"13","samsung":"11.0"},"es.symbol.replace":{"android":"50","chrome":"50","deno":"1.0","edge":"74","electron":"1.1","firefox":"49","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.search":{"android":"50","chrome":"50","deno":"1.0","edge":"74","electron":"1.1","firefox":"49","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.species":{"android":"51","chrome":"51","deno":"1.0","edge":"13","electron":"1.2","firefox":"41","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.split":{"android":"50","chrome":"50","deno":"1.0","edge":"74","electron":"1.1","firefox":"49","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.to-primitive":{"android":"47","chrome":"47","deno":"1.0","edge":"15","electron":"0.36","firefox":"44","ios":"10.0","node":"6.0","opera":"34","opera_mobile":"34","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.to-string-tag":{"android":"49","chrome":"49","deno":"1.0","edge":"15","electron":"0.37","firefox":"51","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.unscopables":{"android":"41","chrome":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"48","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.aggregate-error":{"android":"85","chrome":"85","deno":"1.2","edge":"85","electron":"10.0","firefox":"79","ios":"14.0","node":"15.0","opera":"71","opera_mobile":"60","safari":"14.0","samsung":"14.0"},"es.array.concat":{"android":"51","chrome":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"48","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.copy-within":{"android":"45","chrome":"45","deno":"1.0","edge":"12","electron":"0.31","firefox":"48","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.every":{"android":"4.4","chrome":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.array.fill":{"android":"45","chrome":"45","deno":"1.0","edge":"12","electron":"0.31","firefox":"48","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.filter":{"android":"51","chrome":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"48","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.find":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"48","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.find-index":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"48","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.flat":{"android":"69","chrome":"69","deno":"1.0","edge":"74","electron":"4.0","firefox":"62","ios":"12.0","node":"11.0","opera":"56","opera_mobile":"48","safari":"12.0","samsung":"10.0"},"es.array.flat-map":{"android":"69","chrome":"69","deno":"1.0","edge":"74","electron":"4.0","firefox":"62","ios":"12.0","node":"11.0","opera":"56","opera_mobile":"48","safari":"12.0","samsung":"10.0"},"es.array.for-each":{"android":"4.4","chrome":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.array.from":{"android":"51","chrome":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"53","ios":"9.0","node":"6.5","opera":"38","opera_mobile":"38","rhino":"1.7.13","safari":"9.0","samsung":"5.0"},"es.array.includes":{"android":"53","chrome":"53","deno":"1.0","edge":"14","electron":"1.4","firefox":"48","ios":"10.0","node":"7.0","opera":"40","opera_mobile":"40","safari":"10.0","samsung":"6.0"},"es.array.index-of":{"android":"51","chrome":"51","deno":"1.0","edge":"12","electron":"1.2","firefox":"4","ie":"9","ios":"8.0","node":"6.5","opera":"38","opera_mobile":"38","rhino":"1.7.13","safari":"7.1","samsung":"5.0"},"es.array.is-array":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"3.2","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"4.0","samsung":"1.0"},"es.array.iterator":{"android":"66","chrome":"66","deno":"1.0","edge":"15","electron":"3.0","firefox":"60","ios":"10.0","node":"10.0","opera":"53","opera_mobile":"47","safari":"10.0","samsung":"9.0"},"es.array.join":{"android":"4.4","chrome":"26","deno":"1.0","edge":"13","electron":"0.20","firefox":"4","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.array.last-index-of":{"android":"51","chrome":"51","deno":"1.0","edge":"12","electron":"1.2","firefox":"4","ie":"9","ios":"8.0","node":"6.5","opera":"38","opera_mobile":"38","rhino":"1.7.13","safari":"7.1","samsung":"5.0"},"es.array.map":{"android":"51","chrome":"51","deno":"1.0","edge":"13","electron":"1.2","firefox":"50","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.of":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"25","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","rhino":"1.7.13","safari":"9.0","samsung":"5.0"},"es.array.reduce":{"android":"83","chrome":"83","deno":"1.0","edge":"12","electron":"9.0","firefox":"4","ie":"9","ios":"8.0","node":"6.0","opera":"69","opera_mobile":"59","rhino":"1.7.13","safari":"7.1","samsung":"13.0"},"es.array.reduce-right":{"android":"83","chrome":"83","deno":"1.0","edge":"12","electron":"9.0","firefox":"4","ie":"9","ios":"8.0","node":"6.0","opera":"69","opera_mobile":"59","rhino":"1.7.13","safari":"7.1","samsung":"13.0"},"es.array.reverse":{"android":"3.0","chrome":"1","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","ie":"5.5","ios":"12.2","node":"0.0.3","opera":"10.50","opera_mobile":"10.50","rhino":"1.7.13","safari":"12.0.2","samsung":"1.0"},"es.array.slice":{"android":"51","chrome":"51","deno":"1.0","edge":"13","electron":"1.2","firefox":"48","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.some":{"android":"4.4","chrome":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.array.sort":{"android":"70","chrome":"70","deno":"1.0","edge":"74","electron":"5.0","firefox":"4","ios":"12.0","node":"11.0","opera":"57","opera_mobile":"49","safari":"12.0","samsung":"10.0"},"es.array.species":{"android":"51","chrome":"51","deno":"1.0","edge":"13","electron":"1.2","firefox":"48","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.splice":{"android":"51","chrome":"51","deno":"1.0","edge":"13","electron":"1.2","firefox":"49","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.unscopables.flat":{"android":"73","chrome":"73","deno":"1.0","edge":"74","electron":"5.0","firefox":"67","ios":"13.0","node":"12.0","opera":"60","opera_mobile":"52","safari":"13","samsung":"11.0"},"es.array.unscopables.flat-map":{"android":"73","chrome":"73","deno":"1.0","edge":"74","electron":"5.0","firefox":"67","ios":"13.0","node":"12.0","opera":"60","opera_mobile":"52","safari":"13","samsung":"11.0"},"es.array-buffer.constructor":{"android":"4.4","chrome":"26","deno":"1.0","edge":"14","electron":"0.20","firefox":"44","ios":"12.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"12.0","samsung":"1.5"},"es.array-buffer.is-view":{"android":"4.4.3","chrome":"32","deno":"1.0","edge":"12","electron":"0.20","firefox":"29","ie":"11","ios":"8.0","node":"0.11.9","opera":"19","opera_mobile":"19","safari":"7.1","samsung":"2.0"},"es.array-buffer.slice":{"android":"4.4.3","chrome":"31","deno":"1.0","edge":"12","electron":"0.20","firefox":"46","ie":"11","ios":"12.2","node":"0.11.8","opera":"18","opera_mobile":"18","rhino":"1.7.13","safari":"12.1","samsung":"2.0"},"es.data-view":{"android":"4.4","chrome":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"15","ie":"10","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.date.get-year":{"android":"3.0","chrome":"1","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","ie":"9","ios":"1.0","node":"0.0.3","opera":"3","opera_mobile":"3","phantom":"1.9","rhino":"1.7.13","safari":"1","samsung":"1.0"},"es.date.now":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ie":"9","ios":"3.2","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"4.0","samsung":"1.0"},"es.date.set-year":{"android":"3.0","chrome":"1","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","ie":"3","ios":"1.0","node":"0.0.3","opera":"3","opera_mobile":"3","phantom":"1.9","rhino":"1.7.13","safari":"1","samsung":"1.0"},"es.date.to-gmt-string":{"android":"3.0","chrome":"1","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","ie":"3","ios":"1.0","node":"0.0.3","opera":"3","opera_mobile":"3","phantom":"1.9","rhino":"1.7.13","safari":"1","samsung":"1.0"},"es.date.to-iso-string":{"android":"4.4","chrome":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"7","ie":"9","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.date.to-json":{"android":"4.4","chrome":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"10.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"10.0","samsung":"1.5"},"es.date.to-primitive":{"android":"47","chrome":"47","deno":"1.0","edge":"15","electron":"0.36","firefox":"44","ios":"10.0","node":"6.0","opera":"34","opera_mobile":"34","safari":"10.0","samsung":"5.0"},"es.date.to-string":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ie":"9","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.escape":{"android":"3.0","chrome":"1","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","ie":"3","ios":"1.0","node":"0.0.3","opera":"3","opera_mobile":"3","phantom":"1.9","rhino":"1.7.13","safari":"1","samsung":"1.0"},"es.function.bind":{"android":"3.0","chrome":"7","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"5.1","node":"0.1.101","opera":"12","opera_mobile":"12","phantom":"2.0","rhino":"1.7.13","safari":"5.1","samsung":"1.0"},"es.function.has-instance":{"android":"51","chrome":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"50","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.function.name":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"3.2","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"4.0","samsung":"1.0"},"es.global-this":{"android":"71","chrome":"71","deno":"1.0","edge":"74","electron":"5.0","firefox":"65","ios":"12.2","node":"12.0","opera":"58","opera_mobile":"50","safari":"12.1","samsung":"10.0"},"es.json.stringify":{"android":"72","chrome":"72","deno":"1.0","edge":"74","electron":"5.0","firefox":"64","ios":"12.2","node":"12.0","opera":"59","opera_mobile":"51","safari":"12.1","samsung":"11.0"},"es.json.to-string-tag":{"android":"50","chrome":"50","deno":"1.0","edge":"15","electron":"1.1","firefox":"51","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.map":{"android":"51","chrome":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"53","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.math.acosh":{"android":"54","chrome":"54","deno":"1.0","edge":"13","electron":"1.4","firefox":"25","ios":"8.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"7.1","samsung":"6.0"},"es.math.asinh":{"android":"38","chrome":"38","deno":"1.0","edge":"13","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.atanh":{"android":"38","chrome":"38","deno":"1.0","edge":"13","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.cbrt":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.clz32":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"31","ios":"9.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"9.0","samsung":"3.0"},"es.math.cosh":{"android":"39","chrome":"39","deno":"1.0","edge":"13","electron":"0.20","firefox":"25","ios":"8.0","node":"1.0","opera":"26","opera_mobile":"26","rhino":"1.7.13","safari":"7.1","samsung":"3.4"},"es.math.expm1":{"android":"39","chrome":"39","deno":"1.0","edge":"13","electron":"0.20","firefox":"46","ios":"8.0","node":"1.0","opera":"26","opera_mobile":"26","rhino":"1.7.13","safari":"7.1","samsung":"3.4"},"es.math.fround":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"26","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.hypot":{"android":"78","chrome":"78","deno":"1.0","edge":"12","electron":"7.0","firefox":"27","ios":"8.0","node":"13.0","opera":"65","opera_mobile":"56","rhino":"1.7.13","safari":"7.1","samsung":"12.0"},"es.math.imul":{"android":"4.4","chrome":"28","deno":"1.0","edge":"13","electron":"0.20","firefox":"20","ios":"9.0","node":"0.11.1","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"9.0","samsung":"1.5"},"es.math.log10":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.log1p":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.log2":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.sign":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","ios":"9.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"9.0","samsung":"3.0"},"es.math.sinh":{"android":"39","chrome":"39","deno":"1.0","edge":"13","electron":"0.20","firefox":"25","ios":"8.0","node":"1.0","opera":"26","opera_mobile":"26","rhino":"1.7.13","safari":"7.1","samsung":"3.4"},"es.math.tanh":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.to-string-tag":{"android":"50","chrome":"50","deno":"1.0","edge":"15","electron":"1.1","firefox":"51","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.math.trunc":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.number.constructor":{"android":"41","chrome":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"46","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.number.epsilon":{"android":"37","chrome":"34","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","safari":"9.0","samsung":"2.0"},"es.number.is-finite":{"android":"4.1","chrome":"19","deno":"1.0","edge":"12","electron":"0.20","firefox":"16","ios":"9.0","node":"0.7.3","opera":"15","opera_mobile":"15","rhino":"1.7.13","safari":"9.0","samsung":"1.5"},"es.number.is-integer":{"android":"37","chrome":"34","deno":"1.0","edge":"12","electron":"0.20","firefox":"16","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","rhino":"1.7.13","safari":"9.0","samsung":"2.0"},"es.number.is-nan":{"android":"4.1","chrome":"19","deno":"1.0","edge":"12","electron":"0.20","firefox":"15","ios":"9.0","node":"0.7.3","opera":"15","opera_mobile":"15","rhino":"1.7.13","safari":"9.0","samsung":"1.5"},"es.number.is-safe-integer":{"android":"37","chrome":"34","deno":"1.0","edge":"12","electron":"0.20","firefox":"32","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","rhino":"1.7.13","safari":"9.0","samsung":"2.0"},"es.number.max-safe-integer":{"android":"37","chrome":"34","deno":"1.0","edge":"12","electron":"0.20","firefox":"31","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","rhino":"1.7.13","safari":"9.0","samsung":"2.0"},"es.number.min-safe-integer":{"android":"37","chrome":"34","deno":"1.0","edge":"12","electron":"0.20","firefox":"31","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","rhino":"1.7.13","safari":"9.0","samsung":"2.0"},"es.number.parse-float":{"android":"37","chrome":"35","deno":"1.0","edge":"13","electron":"0.20","firefox":"39","ios":"11.0","node":"0.11.13","opera":"22","opera_mobile":"22","safari":"11.0","samsung":"3.0"},"es.number.parse-int":{"android":"37","chrome":"35","deno":"1.0","edge":"13","electron":"0.20","firefox":"39","ios":"9.0","node":"0.11.13","opera":"22","opera_mobile":"22","safari":"9.0","samsung":"3.0"},"es.number.to-fixed":{"android":"4.4","chrome":"26","deno":"1.0","edge":"74","electron":"0.20","firefox":"4","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.number.to-precision":{"android":"4.4","chrome":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"8","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.object.assign":{"android":"49","chrome":"49","deno":"1.0","edge":"74","electron":"0.37","firefox":"36","ios":"9.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"9.0","samsung":"5.0"},"es.object.create":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"3.2","node":"0.1.27","opera":"12","opera_mobile":"12","phantom":"1.9","rhino":"1.7.13","safari":"4.0","samsung":"1.0"},"es.object.define-getter":{"android":"62","chrome":"62","deno":"1.0","edge":"16","electron":"3.0","firefox":"48","ios":"8.0","node":"8.10","opera":"49","opera_mobile":"46","rhino":"1.7.13","safari":"7.1","samsung":"8.0"},"es.object.define-properties":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"5.1","node":"0.1.27","opera":"12","opera_mobile":"12","phantom":"2.0","rhino":"1.7.13","safari":"5.1","samsung":"1.0"},"es.object.define-property":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"5.1","node":"0.1.27","opera":"12","opera_mobile":"12","phantom":"2.0","rhino":"1.7.13","safari":"5.1","samsung":"1.0"},"es.object.define-setter":{"android":"62","chrome":"62","deno":"1.0","edge":"16","electron":"3.0","firefox":"48","ios":"8.0","node":"8.10","opera":"49","opera_mobile":"46","rhino":"1.7.13","safari":"7.1","samsung":"8.0"},"es.object.entries":{"android":"54","chrome":"54","deno":"1.0","edge":"14","electron":"1.4","firefox":"47","ios":"10.3","node":"7.0","opera":"41","opera_mobile":"41","safari":"10.1","samsung":"6.0"},"es.object.freeze":{"android":"44","chrome":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.from-entries":{"android":"73","chrome":"73","deno":"1.0","edge":"74","electron":"5.0","firefox":"63","ios":"12.2","node":"12.0","opera":"60","opera_mobile":"52","safari":"12.1","samsung":"11.0"},"es.object.get-own-property-descriptor":{"android":"44","chrome":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.get-own-property-descriptors":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"50","ios":"10.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"10.0","samsung":"6.0"},"es.object.get-own-property-names":{"android":"40","chrome":"40","deno":"1.0","edge":"13","electron":"0.21","firefox":"34","ios":"9.0","node":"1.0","opera":"27","opera_mobile":"27","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.object.get-prototype-of":{"android":"44","chrome":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.is":{"android":"4.1","chrome":"19","deno":"1.0","edge":"12","electron":"0.20","firefox":"22","ios":"9.0","node":"0.7.3","opera":"15","opera_mobile":"15","rhino":"1.7.13","safari":"9.0","samsung":"1.5"},"es.object.is-extensible":{"android":"44","chrome":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.is-frozen":{"android":"44","chrome":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.is-sealed":{"android":"44","chrome":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.keys":{"android":"40","chrome":"40","deno":"1.0","edge":"13","electron":"0.21","firefox":"35","ios":"9.0","node":"1.0","opera":"27","opera_mobile":"27","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.object.lookup-getter":{"android":"62","chrome":"62","deno":"1.0","edge":"16","electron":"3.0","firefox":"48","ios":"8.0","node":"8.10","opera":"49","opera_mobile":"46","rhino":"1.7.13","safari":"7.1","samsung":"8.0"},"es.object.lookup-setter":{"android":"62","chrome":"62","deno":"1.0","edge":"16","electron":"3.0","firefox":"48","ios":"8.0","node":"8.10","opera":"49","opera_mobile":"46","rhino":"1.7.13","safari":"7.1","samsung":"8.0"},"es.object.prevent-extensions":{"android":"44","chrome":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.seal":{"android":"44","chrome":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.set-prototype-of":{"android":"37","chrome":"34","deno":"1.0","edge":"12","electron":"0.20","firefox":"31","ie":"11","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","rhino":"1.7.13","safari":"9.0","samsung":"2.0"},"es.object.to-string":{"android":"49","chrome":"49","deno":"1.0","edge":"15","electron":"0.37","firefox":"51","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.object.values":{"android":"54","chrome":"54","deno":"1.0","edge":"14","electron":"1.4","firefox":"47","ios":"10.3","node":"7.0","opera":"41","opera_mobile":"41","safari":"10.1","samsung":"6.0"},"es.parse-float":{"android":"37","chrome":"35","deno":"1.0","edge":"12","electron":"0.20","firefox":"8","ie":"8","ios":"8.0","node":"0.11.13","opera":"22","opera_mobile":"22","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.parse-int":{"android":"37","chrome":"35","deno":"1.0","edge":"12","electron":"0.20","firefox":"21","ie":"9","ios":"8.0","node":"0.11.13","opera":"22","opera_mobile":"22","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.promise":{"android":"67","chrome":"67","deno":"1.0","edge":"74","electron":"4.0","firefox":"69","ios":"11.0","node":"10.4","opera":"54","opera_mobile":"48","safari":"11.0","samsung":"9.0"},"es.promise.all-settled":{"android":"76","chrome":"76","deno":"1.0","edge":"76","electron":"6.0","firefox":"71","ios":"13.0","node":"12.9","opera":"63","opera_mobile":"54","safari":"13","samsung":"12.0"},"es.promise.any":{"android":"85","chrome":"85","deno":"1.2","edge":"85","electron":"10.0","firefox":"79","ios":"14.0","node":"15.0","opera":"71","opera_mobile":"60","safari":"14.0","samsung":"14.0"},"es.promise.finally":{"android":"67","chrome":"67","deno":"1.0","edge":"74","electron":"4.0","firefox":"69","ios":"13.2.3","node":"10.4","opera":"54","opera_mobile":"48","safari":"13.0.3","samsung":"9.0"},"es.reflect.apply":{"android":"49","chrome":"49","deno":"1.0","edge":"15","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.construct":{"android":"49","chrome":"49","deno":"1.0","edge":"15","electron":"0.37","firefox":"44","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.define-property":{"android":"49","chrome":"49","deno":"1.0","edge":"13","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.delete-property":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.get":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.get-own-property-descriptor":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.get-prototype-of":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.has":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.is-extensible":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.own-keys":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.prevent-extensions":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.set":{"android":"49","chrome":"49","deno":"1.0","edge":"74","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.set-prototype-of":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.to-string-tag":{"android":"86","chrome":"86","deno":"1.3","edge":"86","electron":"11.0","firefox":"82","ios":"14.0","node":"15.0","opera":"72","opera_mobile":"61","safari":"14.0","samsung":"14.0"},"es.regexp.constructor":{"android":"64","chrome":"64","deno":"1.0","edge":"74","electron":"3.0","firefox":"78","ios":"11.3","node":"10.0","opera":"51","opera_mobile":"47","safari":"11.1","samsung":"9.0"},"es.regexp.dot-all":{"android":"62","chrome":"62","deno":"1.0","edge":"74","electron":"3.0","firefox":"78","ios":"11.3","node":"8.10","opera":"49","opera_mobile":"46","safari":"11.1","samsung":"8.0"},"es.regexp.exec":{"android":"64","chrome":"64","deno":"1.0","edge":"74","electron":"3.0","firefox":"78","ios":"11.3","node":"10.0","opera":"51","opera_mobile":"47","safari":"11.1","samsung":"9.0"},"es.regexp.flags":{"android":"62","chrome":"62","deno":"1.0","edge":"74","electron":"3.0","firefox":"78","ios":"11.3","node":"8.10","opera":"49","opera_mobile":"46","safari":"11.1","samsung":"8.0"},"es.regexp.sticky":{"android":"49","chrome":"49","deno":"1.0","edge":"13","electron":"0.37","firefox":"3","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.regexp.test":{"android":"51","chrome":"51","deno":"1.0","edge":"74","electron":"1.2","firefox":"46","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.regexp.to-string":{"android":"50","chrome":"50","deno":"1.0","edge":"74","electron":"1.1","firefox":"46","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.set":{"android":"51","chrome":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"53","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.string.code-point-at":{"android":"41","chrome":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"29","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.string.ends-with":{"android":"51","chrome":"51","deno":"1.0","edge":"74","electron":"1.2","firefox":"40","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.from-code-point":{"android":"41","chrome":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"29","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.string.includes":{"android":"51","chrome":"51","deno":"1.0","edge":"74","electron":"1.2","firefox":"40","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.iterator":{"android":"41","chrome":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"36","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.string.match":{"android":"51","chrome":"51","deno":"1.0","edge":"74","electron":"1.2","firefox":"49","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.match-all":{"android":"80","chrome":"80","deno":"1.0","edge":"80","electron":"8.0","firefox":"73","ios":"13.4","node":"14.0","opera":"67","opera_mobile":"57","safari":"13.1","samsung":"13.0"},"es.string.pad-end":{"android":"57","chrome":"57","deno":"1.0","edge":"15","electron":"1.7","firefox":"48","ios":"11.0","node":"8.0","opera":"44","opera_mobile":"43","rhino":"1.7.13","safari":"11.0","samsung":"7.0"},"es.string.pad-start":{"android":"57","chrome":"57","deno":"1.0","edge":"15","electron":"1.7","firefox":"48","ios":"11.0","node":"8.0","opera":"44","opera_mobile":"43","rhino":"1.7.13","safari":"11.0","samsung":"7.0"},"es.string.raw":{"android":"41","chrome":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"34","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","safari":"9.0","samsung":"3.4"},"es.string.repeat":{"android":"41","chrome":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"24","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.string.replace":{"android":"64","chrome":"64","deno":"1.0","edge":"74","electron":"3.0","firefox":"78","ios":"14.0","node":"10.0","opera":"51","opera_mobile":"47","safari":"14.0","samsung":"9.0"},"es.string.replace-all":{"android":"85","chrome":"85","deno":"1.2","edge":"85","electron":"10.0","firefox":"77","ios":"13.4","node":"15.0","opera":"71","opera_mobile":"60","safari":"13.1","samsung":"14.0"},"es.string.search":{"android":"51","chrome":"51","deno":"1.0","edge":"74","electron":"1.2","firefox":"49","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.split":{"android":"54","chrome":"54","deno":"1.0","edge":"74","electron":"1.4","firefox":"49","ios":"10.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"10.0","samsung":"6.0"},"es.string.starts-with":{"android":"51","chrome":"51","deno":"1.0","edge":"74","electron":"1.2","firefox":"40","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.substr":{"android":"3.0","chrome":"1","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","ie":"4","ios":"1.0","node":"0.0.3","opera":"4","opera_mobile":"4","phantom":"1.9","rhino":"1.7.13","safari":"1","samsung":"1.0"},"es.string.trim":{"android":"59","chrome":"59","deno":"1.0","edge":"15","electron":"1.8","firefox":"52","ios":"12.2","node":"8.3","opera":"46","opera_mobile":"43","rhino":"1.7.13","safari":"12.1","samsung":"7.0"},"es.string.trim-end":{"android":"66","chrome":"66","deno":"1.0","edge":"74","electron":"3.0","firefox":"61","ios":"12.2","node":"10.0","opera":"53","opera_mobile":"47","safari":"12.1","samsung":"9.0"},"es.string.trim-start":{"android":"66","chrome":"66","deno":"1.0","edge":"74","electron":"3.0","firefox":"61","ios":"12.0","node":"10.0","opera":"53","opera_mobile":"47","safari":"12.0","samsung":"9.0"},"es.string.anchor":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"17","ios":"6.0","node":"0.1.27","opera":"15","opera_mobile":"15","phantom":"2.0","safari":"6.0","samsung":"1.0"},"es.string.big":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.blink":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.bold":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.fixed":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.fontcolor":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"17","ios":"6.0","node":"0.1.27","opera":"15","opera_mobile":"15","phantom":"2.0","safari":"6.0","samsung":"1.0"},"es.string.fontsize":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"17","ios":"6.0","node":"0.1.27","opera":"15","opera_mobile":"15","phantom":"2.0","safari":"6.0","samsung":"1.0"},"es.string.italics":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.link":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"17","ios":"6.0","node":"0.1.27","opera":"15","opera_mobile":"15","phantom":"2.0","safari":"6.0","samsung":"1.0"},"es.string.small":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.strike":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.sub":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.sup":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.typed-array.float32-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.float64-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.int8-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.int16-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.int32-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.uint8-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.uint8-clamped-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.uint16-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.uint32-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.copy-within":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"34","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.every":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.fill":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.filter":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"38","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.find":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.find-index":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.for-each":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"38","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.from":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.includes":{"android":"49","chrome":"49","deno":"1.0","edge":"14","electron":"0.37","firefox":"43","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.typed-array.index-of":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.iterator":{"android":"47","chrome":"47","deno":"1.0","edge":"13","electron":"0.36","firefox":"37","ios":"10.0","node":"6.0","opera":"34","opera_mobile":"34","safari":"10.0","samsung":"5.0"},"es.typed-array.join":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.last-index-of":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.map":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"38","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.of":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.reduce":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.reduce-right":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.reverse":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.set":{"android":"4.4","chrome":"26","deno":"1.0","edge":"13","electron":"0.20","firefox":"15","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"7.1","samsung":"1.5"},"es.typed-array.slice":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"38","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.some":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.sort":{"android":"74","chrome":"74","deno":"1.0","edge":"74","electron":"6.0","firefox":"67","ios":"14.5","node":"12.0","opera":"61","opera_mobile":"53","safari":"14.1","samsung":"11.0"},"es.typed-array.subarray":{"android":"4.4","chrome":"26","deno":"1.0","edge":"13","electron":"0.20","firefox":"15","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"7.1","samsung":"1.5"},"es.typed-array.to-locale-string":{"android":"45","chrome":"45","deno":"1.0","edge":"74","electron":"0.31","firefox":"51","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.to-string":{"android":"51","chrome":"51","deno":"1.0","edge":"13","electron":"1.2","firefox":"51","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.unescape":{"android":"3.0","chrome":"1","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","ie":"3","ios":"1.0","node":"0.0.3","opera":"3","opera_mobile":"3","phantom":"1.9","rhino":"1.7.13","safari":"1","samsung":"1.0"},"es.weak-map":{"android":"51","chrome":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"53","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.weak-set":{"android":"51","chrome":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"53","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"esnext.aggregate-error":{"android":"85","chrome":"85","deno":"1.2","edge":"85","electron":"10.0","firefox":"79","ios":"14.0","node":"15.0","opera":"71","opera_mobile":"60","safari":"14.0","samsung":"14.0"},"esnext.array.at":{"android":"92","chrome":"92","deno":"1.12","edge":"92","electron":"14.0","firefox":"90","node":"16.6","opera":"78"},"esnext.array.filter-out":{},"esnext.array.filter-reject":{},"esnext.array.find-last":{},"esnext.array.find-last-index":{},"esnext.array.group-by":{},"esnext.array.is-template-object":{},"esnext.array.last-index":{},"esnext.array.last-item":{},"esnext.array.unique-by":{},"esnext.async-iterator.constructor":{},"esnext.async-iterator.as-indexed-pairs":{},"esnext.async-iterator.drop":{},"esnext.async-iterator.every":{},"esnext.async-iterator.filter":{},"esnext.async-iterator.find":{},"esnext.async-iterator.flat-map":{},"esnext.async-iterator.for-each":{},"esnext.async-iterator.from":{},"esnext.async-iterator.map":{},"esnext.async-iterator.reduce":{},"esnext.async-iterator.some":{},"esnext.async-iterator.take":{},"esnext.async-iterator.to-array":{},"esnext.bigint.range":{},"esnext.composite-key":{},"esnext.composite-symbol":{},"esnext.global-this":{"android":"71","chrome":"71","deno":"1.0","edge":"74","electron":"5.0","firefox":"65","ios":"12.2","node":"12.0","opera":"58","opera_mobile":"50","safari":"12.1","samsung":"10.0"},"esnext.iterator.constructor":{},"esnext.iterator.as-indexed-pairs":{},"esnext.iterator.drop":{},"esnext.iterator.every":{},"esnext.iterator.filter":{},"esnext.iterator.find":{},"esnext.iterator.flat-map":{},"esnext.iterator.for-each":{},"esnext.iterator.from":{},"esnext.iterator.map":{},"esnext.iterator.reduce":{},"esnext.iterator.some":{},"esnext.iterator.take":{},"esnext.iterator.to-array":{},"esnext.map.delete-all":{},"esnext.map.emplace":{},"esnext.map.every":{},"esnext.map.filter":{},"esnext.map.find":{},"esnext.map.find-key":{},"esnext.map.from":{},"esnext.map.group-by":{},"esnext.map.includes":{},"esnext.map.key-by":{},"esnext.map.key-of":{},"esnext.map.map-keys":{},"esnext.map.map-values":{},"esnext.map.merge":{},"esnext.map.of":{},"esnext.map.reduce":{},"esnext.map.some":{},"esnext.map.update":{},"esnext.map.update-or-insert":{},"esnext.map.upsert":{},"esnext.math.clamp":{},"esnext.math.deg-per-rad":{},"esnext.math.degrees":{},"esnext.math.fscale":{},"esnext.math.iaddh":{},"esnext.math.imulh":{},"esnext.math.isubh":{},"esnext.math.rad-per-deg":{},"esnext.math.radians":{},"esnext.math.scale":{},"esnext.math.seeded-prng":{},"esnext.math.signbit":{},"esnext.math.umulh":{},"esnext.number.from-string":{},"esnext.number.range":{},"esnext.object.has-own":{"android":"93","chrome":"93","deno":"1.13","edge":"93","electron":"14.0","firefox":"92","opera":"79"},"esnext.object.iterate-entries":{},"esnext.object.iterate-keys":{},"esnext.object.iterate-values":{},"esnext.observable":{},"esnext.promise.all-settled":{"android":"76","chrome":"76","deno":"1.0","edge":"76","electron":"6.0","firefox":"71","ios":"13.0","node":"12.9","opera":"63","opera_mobile":"54","safari":"13","samsung":"12.0"},"esnext.promise.any":{"android":"85","chrome":"85","deno":"1.2","edge":"85","electron":"10.0","firefox":"79","ios":"14.0","node":"15.0","opera":"71","opera_mobile":"60","safari":"14.0","samsung":"14.0"},"esnext.promise.try":{},"esnext.reflect.define-metadata":{},"esnext.reflect.delete-metadata":{},"esnext.reflect.get-metadata":{},"esnext.reflect.get-metadata-keys":{},"esnext.reflect.get-own-metadata":{},"esnext.reflect.get-own-metadata-keys":{},"esnext.reflect.has-metadata":{},"esnext.reflect.has-own-metadata":{},"esnext.reflect.metadata":{},"esnext.set.add-all":{},"esnext.set.delete-all":{},"esnext.set.difference":{},"esnext.set.every":{},"esnext.set.filter":{},"esnext.set.find":{},"esnext.set.from":{},"esnext.set.intersection":{},"esnext.set.is-disjoint-from":{},"esnext.set.is-subset-of":{},"esnext.set.is-superset-of":{},"esnext.set.join":{},"esnext.set.map":{},"esnext.set.of":{},"esnext.set.reduce":{},"esnext.set.some":{},"esnext.set.symmetric-difference":{},"esnext.set.union":{},"esnext.string.at":{},"esnext.string.code-points":{},"esnext.string.match-all":{"android":"80","chrome":"80","deno":"1.0","edge":"80","electron":"8.0","firefox":"73","ios":"13.4","node":"14.0","opera":"67","opera_mobile":"57","safari":"13.1","samsung":"13.0"},"esnext.string.replace-all":{"android":"85","chrome":"85","deno":"1.2","edge":"85","electron":"10.0","firefox":"77","ios":"13.4","node":"15.0","opera":"71","opera_mobile":"60","safari":"13.1","samsung":"14.0"},"esnext.symbol.async-dispose":{},"esnext.symbol.dispose":{},"esnext.symbol.matcher":{},"esnext.symbol.metadata":{},"esnext.symbol.observable":{},"esnext.symbol.pattern-match":{},"esnext.symbol.replace-all":{},"esnext.typed-array.at":{"android":"92","chrome":"92","deno":"1.12","edge":"92","electron":"14.0","firefox":"90","node":"16.6","opera":"78"},"esnext.typed-array.filter-out":{},"esnext.typed-array.filter-reject":{},"esnext.typed-array.find-last":{},"esnext.typed-array.find-last-index":{},"esnext.typed-array.group-by":{},"esnext.typed-array.unique-by":{},"esnext.weak-map.delete-all":{},"esnext.weak-map.from":{},"esnext.weak-map.of":{},"esnext.weak-map.emplace":{},"esnext.weak-map.upsert":{},"esnext.weak-set.add-all":{},"esnext.weak-set.delete-all":{},"esnext.weak-set.from":{},"esnext.weak-set.of":{},"web.dom-collections.for-each":{"android":"58","chrome":"58","deno":"1.0","edge":"16","electron":"1.7","firefox":"50","ios":"10.0","node":"0.0.1","opera":"45","opera_mobile":"43","rhino":"1.7.13","safari":"10.0","samsung":"7.0"},"web.dom-collections.iterator":{"android":"66","chrome":"66","deno":"1.0","edge":"74","electron":"3.0","firefox":"60","ios":"13.4","node":"0.0.1","opera":"53","opera_mobile":"47","rhino":"1.7.13","safari":"13.1","samsung":"9.0"},"web.immediate":{"ie":"10","node":"0.9.1"},"web.queue-microtask":{"android":"71","chrome":"71","deno":"1.0","edge":"74","electron":"5.0","firefox":"69","ios":"12.2","node":"12.0","opera":"58","opera_mobile":"50","safari":"12.1","samsung":"10.0"},"web.timers":{"android":"1.5","chrome":"1","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","ie":"10","ios":"1.0","node":"0.0.1","opera":"7","opera_mobile":"7","phantom":"1.9","rhino":"1.7.13","safari":"1.0","samsung":"1.0"},"web.url":{"android":"67","chrome":"67","deno":"1.0","edge":"74","electron":"4.0","firefox":"57","ios":"14.0","node":"10.0","opera":"54","opera_mobile":"48","safari":"14.0","samsung":"9.0"},"web.url.to-json":{"android":"71","chrome":"71","deno":"1.0","edge":"74","electron":"5.0","firefox":"57","ios":"14.0","node":"10.0","opera":"58","opera_mobile":"50","safari":"14.0","samsung":"10.0"},"web.url-search-params":{"android":"67","chrome":"67","deno":"1.0","edge":"74","electron":"4.0","firefox":"57","ios":"14.0","node":"10.0","opera":"54","opera_mobile":"48","safari":"14.0","samsung":"9.0"}}')},33953:e=>{"use strict";e.exports=JSON.parse('{"AssignmentExpression":["left","right"],"AssignmentPattern":["left","right"],"ArrayExpression":["elements"],"ArrayPattern":["elements"],"ArrowFunctionExpression":["params","body"],"AwaitExpression":["argument"],"BlockStatement":["body"],"BinaryExpression":["left","right"],"BreakStatement":["label"],"CallExpression":["callee","arguments"],"CatchClause":["param","body"],"ChainExpression":["expression"],"ClassBody":["body"],"ClassDeclaration":["id","superClass","body"],"ClassExpression":["id","superClass","body"],"ConditionalExpression":["test","consequent","alternate"],"ContinueStatement":["label"],"DebuggerStatement":[],"DoWhileStatement":["body","test"],"EmptyStatement":[],"ExportAllDeclaration":["exported","source"],"ExportDefaultDeclaration":["declaration"],"ExportNamedDeclaration":["declaration","specifiers","source"],"ExportSpecifier":["exported","local"],"ExpressionStatement":["expression"],"ExperimentalRestProperty":["argument"],"ExperimentalSpreadProperty":["argument"],"ForStatement":["init","test","update","body"],"ForInStatement":["left","right","body"],"ForOfStatement":["left","right","body"],"FunctionDeclaration":["id","params","body"],"FunctionExpression":["id","params","body"],"Identifier":[],"IfStatement":["test","consequent","alternate"],"ImportDeclaration":["specifiers","source"],"ImportDefaultSpecifier":["local"],"ImportExpression":["source"],"ImportNamespaceSpecifier":["local"],"ImportSpecifier":["imported","local"],"JSXAttribute":["name","value"],"JSXClosingElement":["name"],"JSXElement":["openingElement","children","closingElement"],"JSXEmptyExpression":[],"JSXExpressionContainer":["expression"],"JSXIdentifier":[],"JSXMemberExpression":["object","property"],"JSXNamespacedName":["namespace","name"],"JSXOpeningElement":["name","attributes"],"JSXSpreadAttribute":["argument"],"JSXText":[],"JSXFragment":["openingFragment","children","closingFragment"],"Literal":[],"LabeledStatement":["label","body"],"LogicalExpression":["left","right"],"MemberExpression":["object","property"],"MetaProperty":["meta","property"],"MethodDefinition":["key","value"],"NewExpression":["callee","arguments"],"ObjectExpression":["properties"],"ObjectPattern":["properties"],"Program":["body"],"Property":["key","value"],"RestElement":["argument"],"ReturnStatement":["argument"],"SequenceExpression":["expressions"],"SpreadElement":["argument"],"Super":[],"SwitchStatement":["discriminant","cases"],"SwitchCase":["test","consequent"],"TaggedTemplateExpression":["tag","quasi"],"TemplateElement":[],"TemplateLiteral":["quasis","expressions"],"ThisExpression":[],"ThrowStatement":["argument"],"TryStatement":["block","handler","finalizer"],"UnaryExpression":["argument"],"UpdateExpression":["argument"],"VariableDeclaration":["declarations"],"VariableDeclarator":["id","init"],"WhileStatement":["test","body"],"WithStatement":["object","body"],"YieldExpression":["argument"]}')},5537:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"assert/strict":">= 15","async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"diagnostics_channel":">= 15.1","dns":true,"dns/promises":">= 15","domain":">= 0.7.12","events":true,"freelist":"< 6","fs":true,"fs/promises":[">= 10 && < 10.1",">= 14"],"_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12","os":true,"path":true,"path/posix":">= 15.3","path/win32":">= 15.3","perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"stream/promises":">= 15","string_decoder":true,"sys":[">= 0.6 && < 0.7",">= 0.8"],"timers":true,"timers/promises":">= 15","_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"util/types":">= 15.3","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8":">= 1","vm":true,"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","zlib":true}')},42357:e=>{"use strict";e.exports=require("assert")},3561:e=>{"use strict";e.exports=require("browserslist")},64293:e=>{"use strict";e.exports=require("buffer")},72242:e=>{"use strict";e.exports=require("chalk")},35747:e=>{"use strict";e.exports=require("fs")},32282:e=>{"use strict";e.exports=require("module")},23656:e=>{"use strict";e.exports=require("next/dist/compiled/babel/generator")},4267:e=>{"use strict";e.exports=require("next/dist/compiled/babel/traverse")},19761:e=>{"use strict";e.exports=require("next/dist/compiled/babel/types")},31185:e=>{"use strict";e.exports=require("next/dist/compiled/debug")},33170:e=>{"use strict";e.exports=require("next/dist/compiled/json5")},62519:e=>{"use strict";e.exports=require("next/dist/compiled/semver")},96241:e=>{"use strict";e.exports=require("next/dist/compiled/source-map")},85622:e=>{"use strict";e.exports=require("path")},78835:e=>{"use strict";e.exports=require("url")},31669:e=>{"use strict";e.exports=require("util")},68987:e=>{"use strict";e.exports=require("v8")}};var t={};function __nccwpck_require__(s){if(t[s]){return t[s].exports}var r=t[s]={id:s,loaded:false,exports:{}};var i=true;try{e[s].call(r.exports,r,r.exports,__nccwpck_require__);i=false}finally{if(i)delete t[s]}r.loaded=true;return r.exports}(()=>{__nccwpck_require__.o=((e,t)=>Object.prototype.hasOwnProperty.call(e,t))})();(()=>{__nccwpck_require__.nmd=(e=>{e.paths=[];if(!e.children)e.children=[];return e})})();__nccwpck_require__.ab=__dirname+"/";return __nccwpck_require__(76812)})(); \ No newline at end of file diff --git a/packages/next/compiled/babel/bundle.js b/packages/next/compiled/babel/bundle.js index e5ee840293d74..c6d24c6b573c7 100644 --- a/packages/next/compiled/babel/bundle.js +++ b/packages/next/compiled/babel/bundle.js @@ -1,4 +1,4 @@ -module.exports=(()=>{var e={67589:e=>{"use strict";e.exports=JSON.parse('{"builtin":{"Array":false,"ArrayBuffer":false,"Atomics":false,"BigInt":false,"BigInt64Array":false,"BigUint64Array":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"globalThis":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es5":{"Array":false,"Boolean":false,"constructor":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"propertyIsEnumerable":false,"RangeError":false,"ReferenceError":false,"RegExp":false,"String":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false},"es2015":{"Array":false,"ArrayBuffer":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es2017":{"Array":false,"ArrayBuffer":false,"Atomics":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"browser":{"AbortController":false,"AbortSignal":false,"addEventListener":false,"alert":false,"AnalyserNode":false,"Animation":false,"AnimationEffectReadOnly":false,"AnimationEffectTiming":false,"AnimationEffectTimingReadOnly":false,"AnimationEvent":false,"AnimationPlaybackEvent":false,"AnimationTimeline":false,"applicationCache":false,"ApplicationCache":false,"ApplicationCacheErrorEvent":false,"atob":false,"Attr":false,"Audio":false,"AudioBuffer":false,"AudioBufferSourceNode":false,"AudioContext":false,"AudioDestinationNode":false,"AudioListener":false,"AudioNode":false,"AudioParam":false,"AudioProcessingEvent":false,"AudioScheduledSourceNode":false,"AudioWorkletGlobalScope ":false,"AudioWorkletNode":false,"AudioWorkletProcessor":false,"BarProp":false,"BaseAudioContext":false,"BatteryManager":false,"BeforeUnloadEvent":false,"BiquadFilterNode":false,"Blob":false,"BlobEvent":false,"blur":false,"BroadcastChannel":false,"btoa":false,"BudgetService":false,"ByteLengthQueuingStrategy":false,"Cache":false,"caches":false,"CacheStorage":false,"cancelAnimationFrame":false,"cancelIdleCallback":false,"CanvasCaptureMediaStreamTrack":false,"CanvasGradient":false,"CanvasPattern":false,"CanvasRenderingContext2D":false,"ChannelMergerNode":false,"ChannelSplitterNode":false,"CharacterData":false,"clearInterval":false,"clearTimeout":false,"clientInformation":false,"ClipboardEvent":false,"close":false,"closed":false,"CloseEvent":false,"Comment":false,"CompositionEvent":false,"confirm":false,"console":false,"ConstantSourceNode":false,"ConvolverNode":false,"CountQueuingStrategy":false,"createImageBitmap":false,"Credential":false,"CredentialsContainer":false,"crypto":false,"Crypto":false,"CryptoKey":false,"CSS":false,"CSSConditionRule":false,"CSSFontFaceRule":false,"CSSGroupingRule":false,"CSSImportRule":false,"CSSKeyframeRule":false,"CSSKeyframesRule":false,"CSSMediaRule":false,"CSSNamespaceRule":false,"CSSPageRule":false,"CSSRule":false,"CSSRuleList":false,"CSSStyleDeclaration":false,"CSSStyleRule":false,"CSSStyleSheet":false,"CSSSupportsRule":false,"CustomElementRegistry":false,"customElements":false,"CustomEvent":false,"DataTransfer":false,"DataTransferItem":false,"DataTransferItemList":false,"defaultstatus":false,"defaultStatus":false,"DelayNode":false,"DeviceMotionEvent":false,"DeviceOrientationEvent":false,"devicePixelRatio":false,"dispatchEvent":false,"document":false,"Document":false,"DocumentFragment":false,"DocumentType":false,"DOMError":false,"DOMException":false,"DOMImplementation":false,"DOMMatrix":false,"DOMMatrixReadOnly":false,"DOMParser":false,"DOMPoint":false,"DOMPointReadOnly":false,"DOMQuad":false,"DOMRect":false,"DOMRectReadOnly":false,"DOMStringList":false,"DOMStringMap":false,"DOMTokenList":false,"DragEvent":false,"DynamicsCompressorNode":false,"Element":false,"ErrorEvent":false,"event":false,"Event":false,"EventSource":false,"EventTarget":false,"external":false,"fetch":false,"File":false,"FileList":false,"FileReader":false,"find":false,"focus":false,"FocusEvent":false,"FontFace":false,"FontFaceSetLoadEvent":false,"FormData":false,"frameElement":false,"frames":false,"GainNode":false,"Gamepad":false,"GamepadButton":false,"GamepadEvent":false,"getComputedStyle":false,"getSelection":false,"HashChangeEvent":false,"Headers":false,"history":false,"History":false,"HTMLAllCollection":false,"HTMLAnchorElement":false,"HTMLAreaElement":false,"HTMLAudioElement":false,"HTMLBaseElement":false,"HTMLBodyElement":false,"HTMLBRElement":false,"HTMLButtonElement":false,"HTMLCanvasElement":false,"HTMLCollection":false,"HTMLContentElement":false,"HTMLDataElement":false,"HTMLDataListElement":false,"HTMLDetailsElement":false,"HTMLDialogElement":false,"HTMLDirectoryElement":false,"HTMLDivElement":false,"HTMLDListElement":false,"HTMLDocument":false,"HTMLElement":false,"HTMLEmbedElement":false,"HTMLFieldSetElement":false,"HTMLFontElement":false,"HTMLFormControlsCollection":false,"HTMLFormElement":false,"HTMLFrameElement":false,"HTMLFrameSetElement":false,"HTMLHeadElement":false,"HTMLHeadingElement":false,"HTMLHRElement":false,"HTMLHtmlElement":false,"HTMLIFrameElement":false,"HTMLImageElement":false,"HTMLInputElement":false,"HTMLLabelElement":false,"HTMLLegendElement":false,"HTMLLIElement":false,"HTMLLinkElement":false,"HTMLMapElement":false,"HTMLMarqueeElement":false,"HTMLMediaElement":false,"HTMLMenuElement":false,"HTMLMetaElement":false,"HTMLMeterElement":false,"HTMLModElement":false,"HTMLObjectElement":false,"HTMLOListElement":false,"HTMLOptGroupElement":false,"HTMLOptionElement":false,"HTMLOptionsCollection":false,"HTMLOutputElement":false,"HTMLParagraphElement":false,"HTMLParamElement":false,"HTMLPictureElement":false,"HTMLPreElement":false,"HTMLProgressElement":false,"HTMLQuoteElement":false,"HTMLScriptElement":false,"HTMLSelectElement":false,"HTMLShadowElement":false,"HTMLSlotElement":false,"HTMLSourceElement":false,"HTMLSpanElement":false,"HTMLStyleElement":false,"HTMLTableCaptionElement":false,"HTMLTableCellElement":false,"HTMLTableColElement":false,"HTMLTableElement":false,"HTMLTableRowElement":false,"HTMLTableSectionElement":false,"HTMLTemplateElement":false,"HTMLTextAreaElement":false,"HTMLTimeElement":false,"HTMLTitleElement":false,"HTMLTrackElement":false,"HTMLUListElement":false,"HTMLUnknownElement":false,"HTMLVideoElement":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"IdleDeadline":false,"IIRFilterNode":false,"Image":false,"ImageBitmap":false,"ImageBitmapRenderingContext":false,"ImageCapture":false,"ImageData":false,"indexedDB":false,"innerHeight":false,"innerWidth":false,"InputEvent":false,"IntersectionObserver":false,"IntersectionObserverEntry":false,"Intl":false,"isSecureContext":false,"KeyboardEvent":false,"KeyframeEffect":false,"KeyframeEffectReadOnly":false,"length":false,"localStorage":false,"location":true,"Location":false,"locationbar":false,"matchMedia":false,"MediaDeviceInfo":false,"MediaDevices":false,"MediaElementAudioSourceNode":false,"MediaEncryptedEvent":false,"MediaError":false,"MediaKeyMessageEvent":false,"MediaKeySession":false,"MediaKeyStatusMap":false,"MediaKeySystemAccess":false,"MediaList":false,"MediaQueryList":false,"MediaQueryListEvent":false,"MediaRecorder":false,"MediaSettingsRange":false,"MediaSource":false,"MediaStream":false,"MediaStreamAudioDestinationNode":false,"MediaStreamAudioSourceNode":false,"MediaStreamEvent":false,"MediaStreamTrack":false,"MediaStreamTrackEvent":false,"menubar":false,"MessageChannel":false,"MessageEvent":false,"MessagePort":false,"MIDIAccess":false,"MIDIConnectionEvent":false,"MIDIInput":false,"MIDIInputMap":false,"MIDIMessageEvent":false,"MIDIOutput":false,"MIDIOutputMap":false,"MIDIPort":false,"MimeType":false,"MimeTypeArray":false,"MouseEvent":false,"moveBy":false,"moveTo":false,"MutationEvent":false,"MutationObserver":false,"MutationRecord":false,"name":false,"NamedNodeMap":false,"NavigationPreloadManager":false,"navigator":false,"Navigator":false,"NetworkInformation":false,"Node":false,"NodeFilter":false,"NodeIterator":false,"NodeList":false,"Notification":false,"OfflineAudioCompletionEvent":false,"OfflineAudioContext":false,"offscreenBuffering":false,"OffscreenCanvas":true,"onabort":true,"onafterprint":true,"onanimationend":true,"onanimationiteration":true,"onanimationstart":true,"onappinstalled":true,"onauxclick":true,"onbeforeinstallprompt":true,"onbeforeprint":true,"onbeforeunload":true,"onblur":true,"oncancel":true,"oncanplay":true,"oncanplaythrough":true,"onchange":true,"onclick":true,"onclose":true,"oncontextmenu":true,"oncuechange":true,"ondblclick":true,"ondevicemotion":true,"ondeviceorientation":true,"ondeviceorientationabsolute":true,"ondrag":true,"ondragend":true,"ondragenter":true,"ondragleave":true,"ondragover":true,"ondragstart":true,"ondrop":true,"ondurationchange":true,"onemptied":true,"onended":true,"onerror":true,"onfocus":true,"ongotpointercapture":true,"onhashchange":true,"oninput":true,"oninvalid":true,"onkeydown":true,"onkeypress":true,"onkeyup":true,"onlanguagechange":true,"onload":true,"onloadeddata":true,"onloadedmetadata":true,"onloadstart":true,"onlostpointercapture":true,"onmessage":true,"onmessageerror":true,"onmousedown":true,"onmouseenter":true,"onmouseleave":true,"onmousemove":true,"onmouseout":true,"onmouseover":true,"onmouseup":true,"onmousewheel":true,"onoffline":true,"ononline":true,"onpagehide":true,"onpageshow":true,"onpause":true,"onplay":true,"onplaying":true,"onpointercancel":true,"onpointerdown":true,"onpointerenter":true,"onpointerleave":true,"onpointermove":true,"onpointerout":true,"onpointerover":true,"onpointerup":true,"onpopstate":true,"onprogress":true,"onratechange":true,"onrejectionhandled":true,"onreset":true,"onresize":true,"onscroll":true,"onsearch":true,"onseeked":true,"onseeking":true,"onselect":true,"onstalled":true,"onstorage":true,"onsubmit":true,"onsuspend":true,"ontimeupdate":true,"ontoggle":true,"ontransitionend":true,"onunhandledrejection":true,"onunload":true,"onvolumechange":true,"onwaiting":true,"onwheel":true,"open":false,"openDatabase":false,"opener":false,"Option":false,"origin":false,"OscillatorNode":false,"outerHeight":false,"outerWidth":false,"PageTransitionEvent":false,"pageXOffset":false,"pageYOffset":false,"PannerNode":false,"parent":false,"Path2D":false,"PaymentAddress":false,"PaymentRequest":false,"PaymentRequestUpdateEvent":false,"PaymentResponse":false,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceLongTaskTiming":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceNavigationTiming":false,"PerformanceObserver":false,"PerformanceObserverEntryList":false,"PerformancePaintTiming":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"PeriodicWave":false,"Permissions":false,"PermissionStatus":false,"personalbar":false,"PhotoCapabilities":false,"Plugin":false,"PluginArray":false,"PointerEvent":false,"PopStateEvent":false,"postMessage":false,"Presentation":false,"PresentationAvailability":false,"PresentationConnection":false,"PresentationConnectionAvailableEvent":false,"PresentationConnectionCloseEvent":false,"PresentationConnectionList":false,"PresentationReceiver":false,"PresentationRequest":false,"print":false,"ProcessingInstruction":false,"ProgressEvent":false,"PromiseRejectionEvent":false,"prompt":false,"PushManager":false,"PushSubscription":false,"PushSubscriptionOptions":false,"queueMicrotask":false,"RadioNodeList":false,"Range":false,"ReadableStream":false,"registerProcessor":false,"RemotePlayback":false,"removeEventListener":false,"Request":false,"requestAnimationFrame":false,"requestIdleCallback":false,"resizeBy":false,"ResizeObserver":false,"ResizeObserverEntry":false,"resizeTo":false,"Response":false,"RTCCertificate":false,"RTCDataChannel":false,"RTCDataChannelEvent":false,"RTCDtlsTransport":false,"RTCIceCandidate":false,"RTCIceGatherer":false,"RTCIceTransport":false,"RTCPeerConnection":false,"RTCPeerConnectionIceEvent":false,"RTCRtpContributingSource":false,"RTCRtpReceiver":false,"RTCRtpSender":false,"RTCSctpTransport":false,"RTCSessionDescription":false,"RTCStatsReport":false,"RTCTrackEvent":false,"screen":false,"Screen":false,"screenLeft":false,"ScreenOrientation":false,"screenTop":false,"screenX":false,"screenY":false,"ScriptProcessorNode":false,"scroll":false,"scrollbars":false,"scrollBy":false,"scrollTo":false,"scrollX":false,"scrollY":false,"SecurityPolicyViolationEvent":false,"Selection":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerRegistration":false,"sessionStorage":false,"setInterval":false,"setTimeout":false,"ShadowRoot":false,"SharedWorker":false,"SourceBuffer":false,"SourceBufferList":false,"speechSynthesis":false,"SpeechSynthesisEvent":false,"SpeechSynthesisUtterance":false,"StaticRange":false,"status":false,"statusbar":false,"StereoPannerNode":false,"stop":false,"Storage":false,"StorageEvent":false,"StorageManager":false,"styleMedia":false,"StyleSheet":false,"StyleSheetList":false,"SubtleCrypto":false,"SVGAElement":false,"SVGAngle":false,"SVGAnimatedAngle":false,"SVGAnimatedBoolean":false,"SVGAnimatedEnumeration":false,"SVGAnimatedInteger":false,"SVGAnimatedLength":false,"SVGAnimatedLengthList":false,"SVGAnimatedNumber":false,"SVGAnimatedNumberList":false,"SVGAnimatedPreserveAspectRatio":false,"SVGAnimatedRect":false,"SVGAnimatedString":false,"SVGAnimatedTransformList":false,"SVGAnimateElement":false,"SVGAnimateMotionElement":false,"SVGAnimateTransformElement":false,"SVGAnimationElement":false,"SVGCircleElement":false,"SVGClipPathElement":false,"SVGComponentTransferFunctionElement":false,"SVGDefsElement":false,"SVGDescElement":false,"SVGDiscardElement":false,"SVGElement":false,"SVGEllipseElement":false,"SVGFEBlendElement":false,"SVGFEColorMatrixElement":false,"SVGFEComponentTransferElement":false,"SVGFECompositeElement":false,"SVGFEConvolveMatrixElement":false,"SVGFEDiffuseLightingElement":false,"SVGFEDisplacementMapElement":false,"SVGFEDistantLightElement":false,"SVGFEDropShadowElement":false,"SVGFEFloodElement":false,"SVGFEFuncAElement":false,"SVGFEFuncBElement":false,"SVGFEFuncGElement":false,"SVGFEFuncRElement":false,"SVGFEGaussianBlurElement":false,"SVGFEImageElement":false,"SVGFEMergeElement":false,"SVGFEMergeNodeElement":false,"SVGFEMorphologyElement":false,"SVGFEOffsetElement":false,"SVGFEPointLightElement":false,"SVGFESpecularLightingElement":false,"SVGFESpotLightElement":false,"SVGFETileElement":false,"SVGFETurbulenceElement":false,"SVGFilterElement":false,"SVGForeignObjectElement":false,"SVGGElement":false,"SVGGeometryElement":false,"SVGGradientElement":false,"SVGGraphicsElement":false,"SVGImageElement":false,"SVGLength":false,"SVGLengthList":false,"SVGLinearGradientElement":false,"SVGLineElement":false,"SVGMarkerElement":false,"SVGMaskElement":false,"SVGMatrix":false,"SVGMetadataElement":false,"SVGMPathElement":false,"SVGNumber":false,"SVGNumberList":false,"SVGPathElement":false,"SVGPatternElement":false,"SVGPoint":false,"SVGPointList":false,"SVGPolygonElement":false,"SVGPolylineElement":false,"SVGPreserveAspectRatio":false,"SVGRadialGradientElement":false,"SVGRect":false,"SVGRectElement":false,"SVGScriptElement":false,"SVGSetElement":false,"SVGStopElement":false,"SVGStringList":false,"SVGStyleElement":false,"SVGSVGElement":false,"SVGSwitchElement":false,"SVGSymbolElement":false,"SVGTextContentElement":false,"SVGTextElement":false,"SVGTextPathElement":false,"SVGTextPositioningElement":false,"SVGTitleElement":false,"SVGTransform":false,"SVGTransformList":false,"SVGTSpanElement":false,"SVGUnitTypes":false,"SVGUseElement":false,"SVGViewElement":false,"TaskAttributionTiming":false,"Text":false,"TextDecoder":false,"TextEncoder":false,"TextEvent":false,"TextMetrics":false,"TextTrack":false,"TextTrackCue":false,"TextTrackCueList":false,"TextTrackList":false,"TimeRanges":false,"toolbar":false,"top":false,"Touch":false,"TouchEvent":false,"TouchList":false,"TrackEvent":false,"TransitionEvent":false,"TreeWalker":false,"UIEvent":false,"URL":false,"URLSearchParams":false,"ValidityState":false,"visualViewport":false,"VisualViewport":false,"VTTCue":false,"WaveShaperNode":false,"WebAssembly":false,"WebGL2RenderingContext":false,"WebGLActiveInfo":false,"WebGLBuffer":false,"WebGLContextEvent":false,"WebGLFramebuffer":false,"WebGLProgram":false,"WebGLQuery":false,"WebGLRenderbuffer":false,"WebGLRenderingContext":false,"WebGLSampler":false,"WebGLShader":false,"WebGLShaderPrecisionFormat":false,"WebGLSync":false,"WebGLTexture":false,"WebGLTransformFeedback":false,"WebGLUniformLocation":false,"WebGLVertexArrayObject":false,"WebSocket":false,"WheelEvent":false,"window":false,"Window":false,"Worker":false,"WritableStream":false,"XMLDocument":false,"XMLHttpRequest":false,"XMLHttpRequestEventTarget":false,"XMLHttpRequestUpload":false,"XMLSerializer":false,"XPathEvaluator":false,"XPathExpression":false,"XPathResult":false,"XSLTProcessor":false},"worker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"clearInterval":false,"clearTimeout":false,"close":true,"console":false,"fetch":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":true,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onlanguagechange":true,"onmessage":true,"onoffline":true,"ononline":true,"onrejectionhandled":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"removeEventListener":false,"Request":false,"Response":false,"self":true,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"node":{"__dirname":false,"__filename":false,"Buffer":false,"clearImmediate":false,"clearInterval":false,"clearTimeout":false,"console":false,"exports":true,"global":false,"Intl":false,"module":false,"process":false,"queueMicrotask":false,"require":false,"setImmediate":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false},"commonjs":{"exports":true,"global":false,"module":false,"require":false},"amd":{"define":false,"require":false},"mocha":{"after":false,"afterEach":false,"before":false,"beforeEach":false,"context":false,"describe":false,"it":false,"mocha":false,"run":false,"setup":false,"specify":false,"suite":false,"suiteSetup":false,"suiteTeardown":false,"teardown":false,"test":false,"xcontext":false,"xdescribe":false,"xit":false,"xspecify":false},"jasmine":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fail":false,"fdescribe":false,"fit":false,"it":false,"jasmine":false,"pending":false,"runs":false,"spyOn":false,"spyOnProperty":false,"waits":false,"waitsFor":false,"xdescribe":false,"xit":false},"jest":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fdescribe":false,"fit":false,"it":false,"jest":false,"pit":false,"require":false,"test":false,"xdescribe":false,"xit":false,"xtest":false},"qunit":{"asyncTest":false,"deepEqual":false,"equal":false,"expect":false,"module":false,"notDeepEqual":false,"notEqual":false,"notOk":false,"notPropEqual":false,"notStrictEqual":false,"ok":false,"propEqual":false,"QUnit":false,"raises":false,"start":false,"stop":false,"strictEqual":false,"test":false,"throws":false},"phantomjs":{"console":true,"exports":true,"phantom":true,"require":true,"WebPage":true},"couch":{"emit":false,"exports":false,"getRow":false,"log":false,"module":false,"provides":false,"require":false,"respond":false,"send":false,"start":false,"sum":false},"rhino":{"defineClass":false,"deserialize":false,"gc":false,"help":false,"importClass":false,"importPackage":false,"java":false,"load":false,"loadClass":false,"Packages":false,"print":false,"quit":false,"readFile":false,"readUrl":false,"runCommand":false,"seal":false,"serialize":false,"spawn":false,"sync":false,"toint32":false,"version":false},"nashorn":{"__DIR__":false,"__FILE__":false,"__LINE__":false,"com":false,"edu":false,"exit":false,"java":false,"Java":false,"javafx":false,"JavaImporter":false,"javax":false,"JSAdapter":false,"load":false,"loadWithNewGlobal":false,"org":false,"Packages":false,"print":false,"quit":false},"wsh":{"ActiveXObject":true,"Enumerator":true,"GetObject":true,"ScriptEngine":true,"ScriptEngineBuildVersion":true,"ScriptEngineMajorVersion":true,"ScriptEngineMinorVersion":true,"VBArray":true,"WScript":true,"WSH":true,"XDomainRequest":true},"jquery":{"$":false,"jQuery":false},"yui":{"YAHOO":false,"YAHOO_config":false,"YUI":false,"YUI_config":false},"shelljs":{"cat":false,"cd":false,"chmod":false,"config":false,"cp":false,"dirs":false,"echo":false,"env":false,"error":false,"exec":false,"exit":false,"find":false,"grep":false,"ln":false,"ls":false,"mkdir":false,"mv":false,"popd":false,"pushd":false,"pwd":false,"rm":false,"sed":false,"set":false,"target":false,"tempdir":false,"test":false,"touch":false,"which":false},"prototypejs":{"$":false,"$$":false,"$A":false,"$break":false,"$continue":false,"$F":false,"$H":false,"$R":false,"$w":false,"Abstract":false,"Ajax":false,"Autocompleter":false,"Builder":false,"Class":false,"Control":false,"Draggable":false,"Draggables":false,"Droppables":false,"Effect":false,"Element":false,"Enumerable":false,"Event":false,"Field":false,"Form":false,"Hash":false,"Insertion":false,"ObjectRange":false,"PeriodicalExecuter":false,"Position":false,"Prototype":false,"Scriptaculous":false,"Selector":false,"Sortable":false,"SortableObserver":false,"Sound":false,"Template":false,"Toggle":false,"Try":false},"meteor":{"_":false,"$":false,"Accounts":false,"AccountsClient":false,"AccountsCommon":false,"AccountsServer":false,"App":false,"Assets":false,"Blaze":false,"check":false,"Cordova":false,"DDP":false,"DDPRateLimiter":false,"DDPServer":false,"Deps":false,"EJSON":false,"Email":false,"HTTP":false,"Log":false,"Match":false,"Meteor":false,"Mongo":false,"MongoInternals":false,"Npm":false,"Package":false,"Plugin":false,"process":false,"Random":false,"ReactiveDict":false,"ReactiveVar":false,"Router":false,"ServiceConfiguration":false,"Session":false,"share":false,"Spacebars":false,"Template":false,"Tinytest":false,"Tracker":false,"UI":false,"Utils":false,"WebApp":false,"WebAppInternals":false},"mongo":{"_isWindows":false,"_rand":false,"BulkWriteResult":false,"cat":false,"cd":false,"connect":false,"db":false,"getHostName":false,"getMemInfo":false,"hostname":false,"ISODate":false,"listFiles":false,"load":false,"ls":false,"md5sumFile":false,"mkdir":false,"Mongo":false,"NumberInt":false,"NumberLong":false,"ObjectId":false,"PlanCache":false,"print":false,"printjson":false,"pwd":false,"quit":false,"removeFile":false,"rs":false,"sh":false,"UUID":false,"version":false,"WriteResult":false},"applescript":{"$":false,"Application":false,"Automation":false,"console":false,"delay":false,"Library":false,"ObjC":false,"ObjectSpecifier":false,"Path":false,"Progress":false,"Ref":false},"serviceworker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"CacheStorage":false,"clearInterval":false,"clearTimeout":false,"Client":false,"clients":false,"Clients":false,"close":true,"console":false,"ExtendableEvent":false,"ExtendableMessageEvent":false,"fetch":false,"FetchEvent":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":false,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onfetch":true,"oninstall":true,"onlanguagechange":true,"onmessage":true,"onmessageerror":true,"onnotificationclick":true,"onnotificationclose":true,"onoffline":true,"ononline":true,"onpush":true,"onpushsubscriptionchange":true,"onrejectionhandled":true,"onsync":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"registration":false,"removeEventListener":false,"Request":false,"Response":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerGlobalScope":false,"ServiceWorkerMessageEvent":false,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"skipWaiting":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"WindowClient":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"atomtest":{"advanceClock":false,"fakeClearInterval":false,"fakeClearTimeout":false,"fakeSetInterval":false,"fakeSetTimeout":false,"resetTimeouts":false,"waitsForPromise":false},"embertest":{"andThen":false,"click":false,"currentPath":false,"currentRouteName":false,"currentURL":false,"fillIn":false,"find":false,"findAll":false,"findWithAssert":false,"keyEvent":false,"pauseTest":false,"resumeTest":false,"triggerEvent":false,"visit":false,"wait":false},"protractor":{"$":false,"$$":false,"browser":false,"by":false,"By":false,"DartObject":false,"element":false,"protractor":false},"shared-node-browser":{"clearInterval":false,"clearTimeout":false,"console":false,"setInterval":false,"setTimeout":false,"URL":false,"URLSearchParams":false},"webextensions":{"browser":false,"chrome":false,"opr":false},"greasemonkey":{"cloneInto":false,"createObjectIn":false,"exportFunction":false,"GM":false,"GM_addStyle":false,"GM_deleteValue":false,"GM_getResourceText":false,"GM_getResourceURL":false,"GM_getValue":false,"GM_info":false,"GM_listValues":false,"GM_log":false,"GM_openInTab":false,"GM_registerMenuCommand":false,"GM_setClipboard":false,"GM_setValue":false,"GM_xmlhttpRequest":false,"unsafeWindow":false},"devtools":{"$":false,"$_":false,"$$":false,"$0":false,"$1":false,"$2":false,"$3":false,"$4":false,"$x":false,"chrome":false,"clear":false,"copy":false,"debug":false,"dir":false,"dirxml":false,"getEventListeners":false,"inspect":false,"keys":false,"monitor":false,"monitorEvents":false,"profile":false,"profileEnd":false,"queryObjects":false,"table":false,"undebug":false,"unmonitor":false,"unmonitorEvents":false,"values":false}}')},78575:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"48","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},6834:e=>{"use strict";e.exports=JSON.parse('{"proposal-class-static-block":{"chrome":"91","electron":"13.0"},"proposal-private-property-in-object":{"chrome":"91","firefox":"90","electron":"13.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","samsung":"11","electron":"6.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","electron":"10.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","ios":"13","samsung":"11","electron":"6.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","ios":"14","electron":"10.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.0"},"proposal-optional-chaining":{"firefox":"74","safari":"13.1","ios":"13.4"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","ios":"12","samsung":"9","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","ios":"11.3","samsung":"8","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","ios":"11.3","samsung":"8","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","ios":"13","samsung":"3.4","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"43","safari":"10","node":"6","ios":"10","samsung":"5","rhino":"1.7.13","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","ie":"11","ios":"10","samsung":"3.4","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","ios":"8","samsung":"4","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","ios":"12","samsung":"5","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-block-scoping":{"chrome":"49","opera":"36","edge":"14","firefox":"51","safari":"11","node":"6","ios":"11","samsung":"5","electron":"0.37"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4.4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"proposal-export-namespace-from":{"chrome":"72","and_chr":"72","edge":"79","firefox":"80","and_ff":"80","node":"13.2","opera":"60","op_mob":"51","samsung":"11.0","android":"72","electron":"5.0"}}')},74884:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t})}webpackEmptyAsyncContext.keys=(()=>[]);webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=74884;e.exports=webpackEmptyAsyncContext},36553:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var n=_interopRequireWildcard(r(39571));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;if(a&&(a.get||a.set)){Object.defineProperty(r,i,a)}else{r[i]=e[i]}}}r.default=e;if(t){t.set(e,r)}return r}let i=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const a=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const i=Object.assign({},n,e.end);const{linesAbove:a=2,linesBelow:s=3}=r||{};const o=n.line;const l=n.column;const u=i.line;const p=i.column;let f=Math.max(o-(a+1),0);let c=Math.min(t.length,u+s);if(o===-1){f=0}if(u===-1){c=t.length}const d=u-o;const y={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){y[r]=true}else if(e===0){const e=t[r-1].length;y[r]=[l,e-l+1]}else if(e===d){y[r]=[0,p]}else{const n=t[r-e].length;y[r]=[0,n]}}}else{if(l===p){if(l){y[o]=[l,0]}else{y[o]=true}}else{y[o]=[l,p-l]}}return{start:f,end:c,markerLines:y}}function codeFrameColumns(e,t,r={}){const i=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const s=(0,n.getChalk)(r);const o=getDefs(s);const l=(e,t)=>{return i?e(t):t};const u=e.split(a);const{start:p,end:f,markerLines:c}=getMarkerLines(t,u,r);const d=t.start&&typeof t.start.column==="number";const y=String(f).length;const m=i?(0,n.default)(e,r):e;let T=m.split(a).slice(p,f).map((e,t)=>{const n=p+1+t;const i=` ${n}`.slice(-y);const a=` ${i} | `;const s=c[n];const u=!c[n+1];if(s){let t="";if(Array.isArray(s)){const n=e.slice(0,Math.max(s[0]-1,0)).replace(/[^\t]/g," ");const i=s[1]||1;t=["\n ",l(o.gutter,a.replace(/\d/g," ")),n,l(o.marker,"^").repeat(i)].join("");if(u&&r.message){t+=" "+l(o.message,r.message)}}return[l(o.marker,">"),l(o.gutter,a),e,t].join("")}else{return` ${l(o.gutter,a)}${e}`}}).join("\n");if(r.message&&!d){T=`${" ".repeat(y+1)}${r.message}\n${T}`}if(i){return s.reset(T)}else{return T}}function _default(e,t,r,n={}){if(!i){i=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const a={start:{column:r,line:t}};return codeFrameColumns(e,a,n)}},19078:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;const r=/^[ \t]+$/;class Buffer{constructor(e){this._map=null;this._buf="";this._last=0;this._queue=[];this._position={line:1,column:0};this._sourcePosition={identifierName:null,line:null,column:null,filename:null};this._disallowedPop=null;this._map=e}get(){this._flush();const e=this._map;const t={code:this._buf.trimRight(),map:null,rawMappings:e==null?void 0:e.getRawMappings()};if(e){Object.defineProperty(t,"map",{configurable:true,enumerable:true,get(){return this.map=e.get()},set(e){Object.defineProperty(this,"map",{value:e,writable:true})}})}return t}append(e){this._flush();const{line:t,column:r,filename:n,identifierName:i,force:a}=this._sourcePosition;this._append(e,t,r,i,n,a)}queue(e){if(e==="\n"){while(this._queue.length>0&&r.test(this._queue[0][0])){this._queue.shift()}}const{line:t,column:n,filename:i,identifierName:a,force:s}=this._sourcePosition;this._queue.unshift([e,t,n,a,i,s])}_flush(){let e;while(e=this._queue.pop()){this._append(...e)}}_append(e,t,r,n,i,a){this._buf+=e;this._last=e.charCodeAt(e.length-1);let s=e.indexOf("\n");let o=0;if(s!==0){this._mark(t,r,n,i,a)}while(s!==-1){this._position.line++;this._position.column=0;o=s+1;if(o0&&this._queue[0][0]==="\n"){this._queue.shift()}}removeLastSemicolon(){if(this._queue.length>0&&this._queue[0][0]===";"){this._queue.shift()}}getLastChar(){let e;if(this._queue.length>0){const t=this._queue[0][0];e=t.charCodeAt(0)}else{e=this._last}return e}endsWithCharAndNewline(){const e=this._queue;if(e.length>0){const t=e[0][0];const r=t.charCodeAt(0);if(r!==10)return;if(e.length>1){const t=e[1][0];return t.charCodeAt(0)}else{return this._last}}}hasContent(){return this._queue.length>0||!!this._last}exactSource(e,t){this.source("start",e,true);t();this.source("end",e);this._disallowPop("start",e)}source(e,t,r){if(e&&!t)return;this._normalizePosition(e,t,this._sourcePosition,r)}withSource(e,t,r){if(!this._map)return r();const n=this._sourcePosition.line;const i=this._sourcePosition.column;const a=this._sourcePosition.filename;const s=this._sourcePosition.identifierName;this.source(e,t);r();if((!this._sourcePosition.force||this._sourcePosition.line!==n||this._sourcePosition.column!==i||this._sourcePosition.filename!==a)&&(!this._disallowedPop||this._disallowedPop.line!==n||this._disallowedPop.column!==i||this._disallowedPop.filename!==a)){this._sourcePosition.line=n;this._sourcePosition.column=i;this._sourcePosition.filename=a;this._sourcePosition.identifierName=s;this._sourcePosition.force=false;this._disallowedPop=null}}_disallowPop(e,t){if(e&&!t)return;this._disallowedPop=this._normalizePosition(e,t)}_normalizePosition(e,t,r,n){const i=t?t[e]:null;if(r===undefined){r={identifierName:null,line:null,column:null,filename:null,force:false}}const a=r.line;const s=r.column;const o=r.filename;r.identifierName=e==="start"&&(t==null?void 0:t.identifierName)||null;r.line=i==null?void 0:i.line;r.column=i==null?void 0:i.column;r.filename=t==null?void 0:t.filename;if(n||r.line!==a||r.column!==s||r.filename!==o){r.force=n}return r}getCurrentColumn(){const e=this._queue.reduce((e,t)=>t[0]+e,"");const t=e.lastIndexOf("\n");return t===-1?this._position.column+e.length:e.length-1-t}getCurrentLine(){const e=this._queue.reduce((e,t)=>t[0]+e,"");let t=0;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.File=File;t.Program=Program;t.BlockStatement=BlockStatement;t.Directive=Directive;t.DirectiveLiteral=DirectiveLiteral;t.InterpreterDirective=InterpreterDirective;t.Placeholder=Placeholder;var n=r(97163);function File(e){if(e.program){this.print(e.program.interpreter,e)}this.print(e.program,e)}function Program(e){this.printInnerComments(e,false);this.printSequence(e.directives,e);if(e.directives&&e.directives.length)this.newline();this.printSequence(e.body,e)}function BlockStatement(e){var t;this.token("{");this.printInnerComments(e);const r=(t=e.directives)==null?void 0:t.length;if(e.body.length||r){this.newline();this.printSequence(e.directives,e,{indent:true});if(r)this.newline();this.printSequence(e.body,e,{indent:true});this.removeTrailingNewline();this.source("end",e.loc);if(!this.endsWith(10))this.newline();this.rightBrace()}else{this.source("end",e.loc);this.token("}")}}function Directive(e){this.print(e.value,e);this.semicolon()}const i=/(?:^|[^\\])(?:\\\\)*'/;const a=/(?:^|[^\\])(?:\\\\)*"/;function DirectiveLiteral(e){const t=this.getPossibleRaw(e);if(t!=null){this.token(t);return}const{value:r}=e;if(!a.test(r)){this.token(`"${r}"`)}else if(!i.test(r)){this.token(`'${r}'`)}else{throw new Error("Malformed AST: it is not possible to print a directive containing"+" both unescaped single and double quotes.")}}function InterpreterDirective(e){this.token(`#!${e.value}\n`)}function Placeholder(e){this.token("%%");this.print(e.name);this.token("%%");if(e.expectedNode==="Statement"){this.semicolon()}}},80111:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ClassExpression=t.ClassDeclaration=ClassDeclaration;t.ClassBody=ClassBody;t.ClassProperty=ClassProperty;t.ClassPrivateProperty=ClassPrivateProperty;t.ClassMethod=ClassMethod;t.ClassPrivateMethod=ClassPrivateMethod;t._classMethodHead=_classMethodHead;t.StaticBlock=StaticBlock;var n=r(97163);const{isExportDefaultDeclaration:i,isExportNamedDeclaration:a}=n;function ClassDeclaration(e,t){if(!this.format.decoratorsBeforeExport||!i(t)&&!a(t)){this.printJoin(e.decorators,e)}if(e.declare){this.word("declare");this.space()}if(e.abstract){this.word("abstract");this.space()}this.word("class");if(e.id){this.space();this.print(e.id,e)}this.print(e.typeParameters,e);if(e.superClass){this.space();this.word("extends");this.space();this.print(e.superClass,e);this.print(e.superTypeParameters,e)}if(e.implements){this.space();this.word("implements");this.space();this.printList(e.implements,e)}this.space();this.print(e.body,e)}function ClassBody(e){this.token("{");this.printInnerComments(e);if(e.body.length===0){this.token("}")}else{this.newline();this.indent();this.printSequence(e.body,e);this.dedent();if(!this.endsWith(10))this.newline();this.rightBrace()}}function ClassProperty(e){this.printJoin(e.decorators,e);this.source("end",e.key.loc);this.tsPrintClassMemberModifiers(e,true);if(e.computed){this.token("[");this.print(e.key,e);this.token("]")}else{this._variance(e);this.print(e.key,e)}if(e.optional){this.token("?")}if(e.definite){this.token("!")}this.print(e.typeAnnotation,e);if(e.value){this.space();this.token("=");this.space();this.print(e.value,e)}this.semicolon()}function ClassPrivateProperty(e){this.printJoin(e.decorators,e);if(e.static){this.word("static");this.space()}this.print(e.key,e);this.print(e.typeAnnotation,e);if(e.value){this.space();this.token("=");this.space();this.print(e.value,e)}this.semicolon()}function ClassMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function ClassPrivateMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function _classMethodHead(e){this.printJoin(e.decorators,e);this.source("end",e.key.loc);this.tsPrintClassMemberModifiers(e,false);this._methodHead(e)}function StaticBlock(e){this.word("static");this.space();this.token("{");if(e.body.length===0){this.token("}")}else{this.newline();this.printSequence(e.body,e,{indent:true});this.rightBrace()}}},94447:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UnaryExpression=UnaryExpression;t.DoExpression=DoExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.UpdateExpression=UpdateExpression;t.ConditionalExpression=ConditionalExpression;t.NewExpression=NewExpression;t.SequenceExpression=SequenceExpression;t.ThisExpression=ThisExpression;t.Super=Super;t.Decorator=Decorator;t.OptionalMemberExpression=OptionalMemberExpression;t.OptionalCallExpression=OptionalCallExpression;t.CallExpression=CallExpression;t.Import=Import;t.EmptyStatement=EmptyStatement;t.ExpressionStatement=ExpressionStatement;t.AssignmentPattern=AssignmentPattern;t.LogicalExpression=t.BinaryExpression=t.AssignmentExpression=AssignmentExpression;t.BindExpression=BindExpression;t.MemberExpression=MemberExpression;t.MetaProperty=MetaProperty;t.PrivateName=PrivateName;t.V8IntrinsicIdentifier=V8IntrinsicIdentifier;t.ModuleExpression=ModuleExpression;t.AwaitExpression=t.YieldExpression=void 0;var n=r(97163);var i=r(40523);const{isCallExpression:a,isLiteral:s,isMemberExpression:o,isNewExpression:l}=n;function UnaryExpression(e){if(e.operator==="void"||e.operator==="delete"||e.operator==="typeof"||e.operator==="throw"){this.word(e.operator);this.space()}else{this.token(e.operator)}this.print(e.argument,e)}function DoExpression(e){if(e.async){this.word("async");this.space()}this.word("do");this.space();this.print(e.body,e)}function ParenthesizedExpression(e){this.token("(");this.print(e.expression,e);this.token(")")}function UpdateExpression(e){if(e.prefix){this.token(e.operator);this.print(e.argument,e)}else{this.startTerminatorless(true);this.print(e.argument,e);this.endTerminatorless();this.token(e.operator)}}function ConditionalExpression(e){this.print(e.test,e);this.space();this.token("?");this.space();this.print(e.consequent,e);this.space();this.token(":");this.space();this.print(e.alternate,e)}function NewExpression(e,t){this.word("new");this.space();this.print(e.callee,e);if(this.format.minified&&e.arguments.length===0&&!e.optional&&!a(t,{callee:e})&&!o(t)&&!l(t)){return}this.print(e.typeArguments,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.token("(");this.printList(e.arguments,e);this.token(")")}function SequenceExpression(e){this.printList(e.expressions,e)}function ThisExpression(){this.word("this")}function Super(){this.word("super")}function Decorator(e){this.token("@");this.print(e.expression,e);this.newline()}function OptionalMemberExpression(e){this.print(e.object,e);if(!e.computed&&o(e.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let t=e.computed;if(s(e.property)&&typeof e.property.value==="number"){t=true}if(e.optional){this.token("?.")}if(t){this.token("[");this.print(e.property,e);this.token("]")}else{if(!e.optional){this.token(".")}this.print(e.property,e)}}function OptionalCallExpression(e){this.print(e.callee,e);this.print(e.typeArguments,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.token("(");this.printList(e.arguments,e);this.token(")")}function CallExpression(e){this.print(e.callee,e);this.print(e.typeArguments,e);this.print(e.typeParameters,e);this.token("(");this.printList(e.arguments,e);this.token(")")}function Import(){this.word("import")}function buildYieldAwait(e){return function(t){this.word(e);if(t.delegate){this.token("*")}if(t.argument){this.space();const e=this.startTerminatorless();this.print(t.argument,t);this.endTerminatorless(e)}}}const u=buildYieldAwait("yield");t.YieldExpression=u;const p=buildYieldAwait("await");t.AwaitExpression=p;function EmptyStatement(){this.semicolon(true)}function ExpressionStatement(e){this.print(e.expression,e);this.semicolon()}function AssignmentPattern(e){this.print(e.left,e);if(e.left.optional)this.token("?");this.print(e.left.typeAnnotation,e);this.space();this.token("=");this.space();this.print(e.right,e)}function AssignmentExpression(e,t){const r=this.inForStatementInitCounter&&e.operator==="in"&&!i.needsParens(e,t);if(r){this.token("(")}this.print(e.left,e);this.space();if(e.operator==="in"||e.operator==="instanceof"){this.word(e.operator)}else{this.token(e.operator)}this.space();this.print(e.right,e);if(r){this.token(")")}}function BindExpression(e){this.print(e.object,e);this.token("::");this.print(e.callee,e)}function MemberExpression(e){this.print(e.object,e);if(!e.computed&&o(e.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let t=e.computed;if(s(e.property)&&typeof e.property.value==="number"){t=true}if(t){this.token("[");this.print(e.property,e);this.token("]")}else{this.token(".");this.print(e.property,e)}}function MetaProperty(e){this.print(e.meta,e);this.token(".");this.print(e.property,e)}function PrivateName(e){this.token("#");this.print(e.id,e)}function V8IntrinsicIdentifier(e){this.token("%");this.word(e.name)}function ModuleExpression(e){this.word("module");this.space();this.token("{");if(e.body.body.length===0){this.token("}")}else{this.newline();this.printSequence(e.body.body,e,{indent:true});this.rightBrace()}}},95755:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AnyTypeAnnotation=AnyTypeAnnotation;t.ArrayTypeAnnotation=ArrayTypeAnnotation;t.BooleanTypeAnnotation=BooleanTypeAnnotation;t.BooleanLiteralTypeAnnotation=BooleanLiteralTypeAnnotation;t.NullLiteralTypeAnnotation=NullLiteralTypeAnnotation;t.DeclareClass=DeclareClass;t.DeclareFunction=DeclareFunction;t.InferredPredicate=InferredPredicate;t.DeclaredPredicate=DeclaredPredicate;t.DeclareInterface=DeclareInterface;t.DeclareModule=DeclareModule;t.DeclareModuleExports=DeclareModuleExports;t.DeclareTypeAlias=DeclareTypeAlias;t.DeclareOpaqueType=DeclareOpaqueType;t.DeclareVariable=DeclareVariable;t.DeclareExportDeclaration=DeclareExportDeclaration;t.DeclareExportAllDeclaration=DeclareExportAllDeclaration;t.EnumDeclaration=EnumDeclaration;t.EnumBooleanBody=EnumBooleanBody;t.EnumNumberBody=EnumNumberBody;t.EnumStringBody=EnumStringBody;t.EnumSymbolBody=EnumSymbolBody;t.EnumDefaultedMember=EnumDefaultedMember;t.EnumBooleanMember=EnumBooleanMember;t.EnumNumberMember=EnumNumberMember;t.EnumStringMember=EnumStringMember;t.ExistsTypeAnnotation=ExistsTypeAnnotation;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.FunctionTypeParam=FunctionTypeParam;t.GenericTypeAnnotation=t.ClassImplements=t.InterfaceExtends=InterfaceExtends;t._interfaceish=_interfaceish;t._variance=_variance;t.InterfaceDeclaration=InterfaceDeclaration;t.InterfaceTypeAnnotation=InterfaceTypeAnnotation;t.IntersectionTypeAnnotation=IntersectionTypeAnnotation;t.MixedTypeAnnotation=MixedTypeAnnotation;t.EmptyTypeAnnotation=EmptyTypeAnnotation;t.NullableTypeAnnotation=NullableTypeAnnotation;t.NumberTypeAnnotation=NumberTypeAnnotation;t.StringTypeAnnotation=StringTypeAnnotation;t.ThisTypeAnnotation=ThisTypeAnnotation;t.TupleTypeAnnotation=TupleTypeAnnotation;t.TypeofTypeAnnotation=TypeofTypeAnnotation;t.TypeAlias=TypeAlias;t.TypeAnnotation=TypeAnnotation;t.TypeParameterDeclaration=t.TypeParameterInstantiation=TypeParameterInstantiation;t.TypeParameter=TypeParameter;t.OpaqueType=OpaqueType;t.ObjectTypeAnnotation=ObjectTypeAnnotation;t.ObjectTypeInternalSlot=ObjectTypeInternalSlot;t.ObjectTypeCallProperty=ObjectTypeCallProperty;t.ObjectTypeIndexer=ObjectTypeIndexer;t.ObjectTypeProperty=ObjectTypeProperty;t.ObjectTypeSpreadProperty=ObjectTypeSpreadProperty;t.QualifiedTypeIdentifier=QualifiedTypeIdentifier;t.SymbolTypeAnnotation=SymbolTypeAnnotation;t.UnionTypeAnnotation=UnionTypeAnnotation;t.TypeCastExpression=TypeCastExpression;t.Variance=Variance;t.VoidTypeAnnotation=VoidTypeAnnotation;t.IndexedAccessType=IndexedAccessType;t.OptionalIndexedAccessType=OptionalIndexedAccessType;Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return a.NumericLiteral}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return a.StringLiteral}});var n=r(97163);var i=r(65132);var a=r(717);const{isDeclareExportDeclaration:s,isStatement:o}=n;function AnyTypeAnnotation(){this.word("any")}function ArrayTypeAnnotation(e){this.print(e.elementType,e);this.token("[");this.token("]")}function BooleanTypeAnnotation(){this.word("boolean")}function BooleanLiteralTypeAnnotation(e){this.word(e.value?"true":"false")}function NullLiteralTypeAnnotation(){this.word("null")}function DeclareClass(e,t){if(!s(t)){this.word("declare");this.space()}this.word("class");this.space();this._interfaceish(e)}function DeclareFunction(e,t){if(!s(t)){this.word("declare");this.space()}this.word("function");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation.typeAnnotation,e);if(e.predicate){this.space();this.print(e.predicate,e)}this.semicolon()}function InferredPredicate(){this.token("%");this.word("checks")}function DeclaredPredicate(e){this.token("%");this.word("checks");this.token("(");this.print(e.value,e);this.token(")")}function DeclareInterface(e){this.word("declare");this.space();this.InterfaceDeclaration(e)}function DeclareModule(e){this.word("declare");this.space();this.word("module");this.space();this.print(e.id,e);this.space();this.print(e.body,e)}function DeclareModuleExports(e){this.word("declare");this.space();this.word("module");this.token(".");this.word("exports");this.print(e.typeAnnotation,e)}function DeclareTypeAlias(e){this.word("declare");this.space();this.TypeAlias(e)}function DeclareOpaqueType(e,t){if(!s(t)){this.word("declare");this.space()}this.OpaqueType(e)}function DeclareVariable(e,t){if(!s(t)){this.word("declare");this.space()}this.word("var");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation,e);this.semicolon()}function DeclareExportDeclaration(e){this.word("declare");this.space();this.word("export");this.space();if(e.default){this.word("default");this.space()}FlowExportDeclaration.apply(this,arguments)}function DeclareExportAllDeclaration(){this.word("declare");this.space();i.ExportAllDeclaration.apply(this,arguments)}function EnumDeclaration(e){const{id:t,body:r}=e;this.word("enum");this.space();this.print(t,e);this.print(r,e)}function enumExplicitType(e,t,r){if(r){e.space();e.word("of");e.space();e.word(t)}e.space()}function enumBody(e,t){const{members:r}=t;e.token("{");e.indent();e.newline();for(const n of r){e.print(n,t);e.newline()}if(t.hasUnknownMembers){e.token("...");e.newline()}e.dedent();e.token("}")}function EnumBooleanBody(e){const{explicitType:t}=e;enumExplicitType(this,"boolean",t);enumBody(this,e)}function EnumNumberBody(e){const{explicitType:t}=e;enumExplicitType(this,"number",t);enumBody(this,e)}function EnumStringBody(e){const{explicitType:t}=e;enumExplicitType(this,"string",t);enumBody(this,e)}function EnumSymbolBody(e){enumExplicitType(this,"symbol",true);enumBody(this,e)}function EnumDefaultedMember(e){const{id:t}=e;this.print(t,e);this.token(",")}function enumInitializedMember(e,t){const{id:r,init:n}=t;e.print(r,t);e.space();e.token("=");e.space();e.print(n,t);e.token(",")}function EnumBooleanMember(e){enumInitializedMember(this,e)}function EnumNumberMember(e){enumInitializedMember(this,e)}function EnumStringMember(e){enumInitializedMember(this,e)}function FlowExportDeclaration(e){if(e.declaration){const t=e.declaration;this.print(t,e);if(!o(t))this.semicolon()}else{this.token("{");if(e.specifiers.length){this.space();this.printList(e.specifiers,e);this.space()}this.token("}");if(e.source){this.space();this.word("from");this.space();this.print(e.source,e)}this.semicolon()}}function ExistsTypeAnnotation(){this.token("*")}function FunctionTypeAnnotation(e,t){this.print(e.typeParameters,e);this.token("(");if(e.this){this.word("this");this.token(":");this.space();this.print(e.this.typeAnnotation,e);if(e.params.length||e.rest){this.token(",");this.space()}}this.printList(e.params,e);if(e.rest){if(e.params.length){this.token(",");this.space()}this.token("...");this.print(e.rest,e)}this.token(")");if(t.type==="ObjectTypeCallProperty"||t.type==="DeclareFunction"||t.type==="ObjectTypeProperty"&&t.method){this.token(":")}else{this.space();this.token("=>")}this.space();this.print(e.returnType,e)}function FunctionTypeParam(e){this.print(e.name,e);if(e.optional)this.token("?");if(e.name){this.token(":");this.space()}this.print(e.typeAnnotation,e)}function InterfaceExtends(e){this.print(e.id,e);this.print(e.typeParameters,e)}function _interfaceish(e){var t;this.print(e.id,e);this.print(e.typeParameters,e);if((t=e.extends)!=null&&t.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}if(e.mixins&&e.mixins.length){this.space();this.word("mixins");this.space();this.printList(e.mixins,e)}if(e.implements&&e.implements.length){this.space();this.word("implements");this.space();this.printList(e.implements,e)}this.space();this.print(e.body,e)}function _variance(e){if(e.variance){if(e.variance.kind==="plus"){this.token("+")}else if(e.variance.kind==="minus"){this.token("-")}}}function InterfaceDeclaration(e){this.word("interface");this.space();this._interfaceish(e)}function andSeparator(){this.space();this.token("&");this.space()}function InterfaceTypeAnnotation(e){this.word("interface");if(e.extends&&e.extends.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}this.space();this.print(e.body,e)}function IntersectionTypeAnnotation(e){this.printJoin(e.types,e,{separator:andSeparator})}function MixedTypeAnnotation(){this.word("mixed")}function EmptyTypeAnnotation(){this.word("empty")}function NullableTypeAnnotation(e){this.token("?");this.print(e.typeAnnotation,e)}function NumberTypeAnnotation(){this.word("number")}function StringTypeAnnotation(){this.word("string")}function ThisTypeAnnotation(){this.word("this")}function TupleTypeAnnotation(e){this.token("[");this.printList(e.types,e);this.token("]")}function TypeofTypeAnnotation(e){this.word("typeof");this.space();this.print(e.argument,e)}function TypeAlias(e){this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);this.space();this.token("=");this.space();this.print(e.right,e);this.semicolon()}function TypeAnnotation(e){this.token(":");this.space();if(e.optional)this.token("?");this.print(e.typeAnnotation,e)}function TypeParameterInstantiation(e){this.token("<");this.printList(e.params,e,{});this.token(">")}function TypeParameter(e){this._variance(e);this.word(e.name);if(e.bound){this.print(e.bound,e)}if(e.default){this.space();this.token("=");this.space();this.print(e.default,e)}}function OpaqueType(e){this.word("opaque");this.space();this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);if(e.supertype){this.token(":");this.space();this.print(e.supertype,e)}if(e.impltype){this.space();this.token("=");this.space();this.print(e.impltype,e)}this.semicolon()}function ObjectTypeAnnotation(e){if(e.exact){this.token("{|")}else{this.token("{")}const t=[...e.properties,...e.callProperties||[],...e.indexers||[],...e.internalSlots||[]];if(t.length){this.space();this.printJoin(t,e,{addNewlines(e){if(e&&!t[0])return 1},indent:true,statement:true,iterator:()=>{if(t.length!==1||e.inexact){this.token(",");this.space()}}});this.space()}if(e.inexact){this.indent();this.token("...");if(t.length){this.newline()}this.dedent()}if(e.exact){this.token("|}")}else{this.token("}")}}function ObjectTypeInternalSlot(e){if(e.static){this.word("static");this.space()}this.token("[");this.token("[");this.print(e.id,e);this.token("]");this.token("]");if(e.optional)this.token("?");if(!e.method){this.token(":");this.space()}this.print(e.value,e)}function ObjectTypeCallProperty(e){if(e.static){this.word("static");this.space()}this.print(e.value,e)}function ObjectTypeIndexer(e){if(e.static){this.word("static");this.space()}this._variance(e);this.token("[");if(e.id){this.print(e.id,e);this.token(":");this.space()}this.print(e.key,e);this.token("]");this.token(":");this.space();this.print(e.value,e)}function ObjectTypeProperty(e){if(e.proto){this.word("proto");this.space()}if(e.static){this.word("static");this.space()}if(e.kind==="get"||e.kind==="set"){this.word(e.kind);this.space()}this._variance(e);this.print(e.key,e);if(e.optional)this.token("?");if(!e.method){this.token(":");this.space()}this.print(e.value,e)}function ObjectTypeSpreadProperty(e){this.token("...");this.print(e.argument,e)}function QualifiedTypeIdentifier(e){this.print(e.qualification,e);this.token(".");this.print(e.id,e)}function SymbolTypeAnnotation(){this.word("symbol")}function orSeparator(){this.space();this.token("|");this.space()}function UnionTypeAnnotation(e){this.printJoin(e.types,e,{separator:orSeparator})}function TypeCastExpression(e){this.token("(");this.print(e.expression,e);this.print(e.typeAnnotation,e);this.token(")")}function Variance(e){if(e.kind==="plus"){this.token("+")}else{this.token("-")}}function VoidTypeAnnotation(){this.word("void")}function IndexedAccessType(e){this.print(e.objectType,e);this.token("[");this.print(e.indexType,e);this.token("]")}function OptionalIndexedAccessType(e){this.print(e.objectType,e);if(e.optional){this.token("?.")}this.token("[");this.print(e.indexType,e);this.token("]")}},52506:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(60699);Object.keys(n).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===n[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return n[e]}})});var i=r(94447);Object.keys(i).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===i[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return i[e]}})});var a=r(15994);Object.keys(a).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===a[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return a[e]}})});var s=r(80111);Object.keys(s).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===s[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return s[e]}})});var o=r(92250);Object.keys(o).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===o[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return o[e]}})});var l=r(65132);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(717);Object.keys(u).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===u[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return u[e]}})});var p=r(95755);Object.keys(p).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===p[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return p[e]}})});var f=r(10530);Object.keys(f).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})});var c=r(10412);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(74871);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})})},10412:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.JSXAttribute=JSXAttribute;t.JSXIdentifier=JSXIdentifier;t.JSXNamespacedName=JSXNamespacedName;t.JSXMemberExpression=JSXMemberExpression;t.JSXSpreadAttribute=JSXSpreadAttribute;t.JSXExpressionContainer=JSXExpressionContainer;t.JSXSpreadChild=JSXSpreadChild;t.JSXText=JSXText;t.JSXElement=JSXElement;t.JSXOpeningElement=JSXOpeningElement;t.JSXClosingElement=JSXClosingElement;t.JSXEmptyExpression=JSXEmptyExpression;t.JSXFragment=JSXFragment;t.JSXOpeningFragment=JSXOpeningFragment;t.JSXClosingFragment=JSXClosingFragment;var n=r(97163);function JSXAttribute(e){this.print(e.name,e);if(e.value){this.token("=");this.print(e.value,e)}}function JSXIdentifier(e){this.word(e.name)}function JSXNamespacedName(e){this.print(e.namespace,e);this.token(":");this.print(e.name,e)}function JSXMemberExpression(e){this.print(e.object,e);this.token(".");this.print(e.property,e)}function JSXSpreadAttribute(e){this.token("{");this.token("...");this.print(e.argument,e);this.token("}")}function JSXExpressionContainer(e){this.token("{");this.print(e.expression,e);this.token("}")}function JSXSpreadChild(e){this.token("{");this.token("...");this.print(e.expression,e);this.token("}")}function JSXText(e){const t=this.getPossibleRaw(e);if(t!=null){this.token(t)}else{this.token(e.value)}}function JSXElement(e){const t=e.openingElement;this.print(t,e);if(t.selfClosing)return;this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingElement,e)}function spaceSeparator(){this.space()}function JSXOpeningElement(e){this.token("<");this.print(e.name,e);this.print(e.typeParameters,e);if(e.attributes.length>0){this.space();this.printJoin(e.attributes,e,{separator:spaceSeparator})}if(e.selfClosing){this.space();this.token("/>")}else{this.token(">")}}function JSXClosingElement(e){this.token("")}function JSXEmptyExpression(e){this.printInnerComments(e)}function JSXFragment(e){this.print(e.openingFragment,e);this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingFragment,e)}function JSXOpeningFragment(){this.token("<");this.token(">")}function JSXClosingFragment(){this.token("")}},92250:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._params=_params;t._parameters=_parameters;t._param=_param;t._methodHead=_methodHead;t._predicate=_predicate;t._functionHead=_functionHead;t.FunctionDeclaration=t.FunctionExpression=FunctionExpression;t.ArrowFunctionExpression=ArrowFunctionExpression;var n=r(97163);const{isIdentifier:i}=n;function _params(e){this.print(e.typeParameters,e);this.token("(");this._parameters(e.params,e);this.token(")");this.print(e.returnType,e)}function _parameters(e,t){for(let r=0;r");this.space();this.print(e.body,e)}function hasTypesOrComments(e,t){var r,n;return!!(e.typeParameters||e.returnType||e.predicate||t.typeAnnotation||t.optional||(r=t.leadingComments)!=null&&r.length||(n=t.trailingComments)!=null&&n.length)}},65132:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ImportSpecifier=ImportSpecifier;t.ImportDefaultSpecifier=ImportDefaultSpecifier;t.ExportDefaultSpecifier=ExportDefaultSpecifier;t.ExportSpecifier=ExportSpecifier;t.ExportNamespaceSpecifier=ExportNamespaceSpecifier;t.ExportAllDeclaration=ExportAllDeclaration;t.ExportNamedDeclaration=ExportNamedDeclaration;t.ExportDefaultDeclaration=ExportDefaultDeclaration;t.ImportDeclaration=ImportDeclaration;t.ImportAttribute=ImportAttribute;t.ImportNamespaceSpecifier=ImportNamespaceSpecifier;var n=r(97163);const{isClassDeclaration:i,isExportDefaultSpecifier:a,isExportNamespaceSpecifier:s,isImportDefaultSpecifier:o,isImportNamespaceSpecifier:l,isStatement:u}=n;function ImportSpecifier(e){if(e.importKind==="type"||e.importKind==="typeof"){this.word(e.importKind);this.space()}this.print(e.imported,e);if(e.local&&e.local.name!==e.imported.name){this.space();this.word("as");this.space();this.print(e.local,e)}}function ImportDefaultSpecifier(e){this.print(e.local,e)}function ExportDefaultSpecifier(e){this.print(e.exported,e)}function ExportSpecifier(e){this.print(e.local,e);if(e.exported&&e.local.name!==e.exported.name){this.space();this.word("as");this.space();this.print(e.exported,e)}}function ExportNamespaceSpecifier(e){this.token("*");this.space();this.word("as");this.space();this.print(e.exported,e)}function ExportAllDeclaration(e){this.word("export");this.space();if(e.exportKind==="type"){this.word("type");this.space()}this.token("*");this.space();this.word("from");this.space();this.print(e.source,e);this.printAssertions(e);this.semicolon()}function ExportNamedDeclaration(e){if(this.format.decoratorsBeforeExport&&i(e.declaration)){this.printJoin(e.declaration.decorators,e)}this.word("export");this.space();ExportDeclaration.apply(this,arguments)}function ExportDefaultDeclaration(e){if(this.format.decoratorsBeforeExport&&i(e.declaration)){this.printJoin(e.declaration.decorators,e)}this.word("export");this.space();this.word("default");this.space();ExportDeclaration.apply(this,arguments)}function ExportDeclaration(e){if(e.declaration){const t=e.declaration;this.print(t,e);if(!u(t))this.semicolon()}else{if(e.exportKind==="type"){this.word("type");this.space()}const t=e.specifiers.slice(0);let r=false;for(;;){const n=t[0];if(a(n)||s(n)){r=true;this.print(t.shift(),e);if(t.length){this.token(",");this.space()}}else{break}}if(t.length||!t.length&&!r){this.token("{");if(t.length){this.space();this.printList(t,e);this.space()}this.token("}")}if(e.source){this.space();this.word("from");this.space();this.print(e.source,e);this.printAssertions(e)}this.semicolon()}}function ImportDeclaration(e){this.word("import");this.space();if(e.importKind==="type"||e.importKind==="typeof"){this.word(e.importKind);this.space()}const t=e.specifiers.slice(0);if(t!=null&&t.length){for(;;){const r=t[0];if(o(r)||l(r)){this.print(t.shift(),e);if(t.length){this.token(",");this.space()}}else{break}}if(t.length){this.token("{");this.space();this.printList(t,e);this.space();this.token("}")}this.space();this.word("from");this.space()}this.print(e.source,e);this.printAssertions(e);{var r;if((r=e.attributes)!=null&&r.length){this.space();this.word("with");this.space();this.printList(e.attributes,e)}}this.semicolon()}function ImportAttribute(e){this.print(e.key);this.token(":");this.space();this.print(e.value)}function ImportNamespaceSpecifier(e){this.token("*");this.space();this.word("as");this.space();this.print(e.local,e)}},15994:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.WithStatement=WithStatement;t.IfStatement=IfStatement;t.ForStatement=ForStatement;t.WhileStatement=WhileStatement;t.DoWhileStatement=DoWhileStatement;t.LabeledStatement=LabeledStatement;t.TryStatement=TryStatement;t.CatchClause=CatchClause;t.SwitchStatement=SwitchStatement;t.SwitchCase=SwitchCase;t.DebuggerStatement=DebuggerStatement;t.VariableDeclaration=VariableDeclaration;t.VariableDeclarator=VariableDeclarator;t.ThrowStatement=t.BreakStatement=t.ReturnStatement=t.ContinueStatement=t.ForOfStatement=t.ForInStatement=void 0;var n=r(97163);const{isFor:i,isForStatement:a,isIfStatement:s,isStatement:o}=n;function WithStatement(e){this.word("with");this.space();this.token("(");this.print(e.object,e);this.token(")");this.printBlock(e)}function IfStatement(e){this.word("if");this.space();this.token("(");this.print(e.test,e);this.token(")");this.space();const t=e.alternate&&s(getLastStatement(e.consequent));if(t){this.token("{");this.newline();this.indent()}this.printAndIndentOnComments(e.consequent,e);if(t){this.dedent();this.newline();this.token("}")}if(e.alternate){if(this.endsWith(125))this.space();this.word("else");this.space();this.printAndIndentOnComments(e.alternate,e)}}function getLastStatement(e){if(!o(e.body))return e;return getLastStatement(e.body)}function ForStatement(e){this.word("for");this.space();this.token("(");this.inForStatementInitCounter++;this.print(e.init,e);this.inForStatementInitCounter--;this.token(";");if(e.test){this.space();this.print(e.test,e)}this.token(";");if(e.update){this.space();this.print(e.update,e)}this.token(")");this.printBlock(e)}function WhileStatement(e){this.word("while");this.space();this.token("(");this.print(e.test,e);this.token(")");this.printBlock(e)}const l=function(e){return function(t){this.word("for");this.space();if(e==="of"&&t.await){this.word("await");this.space()}this.token("(");this.print(t.left,t);this.space();this.word(e);this.space();this.print(t.right,t);this.token(")");this.printBlock(t)}};const u=l("in");t.ForInStatement=u;const p=l("of");t.ForOfStatement=p;function DoWhileStatement(e){this.word("do");this.space();this.print(e.body,e);this.space();this.word("while");this.space();this.token("(");this.print(e.test,e);this.token(")");this.semicolon()}function buildLabelStatement(e,t="label"){return function(r){this.word(e);const n=r[t];if(n){this.space();const e=t=="label";const i=this.startTerminatorless(e);this.print(n,r);this.endTerminatorless(i)}this.semicolon()}}const f=buildLabelStatement("continue");t.ContinueStatement=f;const c=buildLabelStatement("return","argument");t.ReturnStatement=c;const d=buildLabelStatement("break");t.BreakStatement=d;const y=buildLabelStatement("throw","argument");t.ThrowStatement=y;function LabeledStatement(e){this.print(e.label,e);this.token(":");this.space();this.print(e.body,e)}function TryStatement(e){this.word("try");this.space();this.print(e.block,e);this.space();if(e.handlers){this.print(e.handlers[0],e)}else{this.print(e.handler,e)}if(e.finalizer){this.space();this.word("finally");this.space();this.print(e.finalizer,e)}}function CatchClause(e){this.word("catch");this.space();if(e.param){this.token("(");this.print(e.param,e);this.print(e.param.typeAnnotation,e);this.token(")");this.space()}this.print(e.body,e)}function SwitchStatement(e){this.word("switch");this.space();this.token("(");this.print(e.discriminant,e);this.token(")");this.space();this.token("{");this.printSequence(e.cases,e,{indent:true,addNewlines(t,r){if(!t&&e.cases[e.cases.length-1]===r)return-1}});this.token("}")}function SwitchCase(e){if(e.test){this.word("case");this.space();this.print(e.test,e);this.token(":")}else{this.word("default");this.token(":")}if(e.consequent.length){this.newline();this.printSequence(e.consequent,e,{indent:true})}}function DebuggerStatement(){this.word("debugger");this.semicolon()}function variableDeclarationIndent(){this.token(",");this.newline();if(this.endsWith(10)){for(let e=0;e<4;e++)this.space(true)}}function constDeclarationIndent(){this.token(",");this.newline();if(this.endsWith(10)){for(let e=0;e<6;e++)this.space(true)}}function VariableDeclaration(e,t){if(e.declare){this.word("declare");this.space()}this.word(e.kind);this.space();let r=false;if(!i(t)){for(const t of e.declarations){if(t.init){r=true}}}let n;if(r){n=e.kind==="const"?constDeclarationIndent:variableDeclarationIndent}this.printList(e.declarations,e,{separator:n});if(i(t)){if(a(t)){if(t.init===e)return}else{if(t.left===e)return}}this.semicolon()}function VariableDeclarator(e){this.print(e.id,e);if(e.definite)this.token("!");this.print(e.id.typeAnnotation,e);if(e.init){this.space();this.token("=");this.space();this.print(e.init,e)}}},60699:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TaggedTemplateExpression=TaggedTemplateExpression;t.TemplateElement=TemplateElement;t.TemplateLiteral=TemplateLiteral;var n=r(97163);function TaggedTemplateExpression(e){this.print(e.tag,e);this.print(e.typeParameters,e);this.print(e.quasi,e)}function TemplateElement(e,t){const r=t.quasis[0]===e;const n=t.quasis[t.quasis.length-1]===e;const i=(r?"`":"}")+e.value.raw+(n?"`":"${");this.token(i)}function TemplateLiteral(e){const t=e.quasis;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Identifier=Identifier;t.ArgumentPlaceholder=ArgumentPlaceholder;t.SpreadElement=t.RestElement=RestElement;t.ObjectPattern=t.ObjectExpression=ObjectExpression;t.ObjectMethod=ObjectMethod;t.ObjectProperty=ObjectProperty;t.ArrayPattern=t.ArrayExpression=ArrayExpression;t.RecordExpression=RecordExpression;t.TupleExpression=TupleExpression;t.RegExpLiteral=RegExpLiteral;t.BooleanLiteral=BooleanLiteral;t.NullLiteral=NullLiteral;t.NumericLiteral=NumericLiteral;t.StringLiteral=StringLiteral;t.BigIntLiteral=BigIntLiteral;t.DecimalLiteral=DecimalLiteral;t.TopicReference=TopicReference;t.PipelineTopicExpression=PipelineTopicExpression;t.PipelineBareFunction=PipelineBareFunction;t.PipelinePrimaryTopicReference=PipelinePrimaryTopicReference;var n=r(97163);var i=r(87504);const{isAssignmentPattern:a,isIdentifier:s}=n;function Identifier(e){this.exactSource(e.loc,()=>{this.word(e.name)})}function ArgumentPlaceholder(){this.token("?")}function RestElement(e){this.token("...");this.print(e.argument,e)}function ObjectExpression(e){const t=e.properties;this.token("{");this.printInnerComments(e);if(t.length){this.space();this.printList(t,e,{indent:true,statement:true});this.space()}this.token("}")}function ObjectMethod(e){this.printJoin(e.decorators,e);this._methodHead(e);this.space();this.print(e.body,e)}function ObjectProperty(e){this.printJoin(e.decorators,e);if(e.computed){this.token("[");this.print(e.key,e);this.token("]")}else{if(a(e.value)&&s(e.key)&&e.key.name===e.value.left.name){this.print(e.value,e);return}this.print(e.key,e);if(e.shorthand&&s(e.key)&&s(e.value)&&e.key.name===e.value.name){return}}this.token(":");this.space();this.print(e.value,e)}function ArrayExpression(e){const t=e.elements;const r=t.length;this.token("[");this.printInnerComments(e);for(let n=0;n0)this.space();this.print(i,e);if(n0)this.space();this.print(i,e);if(n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSTypeAnnotation=TSTypeAnnotation;t.TSTypeParameterDeclaration=t.TSTypeParameterInstantiation=TSTypeParameterInstantiation;t.TSTypeParameter=TSTypeParameter;t.TSParameterProperty=TSParameterProperty;t.TSDeclareFunction=TSDeclareFunction;t.TSDeclareMethod=TSDeclareMethod;t.TSQualifiedName=TSQualifiedName;t.TSCallSignatureDeclaration=TSCallSignatureDeclaration;t.TSConstructSignatureDeclaration=TSConstructSignatureDeclaration;t.TSPropertySignature=TSPropertySignature;t.tsPrintPropertyOrMethodName=tsPrintPropertyOrMethodName;t.TSMethodSignature=TSMethodSignature;t.TSIndexSignature=TSIndexSignature;t.TSAnyKeyword=TSAnyKeyword;t.TSBigIntKeyword=TSBigIntKeyword;t.TSUnknownKeyword=TSUnknownKeyword;t.TSNumberKeyword=TSNumberKeyword;t.TSObjectKeyword=TSObjectKeyword;t.TSBooleanKeyword=TSBooleanKeyword;t.TSStringKeyword=TSStringKeyword;t.TSSymbolKeyword=TSSymbolKeyword;t.TSVoidKeyword=TSVoidKeyword;t.TSUndefinedKeyword=TSUndefinedKeyword;t.TSNullKeyword=TSNullKeyword;t.TSNeverKeyword=TSNeverKeyword;t.TSIntrinsicKeyword=TSIntrinsicKeyword;t.TSThisType=TSThisType;t.TSFunctionType=TSFunctionType;t.TSConstructorType=TSConstructorType;t.tsPrintFunctionOrConstructorType=tsPrintFunctionOrConstructorType;t.TSTypeReference=TSTypeReference;t.TSTypePredicate=TSTypePredicate;t.TSTypeQuery=TSTypeQuery;t.TSTypeLiteral=TSTypeLiteral;t.tsPrintTypeLiteralOrInterfaceBody=tsPrintTypeLiteralOrInterfaceBody;t.tsPrintBraced=tsPrintBraced;t.TSArrayType=TSArrayType;t.TSTupleType=TSTupleType;t.TSOptionalType=TSOptionalType;t.TSRestType=TSRestType;t.TSNamedTupleMember=TSNamedTupleMember;t.TSUnionType=TSUnionType;t.TSIntersectionType=TSIntersectionType;t.tsPrintUnionOrIntersectionType=tsPrintUnionOrIntersectionType;t.TSConditionalType=TSConditionalType;t.TSInferType=TSInferType;t.TSParenthesizedType=TSParenthesizedType;t.TSTypeOperator=TSTypeOperator;t.TSIndexedAccessType=TSIndexedAccessType;t.TSMappedType=TSMappedType;t.TSLiteralType=TSLiteralType;t.TSExpressionWithTypeArguments=TSExpressionWithTypeArguments;t.TSInterfaceDeclaration=TSInterfaceDeclaration;t.TSInterfaceBody=TSInterfaceBody;t.TSTypeAliasDeclaration=TSTypeAliasDeclaration;t.TSAsExpression=TSAsExpression;t.TSTypeAssertion=TSTypeAssertion;t.TSEnumDeclaration=TSEnumDeclaration;t.TSEnumMember=TSEnumMember;t.TSModuleDeclaration=TSModuleDeclaration;t.TSModuleBlock=TSModuleBlock;t.TSImportType=TSImportType;t.TSImportEqualsDeclaration=TSImportEqualsDeclaration;t.TSExternalModuleReference=TSExternalModuleReference;t.TSNonNullExpression=TSNonNullExpression;t.TSExportAssignment=TSExportAssignment;t.TSNamespaceExportDeclaration=TSNamespaceExportDeclaration;t.tsPrintSignatureDeclarationBase=tsPrintSignatureDeclarationBase;t.tsPrintClassMemberModifiers=tsPrintClassMemberModifiers;var n=r(97163);function TSTypeAnnotation(e){this.token(":");this.space();if(e.optional)this.token("?");this.print(e.typeAnnotation,e)}function TSTypeParameterInstantiation(e){this.token("<");this.printList(e.params,e,{});this.token(">")}function TSTypeParameter(e){this.word(e.name);if(e.constraint){this.space();this.word("extends");this.space();this.print(e.constraint,e)}if(e.default){this.space();this.token("=");this.space();this.print(e.default,e)}}function TSParameterProperty(e){if(e.accessibility){this.word(e.accessibility);this.space()}if(e.readonly){this.word("readonly");this.space()}this._param(e.parameter)}function TSDeclareFunction(e){if(e.declare){this.word("declare");this.space()}this._functionHead(e);this.token(";")}function TSDeclareMethod(e){this._classMethodHead(e);this.token(";")}function TSQualifiedName(e){this.print(e.left,e);this.token(".");this.print(e.right,e)}function TSCallSignatureDeclaration(e){this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSConstructSignatureDeclaration(e){this.word("new");this.space();this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSPropertySignature(e){const{readonly:t,initializer:r}=e;if(t){this.word("readonly");this.space()}this.tsPrintPropertyOrMethodName(e);this.print(e.typeAnnotation,e);if(r){this.space();this.token("=");this.space();this.print(r,e)}this.token(";")}function tsPrintPropertyOrMethodName(e){if(e.computed){this.token("[")}this.print(e.key,e);if(e.computed){this.token("]")}if(e.optional){this.token("?")}}function TSMethodSignature(e){const{kind:t}=e;if(t==="set"||t==="get"){this.word(t);this.space()}this.tsPrintPropertyOrMethodName(e);this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSIndexSignature(e){const{readonly:t,static:r}=e;if(r){this.word("static");this.space()}if(t){this.word("readonly");this.space()}this.token("[");this._parameters(e.parameters,e);this.token("]");this.print(e.typeAnnotation,e);this.token(";")}function TSAnyKeyword(){this.word("any")}function TSBigIntKeyword(){this.word("bigint")}function TSUnknownKeyword(){this.word("unknown")}function TSNumberKeyword(){this.word("number")}function TSObjectKeyword(){this.word("object")}function TSBooleanKeyword(){this.word("boolean")}function TSStringKeyword(){this.word("string")}function TSSymbolKeyword(){this.word("symbol")}function TSVoidKeyword(){this.word("void")}function TSUndefinedKeyword(){this.word("undefined")}function TSNullKeyword(){this.word("null")}function TSNeverKeyword(){this.word("never")}function TSIntrinsicKeyword(){this.word("intrinsic")}function TSThisType(){this.word("this")}function TSFunctionType(e){this.tsPrintFunctionOrConstructorType(e)}function TSConstructorType(e){if(e.abstract){this.word("abstract");this.space()}this.word("new");this.space();this.tsPrintFunctionOrConstructorType(e)}function tsPrintFunctionOrConstructorType(e){const{typeParameters:t,parameters:r}=e;this.print(t,e);this.token("(");this._parameters(r,e);this.token(")");this.space();this.token("=>");this.space();this.print(e.typeAnnotation.typeAnnotation,e)}function TSTypeReference(e){this.print(e.typeName,e);this.print(e.typeParameters,e)}function TSTypePredicate(e){if(e.asserts){this.word("asserts");this.space()}this.print(e.parameterName);if(e.typeAnnotation){this.space();this.word("is");this.space();this.print(e.typeAnnotation.typeAnnotation)}}function TSTypeQuery(e){this.word("typeof");this.space();this.print(e.exprName)}function TSTypeLiteral(e){this.tsPrintTypeLiteralOrInterfaceBody(e.members,e)}function tsPrintTypeLiteralOrInterfaceBody(e,t){this.tsPrintBraced(e,t)}function tsPrintBraced(e,t){this.token("{");if(e.length){this.indent();this.newline();for(const r of e){this.print(r,t);this.newline()}this.dedent();this.rightBrace()}else{this.token("}")}}function TSArrayType(e){this.print(e.elementType,e);this.token("[]")}function TSTupleType(e){this.token("[");this.printList(e.elementTypes,e);this.token("]")}function TSOptionalType(e){this.print(e.typeAnnotation,e);this.token("?")}function TSRestType(e){this.token("...");this.print(e.typeAnnotation,e)}function TSNamedTupleMember(e){this.print(e.label,e);if(e.optional)this.token("?");this.token(":");this.space();this.print(e.elementType,e)}function TSUnionType(e){this.tsPrintUnionOrIntersectionType(e,"|")}function TSIntersectionType(e){this.tsPrintUnionOrIntersectionType(e,"&")}function tsPrintUnionOrIntersectionType(e,t){this.printJoin(e.types,e,{separator(){this.space();this.token(t);this.space()}})}function TSConditionalType(e){this.print(e.checkType);this.space();this.word("extends");this.space();this.print(e.extendsType);this.space();this.token("?");this.space();this.print(e.trueType);this.space();this.token(":");this.space();this.print(e.falseType)}function TSInferType(e){this.token("infer");this.space();this.print(e.typeParameter)}function TSParenthesizedType(e){this.token("(");this.print(e.typeAnnotation,e);this.token(")")}function TSTypeOperator(e){this.word(e.operator);this.space();this.print(e.typeAnnotation,e)}function TSIndexedAccessType(e){this.print(e.objectType,e);this.token("[");this.print(e.indexType,e);this.token("]")}function TSMappedType(e){const{nameType:t,optional:r,readonly:n,typeParameter:i}=e;this.token("{");this.space();if(n){tokenIfPlusMinus(this,n);this.word("readonly");this.space()}this.token("[");this.word(i.name);this.space();this.word("in");this.space();this.print(i.constraint,i);if(t){this.space();this.word("as");this.space();this.print(t,e)}this.token("]");if(r){tokenIfPlusMinus(this,r);this.token("?")}this.token(":");this.space();this.print(e.typeAnnotation,e);this.space();this.token("}")}function tokenIfPlusMinus(e,t){if(t!==true){e.token(t)}}function TSLiteralType(e){this.print(e.literal,e)}function TSExpressionWithTypeArguments(e){this.print(e.expression,e);this.print(e.typeParameters,e)}function TSInterfaceDeclaration(e){const{declare:t,id:r,typeParameters:n,extends:i,body:a}=e;if(t){this.word("declare");this.space()}this.word("interface");this.space();this.print(r,e);this.print(n,e);if(i!=null&&i.length){this.space();this.word("extends");this.space();this.printList(i,e)}this.space();this.print(a,e)}function TSInterfaceBody(e){this.tsPrintTypeLiteralOrInterfaceBody(e.body,e)}function TSTypeAliasDeclaration(e){const{declare:t,id:r,typeParameters:n,typeAnnotation:i}=e;if(t){this.word("declare");this.space()}this.word("type");this.space();this.print(r,e);this.print(n,e);this.space();this.token("=");this.space();this.print(i,e);this.token(";")}function TSAsExpression(e){const{expression:t,typeAnnotation:r}=e;this.print(t,e);this.space();this.word("as");this.space();this.print(r,e)}function TSTypeAssertion(e){const{typeAnnotation:t,expression:r}=e;this.token("<");this.print(t,e);this.token(">");this.space();this.print(r,e)}function TSEnumDeclaration(e){const{declare:t,const:r,id:n,members:i}=e;if(t){this.word("declare");this.space()}if(r){this.word("const");this.space()}this.word("enum");this.space();this.print(n,e);this.space();this.tsPrintBraced(i,e)}function TSEnumMember(e){const{id:t,initializer:r}=e;this.print(t,e);if(r){this.space();this.token("=");this.space();this.print(r,e)}this.token(",")}function TSModuleDeclaration(e){const{declare:t,id:r}=e;if(t){this.word("declare");this.space()}if(!e.global){this.word(r.type==="Identifier"?"namespace":"module");this.space()}this.print(r,e);if(!e.body){this.token(";");return}let n=e.body;while(n.type==="TSModuleDeclaration"){this.token(".");this.print(n.id,n);n=n.body}this.space();this.print(n,e)}function TSModuleBlock(e){this.tsPrintBraced(e.body,e)}function TSImportType(e){const{argument:t,qualifier:r,typeParameters:n}=e;this.word("import");this.token("(");this.print(t,e);this.token(")");if(r){this.token(".");this.print(r,e)}if(n){this.print(n,e)}}function TSImportEqualsDeclaration(e){const{isExport:t,id:r,moduleReference:n}=e;if(t){this.word("export");this.space()}this.word("import");this.space();this.print(r,e);this.space();this.token("=");this.space();this.print(n,e);this.token(";")}function TSExternalModuleReference(e){this.token("require(");this.print(e.expression,e);this.token(")")}function TSNonNullExpression(e){this.print(e.expression,e);this.token("!")}function TSExportAssignment(e){this.word("export");this.space();this.token("=");this.space();this.print(e.expression,e);this.token(";")}function TSNamespaceExportDeclaration(e){this.word("export");this.space();this.word("as");this.space();this.word("namespace");this.space();this.print(e.id,e)}function tsPrintSignatureDeclarationBase(e){const{typeParameters:t,parameters:r}=e;this.print(t,e);this.token("(");this._parameters(r,e);this.token(")");this.print(e.typeAnnotation,e)}function tsPrintClassMemberModifiers(e,t){if(t&&e.declare){this.word("declare");this.space()}if(e.accessibility){this.word(e.accessibility);this.space()}if(e.static){this.word("static");this.space()}if(e.override){this.word("override");this.space()}if(e.abstract){this.word("abstract");this.space()}if(t&&e.readonly){this.word("readonly");this.space()}}},43187:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=generate;t.CodeGenerator=void 0;var n=r(43575);var i=r(79287);class Generator extends i.default{constructor(e,t={},r){const i=normalizeOptions(r,t);const a=t.sourceMaps?new n.default(t,r):null;super(i,a);this.ast=void 0;this.ast=e}generate(){return super.generate(this.ast)}}function normalizeOptions(e,t){const r={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:t.comments==null||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:true,style:" ",base:0},decoratorsBeforeExport:!!t.decoratorsBeforeExport,jsescOption:Object.assign({quotes:"double",wrap:true,minimal:false},t.jsescOption),recordAndTupleSyntaxType:t.recordAndTupleSyntaxType,topicToken:t.topicToken};{r.jsonCompatibleStrings=t.jsonCompatibleStrings}if(r.minified){r.compact=true;r.shouldPrintComment=r.shouldPrintComment||(()=>r.comments)}else{r.shouldPrintComment=r.shouldPrintComment||(e=>r.comments||e.indexOf("@license")>=0||e.indexOf("@preserve")>=0)}if(r.compact==="auto"){r.compact=e.length>5e5;if(r.compact){console.error("[BABEL] Note: The code generator has deoptimised the styling of "+`${t.filename} as it exceeds the max of ${"500KB"}.`)}}if(r.compact){r.indent.adjustMultilineComment=false}return r}class CodeGenerator{constructor(e,t,r){this._generator=void 0;this._generator=new Generator(e,t,r)}generate(){return this._generator.generate()}}t.CodeGenerator=CodeGenerator;function generate(e,t,r){const n=new Generator(e,t,r);return n.generate()}},40523:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.needsWhitespace=needsWhitespace;t.needsWhitespaceBefore=needsWhitespaceBefore;t.needsWhitespaceAfter=needsWhitespaceAfter;t.needsParens=needsParens;var n=r(61269);var i=r(90761);var a=r(97163);const{isCallExpression:s,isExpressionStatement:o,isMemberExpression:l,isNewExpression:u}=a;function expandAliases(e){const t={};function add(e,r){const n=t[e];t[e]=n?function(e,t,i){const a=n(e,t,i);return a==null?r(e,t,i):a}:r}for(const t of Object.keys(e)){const r=a.FLIPPED_ALIAS_KEYS[t];if(r){for(const n of r){add(n,e[t])}}else{add(t,e[t])}}return t}const p=expandAliases(i);const f=expandAliases(n.nodes);const c=expandAliases(n.list);function find(e,t,r,n){const i=e[t.type];return i?i(t,r,n):null}function isOrHasCallExpression(e){if(s(e)){return true}return l(e)&&isOrHasCallExpression(e.object)}function needsWhitespace(e,t,r){if(!e)return 0;if(o(e)){e=e.expression}let n=find(f,e,t);if(!n){const i=find(c,e,t);if(i){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NullableTypeAnnotation=NullableTypeAnnotation;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.UpdateExpression=UpdateExpression;t.ObjectExpression=ObjectExpression;t.DoExpression=DoExpression;t.Binary=Binary;t.IntersectionTypeAnnotation=t.UnionTypeAnnotation=UnionTypeAnnotation;t.OptionalIndexedAccessType=OptionalIndexedAccessType;t.TSAsExpression=TSAsExpression;t.TSTypeAssertion=TSTypeAssertion;t.TSIntersectionType=t.TSUnionType=TSUnionType;t.TSInferType=TSInferType;t.BinaryExpression=BinaryExpression;t.SequenceExpression=SequenceExpression;t.AwaitExpression=t.YieldExpression=YieldExpression;t.ClassExpression=ClassExpression;t.UnaryLike=UnaryLike;t.FunctionExpression=FunctionExpression;t.ArrowFunctionExpression=ArrowFunctionExpression;t.ConditionalExpression=ConditionalExpression;t.OptionalCallExpression=t.OptionalMemberExpression=OptionalMemberExpression;t.AssignmentExpression=AssignmentExpression;t.LogicalExpression=LogicalExpression;t.Identifier=Identifier;var n=r(97163);const{isArrayTypeAnnotation:i,isArrowFunctionExpression:a,isAssignmentExpression:s,isAwaitExpression:o,isBinary:l,isBinaryExpression:u,isCallExpression:p,isClassDeclaration:f,isClassExpression:c,isConditional:d,isConditionalExpression:y,isExportDeclaration:m,isExportDefaultDeclaration:T,isExpressionStatement:S,isFor:h,isForInStatement:E,isForOfStatement:b,isForStatement:P,isIfStatement:x,isIndexedAccessType:g,isIntersectionTypeAnnotation:A,isLogicalExpression:v,isMemberExpression:O,isNewExpression:I,isNullableTypeAnnotation:D,isObjectPattern:N,isOptionalCallExpression:w,isOptionalMemberExpression:C,isReturnStatement:j,isSequenceExpression:L,isSwitchStatement:M,isTSArrayType:B,isTSAsExpression:F,isTSIntersectionType:_,isTSNonNullExpression:R,isTSOptionalType:k,isTSRestType:K,isTSTypeAssertion:V,isTSUnionType:X,isTaggedTemplateExpression:J,isThrowStatement:Y,isTypeAnnotation:U,isUnaryLike:W,isUnionTypeAnnotation:q,isVariableDeclarator:G,isWhileStatement:z,isYieldExpression:H}=n;const Q={"||":0,"??":0,"&&":1,"|":2,"^":3,"&":4,"==":5,"===":5,"!=":5,"!==":5,"<":6,">":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10};const $=(e,t)=>(f(t)||c(t))&&t.superClass===e;const Z=(e,t)=>(O(t)||C(t))&&t.object===e||(p(t)||w(t)||I(t))&&t.callee===e||J(t)&&t.tag===e||R(t);function NullableTypeAnnotation(e,t){return i(t)}function FunctionTypeAnnotation(e,t,r){return q(t)||A(t)||i(t)||U(t)&&a(r[r.length-3])}function UpdateExpression(e,t){return Z(e,t)||$(e,t)}function ObjectExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,arrowBody:true})}function DoExpression(e,t,r){return!e.async&&isFirstInContext(r,{expressionStatement:true})}function Binary(e,t){if(e.operator==="**"&&u(t,{operator:"**"})){return t.left===e}if($(e,t)){return true}if(Z(e,t)||W(t)||o(t)){return true}if(l(t)){const r=t.operator;const n=Q[r];const i=e.operator;const a=Q[i];if(n===a&&t.right===e&&!v(t)||n>a){return true}}}function UnionTypeAnnotation(e,t){return i(t)||D(t)||A(t)||q(t)}function OptionalIndexedAccessType(e,t){return g(t,{objectType:e})}function TSAsExpression(){return true}function TSTypeAssertion(){return true}function TSUnionType(e,t){return B(t)||k(t)||_(t)||X(t)||K(t)}function TSInferType(e,t){return B(t)||k(t)}function BinaryExpression(e,t){return e.operator==="in"&&(G(t)||h(t))}function SequenceExpression(e,t){if(P(t)||Y(t)||j(t)||x(t)&&t.test===e||z(t)&&t.test===e||E(t)&&t.right===e||M(t)&&t.discriminant===e||S(t)&&t.expression===e){return false}return true}function YieldExpression(e,t){return l(t)||W(t)||Z(e,t)||o(t)&&H(e)||y(t)&&e===t.test||$(e,t)}function ClassExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,exportDefault:true})}function UnaryLike(e,t){return Z(e,t)||u(t,{operator:"**",left:e})||$(e,t)}function FunctionExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,exportDefault:true})}function ArrowFunctionExpression(e,t){return m(t)||ConditionalExpression(e,t)}function ConditionalExpression(e,t){if(W(t)||l(t)||y(t,{test:e})||o(t)||V(t)||F(t)){return true}return UnaryLike(e,t)}function OptionalMemberExpression(e,t){return p(t,{callee:e})||O(t,{object:e})}function AssignmentExpression(e,t){if(N(e.left)){return true}else{return ConditionalExpression(e,t)}}function LogicalExpression(e,t){switch(e.operator){case"||":if(!v(t))return false;return t.operator==="??"||t.operator==="&&";case"&&":return v(t,{operator:"??"});case"??":return v(t)&&t.operator!=="??"}}function Identifier(e,t,r){if(e.name==="let"){const n=O(t,{object:e,computed:true})||C(t,{object:e,computed:true,optional:false});return isFirstInContext(r,{expressionStatement:n,forHead:n,forInHead:n,forOfHead:true})}return e.name==="async"&&b(t)&&e===t.left}function isFirstInContext(e,{expressionStatement:t=false,arrowBody:r=false,exportDefault:n=false,forHead:i=false,forInHead:o=false,forOfHead:u=false}){let p=e.length-1;let f=e[p];p--;let c=e[p];while(p>=0){if(t&&S(c,{expression:f})||n&&T(c,{declaration:f})||r&&a(c,{body:f})||i&&P(c,{init:f})||o&&E(c,{left:f})||u&&b(c,{left:f})){return true}if(Z(f,c)&&!I(c)||L(c)&&c.expressions[0]===f||d(c,{test:f})||l(c,{left:f})||s(c,{left:f})){f=c;p--;c=e[p]}else{return false}}return false}},61269:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.list=t.nodes=void 0;var n=r(97163);const{isArrayExpression:i,isAssignmentExpression:a,isBinary:s,isBlockStatement:o,isCallExpression:l,isFunction:u,isIdentifier:p,isLiteral:f,isMemberExpression:c,isObjectExpression:d,isOptionalCallExpression:y,isOptionalMemberExpression:m,isStringLiteral:T}=n;function crawl(e,t={}){if(c(e)||m(e)){crawl(e.object,t);if(e.computed)crawl(e.property,t)}else if(s(e)||a(e)){crawl(e.left,t);crawl(e.right,t)}else if(l(e)||y(e)){t.hasCall=true;crawl(e.callee,t)}else if(u(e)){t.hasFunction=true}else if(p(e)){t.hasHelper=t.hasHelper||isHelper(e.callee)}return t}function isHelper(e){if(c(e)){return isHelper(e.object)||isHelper(e.property)}else if(p(e)){return e.name==="require"||e.name[0]==="_"}else if(l(e)){return isHelper(e.callee)}else if(s(e)||a(e)){return p(e.left)&&isHelper(e.left)||isHelper(e.right)}else{return false}}function isType(e){return f(e)||d(e)||i(e)||p(e)||c(e)}const S={AssignmentExpression(e){const t=crawl(e.right);if(t.hasCall&&t.hasHelper||t.hasFunction){return{before:t.hasFunction,after:true}}},SwitchCase(e,t){return{before:!!e.consequent.length||t.cases[0]===e,after:!e.consequent.length&&t.cases[t.cases.length-1]===e}},LogicalExpression(e){if(u(e.left)||u(e.right)){return{after:true}}},Literal(e){if(T(e)&&e.value==="use strict"){return{after:true}}},CallExpression(e){if(u(e.callee)||isHelper(e)){return{before:true,after:true}}},OptionalCallExpression(e){if(u(e.callee)){return{before:true,after:true}}},VariableDeclaration(e){for(let t=0;te.init)},ArrayExpression(e){return e.elements},ObjectExpression(e){return e.properties}};t.list=h;[["Function",true],["Class",true],["Loop",true],["LabeledStatement",true],["SwitchStatement",true],["TryStatement",true]].forEach(function([e,t]){if(typeof t==="boolean"){t={after:t,before:t}}[e].concat(n.FLIPPED_ALIAS_KEYS[e]||[]).forEach(function(e){S[e]=function(){return t}})})},79287:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(19078);var i=r(40523);var a=r(97163);var s=r(52506);const o=/e/i;const l=/\.0+$/;const u=/^0[box]/;const p=/^\s*[@#]__PURE__\s*$/;const{isProgram:f,isFile:c,isEmptyStatement:d}=a;const{needsParens:y,needsWhitespaceAfter:m,needsWhitespaceBefore:T}=i;class Printer{constructor(e,t){this.inForStatementInitCounter=0;this._printStack=[];this._indent=0;this._insideAux=false;this._parenPushNewlineState=null;this._noLineTerminator=false;this._printAuxAfterOnNextUserNode=false;this._printedComments=new WeakSet;this._endsWithInteger=false;this._endsWithWord=false;this.format=e;this._buf=new n.default(t)}generate(e){this.print(e);this._maybeAddAuxComment();return this._buf.get()}indent(){if(this.format.compact||this.format.concise)return;this._indent++}dedent(){if(this.format.compact||this.format.concise)return;this._indent--}semicolon(e=false){this._maybeAddAuxComment();this._append(";",!e)}rightBrace(){if(this.format.minified){this._buf.removeLastSemicolon()}this.token("}")}space(e=false){if(this.format.compact)return;if(e){this._space()}else if(this._buf.hasContent()){const e=this.getLastChar();if(e!==32&&e!==10){this._space()}}}word(e){if(this._endsWithWord||this.endsWith(47)&&e.charCodeAt(0)===47){this._space()}this._maybeAddAuxComment();this._append(e);this._endsWithWord=true}number(e){this.word(e);this._endsWithInteger=Number.isInteger(+e)&&!u.test(e)&&!o.test(e)&&!l.test(e)&&e.charCodeAt(e.length-1)!==46}token(e){const t=this.getLastChar();const r=e.charCodeAt(0);if(e==="--"&&t===33||r===43&&t===43||r===45&&t===45||r===46&&this._endsWithInteger){this._space()}this._maybeAddAuxComment();this._append(e)}newline(e=1){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}const t=this.endsWithCharAndNewline();if(t===10)return;if(t===123||t===58){e--}if(e<=0)return;for(let t=0;t{n.call(this,e,t)});this._printTrailingComments(e);if(a)this.token(")");this._printStack.pop();this.format.concise=r;this._insideAux=i}_maybeAddAuxComment(e){if(e)this._printAuxBeforeComment();if(!this._insideAux)this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=true;const e=this.format.auxiliaryCommentBefore;if(e){this._printComment({type:"CommentBlock",value:e})}}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=false;const e=this.format.auxiliaryCommentAfter;if(e){this._printComment({type:"CommentBlock",value:e})}}getPossibleRaw(e){const t=e.extra;if(t&&t.raw!=null&&t.rawValue!=null&&e.value===t.rawValue){return t.raw}}printJoin(e,t,r={}){if(!(e!=null&&e.length))return;if(r.indent)this.indent();const n={addNewlines:r.addNewlines};for(let i=0;i0;if(r)this.indent();this.print(e,t);if(r)this.dedent()}printBlock(e){const t=e.body;if(!d(t)){this.space()}this.print(t,e)}_printTrailingComments(e){this._printComments(this._getComments(false,e))}_printLeadingComments(e){this._printComments(this._getComments(true,e),true)}printInnerComments(e,t=true){var r;if(!((r=e.innerComments)!=null&&r.length))return;if(t)this.indent();this._printComments(e.innerComments);if(t)this.dedent()}printSequence(e,t,r={}){r.statement=true;return this.printJoin(e,t,r)}printList(e,t,r={}){if(r.separator==null){r.separator=commaSeparator}return this.printJoin(e,t,r)}_printNewline(e,t,r,n){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}let i=0;if(this._buf.hasContent()){if(!e)i++;if(n.addNewlines)i+=n.addNewlines(e,t)||0;const a=e?T:m;if(a(t,r))i++}this.newline(Math.min(2,i))}_getComments(e,t){return t&&(e?t.leadingComments:t.trailingComments)||[]}_printComment(e,t){if(!this.format.shouldPrintComment(e.value))return;if(e.ignore)return;if(this._printedComments.has(e))return;this._printedComments.add(e);const r=e.type==="CommentBlock";const n=r&&!t&&!this._noLineTerminator;if(n&&this._buf.hasContent())this.newline(1);const i=this.getLastChar();if(i!==91&&i!==123){this.space()}let a=!r&&!this._noLineTerminator?`//${e.value}\n`:`/*${e.value}*/`;if(r&&this.format.indent.adjustMultilineComment){var s;const t=(s=e.loc)==null?void 0:s.start.column;if(t){const e=new RegExp("\\n\\s{1,"+t+"}","g");a=a.replace(e,"\n")}const r=Math.max(this._getIndent().length,this.format.retainLines?0:this._buf.getCurrentColumn());a=a.replace(/\n(?!$)/g,`\n${" ".repeat(r)}`)}if(this.endsWith(47))this._space();this.withSource("start",e.loc,()=>{this._append(a)});if(n)this.newline(1)}_printComments(e,t){if(!(e!=null&&e.length))return;if(t&&e.length===1&&p.test(e[0].value)){this._printComment(e[0],this._buf.hasContent()&&!this.endsWith(10))}else{for(const t of e){this._printComment(t)}}}printAssertions(e){var t;if((t=e.assertions)!=null&&t.length){this.space();this.word("assert");this.space();this.token("{");this.space();this.printList(e.assertions,e);this.space();this.token("}")}}}Object.assign(Printer.prototype,s);{Printer.prototype.Noop=function Noop(){}}var S=Printer;t.default=S;function commaSeparator(){this.token(",");this.space()}},43575:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(96241);class SourceMap{constructor(e,t){this._cachedMap=void 0;this._code=void 0;this._opts=void 0;this._rawMappings=void 0;this._lastGenLine=void 0;this._lastSourceLine=void 0;this._lastSourceColumn=void 0;this._cachedMap=null;this._code=t;this._opts=e;this._rawMappings=[]}get(){if(!this._cachedMap){const e=this._cachedMap=new n.SourceMapGenerator({sourceRoot:this._opts.sourceRoot});const t=this._code;if(typeof t==="string"){e.setSourceContent(this._opts.sourceFileName.replace(/\\/g,"/"),t)}else if(typeof t==="object"){Object.keys(t).forEach(r=>{e.setSourceContent(r.replace(/\\/g,"/"),t[r])})}this._rawMappings.forEach(t=>e.addMapping(t),e)}return this._cachedMap.toJSON()}getRawMappings(){return this._rawMappings.slice()}mark(e,t,r,n,i,a,s){if(this._lastGenLine!==e&&r===null)return;if(!s&&this._lastGenLine===e&&this._lastSourceLine===r&&this._lastSourceColumn===n){return}this._cachedMap=null;this._lastGenLine=e;this._lastSourceLine=r;this._lastSourceColumn=n;this._rawMappings.push({name:i||undefined,generated:{line:e,column:t},source:r==null?undefined:(a||this._opts.sourceFileName).replace(/\\/g,"/"),original:r==null?undefined:{line:r,column:n}})}}t.default=SourceMap},18940:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const a=new RegExp("["+r+n+"]");r=n=null;const s=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,s)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&a.test(String.fromCharCode(e))}return isInAstralSet(e,s)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(18940);var i=r(5394)},5394:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const a=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return a.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},8301:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(71261);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},67817:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertClassProperty=assertClassProperty;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertPrivateName=assertPrivateName;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTopicReference=assertTopicReference;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertPrivate=assertPrivate;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(91885);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTopicReference(e,t){assert("TopicReference",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},91508:()=>{},8081:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(7866);var i=r(40577);function builder(e,...t){const r=n.BUILDER_KEYS[e];const a=t.length;if(a>r.length){throw new Error(`${e}: Too many arguments passed. Received ${a} but can receive no more than ${r.length}`)}const s={type:e};let o=0;r.forEach(r=>{const i=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(70953);var i=r(1193);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},14924:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(70953);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},70953:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.classProperty=classProperty;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.privateName=privateName;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.topicReference=topicReference;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(8081);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,a){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,a){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,a,s,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,a){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,a,s,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function classProperty(e,t,r,i,a,s){return(0,n.default)("ClassProperty",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,a){return(0,n.default)("ClassPrivateMethod",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,a){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,a){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function topicReference(){return(0,n.default)("TopicReference",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,a){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},55925:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TopicReference",{enumerable:true,get:function(){return n.topicReference}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(70953)},23463:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(81180);var i=r(70131);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(70953);var i=r(76648);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},46172:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(96115);function clone(e){return(0,n.default)(e,false)}},60735:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(96115);function cloneDeep(e){return(0,n.default)(e)}},48074:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(96115);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},96115:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(7866);var i=r(81180);const a=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:s}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(a(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(a(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!a(n.NODE_FIELDS,s)){throw new Error(`Unknown node type: "${s}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[s])){if(a(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(a(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(a(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(a(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(a(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(a(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},71105:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(96115);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},63348:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(55083);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},55083:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},48719:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(5095);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},98061:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(5095);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},73954:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(5095);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},23913:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(73954);var i=r(98061);var a=r(48719);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,a.default)(e,t);return e}},40663:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(84400);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},9257:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.PRIVATE_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(7866);const i=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=a;const s=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=s;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=S;const h=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=h;const E=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=E;const b=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=b;const P=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const g=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=g;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=N;const w=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=w;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const M=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=M;const B=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=B;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const _=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=_;const R=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=R;const k=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=k;const K=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=Y;const U=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const G=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=G},84400:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const a=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=a;const s=["||","&&","??"];t.LOGICAL_OPERATORS=s;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...s.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const S=["typeof"];t.STRING_UNARY_OPERATORS=S;const h=["void","throw",...m,...T,...S];t.UNARY_OPERATORS=h;const E={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=E;const b=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=b;const P=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=P},12691:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(88407);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},71694:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(46571);var i=r(81180);var a=r(70953);var s=r(96115);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,s.default)(t[e])})}if(e.init){o.push((0,a.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,a.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,a.sequenceExpression)(o)}}},95406:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(59534);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},88407:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(81180);var i=r(70953);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},77068:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(81180);var i=r(70953);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},91855:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(81180);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},59534:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(4982);var i=r(29873);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},22453:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(81180);var i=r(96115);var a=r(19063);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,a.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},68627:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(71694);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},90941:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(81180);var i=r(70953);var a=toStatement;t.default=a;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let a;if((0,n.isClass)(e)){r=true;a="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;a="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){a=false}if(!a){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=a;return e}},70062:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(4982);var i=r(70953);var a=valueToNode;t.default=a;const s=Function.call.bind(Object.prototype.toString);function isRegExp(e){return s(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let a;if((0,n.default)(r)){a=(0,i.identifier)(r)}else{a=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(a,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},45410:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(91885);var i=r(4982);var a=r(29873);var s=r(84400);var o=r(25889);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...s.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,a){const s=(0,n.default)("Pattern",r.left)?t:e;s(r,i,a)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...s.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const a=r.operator==="in"?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,s]=i;const o={computed:false};if(s==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(s==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(s==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(s==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(s==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,a.isKeyword)(r.name)||(0,a.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...s.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,a){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=(0,n.default)("ObjectPattern",r)?e:t;s(a,"value",a.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...s.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...s.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const a=r.init?e:t;a(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("value"))}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const a=r.source?e:t;a(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,a){if((0,n.default)("VariableDeclaration",a)){e(r,i,a)}else{t(r,i,a)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const a=r.computed?t:e;a(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi","typeParameters"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},c,{value:{validate:(0,o.assertNodeType)("Expression"),optional:true},definite:{validate:(0,o.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,o.assertValueType)("boolean"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},variance:{validate:(0,o.assertNodeType)("Variance"),optional:true}})});(0,o.default)("ClassPrivateProperty",{visitor:["key","value","decorators","typeAnnotation"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,o.assertNodeType)("PrivateName")},value:{validate:(0,o.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,o.assertValueType)("boolean"),optional:true},definite:{validate:(0,o.assertValueType)("boolean"),optional:true},variance:{validate:(0,o.assertNodeType)("Variance"),optional:true}}});(0,o.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},d,u,{key:{validate:(0,o.assertNodeType)("PrivateName")},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")}}})},10543:(e,t,r)=>{"use strict";var n=r(25889);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]});(0,n.default)("TopicReference",{aliases:["Expression"]});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]})},32786:(e,t,r)=>{"use strict";var n=r(25889);const i=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});i("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});i("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});i("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},7866:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return a.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return a.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return a.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(45410);r(32786);r(3214);r(48896);r(10543);r(51814);var i=r(25889);var a=r(51765);n(i.VISITOR_KEYS);n(i.ALIAS_KEYS);n(i.FLIPPED_ALIAS_KEYS);n(i.NODE_FIELDS);n(i.BUILDER_KEYS);n(i.DEPRECATED_KEYS);n(a.PLACEHOLDERS_ALIAS);n(a.PLACEHOLDERS_FLIPPED_ALIAS);const s=Object.keys(i.VISITOR_KEYS).concat(Object.keys(i.FLIPPED_ALIAS_KEYS)).concat(Object.keys(i.DEPRECATED_KEYS));t.TYPES=s},3214:(e,t,r)=>{"use strict";var n=r(25889);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},48896:(e,t,r)=>{"use strict";var n=r(25889);var i=r(51765);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...i.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},51765:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(25889);const i=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=i;const a={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=a;for(const e of i){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)a[e]=t}const s={};t.PLACEHOLDERS_FLIPPED_ALIAS=s;Object.keys(a).forEach(e=>{a[e].forEach(t=>{if(!Object.hasOwnProperty.call(s,t)){s[t]=[]}s[t].push(e)})})},51814:(e,t,r)=>{"use strict";var n=r(25889);var i=r(45410);var a=r(91885);const s=(0,n.assertValueType)("boolean");const o={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,n.assertValueType)("boolean"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},i.functionDeclarationCommon,o)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},i.classMethodOrDeclareMethodCommon,o)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const l={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const u={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:l};(0,n.default)("TSCallSignatureDeclaration",u);(0,n.default)("TSConstructSignatureDeclaration",u);const p={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(s),optional:(0,n.validateOptional)(s)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},p,{readonly:(0,n.validateOptional)(s),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression"),kind:{validate:(0,n.assertOneOf)("get","set")}})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},l,p,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(s),static:(0,n.validateOptional)(s),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const f=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of f){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const c={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},c,{fields:l}));(0,n.default)("TSConstructorType",Object.assign({},c,{fields:Object.assign({},l,{abstract:(0,n.validateOptional)(s)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(s)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:s,default:false},elementType:(0,n.validateType)("TSType")}});const d={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",d);(0,n.default)("TSIntersectionType",d);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(s),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(s),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){const e=(0,n.assertNodeType)("NumericLiteral","BigIntLiteral");const t=(0,n.assertOneOf)("-");const r=(0,n.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral");function validator(n,i,s){if((0,a.default)("UnaryExpression",s)){t(s,"operator",s.operator);e(s,"argument",s.argument)}else{r(n,i,s)}}validator.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","UnaryExpression"];return validator}()}}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(s),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(s),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(s),const:(0,n.validateOptional)(s),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(s),global:(0,n.validateOptional)(s),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(s),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"]),importKind:{validate:(0,n.assertOneOf)("type","value"),optional:true}}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},25889:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(91885);var i=r(40577);const a={};t.VISITOR_KEYS=a;const s={};t.ALIAS_KEYS=s;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let a=0;a=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(i)?[]:i,optional:e.optional,validate:e.validate}}}}const i=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}a[e]=t.visitor=i;u[e]=t.builder=T;l[e]=t.fields=n;s[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},97163:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(21666);var a=r(941);var s=r(23463);var o=r(8301);var l=r(67817);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(14924);var p=r(94012);var f=r(85266);var c=r(70953);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(55925);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(96115);var m=r(46172);var T=r(60735);var S=r(48074);var h=r(71105);var E=r(63348);var b=r(55083);var P=r(48719);var x=r(98061);var g=r(23913);var A=r(73954);var v=r(40663);var O=r(9257);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(84400);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(12691);var N=r(95406);var w=r(88407);var C=r(77068);var j=r(91855);var L=r(59534);var M=r(22453);var B=r(68627);var F=r(90941);var _=r(70062);var R=r(7866);Object.keys(R).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===R[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return R[e]}})});var k=r(59089);var K=r(57045);var V=r(45050);var X=r(46239);var J=r(19063);var Y=r(1193);var U=r(46571);var W=r(59719);var q=r(3791);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var G=r(62648);var z=r(78038);var H=r(91885);var Q=r(8818);var $=r(71956);var Z=r(13995);var ee=r(80177);var te=r(71261);var re=r(80210);var ne=r(55353);var ie=r(69455);var ae=r(95663);var se=r(88807);var oe=r(67643);var le=r(61881);var ue=r(4982);var pe=r(27973);var fe=r(66641);var ce=r(40577);var de=r(33062);var ye=r(81180);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(91508);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:i.default,isCompatTag:a.default,buildChildren:s.default};t.react=Te},59089:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(70953);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},1193:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(81180);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const a=[];for(let s=0;s=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}a.push(o)}for(const e of Object.keys(r)){a.push(r[e])}for(const e of Object.keys(t)){a.push(t[e])}return a}},57045:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(84400);var i=r(23913);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},45050:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(70953);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},46239:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(84400);const i=["tokens","start","end","loc","raw","rawValue"];const a=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:a;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},19063:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(62648);var i=r(46239);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},76648:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(81180);function removeTypeDuplicates(e){const t={};const r={};const i=[];const a=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(s)){return[s]}if((0,n.isTSBaseType)(s)){r[s.type]=s;continue}if((0,n.isTSUnionType)(s)){if(i.indexOf(s.types)<0){e=e.concat(s.types);i.push(s.types)}continue}a.push(s)}for(const e of Object.keys(r)){a.push(r[e])}for(const e of Object.keys(t)){a.push(t[e])}return a}},46571:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(81180);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const a=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const s=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=a[e.name]=a[e.name]||[];t.push(e)}else{a[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(s){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(46571);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},3791:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(7866);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,a){const s=n.VISITOR_KEYS[e.type];if(!s)return;if(t)t(e,a,i);for(const n of s){const s=e[n];if(Array.isArray(s)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(7866);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},5095:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},70131:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(70953);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let i=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},33062:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(66641);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},81180:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isClassProperty=isClassProperty;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isPrivateName=isPrivateName;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTopicReference=isTopicReference;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isPrivate=isPrivate;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(78038);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="TopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TopicReference"===r||"PipelineTopicExpression"===r||"PipelineBareFunction"===r||"PipelinePrimaryTopicReference"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},91885:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(78038);var i=r(67643);var a=r(55353);var s=r(7866);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in s.FLIPPED_ALIAS_KEYS){return(0,a.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},8818:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(46571);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(a===e)return true}}}return false}},71956:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(81180);var i=r(80177);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},13995:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(67643);var i=r(81180);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},80177:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(81180);var i=r(84400);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},71261:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(7866);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},80210:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(7866);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(7866);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},69455:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},95663:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(81180);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},88807:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(81180);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},67643:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(7866);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},61881:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(4982);const i=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},4982:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(29873);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},27973:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(81180);var i=r(84400);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},66641:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(81180);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const a=[];let s;for(s=e;(0,n.isMemberExpression)(s);s=s.object){a.push(s.property)}a.push(s);if(a.lengthi.length)return false;for(let e=0,t=a.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},21666:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(33062);const i=(0,n.default)("React.Component");var a=i;t.default=a},40577:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(7866);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const a=i[t];validateField(e,t,r,a);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},98733:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(45162);var i=r(36900);var a=r(56538);const s=(0,i.default)(`\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const o=(0,i.default)(`\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const l={"ReferencedIdentifier|BindingIdentifier"(e,t){if(e.node.name!==t.name)return;const r=e.scope.getBindingIdentifier(t.name);if(r!==t.outerDeclar)return;t.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(a.isNullLiteral(e)){return"null"}if(a.isRegExpLiteral(e)){return`_${e.pattern}_${e.flags}`}if(a.isTemplateLiteral(e)){return e.quasis.map(e=>e.value.raw).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,t,r,i){if(e.selfReference){if(i.hasBinding(r.name)&&!i.hasGlobal(r.name)){i.rename(r.name)}else{if(!a.isFunction(t))return;let e=s;if(t.generator){e=o}const l=e({FUNCTION:t,FUNCTION_ID:r,FUNCTION_KEY:i.generateUidIdentifier(r.name)}).expression;const u=l.callee.body.body[0].params;for(let e=0,r=(0,n.default)(t);ee)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,s)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&a.test(String.fromCharCode(e))}return isInAstralSet(e,s)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(58563);var i=r(59860)},59860:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const a=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return a.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},87578:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(44538);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},29994:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(66631);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},21583:()=>{},92706:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(50144);var i=r(71329);function builder(e,...t){const r=n.BUILDER_KEYS[e];const a=t.length;if(a>r.length){throw new Error(`${e}: Too many arguments passed. Received ${a} but can receive no more than ${r.length}`)}const s={type:e};let o=0;r.forEach(r=>{const i=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(31746);var i=r(32789);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},56035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(31746);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},31746:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(92706);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,a){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,a){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,a,s,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,a){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,a,s,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,a){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,a){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,a,s){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,a){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,a){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},5493:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(31746)},13470:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(26197);var i=r(74498);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(31746);var i=r(37786);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},78421:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(67015);function clone(e){return(0,n.default)(e,false)}},92002:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(67015);function cloneDeep(e){return(0,n.default)(e)}},72753:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(67015);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},67015:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(50144);var i=r(26197);const a=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:s}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(a(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(a(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!a(n.NODE_FIELDS,s)){throw new Error(`Unknown node type: "${s}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[s])){if(a(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(a(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(a(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(a(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(a(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(a(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},3167:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(67015);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},36980:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(56026);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},56026:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},95762:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(58638);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},12065:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(58638);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},50215:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(58638);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},47390:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(50215);var i=r(12065);var a=r(95762);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,a.default)(e,t);return e}},15399:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(19700);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},32679:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(50144);const i=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=a;const s=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=s;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=S;const h=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=h;const E=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=E;const b=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=b;const P=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const g=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=g;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=N;const w=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=w;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const M=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=M;const B=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=B;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const _=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=_;const R=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=R;const k=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=k;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=Y;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const G=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=G},19700:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const a=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=a;const s=["||","&&","??"];t.LOGICAL_OPERATORS=s;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...s.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const S=["typeof"];t.STRING_UNARY_OPERATORS=S;const h=["void","throw",...m,...T,...S];t.UNARY_OPERATORS=h;const E={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=E;const b=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=b;const P=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=P},67604:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(36973);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},98987:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(64946);var i=r(26197);var a=r(31746);var s=r(67015);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,s.default)(t[e])})}if(e.init){o.push((0,a.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,a.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,a.sequenceExpression)(o)}}},51912:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(1717);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},36973:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(26197);var i=r(31746);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},72682:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(26197);var i=r(31746);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},14998:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(26197);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},1717:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(28516);var i=r(97567);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},17968:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(26197);var i=r(67015);var a=r(68160);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,a.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},56132:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(98987);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},15230:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(26197);var i=r(31746);var a=toStatement;t.default=a;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let a;if((0,n.isClass)(e)){r=true;a="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;a="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){a=false}if(!a){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=a;return e}},56199:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(28516);var i=r(31746);var a=valueToNode;t.default=a;const s=Function.call.bind(Object.prototype.toString);function isRegExp(e){return s(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let a;if((0,n.default)(r)){a=(0,i.identifier)(r)}else{a=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(a,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},35212:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(66631);var i=r(28516);var a=r(97567);var s=r(19700);var o=r(8536);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...s.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,a){const s=(0,n.default)("Pattern",r.left)?t:e;s(r,i,a)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...s.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const a=r.operator==="in"?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,s]=i;const o={computed:false};if(s==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(s==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(s==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(s==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(s==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,a.isKeyword)(r.name)||(0,a.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...s.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,a){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=(0,n.default)("ObjectPattern",r)?e:t;s(a,"value",a.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...s.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...s.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const a=r.init?e:t;a(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const a=r.source?e:t;a(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,a){if((0,n.default)("VariableDeclaration",a)){e(r,i,a)}else{t(r,i,a)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const a=r.computed?t:e;a(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},80823:(e,t,r)=>{"use strict";var n=r(8536);var i=r(35212);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},49905:(e,t,r)=>{"use strict";var n=r(8536);const i=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});i("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});i("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});i("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},50144:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return a.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return a.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return a.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(35212);r(49905);r(84693);r(54547);r(80823);r(48030);var i=r(8536);var a=r(77250);n(i.VISITOR_KEYS);n(i.ALIAS_KEYS);n(i.FLIPPED_ALIAS_KEYS);n(i.NODE_FIELDS);n(i.BUILDER_KEYS);n(i.DEPRECATED_KEYS);n(a.PLACEHOLDERS_ALIAS);n(a.PLACEHOLDERS_FLIPPED_ALIAS);const s=Object.keys(i.VISITOR_KEYS).concat(Object.keys(i.FLIPPED_ALIAS_KEYS)).concat(Object.keys(i.DEPRECATED_KEYS));t.TYPES=s},84693:(e,t,r)=>{"use strict";var n=r(8536);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},54547:(e,t,r)=>{"use strict";var n=r(8536);var i=r(77250);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...i.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},77250:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(8536);const i=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=i;const a={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=a;for(const e of i){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)a[e]=t}const s={};t.PLACEHOLDERS_FLIPPED_ALIAS=s;Object.keys(a).forEach(e=>{a[e].forEach(t=>{if(!Object.hasOwnProperty.call(s,t)){s[t]=[]}s[t].push(e)})})},48030:(e,t,r)=>{"use strict";var n=r(8536);var i=r(35212);const a=(0,n.assertValueType)("boolean");const s={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},i.functionDeclarationCommon,s)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},i.classMethodOrDeclareMethodCommon,s)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(a),optional:(0,n.validateOptional)(a)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(a),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(a),static:(0,n.validateOptional)(a),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(a)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(a)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:a,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(a),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(a),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(a),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(a),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(a),const:(0,n.validateOptional)(a),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(a),global:(0,n.validateOptional)(a),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(a),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},8536:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(66631);var i=r(71329);const a={};t.VISITOR_KEYS=a;const s={};t.ALIAS_KEYS=s;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let a=0;a=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(i)?[]:i,optional:e.optional,validate:e.validate}}}}const i=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}a[e]=t.visitor=i;u[e]=t.builder=T;l[e]=t.fields=n;s[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},56538:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(37183);var a=r(85465);var s=r(13470);var o=r(87578);var l=r(29994);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(56035);var p=r(44057);var f=r(60340);var c=r(31746);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(5493);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(67015);var m=r(78421);var T=r(92002);var S=r(72753);var h=r(3167);var E=r(36980);var b=r(56026);var P=r(95762);var x=r(12065);var g=r(47390);var A=r(50215);var v=r(15399);var O=r(32679);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(19700);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(67604);var N=r(51912);var w=r(36973);var C=r(72682);var j=r(14998);var L=r(1717);var M=r(17968);var B=r(56132);var F=r(15230);var _=r(56199);var R=r(50144);Object.keys(R).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===R[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return R[e]}})});var k=r(59886);var K=r(56028);var V=r(46020);var X=r(61419);var J=r(68160);var Y=r(32789);var U=r(64946);var W=r(58916);var q=r(99870);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var G=r(47278);var z=r(91592);var H=r(66631);var Q=r(56865);var $=r(58564);var Z=r(11566);var ee=r(49042);var te=r(44538);var re=r(65765);var ne=r(54842);var ie=r(22399);var ae=r(19054);var se=r(56357);var oe=r(18742);var le=r(29558);var ue=r(28516);var pe=r(52411);var fe=r(85432);var ce=r(71329);var de=r(20542);var ye=r(26197);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(21583);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:i.default,isCompatTag:a.default,buildChildren:s.default};t.react=Te},59886:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(31746);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},32789:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(26197);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const a=[];for(let s=0;s=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}a.push(o)}for(const e of Object.keys(r)){a.push(r[e])}for(const e of Object.keys(t)){a.push(t[e])}return a}},56028:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(19700);var i=r(47390);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},46020:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(31746);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},61419:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(19700);const i=["tokens","start","end","loc","raw","rawValue"];const a=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:a;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},68160:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(47278);var i=r(61419);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},37786:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(26197);function removeTypeDuplicates(e){const t={};const r={};const i=[];const a=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(s)){return[s]}if((0,n.isTSBaseType)(s)){r[s.type]=s;continue}if((0,n.isTSUnionType)(s)){if(i.indexOf(s.types)<0){e=e.concat(s.types);i.push(s.types)}continue}a.push(s)}for(const e of Object.keys(r)){a.push(r[e])}for(const e of Object.keys(t)){a.push(t[e])}return a}},64946:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(26197);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const a=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const s=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=a[e.name]=a[e.name]||[];t.push(e)}else{a[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(s){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(64946);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},99870:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(50144);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,a){const s=n.VISITOR_KEYS[e.type];if(!s)return;if(t)t(e,a,i);for(const n of s){const s=e[n];if(Array.isArray(s)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(50144);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},58638:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},74498:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(31746);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let i=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},20542:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(85432);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},26197:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(91592);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},66631:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(91592);var i=r(18742);var a=r(54842);var s=r(50144);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in s.FLIPPED_ALIAS_KEYS){return(0,a.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},56865:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(64946);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(a===e)return true}}}return false}},58564:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(26197);var i=r(49042);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},11566:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(18742);var i=r(26197);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},49042:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(26197);var i=r(19700);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},44538:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(50144);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},65765:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(50144);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(50144);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},22399:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},19054:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(26197);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},56357:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(26197);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},18742:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(50144);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},29558:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(28516);const i=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},28516:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(97567);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},52411:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(26197);var i=r(19700);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},85432:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(26197);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const a=[];let s;for(s=e;(0,n.isMemberExpression)(s);s=s.object){a.push(s.property)}a.push(s);if(a.lengthi.length)return false;for(let e=0,t=a.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},37183:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(20542);const i=(0,n.default)("React.Component");var a=i;t.default=a},71329:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(50144);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const a=i[t];validateField(e,t,r,a);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},45162:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=_default;var n=r(7144);function _default(e){const t=e.params;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const a=new RegExp("["+r+n+"]");r=n=null;const s=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,s)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&a.test(String.fromCharCode(e))}return isInAstralSet(e,s)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(90561);var i=r(85637)},85637:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const a=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return a.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},14848:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(89131);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},33283:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(75256);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},23371:()=>{},20090:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(86087);var i=r(23018);function builder(e,...t){const r=n.BUILDER_KEYS[e];const a=t.length;if(a>r.length){throw new Error(`${e}: Too many arguments passed. Received ${a} but can receive no more than ${r.length}`)}const s={type:e};let o=0;r.forEach(r=>{const i=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(39729);var i=r(74951);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},62186:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(39729);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},39729:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(20090);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,a){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,a){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,a,s,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,a){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,a,s,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,a){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,a){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,a,s){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,a){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,a){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},41667:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(39729)},84149:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(30098);var i=r(95954);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(39729);var i=r(42373);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},68854:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(56391);function clone(e){return(0,n.default)(e,false)}},44562:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(56391);function cloneDeep(e){return(0,n.default)(e)}},88814:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(56391);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},56391:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(86087);var i=r(30098);const a=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:s}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(a(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(a(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!a(n.NODE_FIELDS,s)){throw new Error(`Unknown node type: "${s}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[s])){if(a(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(a(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(a(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(a(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(a(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(a(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},52450:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(56391);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},28476:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(82038);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},82038:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},45726:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(48336);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},8274:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(48336);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},23950:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(48336);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},54859:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(23950);var i=r(8274);var a=r(45726);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,a.default)(e,t);return e}},46464:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(31118);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},77395:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(86087);const i=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=a;const s=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=s;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=S;const h=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=h;const E=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=E;const b=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=b;const P=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const g=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=g;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=N;const w=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=w;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const M=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=M;const B=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=B;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const _=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=_;const R=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=R;const k=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=k;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=Y;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const G=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=G},31118:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const a=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=a;const s=["||","&&","??"];t.LOGICAL_OPERATORS=s;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...s.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const S=["typeof"];t.STRING_UNARY_OPERATORS=S;const h=["void","throw",...m,...T,...S];t.UNARY_OPERATORS=h;const E={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=E;const b=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=b;const P=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=P},67399:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(43693);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},68747:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(17466);var i=r(30098);var a=r(39729);var s=r(56391);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,s.default)(t[e])})}if(e.init){o.push((0,a.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,a.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,a.sequenceExpression)(o)}}},60577:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(53821);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},43693:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(30098);var i=r(39729);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},10774:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(30098);var i=r(39729);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},31092:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(30098);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},53821:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(58176);var i=r(16446);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},73195:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(30098);var i=r(56391);var a=r(45737);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,a.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},84712:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(68747);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},26049:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(30098);var i=r(39729);var a=toStatement;t.default=a;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let a;if((0,n.isClass)(e)){r=true;a="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;a="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){a=false}if(!a){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=a;return e}},72543:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(58176);var i=r(39729);var a=valueToNode;t.default=a;const s=Function.call.bind(Object.prototype.toString);function isRegExp(e){return s(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let a;if((0,n.default)(r)){a=(0,i.identifier)(r)}else{a=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(a,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},60128:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(75256);var i=r(58176);var a=r(16446);var s=r(31118);var o=r(53100);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...s.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,a){const s=(0,n.default)("Pattern",r.left)?t:e;s(r,i,a)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...s.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const a=r.operator==="in"?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,s]=i;const o={computed:false};if(s==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(s==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(s==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(s==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(s==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,a.isKeyword)(r.name)||(0,a.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...s.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,a){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=(0,n.default)("ObjectPattern",r)?e:t;s(a,"value",a.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...s.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...s.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const a=r.init?e:t;a(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const a=r.source?e:t;a(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,a){if((0,n.default)("VariableDeclaration",a)){e(r,i,a)}else{t(r,i,a)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const a=r.computed?t:e;a(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},80261:(e,t,r)=>{"use strict";var n=r(53100);var i=r(60128);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},39334:(e,t,r)=>{"use strict";var n=r(53100);const i=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});i("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});i("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});i("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},86087:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return a.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return a.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return a.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(60128);r(39334);r(92827);r(52971);r(80261);r(96486);var i=r(53100);var a=r(11750);n(i.VISITOR_KEYS);n(i.ALIAS_KEYS);n(i.FLIPPED_ALIAS_KEYS);n(i.NODE_FIELDS);n(i.BUILDER_KEYS);n(i.DEPRECATED_KEYS);n(a.PLACEHOLDERS_ALIAS);n(a.PLACEHOLDERS_FLIPPED_ALIAS);const s=Object.keys(i.VISITOR_KEYS).concat(Object.keys(i.FLIPPED_ALIAS_KEYS)).concat(Object.keys(i.DEPRECATED_KEYS));t.TYPES=s},92827:(e,t,r)=>{"use strict";var n=r(53100);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},52971:(e,t,r)=>{"use strict";var n=r(53100);var i=r(11750);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...i.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},11750:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(53100);const i=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=i;const a={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=a;for(const e of i){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)a[e]=t}const s={};t.PLACEHOLDERS_FLIPPED_ALIAS=s;Object.keys(a).forEach(e=>{a[e].forEach(t=>{if(!Object.hasOwnProperty.call(s,t)){s[t]=[]}s[t].push(e)})})},96486:(e,t,r)=>{"use strict";var n=r(53100);var i=r(60128);const a=(0,n.assertValueType)("boolean");const s={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},i.functionDeclarationCommon,s)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},i.classMethodOrDeclareMethodCommon,s)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(a),optional:(0,n.validateOptional)(a)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(a),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(a),static:(0,n.validateOptional)(a),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(a)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(a)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:a,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(a),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(a),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(a),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(a),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(a),const:(0,n.validateOptional)(a),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(a),global:(0,n.validateOptional)(a),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(a),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},53100:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(75256);var i=r(23018);const a={};t.VISITOR_KEYS=a;const s={};t.ALIAS_KEYS=s;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let a=0;a=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(i)?[]:i,optional:e.optional,validate:e.validate}}}}const i=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}a[e]=t.visitor=i;u[e]=t.builder=T;l[e]=t.fields=n;s[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},7144:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(72834);var a=r(92145);var s=r(84149);var o=r(14848);var l=r(33283);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(62186);var p=r(72519);var f=r(99644);var c=r(39729);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(41667);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(56391);var m=r(68854);var T=r(44562);var S=r(88814);var h=r(52450);var E=r(28476);var b=r(82038);var P=r(45726);var x=r(8274);var g=r(54859);var A=r(23950);var v=r(46464);var O=r(77395);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(31118);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(67399);var N=r(60577);var w=r(43693);var C=r(10774);var j=r(31092);var L=r(53821);var M=r(73195);var B=r(84712);var F=r(26049);var _=r(72543);var R=r(86087);Object.keys(R).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===R[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return R[e]}})});var k=r(37287);var K=r(29853);var V=r(30061);var X=r(61263);var J=r(45737);var Y=r(74951);var U=r(17466);var W=r(79036);var q=r(64024);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var G=r(35874);var z=r(97422);var H=r(75256);var Q=r(30850);var $=r(50005);var Z=r(89033);var ee=r(19987);var te=r(89131);var re=r(34392);var ne=r(35810);var ie=r(12810);var ae=r(6285);var se=r(82178);var oe=r(82814);var le=r(52028);var ue=r(58176);var pe=r(87141);var fe=r(62166);var ce=r(23018);var de=r(1872);var ye=r(30098);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(23371);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:i.default,isCompatTag:a.default,buildChildren:s.default};t.react=Te},37287:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(39729);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},74951:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(30098);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const a=[];for(let s=0;s=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}a.push(o)}for(const e of Object.keys(r)){a.push(r[e])}for(const e of Object.keys(t)){a.push(t[e])}return a}},29853:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(31118);var i=r(54859);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},30061:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(39729);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},61263:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(31118);const i=["tokens","start","end","loc","raw","rawValue"];const a=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:a;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},45737:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(35874);var i=r(61263);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},42373:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(30098);function removeTypeDuplicates(e){const t={};const r={};const i=[];const a=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(s)){return[s]}if((0,n.isTSBaseType)(s)){r[s.type]=s;continue}if((0,n.isTSUnionType)(s)){if(i.indexOf(s.types)<0){e=e.concat(s.types);i.push(s.types)}continue}a.push(s)}for(const e of Object.keys(r)){a.push(r[e])}for(const e of Object.keys(t)){a.push(t[e])}return a}},17466:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(30098);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const a=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const s=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=a[e.name]=a[e.name]||[];t.push(e)}else{a[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(s){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(17466);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},64024:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(86087);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,a){const s=n.VISITOR_KEYS[e.type];if(!s)return;if(t)t(e,a,i);for(const n of s){const s=e[n];if(Array.isArray(s)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(86087);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},48336:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},95954:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(39729);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let i=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},1872:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(62166);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},30098:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(97422);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},75256:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(97422);var i=r(82814);var a=r(35810);var s=r(86087);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in s.FLIPPED_ALIAS_KEYS){return(0,a.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},30850:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(17466);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(a===e)return true}}}return false}},50005:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(30098);var i=r(19987);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},89033:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(82814);var i=r(30098);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},19987:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(30098);var i=r(31118);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},89131:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(86087);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},34392:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(86087);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(86087);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},12810:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},6285:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(30098);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},82178:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(30098);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},82814:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(86087);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},52028:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(58176);const i=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},58176:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(16446);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},87141:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(30098);var i=r(31118);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},62166:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(30098);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const a=[];let s;for(s=e;(0,n.isMemberExpression)(s);s=s.object){a.push(s.property)}a.push(s);if(a.lengthi.length)return false;for(let e=0,t=a.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},72834:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(1872);const i=(0,n.default)("React.Component");var a=i;t.default=a},23018:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(86087);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const a=i[t];validateField(e,t,r,a);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},28497:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=hoistVariables;var n=r(52949);const i={Scope(e,t){if(t.kind==="let")e.skip()},FunctionParent(e){e.skip()},VariableDeclaration(e,t){if(t.kind&&e.node.kind!==t.kind)return;const r=[];const i=e.get("declarations");let a;for(const e of i){a=e.node.id;if(e.node.init){r.push(n.expressionStatement(n.assignmentExpression("=",e.node.id,e.node.init)))}for(const r of Object.keys(e.getBindingIdentifiers())){t.emit(n.identifier(r),r,e.node.init!==null)}}if(e.parentPath.isFor({left:e.node})){e.replaceWith(a)}else{e.replaceWithMultiple(r)}}};function hoistVariables(e,t,r="var"){e.traverse(i,{kind:r,emit:t})}},84038:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const a=new RegExp("["+r+n+"]");r=n=null;const s=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,s)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&a.test(String.fromCharCode(e))}return isInAstralSet(e,s)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(84038);var i=r(25766)},25766:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const a=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return a.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},97890:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(27494);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},50029:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(27052);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},47836:()=>{},49239:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(41630);var i=r(62473);function builder(e,...t){const r=n.BUILDER_KEYS[e];const a=t.length;if(a>r.length){throw new Error(`${e}: Too many arguments passed. Received ${a} but can receive no more than ${r.length}`)}const s={type:e};let o=0;r.forEach(r=>{const i=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(32446);var i=r(65375);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},96670:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(32446);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},32446:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(49239);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,a){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,a){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,a,s,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,a){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,a,s,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,a){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,a){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,a,s){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,a){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,a){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},45482:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(32446)},37059:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(98338);var i=r(96568);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(32446);var i=r(71408);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},79354:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(63126);function clone(e){return(0,n.default)(e,false)}},78393:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(63126);function cloneDeep(e){return(0,n.default)(e)}},65137:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(63126);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},63126:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(41630);var i=r(98338);const a=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:s}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(a(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(a(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!a(n.NODE_FIELDS,s)){throw new Error(`Unknown node type: "${s}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[s])){if(a(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(a(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(a(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(a(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(a(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(a(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},77149:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(63126);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},53873:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(95e3);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},95000:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},12368:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(80191);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},8389:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(80191);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},95871:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(80191);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},42290:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(95871);var i=r(8389);var a=r(12368);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,a.default)(e,t);return e}},56101:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(48427);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},39987:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(41630);const i=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=a;const s=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=s;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=S;const h=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=h;const E=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=E;const b=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=b;const P=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const g=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=g;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=N;const w=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=w;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const M=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=M;const B=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=B;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const _=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=_;const R=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=R;const k=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=k;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=Y;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const G=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=G},48427:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const a=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=a;const s=["||","&&","??"];t.LOGICAL_OPERATORS=s;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...s.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const S=["typeof"];t.STRING_UNARY_OPERATORS=S;const h=["void","throw",...m,...T,...S];t.UNARY_OPERATORS=h;const E={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=E;const b=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=b;const P=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=P},17414:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(38259);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},45793:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(38242);var i=r(98338);var a=r(32446);var s=r(63126);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,s.default)(t[e])})}if(e.init){o.push((0,a.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,a.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,a.sequenceExpression)(o)}}},67398:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(88986);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},38259:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(98338);var i=r(32446);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},50420:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(98338);var i=r(32446);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},68461:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(98338);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},88986:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(5889);var i=r(43044);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},52985:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(98338);var i=r(63126);var a=r(29113);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,a.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},31532:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(45793);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},62292:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(98338);var i=r(32446);var a=toStatement;t.default=a;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let a;if((0,n.isClass)(e)){r=true;a="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;a="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){a=false}if(!a){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=a;return e}},26831:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(5889);var i=r(32446);var a=valueToNode;t.default=a;const s=Function.call.bind(Object.prototype.toString);function isRegExp(e){return s(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let a;if((0,n.default)(r)){a=(0,i.identifier)(r)}else{a=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(a,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},1601:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(27052);var i=r(5889);var a=r(43044);var s=r(48427);var o=r(71478);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...s.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,a){const s=(0,n.default)("Pattern",r.left)?t:e;s(r,i,a)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...s.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const a=r.operator==="in"?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,s]=i;const o={computed:false};if(s==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(s==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(s==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(s==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(s==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,a.isKeyword)(r.name)||(0,a.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...s.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,a){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=(0,n.default)("ObjectPattern",r)?e:t;s(a,"value",a.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...s.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...s.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const a=r.init?e:t;a(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const a=r.source?e:t;a(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,a){if((0,n.default)("VariableDeclaration",a)){e(r,i,a)}else{t(r,i,a)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const a=r.computed?t:e;a(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},15030:(e,t,r)=>{"use strict";var n=r(71478);var i=r(1601);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},5158:(e,t,r)=>{"use strict";var n=r(71478);const i=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});i("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});i("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});i("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},41630:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return a.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return a.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return a.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(1601);r(5158);r(86506);r(40749);r(15030);r(26861);var i=r(71478);var a=r(24465);n(i.VISITOR_KEYS);n(i.ALIAS_KEYS);n(i.FLIPPED_ALIAS_KEYS);n(i.NODE_FIELDS);n(i.BUILDER_KEYS);n(i.DEPRECATED_KEYS);n(a.PLACEHOLDERS_ALIAS);n(a.PLACEHOLDERS_FLIPPED_ALIAS);const s=Object.keys(i.VISITOR_KEYS).concat(Object.keys(i.FLIPPED_ALIAS_KEYS)).concat(Object.keys(i.DEPRECATED_KEYS));t.TYPES=s},86506:(e,t,r)=>{"use strict";var n=r(71478);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},40749:(e,t,r)=>{"use strict";var n=r(71478);var i=r(24465);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...i.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},24465:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(71478);const i=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=i;const a={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=a;for(const e of i){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)a[e]=t}const s={};t.PLACEHOLDERS_FLIPPED_ALIAS=s;Object.keys(a).forEach(e=>{a[e].forEach(t=>{if(!Object.hasOwnProperty.call(s,t)){s[t]=[]}s[t].push(e)})})},26861:(e,t,r)=>{"use strict";var n=r(71478);var i=r(1601);const a=(0,n.assertValueType)("boolean");const s={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},i.functionDeclarationCommon,s)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},i.classMethodOrDeclareMethodCommon,s)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(a),optional:(0,n.validateOptional)(a)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(a),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(a),static:(0,n.validateOptional)(a),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(a)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(a)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:a,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(a),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(a),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(a),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(a),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(a),const:(0,n.validateOptional)(a),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(a),global:(0,n.validateOptional)(a),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(a),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},71478:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(27052);var i=r(62473);const a={};t.VISITOR_KEYS=a;const s={};t.ALIAS_KEYS=s;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let a=0;a=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(i)?[]:i,optional:e.optional,validate:e.validate}}}}const i=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}a[e]=t.visitor=i;u[e]=t.builder=T;l[e]=t.fields=n;s[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},52949:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(50774);var a=r(25424);var s=r(37059);var o=r(97890);var l=r(50029);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(96670);var p=r(46536);var f=r(30338);var c=r(32446);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(45482);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(63126);var m=r(79354);var T=r(78393);var S=r(65137);var h=r(77149);var E=r(53873);var b=r(95e3);var P=r(12368);var x=r(8389);var g=r(42290);var A=r(95871);var v=r(56101);var O=r(39987);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(48427);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(17414);var N=r(67398);var w=r(38259);var C=r(50420);var j=r(68461);var L=r(88986);var M=r(52985);var B=r(31532);var F=r(62292);var _=r(26831);var R=r(41630);Object.keys(R).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===R[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return R[e]}})});var k=r(55648);var K=r(31396);var V=r(59566);var X=r(52109);var J=r(29113);var Y=r(65375);var U=r(38242);var W=r(75279);var q=r(68611);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var G=r(65542);var z=r(58522);var H=r(27052);var Q=r(34122);var $=r(68179);var Z=r(44675);var ee=r(79826);var te=r(27494);var re=r(92251);var ne=r(1748);var ie=r(63292);var ae=r(28527);var se=r(55747);var oe=r(23480);var le=r(91583);var ue=r(5889);var pe=r(85097);var fe=r(27637);var ce=r(62473);var de=r(58503);var ye=r(98338);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(47836);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:i.default,isCompatTag:a.default,buildChildren:s.default};t.react=Te},55648:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(32446);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},65375:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(98338);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const a=[];for(let s=0;s=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}a.push(o)}for(const e of Object.keys(r)){a.push(r[e])}for(const e of Object.keys(t)){a.push(t[e])}return a}},31396:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(48427);var i=r(42290);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},59566:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(32446);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},52109:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(48427);const i=["tokens","start","end","loc","raw","rawValue"];const a=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:a;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},29113:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(65542);var i=r(52109);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},71408:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(98338);function removeTypeDuplicates(e){const t={};const r={};const i=[];const a=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(s)){return[s]}if((0,n.isTSBaseType)(s)){r[s.type]=s;continue}if((0,n.isTSUnionType)(s)){if(i.indexOf(s.types)<0){e=e.concat(s.types);i.push(s.types)}continue}a.push(s)}for(const e of Object.keys(r)){a.push(r[e])}for(const e of Object.keys(t)){a.push(t[e])}return a}},38242:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(98338);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const a=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const s=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=a[e.name]=a[e.name]||[];t.push(e)}else{a[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(s){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(38242);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},68611:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(41630);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,a){const s=n.VISITOR_KEYS[e.type];if(!s)return;if(t)t(e,a,i);for(const n of s){const s=e[n];if(Array.isArray(s)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(41630);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},80191:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},96568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(32446);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let i=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},58503:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(27637);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},98338:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(58522);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},27052:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(58522);var i=r(23480);var a=r(1748);var s=r(41630);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in s.FLIPPED_ALIAS_KEYS){return(0,a.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},34122:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(38242);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(a===e)return true}}}return false}},68179:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(98338);var i=r(79826);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},44675:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(23480);var i=r(98338);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},79826:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(98338);var i=r(48427);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},27494:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(41630);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},92251:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(41630);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(41630);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},63292:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},28527:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(98338);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},55747:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(98338);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},23480:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(41630);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},91583:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(5889);const i=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},5889:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(43044);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},85097:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(98338);var i=r(48427);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},27637:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(98338);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const a=[];let s;for(s=e;(0,n.isMemberExpression)(s);s=s.object){a.push(s.property)}a.push(s);if(a.lengthi.length)return false;for(let e=0,t=a.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},50774:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(58503);const i=(0,n.default)("React.Component");var a=i;t.default=a},62473:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(41630);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const a=i[t];validateField(e,t,r,a);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},68720:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=optimiseCallExpression;var n=r(29371);function optimiseCallExpression(e,t,r,i){if(r.length===1&&n.isSpreadElement(r[0])&&n.isIdentifier(r[0].argument,{name:"arguments"})){if(i){return n.optionalCallExpression(n.optionalMemberExpression(e,n.identifier("apply"),false,true),[t,r[0].argument],false)}return n.callExpression(n.memberExpression(e,n.identifier("apply")),[t,r[0].argument])}else{if(i){return n.optionalCallExpression(n.optionalMemberExpression(e,n.identifier("call"),false,true),[t,...r],false)}return n.callExpression(n.memberExpression(e,n.identifier("call")),[t,...r])}}},83452:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const a=new RegExp("["+r+n+"]");r=n=null;const s=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,s)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&a.test(String.fromCharCode(e))}return isInAstralSet(e,s)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(83452);var i=r(74173)},74173:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const a=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return a.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},30246:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(31805);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},49789:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(91136);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},16622:()=>{},63425:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(58281);var i=r(70595);function builder(e,...t){const r=n.BUILDER_KEYS[e];const a=t.length;if(a>r.length){throw new Error(`${e}: Too many arguments passed. Received ${a} but can receive no more than ${r.length}`)}const s={type:e};let o=0;r.forEach(r=>{const i=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(63614);var i=r(26535);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},1598:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(63614);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},63614:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(63425);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,a){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,a){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,a,s,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,a){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,a,s,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,a){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,a){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,a,s){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,a){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,a){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},37361:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(63614)},84256:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(11930);var i=r(86522);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(63614);var i=r(52941);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},4186:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(45691);function clone(e){return(0,n.default)(e,false)}},92230:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(45691);function cloneDeep(e){return(0,n.default)(e)}},89335:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(45691);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},45691:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(58281);var i=r(11930);const a=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:s}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(a(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(a(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!a(n.NODE_FIELDS,s)){throw new Error(`Unknown node type: "${s}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[s])){if(a(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(a(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(a(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(a(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(a(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(a(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},44814:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(45691);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},77440:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(56299);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},56299:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},64564:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(90194);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},75198:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(90194);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},42309:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(90194);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},14963:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(42309);var i=r(75198);var a=r(64564);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,a.default)(e,t);return e}},1032:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(61784);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},59640:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(58281);const i=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=a;const s=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=s;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=S;const h=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=h;const E=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=E;const b=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=b;const P=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const g=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=g;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=N;const w=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=w;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const M=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=M;const B=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=B;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const _=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=_;const R=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=R;const k=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=k;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=Y;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const G=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=G},61784:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const a=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=a;const s=["||","&&","??"];t.LOGICAL_OPERATORS=s;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...s.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const S=["typeof"];t.STRING_UNARY_OPERATORS=S;const h=["void","throw",...m,...T,...S];t.UNARY_OPERATORS=h;const E={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=E;const b=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=b;const P=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=P},82451:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(90754);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},90519:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(3065);var i=r(11930);var a=r(63614);var s=r(45691);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,s.default)(t[e])})}if(e.init){o.push((0,a.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,a.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,a.sequenceExpression)(o)}}},41039:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(12047);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},90754:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(11930);var i=r(63614);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},31060:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(11930);var i=r(63614);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},19830:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(11930);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},12047:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(11734);var i=r(49319);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},73074:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(11930);var i=r(45691);var a=r(42271);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,a.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},97165:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(90519);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},17946:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(11930);var i=r(63614);var a=toStatement;t.default=a;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let a;if((0,n.isClass)(e)){r=true;a="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;a="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){a=false}if(!a){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=a;return e}},45818:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(11734);var i=r(63614);var a=valueToNode;t.default=a;const s=Function.call.bind(Object.prototype.toString);function isRegExp(e){return s(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let a;if((0,n.default)(r)){a=(0,i.identifier)(r)}else{a=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(a,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},21721:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(91136);var i=r(11734);var a=r(49319);var s=r(61784);var o=r(89978);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...s.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,a){const s=(0,n.default)("Pattern",r.left)?t:e;s(r,i,a)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...s.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const a=r.operator==="in"?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,s]=i;const o={computed:false};if(s==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(s==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(s==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(s==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(s==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,a.isKeyword)(r.name)||(0,a.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...s.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,a){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=(0,n.default)("ObjectPattern",r)?e:t;s(a,"value",a.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...s.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...s.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const a=r.init?e:t;a(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const a=r.source?e:t;a(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,a){if((0,n.default)("VariableDeclaration",a)){e(r,i,a)}else{t(r,i,a)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const a=r.computed?t:e;a(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},69016:(e,t,r)=>{"use strict";var n=r(89978);var i=r(21721);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},39371:(e,t,r)=>{"use strict";var n=r(89978);const i=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});i("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});i("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});i("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},58281:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return a.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return a.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return a.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(21721);r(39371);r(97019);r(9587);r(69016);r(89332);var i=r(89978);var a=r(70043);n(i.VISITOR_KEYS);n(i.ALIAS_KEYS);n(i.FLIPPED_ALIAS_KEYS);n(i.NODE_FIELDS);n(i.BUILDER_KEYS);n(i.DEPRECATED_KEYS);n(a.PLACEHOLDERS_ALIAS);n(a.PLACEHOLDERS_FLIPPED_ALIAS);const s=Object.keys(i.VISITOR_KEYS).concat(Object.keys(i.FLIPPED_ALIAS_KEYS)).concat(Object.keys(i.DEPRECATED_KEYS));t.TYPES=s},97019:(e,t,r)=>{"use strict";var n=r(89978);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},9587:(e,t,r)=>{"use strict";var n=r(89978);var i=r(70043);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...i.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},70043:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(89978);const i=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=i;const a={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=a;for(const e of i){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)a[e]=t}const s={};t.PLACEHOLDERS_FLIPPED_ALIAS=s;Object.keys(a).forEach(e=>{a[e].forEach(t=>{if(!Object.hasOwnProperty.call(s,t)){s[t]=[]}s[t].push(e)})})},89332:(e,t,r)=>{"use strict";var n=r(89978);var i=r(21721);const a=(0,n.assertValueType)("boolean");const s={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},i.functionDeclarationCommon,s)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},i.classMethodOrDeclareMethodCommon,s)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(a),optional:(0,n.validateOptional)(a)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(a),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(a),static:(0,n.validateOptional)(a),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(a)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(a)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:a,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(a),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(a),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(a),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(a),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(a),const:(0,n.validateOptional)(a),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(a),global:(0,n.validateOptional)(a),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(a),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},89978:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(91136);var i=r(70595);const a={};t.VISITOR_KEYS=a;const s={};t.ALIAS_KEYS=s;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let a=0;a=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(i)?[]:i,optional:e.optional,validate:e.validate}}}}const i=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}a[e]=t.visitor=i;u[e]=t.builder=T;l[e]=t.fields=n;s[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},29371:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(61882);var a=r(73963);var s=r(84256);var o=r(30246);var l=r(49789);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(1598);var p=r(73871);var f=r(30533);var c=r(63614);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(37361);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(45691);var m=r(4186);var T=r(92230);var S=r(89335);var h=r(44814);var E=r(77440);var b=r(56299);var P=r(64564);var x=r(75198);var g=r(14963);var A=r(42309);var v=r(1032);var O=r(59640);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(61784);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(82451);var N=r(41039);var w=r(90754);var C=r(31060);var j=r(19830);var L=r(12047);var M=r(73074);var B=r(97165);var F=r(17946);var _=r(45818);var R=r(58281);Object.keys(R).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===R[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return R[e]}})});var k=r(2412);var K=r(3211);var V=r(30996);var X=r(91395);var J=r(42271);var Y=r(26535);var U=r(3065);var W=r(52745);var q=r(66906);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var G=r(22348);var z=r(16113);var H=r(91136);var Q=r(82309);var $=r(77982);var Z=r(49729);var ee=r(45278);var te=r(31805);var re=r(56870);var ne=r(87290);var ie=r(85198);var ae=r(71146);var se=r(61067);var oe=r(857);var le=r(68681);var ue=r(11734);var pe=r(62325);var fe=r(65149);var ce=r(70595);var de=r(49526);var ye=r(11930);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(16622);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:i.default,isCompatTag:a.default,buildChildren:s.default};t.react=Te},2412:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(63614);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},26535:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(11930);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const a=[];for(let s=0;s=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}a.push(o)}for(const e of Object.keys(r)){a.push(r[e])}for(const e of Object.keys(t)){a.push(t[e])}return a}},3211:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(61784);var i=r(14963);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},30996:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(63614);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},91395:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(61784);const i=["tokens","start","end","loc","raw","rawValue"];const a=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:a;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},42271:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(22348);var i=r(91395);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},52941:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(11930);function removeTypeDuplicates(e){const t={};const r={};const i=[];const a=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(s)){return[s]}if((0,n.isTSBaseType)(s)){r[s.type]=s;continue}if((0,n.isTSUnionType)(s)){if(i.indexOf(s.types)<0){e=e.concat(s.types);i.push(s.types)}continue}a.push(s)}for(const e of Object.keys(r)){a.push(r[e])}for(const e of Object.keys(t)){a.push(t[e])}return a}},3065:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(11930);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const a=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const s=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=a[e.name]=a[e.name]||[];t.push(e)}else{a[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(s){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(3065);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},66906:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(58281);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,a){const s=n.VISITOR_KEYS[e.type];if(!s)return;if(t)t(e,a,i);for(const n of s){const s=e[n];if(Array.isArray(s)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(58281);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},90194:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},86522:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(63614);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let i=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},49526:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(65149);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},11930:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(16113);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},91136:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(16113);var i=r(857);var a=r(87290);var s=r(58281);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in s.FLIPPED_ALIAS_KEYS){return(0,a.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},82309:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(3065);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(a===e)return true}}}return false}},77982:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(11930);var i=r(45278);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},49729:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(857);var i=r(11930);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},45278:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(11930);var i=r(61784);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},31805:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(58281);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},56870:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(58281);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(58281);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},85198:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},71146:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(11930);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},61067:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(11930);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},857:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(58281);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},68681:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(11734);const i=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},11734:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(49319);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},62325:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(11930);var i=r(61784);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},65149:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(11930);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const a=[];let s;for(s=e;(0,n.isMemberExpression)(s);s=s.object){a.push(s.property)}a.push(s);if(a.lengthi.length)return false;for(let e=0,t=a.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},61882:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(49526);const i=(0,n.default)("React.Component");var a=i;t.default=a},70595:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(58281);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const a=i[t];validateField(e,t,r,a);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},76729:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=splitExportDeclaration;var n=r(32050);function splitExportDeclaration(e){if(!e.isExportDeclaration()){throw new Error("Only export declarations can be split.")}const t=e.isExportDefaultDeclaration();const r=e.get("declaration");const i=r.isClassDeclaration();if(t){const t=r.isFunctionDeclaration()||i;const a=r.isScope()?r.scope.parent:r.scope;let s=r.node.id;let o=false;if(!s){o=true;s=a.generateUidIdentifier("default");if(t||r.isFunctionExpression()||r.isClassExpression()){r.node.id=n.cloneNode(s)}}const l=t?r:n.variableDeclaration("var",[n.variableDeclarator(n.cloneNode(s),r.node)]);const u=n.exportNamedDeclaration(null,[n.exportSpecifier(n.cloneNode(s),n.identifier("default"))]);e.insertAfter(u);e.replaceWith(l);if(o){a.registerDeclaration(e)}return e}if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const a=r.getOuterBindingIdentifiers();const s=Object.keys(a).map(e=>{return n.exportSpecifier(n.identifier(e),n.identifier(e))});const o=n.exportNamedDeclaration(null,s);e.insertAfter(o);e.replaceWith(r.node);return e}},93063:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const a=new RegExp("["+r+n+"]");r=n=null;const s=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,s)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&a.test(String.fromCharCode(e))}return isInAstralSet(e,s)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(93063);var i=r(3326)},3326:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const a=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return a.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},71345:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(72826);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},70051:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(88901);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},95722:()=>{},47949:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(19322);var i=r(68114);function builder(e,...t){const r=n.BUILDER_KEYS[e];const a=t.length;if(a>r.length){throw new Error(`${e}: Too many arguments passed. Received ${a} but can receive no more than ${r.length}`)}const s={type:e};let o=0;r.forEach(r=>{const i=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(18494);var i=r(56903);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},25156:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(18494);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},18494:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(47949);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,a){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,a){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,a,s,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,a){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,a,s,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,a){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,a){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,a,s){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,a){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,a){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},12889:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(18494)},53658:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(22040);var i=r(73219);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(18494);var i=r(91605);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},84406:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(38902);function clone(e){return(0,n.default)(e,false)}},95030:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(38902);function cloneDeep(e){return(0,n.default)(e)}},90070:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(38902);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},38902:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(19322);var i=r(22040);const a=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:s}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(a(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(a(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!a(n.NODE_FIELDS,s)){throw new Error(`Unknown node type: "${s}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[s])){if(a(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(a(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(a(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(a(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(a(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(a(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},95:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(38902);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},36251:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(17111);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},17111:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},95538:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(93182);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},36957:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(93182);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},78001:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(93182);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},21756:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(78001);var i=r(36957);var a=r(95538);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,a.default)(e,t);return e}},96613:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(62390);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},1584:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(19322);const i=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=a;const s=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=s;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=S;const h=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=h;const E=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=E;const b=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=b;const P=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const g=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=g;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=N;const w=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=w;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const M=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=M;const B=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=B;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const _=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=_;const R=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=R;const k=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=k;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=Y;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const G=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=G},62390:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const a=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=a;const s=["||","&&","??"];t.LOGICAL_OPERATORS=s;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...s.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const S=["typeof"];t.STRING_UNARY_OPERATORS=S;const h=["void","throw",...m,...T,...S];t.UNARY_OPERATORS=h;const E={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=E;const b=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=b;const P=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=P},47535:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(6711);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},63730:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(3759);var i=r(22040);var a=r(18494);var s=r(38902);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,s.default)(t[e])})}if(e.init){o.push((0,a.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,a.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,a.sequenceExpression)(o)}}},24551:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(26565);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},6711:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(22040);var i=r(18494);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},79668:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(22040);var i=r(18494);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},30054:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(22040);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},26565:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(19142);var i=r(74468);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},17126:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(22040);var i=r(38902);var a=r(56372);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,a.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},87456:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(63730);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},45021:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(22040);var i=r(18494);var a=toStatement;t.default=a;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let a;if((0,n.isClass)(e)){r=true;a="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;a="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){a=false}if(!a){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=a;return e}},76730:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(19142);var i=r(18494);var a=valueToNode;t.default=a;const s=Function.call.bind(Object.prototype.toString);function isRegExp(e){return s(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let a;if((0,n.default)(r)){a=(0,i.identifier)(r)}else{a=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(a,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},9938:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(88901);var i=r(19142);var a=r(74468);var s=r(62390);var o=r(30554);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...s.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,a){const s=(0,n.default)("Pattern",r.left)?t:e;s(r,i,a)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...s.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const a=r.operator==="in"?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,s]=i;const o={computed:false};if(s==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(s==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(s==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(s==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(s==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,a.isKeyword)(r.name)||(0,a.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...s.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,a){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=(0,n.default)("ObjectPattern",r)?e:t;s(a,"value",a.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...s.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...s.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const a=r.init?e:t;a(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const a=r.source?e:t;a(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,a){if((0,n.default)("VariableDeclaration",a)){e(r,i,a)}else{t(r,i,a)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const a=r.computed?t:e;a(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},67195:(e,t,r)=>{"use strict";var n=r(30554);var i=r(9938);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},68979:(e,t,r)=>{"use strict";var n=r(30554);const i=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});i("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});i("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});i("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},19322:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return a.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return a.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return a.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(9938);r(68979);r(9908);r(25311);r(67195);r(87181);var i=r(30554);var a=r(36917);n(i.VISITOR_KEYS);n(i.ALIAS_KEYS);n(i.FLIPPED_ALIAS_KEYS);n(i.NODE_FIELDS);n(i.BUILDER_KEYS);n(i.DEPRECATED_KEYS);n(a.PLACEHOLDERS_ALIAS);n(a.PLACEHOLDERS_FLIPPED_ALIAS);const s=Object.keys(i.VISITOR_KEYS).concat(Object.keys(i.FLIPPED_ALIAS_KEYS)).concat(Object.keys(i.DEPRECATED_KEYS));t.TYPES=s},9908:(e,t,r)=>{"use strict";var n=r(30554);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},25311:(e,t,r)=>{"use strict";var n=r(30554);var i=r(36917);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...i.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},36917:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(30554);const i=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=i;const a={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=a;for(const e of i){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)a[e]=t}const s={};t.PLACEHOLDERS_FLIPPED_ALIAS=s;Object.keys(a).forEach(e=>{a[e].forEach(t=>{if(!Object.hasOwnProperty.call(s,t)){s[t]=[]}s[t].push(e)})})},87181:(e,t,r)=>{"use strict";var n=r(30554);var i=r(9938);const a=(0,n.assertValueType)("boolean");const s={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},i.functionDeclarationCommon,s)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},i.classMethodOrDeclareMethodCommon,s)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(a),optional:(0,n.validateOptional)(a)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(a),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(a),static:(0,n.validateOptional)(a),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(a)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(a)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:a,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(a),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(a),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(a),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(a),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(a),const:(0,n.validateOptional)(a),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(a),global:(0,n.validateOptional)(a),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(a),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},30554:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(88901);var i=r(68114);const a={};t.VISITOR_KEYS=a;const s={};t.ALIAS_KEYS=s;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let a=0;a=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(i)?[]:i,optional:e.optional,validate:e.validate}}}}const i=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}a[e]=t.visitor=i;u[e]=t.builder=T;l[e]=t.fields=n;s[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},32050:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(78635);var a=r(38029);var s=r(53658);var o=r(71345);var l=r(70051);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(25156);var p=r(54034);var f=r(95215);var c=r(18494);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(12889);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(38902);var m=r(84406);var T=r(95030);var S=r(90070);var h=r(95);var E=r(36251);var b=r(17111);var P=r(95538);var x=r(36957);var g=r(21756);var A=r(78001);var v=r(96613);var O=r(1584);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(62390);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(47535);var N=r(24551);var w=r(6711);var C=r(79668);var j=r(30054);var L=r(26565);var M=r(17126);var B=r(87456);var F=r(45021);var _=r(76730);var R=r(19322);Object.keys(R).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===R[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return R[e]}})});var k=r(46194);var K=r(25181);var V=r(86562);var X=r(53266);var J=r(56372);var Y=r(56903);var U=r(3759);var W=r(9945);var q=r(2023);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var G=r(31871);var z=r(65522);var H=r(88901);var Q=r(30998);var $=r(60830);var Z=r(69287);var ee=r(38661);var te=r(72826);var re=r(73);var ne=r(89227);var ie=r(70826);var ae=r(52875);var se=r(96067);var oe=r(40099);var le=r(63826);var ue=r(19142);var pe=r(13513);var fe=r(40898);var ce=r(68114);var de=r(7875);var ye=r(22040);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(95722);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:i.default,isCompatTag:a.default,buildChildren:s.default};t.react=Te},46194:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(18494);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},56903:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(22040);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const a=[];for(let s=0;s=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}a.push(o)}for(const e of Object.keys(r)){a.push(r[e])}for(const e of Object.keys(t)){a.push(t[e])}return a}},25181:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(62390);var i=r(21756);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},86562:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(18494);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},53266:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(62390);const i=["tokens","start","end","loc","raw","rawValue"];const a=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:a;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},56372:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(31871);var i=r(53266);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},91605:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(22040);function removeTypeDuplicates(e){const t={};const r={};const i=[];const a=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(s)){return[s]}if((0,n.isTSBaseType)(s)){r[s.type]=s;continue}if((0,n.isTSUnionType)(s)){if(i.indexOf(s.types)<0){e=e.concat(s.types);i.push(s.types)}continue}a.push(s)}for(const e of Object.keys(r)){a.push(r[e])}for(const e of Object.keys(t)){a.push(t[e])}return a}},3759:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(22040);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const a=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const s=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=a[e.name]=a[e.name]||[];t.push(e)}else{a[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(s){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(3759);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},2023:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(19322);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,a){const s=n.VISITOR_KEYS[e.type];if(!s)return;if(t)t(e,a,i);for(const n of s){const s=e[n];if(Array.isArray(s)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(19322);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},93182:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},73219:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(18494);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let i=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},7875:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(40898);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},22040:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(65522);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},88901:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(65522);var i=r(40099);var a=r(89227);var s=r(19322);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in s.FLIPPED_ALIAS_KEYS){return(0,a.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},30998:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(3759);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(a===e)return true}}}return false}},60830:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(22040);var i=r(38661);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},69287:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(40099);var i=r(22040);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},38661:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(22040);var i=r(62390);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},72826:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(19322);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},73:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(19322);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(19322);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},70826:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},52875:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(22040);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},96067:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(22040);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},40099:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(19322);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},63826:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(19142);const i=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},19142:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(74468);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},13513:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(22040);var i=r(62390);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},40898:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(22040);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const a=[];let s;for(s=e;(0,n.isMemberExpression)(s);s=s.object){a.push(s.property)}a.push(s);if(a.lengthi.length)return false;for(let e=0,t=a.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},78635:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(7875);const i=(0,n.default)("React.Component");var a=i;t.default=a},68114:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(19322);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const a=i[t];validateField(e,t,r,a);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},14705:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const a=new RegExp("["+r+n+"]");r=n=null;const s=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,s)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&a.test(String.fromCharCode(e))}return isInAstralSet(e,s)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0,n=Array.from(e);r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(14705);var i=r(8755)},8755:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const a=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return a.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},25684:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findSuggestion=findSuggestion;const{min:r}=Math;function levenshtein(e,t){let n=[],i=[],a,s;const o=e.length,l=t.length;if(!o){return l}if(!l){return o}for(s=0;s<=l;s++){n[s]=s}for(a=1;a<=o;a++){for(i=[a],s=1;s<=l;s++){i[s]=e[a-1]===t[s-1]?n[s-1]:r(n[s-1],n[s],i[s-1])+1}n=i}return i[l]}function findSuggestion(e,t){const n=t.map(t=>levenshtein(t,e));return t[n.indexOf(r(...n))]}},69562:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"OptionValidator",{enumerable:true,get:function(){return n.OptionValidator}});Object.defineProperty(t,"findSuggestion",{enumerable:true,get:function(){return i.findSuggestion}});var n=r(17626);var i=r(25684)},17626:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.OptionValidator=void 0;var n=r(25684);class OptionValidator{constructor(e){this.descriptor=e}validateTopLevelOptions(e,t){const r=Object.keys(t);for(const t of Object.keys(e)){if(!r.includes(t)){throw new Error(this.formatMessage(`'${t}' is not a valid top-level option.\n- Did you mean '${(0,n.findSuggestion)(t,r)}'?`))}}}validateBooleanOption(e,t,r){if(t===undefined){return r}else{this.invariant(typeof t==="boolean",`'${e}' option must be a boolean.`)}return t}validateStringOption(e,t,r){if(t===undefined){return r}else{this.invariant(typeof t==="string",`'${e}' option must be a string.`)}return t}invariant(e,t){if(!e){throw new Error(this.formatMessage(t))}}formatMessage(e){return`${this.descriptor}: ${e}`}}t.OptionValidator=OptionValidator},39571:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldHighlight=shouldHighlight;t.getChalk=getChalk;t.default=highlight;var n=_interopRequireWildcard(r(52388));var i=r(74246);var a=_interopRequireDefault(r(72242));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;if(a&&(a.get||a.set)){Object.defineProperty(r,i,a)}else{r[i]=e[i]}}}r.default=e;if(t){t.set(e,r)}return r}function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsx_tag:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const s=/\r\n|[\n\r\u2028\u2029]/;const o=/^[a-z][\w-]*$/i;const l=/^[()[\]{}]$/;function getTokenType(e){const[t,r]=e.slice(-2);const a=(0,n.matchToToken)(e);if(a.type==="name"){if((0,i.isKeyword)(a.value)||(0,i.isReservedWord)(a.value)){return"keyword"}if(o.test(a.value)&&(r[t-1]==="<"||r.substr(t-2,2)=="n(e)).join("\n")}else{return t[0]}})}function shouldHighlight(e){return a.default.supportsColor||e.forceColor}function getChalk(e){let t=a.default;if(e.forceColor){t=new a.default.constructor({enabled:true,level:1})}return t}function highlight(e,t={}){if(shouldHighlight(t)){const r=getChalk(t);const n=getDefs(r);return highlightTokens(n,e)}else{return e}}},22663:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTemplateBuilder;var n=r(5447);var i=r(26522);var a=r(80694);const s=(0,n.validate)({placeholderPattern:false});function createTemplateBuilder(e,t){const r=new WeakMap;const o=new WeakMap;const l=t||(0,n.validate)(null);return Object.assign((t,...s)=>{if(typeof t==="string"){if(s.length>1)throw new Error("Unexpected extra params.");return extendedTrace((0,i.default)(e,t,(0,n.merge)(l,(0,n.validate)(s[0]))))}else if(Array.isArray(t)){let n=r.get(t);if(!n){n=(0,a.default)(e,t,l);r.set(t,n)}return extendedTrace(n(s))}else if(typeof t==="object"&&t){if(s.length>0)throw new Error("Unexpected extra params.");return createTemplateBuilder(e,(0,n.merge)(l,(0,n.validate)(t)))}throw new Error(`Unexpected template param ${typeof t}`)},{ast:(t,...r)=>{if(typeof t==="string"){if(r.length>1)throw new Error("Unexpected extra params.");return(0,i.default)(e,t,(0,n.merge)((0,n.merge)(l,(0,n.validate)(r[0])),s))()}else if(Array.isArray(t)){let i=o.get(t);if(!i){i=(0,a.default)(e,t,(0,n.merge)(l,s));o.set(t,i)}return i(r)()}throw new Error(`Unexpected template param ${typeof t}`)}})}function extendedTrace(e){let t="";try{throw new Error}catch(e){if(e.stack){t=e.stack.split("\n").slice(3).join("\n")}}return r=>{try{return e(r)}catch(e){e.stack+=`\n =============\n${t}`;throw e}}}},31272:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.program=t.expression=t.statement=t.statements=t.smart=void 0;var n=r(30632);function makeStatementFormatter(e){return{code:e=>`/* @babel/template */;\n${e}`,validate:()=>{},unwrap:t=>{return e(t.program.body.slice(1))}}}const i=makeStatementFormatter(e=>{if(e.length>1){return e}else{return e[0]}});t.smart=i;const a=makeStatementFormatter(e=>e);t.statements=a;const s=makeStatementFormatter(e=>{if(e.length===0){throw new Error("Found nothing to return.")}if(e.length>1){throw new Error("Found multiple statements but wanted one")}return e[0]});t.statement=s;const o={code:e=>`(\n${e}\n)`,validate:e=>{if(e.program.body.length>1){throw new Error("Found multiple statements but wanted one")}if(o.unwrap(e).start===0){throw new Error("Parse result included parens.")}},unwrap:({program:e})=>{const[t]=e.body;n.assertExpressionStatement(t);return t.expression}};t.expression=o;const l={code:e=>e,validate:()=>{},unwrap:e=>e.program};t.program=l},36900:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.program=t.expression=t.statements=t.statement=t.smart=void 0;var n=r(31272);var i=r(22663);const a=(0,i.default)(n.smart);t.smart=a;const s=(0,i.default)(n.statement);t.statement=s;const o=(0,i.default)(n.statements);t.statements=o;const l=(0,i.default)(n.expression);t.expression=l;const u=(0,i.default)(n.program);t.program=u;var p=Object.assign(a.bind(undefined),{smart:a,statement:s,statements:o,expression:l,program:u,ast:a.ast});t.default=p},80694:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=literalTemplate;var n=r(5447);var i=r(68278);var a=r(1143);function literalTemplate(e,t,r){const{metadata:i,names:s}=buildLiteralData(e,t,r);return t=>{const r={};t.forEach((e,t)=>{r[s[t]]=e});return t=>{const s=(0,n.normalizeReplacements)(t);if(s){Object.keys(s).forEach(e=>{if(Object.prototype.hasOwnProperty.call(r,e)){throw new Error("Unexpected replacement overlap.")}})}return e.unwrap((0,a.default)(i,s?Object.assign(s,r):r))}}}function buildLiteralData(e,t,r){let n;let a;let s;let o="";do{o+="$";const l=buildTemplateCode(t,o);n=l.names;a=new Set(n);s=(0,i.default)(e,e.code(l.code),{parser:r.parser,placeholderWhitelist:new Set(l.names.concat(r.placeholderWhitelist?Array.from(r.placeholderWhitelist):[])),placeholderPattern:r.placeholderPattern,preserveComments:r.preserveComments,syntacticPlaceholders:r.syntacticPlaceholders})}while(s.placeholders.some(e=>e.isDuplicate&&a.has(e.name)));return{metadata:s,names:n}}function buildTemplateCode(e,t){const r=[];let n=e[0];for(let i=1;i{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.merge=merge;t.validate=validate;t.normalizeReplacements=normalizeReplacements;function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var i,a;for(a=0;a=0)continue;r[i]=e[i]}return r}function merge(e,t){const{placeholderWhitelist:r=e.placeholderWhitelist,placeholderPattern:n=e.placeholderPattern,preserveComments:i=e.preserveComments,syntacticPlaceholders:a=e.syntacticPlaceholders}=t;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:r,placeholderPattern:n,preserveComments:i,syntacticPlaceholders:a}}function validate(e){if(e!=null&&typeof e!=="object"){throw new Error("Unknown template options.")}const t=e||{},{placeholderWhitelist:r,placeholderPattern:n,preserveComments:i,syntacticPlaceholders:a}=t,s=_objectWithoutPropertiesLoose(t,["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]);if(r!=null&&!(r instanceof Set)){throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined")}if(n!=null&&!(n instanceof RegExp)&&n!==false){throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined")}if(i!=null&&typeof i!=="boolean"){throw new Error("'.preserveComments' must be a boolean, null, or undefined")}if(a!=null&&typeof a!=="boolean"){throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined")}if(a===true&&(r!=null||n!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}return{parser:s,placeholderWhitelist:r||undefined,placeholderPattern:n==null?undefined:n,preserveComments:i==null?undefined:i,syntacticPlaceholders:a==null?undefined:a}}function normalizeReplacements(e){if(Array.isArray(e)){return e.reduce((e,t,r)=>{e["$"+r]=t;return e},{})}else if(typeof e==="object"||e==null){return e||undefined}throw new Error("Template replacements must be an array, object, null, or undefined")}},68278:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parseAndBuildMetadata;var n=r(30632);var i=r(58199);var a=r(67689);const s=/^[_$A-Z0-9]+$/;function parseAndBuildMetadata(e,t,r){const{placeholderWhitelist:i,placeholderPattern:a,preserveComments:s,syntacticPlaceholders:o}=r;const l=parseWithCodeFrame(t,r.parser,o);n.removePropertiesDeep(l,{preserveComments:s});e.validate(l);const u={placeholders:[],placeholderNames:new Set};const p={placeholders:[],placeholderNames:new Set};const f={value:undefined};n.traverse(l,placeholderVisitorHandler,{syntactic:u,legacy:p,isLegacyRef:f,placeholderWhitelist:i,placeholderPattern:a,syntacticPlaceholders:o});return Object.assign({ast:l},f.value?p:u)}function placeholderVisitorHandler(e,t,r){var i;let a;if(n.isPlaceholder(e)){if(r.syntacticPlaceholders===false){throw new Error("%%foo%%-style placeholders can't be used when "+"'.syntacticPlaceholders' is false.")}else{a=e.name.name;r.isLegacyRef.value=false}}else if(r.isLegacyRef.value===false||r.syntacticPlaceholders){return}else if(n.isIdentifier(e)||n.isJSXIdentifier(e)){a=e.name;r.isLegacyRef.value=true}else if(n.isStringLiteral(e)){a=e.value;r.isLegacyRef.value=true}else{return}if(!r.isLegacyRef.value&&(r.placeholderPattern!=null||r.placeholderWhitelist!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}if(r.isLegacyRef.value&&(r.placeholderPattern===false||!(r.placeholderPattern||s).test(a))&&!((i=r.placeholderWhitelist)!=null&&i.has(a))){return}t=t.slice();const{node:o,key:l}=t[t.length-1];let u;if(n.isStringLiteral(e)||n.isPlaceholder(e,{expectedNode:"StringLiteral"})){u="string"}else if(n.isNewExpression(o)&&l==="arguments"||n.isCallExpression(o)&&l==="arguments"||n.isFunction(o)&&l==="params"){u="param"}else if(n.isExpressionStatement(o)&&!n.isPlaceholder(e)){u="statement";t=t.slice(0,-1)}else if(n.isStatement(e)&&n.isPlaceholder(e)){u="statement"}else{u="other"}const{placeholders:p,placeholderNames:f}=r.isLegacyRef.value?r.legacy:r.syntactic;p.push({name:a,type:u,resolve:e=>resolveAncestors(e,t),isDuplicate:f.has(a)});f.add(a)}function resolveAncestors(e,t){let r=e;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=populatePlaceholders;var n=r(30632);function populatePlaceholders(e,t){const r=n.cloneNode(e.ast);if(t){e.placeholders.forEach(e=>{if(!Object.prototype.hasOwnProperty.call(t,e.name)){const t=e.name;throw new Error(`Error: No substitution given for "${t}". If this is not meant to be a\n placeholder you may want to consider passing one of the following options to @babel/template:\n - { placeholderPattern: false, placeholderWhitelist: new Set(['${t}'])}\n - { placeholderPattern: /^${t}$/ }`)}});Object.keys(t).forEach(t=>{if(!e.placeholderNames.has(t)){throw new Error(`Unknown substitution "${t}" given`)}})}e.placeholders.slice().reverse().forEach(e=>{try{applyReplacement(e,r,t&&t[e.name]||null)}catch(t){t.message=`@babel/template placeholder "${e.name}": ${t.message}`;throw t}});return r}function applyReplacement(e,t,r){if(e.isDuplicate){if(Array.isArray(r)){r=r.map(e=>n.cloneNode(e))}else if(typeof r==="object"){r=n.cloneNode(r)}}const{parent:i,key:a,index:s}=e.resolve(t);if(e.type==="string"){if(typeof r==="string"){r=n.stringLiteral(r)}if(!r||!n.isStringLiteral(r)){throw new Error("Expected string substitution")}}else if(e.type==="statement"){if(s===undefined){if(!r){r=n.emptyStatement()}else if(Array.isArray(r)){r=n.blockStatement(r)}else if(typeof r==="string"){r=n.expressionStatement(n.identifier(r))}else if(!n.isStatement(r)){r=n.expressionStatement(r)}}else{if(r&&!Array.isArray(r)){if(typeof r==="string"){r=n.identifier(r)}if(!n.isStatement(r)){r=n.expressionStatement(r)}}}}else if(e.type==="param"){if(typeof r==="string"){r=n.identifier(r)}if(s===undefined)throw new Error("Assertion failure.")}else{if(typeof r==="string"){r=n.identifier(r)}if(Array.isArray(r)){throw new Error("Cannot replace single expression with an array.")}}if(s===undefined){n.validate(i,a,r);i[a]=r}else{const t=i[a].slice();if(e.type==="statement"||e.type==="param"){if(r==null){t.splice(s,1)}else if(Array.isArray(r)){t.splice(s,1,...r)}else{t[s]=r}}else{t[s]=r}n.validate(i,a,t);i[a]=t}}},26522:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=stringTemplate;var n=r(5447);var i=r(68278);var a=r(1143);function stringTemplate(e,t,r){t=e.code(t);let s;return o=>{const l=(0,n.normalizeReplacements)(o);if(!s)s=(0,i.default)(e,t,r);return e.unwrap((0,a.default)(s,l))}}},67689:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var n=r(30250);let i=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const a=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const i=Object.assign({},n,e.end);const{linesAbove:a=2,linesBelow:s=3}=r||{};const o=n.line;const l=n.column;const u=i.line;const p=i.column;let f=Math.max(o-(a+1),0);let c=Math.min(t.length,u+s);if(o===-1){f=0}if(u===-1){c=t.length}const d=u-o;const y={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){y[r]=true}else if(e===0){const e=t[r-1].length;y[r]=[l,e-l+1]}else if(e===d){y[r]=[0,p]}else{const n=t[r-e].length;y[r]=[0,n]}}}else{if(l===p){if(l){y[o]=[l,0]}else{y[o]=true}}else{y[o]=[l,p-l]}}return{start:f,end:c,markerLines:y}}function codeFrameColumns(e,t,r={}){const i=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const s=(0,n.getChalk)(r);const o=getDefs(s);const l=(e,t)=>{return i?e(t):t};const u=e.split(a);const{start:p,end:f,markerLines:c}=getMarkerLines(t,u,r);const d=t.start&&typeof t.start.column==="number";const y=String(f).length;const m=i?(0,n.default)(e,r):e;let T=m.split(a).slice(p,f).map((e,t)=>{const n=p+1+t;const i=` ${n}`.slice(-y);const a=` ${i} |`;const s=c[n];const u=!c[n+1];if(s){let t="";if(Array.isArray(s)){const n=e.slice(0,Math.max(s[0]-1,0)).replace(/[^\t]/g," ");const i=s[1]||1;t=["\n ",l(o.gutter,a.replace(/\d/g," "))," ",n,l(o.marker,"^").repeat(i)].join("");if(u&&r.message){t+=" "+l(o.message,r.message)}}return[l(o.marker,">"),l(o.gutter,a),e.length>0?` ${e}`:"",t].join("")}else{return` ${l(o.gutter,a)}${e.length>0?` ${e}`:""}`}}).join("\n");if(r.message&&!d){T=`${" ".repeat(y+1)}${r.message}\n${T}`}if(i){return s.reset(T)}else{return T}}function _default(e,t,r,n={}){if(!i){i=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const a={start:{column:r,line:t}};return codeFrameColumns(e,a,n)}},40689:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const i=new RegExp("["+r+"]");const a=new RegExp("["+r+n+"]");r=n=null;const s=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,s)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&a.test(String.fromCharCode(e))}return isInAstralSet(e,s)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});var n=r(40689);var i=r(80746)},80746:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const i=new Set(r.strict);const a=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||i.has(e)}function isStrictBindOnlyReservedWord(e){return a.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},30250:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldHighlight=shouldHighlight;t.getChalk=getChalk;t.default=highlight;var n=r(52388);var i=r(72725);var a=r(72242);const s=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let u;{const e=/^[a-z][\w-]*$/i;const t=function(t,r,n){if(t.type==="name"){if((0,i.isKeyword)(t.value)||(0,i.isStrictReservedWord)(t.value,true)||s.has(t.value)){return"keyword"}if(e.test(t.value)&&(n[r-1]==="<"||n.substr(r-2,2)=="t(e)).join("\n")}else{r+=i}}return r}function shouldHighlight(e){return!!a.supportsColor||e.forceColor}function getChalk(e){return e.forceColor?new a.constructor({enabled:true,level:1}):a}function highlight(e,t={}){if(shouldHighlight(t)){const r=getChalk(t);const n=getDefs(r);return highlightTokens(n,e)}else{return e}}},58199:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r=true;const n=true;const i=true;const a=true;const s=true;const o=true;class TokenType{constructor(e,t={}){this.label=void 0;this.keyword=void 0;this.beforeExpr=void 0;this.startsExpr=void 0;this.rightAssociative=void 0;this.isLoop=void 0;this.isAssign=void 0;this.prefix=void 0;this.postfix=void 0;this.binop=void 0;this.updateContext=void 0;this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.rightAssociative=!!t.rightAssociative;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop!=null?t.binop:null;this.updateContext=null}}const l=new Map;function createKeyword(e,t={}){t.keyword=e;const r=new TokenType(e,t);l.set(e,r);return r}function createBinop(e,t){return new TokenType(e,{beforeExpr:r,binop:t})}const u={num:new TokenType("num",{startsExpr:n}),bigint:new TokenType("bigint",{startsExpr:n}),decimal:new TokenType("decimal",{startsExpr:n}),regexp:new TokenType("regexp",{startsExpr:n}),string:new TokenType("string",{startsExpr:n}),name:new TokenType("name",{startsExpr:n}),privateName:new TokenType("#name",{startsExpr:n}),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:r,startsExpr:n}),bracketHashL:new TokenType("#[",{beforeExpr:r,startsExpr:n}),bracketBarL:new TokenType("[|",{beforeExpr:r,startsExpr:n}),bracketR:new TokenType("]"),bracketBarR:new TokenType("|]"),braceL:new TokenType("{",{beforeExpr:r,startsExpr:n}),braceBarL:new TokenType("{|",{beforeExpr:r,startsExpr:n}),braceHashL:new TokenType("#{",{beforeExpr:r,startsExpr:n}),braceR:new TokenType("}",{beforeExpr:r}),braceBarR:new TokenType("|}"),parenL:new TokenType("(",{beforeExpr:r,startsExpr:n}),parenR:new TokenType(")"),comma:new TokenType(",",{beforeExpr:r}),semi:new TokenType(";",{beforeExpr:r}),colon:new TokenType(":",{beforeExpr:r}),doubleColon:new TokenType("::",{beforeExpr:r}),dot:new TokenType("."),question:new TokenType("?",{beforeExpr:r}),questionDot:new TokenType("?."),arrow:new TokenType("=>",{beforeExpr:r}),template:new TokenType("template"),ellipsis:new TokenType("...",{beforeExpr:r}),backQuote:new TokenType("`",{startsExpr:n}),dollarBraceL:new TokenType("${",{beforeExpr:r,startsExpr:n}),at:new TokenType("@"),hash:new TokenType("#",{startsExpr:n}),interpreterDirective:new TokenType("#!..."),eq:new TokenType("=",{beforeExpr:r,isAssign:a}),assign:new TokenType("_=",{beforeExpr:r,isAssign:a}),slashAssign:new TokenType("_=",{beforeExpr:r,isAssign:a}),incDec:new TokenType("++/--",{prefix:s,postfix:o,startsExpr:n}),bang:new TokenType("!",{beforeExpr:r,prefix:s,startsExpr:n}),tilde:new TokenType("~",{beforeExpr:r,prefix:s,startsExpr:n}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:r,binop:9,prefix:s,startsExpr:n}),modulo:new TokenType("%",{beforeExpr:r,binop:10,startsExpr:n}),star:new TokenType("*",{binop:10}),slash:createBinop("/",10),exponent:new TokenType("**",{beforeExpr:r,binop:11,rightAssociative:true}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:r}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:r}),_do:createKeyword("do",{isLoop:i,beforeExpr:r}),_else:createKeyword("else",{beforeExpr:r}),_finally:createKeyword("finally"),_for:createKeyword("for",{isLoop:i}),_function:createKeyword("function",{startsExpr:n}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:r}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:r,prefix:s,startsExpr:n}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_while:createKeyword("while",{isLoop:i}),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:r,startsExpr:n}),_this:createKeyword("this",{startsExpr:n}),_super:createKeyword("super",{startsExpr:n}),_class:createKeyword("class",{startsExpr:n}),_extends:createKeyword("extends",{beforeExpr:r}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:n}),_null:createKeyword("null",{startsExpr:n}),_true:createKeyword("true",{startsExpr:n}),_false:createKeyword("false",{startsExpr:n}),_in:createKeyword("in",{beforeExpr:r,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:r,binop:7}),_typeof:createKeyword("typeof",{beforeExpr:r,prefix:s,startsExpr:n}),_void:createKeyword("void",{beforeExpr:r,prefix:s,startsExpr:n}),_delete:createKeyword("delete",{beforeExpr:r,prefix:s,startsExpr:n})};const p=/\r\n?|[\n\u2028\u2029]/;const f=new RegExp(p.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const c=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function isWhitespace(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return true;default:return false}}class Position{constructor(e,t){this.line=void 0;this.column=void 0;this.line=e;this.column=t}}class SourceLocation{constructor(e,t){this.start=void 0;this.end=void 0;this.filename=void 0;this.identifierName=void 0;this.start=e;this.end=t}}function getLineInfo(e,t){let r=1;let n=0;let i;f.lastIndex=0;while((i=f.exec(e))&&i.index0){n=t[--i]}if(n===null){return}for(let e=0;e0){n.trailingComments=a}else if(n.trailingComments!==undefined){n.trailingComments=[]}}processComment(e){if(e.type==="Program"&&e.body.length>0)return;const t=this.state.commentStack;let r,n,i,a,s;if(this.state.trailingComments.length>0){if(this.state.trailingComments[0].start>=e.end){i=this.state.trailingComments;this.state.trailingComments=[]}else{this.state.trailingComments.length=0}}else if(t.length>0){const r=last(t);if(r.trailingComments&&r.trailingComments[0].start>=e.end){i=r.trailingComments;delete r.trailingComments}}if(t.length>0&&last(t).start>=e.start){r=t.pop()}while(t.length>0&&last(t).start>=e.start){n=t.pop()}if(!n&&r)n=r;if(r){switch(e.type){case"ObjectExpression":this.adjustCommentsAfterTrailingComma(e,e.properties);break;case"ObjectPattern":this.adjustCommentsAfterTrailingComma(e,e.properties,true);break;case"CallExpression":this.adjustCommentsAfterTrailingComma(e,e.arguments);break;case"ArrayExpression":this.adjustCommentsAfterTrailingComma(e,e.elements);break;case"ArrayPattern":this.adjustCommentsAfterTrailingComma(e,e.elements,true);break}}else if(this.state.commentPreviousNode&&(this.state.commentPreviousNode.type==="ImportSpecifier"&&e.type!=="ImportSpecifier"||this.state.commentPreviousNode.type==="ExportSpecifier"&&e.type!=="ExportSpecifier")){this.adjustCommentsAfterTrailingComma(e,[this.state.commentPreviousNode])}if(n){if(n.leadingComments){if(n!==e&&n.leadingComments.length>0&&last(n.leadingComments).end<=e.start){e.leadingComments=n.leadingComments;delete n.leadingComments}else{for(a=n.leadingComments.length-2;a>=0;--a){if(n.leadingComments[a].end<=e.start){e.leadingComments=n.leadingComments.splice(0,a+1);break}}}}}else if(this.state.leadingComments.length>0){if(last(this.state.leadingComments).end<=e.start){if(this.state.commentPreviousNode){for(s=0;s0){e.leadingComments=this.state.leadingComments;this.state.leadingComments=[]}}else{for(a=0;ae.start){break}}const t=this.state.leadingComments.slice(0,a);if(t.length){e.leadingComments=t}i=this.state.leadingComments.slice(a);if(i.length===0){i=null}}}this.state.commentPreviousNode=e;if(i){if(i.length&&i[0].start>=e.start&&last(i).end<=e.end){e.innerComments=i}else{const t=i.findIndex(t=>t.end>=e.end);if(t>0){e.innerComments=i.slice(0,t);e.trailingComments=i.slice(t)}else{e.trailingComments=i}}}t.push(e)}}const d=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const y=makeErrorTemplates({AccessorIsGenerator:"A %0ter cannot be a generator.",ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accesor must not have any formal parameters.",BadSetterArity:"A 'set' accesor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accesor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:"'%0' require an initialization value.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:"`%0` has already been exported. Exported identifiers must be unique.",DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '%0' as '%1' } from 'some-module'`?",ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:"'%0' loop variable declaration may not have an initializer.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:"Unsyntactic %0.",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:'A string literal cannot be used as an imported binding.\n- Did you mean `import { "%0" as foo }`?',ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:"`import()` requires exactly %0.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidDecimal:"Invalid decimal.",InvalidDigit:"Expected number in radix %0.",InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:"Escape sequence in keyword %0.",InvalidIdentifier:"Invalid identifier %0.",InvalidLhs:"Invalid left-hand side in %0.",InvalidLhsBinding:"Binding invalid left-hand side in %0.",InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:"Unexpected character '%0'.",InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:"Private name #%0 is not defined.",InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:"Label '%0' is already declared.",LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:'Duplicate key "%0" is not allowed in module attributes.',ModuleExportNameHasLoneSurrogate:"An export name cannot include a lone surrogate, found '\\u%0'.",ModuleExportUndefined:"Export '%0' is not defined.",MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:"Primary Topic Reference found but pipelineOperator not passed 'smart' for 'proposal' option.",PrivateInExpectedIn:"Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`).",PrivateNameRedeclaration:"Duplicate private name #%0.",RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:"Assigning to '%0' in strict mode.",StrictEvalArgumentsBinding:"Binding '%0' in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:"Unexpected keyword '%0'.",UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Private names can only be used as the name of a class element (i.e. class C { #p = 42; #m() {} } )\n or a property of member expression (i.e. this.#p).",UnexpectedReservedWord:"Unexpected reserved word '%0'.",UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:"Unexpected token '%0'.",UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:"The only valid meta property for %0 is %0.%1.",UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",VarRedeclaration:"Identifier '%0' has already been declared.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},d.SyntaxError);const m=makeErrorTemplates({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},d.SourceTypeModuleError);function makeErrorTemplates(e,t){const r={};Object.keys(e).forEach(n=>{r[n]=Object.freeze({code:t,reasonCode:n,template:e[n]})});return Object.freeze(r)}class ParserError extends CommentsParser{getLocationForPosition(e){let t;if(e===this.state.start)t=this.state.startLoc;else if(e===this.state.lastTokStart)t=this.state.lastTokStartLoc;else if(e===this.state.end)t=this.state.endLoc;else if(e===this.state.lastTokEnd)t=this.state.lastTokEndLoc;else t=getLineInfo(this.input,e);return t}raise(e,{code:t,reasonCode:r,template:n},...i){return this.raiseWithData(e,{code:t,reasonCode:r},n,...i)}raiseOverwrite(e,{code:t,template:r},...n){const i=this.getLocationForPosition(e);const a=r.replace(/%(\d+)/g,(e,t)=>n[t])+` (${i.line}:${i.column})`;if(this.options.errorRecovery){const t=this.state.errors;for(let r=t.length-1;r>=0;r--){const n=t[r];if(n.pos===e){return Object.assign(n,{message:a})}else if(n.posn[t])+` (${i.line}:${i.column})`;return this._raise(Object.assign({loc:i,pos:e},t),a)}_raise(e,t){const r=new SyntaxError(t);Object.assign(r,e);if(this.options.errorRecovery){if(!this.isLookahead)this.state.errors.push(r);return r}else{throw r}}}var T=e=>(class extends e{parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const n=this.estreeParseLiteral(r);n.regex={pattern:e,flags:t};return n}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);r.bigint=String(r.value||e);return r}parseDecimalLiteral(e){const t=null;const r=this.estreeParseLiteral(t);r.decimal=String(r.value||e);return r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;const r=this.startNodeAt(e.start,e.loc.start);const n=this.startNodeAt(t.start,t.loc.start);n.value=t.extra.expressionValue;n.raw=t.extra.raw;r.expression=this.finishNodeAt(n,"Literal",t.end,t.loc.end);r.directive=t.extra.raw.slice(1,-1);return this.finishNodeAt(r,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}stmtToDirective(e){const t=super.stmtToDirective(e);const r=e.expression.value;this.addExtra(t.value,"expressionValue",r);return t}parseBlockBody(e,...t){super.parseBlockBody(e,...t);const r=e.directives.map(e=>this.directiveToStmt(e));e.body=r.concat(e.body);delete e.directives}pushClassMethod(e,t,r,n,i,a){this.parseMethod(t,r,n,i,a,"ClassMethod",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parseMaybePrivateName(...e){const t=super.parseMaybePrivateName(...e);if(t.type==="PrivateName"&&this.getPluginOption("estree","classFeatures")){return this.convertPrivateNameToPrivateIdentifier(t)}return t}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}return e.name}parseLiteral(e,t){const r=super.parseLiteral(e,t);r.raw=r.extra.raw;delete r.extra;return r}parseFunctionBody(e,t,r=false){super.parseFunctionBody(e,t,r);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,r,n,i,a,s=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,r,n,i,a,s);o.type="FunctionExpression";delete o.kind;e.value=o;if(a==="ClassPrivateMethod"){e.computed=false}a="MethodDefinition";return this.finishNode(e,a)}parseClassProperty(...e){const t=super.parseClassProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition"}return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);if(this.getPluginOption("estree","classFeatures")){t.type="PropertyDefinition";t.computed=false}return t}parseObjectMethod(e,t,r,n,i){const a=super.parseObjectMethod(e,t,r,n,i);if(a){a.type="Property";if(a.kind==="method")a.kind="init";a.shorthand=false}return a}parseObjectProperty(e,t,r,n,i){const a=super.parseObjectProperty(e,t,r,n,i);if(a){a.kind="init";a.type="Property"}return a}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){this.toAssignable(e.value,t);return e}return super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){if(e.kind==="get"||e.kind==="set"){this.raise(e.key.start,y.PatternHasAccessor)}else if(e.method){this.raise(e.key.start,y.PatternHasMethod)}else{super.toAssignableObjectExpressionProp(e,...t)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];if(this.hasPlugin("importAssertions")){var r;e.attributes=(r=e.arguments[1])!=null?r:null}delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,r,n,i){const a=super.parseSubscript(e,t,r,n,i);if(i.optionalChainMember){if(a.type==="OptionalMemberExpression"||a.type==="OptionalCallExpression"){a.type=a.type.substring(8)}if(i.stop){const e=this.startNodeAtNode(a);e.expression=a;return this.finishNode(e,"ChainExpression")}}else if(a.type==="MemberExpression"||a.type==="CallExpression"){a.optional=false}return a}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}});class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const S={brace:new TokContext("{"),templateQuasi:new TokContext("${"),template:new TokContext("`",true)};u.braceR.updateContext=(e=>{if(e.length>1){e.pop()}});u.braceL.updateContext=u.braceHashL.updateContext=(e=>{e.push(S.brace)});u.dollarBraceL.updateContext=(e=>{e.push(S.templateQuasi)});u.backQuote.updateContext=(e=>{if(e[e.length-1]===S.template){e.pop()}else{e.push(S.template)}});let h="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let E="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const b=new RegExp("["+h+"]");const P=new RegExp("["+h+E+"]");h=E=null;const x=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const g=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,i=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&b.test(String.fromCharCode(e))}return isInAstralSet(e,x)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&P.test(String.fromCharCode(e))}return isInAstralSet(e,x)||isInAstralSet(e,g)}const A={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const v=new Set(A.keyword);const O=new Set(A.strict);const I=new Set(A.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||O.has(e)}function isStrictBindOnlyReservedWord(e){return I.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return v.has(e)}function isIteratorStart(e,t){return e===64&&t===64}const D=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function canBeReservedWord(e){return D.has(e)}const N=0,w=1,C=2,j=4,L=8,M=16,B=32,F=64,_=128,R=256,k=w|C|R;const K=1,V=2,X=4,J=8,Y=16,U=64,W=128,q=256,G=512,z=1024,H=2048;const Q=K|V|J|W,$=K|0|J|0,Z=K|0|X|0,ee=K|0|Y|0,te=0|V|0|W,re=0|V|0|0,ne=K|V|J|q,ie=0|0|0|z,ae=0|0|0|U,se=K|0|0|U,oe=ne|G,le=0|0|0|z,ue=H;const pe=4,fe=2,ce=1,de=fe|ce;const ye=fe|pe,me=ce|pe,Te=fe,Se=ce,he=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.scopeStack=[];this.undefinedExports=new Map;this.undefinedPrivateNames=new Map;this.raise=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&C)>0}get allowSuper(){return(this.currentThisScopeFlags()&M)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&B)>0}get inClass(){return(this.currentThisScopeFlags()&F)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&F)>0&&(e&C)===0}get inStaticBlock(){return(this.currentThisScopeFlags()&_)>0}get inNonArrowFunction(){return(this.currentThisScopeFlags()&C)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&C||!this.inModule&&e.flags&w)}declareName(e,t,r){let n=this.currentScope();if(t&J||t&Y){this.checkRedeclarationInScope(n,e,t,r);if(t&Y){n.functions.add(e)}else{n.lexical.add(e)}if(t&J){this.maybeExportDefined(n,e)}}else if(t&X){for(let i=this.scopeStack.length-1;i>=0;--i){n=this.scopeStack[i];this.checkRedeclarationInScope(n,e,t,r);n.var.add(e);this.maybeExportDefined(n,e);if(n.flags&k)break}}if(this.inModule&&n.flags&w){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.inModule&&e.flags&w){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,r,n){if(this.isRedeclaredInScope(e,t,r)){this.raise(n,y.VarRedeclaration,t)}}isRedeclaredInScope(e,t,r){if(!(r&K))return false;if(r&J){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(r&Y){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&L&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const r=this.scopeStack[0];if(!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)){this.undefinedExports.set(t,e.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&k){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(k|F)&&!(t&j)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,r){const n=this.currentScope();if(t&H){this.checkRedeclarationInScope(n,e,t,r);this.maybeExportDefined(n,e);n.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,r){if(super.isRedeclaredInScope(...arguments))return true;if(r&H){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}const Ee=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]);const be=makeErrorTemplates({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:"Cannot overwrite reserved type %0.",DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:"Boolean enum members need to be initialized. Use either `%0 = true,` or `%0 = false,` in enum `%1`.",EnumDuplicateMemberName:"Enum member names need to be unique, but the name `%0` has already been used before in enum `%1`.",EnumInconsistentMemberValues:"Enum `%0` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.",EnumInvalidExplicitType:"Enum type `%1` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidExplicitTypeUnknownSupplied:"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidMemberInitializerPrimaryType:"Enum `%0` has type `%2`, so the initializer of `%1` needs to be a %2 literal.",EnumInvalidMemberInitializerSymbolType:"Symbol enum members cannot be initialized. Use `%1,` in enum `%0`.",EnumInvalidMemberInitializerUnknownType:"The enum member initializer for `%1` needs to be a literal (either a boolean, number, or string) in enum `%0`.",EnumInvalidMemberName:"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%0`, consider using `%1`, in enum `%2`.",EnumNumberMemberNotInitialized:"Number enum members need to be initialized, e.g. `%1 = 1` in enum `%0`.",EnumStringMemberInconsistentlyInitailized:"String enum members need to consistently either all use initializers, or use no initializers, in enum `%0`.",GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",OptionalBindingPattern:"A binding pattern parameter cannot be optional in an implementation signature.",SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:"Unexpected reserved type %0.",UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:"`declare export %0` is not supported. Use `%1` instead.",UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."},d.SyntaxError);function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return(e.type===u.name||!!e.type.keyword)&&e.value!=="from"}const Pe={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const r=[];const n=[];for(let i=0;i(class extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==u.string&&e!==u.semi&&e!==u.interpreterDirective){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=xe.exec(e.value);if(!t) ;else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||u.colon);const r=this.flowParseType();this.state.inType=t;return r}flowParsePredicate(){const e=this.startNode();const t=this.state.start;this.next();this.expectContextual("checks");if(this.state.lastTokStart>t+1){this.raise(t,be.UnexpectedSpaceBetweenModuloChecks)}if(this.eat(u.parenL)){e.value=this.parseExpression();this.expect(u.parenR);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(u.colon);let t=null;let r=null;if(this.match(u.modulo)){this.state.inType=e;r=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(u.modulo)){r=this.flowParsePredicate()}}return[t,r]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const r=this.startNode();const n=this.startNode();if(this.isRelational("<")){r.typeParameters=this.flowParseTypeParameterDeclaration()}else{r.typeParameters=null}this.expect(u.parenL);const i=this.flowParseFunctionTypeParams();r.params=i.params;r.rest=i.rest;r.this=i._this;this.expect(u.parenR);[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser();n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation");t.typeAnnotation=this.finishNode(n,"TypeAnnotation");this.resetEndLocation(t);this.semicolon();this.scope.declareName(e.id.name,ue,e.id.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(u._class)){return this.flowParseDeclareClass(e)}else if(this.match(u._function)){return this.flowParseDeclareFunction(e)}else if(this.match(u._var)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual("module")){if(this.match(u.dot)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(this.state.lastTokStart,be.NestedDeclareModule)}return this.flowParseDeclareModule(e)}}else if(this.isContextual("type")){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual("opaque")){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual("interface")){return this.flowParseDeclareInterface(e)}else if(this.match(u._export)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,Z,e.id.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(N);if(this.match(u.string)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const r=t.body=[];this.expect(u.braceL);while(!this.match(u.braceR)){let e=this.startNode();if(this.match(u._import)){this.next();if(!this.isContextual("type")&&!this.match(u._typeof)){this.raise(this.state.lastTokStart,be.InvalidNonTypeImportInDeclareModule)}this.parseImport(e)}else{this.expectContextual("declare",be.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}r.push(e)}this.scope.exit();this.expect(u.braceR);this.finishNode(t,"BlockStatement");let n=null;let i=false;r.forEach(e=>{if(isEsModuleType(e)){if(n==="CommonJS"){this.raise(e.start,be.AmbiguousDeclareModuleKind)}n="ES"}else if(e.type==="DeclareModuleExports"){if(i){this.raise(e.start,be.DuplicateDeclareModuleExports)}if(n==="ES"){this.raise(e.start,be.AmbiguousDeclareModuleKind)}n="CommonJS";i=true}});e.kind=n||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(u._export);if(this.eat(u._default)){if(this.match(u._function)||this.match(u._class)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(u._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value;const t=Pe[e];throw this.raise(this.state.start,be.UnsupportedDeclareExportKind,e,t)}if(this.match(u._var)||this.match(u._function)||this.match(u._class)||this.isContextual("opaque")){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(u.star)||this.match(u.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque")){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual("exports");e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?ee:$,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(u.comma))}if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(this.state.start,be.UnexpectedReservedUnderscore)}}checkReservedType(e,t,r){if(!Ee.has(e))return;this.raise(t,r?be.AssignReservedType:be.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.start,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,$,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(u.eq);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual("type");e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,$,e.id.start);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(u.colon)){e.supertype=this.flowParseTypeInitialiser(u.colon)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(u.eq)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.start;const r=this.startNode();const n=this.flowParseVariance();const i=this.flowParseTypeAnnotatableIdentifier();r.name=i.name;r.variance=n;r.bound=i.typeAnnotation;if(this.match(u.eq)){this.eat(u.eq);r.default=this.flowParseType()}else{if(e){this.raise(t,be.MissingTypeParamDefault)}}return this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}let r=false;do{const e=this.flowParseTypeParameter(r);t.params.push(e);if(e.default){r=true}if(!this.isRelational(">")){this.expect(u.comma)}}while(!this.isRelational(">"));this.expectRelational(">");this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");const r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.isRelational(">")){e.params.push(this.flowParseType());if(!this.isRelational(">")){this.expect(u.comma)}}this.state.noAnonFunctionType=r;this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expectRelational("<");while(!this.isRelational(">")){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.isRelational(">")){this.expect(u.comma)}}this.expectRelational(">");this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual("interface");e.extends=[];if(this.eat(u._extends)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(u.num)||this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,r){e.static=t;if(this.lookahead().type===u.colon){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(u.bracketR);e.value=this.flowParseTypeInitialiser();e.variance=r;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(u.bracketR);this.expect(u.bracketR);if(this.isRelational("<")||this.match(u.parenL)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(u.question)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(u.parenL);if(this.match(u._this)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(u.parenR)){this.expect(u.comma)}}while(!this.match(u.parenR)&&!this.match(u.ellipsis)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(u.parenR)){this.expect(u.comma)}}if(this.eat(u.ellipsis)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(u.parenR);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const r=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(r);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:n,allowInexact:i}){const a=this.state.inType;this.state.inType=true;const s=this.startNode();s.callProperties=[];s.properties=[];s.indexers=[];s.internalSlots=[];let o;let l;let p=false;if(t&&this.match(u.braceBarL)){this.expect(u.braceBarL);o=u.braceBarR;l=true}else{this.expect(u.braceL);o=u.braceR;l=false}s.exact=l;while(!this.match(o)){let t=false;let a=null;let o=null;const f=this.startNode();if(n&&this.isContextual("proto")){const t=this.lookahead();if(t.type!==u.colon&&t.type!==u.question){this.next();a=this.state.start;e=false}}if(e&&this.isContextual("static")){const e=this.lookahead();if(e.type!==u.colon&&e.type!==u.question){this.next();t=true}}const c=this.flowParseVariance();if(this.eat(u.bracketL)){if(a!=null){this.unexpected(a)}if(this.eat(u.bracketL)){if(c){this.unexpected(c.start)}s.internalSlots.push(this.flowParseObjectTypeInternalSlot(f,t))}else{s.indexers.push(this.flowParseObjectTypeIndexer(f,t,c))}}else if(this.match(u.parenL)||this.isRelational("<")){if(a!=null){this.unexpected(a)}if(c){this.unexpected(c.start)}s.callProperties.push(this.flowParseObjectTypeCallProperty(f,t))}else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();if(t.type===u.name||t.type===u.string||t.type===u.num){e=this.state.value;this.next()}}const n=this.flowParseObjectTypeProperty(f,t,a,c,e,r,i!=null?i:!l);if(n===null){p=true;o=this.state.lastTokStart}else{s.properties.push(n)}}this.flowObjectTypeSemicolon();if(o&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.raise(o,be.UnexpectedExplicitInexactInObject)}}this.expect(o);if(r){s.inexact=p}const f=this.finishNode(s,"ObjectTypeAnnotation");this.state.inType=a;return f}flowParseObjectTypeProperty(e,t,r,n,i,a,s){if(this.eat(u.ellipsis)){const t=this.match(u.comma)||this.match(u.semi)||this.match(u.braceR)||this.match(u.braceBarR);if(t){if(!a){this.raise(this.state.lastTokStart,be.InexactInsideNonObject)}else if(!s){this.raise(this.state.lastTokStart,be.InexactInsideExact)}if(n){this.raise(n.start,be.InexactVariance)}return null}if(!a){this.raise(this.state.lastTokStart,be.UnexpectedSpreadType)}if(r!=null){this.unexpected(r)}if(n){this.raise(n.start,be.SpreadVariance)}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=r!=null;e.kind=i;let s=false;if(this.isRelational("<")||this.match(u.parenL)){e.method=true;if(r!=null){this.unexpected(r)}if(n){this.unexpected(n.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(i==="get"||i==="set"){this.flowCheckGetterSetterParams(e)}if(!a&&e.key.name==="constructor"&&e.value.this){this.raise(e.value.this.start,be.ThisParamBannedInConstructor)}}else{if(i!=="init")this.unexpected();e.method=false;if(this.eat(u.question)){s=true}e.value=this.flowParseTypeInitialiser();e.variance=n}e.optional=s;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const r=e.start;const n=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.value.this.start,e.kind==="get"?be.GetterMayNotHaveThisParam:be.SetterMayNotHaveThisParam)}if(n!==t){if(e.kind==="get"){this.raise(r,y.BadGetterArity)}else{this.raise(r,y.BadSetterArity)}}if(e.kind==="set"&&e.value.rest){this.raise(r,y.BadSetterRestParameter)}}flowObjectTypeSemicolon(){if(!this.eat(u.semi)&&!this.eat(u.comma)&&!this.match(u.braceR)&&!this.match(u.braceBarR)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start;t=t||this.state.startLoc;let n=r||this.flowParseRestrictedIdentifier(true);while(this.eat(u.dot)){const r=this.startNodeAt(e,t);r.qualification=n;r.id=this.flowParseRestrictedIdentifier(true);n=this.finishNode(r,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t,r){const n=this.startNodeAt(e,t);n.typeParameters=null;n.id=this.flowParseQualifiedTypeIdentifier(e,t,r);if(this.isRelational("<")){n.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(u._typeof);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(u.bracketL);while(this.state.possuper.parseFunctionBody(e,true,r))}return super.parseFunctionBody(e,false,r)}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(e,t,r)}parseStatement(e,t){if(this.state.strict&&this.match(u.name)&&this.state.value==="interface"){const e=this.lookahead();if(e.type===u.name||isKeyword(e.value)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const r=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(r)){this.flowPragma=null}return r}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(u._class)||this.match(u.name)||this.match(u._function)||this.match(u._var)||this.match(u._export)){return this.flowParseDeclare(e)}}else if(this.match(u.name)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){if(this.match(u.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"||this.shouldParseEnums()&&this.state.value==="enum")){return false}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,n){if(!this.match(u.question))return e;if(n){const i=this.tryParse(()=>super.parseConditional(e,t,r));if(!i.node){n.start=i.error.pos||this.state.start;return e}if(i.error)this.state=i.failState;return i.node}this.expect(u.question);const i=this.state.clone();const a=this.state.noArrowAt;const s=this.startNodeAt(t,r);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[p,f]=this.getArrowLikeExpressions(o);if(l||f.length>0){const e=[...a];if(f.length>0){this.state=i;this.state.noArrowAt=e;for(let t=0;t1){this.raise(i.start,be.AmbiguousConditionalArrow)}if(l&&p.length===1){this.state=i;this.state.noArrowAt=e.concat(p[0].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=a;this.expect(u.colon);s.test=e;s.consequent=o;s.alternate=this.forwardNoArrowParamsConversionAt(s,()=>this.parseMaybeAssign(undefined,undefined,undefined));return this.finishNode(s,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(u.colon);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e];const n=[];while(r.length!==0){const e=r.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{n.push(e)}r.push(e.body)}else if(e.type==="ConditionalExpression"){r.push(e.consequent);r.push(e.alternate)}}if(t){n.forEach(e=>this.finishArrowValidation(e));return[n,[]]}return partition(n,e=>e.params.every(e=>this.isAssignable(e,true)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingComma,false);this.scope.enter(C|j);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);r=t();this.state.noArrowParamsConversionAt.pop()}else{r=t()}return r}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(n,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();this.next();if(this.match(u.braceL)){e.specifiers=this.parseExportSpecifiers();this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual("enum")){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual("type")&&this.lookahead().type===u.star){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const t=this.state.start;const r=super.maybeParseExportNamespaceSpecifier(e);if(r&&e.exportKind==="type"){this.unexpected(t)}return r}parseClassId(e,t,r){super.parseClassId(e,t,r);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterDeclaration()}}parseClassMember(e,t,r){const n=this.state.start;if(this.isContextual("declare")){if(this.parseClassMemberFromModifier(e,t)){return}t.declare=true}super.parseClassMember(e,t,r);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(n,be.DeclareClassElement)}else if(t.value){this.raise(t.value.start,be.DeclareClassFieldInitializer)}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(this.state.pos,y.InvalidIdentifier,t)}this.finishToken(u.name,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(u.braceBarL,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(u.relational,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(u.questionDot,2)}return this.finishOp(u.question,1)}else if(isIteratorStart(e,t)){this.state.pos+=2;return this.readIterator()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":return true;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every((e,r)=>{return e.type!=="ObjectMethod"&&(r===t||e.type==="SpreadElement")&&this.isAssignable(e)})}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every(e=>this.isAssignable(e));case"AssignmentExpression":return e.operator==="=";case"ParenthesizedExpression":case"TypeCastExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return false}}toAssignable(e,t=false){if(e.type==="TypeCastExpression"){return super.toAssignable(this.typeCastToParameter(e),t)}else{return super.toAssignable(e,t)}}toAssignableList(e,t,r){for(let t=0;t1||!t)){this.raise(i.typeAnnotation.start,be.TypeCastInPattern)}}return e}parseArrayLike(e,t,r,n){const i=super.parseArrayLike(e,t,r,n);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(i.elements)}return i}checkLVal(e,...t){if(e.type!=="TypeCastExpression"){return super.checkLVal(e,...t)}}parseClassProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(u.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,i,a){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,r,n,i,a);if(t.params&&i){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,be.ThisParamBannedInConstructor)}}else if(t.type==="MethodDefinition"&&i&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(t.start,be.ThisParamBannedInConstructor)}}}pushClassPrivateMethod(e,t,r,n){if(t.variance){this.unexpected(t.variance.start)}delete t.variance;if(this.isRelational("<")){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.isRelational("<")){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(u.comma))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const r=t[0];if(this.isThisParam(r)&&e.kind==="get"){this.raise(r.start,be.GetterMayNotHaveThisParam)}else if(this.isThisParam(r)){this.raise(r.start,be.SetterMayNotHaveThisParam)}}}parsePropertyName(e,t){const r=this.flowParseVariance();const n=super.parsePropertyName(e,t);e.variance=r;return n}parseObjPropValue(e,t,r,n,i,a,s,o){if(e.variance){this.unexpected(e.variance.start)}delete e.variance;let l;if(this.isRelational("<")&&!s){l=this.flowParseTypeParameterDeclaration();if(!this.match(u.parenL))this.unexpected()}super.parseObjPropValue(e,t,r,n,i,a,s,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"){this.raise(e.start,be.OptionalBindingPattern)}if(this.isThisParam(e)){this.raise(e.start,be.ThisParamMayNotBeOptional)}e.optional=true}if(this.match(u.colon)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(e.start,be.ThisParamAnnotationRequired)}if(this.match(u.eq)&&this.isThisParam(e)){this.raise(e.start,be.ThisParamNoDefault)}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,r){const n=super.parseMaybeDefault(e,t,r);if(n.type==="AssignmentPattern"&&n.typeAnnotation&&n.right.startsuper.parseMaybeAssign(e,t,r),i);if(!a.error)return a.node;const{context:n}=this.state;if(n[n.length-1]===S.j_oTag){n.length-=2}else if(n[n.length-1]===S.j_expr){n.length-=1}}if((n=a)!=null&&n.error||this.isRelational("<")){var s,o;i=i||this.state.clone();let n;const l=this.tryParse(i=>{var a;n=this.flowParseTypeParameterDeclaration();const s=this.forwardNoArrowParamsConversionAt(n,()=>{const i=super.parseMaybeAssign(e,t,r);this.resetStartLocationFromNode(i,n);return i});if(s.type!=="ArrowFunctionExpression"&&(a=s.extra)!=null&&a.parenthesized){i()}const o=this.maybeUnwrapTypeCastExpression(s);o.typeParameters=n;this.resetStartLocationFromNode(o,n);return s},i);let u=null;if(l.node&&this.maybeUnwrapTypeCastExpression(l.node).type==="ArrowFunctionExpression"){if(!l.error&&!l.aborted){if(l.node.async){this.raise(n.start,be.UnexpectedTypeParameterBeforeAsyncArrowFunction)}return l.node}u=l.node}if((s=a)!=null&&s.node){this.state=a.failState;return a.node}if(u){this.state=l.failState;return u}if((o=a)!=null&&o.thrown)throw a.error;if(l.thrown)throw l.error;throw this.raise(n.start,be.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t,r)}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(u.arrow))this.unexpected();return r});if(t.thrown)return null;if(t.error)this.state=t.failState;e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(){return this.match(u.colon)||super.shouldParseArrow()}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,r){if(r&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t0){this.raise(e.params[t].start,be.ThisParamMustBeFirst)}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,r,n){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const n=this.startNodeAt(t,r);n.callee=e;n.arguments=this.parseCallExpressionArguments(u.parenR,false);e=this.finishNode(n,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.isRelational("<")){const i=this.state.clone();const a=this.tryParse(e=>this.parseAsyncArrowWithTypeParameters(t,r)||e(),i);if(!a.error&&!a.aborted)return a.node;const s=this.tryParse(()=>super.parseSubscripts(e,t,r,n),i);if(s.node&&!s.error)return s.node;if(a.node){this.state=a.failState;return a.node}if(s.node){this.state=s.failState;return s.node}throw a.error||s.error}return super.parseSubscripts(e,t,r,n)}parseSubscript(e,t,r,n,i){if(this.match(u.questionDot)&&this.isLookaheadToken_lt()){i.optionalChainMember=true;if(n){i.stop=true;return e}this.next();const a=this.startNodeAt(t,r);a.callee=e;a.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(u.parenL);a.arguments=this.parseCallExpressionArguments(u.parenR,false);a.optional=true;return this.finishCallExpression(a,true)}else if(!n&&this.shouldParseTypes()&&this.isRelational("<")){const n=this.startNodeAt(t,r);n.callee=e;const a=this.tryParse(()=>{n.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew();this.expect(u.parenL);n.arguments=this.parseCallExpressionArguments(u.parenR,false);if(i.optionalChainMember)n.optional=false;return this.finishCallExpression(n,i.optionalChainMember)});if(a.node){if(a.error)this.state=a.failState;return a.node}}return super.parseSubscript(e,t,r,n,i)}parseNewArguments(e){let t=null;if(this.shouldParseTypes()&&this.isRelational("<")){t=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node}e.typeArguments=t;super.parseNewArguments(e)}parseAsyncArrowWithTypeParameters(e,t){const r=this.startNodeAt(e,t);this.parseFunctionParams(r);if(!this.parseArrow(r))return;return this.parseArrowExpression(r,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(u.braceBarR,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(this.state.pos,be.UnterminatedFlowComment)}return r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){this.unexpected(null,be.NestedFlowComment)}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1){throw this.raise(this.state.pos-2,y.UnterminatedComment)}this.state.pos=e+3;return}super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const r=this.input.charCodeAt(t+e);const n=this.input.charCodeAt(t+e+1);if(r===58&&n===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(r===58&&n!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(this.state.pos,y.UnterminatedComment)}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,be.EnumBooleanMemberNotInitialized,r,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:r}){const n=r[0].toUpperCase()+r.slice(1);this.raise(e,be.EnumInvalidMemberName,r,n,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:r}){this.raise(e,be.EnumDuplicateMemberName,r,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,be.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:r}){return this.raise(e,r===null?be.EnumInvalidExplicitTypeUnknownSupplied:be.EnumInvalidExplicitType,t,r)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:r,memberName:n}){let i=null;switch(r){case"boolean":case"number":case"string":i=be.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":i=be.EnumInvalidMemberInitializerSymbolType;break;default:i=be.EnumInvalidMemberInitializerUnknownType}return this.raise(e,i,t,n,r)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,be.EnumNumberMemberNotInitialized,t,r)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,be.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start;const t=()=>this.match(u.comma)||this.match(u.braceR);switch(this.state.type){case u.num:{const r=this.parseNumericLiteral(this.state.value);if(t()){return{type:"number",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u.string:{const r=this.parseStringLiteral(this.state.value);if(t()){return{type:"string",pos:r.start,value:r}}return{type:"invalid",pos:e}}case u._true:case u._false:{const r=this.parseBooleanLiteral(this.match(u._true));if(t()){return{type:"boolean",pos:r.start,value:r}}return{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;const t=this.parseIdentifier(true);const r=this.eat(u.eq)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:r}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:n}=t;if(n===null){return}if(n!==r){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set;const n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let i=false;while(!this.match(u.braceR)){if(this.eat(u.ellipsis)){i=true;break}const a=this.startNode();const{id:s,init:o}=this.flowEnumMemberRaw();const l=s.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.flowEnumErrorInvalidMemberName(s.start,{enumName:e,memberName:l})}if(r.has(l)){this.flowEnumErrorDuplicateMemberName(s.start,{enumName:e,memberName:l})}r.add(l);const p={enumName:e,explicitType:t,memberName:l};a.id=s;switch(o.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"boolean");a.init=o.value;n.booleanMembers.push(this.finishNode(a,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"number");a.init=o.value;n.numberMembers.push(this.finishNode(a,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(o.pos,p,"string");a.init=o.value;n.stringMembers.push(this.finishNode(a,"EnumStringMember"));break}case"invalid":{throw this.flowEnumErrorInvalidMemberInitializer(o.pos,p)}case"none":{switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.pos,p);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.pos,p);break;default:n.defaultedMembers.push(this.finishNode(a,"EnumDefaultedMember"))}}}if(!this.match(u.braceR)){this.expect(u.comma)}}return{members:n,hasUnknownMembers:i}}flowEnumStringMembers(e,t,{enumName:r}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:r})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:r})}return e}}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual("of")){if(!this.match(u.name)){throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t})}return t}return null}flowEnumBody(e,{enumName:t,nameLoc:r}){const n=this.flowEnumParseExplicitType({enumName:t});this.expect(u.braceL);const{members:i,hasUnknownMembers:a}=this.flowEnumMembers({enumName:t,explicitType:n});e.hasUnknownMembers=a;switch(n){case"boolean":e.explicitType=true;e.members=i.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=i.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=i.defaultedMembers;this.expect(u.braceR);return this.finishNode(e,"EnumSymbolBody");default:{const n=()=>{e.members=[];this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const a=i.booleanMembers.length;const s=i.numberMembers.length;const o=i.stringMembers.length;const l=i.defaultedMembers.length;if(!a&&!s&&!o&&!l){return n()}else if(!a&&!s){e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t});this.expect(u.braceR);return this.finishNode(e,"EnumStringBody")}else if(!s&&!o&&a>=l){for(const e of i.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.booleanMembers;this.expect(u.braceR);return this.finishNode(e,"EnumBooleanBody")}else if(!a&&!o&&s>=l){for(const e of i.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name})}e.members=i.numberMembers;this.expect(u.braceR);return this.finishNode(e,"EnumNumberBody")}else{this.flowEnumErrorInconsistentMemberValues(r,{enumName:t});return n()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start});return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}});const Ae={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"};class State{constructor(){this.strict=void 0;this.curLine=void 0;this.startLoc=void 0;this.endLoc=void 0;this.errors=[];this.potentialArrowAt=-1;this.noArrowAt=[];this.noArrowParamsConversionAt=[];this.maybeInArrowParameters=false;this.inPipeline=false;this.inType=false;this.noAnonFunctionType=false;this.inPropertyName=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.decoratorStack=[[]];this.comments=[];this.trailingComments=[];this.leadingComments=[];this.commentStack=[];this.commentPreviousNode=null;this.pos=0;this.lineStart=0;this.type=u.eof;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.lastTokEnd=0;this.context=[S.brace];this.exprAllowed=true;this.containsEsc=false;this.strictErrors=new Map;this.tokensLength=0}init(e){this.strict=e.strictMode===false?false:e.sourceType==="module";this.curLine=e.startLine;this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new Position(this.curLine,this.pos-this.lineStart)}clone(e){const t=new State;const r=Object.keys(this);for(let n=0,i=r.length;n.",MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"},d.SyntaxError);S.j_oTag=new TokContext("...",true);u.jsxName=new TokenType("jsxName");u.jsxText=new TokenType("jsxText",{beforeExpr:true});u.jsxTagStart=new TokenType("jsxTagStart",{startsExpr:true});u.jsxTagEnd=new TokenType("jsxTagEnd");u.jsxTagStart.updateContext=(e=>{e.push(S.j_expr);e.push(S.j_oTag)});function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var De=e=>(class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,Ie.UnterminatedJsxContent)}const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){if(r===60&&this.state.exprAllowed){++this.state.pos;return this.finishToken(u.jsxTagStart)}return super.getTokenFromCode(r)}e+=this.input.slice(t,this.state.pos);return this.finishToken(u.jsxText,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;r=e?"\n":"\r\n"}else{r=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return r}jsxReadString(e){let t="";let r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===38){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadEntity();r=this.state.pos}else if(isNewLine(n)){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadNewLine(false);r=this.state.pos}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);return this.finishToken(u.string,t)}jsxReadEntity(){let e="";let t=0;let r;let n=this.input[this.state.pos];const i=++this.state.pos;while(this.state.pos0}get hasYield(){return(this.currentFlags()&we)>0}get hasReturn(){return(this.currentFlags()&je)>0}get hasIn(){return(this.currentFlags()&Le)>0}}function functionFlags(e,t){return(e?Ce:0)|(t?we:0)}function nonNull(e){if(e==null){throw new Error(`Unexpected ${e} value.`)}return e}function assert(e){if(!e){throw new Error("Assert fail")}}const Me=makeErrorTemplates({AbstractMethodHasImplementation:"Method '%0' cannot have an implementation because it is marked abstract.",AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:"'declare' is not allowed in %0ters.",DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:"Accessibility modifier already seen.",DuplicateModifier:"Duplicate modifier: '%0'.",EmptyHeritageClauseType:"'%0' list cannot be empty.",EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",IncompatibleModifiers:"'%0' modifier cannot be used with '%1' modifier.",IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:"Index signatures cannot have an accessibility modifier ('%0').",IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InvalidModifierOnTypeMember:"'%0' modifier cannot appear on a type member.",InvalidModifiersOrder:"'%0' modifier must precede '%1' modifier.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:"Private elements cannot have an accessibility modifier ('%0').",ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got %0."},d.SyntaxError);function keywordTypeFromName(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return undefined}}function tsIsAccessModifier(e){return e==="private"||e==="public"||e==="protected"}var Be=e=>(class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return this.match(u.name)}tsTokenCanFollowModifier(){return(this.match(u.bracketL)||this.match(u.braceL)||this.match(u.star)||this.match(u.ellipsis)||this.match(u.privateName)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e){if(!this.match(u.name)){return undefined}const t=this.state.value;if(e.indexOf(t)!==-1&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return t}return undefined}tsParseModifiers(e,t,r,n){const i=(t,r,n,i)=>{if(r===n&&e[i]){this.raise(t,Me.InvalidModifiersOrder,n,i)}};const a=(t,r,n,i)=>{if(e[n]&&r===i||e[i]&&r===n){this.raise(t,Me.IncompatibleModifiers,n,i)}};for(;;){const s=this.state.start;const o=this.tsParseModifier(t.concat(r!=null?r:[]));if(!o)break;if(tsIsAccessModifier(o)){if(e.accessibility){this.raise(s,Me.DuplicateAccessibilityModifier)}else{i(s,o,o,"override");i(s,o,o,"static");i(s,o,o,"readonly");e.accessibility=o}}else{if(Object.hasOwnProperty.call(e,o)){this.raise(s,Me.DuplicateModifier,o)}else{i(s,o,"static","readonly");i(s,o,"static","override");i(s,o,"override","readonly");i(s,o,"abstract","override");a(s,o,"declare","override");a(s,o,"static","abstract")}e[o]=true}if(r!=null&&r.includes(o)){this.raise(s,n,o)}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(u.braceR);case"HeritageClauseElement":return this.match(u.braceL);case"TupleElementTypes":return this.match(u.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const r=[];while(!this.tsIsListTerminator(e)){r.push(t())}return r}tsParseDelimitedList(e,t){return nonNull(this.tsParseDelimitedListWorker(e,t,true))}tsParseDelimitedListWorker(e,t,r){const n=[];for(;;){if(this.tsIsListTerminator(e)){break}const i=t();if(i==null){return undefined}n.push(i);if(this.eat(u.comma)){continue}if(this.tsIsListTerminator(e)){break}if(r){this.expect(u.comma)}return undefined}return n}tsParseBracketedList(e,t,r,n){if(!n){if(r){this.expect(u.bracketL)}else{this.expectRelational("<")}}const i=this.tsParseDelimitedList(e,t);if(r){this.expect(u.bracketR)}else{this.expectRelational(">")}return i}tsParseImportType(){const e=this.startNode();this.expect(u._import);this.expect(u.parenL);if(!this.match(u.string)){this.raise(this.state.start,Me.UnsupportedImportTypeArgument)}e.argument=this.parseExprAtom();this.expect(u.parenR);if(this.eat(u.dot)){e.qualifier=this.tsParseEntityName(true)}if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();while(this.eat(u.dot)){const r=this.startNodeAtNode(t);r.left=t;r.right=this.parseIdentifier(e);t=this.finishNode(r,"TSQualifiedName")}return t}tsParseTypeReference(){const e=this.startNode();e.typeName=this.tsParseEntityName(false);if(!this.hasPrecedingLineBreak()&&this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(u._typeof);if(this.match(u._import)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName(true)}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsEatThenParseType(u._extends);e.default=this.tsEatThenParseType(u.eq);return this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<")){return this.tsParseTypeParameters()}}tsParseTypeParameters(){const e=this.startNode();if(this.isRelational("<")||this.match(u.jsxTagStart)){this.next()}else{this.unexpected()}e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),false,true);if(e.params.length===0){this.raise(e.start,Me.EmptyTypeParameters)}return this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type===u._const){this.next();return this.tsParseTypeReference()}return null}tsFillSignature(e,t){const r=e===u.arrow;t.typeParameters=this.tsTryParseTypeParameters();this.expect(u.parenL);t.parameters=this.tsParseBindingListForSignature();if(r){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(u.parenR,41).map(e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(e.start,Me.UnsupportedSignatureParameterKind,e.type)}return e})}tsParseTypeMemberSemicolon(){if(!this.eat(u.comma)&&!this.isLineTerminator()){this.expect(u.semi)}}tsParseSignatureMember(e,t){this.tsFillSignature(u.colon,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();return this.eat(u.name)&&this.match(u.colon)}tsTryParseIndexSignature(e){if(!(this.match(u.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(u.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(u.bracketR);e.parameters=[t];const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(u.question))e.optional=true;const r=e;if(this.match(u.parenL)||this.isRelational("<")){if(t){this.raise(e.start,Me.ReadonlyForMethodSignature)}const n=r;if(n.kind&&this.isRelational("<")){this.raise(this.state.pos,Me.AccesorCannotHaveTypeParameters)}this.tsFillSignature(u.colon,n);this.tsParseTypeMemberSemicolon();if(n.kind==="get"){if(n.parameters.length>0){this.raise(this.state.pos,y.BadGetterArity);if(this.isThisParam(n.parameters[0])){this.raise(this.state.pos,Me.AccesorCannotDeclareThisParameter)}}}else if(n.kind==="set"){if(n.parameters.length!==1){this.raise(this.state.pos,y.BadSetterArity)}else{const e=n.parameters[0];if(this.isThisParam(e)){this.raise(this.state.pos,Me.AccesorCannotDeclareThisParameter)}if(e.type==="Identifier"&&e.optional){this.raise(this.state.pos,Me.SetAccesorCannotHaveOptionalParameter)}if(e.type==="RestElement"){this.raise(this.state.pos,Me.SetAccesorCannotHaveRestParameter)}}if(n.typeAnnotation){this.raise(n.typeAnnotation.start,Me.SetAccesorCannotHaveReturnType)}}else{n.kind="method"}return this.finishNode(n,"TSMethodSignature")}else{const e=r;if(t)e.readonly=true;const n=this.tsTryParseTypeAnnotation();if(n)e.typeAnnotation=n;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(u._new)){const t=this.startNode();this.next();if(this.match(u.parenL)||this.isRelational("<")){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],Me.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e,false);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;this.parsePropertyName(e,false)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(u.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(u.braceR);return e}tsIsStartOfMappedType(){this.next();if(this.eat(u.plusMin)){return this.isContextual("readonly")}if(this.isContextual("readonly")){this.next()}if(!this.match(u.bracketL)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(u._in)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.parseIdentifierName(e.start);e.constraint=this.tsExpectThenParseType(u._in);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(u.braceL);if(this.match(u.plusMin)){e.readonly=this.state.value;this.next();this.expectContextual("readonly")}else if(this.eatContextual("readonly")){e.readonly=true}this.expect(u.bracketL);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual("as")?this.tsParseType():null;this.expect(u.bracketR);if(this.match(u.plusMin)){e.optional=this.state.value;this.next();this.expect(u.question)}else if(this.eat(u.question)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(u.braceR);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let r=null;e.elementTypes.forEach(e=>{var n;let{type:i}=e;if(t&&i!=="TSRestType"&&i!=="TSOptionalType"&&!(i==="TSNamedTupleMember"&&e.optional)){this.raise(e.start,Me.OptionalTypeBeforeRequired)}t=t||i==="TSNamedTupleMember"&&e.optional||i==="TSOptionalType";if(i==="TSRestType"){e=e.typeAnnotation;i=e.type}const a=i==="TSNamedTupleMember";r=(n=r)!=null?n:a;if(r!==a){this.raise(e.start,Me.MixedLabeledAndUnlabeledElements)}});return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const r=this.eat(u.ellipsis);let n=this.tsParseType();const i=this.eat(u.question);const a=this.eat(u.colon);if(a){const e=this.startNodeAtNode(n);e.optional=i;if(n.type==="TSTypeReference"&&!n.typeParameters&&n.typeName.type==="Identifier"){e.label=n.typeName}else{this.raise(n.start,Me.InvalidTupleMemberLabel);e.label=n}e.elementType=this.tsParseType();n=this.finishNode(e,"TSNamedTupleMember")}else if(i){const e=this.startNodeAtNode(n);e.typeAnnotation=n;n=this.finishNode(e,"TSOptionalType")}if(r){const r=this.startNodeAt(e,t);r.typeAnnotation=n;n=this.finishNode(r,"TSRestType")}return n}tsParseParenthesizedType(){const e=this.startNode();this.expect(u.parenL);e.typeAnnotation=this.tsParseType();this.expect(u.parenR);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const r=this.startNode();if(e==="TSConstructorType"){r.abstract=!!t;if(t)this.next();this.next()}this.tsFillSignature(u.arrow,r);return this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case u.num:case u.bigint:case u.string:case u._true:case u._false:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case u.name:case u._void:case u._null:{const e=this.match(u._void)?"TSVoidKeyword":this.match(u._null)?"TSNullKeyword":keywordTypeFromName(this.state.value);if(e!==undefined&&this.lookaheadCharCode()!==46){const t=this.startNode();this.next();return this.finishNode(t,e)}return this.tsParseTypeReference()}case u.string:case u.num:case u.bigint:case u._true:case u._false:return this.tsParseLiteralTypeNode();case u.plusMin:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==u.num&&t.type!==u.bigint){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case u._this:return this.tsParseThisTypeOrThisTypePredicate();case u._typeof:return this.tsParseTypeQuery();case u._import:return this.tsParseImportType();case u.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case u.bracketL:return this.tsParseTupleType();case u.parenL:return this.tsParseParenthesizedType();case u.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(u.bracketL)){if(this.match(u.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(u.bracketR);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(u.bracketR);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(e){const t=this.startNode();this.expectContextual(e);t.operator=e;t.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(e==="readonly"){this.tsCheckTypeAnnotationForReadOnly(t)}return this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,Me.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();t.name=this.parseIdentifierName(t.start);e.typeParameter=this.finishNode(t,"TSTypeParameter");return this.finishNode(e,"TSInferType")}tsParseTypeOperatorOrHigher(){const e=["keyof","unique","readonly"].find(e=>this.isContextual(e));return e?this.tsParseTypeOperator(e):this.isContextual("infer")?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}tsParseUnionOrIntersectionType(e,t,r){const n=this.startNode();const i=this.eat(r);const a=[];do{a.push(t())}while(this.eat(r));if(a.length===1&&!i){return a[0]}n.types=a;return this.finishNode(n,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),u.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),u.bitwiseOR)}tsIsStartOfFunctionType(){if(this.isRelational("<")){return true}return this.match(u.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(u.name)||this.match(u._this)){this.next();return true}if(this.match(u.braceL)){let e=1;this.next();while(e>0){if(this.match(u.braceL)){++e}else if(this.match(u.braceR)){--e}this.next()}return true}if(this.match(u.bracketL)){let e=1;this.next();while(e>0){if(this.match(u.bracketL)){++e}else if(this.match(u.bracketR)){--e}this.next()}return true}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(u.parenR)||this.match(u.ellipsis)){return true}if(this.tsSkipParameterStart()){if(this.match(u.colon)||this.match(u.comma)||this.match(u.question)||this.match(u.eq)){return true}if(this.match(u.parenR)){this.next();if(this.match(u.arrow)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const r=this.startNode();const n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(u._this)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){r.parameterName=e;r.asserts=true;r.typeAnnotation=null;e=this.finishNode(r,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,r);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i){if(!n){return this.tsParseTypeAnnotation(false,t)}r.parameterName=this.parseIdentifier();r.asserts=n;r.typeAnnotation=null;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const a=this.tsParseTypeAnnotation(false);r.parameterName=i;r.typeAnnotation=a;r.asserts=n;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(u.colon)?this.tsParseTypeOrTypePredicateAnnotation(u.colon):undefined}tsTryParseTypeAnnotation(){return this.match(u.colon)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(u.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(!this.match(u.name)||this.state.value!=="asserts"||this.hasPrecedingLineBreak()){return false}const e=this.state.containsEsc;this.next();if(!this.match(u.name)&&!this.match(u._this)){return false}if(e){this.raise(this.state.lastTokStart,y.InvalidEscapedReservedWord,"asserts")}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType(()=>{if(e)this.expect(u.colon);t.typeAnnotation=this.tsParseType()});return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(u._extends)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsParseNonConditionalType();this.expect(u.question);t.trueType=this.tsParseType();this.expect(u.colon);t.falseType=this.tsParseType();return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual("abstract")&&this.lookahead().type===u._new}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(u._new)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expectRelational(">");e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start;const r=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));if(!r.length){this.raise(t,Me.EmptyHeritageClauseType,e)}return r}tsParseExpressionWithTypeArguments(){const e=this.startNode();e.expression=this.tsParseEntityName(false);if(this.isRelational("<")){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript interface declaration",te);e.typeParameters=this.tsTryParseTypeParameters();if(this.eat(u._extends)){e.extends=this.tsParseHeritageClause("extends")}const t=this.startNode();t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(t,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript type alias",re);e.typeParameters=this.tsTryParseTypeParameters();e.typeAnnotation=this.tsInType(()=>{this.expect(u.eq);if(this.isContextual("intrinsic")&&this.lookahead().type!==u.dot){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()});this.semicolon();return this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){const t=this.state.inType;this.state.inType=true;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>{e();return this.tsParseType()})}tsParseEnumMember(){const e=this.startNode();e.id=this.match(u.string)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(u.eq)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){if(t)e.const=true;e.id=this.parseIdentifier();this.checkLVal(e.id,"typescript enum declaration",t?oe:ne);this.expect(u.braceL);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(u.braceR);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(N);this.expect(u.braceL);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,u.braceR);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkLVal(e.id,"module or namespace declaration",le)}if(this.eat(u.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(R);this.prodParam.enter(Ne);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual("global")){e.global=true;e.id=this.parseIdentifier()}else if(this.match(u.string)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(u.braceL)){this.scope.enter(R);this.prodParam.enter(Ne);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkLVal(e.id,"import equals declaration",$);this.expect(u.eq);const r=this.tsParseModuleReference();if(e.importKind==="type"&&r.type!=="TSExternalModuleReference"){this.raise(r.start,Me.ImportAliasHasImportType)}e.moduleReference=r;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual("require");this.expect(u.parenL);if(!this.match(u.string)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(u.parenR);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const r=e();this.state=t;return r}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const r=e();if(r!==undefined&&r!==false){return r}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let r;if(this.isContextual("let")){t=u._var;r="let"}return this.tsInAmbientContext(()=>{switch(t){case u._function:e.declare=true;return this.parseFunctionStatement(e,false,true);case u._class:e.declare=true;return this.parseClass(e,true,false);case u._const:if(this.match(u._const)&&this.isLookaheadContextual("enum")){this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}case u._var:r=r||this.state.value;return this.parseVarStatement(e,r);case u.name:{const t=this.state.value;if(t==="global"){return this.tsParseAmbientExternalModuleDeclaration(e)}else{return this.tsParseDeclaration(e,t,true)}}}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(u.braceL)){this.scope.enter(R);this.prodParam.enter(Ne);const r=e;r.global=true;r.id=t;r.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(u._class)||this.match(u.name))){return this.tsParseAbstractDeclaration(e)}break;case"enum":if(r||this.match(u.name)){if(r)this.next();return this.tsParseEnumDeclaration(e,false)}break;case"interface":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseInterfaceDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(u.string)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(r)&&this.match(u.name)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<")){return undefined}const r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const n=this.tsTryParseAndCatch(()=>{const r=this.startNodeAt(e,t);r.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(r);r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(u.arrow);return r});this.state.maybeInArrowParameters=r;if(!n){return undefined}return this.parseArrowExpression(n,null,true)}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType(()=>this.tsInNoContext(()=>{this.expectRelational("<");return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}));if(e.params.length===0){this.raise(e.start,Me.EmptyTypeArguments)}this.expectRelational(">");return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(u.name)){switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return true}}return false}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.start;const n=this.state.startLoc;let i;let a=false;let s=false;if(e!==undefined){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]);i=t.accessibility;s=t.override;a=t.readonly;if(e===false&&(i||a||s)){this.raise(r,Me.UnexpectedParameterModifier)}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(i||a||s){const e=this.startNodeAt(r,n);if(t.length){e.decorators=t}if(i)e.accessibility=i;if(a)e.readonly=a;if(s)e.override=s;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(e.start,Me.UnsupportedParameterPropertyKind)}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(u.colon)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(u.colon)}const n=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"?"TSDeclareMethod":undefined;if(n&&!this.match(u.braceL)&&this.isLineTerminator()){this.finishNode(e,n);return}if(n==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(e.start,Me.DeclareFunctionHasImplementation);if(e.declare){super.parseFunctionBodyAndFinish(e,n,r);return}}super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkLVal(e.id,"function name",ie)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(e.typeAnnotation.start,Me.UnexpectedTypeAnnotation)}})}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,r,n,i){if(!this.hasPrecedingLineBreak()&&this.match(u.bang)){this.state.exprAllowed=false;this.next();const n=this.startNodeAt(t,r);n.expression=e;return this.finishNode(n,"TSNonNullExpression")}if(this.isRelational("<")){const a=this.tsTryParseAndCatch(()=>{if(!n&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,r);if(e){return e}}const a=this.startNodeAt(t,r);a.callee=e;const s=this.tsParseTypeArguments();if(s){if(!n&&this.eat(u.parenL)){a.arguments=this.parseCallExpressionArguments(u.parenR,false);this.tsCheckForInvalidTypeCasts(a.arguments);a.typeParameters=s;if(i.optionalChainMember){a.optional=false}return this.finishCallExpression(a,i.optionalChainMember)}else if(this.match(u.backQuote)){const n=this.parseTaggedTemplateExpression(e,t,r,i);n.typeParameters=s;return n}}this.unexpected()});if(a)return a}return super.parseSubscript(e,t,r,n,i)}parseNewArguments(e){if(this.isRelational("<")){const t=this.tsTryParseAndCatch(()=>{const e=this.tsParseTypeArguments();if(!this.match(u.parenL))this.unexpected();return e});if(t){e.typeParameters=t}}super.parseNewArguments(e)}parseExprOp(e,t,r,n){if(nonNull(u._in.binop)>n&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const i=this.startNodeAt(t,r);i.expression=e;const a=this.tsTryNextParseConstantContext();if(a){i.typeAnnotation=a}else{i.typeAnnotation=this.tsNextThenParseType()}this.finishNode(i,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(i,t,r,n)}return super.parseExprOp(e,t,r,n)}checkReservedWord(e,t,r,n){}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(this.match(u.name)||this.match(u.star)||this.match(u.braceL)){let t=this.lookahead();if(this.isContextual("type")&&t.type!==u.comma&&!(t.type===u.name&&t.value==="from")&&t.type!==u.eq){e.importKind="type";this.next();t=this.lookahead()}if(this.match(u.name)&&t.type===u.eq){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(t.start,Me.TypeImportCannotSpecifyDefaultAndNamed)}return t}parseExport(e){if(this.match(u._import)){this.next();if(this.isContextual("type")&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(u.eq)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual("as")){const t=e;this.expectContextual("namespace");t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual("type")&&this.lookahead().type===u.braceL){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===u._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.state.value==="interface"){const e=this.tsParseDeclaration(this.startNode(),this.state.value,true);if(e)return e}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===u._const){const e=this.lookahead();if(e.type===u.name&&e.value==="enum"){const e=this.startNode();this.expect(u._const);this.expectContextual("enum");return this.tsParseEnumDeclaration(e,true)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!e[t]})}parseClassMember(e,t,r){const n=["declare","private","public","protected","override","abstract","readonly"];this.tsParseModifiers(t,n.concat(["static"]));const i=()=>{const i=!!t.static;if(i&&this.eat(u.braceL)){if(this.tsHasSomeModifiers(t,n)){this.raise(this.state.pos,Me.StaticBlockCannotHaveModifier)}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,r,i)}};if(t.declare){this.tsInAmbientContext(i)}else{i()}}parseClassMemberWithIsStatic(e,t,r,n){const i=this.tsTryParseIndexSignature(t);if(i){e.body.push(i);if(t.abstract){this.raise(t.start,Me.IndexSignatureHasAbstract)}if(t.accessibility){this.raise(t.start,Me.IndexSignatureHasAccessibility,t.accessibility)}if(t.declare){this.raise(t.start,Me.IndexSignatureHasDeclare)}if(t.override){this.raise(t.start,Me.IndexSignatureHasOverride)}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(t.start,Me.NonAbstractClassHasAbstractMethod)}if(t.override){if(!r.hadSuperClass){this.raise(t.start,Me.OverrideNotInSubClass)}}super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){const t=this.eat(u.question);if(t)e.optional=true;if(e.readonly&&this.match(u.parenL)){this.raise(e.start,Me.ClassMethodHasReadonly)}if(e.declare&&this.match(u.parenL)){this.raise(e.start,Me.ClassMethodHasDeclare)}}parseExpressionStatement(e,t){const r=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return r||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,r,n){if(!n||!this.match(u.question)){return super.parseConditional(e,t,r,n)}const i=this.tryParse(()=>super.parseConditional(e,t,r));if(!i.node){n.start=i.error.pos||this.state.start;return e}if(i.error)this.state=i.failState;return i.node}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(u.question)){e.optional=true;this.resetEndLocation(e)}if(this.match(u.colon)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start;const r=this.state.startLoc;const n=this.eatContextual("declare");if(n&&(this.isContextual("declare")||!this.shouldParseExportDeclaration())){throw this.raise(this.state.start,Me.ExpectedAmbientAfterExportDeclare)}let i;if(this.match(u.name)){i=this.tsTryParseExportDeclaration()}if(!i){i=super.parseExportDeclaration(e)}if(i&&(i.type==="TSInterfaceDeclaration"||i.type==="TSTypeAliasDeclaration"||n)){e.exportKind="type"}if(i&&n){this.resetStartLocation(i,t,r);i.declare=true}return i}parseClassId(e,t,r){if((!t||r)&&this.isContextual("implements")){return}super.parseClassId(e,t,r,e.declare?ie:Q);const n=this.tsTryParseTypeParameters();if(n)e.typeParameters=n}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(u.bang)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(u.eq)){this.raise(this.state.start,Me.DeclareClassFieldHasInitializer)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(e.start,Me.PrivateElementHasAbstract)}if(e.accessibility){this.raise(e.start,Me.PrivateElementHasAccessibility,e.accessibility)}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,n,i,a){const s=this.tsTryParseTypeParameters();if(s&&i){this.raise(s.start,Me.ConstructorHasTypeParameters)}if(t.declare&&(t.kind==="get"||t.kind==="set")){this.raise(t.start,Me.DeclareAccessor,t.kind)}if(s)t.typeParameters=s;super.pushClassMethod(e,t,r,n,i,a)}pushClassPrivateMethod(e,t,r,n){const i=this.tsTryParseTypeParameters();if(i)t.typeParameters=i;super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.isRelational("<")){e.superTypeParameters=this.tsParseTypeArguments()}if(this.eatContextual("implements")){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&this.eat(u.bang)){e.definite=true}const r=this.tsTryParseTypeAnnotation();if(r){e.id.typeAnnotation=r;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(u.colon)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,r,n,i,a,s,o;let l;let p;let f;if(this.hasPlugin("jsx")&&(this.match(u.jsxTagStart)||this.isRelational("<"))){l=this.state.clone();p=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!p.error)return p.node;const{context:t}=this.state;if(t[t.length-1]===S.j_oTag){t.length-=2}else if(t[t.length-1]===S.j_expr){t.length-=1}}if(!((t=p)!=null&&t.error)&&!this.isRelational("<")){return super.parseMaybeAssign(...e)}let c;l=l||this.state.clone();const d=this.tryParse(t=>{var r,n;c=this.tsParseTypeParameters();const i=super.parseMaybeAssign(...e);if(i.type!=="ArrowFunctionExpression"||(r=i.extra)!=null&&r.parenthesized){t()}if(((n=c)==null?void 0:n.params.length)!==0){this.resetStartLocationFromNode(i,c)}i.typeParameters=c;return i},l);if(!d.error&&!d.aborted)return d.node;if(!p){assert(!this.hasPlugin("jsx"));f=this.tryParse(()=>super.parseMaybeAssign(...e),l);if(!f.error)return f.node}if((r=p)!=null&&r.node){this.state=p.failState;return p.node}if(d.node){this.state=d.failState;return d.node}if((n=f)!=null&&n.node){this.state=f.failState;return f.node}if((i=p)!=null&&i.thrown)throw p.error;if(d.thrown)throw d.error;if((a=f)!=null&&a.thrown)throw f.error;throw((s=p)==null?void 0:s.error)||d.error||((o=f)==null?void 0:o.error)}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.isRelational("<")){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(u.colon)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(u.colon);if(this.canInsertSemicolon()||!this.match(u.arrow))e();return t});if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(u.question)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(e.start,Me.PatternIsOptional)}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}toAssignable(e,t=false){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);return e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...r){var n;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...r);return;case"TSAsExpression":case"TSTypeAssertion":if(!r[0]&&t!=="parenthesized expression"&&!((n=e.extra)!=null&&n.parenthesized)){this.raise(e.start,y.InvalidLhs,t);break}this.checkLVal(e.expression,"parenthesized expression",...r);return;case"TSNonNullExpression":this.checkLVal(e.expression,t,...r);return;default:super.checkLVal(e,t,...r);return}}parseBindingAtom(){switch(this.state.type){case u._this:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(u.parenL)){const r=super.parseMaybeDecoratorArguments(e);r.typeParameters=t;return r}this.unexpected(this.state.start,u.parenL)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(u.comma)&&this.lookaheadCharCode()===e){this.next()}else{super.checkCommaAfterRest(e)}}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.bang)||this.match(u.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.startthis.tsParseTypeArguments());if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const n=r[0];const i=n&&this.isThisParam(n);return i?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,...t){const r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,...t)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e){if(this.match(u._class)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual("interface")){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(e.start,Me.NonClassMethodPropertyHasAbstractModifer);this.next();return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,u._class)}}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(t.start,Me.AbstractMethodHasImplementation,e.type==="Identifier"?e.name:`[${this.input.slice(e.start,e.end)}]`)}}return t}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}});u.placeholder=new TokenType("%%",{startsExpr:true});const Fe=makeErrorTemplates({ClassNameIsRequired:"A class name is required."},d.SyntaxError);var _e=e=>(class extends e{parsePlaceholder(e){if(this.match(u.placeholder)){const t=this.startNode();this.next();this.assertNoSpace("Unexpected space in placeholder.");t.name=super.parseIdentifier(true);this.assertNoSpace("Unexpected space in placeholder.");this.expect(u.placeholder);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(u.placeholder,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){if(e.type!=="Placeholder")super.checkLVal(...arguments)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern";return e}return super.toAssignable(...arguments)}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual("let")){return false}if(e)return false;const t=this.lookahead();if(t.type===u.placeholder){return true}return false}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(u.colon)){const r=e;r.label=this.finishPlaceholder(t,"Identifier");this.next();r.body=this.parseStatement("label");return this.finishNode(r,"LabeledStatement")}this.semicolon();e.name=t.name;return this.finishPlaceholder(e,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(e,t,r){const n=t?"ClassDeclaration":"ClassExpression";this.next();this.takeDecorators(e);const i=this.state.strict;const a=this.parsePlaceholder("Identifier");if(a){if(this.match(u._extends)||this.match(u.placeholder)||this.match(u.braceL)){e.id=a}else if(r||!t){e.id=null;e.body=this.finishPlaceholder(a,"ClassBody");return this.finishNode(e,n)}else{this.unexpected(null,Fe.ClassNameIsRequired)}}else{this.parseClassId(e,t,r)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,i);return this.finishNode(e,n)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(u.comma)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const r=this.startNode();r.exported=t;e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(u._default)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(u.placeholder.label,this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter(e=>e.exported.type==="Placeholder")}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual("from")&&!this.match(u.comma)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const r=this.startNodeAtNode(t);r.local=t;this.finishNode(r,"ImportDefaultSpecifier");e.specifiers.push(r);if(this.eat(u.comma)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual("from");e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}});var Re=e=>(class extends e{parseV8Intrinsic(){if(this.match(u.modulo)){const e=this.state.start;const t=this.startNode();this.eat(u.modulo);if(this.match(u.name)){const e=this.parseIdentifierName(this.state.start);const r=this.createIdentifier(t,e);r.type="V8IntrinsicIdentifier";if(this.match(u.parenL)){return r}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}});function hasPlugin(e,t){return e.some(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}})}function getPluginOption(e,t,r){const n=e.find(e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}});if(n&&Array.isArray(n)){return n[1][r]}return null}const ke=["minimal","smart","fsharp"];const Ke=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option,"+" whose value must be a boolean. If you are migrating from"+" Babylon/Babel 6 or want to use the old decorators proposal, you"+" should use the 'decorators-legacy' plugin instead of 'decorators'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")&&!ke.includes(getPluginOption(e,"pipelineOperator","proposal"))){throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: "+ke.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}}if(hasPlugin(e,"recordAndTuple")&&!Ke.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Ke.map(e=>`'${e}'`).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const Ve={estree:T,jsx:De,flow:ge,typescript:Be,v8intrinsic:Re,placeholders:_e};const Xe=Object.keys(Ve);const Je={sourceType:"script",sourceFilename:undefined,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false};function getOptions(e){const t={};for(const r of Object.keys(Je)){t[r]=e&&e[r]!=null?e[r]:Je[r]}return t}var Ye=function isDigit(e){return e>=48&&e<=57};const Ue=new Set([103,109,115,105,121,117,100]);const We={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]};const qe={};qe.bin=[48,49];qe.oct=[...qe.bin,50,51,52,53,54,55];qe.dec=[...qe.oct,56,57];qe.hex=[...qe.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends ParserError{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(this.state))}this.state.lastTokEnd=this.state.end;this.state.lastTokStart=this.state.start;this.state.lastTokEndLoc=this.state.endLoc;this.state.lastTokStartLoc=this.state.startLoc;this.nextToken()}eat(e){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){c.lastIndex=e;const t=c.exec(this.input);return e+t[0].length}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(t,e));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(!e.preserveSpace)this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(u.eof);return}if(e===S.template){this.readTmplToken()}else{this.getTokenFromCode(this.codePointAtPos(this.state.pos))}}pushComment(e,t,r,n,i,a){const s={type:e?"CommentBlock":"CommentLine",value:t,start:r,end:n,loc:new SourceLocation(i,a)};if(this.options.tokens)this.pushToken(s);this.state.comments.push(s);this.addComment(s)}skipBlockComment(){let e;if(!this.isLookahead)e=this.state.curPosition();const t=this.state.pos;const r=this.input.indexOf("*/",this.state.pos+2);if(r===-1)throw this.raise(t,y.UnterminatedComment);this.state.pos=r+2;f.lastIndex=t;let n;while((n=f.exec(this.input))&&n.index=48&&t<=57){throw this.raise(this.state.pos,y.UnexpectedDigitAfterHash)}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(this.state.pos,t===123?y.RecordExpressionHashIncorrectStartSyntaxType:y.TupleExpressionHashIncorrectStartSyntaxType)}this.state.pos+=2;if(t===123){this.finishToken(u.braceHashL)}else{this.finishToken(u.bracketHashL)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(u.privateName,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(u.privateName,this.readWord1())}else{this.finishOp(u.hash,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(u.ellipsis)}else{++this.state.pos;this.finishToken(u.dot)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(u.slashAssign,2)}else{this.finishOp(u.slash,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos=48&&t<=57)){this.state.pos+=2;this.finishToken(u.questionDot)}else{++this.state.pos;this.finishToken(u.question)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(u.parenL);return;case 41:++this.state.pos;this.finishToken(u.parenR);return;case 59:++this.state.pos;this.finishToken(u.semi);return;case 44:++this.state.pos;this.finishToken(u.comma);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,y.TupleExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.bracketBarL)}else{++this.state.pos;this.finishToken(u.bracketL)}return;case 93:++this.state.pos;this.finishToken(u.bracketR);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(this.state.pos,y.RecordExpressionBarIncorrectStartSyntaxType)}this.state.pos+=2;this.finishToken(u.braceBarL)}else{++this.state.pos;this.finishToken(u.braceL)}return;case 125:++this.state.pos;this.finishToken(u.braceR);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(u.doubleColon,2)}else{++this.state.pos;this.finishToken(u.colon)}return;case 63:this.readToken_question();return;case 96:++this.state.pos;this.finishToken(u.backQuote);return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:case 62:this.readToken_lt_gt(e);return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(u.tilde,1);return;case 64:++this.state.pos;this.finishToken(u.at);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(this.state.pos,y.InvalidOrUnexpectedToken,String.fromCodePoint(e))}finishOp(e,t){const r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t;this.finishToken(e,r)}readRegexp(){const e=this.state.start+1;let t,r;let{pos:n}=this.state;for(;;++n){if(n>=this.length){throw this.raise(e,y.UnterminatedRegExp)}const i=this.input.charCodeAt(n);if(isNewLine(i)){throw this.raise(e,y.UnterminatedRegExp)}if(t){t=false}else{if(i===91){r=true}else if(i===93&&r){r=false}else if(i===47&&!r){break}t=i===92}}const i=this.input.slice(e,n);++n;let a="";while(n-1||a.indexOf(t)>-1||Number.isNaN(t)){this.raise(this.state.pos,y.UnexpectedNumericSeparator)}if(!n){this.raise(this.state.pos,y.NumericSeparatorInEscapeSequence)}++this.state.pos;continue}if(t>=97){u=t-97+10}else if(t>=65){u=t-65+10}else if(Ye(t)){u=t-48}else{u=Infinity}if(u>=e){if(this.options.errorRecovery&&u<=9){u=0;this.raise(this.state.start+i+2,y.InvalidDigit,e)}else if(r){u=0;o=true}else{break}}++this.state.pos;l=l*e+u}if(this.state.pos===i||t!=null&&this.state.pos-i!==t||o){return null}return l}readRadixNumber(e){const t=this.state.pos;let r=false;this.state.pos+=2;const n=this.readInt(e);if(n==null){this.raise(this.state.start+2,y.InvalidDigit,e)}const i=this.input.charCodeAt(this.state.pos);if(i===110){++this.state.pos;r=true}else if(i===109){throw this.raise(t,y.InvalidDecimal)}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,y.NumberIdentifier)}if(r){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(u.bigint,e);return}this.finishToken(u.num,n)}readNumber(e){const t=this.state.pos;let r=false;let n=false;let i=false;let a=false;let s=false;if(!e&&this.readInt(10)===null){this.raise(t,y.InvalidNumber)}const o=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(o){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(t,y.StrictOctalLiteral);if(!this.state.strict){const r=e.indexOf("_");if(r>0){this.raise(r+t,y.ZeroDigitNumericSeparator)}}s=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!s){++this.state.pos;this.readInt(10);r=true;l=this.input.charCodeAt(this.state.pos)}if((l===69||l===101)&&!s){l=this.input.charCodeAt(++this.state.pos);if(l===43||l===45){++this.state.pos}if(this.readInt(10)===null){this.raise(t,y.InvalidOrMissingExponent)}r=true;a=true;l=this.input.charCodeAt(this.state.pos)}if(l===110){if(r||o){this.raise(t,y.InvalidBigIntLiteral)}++this.state.pos;n=true}if(l===109){this.expectPlugin("decimal",this.state.pos);if(a||o){this.raise(t,y.InvalidDecimal)}++this.state.pos;i=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(this.state.pos,y.NumberIdentifier)}const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n){this.finishToken(u.bigint,p);return}if(i){this.finishToken(u.decimal,p);return}const f=s?parseInt(p,8):parseFloat(p);this.finishToken(u.num,f)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let r;if(t===123){const t=++this.state.pos;r=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(r!==null&&r>1114111){if(e){this.raise(t,y.InvalidCodePoint)}else{return null}}}else{r=this.readHexChar(4,false,e)}return r}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedString)}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===92){t+=this.input.slice(r,this.state.pos);t+=this.readEscapedChar(false);r=this.state.pos}else if(n===8232||n===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(n)){throw this.raise(this.state.start,y.UnterminatedString)}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);this.finishToken(u.string,t)}readTmplToken(){let e="",t=this.state.pos,r=false;for(;;){if(this.state.pos>=this.length){throw this.raise(this.state.start,y.UnterminatedTemplate)}const n=this.input.charCodeAt(this.state.pos);if(n===96||n===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(u.template)){if(n===36){this.state.pos+=2;this.finishToken(u.dollarBraceL);return}else{++this.state.pos;this.finishToken(u.backQuote);return}}e+=this.input.slice(t,this.state.pos);this.finishToken(u.template,r?null:e);return}if(n===92){e+=this.input.slice(t,this.state.pos);const n=this.readEscapedChar(true);if(n===null){r=true}else{e+=n}t=this.state.pos}else if(isNewLine(n)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(n){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(n);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,t){if(this.state.strict&&!this.state.strictErrors.has(e)){this.raise(e,t)}else{this.state.strictErrors.set(e,t)}}readEscapedChar(e){const t=!e;const r=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(r){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:this.state.lineStart=this.state.pos;++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(e){return null}else{this.recordStrictModeErrors(this.state.pos-1,y.StrictNumericEscape)}default:if(r>=48&&r<=55){const t=this.state.pos-1;const r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let n=r[0];let i=parseInt(n,8);if(i>255){n=n.slice(0,-1);i=parseInt(n,8)}this.state.pos+=n.length-1;const a=this.input.charCodeAt(this.state.pos);if(n!=="0"||a===56||a===57){if(e){return null}else{this.recordStrictModeErrors(t,y.StrictNumericEscape)}}return String.fromCharCode(i)}return String.fromCharCode(r)}}readHexChar(e,t,r){const n=this.state.pos;const i=this.readInt(16,e,t,false);if(i===null){if(r){this.raise(n,y.InvalidEscapeSequence)}else{this.state.pos=n-1}}return i}readWord1(e){this.state.containsEsc=false;let t="";const r=this.state.pos;let n=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos{this.raise(r,t);let n=e.length-2;let i=e[n];while(i.canBeArrowParameterDeclaration()){i.clearDeclarationError(r);i=e[--n]}})}}function newParameterDeclarationScope(){return new ExpressionScope(Qe)}function newArrowHeadScope(){return new ArrowHeadParsingScope(ze)}function newAsyncArrowScope(){return new ArrowHeadParsingScope(He)}function newExpressionScope(){return new ExpressionScope}class UtilParser extends Tokenizer{addExtra(e,t,r){if(!e)return;const n=e.extra=e.extra||{};n[t]=r}isRelational(e){return this.match(u.relational)&&this.state.value===e}expectRelational(e){if(this.isRelational(e)){this.next()}else{this.unexpected(null,u.relational)}}isContextual(e){return this.match(u.name)&&this.state.value===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;if(this.input.slice(e,r)===t){const e=this.input.charCodeAt(r);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)&&this.eat(u.name)}expectContextual(e,t){if(!this.eatContextual(e))this.unexpected(null,t)}canInsertSemicolon(){return this.match(u.eof)||this.match(u.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return p.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){return p.test(this.input.slice(this.state.end,this.nextTokenStart()))}isLineTerminator(){return this.eat(u.semi)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(u.semi))return;this.raise(this.state.lastTokEnd,y.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){if(this.state.start>this.state.lastTokEnd){this.raise(this.state.lastTokEnd,{code:d.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}}unexpected(e,t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){if(t instanceof TokenType){t={code:d.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${t.label}"`}}throw this.raise(e!=null?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e)){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`)}return true}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e))){throw this.raiseWithData(t!=null?t:this.state.start,{missingPlugin:e},`This experimental syntax requires enabling one of the following parser plugin(s): '${e.join(", ")}'`)}}tryParse(e,t=this.state.clone()){const r={node:null};try{const n=e((e=null)=>{r.node=e;throw r});if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:n,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:n,error:null,thrown:false,aborted:false,failState:null}}catch(e){const n=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:n}}if(e===r){return{node:r.node,error:null,thrown:false,aborted:true,failState:n}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssign:r,doubleProto:n}=e;if(!t)return r>=0||n>=0;if(r>=0){this.unexpected(r)}if(n>=0){this.raise(n,y.DuplicateProto)}}isLiteralPropertyName(){return this.match(u.name)||!!this.state.type.keyword||this.match(u.string)||this.match(u.num)||this.match(u.bigint)||this.match(u.decimal)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const n=this.inModule;this.inModule=e;const i=this.scope;const a=this.getScopeHandler();this.scope=new a(this.raise.bind(this),this.inModule);const s=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this.raise.bind(this));const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this.raise.bind(this));return()=>{this.state.labels=t;this.exportedIdentifiers=r;this.inModule=n;this.scope=i;this.prodParam=s;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=Ne;if(this.hasPlugin("topLevelAwait")&&this.inModule){e|=Ce}this.scope.enter(w);this.prodParam.enter(e)}}class ExpressionErrors{constructor(){this.shorthandAssign=-1;this.doubleProto=-1}}class Node{constructor(e,t,r){this.type=void 0;this.start=void 0;this.end=void 0;this.loc=void 0;this.range=void 0;this.leadingComments=void 0;this.trailingComments=void 0;this.innerComments=void 0;this.extra=void 0;this.type="";this.start=t;this.end=0;this.loc=new SourceLocation(r);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}__clone(){const e=new Node;const t=Object.keys(this);for(let r=0,n=t.length;r{return e.type==="ParenthesizedExpression"?$e(e.expression):e};class LValParser extends NodeUtils{toAssignable(e,t=false){var r,n;let i=undefined;if(e.type==="ParenthesizedExpression"||(r=e.extra)!=null&&r.parenthesized){i=$e(e);if(t){if(i.type==="Identifier"){this.expressionScope.recordParenthesizedIdentifierError(e.start,y.InvalidParenthesizedAssignment)}else if(i.type!=="MemberExpression"){this.raise(e.start,y.InvalidParenthesizedAssignment)}}else{this.raise(e.start,y.InvalidParenthesizedAssignment)}}switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":break;case"ObjectExpression":e.type="ObjectPattern";for(let r=0,n=e.properties.length,i=n-1;rthis.parseExpressionBase(t))}return this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start;const r=this.state.startLoc;const n=this.parseMaybeAssign(e);if(this.match(u.comma)){const i=this.startNodeAt(t,r);i.expressions=[n];while(this.eat(u.comma)){i.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(i.expressions);return this.finishNode(i,"SequenceExpression")}return n}parseMaybeAssignDisallowIn(e,t,r){return this.disallowInAnd(()=>this.parseMaybeAssign(e,t,r))}parseMaybeAssignAllowIn(e,t,r){return this.allowInAnd(()=>this.parseMaybeAssign(e,t,r))}parseMaybeAssign(e,t,r){const n=this.state.start;const i=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,n,i)}return e}}let a;if(e){a=false}else{e=new ExpressionErrors;a=true}if(this.match(u.parenL)||this.match(u.name)){this.state.potentialArrowAt=this.state.start}let s=this.parseMaybeConditional(e,r);if(t){s=t.call(this,s,n,i)}if(this.state.type.isAssign){const t=this.startNodeAt(n,i);const r=this.state.value;t.operator=r;if(this.match(u.eq)){t.left=this.toAssignable(s,true);e.doubleProto=-1}else{t.left=s}if(e.shorthandAssign>=t.left.start){e.shorthandAssign=-1}this.checkLVal(s,"assignment expression");this.next();t.right=this.parseMaybeAssign();return this.finishNode(t,"AssignmentExpression")}else if(a){this.checkExpressionErrors(e,true)}return s}parseMaybeConditional(e,t){const r=this.state.start;const n=this.state.startLoc;const i=this.state.potentialArrowAt;const a=this.parseExprOps(e);if(this.shouldExitDescending(a,i)){return a}return this.parseConditional(a,r,n,t)}parseConditional(e,t,r,n){if(this.eat(u.question)){const n=this.startNodeAt(t,r);n.test=e;n.consequent=this.parseMaybeAssignAllowIn();this.expect(u.colon);n.alternate=this.parseMaybeAssign();return this.finishNode(n,"ConditionalExpression")}return e}parseExprOps(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const i=this.parseMaybeUnary(e);if(this.shouldExitDescending(i,n)){return i}return this.parseExprOp(i,t,r,-1)}parseExprOp(e,t,r,n){let i=this.state.type.binop;if(i!=null&&(this.prodParam.hasIn||!this.match(u._in))){if(i>n){const a=this.state.type;if(a===u.pipeline){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.state.inPipeline=true;this.checkPipelineAtInfixOperator(e,t)}const s=this.startNodeAt(t,r);s.left=e;s.operator=this.state.value;const o=a===u.logicalOR||a===u.logicalAND;const l=a===u.nullishCoalescing;if(l){i=u.logicalAND.binop}this.next();if(a===u.pipeline&&this.getPluginOption("pipelineOperator","proposal")==="minimal"){if(this.match(u.name)&&this.state.value==="await"&&this.prodParam.hasAwait){throw this.raise(this.state.start,y.UnexpectedAwaitAfterPipelineBody)}}s.right=this.parseExprOpRightExpr(a,i);this.finishNode(s,o||l?"LogicalExpression":"BinaryExpression");const p=this.state.type;if(l&&(p===u.logicalOR||p===u.logicalAND)||o&&p===u.nullishCoalescing){throw this.raise(this.state.start,y.MixingCoalesceWithLogical)}return this.parseExprOp(s,t,r,n)}}return e}parseExprOpRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;switch(e){case u.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"smart":return this.withTopicPermittingContext(()=>{return this.parseSmartPipelineBody(this.parseExprOpBaseRightExpr(e,t),r,n)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(t)})}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),r,n,e.rightAssociative?t-1:t)}checkExponentialAfterUnary(e){if(this.match(u.exponent)){this.raise(e.argument.start,y.UnexpectedTokenUnaryExponentiation)}}parseMaybeUnary(e,t){const r=this.state.start;const n=this.state.startLoc;const i=this.isContextual("await");if(i&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r,n);if(!t)this.checkExponentialAfterUnary(e);return e}if(this.isContextual("module")&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak()){return this.parseModuleExpression()}const a=this.match(u.incDec);const s=this.startNode();if(this.state.type.prefix){s.operator=this.state.value;s.prefix=true;if(this.match(u._throw)){this.expectPlugin("throwExpressions")}const r=this.match(u._delete);this.next();s.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&r){const e=s.argument;if(e.type==="Identifier"){this.raise(s.start,y.StrictDelete)}else if(this.hasPropertyAsPrivateName(e)){this.raise(s.start,y.DeletePrivateField)}}if(!a){if(!t)this.checkExponentialAfterUnary(s);return this.finishNode(s,"UnaryExpression")}}const o=this.parseUpdate(s,a,e);if(i){const e=this.hasPlugin("v8intrinsic")?this.state.type.startsExpr:this.state.type.startsExpr&&!this.match(u.modulo);if(e&&!this.isAmbiguousAwait()){this.raiseOverwrite(r,this.hasPlugin("topLevelAwait")?y.AwaitNotInAsyncContext:y.AwaitNotInAsyncFunction);return this.parseAwait(r,n)}}return o}parseUpdate(e,t,r){if(t){this.checkLVal(e.argument,"prefix operation");return this.finishNode(e,"UpdateExpression")}const n=this.state.start;const i=this.state.startLoc;let a=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,false))return a;while(this.state.type.postfix&&!this.canInsertSemicolon()){const e=this.startNodeAt(n,i);e.operator=this.state.value;e.prefix=false;e.argument=a;this.checkLVal(a,"postfix operation");this.next();a=this.finishNode(e,"UpdateExpression")}return a}parseExprSubscripts(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const i=this.parseExprAtom(e);if(this.shouldExitDescending(i,n)){return i}return this.parseSubscripts(i,t,r)}parseSubscripts(e,t,r,n){const i={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,r,n,i);i.maybeAsyncArrow=false}while(!i.stop);return e}parseSubscript(e,t,r,n,i){if(!n&&this.eat(u.doubleColon)){return this.parseBind(e,t,r,n,i)}else if(this.match(u.backQuote)){return this.parseTaggedTemplateExpression(e,t,r,i)}let a=false;if(this.match(u.questionDot)){if(n&&this.lookaheadCharCode()===40){i.stop=true;return e}i.optionalChainMember=a=true;this.next()}if(!n&&this.match(u.parenL)){return this.parseCoverCallAndAsyncArrowHead(e,t,r,i,a)}else if(a||this.match(u.bracketL)||this.eat(u.dot)){return this.parseMember(e,t,r,i,a)}else{i.stop=true;return e}}parseMember(e,t,r,n,i){const a=this.startNodeAt(t,r);const s=this.eat(u.bracketL);a.object=e;a.computed=s;const o=!s&&this.match(u.privateName)&&this.state.value;const l=s?this.parseExpression():o?this.parsePrivateName():this.parseIdentifier(true);if(o!==false){if(a.object.type==="Super"){this.raise(t,y.SuperPrivateField)}this.classScope.usePrivateName(o,l.start)}a.property=l;if(s){this.expect(u.bracketR)}if(n.optionalChainMember){a.optional=i;return this.finishNode(a,"OptionalMemberExpression")}else{return this.finishNode(a,"MemberExpression")}}parseBind(e,t,r,n,i){const a=this.startNodeAt(t,r);a.object=e;a.callee=this.parseNoCallExpr();i.stop=true;return this.parseSubscripts(this.finishNode(a,"BindExpression"),t,r,n)}parseCoverCallAndAsyncArrowHead(e,t,r,n,i){const a=this.state.maybeInArrowParameters;let s=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,r);o.callee=e;if(n.maybeAsyncArrow){this.expressionScope.enter(newAsyncArrowScope());s=new ExpressionErrors}if(n.optionalChainMember){o.optional=i}if(i){o.arguments=this.parseCallExpressionArguments(u.parenR)}else{o.arguments=this.parseCallExpressionArguments(u.parenR,e.type==="Import",e.type!=="Super",o,s)}this.finishCallExpression(o,n.optionalChainMember);if(n.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!i){n.stop=true;this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),o)}else{if(n.maybeAsyncArrow){this.checkExpressionErrors(s,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=a;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,n){const i=this.startNodeAt(t,r);i.tag=e;i.quasi=this.parseTemplate(true);if(n.optionalChainMember){this.raise(t,y.OptionalChainingNoTemplate)}return this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(e.start,y.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument")}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(t.start,y.ImportCallSpreadArgument)}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,i){const a=[];let s=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(s){s=false}else{this.expect(u.comma);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(this.state.lastTokStart,y.ImportCallArgumentTrailingComma)}if(n){this.addExtra(n,"trailingComma",this.state.lastTokStart)}this.next();break}}a.push(this.parseExprListItem(false,i,{start:0},r))}this.state.inFSharpPipelineDirectBody=o;return a}shouldParseAsyncArrow(){return this.match(u.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;this.expect(u.arrow);this.parseArrowExpression(e,t.arguments,true,(r=t.extra)==null?void 0:r.trailingComma);return e}parseNoCallExpr(){const e=this.state.start;const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,true)}parseExprAtom(e){let t;switch(this.state.type){case u._super:return this.parseSuper();case u._import:t=this.startNode();this.next();if(this.match(u.dot)){return this.parseImportMetaProperty(t)}if(!this.match(u.parenL)){this.raise(this.state.lastTokStart,y.UnsupportedImport)}return this.finishNode(t,"Import");case u._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case u.name:{const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const r=this.parseIdentifier();if(!t&&r.name==="async"&&!this.canInsertSemicolon()){if(this.match(u._function)){this.next();return this.parseFunction(this.startNodeAtNode(r),undefined,true)}else if(this.match(u.name)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(r)}else{return r}}else if(this.match(u._do)){return this.parseDo(true)}}if(e&&this.match(u.arrow)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(r),[r],false)}return r}case u._do:{return this.parseDo(false)}case u.slash:case u.slashAssign:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case u.num:return this.parseNumericLiteral(this.state.value);case u.bigint:return this.parseBigIntLiteral(this.state.value);case u.decimal:return this.parseDecimalLiteral(this.state.value);case u.string:return this.parseStringLiteral(this.state.value);case u._null:return this.parseNullLiteral();case u._true:return this.parseBooleanLiteral(true);case u._false:return this.parseBooleanLiteral(false);case u.parenL:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case u.bracketBarL:case u.bracketHashL:{return this.parseArrayLike(this.state.type===u.bracketBarL?u.bracketBarR:u.bracketR,false,true,e)}case u.bracketL:{return this.parseArrayLike(u.bracketR,true,false,e)}case u.braceBarL:case u.braceHashL:{return this.parseObjectLike(this.state.type===u.braceBarL?u.braceBarR:u.braceR,false,true,e)}case u.braceL:{return this.parseObjectLike(u.braceR,false,false,e)}case u._function:return this.parseFunctionOrFunctionSent();case u.at:this.parseDecorators();case u._class:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case u._new:return this.parseNewOrNewTarget();case u.backQuote:return this.parseTemplate(false);case u.doubleColon:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(e.start,y.UnsupportedBind)}}case u.privateName:{const e=this.state.start;const r=this.state.value;t=this.parsePrivateName();if(this.match(u._in)){this.expectPlugin("privateIn");this.classScope.usePrivateName(r,t.start)}else if(this.hasPlugin("privateIn")){this.raise(this.state.start,y.PrivateInExpectedIn,r)}else{throw this.unexpected(e)}return t}case u.hash:{if(this.state.inPipeline){t=this.startNode();if(this.getPluginOption("pipelineOperator","proposal")!=="smart"){this.raise(t.start,y.PrimaryTopicRequiresSmartPipeline)}this.next();if(!this.primaryTopicReferenceIsAllowedInCurrentTopicContext()){this.raise(t.start,y.PrimaryTopicNotAllowed)}this.registerTopicReference();return this.finishNode(t,"PipelinePrimaryTopicReference")}}case u.relational:{if(this.state.value==="<"){const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}}}default:throw this.unexpected()}}parseAsyncArrowUnaryFunction(e){const t=this.startNodeAtNode(e);this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const r=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(this.state.pos,y.LineTerminatorBeforeArrow)}this.expect(u.arrow);this.parseArrowExpression(t,r,true);return t}parseDo(e){this.expectPlugin("doExpressions");if(e){this.expectPlugin("asyncDoExpressions")}const t=this.startNode();t.async=e;this.next();const r=this.state.labels;this.state.labels=[];if(e){this.prodParam.enter(Ce);t.body=this.parseBlock();this.prodParam.exit()}else{t.body=this.parseBlock()}this.state.labels=r;return this.finishNode(t,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(u.parenL)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,y.SuperNotAllowed)}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(e.start,y.UnexpectedSuper)}if(!this.match(u.parenL)&&!this.match(u.bracketL)&&!this.match(u.dot)){this.raise(e.start,y.UnsupportedSuper)}return this.finishNode(e,"Super")}parseMaybePrivateName(e){const t=this.match(u.privateName);if(t){if(!e){this.raise(this.state.start+1,y.UnexpectedPrivateField)}return this.parsePrivateName()}else{return this.parseIdentifier(true)}}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(this.state.start+1,new Position(this.state.curLine,this.state.start+1-this.state.lineStart));const r=this.state.value;this.next();e.id=this.createIdentifier(t,r);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;if(t.name==="function"&&r==="sent"){if(this.isContextual(r)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}}const n=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==r||n){this.raise(e.property.start,y.UnsupportedMetaProperty,t.name,r)}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual("meta")){if(!this.inModule){this.raise(t.start,m.ImportMetaOutsideModule)}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){this.addExtra(r,"rawValue",e);this.addExtra(r,"raw",this.input.slice(r.start,this.state.end));r.value=e;this.next();return this.finishNode(r,t)}parseLiteral(e,t){const r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start;const r=this.state.startLoc;let n;this.next();this.expressionScope.enter(newArrowHeadScope());const i=this.state.maybeInArrowParameters;const a=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const s=this.state.start;const o=this.state.startLoc;const l=[];const p=new ExpressionErrors;const f={start:0};let c=true;let d;let y;while(!this.match(u.parenR)){if(c){c=false}else{this.expect(u.comma,f.start||null);if(this.match(u.parenR)){y=this.state.start;break}}if(this.match(u.ellipsis)){const e=this.state.start;const t=this.state.startLoc;d=this.state.start;l.push(this.parseParenItem(this.parseRestBinding(),e,t));this.checkCommaAfterRest(41);break}else{l.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem,f))}}const m=this.state.lastTokEnd;const T=this.state.lastTokEndLoc;this.expect(u.parenR);this.state.maybeInArrowParameters=i;this.state.inFSharpPipelineDirectBody=a;let S=this.startNodeAt(t,r);if(e&&this.shouldParseArrow()&&(S=this.parseArrow(S))){this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(S,l,false);return S}this.expressionScope.exit();if(!l.length){this.unexpected(this.state.lastTokStart)}if(y)this.unexpected(y);if(d)this.unexpected(d);this.checkExpressionErrors(p,true);if(f.start)this.unexpected(f.start);this.toReferencedListDeep(l,true);if(l.length>1){n=this.startNodeAt(s,o);n.expressions=l;this.finishNodeAt(n,"SequenceExpression",m,T)}else{n=l[0]}if(!this.options.createParenthesizedExpressions){this.addExtra(n,"parenthesized",true);this.addExtra(n,"parenStart",t);return n}const h=this.startNodeAt(t,r);h.expression=n;this.finishNode(h,"ParenthesizedExpression");return h}shouldParseArrow(){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(u.arrow)){return e}}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(u.dot)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){this.raise(r.start,y.UnexpectedNewTarget)}return r}return this.parseNew(e)}parseNew(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(e.callee.start,y.ImportCallNotNewExpression)}else if(this.isOptionalChain(e.callee)){this.raise(this.state.lastTokEnd,y.OptionalChainingNoNew)}else if(this.eat(u.questionDot)){this.raise(this.state.start,y.OptionalChainingNoNew)}this.parseNewArguments(e);return this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(u.parenL)){const t=this.parseExprList(u.parenR);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}}parseTemplateElement(e){const t=this.startNode();if(this.state.value===null){if(!e){this.raise(this.state.start+1,y.InvalidEscapeSequenceTemplate)}}t.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,"\n"),cooked:this.state.value};this.next();t.tail=this.match(u.backQuote);return this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next();t.expressions=[];let r=this.parseTemplateElement(e);t.quasis=[r];while(!r.tail){this.expect(u.dollarBraceL);t.expressions.push(this.parseTemplateSubstitution());this.expect(u.braceR);t.quasis.push(r=this.parseTemplateElement(e))}this.next();return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const a=Object.create(null);let s=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(s){s=false}else{this.expect(u.comma);if(this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}}const i=this.parsePropertyDefinition(t,n);if(!t){this.checkProto(i,r,a,n)}if(r&&!this.isObjectProperty(i)&&i.type!=="SpreadElement"){this.raise(i.start,y.InvalidRecordProperty)}if(i.shorthand){this.addExtra(i,"shorthand",true)}o.properties.push(i)}this.next();this.state.inFSharpPipelineDirectBody=i;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(r){l="RecordExpression"}return this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(u.bracketL)||this.match(u.star))}parsePropertyDefinition(e,t){let r=[];if(this.match(u.at)){if(this.hasPlugin("decorators")){this.raise(this.state.start,y.UnsupportedPropertyDecorator)}while(this.match(u.at)){r.push(this.parseDecorator())}}const n=this.startNode();let i=false;let a=false;let s=false;let o;let l;if(this.match(u.ellipsis)){if(r.length)this.unexpected();if(e){this.next();n.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(n,"RestElement")}return this.parseSpread()}if(r.length){n.decorators=r;r=[]}n.method=false;if(e||t){o=this.state.start;l=this.state.startLoc}if(!e){i=this.eat(u.star)}const p=this.state.containsEsc;const f=this.parsePropertyName(n,false);if(!e&&!i&&!p&&this.maybeAsyncOrAccessorProp(n)){const e=f.name;if(e==="async"&&!this.hasPrecedingLineBreak()){a=true;i=this.eat(u.star);this.parsePropertyName(n,false)}if(e==="get"||e==="set"){s=true;n.kind=e;if(this.match(u.star)){i=true;this.raise(this.state.pos,y.AccessorIsGenerator,e);this.next()}this.parsePropertyName(n,false)}}this.parseObjPropValue(n,o,l,i,a,e,s,t);return n}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e);const n=this.getObjectOrClassMethodParams(e);const i=e.start;if(n.length!==r){if(e.kind==="get"){this.raise(i,y.BadGetterArity)}else{this.raise(i,y.BadSetterArity)}}if(e.kind==="set"&&((t=n[n.length-1])==null?void 0:t.type)==="RestElement"){this.raise(i,y.BadSetterRestParameter)}}parseObjectMethod(e,t,r,n,i){if(i){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(r||t||this.match(u.parenL)){if(n)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,r,false,false,"ObjectMethod")}}parseObjectProperty(e,t,r,n,i){e.shorthand=false;if(this.eat(u.colon)){e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(i);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.start,true,false);if(n){e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else if(this.match(u.eq)&&i){if(i.shorthandAssign===-1){i.shorthandAssign=this.state.start}e.value=this.parseMaybeDefault(t,r,e.key.__clone())}else{e.value=e.key.__clone()}e.shorthand=true;return this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,r,n,i,a,s,o){const l=this.parseObjectMethod(e,n,i,a,s)||this.parseObjectProperty(e,t,r,a,o);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(u.bracketL)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(u.bracketR)}else{const r=this.state.inPropertyName;this.state.inPropertyName=true;const n=this.state.type;e.key=n===u.num||n===u.string||n===u.bigint||n===u.decimal?this.parseExprAtom():this.parseMaybePrivateName(t);if(n!==u.privateName){e.computed=false}this.state.inPropertyName=r}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,r,n,i,a,s=false){this.initFunction(e,r);e.generator=!!t;const o=n;this.scope.enter(C|M|(s?F:0)|(i?B:0));this.prodParam.enter(functionFlags(r,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,a,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const a=this.startNode();this.next();a.elements=this.parseExprList(e,!r,n,a);this.state.inFSharpPipelineDirectBody=i;return this.finishNode(a,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(C|j);let i=functionFlags(r,false);if(!this.match(u.bracketL)&&this.prodParam.hasIn){i|=Le}this.prodParam.enter(i);this.initFunction(e,r);const a=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,n)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=a;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){e.params=this.toAssignableList(t,r,false)}parseFunctionBodyAndFinish(e,t,r=false){this.parseFunctionBody(e,false,r);this.finishNode(e,t)}parseFunctionBody(e,t,r=false){const n=t&&!this.match(u.braceL);this.expressionScope.enter(newExpressionScope());if(n){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const n=this.state.strict;const i=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|je);e.body=this.parseBlock(true,false,i=>{const a=!this.isSimpleParamList(e.params);if(i&&a){const t=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(t,y.IllegalLanguageModeDirective)}const s=!n&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!r&&!a,t,s);if(this.state.strict&&e.id){this.checkLVal(e.id,"function name",se,undefined,undefined,s)}});this.prodParam.exit();this.expressionScope.exit();this.state.labels=i}}isSimpleParamList(e){for(let t=0,r=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(t,y.YieldBindingIdentifier);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(t,y.AwaitBindingIdentifier);return}else if(this.scope.inStaticBlock&&!this.scope.inNonArrowFunction){this.raise(t,y.AwaitBindingIdentifierInStaticBlock);return}else{this.expressionScope.recordAsyncArrowParametersError(t,y.AwaitBindingIdentifier)}}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(t,y.ArgumentsInClass);return}}if(r&&isKeyword(e)){this.raise(t,y.UnexpectedKeyword,e);return}const i=!this.state.strict?isReservedWord:n?isStrictBindReservedWord:isStrictReservedWord;if(i(e,this.inModule)){this.raise(t,y.UnexpectedReservedWord,e)}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e,t){const r=this.startNodeAt(e,t);this.expressionScope.recordParameterInitializerError(r.start,y.AwaitExpressionFormalParameter);if(this.eat(u.star)){this.raise(r.start,y.ObsoleteAwaitStar)}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){r.argument=this.parseMaybeUnary(null,true)}return this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(u.plusMin)||this.match(u.parenL)||this.match(u.bracketL)||this.match(u.backQuote)||this.match(u.regexp)||this.match(u.slash)||this.hasPlugin("v8intrinsic")&&this.match(u.modulo)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,y.YieldInParameter);this.next();let t=false;let r=null;if(!this.hasPrecedingLineBreak()){t=this.eat(u.star);switch(this.state.type){case u.semi:case u.eof:case u.braceR:case u.parenR:case u.bracketR:case u.braceBarR:case u.colon:case u.comma:if(!t)break;default:r=this.parseMaybeAssign()}}e.delegate=t;e.argument=r;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.getPluginOption("pipelineOperator","proposal")==="smart"){if(e.type==="SequenceExpression"){this.raise(t,y.PipelineHeadSequenceExpression)}}}parseSmartPipelineBody(e,t,r){this.checkSmartPipelineBodyEarlyErrors(e,t);return this.parseSmartPipelineBodyInStyle(e,t,r)}checkSmartPipelineBodyEarlyErrors(e,t){if(this.match(u.arrow)){throw this.raise(this.state.start,y.PipelineBodyNoArrow)}else if(e.type==="SequenceExpression"){this.raise(t,y.PipelineBodySequenceExpression)}}parseSmartPipelineBodyInStyle(e,t,r){const n=this.startNodeAt(t,r);const i=this.isSimpleReference(e);if(i){n.callee=e}else{if(!this.topicReferenceWasUsedInCurrentTopicContext()){this.raise(t,y.PipelineTopicUnused)}n.expression=e}return this.finishNode(n,i?"PipelineBareFunction":"PipelineTopicExpression")}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}withTopicPermittingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withTopicForbiddingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const r=Le&~t;if(r){this.prodParam.enter(t|Le);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const r=Le&t;if(r){this.prodParam.enter(t&~Le);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}primaryTopicReferenceIsAllowedInCurrentTopicContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentTopicContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const i=this.parseExprOp(this.parseMaybeUnary(),t,r,e);this.state.inFSharpPipelineDirectBody=n;return i}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(u.braceL);const t=this.initializeScopes(true);this.enterInitialScopes();const r=this.startNode();try{e.body=this.parseProgram(r,u.braceR,"module")}finally{t()}this.eat(u.braceR);return this.finishNode(e,"ModuleExpression")}}const Ze={kind:"loop"},et={kind:"switch"};const tt=0,rt=1,nt=2,it=4;const at=/[\uD800-\uDFFF]/u;const st=/in(?:stanceof)?/y;function babel7CompatTokens(e){{for(let t=0;t0){for(const[e]of Array.from(this.scope.undefinedExports)){const t=this.scope.undefinedExports.get(e);this.raise(t,y.ModuleExportUndefined,e)}}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e.expression;const r=this.startNodeAt(t.start,t.loc.start);const n=this.startNodeAt(e.start,e.loc.start);const i=this.input.slice(t.start,t.end);const a=r.value=i.slice(1,-1);this.addExtra(r,"raw",i);this.addExtra(r,"rawValue",a);n.value=this.finishNodeAt(r,"DirectiveLiteral",t.end,t.loc.end);return this.finishNodeAt(n,"Directive",e.end,e.loc.end)}parseInterpreterDirective(){if(!this.match(u.interpreterDirective)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual("let")){return false}return this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart();const r=this.codePointAtPos(t);if(r===92||r===91){return true}if(e)return false;if(r===123)return true;if(isIdentifierStart(r)){st.lastIndex=t;const e=st.exec(this.input);if(e!==null){const r=this.codePointAtPos(t+e[0].length);if(!isIdentifierChar(r)&&r!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(u.at)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type;const n=this.startNode();let i;if(this.isLet(e)){r=u._var;i="let"}switch(r){case u._break:case u._continue:return this.parseBreakContinueStatement(n,r.keyword);case u._debugger:return this.parseDebuggerStatement(n);case u._do:return this.parseDoStatement(n);case u._for:return this.parseForStatement(n);case u._function:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(this.state.start,y.StrictFunction)}else if(e!=="if"&&e!=="label"){this.raise(this.state.start,y.SloppyFunction)}}return this.parseFunctionStatement(n,false,!e);case u._class:if(e)this.unexpected();return this.parseClass(n,true);case u._if:return this.parseIfStatement(n);case u._return:return this.parseReturnStatement(n);case u._switch:return this.parseSwitchStatement(n);case u._throw:return this.parseThrowStatement(n);case u._try:return this.parseTryStatement(n);case u._const:case u._var:i=i||this.state.value;if(e&&i!=="var"){this.raise(this.state.start,y.UnexpectedLexicalDeclaration)}return this.parseVarStatement(n,i);case u._while:return this.parseWhileStatement(n);case u._with:return this.parseWithStatement(n);case u.braceL:return this.parseBlock();case u.semi:return this.parseEmptyStatement(n);case u._import:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case u._export:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(this.state.start,y.UnexpectedImportExport)}this.next();let e;if(r===u._import){e=this.parseImport(n);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(n);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(n);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(this.state.start,y.AsyncFunctionInSingleStatementContext)}this.next();return this.parseFunctionStatement(n,true,!e)}}}const a=this.state.value;const s=this.parseExpression();if(r===u.name&&s.type==="Identifier"&&this.eat(u.colon)){return this.parseLabeledStatement(n,a,s,e)}else{return this.parseExpressionStatement(n,s)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(e.start,m.ImportOutsideModule)}}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];if(t.length){e.decorators=t;this.resetStartLocationFromNode(e,t[0]);this.state.decoratorStack[this.state.decoratorStack.length-1]=[]}}canHaveLeadingDecorator(){return this.match(u._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(u.at)){const e=this.parseDecorator();t.push(e)}if(this.match(u._export)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,y.DecoratorExportClass)}}else if(!this.canHaveLeadingDecorator()){throw this.raise(this.state.start,y.UnexpectedLeadingDecorator)}}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start;const r=this.state.startLoc;let n;if(this.eat(u.parenL)){n=this.parseExpression();this.expect(u.parenR)}else{n=this.parseIdentifier(false);while(this.eat(u.dot)){const e=this.startNodeAt(t,r);e.object=n;e.property=this.parseIdentifier(true);e.computed=false;n=this.finishNode(e,"MemberExpression")}}e.expression=this.parseMaybeDecoratorArguments(n);this.state.decoratorStack.pop()}else{e.expression=this.parseExprSubscripts()}return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(u.parenL)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(u.parenR,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){const r=t==="break";this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,r?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){const r=t==="break";let n;for(n=0;nthis.parseStatement("do"));this.state.labels.pop();this.expect(u._while);e.test=this.parseHeaderExpression();this.eat(u.semi);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(Ze);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual("await")){t=this.state.lastTokStart}this.scope.enter(N);this.expect(u.parenL);if(this.match(u.semi)){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}const r=this.isContextual("let");const n=r&&this.isLetKeyword();if(this.match(u._var)||this.match(u._const)||n){const r=this.startNode();const i=n?"let":this.state.value;this.next();this.parseVar(r,true,i);this.finishNode(r,"VariableDeclaration");if((this.match(u._in)||this.isContextual("of"))&&r.declarations.length===1){return this.parseForIn(e,r,t)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)}const i=this.match(u.name)&&!this.state.containsEsc;const a=new ExpressionErrors;const s=this.parseExpression(true,a);const o=this.isContextual("of");if(o){if(r){this.raise(s.start,y.ForOfLet)}else if(t===-1&&i&&s.type==="Identifier"&&s.name==="async"){this.raise(s.start,y.ForOfAsync)}}if(o||this.match(u._in)){this.toAssignable(s,true);const r=o?"for-of statement":"for-in statement";this.checkLVal(s,r);return this.parseForIn(e,s,t)}else{this.checkExpressionErrors(a,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,s)}parseFunctionStatement(e,t,r){this.next();return this.parseFunction(e,rt|(r?0:nt),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(u._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(this.state.start,y.IllegalReturn)}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(u.braceL);this.state.labels.push(et);this.scope.enter(N);let r;for(let e;!this.match(u.braceR);){if(this.match(u._case)||this.match(u._default)){const n=this.match(u._case);if(r)this.finishNode(r,"SwitchCase");t.push(r=this.startNode());r.consequent=[];this.next();if(n){r.test=this.parseExpression()}else{if(e){this.raise(this.state.lastTokStart,y.MultipleDefaultsInSwitch)}e=true;r.test=null}this.expect(u.colon)}else{if(r){r.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(r)this.finishNode(r,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(this.state.lastTokEnd,y.NewlineAfterThrow)}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?L:0);this.checkLVal(e,"catch clause",$);return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(u._catch)){const t=this.startNode();this.next();if(this.match(u.parenL)){this.expect(u.parenL);t.param=this.parseCatchClauseParam();this.expect(u.parenR)}else{t.param=null;this.scope.enter(N)}t.body=this.withTopicForbiddingContext(()=>this.parseBlock(false,false));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(u._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,y.NoCatchOrFinally)}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(Ze);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("while"));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(this.state.start,y.StrictWith)}this.next();e.object=this.parseHeaderExpression();e.body=this.withTopicForbiddingContext(()=>this.parseStatement("with"));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(const e of this.state.labels){if(e.name===t){this.raise(r.start,y.LabelRedeclaration,t)}}const i=this.state.type.isLoop?"loop":this.match(u._switch)?"switch":null;for(let t=this.state.labels.length-1;t>=0;t--){const r=this.state.labels[t];if(r.statementStart===e.start){r.statementStart=this.state.start;r.kind=i}else{break}}this.state.labels.push({name:t,kind:i,statementStart:this.state.start});e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label");this.state.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,r){const n=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(u.braceL);if(t){this.scope.enter(N)}this.parseBlockBody(n,e,false,u.braceR,r);if(t){this.scope.exit()}return this.finishNode(n,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,i){const a=e.body=[];const s=e.directives=[];this.parseBlockOrModuleBlockBody(a,t?s:undefined,r,n,i)}parseBlockOrModuleBlockBody(e,t,r,n,i){const a=this.state.strict;let s=false;let o=false;while(!this.match(n)){const n=this.parseStatement(null,r);if(t&&!o){if(this.isValidDirective(n)){const e=this.stmtToDirective(n);t.push(e);if(!s&&e.value.value==="use strict"){s=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(n)}if(i){i.call(this,s)}if(!a){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(u.semi)?null:this.parseExpression();this.semicolon(false);e.update=this.match(u.parenR)?null:this.parseExpression();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const n=this.match(u._in);this.next();if(n){if(r>-1)this.unexpected(r)}else{e.await=r>-1}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,y.ForInOfLoopInitializer,n?"for-in":"for-of")}else if(t.type==="AssignmentPattern"){this.raise(t.start,y.InvalidLhs,"for-loop")}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(u.parenR);e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for"));this.scope.exit();this.state.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){const n=e.declarations=[];const i=this.hasPlugin("typescript");e.kind=r;for(;;){const e=this.startNode();this.parseVarId(e,r);if(this.eat(u.eq)){e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn()}else{if(r==="const"&&!(this.match(u._in)||this.isContextual("of"))){if(!i){this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Const declarations")}}else if(e.id.type!=="Identifier"&&!(t&&(this.match(u._in)||this.isContextual("of")))){this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Complex binding patterns")}e.init=null}n.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(u.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,"variable declaration",t==="var"?Z:$,undefined,t!=="var")}parseFunction(e,t=tt,r=false){const n=t&rt;const i=t&nt;const a=!!n&&!(t&it);this.initFunction(e,r);if(this.match(u.star)&&i){this.raise(this.state.start,y.GeneratorInSingleStatementContext)}e.generator=this.eat(u.star);if(n){e.id=this.parseFunctionId(a)}const s=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(C);this.prodParam.enter(functionFlags(r,e.generator));if(!n){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")});this.prodParam.exit();this.scope.exit();if(n&&!i){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=s;return e}parseFunctionId(e){return e||this.match(u.name)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(u.parenL);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(u.parenR,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?Z:$:ee,e.id.start)}parseClass(e,t,r){this.next();this.takeDecorators(e);const n=this.state.strict;this.state.strict=true;this.parseClassId(e,t,r);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,n);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(u.eq)||this.match(u.semi)||this.match(u.braceR)}isClassMethod(){return this.match(u.parenL)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const r={hadConstructor:false,hadSuperClass:e};let n=[];const i=this.startNode();i.body=[];this.expect(u.braceL);this.withTopicForbiddingContext(()=>{while(!this.match(u.braceR)){if(this.eat(u.semi)){if(n.length>0){throw this.raise(this.state.lastTokEnd,y.DecoratorSemicolon)}continue}if(this.match(u.at)){n.push(this.parseDecorator());continue}const e=this.startNode();if(n.length){e.decorators=n;this.resetStartLocationFromNode(e,n[0]);n=[]}this.parseClassMember(i,e,r);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(e.start,y.DecoratorConstructor)}}});this.state.strict=t;this.next();if(n.length){throw this.raise(this.state.start,y.TrailingDecorator)}this.classScope.exit();return this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(true);if(this.isClassMethod()){const n=t;n.kind="method";n.computed=false;n.key=r;n.static=false;this.pushClassMethod(e,n,false,false,false,false);return true}else if(this.isClassProperty()){const n=t;n.computed=false;n.key=r;n.static=false;e.body.push(this.parseClassProperty(n));return true}return false}parseClassMember(e,t,r){const n=this.isContextual("static");if(n){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(u.braceL)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){const i=t;const a=t;const s=t;const o=t;const l=i;const p=i;t.static=n;if(this.eat(u.star)){l.kind="method";const t=this.match(u.privateName);this.parseClassElementName(l);if(t){this.pushClassPrivateMethod(e,a,true,false);return}if(this.isNonstaticConstructor(i)){this.raise(i.key.start,y.ConstructorIsGenerator)}this.pushClassMethod(e,i,true,false,false,false);return}const f=this.state.containsEsc;const c=this.match(u.privateName);const d=this.parseClassElementName(t);const m=d.type==="Identifier";const T=this.state.start;this.parsePostMemberNameModifiers(p);if(this.isClassMethod()){l.kind="method";if(c){this.pushClassPrivateMethod(e,a,false,false);return}const n=this.isNonstaticConstructor(i);let s=false;if(n){i.kind="constructor";if(r.hadConstructor&&!this.hasPlugin("typescript")){this.raise(d.start,y.DuplicateConstructor)}if(n&&this.hasPlugin("typescript")&&t.override){this.raise(d.start,y.OverrideOnConstructor)}r.hadConstructor=true;s=r.hadSuperClass}this.pushClassMethod(e,i,false,false,n,s)}else if(this.isClassProperty()){if(c){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,s)}}else if(m&&d.name==="async"&&!f&&!this.isLineTerminator()){const t=this.eat(u.star);if(p.optional){this.unexpected(T)}l.kind="method";const r=this.match(u.privateName);this.parseClassElementName(l);this.parsePostMemberNameModifiers(p);if(r){this.pushClassPrivateMethod(e,a,t,true)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,y.ConstructorIsAsync)}this.pushClassMethod(e,i,t,true,false,false)}}else if(m&&(d.name==="get"||d.name==="set")&&!f&&!(this.match(u.star)&&this.isLineTerminator())){l.kind=d.name;const t=this.match(u.privateName);this.parseClassElementName(i);if(t){this.pushClassPrivateMethod(e,a,false,false)}else{if(this.isNonstaticConstructor(i)){this.raise(i.key.start,y.ConstructorIsAccessor)}this.pushClassMethod(e,i,false,false,false,false)}this.checkGetterSetterParams(i)}else if(this.isLineTerminator()){if(c){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,s)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:r,start:n}=this.state;if((t===u.name||t===u.string)&&e.static&&r==="prototype"){this.raise(n,y.StaticPrototype)}if(t===u.privateName&&r==="constructor"){this.raise(n,y.ConstructorClassPrivateField)}return this.parsePropertyName(e,true)}parseClassStaticBlock(e,t){var r;this.expectPlugin("classStaticBlock",t.start);this.scope.enter(F|_|M);const n=this.state.labels;this.state.labels=[];this.prodParam.enter(Ne);const i=t.body=[];this.parseBlockOrModuleBlockBody(i,undefined,false,u.braceR);this.prodParam.exit();this.scope.exit();this.state.labels=n;e.body.push(this.finishNode(t,"StaticBlock"));if((r=t.decorators)!=null&&r.length){this.raise(t.start,y.DecoratorStaticBlock)}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(t.key.start,y.ConstructorClassField)}e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const r=this.parseClassPrivateProperty(t);e.body.push(r);this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),he,r.key.start)}pushClassMethod(e,t,r,n,i,a){e.body.push(this.parseMethod(t,r,n,i,a,"ClassMethod",true))}pushClassPrivateMethod(e,t,r,n){const i=this.parseMethod(t,r,n,false,false,"ClassPrivateMethod",true);e.body.push(i);const a=i.kind==="get"?i.static?ye:Te:i.kind==="set"?i.static?me:Se:he;this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),a,i.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(F|M);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(Ne);e.value=this.eat(u.eq)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,r,n=Q){if(this.match(u.name)){e.id=this.parseIdentifier();if(t){this.checkLVal(e.id,"class name",n)}}else{if(r||!t){e.id=null}else{this.unexpected(null,y.MissingClassName)}}}parseClassSuper(e){e.superClass=this.eat(u._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.eatExportStar(e);const i=n&&this.maybeParseExportNamespaceSpecifier(e);const a=r&&(!i||this.eat(u.comma));const s=t||n;if(n&&!i){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!n&&!o||i&&a&&!o){throw this.unexpected(null,u.braceL)}let l;if(s||o){l=false;this.parseExportFrom(e,s)}else{l=this.maybeParseExportDeclaration(e)}if(s||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(u._default)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,u.braceL)}eatExportStar(e){return this.eat(u.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(u.braceL)){if(!e.specifiers)e.specifiers=[];e.specifiers.push(...this.parseExportSpecifiers());e.source=null;e.declaration=null;return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual("async"))return false;const e=this.nextTokenStart();return!p.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(u._function)||t){this.next();if(t){this.next()}return this.parseFunction(e,rt|it,t)}else if(this.match(u._class)){return this.parseClass(e,true,true)}else if(this.match(u.at)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(this.state.start,y.DecoratorBeforeExport)}this.parseDecorators(false);return this.parseClass(e,true,true)}else if(this.match(u._const)||this.match(u._var)||this.isLet()){throw this.raise(this.state.start,y.UnsupportedDefaultExport)}else{const e=this.parseMaybeAssignAllowIn();this.semicolon();return e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(u.name)){const e=this.state.value;if(e==="async"&&!this.state.containsEsc||e==="let"){return false}if((e==="type"||e==="interface")&&!this.state.containsEsc){const e=this.lookahead();if(e.type===u.name&&e.value!=="from"||e.type===u.braceL){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(u._default)){return false}const e=this.nextTokenStart();const t=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||this.match(u.name)&&t){return true}if(this.match(u._default)&&t){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return t===34||t===39}return false}parseExportFrom(e,t){if(this.eatContextual("from")){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else{if(t){this.unexpected()}else{e.source=null}}this.semicolon()}shouldParseExportDeclaration(){if(this.match(u.at)){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){this.unexpected(this.state.start,y.DecoratorBeforeExport)}else{return true}}}return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t){if(r){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var i;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((i=t.extra)!=null&&i.parenthesized)){this.raise(t.start,y.ExportDefaultFromAsIdentifier)}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const r=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,r);if(!n&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(t.start,y.ExportBindingIsString,e.value,r)}else{this.checkReservedWord(e.name,e.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}const a=this.state.decoratorStack[this.state.decoratorStack.length-1];if(a.length){throw this.raise(e.start,y.UnsupportedDecoratorExport)}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){this.raise(e.start,t==="default"?y.DuplicateDefaultExport:y.DuplicateExport,t)}this.exportedIdentifiers.add(t)}parseExportSpecifiers(){const e=[];let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{this.expect(u.comma);if(this.eat(u.braceR))break}const r=this.startNode();r.local=this.parseModuleExportName();r.exported=this.eatContextual("as")?this.parseModuleExportName():r.local.__clone();e.push(this.finishNode(r,"ExportSpecifier"))}return e}parseModuleExportName(){if(this.match(u.string)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(at);if(t){this.raise(e.start,y.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16))}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(u.string)){const t=this.maybeParseDefaultImportSpecifier(e);const r=!t||this.eat(u.comma);const n=r&&this.maybeParseStarImportSpecifier(e);if(r&&!n)this.parseNamedImportSpecifiers(e);this.expectContextual("from")}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(u.string))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(u.name)}parseImportSpecifierLocal(e,t,r,n){t.local=this.parseIdentifier();this.checkLVal(t.local,n,$);e.specifiers.push(this.finishNode(t,r))}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(u.braceR)){break}const r=this.startNode();const n=this.state.value;if(t.has(n)){this.raise(this.state.start,y.ModuleAttributesWithDuplicateKeys,n)}t.add(n);if(this.match(u.string)){r.key=this.parseStringLiteral(n)}else{r.key=this.parseIdentifier(true)}this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseModuleAttributes(){if(this.match(u._with)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const r=this.startNode();r.key=this.parseIdentifier(true);if(r.key.name!=="type"){this.raise(r.key.start,y.ModuleAttributeDifferentFromType,r.key.name)}if(t.has(r.key.name)){this.raise(r.key.start,y.ModuleAttributesWithDuplicateKeys,r.key.name)}t.add(r.key.name);this.expect(u.colon);if(!this.match(u.string)){throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue)}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(u.comma));return e}maybeParseImportAssertions(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(u.braceL);const e=this.parseAssertEntries();this.eat(u.braceR);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(u.star)){const t=this.startNode();this.next();this.expectContextual("as");this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(u.braceL);while(!this.eat(u.braceR)){if(t){t=false}else{if(this.eat(u.colon)){throw this.raise(this.state.start,y.DestructureNamedImport)}this.expect(u.comma);if(this.eat(u.braceR))break}this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();const r=this.match(u.string);t.imported=this.parseModuleExportName();if(this.eatContextual("as")){t.local=this.parseIdentifier()}else{const{imported:e}=t;if(r){throw this.raise(t.start,y.ImportBindingIsString,e.value)}this.checkReservedWord(e.name,t.start,true,true);t.local=e.__clone()}this.checkLVal(t.local,"import specifier",$);e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const r of e){const[e,n]=Array.isArray(r)?r:[r,{}];if(!t.has(e))t.set(e,n||{})}return t}function parse(e,t){var r;if(((r=t)==null?void 0:r.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const r=getParser(t,e);const n=r.parse();if(r.sawUnambiguousESM){return n}if(r.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{n.program.sourceType="script"}return n}catch(r){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw r}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const r=getParser(t,e);if(r.options.strictMode){r.state.strict=true}return r.getExpression()}function getParser(e,t){let r=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);r=getParserClass(e.plugins)}return new r(e,t)}const ot={};function getParserClass(e){const t=Xe.filter(t=>hasPlugin(e,t));const r=t.join("/");let n=ot[r];if(!n){n=Parser;for(const e of t){n=Ve[e](n)}ot[r]=n}return n}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=u},81478:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=r(15154);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},24183:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertIndexedAccessType=assertIndexedAccessType;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertStaticBlock=assertStaticBlock;t.assertModuleExpression=assertModuleExpression;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=r(836);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},29753:()=>{},92718:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=r(9418);var i=r(67995);function builder(e,...t){const r=n.BUILDER_KEYS[e];const a=t.length;if(a>r.length){throw new Error(`${e}: Too many arguments passed. Received ${a} but can receive no more than ${r.length}`)}const s={type:e};let o=0;r.forEach(r=>{const i=n.NODE_FIELDS[e][r];let l;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createFlowUnionType;var n=r(81639);var i=r(28057);function createFlowUnionType(e){const t=(0,i.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},74282:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTypeAnnotationBasedOnTypeof;var n=r(81639);function createTypeAnnotationBasedOnTypeof(e){if(e==="string"){return(0,n.stringTypeAnnotation)()}else if(e==="number"){return(0,n.numberTypeAnnotation)()}else if(e==="undefined"){return(0,n.voidTypeAnnotation)()}else if(e==="boolean"){return(0,n.booleanTypeAnnotation)()}else if(e==="function"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"))}else if(e==="object"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"))}else if(e==="symbol"){return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"))}else if(e==="bigint"){return(0,n.anyTypeAnnotation)()}else{throw new Error("Invalid typeof value: "+e)}}},81639:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayExpression=arrayExpression;t.assignmentExpression=assignmentExpression;t.binaryExpression=binaryExpression;t.interpreterDirective=interpreterDirective;t.directive=directive;t.directiveLiteral=directiveLiteral;t.blockStatement=blockStatement;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.identifier=identifier;t.ifStatement=ifStatement;t.labeledStatement=labeledStatement;t.stringLiteral=stringLiteral;t.numericLiteral=numericLiteral;t.nullLiteral=nullLiteral;t.booleanLiteral=booleanLiteral;t.regExpLiteral=regExpLiteral;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.newExpression=newExpression;t.program=program;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectProperty=objectProperty;t.restElement=restElement;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.parenthesizedExpression=parenthesizedExpression;t.switchCase=switchCase;t.switchStatement=switchStatement;t.thisExpression=thisExpression;t.throwStatement=throwStatement;t.tryStatement=tryStatement;t.unaryExpression=unaryExpression;t.updateExpression=updateExpression;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.whileStatement=whileStatement;t.withStatement=withStatement;t.assignmentPattern=assignmentPattern;t.arrayPattern=arrayPattern;t.arrowFunctionExpression=arrowFunctionExpression;t.classBody=classBody;t.classExpression=classExpression;t.classDeclaration=classDeclaration;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportNamedDeclaration=exportNamedDeclaration;t.exportSpecifier=exportSpecifier;t.forOfStatement=forOfStatement;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.metaProperty=metaProperty;t.classMethod=classMethod;t.objectPattern=objectPattern;t.spreadElement=spreadElement;t.super=_super;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.yieldExpression=yieldExpression;t.awaitExpression=awaitExpression;t.import=_import;t.bigIntLiteral=bigIntLiteral;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.optionalMemberExpression=optionalMemberExpression;t.optionalCallExpression=optionalCallExpression;t.anyTypeAnnotation=anyTypeAnnotation;t.arrayTypeAnnotation=arrayTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.classImplements=classImplements;t.declareClass=declareClass;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareTypeAlias=declareTypeAlias;t.declareOpaqueType=declareOpaqueType;t.declareVariable=declareVariable;t.declareExportDeclaration=declareExportDeclaration;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declaredPredicate=declaredPredicate;t.existsTypeAnnotation=existsTypeAnnotation;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.inferredPredicate=inferredPredicate;t.interfaceExtends=interfaceExtends;t.interfaceDeclaration=interfaceDeclaration;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.mixedTypeAnnotation=mixedTypeAnnotation;t.emptyTypeAnnotation=emptyTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t.symbolTypeAnnotation=symbolTypeAnnotation;t.thisTypeAnnotation=thisTypeAnnotation;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.unionTypeAnnotation=unionTypeAnnotation;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.enumDeclaration=enumDeclaration;t.enumBooleanBody=enumBooleanBody;t.enumNumberBody=enumNumberBody;t.enumStringBody=enumStringBody;t.enumSymbolBody=enumSymbolBody;t.enumBooleanMember=enumBooleanMember;t.enumNumberMember=enumNumberMember;t.enumStringMember=enumStringMember;t.enumDefaultedMember=enumDefaultedMember;t.indexedAccessType=indexedAccessType;t.optionalIndexedAccessType=optionalIndexedAccessType;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXText=t.jsxText=jsxText;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.noop=noop;t.placeholder=placeholder;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.argumentPlaceholder=argumentPlaceholder;t.bindExpression=bindExpression;t.classProperty=classProperty;t.pipelineTopicExpression=pipelineTopicExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.classPrivateProperty=classPrivateProperty;t.classPrivateMethod=classPrivateMethod;t.importAttribute=importAttribute;t.decorator=decorator;t.doExpression=doExpression;t.exportDefaultSpecifier=exportDefaultSpecifier;t.privateName=privateName;t.recordExpression=recordExpression;t.tupleExpression=tupleExpression;t.decimalLiteral=decimalLiteral;t.staticBlock=staticBlock;t.moduleExpression=moduleExpression;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSRestType=t.tsRestType=tsRestType;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSInferType=t.tsInferType=tsInferType;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSImportType=t.tsImportType=tsImportType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.numberLiteral=NumberLiteral;t.regexLiteral=RegexLiteral;t.restProperty=RestProperty;t.spreadProperty=SpreadProperty;var n=r(92718);function arrayExpression(e){return(0,n.default)("ArrayExpression",...arguments)}function assignmentExpression(e,t,r){return(0,n.default)("AssignmentExpression",...arguments)}function binaryExpression(e,t,r){return(0,n.default)("BinaryExpression",...arguments)}function interpreterDirective(e){return(0,n.default)("InterpreterDirective",...arguments)}function directive(e){return(0,n.default)("Directive",...arguments)}function directiveLiteral(e){return(0,n.default)("DirectiveLiteral",...arguments)}function blockStatement(e,t){return(0,n.default)("BlockStatement",...arguments)}function breakStatement(e){return(0,n.default)("BreakStatement",...arguments)}function callExpression(e,t){return(0,n.default)("CallExpression",...arguments)}function catchClause(e,t){return(0,n.default)("CatchClause",...arguments)}function conditionalExpression(e,t,r){return(0,n.default)("ConditionalExpression",...arguments)}function continueStatement(e){return(0,n.default)("ContinueStatement",...arguments)}function debuggerStatement(){return(0,n.default)("DebuggerStatement",...arguments)}function doWhileStatement(e,t){return(0,n.default)("DoWhileStatement",...arguments)}function emptyStatement(){return(0,n.default)("EmptyStatement",...arguments)}function expressionStatement(e){return(0,n.default)("ExpressionStatement",...arguments)}function file(e,t,r){return(0,n.default)("File",...arguments)}function forInStatement(e,t,r){return(0,n.default)("ForInStatement",...arguments)}function forStatement(e,t,r,i){return(0,n.default)("ForStatement",...arguments)}function functionDeclaration(e,t,r,i,a){return(0,n.default)("FunctionDeclaration",...arguments)}function functionExpression(e,t,r,i,a){return(0,n.default)("FunctionExpression",...arguments)}function identifier(e){return(0,n.default)("Identifier",...arguments)}function ifStatement(e,t,r){return(0,n.default)("IfStatement",...arguments)}function labeledStatement(e,t){return(0,n.default)("LabeledStatement",...arguments)}function stringLiteral(e){return(0,n.default)("StringLiteral",...arguments)}function numericLiteral(e){return(0,n.default)("NumericLiteral",...arguments)}function nullLiteral(){return(0,n.default)("NullLiteral",...arguments)}function booleanLiteral(e){return(0,n.default)("BooleanLiteral",...arguments)}function regExpLiteral(e,t){return(0,n.default)("RegExpLiteral",...arguments)}function logicalExpression(e,t,r){return(0,n.default)("LogicalExpression",...arguments)}function memberExpression(e,t,r,i){return(0,n.default)("MemberExpression",...arguments)}function newExpression(e,t){return(0,n.default)("NewExpression",...arguments)}function program(e,t,r,i){return(0,n.default)("Program",...arguments)}function objectExpression(e){return(0,n.default)("ObjectExpression",...arguments)}function objectMethod(e,t,r,i,a,s,o){return(0,n.default)("ObjectMethod",...arguments)}function objectProperty(e,t,r,i,a){return(0,n.default)("ObjectProperty",...arguments)}function restElement(e){return(0,n.default)("RestElement",...arguments)}function returnStatement(e){return(0,n.default)("ReturnStatement",...arguments)}function sequenceExpression(e){return(0,n.default)("SequenceExpression",...arguments)}function parenthesizedExpression(e){return(0,n.default)("ParenthesizedExpression",...arguments)}function switchCase(e,t){return(0,n.default)("SwitchCase",...arguments)}function switchStatement(e,t){return(0,n.default)("SwitchStatement",...arguments)}function thisExpression(){return(0,n.default)("ThisExpression",...arguments)}function throwStatement(e){return(0,n.default)("ThrowStatement",...arguments)}function tryStatement(e,t,r){return(0,n.default)("TryStatement",...arguments)}function unaryExpression(e,t,r){return(0,n.default)("UnaryExpression",...arguments)}function updateExpression(e,t,r){return(0,n.default)("UpdateExpression",...arguments)}function variableDeclaration(e,t){return(0,n.default)("VariableDeclaration",...arguments)}function variableDeclarator(e,t){return(0,n.default)("VariableDeclarator",...arguments)}function whileStatement(e,t){return(0,n.default)("WhileStatement",...arguments)}function withStatement(e,t){return(0,n.default)("WithStatement",...arguments)}function assignmentPattern(e,t){return(0,n.default)("AssignmentPattern",...arguments)}function arrayPattern(e){return(0,n.default)("ArrayPattern",...arguments)}function arrowFunctionExpression(e,t,r){return(0,n.default)("ArrowFunctionExpression",...arguments)}function classBody(e){return(0,n.default)("ClassBody",...arguments)}function classExpression(e,t,r,i){return(0,n.default)("ClassExpression",...arguments)}function classDeclaration(e,t,r,i){return(0,n.default)("ClassDeclaration",...arguments)}function exportAllDeclaration(e){return(0,n.default)("ExportAllDeclaration",...arguments)}function exportDefaultDeclaration(e){return(0,n.default)("ExportDefaultDeclaration",...arguments)}function exportNamedDeclaration(e,t,r){return(0,n.default)("ExportNamedDeclaration",...arguments)}function exportSpecifier(e,t){return(0,n.default)("ExportSpecifier",...arguments)}function forOfStatement(e,t,r,i){return(0,n.default)("ForOfStatement",...arguments)}function importDeclaration(e,t){return(0,n.default)("ImportDeclaration",...arguments)}function importDefaultSpecifier(e){return(0,n.default)("ImportDefaultSpecifier",...arguments)}function importNamespaceSpecifier(e){return(0,n.default)("ImportNamespaceSpecifier",...arguments)}function importSpecifier(e,t){return(0,n.default)("ImportSpecifier",...arguments)}function metaProperty(e,t){return(0,n.default)("MetaProperty",...arguments)}function classMethod(e,t,r,i,a,s,o,l){return(0,n.default)("ClassMethod",...arguments)}function objectPattern(e){return(0,n.default)("ObjectPattern",...arguments)}function spreadElement(e){return(0,n.default)("SpreadElement",...arguments)}function _super(){return(0,n.default)("Super",...arguments)}function taggedTemplateExpression(e,t){return(0,n.default)("TaggedTemplateExpression",...arguments)}function templateElement(e,t){return(0,n.default)("TemplateElement",...arguments)}function templateLiteral(e,t){return(0,n.default)("TemplateLiteral",...arguments)}function yieldExpression(e,t){return(0,n.default)("YieldExpression",...arguments)}function awaitExpression(e){return(0,n.default)("AwaitExpression",...arguments)}function _import(){return(0,n.default)("Import",...arguments)}function bigIntLiteral(e){return(0,n.default)("BigIntLiteral",...arguments)}function exportNamespaceSpecifier(e){return(0,n.default)("ExportNamespaceSpecifier",...arguments)}function optionalMemberExpression(e,t,r,i){return(0,n.default)("OptionalMemberExpression",...arguments)}function optionalCallExpression(e,t,r){return(0,n.default)("OptionalCallExpression",...arguments)}function anyTypeAnnotation(){return(0,n.default)("AnyTypeAnnotation",...arguments)}function arrayTypeAnnotation(e){return(0,n.default)("ArrayTypeAnnotation",...arguments)}function booleanTypeAnnotation(){return(0,n.default)("BooleanTypeAnnotation",...arguments)}function booleanLiteralTypeAnnotation(e){return(0,n.default)("BooleanLiteralTypeAnnotation",...arguments)}function nullLiteralTypeAnnotation(){return(0,n.default)("NullLiteralTypeAnnotation",...arguments)}function classImplements(e,t){return(0,n.default)("ClassImplements",...arguments)}function declareClass(e,t,r,i){return(0,n.default)("DeclareClass",...arguments)}function declareFunction(e){return(0,n.default)("DeclareFunction",...arguments)}function declareInterface(e,t,r,i){return(0,n.default)("DeclareInterface",...arguments)}function declareModule(e,t,r){return(0,n.default)("DeclareModule",...arguments)}function declareModuleExports(e){return(0,n.default)("DeclareModuleExports",...arguments)}function declareTypeAlias(e,t,r){return(0,n.default)("DeclareTypeAlias",...arguments)}function declareOpaqueType(e,t,r){return(0,n.default)("DeclareOpaqueType",...arguments)}function declareVariable(e){return(0,n.default)("DeclareVariable",...arguments)}function declareExportDeclaration(e,t,r){return(0,n.default)("DeclareExportDeclaration",...arguments)}function declareExportAllDeclaration(e){return(0,n.default)("DeclareExportAllDeclaration",...arguments)}function declaredPredicate(e){return(0,n.default)("DeclaredPredicate",...arguments)}function existsTypeAnnotation(){return(0,n.default)("ExistsTypeAnnotation",...arguments)}function functionTypeAnnotation(e,t,r,i){return(0,n.default)("FunctionTypeAnnotation",...arguments)}function functionTypeParam(e,t){return(0,n.default)("FunctionTypeParam",...arguments)}function genericTypeAnnotation(e,t){return(0,n.default)("GenericTypeAnnotation",...arguments)}function inferredPredicate(){return(0,n.default)("InferredPredicate",...arguments)}function interfaceExtends(e,t){return(0,n.default)("InterfaceExtends",...arguments)}function interfaceDeclaration(e,t,r,i){return(0,n.default)("InterfaceDeclaration",...arguments)}function interfaceTypeAnnotation(e,t){return(0,n.default)("InterfaceTypeAnnotation",...arguments)}function intersectionTypeAnnotation(e){return(0,n.default)("IntersectionTypeAnnotation",...arguments)}function mixedTypeAnnotation(){return(0,n.default)("MixedTypeAnnotation",...arguments)}function emptyTypeAnnotation(){return(0,n.default)("EmptyTypeAnnotation",...arguments)}function nullableTypeAnnotation(e){return(0,n.default)("NullableTypeAnnotation",...arguments)}function numberLiteralTypeAnnotation(e){return(0,n.default)("NumberLiteralTypeAnnotation",...arguments)}function numberTypeAnnotation(){return(0,n.default)("NumberTypeAnnotation",...arguments)}function objectTypeAnnotation(e,t,r,i,a){return(0,n.default)("ObjectTypeAnnotation",...arguments)}function objectTypeInternalSlot(e,t,r,i,a){return(0,n.default)("ObjectTypeInternalSlot",...arguments)}function objectTypeCallProperty(e){return(0,n.default)("ObjectTypeCallProperty",...arguments)}function objectTypeIndexer(e,t,r,i){return(0,n.default)("ObjectTypeIndexer",...arguments)}function objectTypeProperty(e,t,r){return(0,n.default)("ObjectTypeProperty",...arguments)}function objectTypeSpreadProperty(e){return(0,n.default)("ObjectTypeSpreadProperty",...arguments)}function opaqueType(e,t,r,i){return(0,n.default)("OpaqueType",...arguments)}function qualifiedTypeIdentifier(e,t){return(0,n.default)("QualifiedTypeIdentifier",...arguments)}function stringLiteralTypeAnnotation(e){return(0,n.default)("StringLiteralTypeAnnotation",...arguments)}function stringTypeAnnotation(){return(0,n.default)("StringTypeAnnotation",...arguments)}function symbolTypeAnnotation(){return(0,n.default)("SymbolTypeAnnotation",...arguments)}function thisTypeAnnotation(){return(0,n.default)("ThisTypeAnnotation",...arguments)}function tupleTypeAnnotation(e){return(0,n.default)("TupleTypeAnnotation",...arguments)}function typeofTypeAnnotation(e){return(0,n.default)("TypeofTypeAnnotation",...arguments)}function typeAlias(e,t,r){return(0,n.default)("TypeAlias",...arguments)}function typeAnnotation(e){return(0,n.default)("TypeAnnotation",...arguments)}function typeCastExpression(e,t){return(0,n.default)("TypeCastExpression",...arguments)}function typeParameter(e,t,r){return(0,n.default)("TypeParameter",...arguments)}function typeParameterDeclaration(e){return(0,n.default)("TypeParameterDeclaration",...arguments)}function typeParameterInstantiation(e){return(0,n.default)("TypeParameterInstantiation",...arguments)}function unionTypeAnnotation(e){return(0,n.default)("UnionTypeAnnotation",...arguments)}function variance(e){return(0,n.default)("Variance",...arguments)}function voidTypeAnnotation(){return(0,n.default)("VoidTypeAnnotation",...arguments)}function enumDeclaration(e,t){return(0,n.default)("EnumDeclaration",...arguments)}function enumBooleanBody(e){return(0,n.default)("EnumBooleanBody",...arguments)}function enumNumberBody(e){return(0,n.default)("EnumNumberBody",...arguments)}function enumStringBody(e){return(0,n.default)("EnumStringBody",...arguments)}function enumSymbolBody(e){return(0,n.default)("EnumSymbolBody",...arguments)}function enumBooleanMember(e){return(0,n.default)("EnumBooleanMember",...arguments)}function enumNumberMember(e,t){return(0,n.default)("EnumNumberMember",...arguments)}function enumStringMember(e,t){return(0,n.default)("EnumStringMember",...arguments)}function enumDefaultedMember(e){return(0,n.default)("EnumDefaultedMember",...arguments)}function indexedAccessType(e,t){return(0,n.default)("IndexedAccessType",...arguments)}function optionalIndexedAccessType(e,t){return(0,n.default)("OptionalIndexedAccessType",...arguments)}function jsxAttribute(e,t){return(0,n.default)("JSXAttribute",...arguments)}function jsxClosingElement(e){return(0,n.default)("JSXClosingElement",...arguments)}function jsxElement(e,t,r,i){return(0,n.default)("JSXElement",...arguments)}function jsxEmptyExpression(){return(0,n.default)("JSXEmptyExpression",...arguments)}function jsxExpressionContainer(e){return(0,n.default)("JSXExpressionContainer",...arguments)}function jsxSpreadChild(e){return(0,n.default)("JSXSpreadChild",...arguments)}function jsxIdentifier(e){return(0,n.default)("JSXIdentifier",...arguments)}function jsxMemberExpression(e,t){return(0,n.default)("JSXMemberExpression",...arguments)}function jsxNamespacedName(e,t){return(0,n.default)("JSXNamespacedName",...arguments)}function jsxOpeningElement(e,t,r){return(0,n.default)("JSXOpeningElement",...arguments)}function jsxSpreadAttribute(e){return(0,n.default)("JSXSpreadAttribute",...arguments)}function jsxText(e){return(0,n.default)("JSXText",...arguments)}function jsxFragment(e,t,r){return(0,n.default)("JSXFragment",...arguments)}function jsxOpeningFragment(){return(0,n.default)("JSXOpeningFragment",...arguments)}function jsxClosingFragment(){return(0,n.default)("JSXClosingFragment",...arguments)}function noop(){return(0,n.default)("Noop",...arguments)}function placeholder(e,t){return(0,n.default)("Placeholder",...arguments)}function v8IntrinsicIdentifier(e){return(0,n.default)("V8IntrinsicIdentifier",...arguments)}function argumentPlaceholder(){return(0,n.default)("ArgumentPlaceholder",...arguments)}function bindExpression(e,t){return(0,n.default)("BindExpression",...arguments)}function classProperty(e,t,r,i,a,s){return(0,n.default)("ClassProperty",...arguments)}function pipelineTopicExpression(e){return(0,n.default)("PipelineTopicExpression",...arguments)}function pipelineBareFunction(e){return(0,n.default)("PipelineBareFunction",...arguments)}function pipelinePrimaryTopicReference(){return(0,n.default)("PipelinePrimaryTopicReference",...arguments)}function classPrivateProperty(e,t,r,i){return(0,n.default)("ClassPrivateProperty",...arguments)}function classPrivateMethod(e,t,r,i,a){return(0,n.default)("ClassPrivateMethod",...arguments)}function importAttribute(e,t){return(0,n.default)("ImportAttribute",...arguments)}function decorator(e){return(0,n.default)("Decorator",...arguments)}function doExpression(e,t){return(0,n.default)("DoExpression",...arguments)}function exportDefaultSpecifier(e){return(0,n.default)("ExportDefaultSpecifier",...arguments)}function privateName(e){return(0,n.default)("PrivateName",...arguments)}function recordExpression(e){return(0,n.default)("RecordExpression",...arguments)}function tupleExpression(e){return(0,n.default)("TupleExpression",...arguments)}function decimalLiteral(e){return(0,n.default)("DecimalLiteral",...arguments)}function staticBlock(e){return(0,n.default)("StaticBlock",...arguments)}function moduleExpression(e){return(0,n.default)("ModuleExpression",...arguments)}function tsParameterProperty(e){return(0,n.default)("TSParameterProperty",...arguments)}function tsDeclareFunction(e,t,r,i){return(0,n.default)("TSDeclareFunction",...arguments)}function tsDeclareMethod(e,t,r,i,a){return(0,n.default)("TSDeclareMethod",...arguments)}function tsQualifiedName(e,t){return(0,n.default)("TSQualifiedName",...arguments)}function tsCallSignatureDeclaration(e,t,r){return(0,n.default)("TSCallSignatureDeclaration",...arguments)}function tsConstructSignatureDeclaration(e,t,r){return(0,n.default)("TSConstructSignatureDeclaration",...arguments)}function tsPropertySignature(e,t,r){return(0,n.default)("TSPropertySignature",...arguments)}function tsMethodSignature(e,t,r,i){return(0,n.default)("TSMethodSignature",...arguments)}function tsIndexSignature(e,t){return(0,n.default)("TSIndexSignature",...arguments)}function tsAnyKeyword(){return(0,n.default)("TSAnyKeyword",...arguments)}function tsBooleanKeyword(){return(0,n.default)("TSBooleanKeyword",...arguments)}function tsBigIntKeyword(){return(0,n.default)("TSBigIntKeyword",...arguments)}function tsIntrinsicKeyword(){return(0,n.default)("TSIntrinsicKeyword",...arguments)}function tsNeverKeyword(){return(0,n.default)("TSNeverKeyword",...arguments)}function tsNullKeyword(){return(0,n.default)("TSNullKeyword",...arguments)}function tsNumberKeyword(){return(0,n.default)("TSNumberKeyword",...arguments)}function tsObjectKeyword(){return(0,n.default)("TSObjectKeyword",...arguments)}function tsStringKeyword(){return(0,n.default)("TSStringKeyword",...arguments)}function tsSymbolKeyword(){return(0,n.default)("TSSymbolKeyword",...arguments)}function tsUndefinedKeyword(){return(0,n.default)("TSUndefinedKeyword",...arguments)}function tsUnknownKeyword(){return(0,n.default)("TSUnknownKeyword",...arguments)}function tsVoidKeyword(){return(0,n.default)("TSVoidKeyword",...arguments)}function tsThisType(){return(0,n.default)("TSThisType",...arguments)}function tsFunctionType(e,t,r){return(0,n.default)("TSFunctionType",...arguments)}function tsConstructorType(e,t,r){return(0,n.default)("TSConstructorType",...arguments)}function tsTypeReference(e,t){return(0,n.default)("TSTypeReference",...arguments)}function tsTypePredicate(e,t,r){return(0,n.default)("TSTypePredicate",...arguments)}function tsTypeQuery(e){return(0,n.default)("TSTypeQuery",...arguments)}function tsTypeLiteral(e){return(0,n.default)("TSTypeLiteral",...arguments)}function tsArrayType(e){return(0,n.default)("TSArrayType",...arguments)}function tsTupleType(e){return(0,n.default)("TSTupleType",...arguments)}function tsOptionalType(e){return(0,n.default)("TSOptionalType",...arguments)}function tsRestType(e){return(0,n.default)("TSRestType",...arguments)}function tsNamedTupleMember(e,t,r){return(0,n.default)("TSNamedTupleMember",...arguments)}function tsUnionType(e){return(0,n.default)("TSUnionType",...arguments)}function tsIntersectionType(e){return(0,n.default)("TSIntersectionType",...arguments)}function tsConditionalType(e,t,r,i){return(0,n.default)("TSConditionalType",...arguments)}function tsInferType(e){return(0,n.default)("TSInferType",...arguments)}function tsParenthesizedType(e){return(0,n.default)("TSParenthesizedType",...arguments)}function tsTypeOperator(e){return(0,n.default)("TSTypeOperator",...arguments)}function tsIndexedAccessType(e,t){return(0,n.default)("TSIndexedAccessType",...arguments)}function tsMappedType(e,t,r){return(0,n.default)("TSMappedType",...arguments)}function tsLiteralType(e){return(0,n.default)("TSLiteralType",...arguments)}function tsExpressionWithTypeArguments(e,t){return(0,n.default)("TSExpressionWithTypeArguments",...arguments)}function tsInterfaceDeclaration(e,t,r,i){return(0,n.default)("TSInterfaceDeclaration",...arguments)}function tsInterfaceBody(e){return(0,n.default)("TSInterfaceBody",...arguments)}function tsTypeAliasDeclaration(e,t,r){return(0,n.default)("TSTypeAliasDeclaration",...arguments)}function tsAsExpression(e,t){return(0,n.default)("TSAsExpression",...arguments)}function tsTypeAssertion(e,t){return(0,n.default)("TSTypeAssertion",...arguments)}function tsEnumDeclaration(e,t){return(0,n.default)("TSEnumDeclaration",...arguments)}function tsEnumMember(e,t){return(0,n.default)("TSEnumMember",...arguments)}function tsModuleDeclaration(e,t){return(0,n.default)("TSModuleDeclaration",...arguments)}function tsModuleBlock(e){return(0,n.default)("TSModuleBlock",...arguments)}function tsImportType(e,t,r){return(0,n.default)("TSImportType",...arguments)}function tsImportEqualsDeclaration(e,t){return(0,n.default)("TSImportEqualsDeclaration",...arguments)}function tsExternalModuleReference(e){return(0,n.default)("TSExternalModuleReference",...arguments)}function tsNonNullExpression(e){return(0,n.default)("TSNonNullExpression",...arguments)}function tsExportAssignment(e){return(0,n.default)("TSExportAssignment",...arguments)}function tsNamespaceExportDeclaration(e){return(0,n.default)("TSNamespaceExportDeclaration",...arguments)}function tsTypeAnnotation(e){return(0,n.default)("TSTypeAnnotation",...arguments)}function tsTypeParameterInstantiation(e){return(0,n.default)("TSTypeParameterInstantiation",...arguments)}function tsTypeParameterDeclaration(e){return(0,n.default)("TSTypeParameterDeclaration",...arguments)}function tsTypeParameter(e,t,r){return(0,n.default)("TSTypeParameter",...arguments)}function NumberLiteral(...e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return(0,n.default)("NumberLiteral",...e)}function RegexLiteral(...e){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return(0,n.default)("RegexLiteral",...e)}function RestProperty(...e){console.trace("The node type RestProperty has been renamed to RestElement");return(0,n.default)("RestProperty",...e)}function SpreadProperty(...e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return(0,n.default)("SpreadProperty",...e)}},39690:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});var n=r(81639)},35299:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(44414);var i=r(71487);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(81639);var i=r(53931);function createTSUnionType(e){const t=e.map(e=>e.typeAnnotation);const r=(0,i.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},24890:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=r(77329);function clone(e){return(0,n.default)(e,false)}},66853:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeep;var n=r(77329);function cloneDeep(e){return(0,n.default)(e)}},71520:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneDeepWithoutLoc;var n=r(77329);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},77329:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(9418);var i=r(44414);const a=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:s}=e;const o={type:e.type};if((0,i.isIdentifier)(e)){o.name=e.name;if(a(e,"optional")&&typeof e.optional==="boolean"){o.optional=e.optional}if(a(e,"typeAnnotation")){o.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!a(n.NODE_FIELDS,s)){throw new Error(`Unknown node type: "${s}"`)}else{for(const l of Object.keys(n.NODE_FIELDS[s])){if(a(e,l)){if(t){o[l]=(0,i.isFile)(e)&&l==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[l],true,r)}else{o[l]=e[l]}}}}if(a(e,"loc")){if(r){o.loc=null}else{o.loc=e.loc}}if(a(e,"leadingComments")){o.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(a(e,"innerComments")){o.innerComments=maybeCloneComments(e.innerComments,t,r)}if(a(e,"trailingComments")){o.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(a(e,"extra")){o.extra=Object.assign({},e.extra)}return o}function maybeCloneComments(e,t,r){if(!e||!t){return e}return e.map(({type:e,value:t,loc:n})=>{if(r){return{type:e,value:t,loc:null}}return{type:e,value:t,loc:n}})}},4418:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneWithoutLoc;var n=r(77329);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},24794:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=r(85636);function addComment(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])}},85636:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n]=e[n].concat(r)}}else{e[n]=r}return e}},65256:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=r(67276);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},60670:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=r(67276);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},56409:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=r(67276);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},30035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=r(56409);var i=r(60670);var a=r(65256);function inheritsComments(e,t){(0,n.default)(e,t);(0,i.default)(e,t);(0,a.default)(e,t);return e}},76613:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(93401);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},7125:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSBASETYPE_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(9418);const i=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=a;const s=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=s;const o=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const T=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=S;const h=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=h;const E=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=E;const b=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=b;const P=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=x;const g=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=g;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=v;const O=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=N;const w=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=w;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const j=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=j;const L=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=L;const M=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=M;const B=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=B;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const _=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=_;const R=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=R;const k=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=k;const K=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=K;const V=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=V;const X=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=J;const Y=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=Y;const U=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=U;const W=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=q;const G=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=G},93401:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const i=["left","init"];t.FOR_INIT_KEYS=i;const a=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=a;const s=["||","&&","??"];t.LOGICAL_OPERATORS=s;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const u=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=u;const p=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=p;const f=[...p,...l];t.BOOLEAN_BINARY_OPERATORS=f;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...f];t.BINARY_OPERATORS=d;const y=["=","+=",...c.map(e=>e+"="),...s.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=y;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const T=["+","-","~"];t.NUMBER_UNARY_OPERATORS=T;const S=["typeof"];t.STRING_UNARY_OPERATORS=S;const h=["void","throw",...m,...T,...S];t.UNARY_OPERATORS=h;const E={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=E;const b=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=b;const P=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=P},2387:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=r(75666);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},84746:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=r(7057);var i=r(44414);var a=r(81639);var s=r(77329);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,i.isEmptyStatement)(u)){l=false}if((0,i.isExpression)(u)){o.push(u)}else if((0,i.isExpressionStatement)(u)){o.push(u.expression)}else if((0,i.isVariableDeclaration)(u)){if(u.kind!=="var")return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:u.kind,id:(0,s.default)(t[e])})}if(e.init){o.push((0,a.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,i.isIfStatement)(u)){const e=u.consequent?gatherSequenceExpressions([u.consequent],t,r):t.buildUndefinedNode();const n=u.alternate?gatherSequenceExpressions([u.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,a.conditionalExpression)(u.test,e,n))}else if((0,i.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,i.isEmptyStatement)(u)){if(e.indexOf(u)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,a.sequenceExpression)(o)}}},27997:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBindingIdentifierName;var n=r(32689);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},75666:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(44414);var i=r(81639);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,i.returnStatement)(e)}else{e=(0,i.expressionStatement)(e)}}r=[e]}return(0,i.blockStatement)(r)}},58035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(44414);var i=r(81639);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,i.stringLiteral)(t.name);return t}},25793:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(44414);var i=toExpression;t.default=i;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},32689:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=r(18640);var i=r(72725);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},75771:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toKeyAlias;var n=r(44414);var i=r(77329);var a=r(7903);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,a.default)((0,i.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},56596:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toSequenceExpression;var n=r(84746);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const i=(0,n.default)(e,t,r);if(!i)return;for(const e of r){t.push(e)}return i}},47297:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(44414);var i=r(81639);var a=toStatement;t.default=a;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let a;if((0,n.isClass)(e)){r=true;a="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;a="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,i.expressionStatement)(e)}if(r&&!e.id){a=false}if(!a){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=a;return e}},5601:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(18640);var i=r(81639);var a=valueToNode;t.default=a;const s=Function.call.bind(Object.prototype.toString);function isRegExp(e){return s(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,i.identifier)("undefined")}if(e===true||e===false){return(0,i.booleanLiteral)(e)}if(e===null){return(0,i.nullLiteral)()}if(typeof e==="string"){return(0,i.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,i.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,i.numericLiteral)(0)}else{r=(0,i.numericLiteral)(1)}t=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,i.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,i.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let a;if((0,n.default)(r)){a=(0,i.identifier)(r)}else{a=(0,i.stringLiteral)(r)}t.push((0,i.objectProperty)(a,valueToNode(e[r])))}return(0,i.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},83607:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=r(836);var i=r(18640);var a=r(72725);var s=r(93401);var o=r(70879);(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...s.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,i,a){const s=(0,n.default)("Pattern",r.left)?t:e;s(r,i,a)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...s.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,i){const a=r.operator==="in"?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,i.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}},{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const i=/\.(\w+)$/.exec(t);if(!i)return;const[,s]=i;const o={computed:false};if(s==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(s==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(s==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(s==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(s==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,a.isKeyword)(r.name)||(0,a.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...s.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,i,a){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=(0,n.default)("ObjectPattern",r)?e:t;s(a,"value",a.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,i]=r;if(e[n].length>i+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...s.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...s.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,i){const a=r.init?e:t;a(r,n,i)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(i,"id",i.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,i){const a=r.source?e:t;a(r,n,i)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,i,a){if((0,n.default)("VariableDeclaration",a)){e(r,i,a)}else{t(r,i,a)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,n.default)("Identifier",e.property,{name:i})){throw new TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,i){const a=r.computed?t:e;a(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=c;const d=Object.assign({},l,c,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,i){const a=r.computed?t:e;a(r,n,i)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}})},86193:(e,t,r)=>{"use strict";var n=r(70879);var i=r(83607);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},i.classMethodOrDeclareMethodCommon,i.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]})},14142:(e,t,r)=>{"use strict";var n=r(70879);const i=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});i("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});i("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});i("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});(0,n.default)("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["Flow","FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},9418:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return i.VISITOR_KEYS}});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return i.ALIAS_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return i.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return i.NODE_FIELDS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return i.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return i.DEPRECATED_KEYS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return i.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return a.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return a.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return a.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;var n=r(80035);r(83607);r(14142);r(93551);r(70068);r(86193);r(87043);var i=r(70879);var a=r(54026);n(i.VISITOR_KEYS);n(i.ALIAS_KEYS);n(i.FLIPPED_ALIAS_KEYS);n(i.NODE_FIELDS);n(i.BUILDER_KEYS);n(i.DEPRECATED_KEYS);n(a.PLACEHOLDERS_ALIAS);n(a.PLACEHOLDERS_FLIPPED_ALIAS);const s=Object.keys(i.VISITOR_KEYS).concat(Object.keys(i.FLIPPED_ALIAS_KEYS)).concat(Object.keys(i.DEPRECATED_KEYS));t.TYPES=s},93551:(e,t,r)=>{"use strict";var n=r(70879);(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}}});(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]});(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]});(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},70068:(e,t,r)=>{"use strict";var n=r(70879);var i=r(54026);{(0,n.default)("Noop",{visitor:[]})}(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...i.PLACEHOLDERS)}}});(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},54026:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(70879);const i=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=i;const a={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=a;for(const e of i){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)a[e]=t}const s={};t.PLACEHOLDERS_FLIPPED_ALIAS=s;Object.keys(a).forEach(e=>{a[e].forEach(t=>{if(!Object.hasOwnProperty.call(s,t)){s[t]=[]}s[t].push(e)})})},87043:(e,t,r)=>{"use strict";var n=r(70879);var i=r(83607);const a=(0,n.assertValueType)("boolean");const s={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}});(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},i.functionDeclarationCommon,s)});(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},i.classMethodOrDeclareMethodCommon,s)});(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const o={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")};const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:o};(0,n.default)("TSCallSignatureDeclaration",l);(0,n.default)("TSConstructSignatureDeclaration",l);const u={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(a),optional:(0,n.validateOptional)(a)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},u,{readonly:(0,n.validateOptional)(a),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})});(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},o,u,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(a),static:(0,n.validateOptional)(a),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p){(0,n.default)(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}(0,n.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};(0,n.default)("TSFunctionType",Object.assign({},f,{fields:o}));(0,n.default)("TSConstructorType",Object.assign({},f,{fields:Object.assign({},o,{abstract:(0,n.validateOptional)(a)})}));(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(a)}});(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}});(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:a,default:false},elementType:(0,n.validateType)("TSType")}});const c={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",c);(0,n.default)("TSIntersectionType",c);(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(a),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(a),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});(0,n.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}});(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(a),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(a),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(a),const:(0,n.validateOptional)(a),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(a),global:(0,n.validateOptional)(a),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(a),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}});(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},70879:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;t.typeIs=typeIs;t.validateType=validateType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.validateArrayOfType=validateArrayOfType;t.assertEach=assertEach;t.assertOneOf=assertOneOf;t.assertNodeType=assertNodeType;t.assertNodeOrValueType=assertNodeOrValueType;t.assertValueType=assertValueType;t.assertShape=assertShape;t.assertOptionalChainStart=assertOptionalChainStart;t.chain=chain;t.default=defineType;t.NODE_PARENT_VALIDATIONS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n=r(836);var i=r(67995);const a={};t.VISITOR_KEYS=a;const s={};t.ALIAS_KEYS=s;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};t.NODE_PARENT_VALIDATIONS=f;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let a=0;a=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const c=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineType(e,t={}){const r=t.inherits&&y[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const i=e.default;if(Array.isArray(i)?i.length>0:i&&typeof i==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(i)?[]:i,optional:e.optional,validate:e.validate}}}}const i=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const T=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(c.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of i.concat(T)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&T.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}a[e]=t.visitor=i;u[e]=t.builder=T;l[e]=t.fields=n;s[e]=t.aliases=m;m.forEach(t=>{o[t]=o[t]||[];o[t].push(e)});if(t.validate){f[e]=t.validate}y[e]=t}const y={}},30632:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});t.react=void 0;var i=r(96682);var a=r(31933);var s=r(35299);var o=r(81478);var l=r(24183);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=r(74282);var p=r(77268);var f=r(55464);var c=r(81639);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=r(39690);Object.keys(d).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})});var y=r(77329);var m=r(24890);var T=r(66853);var S=r(71520);var h=r(4418);var E=r(24794);var b=r(85636);var P=r(65256);var x=r(60670);var g=r(30035);var A=r(56409);var v=r(76613);var O=r(7125);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===O[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=r(93401);Object.keys(I).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})});var D=r(2387);var N=r(27997);var w=r(75666);var C=r(58035);var j=r(25793);var L=r(32689);var M=r(75771);var B=r(56596);var F=r(47297);var _=r(5601);var R=r(9418);Object.keys(R).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===R[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return R[e]}})});var k=r(4160);var K=r(32220);var V=r(17191);var X=r(21637);var J=r(7903);var Y=r(28057);var U=r(7057);var W=r(71048);var q=r(62971);Object.keys(q).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===q[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return q[e]}})});var G=r(65473);var z=r(36317);var H=r(836);var Q=r(72610);var $=r(90548);var Z=r(2090);var ee=r(95364);var te=r(15154);var re=r(94323);var ne=r(41807);var ie=r(95838);var ae=r(1902);var se=r(64970);var oe=r(11307);var le=r(82916);var ue=r(18640);var pe=r(28188);var fe=r(72717);var ce=r(67995);var de=r(32207);var ye=r(44414);Object.keys(ye).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===ye[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return ye[e]}})});var me=r(29753);Object.keys(me).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})});const Te={isReactComponent:i.default,isCompatTag:a.default,buildChildren:s.default};t.react=Te},4160:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(81639);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},28057:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(44414);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const i=[];const a=[];for(let s=0;s=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(i.indexOf(o.types)<0){e=e.concat(o.types);i.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}a.push(o)}for(const e of Object.keys(r)){a.push(r[e])}for(const e of Object.keys(t)){a.push(t[e])}return a}},32220:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherits;var n=r(93401);var i=r(30035);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,i.default)(e,t);return e}},17191:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=prependToMemberExpression;var n=r(81639);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},21637:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(93401);const i=["tokens","start","end","loc","raw","rawValue"];const a=n.COMMENT_KEYS.concat(["comments"]).concat(i);function removeProperties(e,t={}){const r=t.preserveComments?i:a;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},7903:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removePropertiesDeep;var n=r(65473);var i=r(21637);function removePropertiesDeep(e,t){(0,n.default)(e,i.default,t);return e}},53931:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(44414);function removeTypeDuplicates(e){const t={};const r={};const i=[];const a=[];for(let t=0;t=0){continue}if((0,n.isTSAnyKeyword)(s)){return[s]}if((0,n.isTSBaseType)(s)){r[s.type]=s;continue}if((0,n.isTSUnionType)(s)){if(i.indexOf(s.types)<0){e=e.concat(s.types);i.push(s.types)}continue}a.push(s)}for(const e of Object.keys(r)){a.push(r[e])}for(const e of Object.keys(t)){a.push(t[e])}return a}},7057:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(44414);function getBindingIdentifiers(e,t,r){let i=[].concat(e);const a=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;const s=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=a[e.name]=a[e.name]||[];t.push(e)}else{a[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(s){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(7057);var i=getOuterBindingIdentifiers;t.default=i;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},62971:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverse;var n=r(9418);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:i}=t;traverseSimpleImpl(e,n,i,r,[])}function traverseSimpleImpl(e,t,r,i,a){const s=n.VISITOR_KEYS[e.type];if(!s)return;if(t)t(e,a,i);for(const n of s){const s=e[n];if(Array.isArray(s)){for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(9418);function traverseFast(e,t,r){if(!e)return;const i=n.VISITOR_KEYS[e.type];if(!i)return;r=r||{};t(e,r);for(const n of i){const i=e[n];if(Array.isArray(i)){for(const e of i){traverseFast(e,t,r)}}else{traverseFast(i,t,r)}}}},67276:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},71487:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(81639);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let i=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},32207:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildMatchMemberExpression;var n=r(72717);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},44414:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayExpression=isArrayExpression;t.isAssignmentExpression=isAssignmentExpression;t.isBinaryExpression=isBinaryExpression;t.isInterpreterDirective=isInterpreterDirective;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isBlockStatement=isBlockStatement;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isExpressionStatement=isExpressionStatement;t.isFile=isFile;t.isForInStatement=isForInStatement;t.isForStatement=isForStatement;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isLabeledStatement=isLabeledStatement;t.isStringLiteral=isStringLiteral;t.isNumericLiteral=isNumericLiteral;t.isNullLiteral=isNullLiteral;t.isBooleanLiteral=isBooleanLiteral;t.isRegExpLiteral=isRegExpLiteral;t.isLogicalExpression=isLogicalExpression;t.isMemberExpression=isMemberExpression;t.isNewExpression=isNewExpression;t.isProgram=isProgram;t.isObjectExpression=isObjectExpression;t.isObjectMethod=isObjectMethod;t.isObjectProperty=isObjectProperty;t.isRestElement=isRestElement;t.isReturnStatement=isReturnStatement;t.isSequenceExpression=isSequenceExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isThisExpression=isThisExpression;t.isThrowStatement=isThrowStatement;t.isTryStatement=isTryStatement;t.isUnaryExpression=isUnaryExpression;t.isUpdateExpression=isUpdateExpression;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isAssignmentPattern=isAssignmentPattern;t.isArrayPattern=isArrayPattern;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isClassBody=isClassBody;t.isClassExpression=isClassExpression;t.isClassDeclaration=isClassDeclaration;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportSpecifier=isExportSpecifier;t.isForOfStatement=isForOfStatement;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isMetaProperty=isMetaProperty;t.isClassMethod=isClassMethod;t.isObjectPattern=isObjectPattern;t.isSpreadElement=isSpreadElement;t.isSuper=isSuper;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isYieldExpression=isYieldExpression;t.isAwaitExpression=isAwaitExpression;t.isImport=isImport;t.isBigIntLiteral=isBigIntLiteral;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isOptionalCallExpression=isOptionalCallExpression;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isClassImplements=isClassImplements;t.isDeclareClass=isDeclareClass;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareVariable=isDeclareVariable;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclaredPredicate=isDeclaredPredicate;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isInferredPredicate=isInferredPredicate;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isEnumDeclaration=isEnumDeclaration;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumNumberBody=isEnumNumberBody;t.isEnumStringBody=isEnumStringBody;t.isEnumSymbolBody=isEnumSymbolBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringMember=isEnumStringMember;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isIndexedAccessType=isIndexedAccessType;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXText=isJSXText;t.isJSXFragment=isJSXFragment;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXClosingFragment=isJSXClosingFragment;t.isNoop=isNoop;t.isPlaceholder=isPlaceholder;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isBindExpression=isBindExpression;t.isClassProperty=isClassProperty;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassPrivateMethod=isClassPrivateMethod;t.isImportAttribute=isImportAttribute;t.isDecorator=isDecorator;t.isDoExpression=isDoExpression;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isPrivateName=isPrivateName;t.isRecordExpression=isRecordExpression;t.isTupleExpression=isTupleExpression;t.isDecimalLiteral=isDecimalLiteral;t.isStaticBlock=isStaticBlock;t.isModuleExpression=isModuleExpression;t.isTSParameterProperty=isTSParameterProperty;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSQualifiedName=isTSQualifiedName;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSPropertySignature=isTSPropertySignature;t.isTSMethodSignature=isTSMethodSignature;t.isTSIndexSignature=isTSIndexSignature;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTSThisType=isTSThisType;t.isTSFunctionType=isTSFunctionType;t.isTSConstructorType=isTSConstructorType;t.isTSTypeReference=isTSTypeReference;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSArrayType=isTSArrayType;t.isTSTupleType=isTSTupleType;t.isTSOptionalType=isTSOptionalType;t.isTSRestType=isTSRestType;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSUnionType=isTSUnionType;t.isTSIntersectionType=isTSIntersectionType;t.isTSConditionalType=isTSConditionalType;t.isTSInferType=isTSInferType;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSTypeOperator=isTSTypeOperator;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSMappedType=isTSMappedType;t.isTSLiteralType=isTSLiteralType;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSAsExpression=isTSAsExpression;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSModuleBlock=isTSModuleBlock;t.isTSImportType=isTSImportType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSExportAssignment=isTSExportAssignment;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameter=isTSTypeParameter;t.isExpression=isExpression;t.isBinary=isBinary;t.isScopable=isScopable;t.isBlockParent=isBlockParent;t.isBlock=isBlock;t.isStatement=isStatement;t.isTerminatorless=isTerminatorless;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isLoop=isLoop;t.isWhile=isWhile;t.isExpressionWrapper=isExpressionWrapper;t.isFor=isFor;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionParent=isFunctionParent;t.isPureish=isPureish;t.isDeclaration=isDeclaration;t.isPatternLike=isPatternLike;t.isLVal=isLVal;t.isTSEntityName=isTSEntityName;t.isLiteral=isLiteral;t.isImmutable=isImmutable;t.isUserWhitespacable=isUserWhitespacable;t.isMethod=isMethod;t.isObjectMember=isObjectMember;t.isProperty=isProperty;t.isUnaryLike=isUnaryLike;t.isPattern=isPattern;t.isClass=isClass;t.isModuleDeclaration=isModuleDeclaration;t.isExportDeclaration=isExportDeclaration;t.isModuleSpecifier=isModuleSpecifier;t.isFlow=isFlow;t.isFlowType=isFlowType;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isEnumBody=isEnumBody;t.isEnumMember=isEnumMember;t.isJSX=isJSX;t.isPrivate=isPrivate;t.isTSTypeElement=isTSTypeElement;t.isTSType=isTSType;t.isTSBaseType=isTSBaseType;t.isNumberLiteral=isNumberLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestProperty=isRestProperty;t.isSpreadProperty=isSpreadProperty;var n=r(36317);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},836:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=r(36317);var i=r(11307);var a=r(41807);var s=r(9418);function is(e,t,r){if(!t)return false;const o=(0,i.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in s.FLIPPED_ALIAS_KEYS){return(0,a.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},72610:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=r(7057);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const i=n.default.keys[t.type];if(i){for(let r=0;r=0)return true}else{if(a===e)return true}}}return false}},90548:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBlockScoped;var n=r(44414);var i=r(95364);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)}},2090:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isImmutable;var n=r(11307);var i=r(44414);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,i.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},95364:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(44414);var i=r(93401);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[i.BLOCK_SCOPED_SYMBOL])}},15154:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNode;var n=r(9418);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},94323:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(9418);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const i=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(9418);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},95838:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},1902:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isScope;var n=r(44414);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},64970:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isSpecifierDefault;var n=r(44414);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},11307:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(9418);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},82916:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidES3Identifier;var n=r(18640);const i=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!i.has(e)}},18640:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isValidIdentifier;var n=r(72725);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},28188:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isVar;var n=r(44414);var i=r(93401);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]}},72717:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(44414);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const i=Array.isArray(t)?t:t.split(".");const a=[];let s;for(s=e;(0,n.isMemberExpression)(s);s=s.object){a.push(s.property)}a.push(s);if(a.lengthi.length)return false;for(let e=0,t=a.length-1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},96682:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(32207);const i=(0,n.default)("React.Component");var a=i;t.default=a},67995:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(9418);function validate(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const a=i[t];validateField(e,t,r,a);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];if(!i)return;i(e,t,r)}},36301:(e,t,r)=>{"use strict";var n=r(35747);var i=r(85622);var a=r(13401);Object.defineProperty(t,"commentRegex",{get:function getCommentRegex(){return/^\s*\/(?:\/|\*)[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/gm}});Object.defineProperty(t,"mapFileCommentRegex",{get:function getMapFileCommentRegex(){return/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"`]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^\*]+?)[ \t]*(?:\*\/){1}[ \t]*$)/gm}});function decodeBase64(e){return a.Buffer.from(e,"base64").toString()}function stripComment(e){return e.split(",").pop()}function readFromFileMap(e,r){var a=t.mapFileCommentRegex.exec(e);var s=a[1]||a[2];var o=i.resolve(r,s);try{return n.readFileSync(o,"utf8")}catch(e){throw new Error("An error occurred while trying to read the map file at "+o+"\n"+e)}}function Converter(e,t){t=t||{};if(t.isFileComment)e=readFromFileMap(e,t.commentFileDir);if(t.hasComment)e=stripComment(e);if(t.isEncoded)e=decodeBase64(e);if(t.isJSON||t.isEncoded)e=JSON.parse(e);this.sourcemap=e}Converter.prototype.toJSON=function(e){return JSON.stringify(this.sourcemap,null,e)};Converter.prototype.toBase64=function(){var e=this.toJSON();return a.Buffer.from(e,"utf8").toString("base64")};Converter.prototype.toComment=function(e){var t=this.toBase64();var r="sourceMappingURL=data:application/json;charset=utf-8;base64,"+t;return e&&e.multiline?"/*# "+r+" */":"//# "+r};Converter.prototype.toObject=function(){return JSON.parse(this.toJSON())};Converter.prototype.addProperty=function(e,t){if(this.sourcemap.hasOwnProperty(e))throw new Error('property "'+e+'" already exists on the sourcemap, use set property instead');return this.setProperty(e,t)};Converter.prototype.setProperty=function(e,t){this.sourcemap[e]=t;return this};Converter.prototype.getProperty=function(e){return this.sourcemap[e]};t.fromObject=function(e){return new Converter(e)};t.fromJSON=function(e){return new Converter(e,{isJSON:true})};t.fromBase64=function(e){return new Converter(e,{isEncoded:true})};t.fromComment=function(e){e=e.replace(/^\/\*/g,"//").replace(/\*\/$/g,"");return new Converter(e,{isEncoded:true,hasComment:true})};t.fromMapFileComment=function(e,t){return new Converter(e,{commentFileDir:t,isFileComment:true,isJSON:true})};t.fromSource=function(e){var r=e.match(t.commentRegex);return r?t.fromComment(r.pop()):null};t.fromMapFileSource=function(e,r){var n=e.match(t.mapFileCommentRegex);return n?t.fromMapFileComment(n.pop(),r):null};t.removeComments=function(e){return e.replace(t.commentRegex,"")};t.removeMapFileComments=function(e){return e.replace(t.mapFileCommentRegex,"")};t.generateMapFileComment=function(e,t){var r="sourceMappingURL="+e;return t&&t.multiline?"/*# "+r+" */":"//# "+r}},13401:(e,t,r)=>{var n=r(64293);var i=n.Buffer;function copyProps(e,t){for(var r in e){t[r]=e[r]}}if(i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow){e.exports=n}else{copyProps(n,t);t.Buffer=SafeBuffer}function SafeBuffer(e,t,r){return i(e,t,r)}copyProps(i,SafeBuffer);SafeBuffer.from=function(e,t,r){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return i(e,t,r)};SafeBuffer.alloc=function(e,t,r){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var n=i(e);if(t!==undefined){if(typeof r==="string"){n.fill(t,r)}else{n.fill(t)}}else{n.fill(0)}return n};SafeBuffer.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return i(e)};SafeBuffer.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return n.SlowBuffer(e)}},67941:e=>{"use strict";const t=Symbol.for("gensync:v1:start");const r=Symbol.for("gensync:v1:suspend");const n="GENSYNC_EXPECTED_START";const i="GENSYNC_EXPECTED_SUSPEND";const a="GENSYNC_OPTIONS_ERROR";const s="GENSYNC_RACE_NONEMPTY";const o="GENSYNC_ERRBACK_NO_CALLBACK";e.exports=Object.assign(function gensync(e){let t=e;if(typeof e!=="function"){t=newGenerator(e)}else{t=wrapGenerator(e)}return Object.assign(t,makeFunctionAPI(t))},{all:buildOperation({name:"all",arity:1,sync:function(e){const t=Array.from(e[0]);return t.map(e=>evaluateSync(e))},async:function(e,t,r){const n=Array.from(e[0]);if(n.length===0){Promise.resolve().then(()=>t([]));return}let i=0;const a=n.map(()=>undefined);n.forEach((e,n)=>{evaluateAsync(e,e=>{a[n]=e;i+=1;if(i===a.length)t(a)},r)})}}),race:buildOperation({name:"race",arity:1,sync:function(e){const t=Array.from(e[0]);if(t.length===0){throw makeError("Must race at least 1 item",s)}return evaluateSync(t[0])},async:function(e,t,r){const n=Array.from(e[0]);if(n.length===0){throw makeError("Must race at least 1 item",s)}for(const e of n){evaluateAsync(e,t,r)}}})});function makeFunctionAPI(e){const t={sync:function(...t){return evaluateSync(e.apply(this,t))},async:function(...t){return new Promise((r,n)=>{evaluateAsync(e.apply(this,t),r,n)})},errback:function(...t){const r=t.pop();if(typeof r!=="function"){throw makeError("Asynchronous function called without callback",o)}let n;try{n=e.apply(this,t)}catch(e){r(e);return}evaluateAsync(n,e=>r(undefined,e),e=>r(e))}};return t}function assertTypeof(e,t,r,n){if(typeof r===e||n&&typeof r==="undefined"){return}let i;if(n){i=`Expected opts.${t} to be either a ${e}, or undefined.`}else{i=`Expected opts.${t} to be a ${e}.`}throw makeError(i,a)}function makeError(e,t){return Object.assign(new Error(e),{code:t})}function newGenerator({name:e,arity:t,sync:r,async:n,errback:i}){assertTypeof("string","name",e,true);assertTypeof("number","arity",t,true);assertTypeof("function","sync",r);assertTypeof("function","async",n,true);assertTypeof("function","errback",i,true);if(n&&i){throw makeError("Expected one of either opts.async or opts.errback, but got _both_.",a)}if(typeof e!=="string"){let t;if(i&&i.name&&i.name!=="errback"){t=i.name}if(n&&n.name&&n.name!=="async"){t=n.name.replace(/Async$/,"")}if(r&&r.name&&r.name!=="sync"){t=r.name.replace(/Sync$/,"")}if(typeof t==="string"){e=t}}if(typeof t!=="number"){t=r.length}return buildOperation({name:e,arity:t,sync:function(e){return r.apply(this,e)},async:function(e,t,a){if(n){n.apply(this,e).then(t,a)}else if(i){i.call(this,...e,(e,r)=>{if(e==null)t(r);else a(e)})}else{t(r.apply(this,e))}}})}function wrapGenerator(e){return setFunctionMetadata(e.name,e.length,function(...t){return e.apply(this,t)})}function buildOperation({name:e,arity:n,sync:i,async:a}){return setFunctionMetadata(e,n,function*(...e){const n=yield t;if(!n){const t=i.call(this,e);return t}let s;try{a.call(this,e,e=>{if(s)return;s={value:e};n()},e=>{if(s)return;s={err:e};n()})}catch(e){s={err:e};n()}yield r;if(s.hasOwnProperty("err")){throw s.err}return s.value})}function evaluateSync(e){let t;while(!({value:t}=e.next()).done){assertStart(t,e)}return t}function evaluateAsync(e,t,r){(function step(){try{let n;while(!({value:n}=e.next()).done){assertStart(n,e);let t=true;let r=false;const i=e.next(()=>{if(t){r=true}else{step()}});t=false;assertSuspend(i,e);if(!r){return}}return t(n)}catch(e){return r(e)}})()}function assertStart(e,r){if(e===t)return;throwError(r,makeError(`Got unexpected yielded value in gensync generator: ${JSON.stringify(e)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,n))}function assertSuspend({value:e,done:t},n){if(!t&&e===r)return;throwError(n,makeError(t?"Unexpected generator completion. If you get this, it is probably a gensync bug.":`Expected GENSYNC_SUSPEND, got ${JSON.stringify(e)}. If you get this, it is probably a gensync bug.`,i))}function throwError(e,t){if(e.throw)e.throw(t);throw t}function isIterable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!e[Symbol.iterator]}function setFunctionMetadata(e,t,r){if(typeof e==="string"){const t=Object.getOwnPropertyDescriptor(r,"name");if(!t||t.configurable){Object.defineProperty(r,"name",Object.assign(t||{},{configurable:true,value:e}))}}if(typeof t==="number"){const e=Object.getOwnPropertyDescriptor(r,"length");if(!e||e.configurable){Object.defineProperty(r,"length",Object.assign(e||{},{configurable:true,value:t}))}}return r}},41389:(e,t,r)=>{"use strict";e.exports=r(67589)},52388:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:undefined};if(e[1])t.type="string",t.closed=!!(e[3]||e[4]);else if(e[5])t.type="comment";else if(e[6])t.type="comment",t.closed=!!e[7];else if(e[8])t.type="regex";else if(e[9])t.type="number";else if(e[10])t.type="name";else if(e[11])t.type="punctuator";else if(e[12])t.type="whitespace";return t}},87504:e=>{"use strict";const t={};const r=t.hasOwnProperty;const n=(e,t)=>{for(const n in e){if(r.call(e,n)){t(n,e[n])}}};const i=(e,t)=>{if(!t){return e}n(t,(t,r)=>{e[t]=r});return e};const a=(e,t)=>{const r=e.length;let n=-1;while(++n{return s.call(e)=="[object Object]"};const p=e=>{return typeof e=="string"||s.call(e)=="[object String]"};const f=e=>{return typeof e=="number"||s.call(e)=="[object Number]"};const c=e=>{return typeof e=="function"};const d=e=>{return s.call(e)=="[object Map]"};const y=e=>{return s.call(e)=="[object Set]"};const m={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"};const T=/["'\\\b\f\n\r\t]/;const S=/[0-9]/;const h=/[ !#-&\(-\[\]-_a-~]/;const E=(e,t)=>{const r=()=>{v=A;++t.indentLevel;A=t.indent.repeat(t.indentLevel)};const s={escapeEverything:false,minimal:false,isScriptContext:false,quotes:"single",wrap:false,es6:false,json:false,compact:true,lowercaseHex:false,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:false,__inline2__:false};const b=t&&t.json;if(b){s.quotes="double";s.wrap=true}t=i(s,t);if(t.quotes!="single"&&t.quotes!="double"&&t.quotes!="backtick"){t.quotes="single"}const P=t.quotes=="double"?'"':t.quotes=="backtick"?"`":"'";const x=t.compact;const g=t.lowercaseHex;let A=t.indent.repeat(t.indentLevel);let v="";const O=t.__inline1__;const I=t.__inline2__;const D=x?"":"\n";let N;let w=true;const C=t.numbers=="binary";const j=t.numbers=="octal";const L=t.numbers=="decimal";const M=t.numbers=="hexadecimal";if(b&&e&&c(e.toJSON)){e=e.toJSON()}if(!p(e)){if(d(e)){if(e.size==0){return"new Map()"}if(!x){t.__inline1__=true;t.__inline2__=false}return"new Map("+E(Array.from(e),t)+")"}if(y(e)){if(e.size==0){return"new Set()"}return"new Set("+E(Array.from(e),t)+")"}if(l(e)){if(e.length==0){return"Buffer.from([])"}return"Buffer.from("+E(Array.from(e),t)+")"}if(o(e)){N=[];t.wrap=true;if(O){t.__inline1__=false;t.__inline2__=true}if(!I){r()}a(e,e=>{w=false;if(I){t.__inline2__=false}N.push((x||I?"":A)+E(e,t))});if(w){return"[]"}if(I){return"["+N.join(", ")+"]"}return"["+D+N.join(","+D)+D+(x?"":v)+"]"}else if(f(e)){if(b){return JSON.stringify(e)}if(L){return String(e)}if(M){let t=e.toString(16);if(!g){t=t.toUpperCase()}return"0x"+t}if(C){return"0b"+e.toString(2)}if(j){return"0o"+e.toString(8)}}else if(!u(e)){if(b){return JSON.stringify(e)||"null"}return String(e)}else{N=[];t.wrap=true;r();n(e,(e,r)=>{w=false;N.push((x?"":A)+E(e,t)+":"+(x?"":" ")+E(r,t))});if(w){return"{}"}return"{"+D+N.join(","+D)+D+(x?"":v)+"}"}}const B=e;let F=-1;const _=B.length;N="";while(++F<_){const e=B.charAt(F);if(t.es6){const e=B.charCodeAt(F);if(e>=55296&&e<=56319&&_>F+1){const t=B.charCodeAt(F+1);if(t>=56320&&t<=57343){const r=(e-55296)*1024+t-56320+65536;let n=r.toString(16);if(!g){n=n.toUpperCase()}N+="\\u{"+n+"}";++F;continue}}}if(!t.escapeEverything){if(h.test(e)){N+=e;continue}if(e=='"'){N+=P==e?'\\"':e;continue}if(e=="`"){N+=P==e?"\\`":e;continue}if(e=="'"){N+=P==e?"\\'":e;continue}}if(e=="\0"&&!b&&!S.test(B.charAt(F+1))){N+="\\0";continue}if(T.test(e)){N+=m[e];continue}const r=e.charCodeAt(0);if(t.minimal&&r!=8232&&r!=8233){N+=e;continue}let n=r.toString(16);if(!g){n=n.toUpperCase()}const i=n.length>2||b;const a="\\"+(i?"u":"x")+("0000"+n).slice(i?-4:-2);N+=a;continue}if(t.wrap){N=P+N+P}if(P=="`"){N=N.replace(/\$\{/g,"\\${")}if(t.isScriptContext){return N.replace(/<\/(script|style)/gi,"<\\/$1").replace(/')) + results.push('') } results.push(documentResult.bodyResult) results.push( - Observable.of( - documentHTML.substring(renderTargetIdx + BODY_RENDER_TARGET.length) - ) + documentHTML.substring(renderTargetIdx + BODY_RENDER_TARGET.length) ) const postProcessors: Array<((html: string) => Promise) | null> = ( @@ -1197,19 +1191,55 @@ export async function renderToHTML( ).filter(Boolean) if (postProcessors.length > 0) { - let html = await resultsToString(results) + let html = (await observableToChunks(resultsToObservable(results))).join('') for (const postProcessor of postProcessors) { if (postProcessor) { html = await postProcessor(html) } } - results = [Observable.of(html)] + results = [html] } - return mergeResults(results) + return new RenderResult( + resultsToObservable(results), + generateStaticHTML === false + ) +} + +function resultsToObservable( + results: Array> +): Observable { + const observables: Array> = [] + let stringBuffer: Array | null = null + + for (const result of results) { + if (typeof result === 'string') { + stringBuffer = stringBuffer ?? [] + stringBuffer.push(result) + } else { + if (stringBuffer) { + observables.push(Observable.from(stringBuffer)) + stringBuffer = null + } + observables.push(result) + } + } + if (stringBuffer) { + observables.push(Observable.from(stringBuffer)) + } + // @ts-ignore + return Observable.prototype.concat.call(...observables) +} + +async function observableToChunks( + observable: Observable +): Promise { + const chunks: string[] = [] + await observable.forEach((chunk) => chunks.push(chunk)) + return chunks } -function multiplexResult(result: RenderResult): RenderResult { +function multiplexObservable(result: Observable): Observable { const chunks: Array = [] const subscribers: Set> = new Set() let terminator: diff --git a/packages/next/server/response-cache.ts b/packages/next/server/response-cache.ts index 2cc37e1d89528..9393b4d13f1d0 100644 --- a/packages/next/server/response-cache.ts +++ b/packages/next/server/response-cache.ts @@ -1,6 +1,5 @@ -import Observable from 'next/dist/compiled/zen-observable' import { IncrementalCache } from './incremental-cache' -import { RenderResult, resultsToString } from './utils' +import RenderResult from './render-result' interface CachedRedirectValue { kind: 'REDIRECT' @@ -79,7 +78,7 @@ export default class ResponseCache { cachedResponse.value?.kind === 'PAGE' ? { kind: 'PAGE', - html: Observable.of(cachedResponse.value.html), + html: RenderResult.fromStatic(cachedResponse.value.html), pageData: cachedResponse.value.pageData, } : cachedResponse.value, @@ -100,7 +99,7 @@ export default class ResponseCache { cacheEntry.value?.kind === 'PAGE' ? { kind: 'PAGE', - html: await resultsToString([cacheEntry.value.html]), + html: await cacheEntry.value.html.toUnchunkedString(), pageData: cacheEntry.value.pageData, } : cacheEntry.value, diff --git a/packages/next/server/send-payload.ts b/packages/next/server/send-payload.ts index 8686f4639a94e..46e27db608545 100644 --- a/packages/next/server/send-payload.ts +++ b/packages/next/server/send-payload.ts @@ -2,7 +2,7 @@ import { IncomingMessage, ServerResponse } from 'http' import { isResSent } from '../shared/lib/utils' import generateETag from 'etag' import fresh from 'next/dist/compiled/fresh' -import { RenderResult } from './utils' +import RenderResult from './render-result' export type PayloadOptions = | { private: true } @@ -36,32 +36,10 @@ export function setRevalidateHeaders( } } -export function sendPayload( - req: IncomingMessage, - res: ServerResponse, - payload: any, - type: 'html' | 'json', - { - generateEtags, - poweredByHeader, - }: { generateEtags: boolean; poweredByHeader: boolean }, - options?: PayloadOptions -): void { - sendRenderResult({ - req, - res, - resultOrPayload: payload, - type, - generateEtags, - poweredByHeader, - options, - }) -} - export async function sendRenderResult({ req, res, - resultOrPayload, + result, type, generateEtags, poweredByHeader, @@ -69,7 +47,7 @@ export async function sendRenderResult({ }: { req: IncomingMessage res: ServerResponse - resultOrPayload: RenderResult | string + result: RenderResult type: 'html' | 'json' generateEtags: boolean poweredByHeader: boolean @@ -83,12 +61,10 @@ export async function sendRenderResult({ res.setHeader('X-Powered-By', 'Next.js') } - const isPayload = typeof resultOrPayload === 'string' + const payload = result.isDynamic() ? null : await result.toUnchunkedString() - if (isPayload) { - const etag = generateEtags - ? generateETag(resultOrPayload as string) - : undefined + if (payload) { + const etag = generateEtags ? generateETag(payload) : undefined if (sendEtagResponse(req, res, etag)) { return } @@ -101,11 +77,8 @@ export async function sendRenderResult({ ) } - if (isPayload) { - res.setHeader( - 'Content-Length', - Buffer.byteLength(resultOrPayload as string) - ) + if (payload) { + res.setHeader('Content-Length', Buffer.byteLength(payload)) } if (options != null) { @@ -114,14 +87,14 @@ export async function sendRenderResult({ if (req.method === 'HEAD') { res.end(null) - } else if (isPayload) { - res.end(resultOrPayload as string) + } else if (payload) { + res.end(payload) } else { const maybeFlush = typeof (res as any).flush === 'function' ? () => (res as any).flush() : () => {} - await (resultOrPayload as RenderResult).forEach((chunk) => { + await result.forEach((chunk) => { res.write(chunk) maybeFlush() }) diff --git a/packages/next/server/utils.ts b/packages/next/server/utils.ts index 9de3c00805343..c8c90fdd97890 100644 --- a/packages/next/server/utils.ts +++ b/packages/next/server/utils.ts @@ -1,4 +1,3 @@ -import Observable from 'next/dist/compiled/zen-observable' import { BLOCKED_PAGES } from '../shared/lib/constants' export function isBlockedPage(pathname: string): boolean { @@ -15,20 +14,3 @@ export function cleanAmpPath(pathname: string): string { pathname = pathname.replace(/\?$/, '') return pathname } - -export type RenderResult = Observable - -export function mergeResults(results: Array): RenderResult { - // @ts-ignore - return Observable.prototype.concat.call(...results) -} - -export async function resultsToString( - results: Array -): Promise { - const chunks: string[] = [] - await mergeResults(results).forEach((chunk: string) => { - chunks.push(chunk) - }) - return chunks.join('') -} From 16d6eba1c9c0d89c6bc48392ad8cedb3ebbcf4d7 Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Sun, 5 Sep 2021 14:22:34 +0200 Subject: [PATCH 47/47] Reuse warning from postcss-loader (#28727) Co-authored-by: JJ Kasper --- .../webpack/loaders/css-loader/src/Warning.js | 20 ------------------- .../webpack/loaders/css-loader/src/index.js | 2 +- 2 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 packages/next/build/webpack/loaders/css-loader/src/Warning.js diff --git a/packages/next/build/webpack/loaders/css-loader/src/Warning.js b/packages/next/build/webpack/loaders/css-loader/src/Warning.js deleted file mode 100644 index d828e7a77f80e..0000000000000 --- a/packages/next/build/webpack/loaders/css-loader/src/Warning.js +++ /dev/null @@ -1,20 +0,0 @@ -export default class Warning extends Error { - constructor(warning) { - super(warning) - const { text, line, column } = warning - this.name = 'Warning' - - // Based on https://github.com/postcss/postcss/blob/master/lib/warning.es6#L74 - // We don't need `plugin` properties. - this.message = `${this.name}\n\n` - - if (typeof line !== 'undefined') { - this.message += `(${line}:${column}) ` - } - - this.message += `${text}` - - // We don't need stack https://github.com/postcss/postcss/blob/master/docs/guidelines/runner.md#31-dont-show-js-stack-for-csssyntaxerror - this.stack = false - } -} diff --git a/packages/next/build/webpack/loaders/css-loader/src/index.js b/packages/next/build/webpack/loaders/css-loader/src/index.js index be09c9b8b3176..2e3a168f5db13 100644 --- a/packages/next/build/webpack/loaders/css-loader/src/index.js +++ b/packages/next/build/webpack/loaders/css-loader/src/index.js @@ -6,7 +6,7 @@ import { getOptions, stringifyRequest } from 'next/dist/compiled/loader-utils' import postcss from 'postcss' import CssSyntaxError from './CssSyntaxError' -import Warning from './Warning' +import Warning from '../../postcss-loader/src/Warning' import { icssParser, importParser, urlParser } from './plugins' import { normalizeOptions,